{"version":3,"sources":["vendor/ember-cli/vendor-prefix.js","vendor/loader/loader.js","vendor/babel-polyfill/polyfill.js","vendor/jquery/jquery.js","license.js","loader.js","@ember/-internals/browser-environment.js","@ember/-internals/console/index.js","@ember/-internals/container.js","@ember/-internals/environment.js","@ember/-internals/error-handling/index.js","@ember/-internals/extension-support/index.js","@ember/-internals/extension-support/lib/container_debug_adapter.js","@ember/-internals/extension-support/lib/data_adapter.js","@ember/-internals/glimmer.js","@ember/-internals/meta/index.js","@ember/-internals/meta/lib/meta.js","@ember/-internals/metal.js","@ember/-internals/owner/index.js","@ember/-internals/routing/index.js","@ember/-internals/routing/lib/ext/controller.js","@ember/-internals/routing/lib/location/api.js","@ember/-internals/routing/lib/location/auto_location.js","@ember/-internals/routing/lib/location/hash_location.js","@ember/-internals/routing/lib/location/history_location.js","@ember/-internals/routing/lib/location/none_location.js","@ember/-internals/routing/lib/location/util.js","@ember/-internals/routing/lib/services/router.js","@ember/-internals/routing/lib/services/routing.js","@ember/-internals/routing/lib/system/cache.js","@ember/-internals/routing/lib/system/controller_for.js","@ember/-internals/routing/lib/system/dsl.js","@ember/-internals/routing/lib/system/engines.js","@ember/-internals/routing/lib/system/generate_controller.js","@ember/-internals/routing/lib/system/query_params.js","@ember/-internals/routing/lib/system/route-info.js","@ember/-internals/routing/lib/system/route.js","@ember/-internals/routing/lib/system/router.js","@ember/-internals/routing/lib/system/router_state.js","@ember/-internals/routing/lib/system/transition.js","@ember/-internals/routing/lib/utils.js","@ember/-internals/runtime/index.js","@ember/-internals/runtime/lib/compare.js","@ember/-internals/runtime/lib/copy.js","@ember/-internals/runtime/lib/ext/function.js","@ember/-internals/runtime/lib/ext/rsvp.js","@ember/-internals/runtime/lib/is-equal.js","@ember/-internals/runtime/lib/mixins/-proxy.js","@ember/-internals/runtime/lib/mixins/action_handler.js","@ember/-internals/runtime/lib/mixins/array.js","@ember/-internals/runtime/lib/mixins/comparable.js","@ember/-internals/runtime/lib/mixins/container_proxy.js","@ember/-internals/runtime/lib/mixins/copyable.js","@ember/-internals/runtime/lib/mixins/enumerable.js","@ember/-internals/runtime/lib/mixins/evented.js","@ember/-internals/runtime/lib/mixins/mutable_enumerable.js","@ember/-internals/runtime/lib/mixins/observable.js","@ember/-internals/runtime/lib/mixins/promise_proxy.js","@ember/-internals/runtime/lib/mixins/registry_proxy.js","@ember/-internals/runtime/lib/mixins/target_action_support.js","@ember/-internals/runtime/lib/system/array_proxy.js","@ember/-internals/runtime/lib/system/core_object.js","@ember/-internals/runtime/lib/system/namespace.js","@ember/-internals/runtime/lib/system/object.js","@ember/-internals/runtime/lib/system/object_proxy.js","@ember/-internals/runtime/lib/type-of.js","@ember/-internals/utils.js","@ember/-internals/views/index.js","@ember/-internals/views/lib/compat/attrs.js","@ember/-internals/views/lib/compat/fallback-view-registry.js","@ember/-internals/views/lib/component_lookup.js","@ember/-internals/views/lib/mixins/action_support.js","@ember/-internals/views/lib/mixins/child_views_support.js","@ember/-internals/views/lib/mixins/class_names_support.js","@ember/-internals/views/lib/mixins/text_support.js","@ember/-internals/views/lib/mixins/view_state_support.js","@ember/-internals/views/lib/mixins/view_support.js","@ember/-internals/views/lib/system/action_manager.js","@ember/-internals/views/lib/system/event_dispatcher.js","@ember/-internals/views/lib/system/jquery.js","@ember/-internals/views/lib/system/jquery_event_deprecation.js","@ember/-internals/views/lib/system/lookup_partial.js","@ember/-internals/views/lib/system/utils.js","@ember/-internals/views/lib/utils/lookup-component.js","@ember/-internals/views/lib/views/core_view.js","@ember/-internals/views/lib/views/states.js","@ember/-internals/views/lib/views/states/default.js","@ember/-internals/views/lib/views/states/destroying.js","@ember/-internals/views/lib/views/states/has_element.js","@ember/-internals/views/lib/views/states/in_dom.js","@ember/-internals/views/lib/views/states/pre_render.js","@ember/application/globals-resolver.js","@ember/application/index.js","@ember/application/instance.js","@ember/application/lib/application.js","@ember/application/lib/lazy_load.js","@ember/application/lib/validate-type.js","@ember/canary-features/index.js","@ember/controller/index.js","@ember/controller/lib/controller_mixin.js","@ember/debug/index.js","@ember/debug/lib/deprecate.js","@ember/debug/lib/handlers.js","@ember/debug/lib/testing.js","@ember/debug/lib/warn.js","@ember/deprecated-features/index.js","@ember/engine/index.js","@ember/engine/instance.js","@ember/engine/lib/engine-parent.js","@ember/error/index.js","@ember/instrumentation/index.js","@ember/modifier/index.js","@ember/object/computed.js","@ember/object/index.js","@ember/object/lib/computed/computed_macros.js","@ember/object/lib/computed/reduce_computed_macros.js","@ember/polyfills/index.js","@ember/polyfills/lib/assign.js","@ember/polyfills/lib/merge.js","@ember/polyfills/lib/weak_set.js","@ember/runloop/index.js","@ember/service/index.js","@ember/string/index.js","@ember/string/lib/string_registry.js","@glimmer/encoder.js","@glimmer/low-level.js","@glimmer/node.js","@glimmer/opcode-compiler.js","@glimmer/program.js","@glimmer/reference.js","@glimmer/runtime.js","@glimmer/util.js","@glimmer/vm.js","@glimmer/wire-format.js","backburner.js","dag-map.js","ember-babel.js","ember-testing/index.js","ember-testing/lib/adapters/adapter.js","ember-testing/lib/adapters/qunit.js","ember-testing/lib/events.js","ember-testing/lib/ext/application.js","ember-testing/lib/ext/rsvp.js","ember-testing/lib/helpers.js","ember-testing/lib/helpers/-is-form-control.js","ember-testing/lib/helpers/and_then.js","ember-testing/lib/helpers/click.js","ember-testing/lib/helpers/current_path.js","ember-testing/lib/helpers/current_route_name.js","ember-testing/lib/helpers/current_url.js","ember-testing/lib/helpers/fill_in.js","ember-testing/lib/helpers/find.js","ember-testing/lib/helpers/find_with_assert.js","ember-testing/lib/helpers/key_event.js","ember-testing/lib/helpers/pause_test.js","ember-testing/lib/helpers/trigger_event.js","ember-testing/lib/helpers/visit.js","ember-testing/lib/helpers/wait.js","ember-testing/lib/initializers.js","ember-testing/lib/setup_for_testing.js","ember-testing/lib/support.js","ember-testing/lib/test.js","ember-testing/lib/test/adapter.js","ember-testing/lib/test/helpers.js","ember-testing/lib/test/on_inject_helpers.js","ember-testing/lib/test/pending_requests.js","ember-testing/lib/test/promise.js","ember-testing/lib/test/run.js","ember-testing/lib/test/waiters.js","ember/index.js","ember/version.js","node-module.js","route-recognizer.js","router_js.js","rsvp.js","bootstrap","vendor/shims/jquery.js","vendor/jquery/component.dollar.js","bower_components/blockly-package/blockly_compressed.js","bower_components/blockly-package/blocks_compressed.js","bower_components/blockly-package/es.js","bower_components/blockly-package/javascript_compressed.js","vendor/ember-cli-shims/deprecations.js","vendor/ember-cli-shims/app-shims.js","bower_components/bluebird/js/browser/bluebird.min.js","bower_components/proceds-blockly/proceds-blockly-original.js","bower_components/proceds-blockly/proceds-blockly.js","vendor/acorn_interpreter.js","vendor/beautify.js","vendor/utilidades_de_depuracion.js","addon-tree-output/@babel/runtime/helpers/esm/AsyncGenerator.js","addon-tree-output/@babel/runtime/helpers/esm/AwaitValue.js","addon-tree-output/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js","addon-tree-output/@babel/runtime/helpers/esm/arrayWithHoles.js","addon-tree-output/@babel/runtime/helpers/esm/arrayWithoutHoles.js","addon-tree-output/@babel/runtime/helpers/esm/assertThisInitialized.js","addon-tree-output/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js","addon-tree-output/@babel/runtime/helpers/esm/asyncIterator.js","addon-tree-output/@babel/runtime/helpers/esm/asyncToGenerator.js","addon-tree-output/@babel/runtime/helpers/esm/awaitAsyncGenerator.js","addon-tree-output/@babel/runtime/helpers/esm/classCallCheck.js","addon-tree-output/@babel/runtime/helpers/esm/classNameTDZError.js","addon-tree-output/@babel/runtime/helpers/esm/classPrivateFieldGet.js","addon-tree-output/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js","addon-tree-output/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js","addon-tree-output/@babel/runtime/helpers/esm/classPrivateFieldSet.js","addon-tree-output/@babel/runtime/helpers/esm/classPrivateMethodGet.js","addon-tree-output/@babel/runtime/helpers/esm/classPrivateMethodSet.js","addon-tree-output/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js","addon-tree-output/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js","addon-tree-output/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js","addon-tree-output/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js","addon-tree-output/@babel/runtime/helpers/esm/construct.js","addon-tree-output/@babel/runtime/helpers/esm/createClass.js","addon-tree-output/@babel/runtime/helpers/esm/decorate.js","addon-tree-output/@babel/runtime/helpers/esm/defaults.js","addon-tree-output/@babel/runtime/helpers/esm/defineEnumerableProperties.js","addon-tree-output/@babel/runtime/helpers/esm/defineProperty.js","addon-tree-output/@babel/runtime/helpers/esm/extends.js","addon-tree-output/@babel/runtime/helpers/esm/get.js","addon-tree-output/@babel/runtime/helpers/esm/getPrototypeOf.js","addon-tree-output/@babel/runtime/helpers/esm/inherits.js","addon-tree-output/@babel/runtime/helpers/esm/inheritsLoose.js","addon-tree-output/@babel/runtime/helpers/esm/initializerDefineProperty.js","addon-tree-output/@babel/runtime/helpers/esm/initializerWarningHelper.js","addon-tree-output/@babel/runtime/helpers/esm/instanceof.js","addon-tree-output/@babel/runtime/helpers/esm/interopRequireDefault.js","addon-tree-output/@babel/runtime/helpers/esm/interopRequireWildcard.js","addon-tree-output/@babel/runtime/helpers/esm/isNativeFunction.js","addon-tree-output/@babel/runtime/helpers/esm/iterableToArray.js","addon-tree-output/@babel/runtime/helpers/esm/iterableToArrayLimit.js","addon-tree-output/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js","addon-tree-output/@babel/runtime/helpers/esm/jsx.js","addon-tree-output/@babel/runtime/helpers/esm/newArrowCheck.js","addon-tree-output/@babel/runtime/helpers/esm/nonIterableRest.js","addon-tree-output/@babel/runtime/helpers/esm/nonIterableSpread.js","addon-tree-output/@babel/runtime/helpers/esm/objectDestructuringEmpty.js","addon-tree-output/@babel/runtime/helpers/esm/objectSpread.js","addon-tree-output/@babel/runtime/helpers/esm/objectWithoutProperties.js","addon-tree-output/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","addon-tree-output/@babel/runtime/helpers/esm/possibleConstructorReturn.js","addon-tree-output/@babel/runtime/helpers/esm/readOnlyError.js","addon-tree-output/@babel/runtime/helpers/esm/set.js","addon-tree-output/@babel/runtime/helpers/esm/setPrototypeOf.js","addon-tree-output/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js","addon-tree-output/@babel/runtime/helpers/esm/slicedToArray.js","addon-tree-output/@babel/runtime/helpers/esm/slicedToArrayLoose.js","addon-tree-output/@babel/runtime/helpers/esm/superPropBase.js","addon-tree-output/@babel/runtime/helpers/esm/taggedTemplateLiteral.js","addon-tree-output/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js","addon-tree-output/@babel/runtime/helpers/esm/temporalRef.js","addon-tree-output/@babel/runtime/helpers/esm/temporalUndefined.js","addon-tree-output/@babel/runtime/helpers/esm/toArray.js","addon-tree-output/@babel/runtime/helpers/esm/toConsumableArray.js","addon-tree-output/@babel/runtime/helpers/esm/toPrimitive.js","addon-tree-output/@babel/runtime/helpers/esm/toPropertyKey.js","addon-tree-output/@babel/runtime/helpers/esm/typeof.js","addon-tree-output/@babel/runtime/helpers/esm/wrapAsyncGenerator.js","addon-tree-output/@babel/runtime/helpers/esm/wrapNativeSuper.js","addon-tree-output/@babel/runtime/helpers/esm/wrapRegExp.js","addon-tree-output/@ember-data/adapter/-private.js","addon-tree-output/@ember-data/adapter/adapter.js","addon-tree-output/@ember-data/adapter/error.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/version.js","addon-tree-output/@ember-data/model/-private.js","addon-tree-output/@ember-data/model/index.js","addon-tree-output/@ember-data/model/version.js","addon-tree-output/@ember-data/serializer/-private.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/serializer.js","addon-tree-output/@ember-data/serializer/transform.js","addon-tree-output/@ember-data/serializer/transforms/boolean.js","addon-tree-output/@ember-data/serializer/transforms/date.js","addon-tree-output/@ember-data/serializer/transforms/number.js","addon-tree-output/@ember-data/serializer/transforms/string.js","addon-tree-output/@ember-data/serializer/transforms/transform.js","addon-tree-output/@ember-data/serializer/version.js","addon-tree-output/@ember-data/store/-private.js","addon-tree-output/@ember-data/store/index.js","addon-tree-output/@ember-data/store/version.js","addon-tree-output/@ember-decorators/argument/-debug/decorators/immutable.js","addon-tree-output/@ember-decorators/argument/-debug/decorators/required.js","addon-tree-output/@ember-decorators/argument/-debug/decorators/type.js","addon-tree-output/@ember-decorators/argument/-debug/errors.js","addon-tree-output/@ember-decorators/argument/-debug/helpers/array-of.js","addon-tree-output/@ember-decorators/argument/-debug/helpers/one-of.js","addon-tree-output/@ember-decorators/argument/-debug/helpers/optional.js","addon-tree-output/@ember-decorators/argument/-debug/helpers/shape-of.js","addon-tree-output/@ember-decorators/argument/-debug/helpers/union-of.js","addon-tree-output/@ember-decorators/argument/-debug/index.js","addon-tree-output/@ember-decorators/argument/-debug/utils/computed.js","addon-tree-output/@ember-decorators/argument/-debug/utils/object.js","addon-tree-output/@ember-decorators/argument/-debug/utils/validation-decorator.js","addon-tree-output/@ember-decorators/argument/-debug/utils/validations-for.js","addon-tree-output/@ember-decorators/argument/-debug/utils/validators.js","addon-tree-output/@ember-decorators/argument/-debug/validated-component.js","addon-tree-output/@ember-decorators/argument/errors.js","addon-tree-output/@ember-decorators/argument/index.js","addon-tree-output/@ember-decorators/argument/type.js","addon-tree-output/@ember-decorators/argument/types.js","addon-tree-output/@ember-decorators/argument/utils/make-computed.js","addon-tree-output/@ember-decorators/argument/validation.js","addon-tree-output/@ember/ordered-set/index.js","addon-tree-output/ember-ajax/-private/promise.js","addon-tree-output/ember-ajax/-private/types.js","addon-tree-output/ember-ajax/-private/utils/get-header.js","addon-tree-output/ember-ajax/-private/utils/is-string.js","addon-tree-output/ember-ajax/-private/utils/parse-response-headers.js","addon-tree-output/ember-ajax/-private/utils/url-helpers.js","addon-tree-output/ember-ajax/ajax-request.js","addon-tree-output/ember-ajax/errors.js","addon-tree-output/ember-ajax/index.js","addon-tree-output/ember-ajax/mixins/ajax-request.js","addon-tree-output/ember-ajax/mixins/ajax-support.js","addon-tree-output/ember-ajax/mixins/legacy/normalize-error-response.js","addon-tree-output/ember-ajax/raw.js","addon-tree-output/ember-ajax/request.js","addon-tree-output/ember-ajax/services/ajax.js","addon-tree-output/ember-ajax/utils/ajax.js","addon-tree-output/ember-blockly/components/ember-blockly-catalog.js","addon-tree-output/ember-blockly/components/ember-blockly-list-item.js","addon-tree-output/ember-blockly/components/ember-blockly-list-with-selection.js","addon-tree-output/ember-blockly/components/ember-blockly-preview.js","addon-tree-output/ember-blockly/components/ember-blockly.js","addon-tree-output/ember-blockly/services/blockly.js","addon-tree-output/ember-blockly/templates/components/ember-blockly-catalog.js","addon-tree-output/ember-blockly/templates/components/ember-blockly-list-item.js","addon-tree-output/ember-blockly/templates/components/ember-blockly-list-with-selection.js","addon-tree-output/ember-blockly/templates/components/ember-blockly-preview.js","addon-tree-output/ember-blockly/templates/components/ember-blockly.js","addon-tree-output/ember-cli-app-version/initializer-factory.js","addon-tree-output/ember-cli-app-version/utils/regexp.js","addon-tree-output/ember-cli-mirage/assert.js","addon-tree-output/ember-cli-mirage/association.js","addon-tree-output/ember-cli-mirage/db-collection.js","addon-tree-output/ember-cli-mirage/db.js","addon-tree-output/ember-cli-mirage/ember-data.js","addon-tree-output/ember-cli-mirage/factory.js","addon-tree-output/ember-cli-mirage/get-rfc232-test-context.js","addon-tree-output/ember-cli-mirage/identity-manager.js","addon-tree-output/ember-cli-mirage/index.js","addon-tree-output/ember-cli-mirage/instance-initializers/ember-cli-mirage-autostart.js","addon-tree-output/ember-cli-mirage/orm/associations/association.js","addon-tree-output/ember-cli-mirage/orm/associations/belongs-to.js","addon-tree-output/ember-cli-mirage/orm/associations/has-many.js","addon-tree-output/ember-cli-mirage/orm/collection.js","addon-tree-output/ember-cli-mirage/orm/model.js","addon-tree-output/ember-cli-mirage/orm/polymorphic-collection.js","addon-tree-output/ember-cli-mirage/orm/schema.js","addon-tree-output/ember-cli-mirage/response.js","addon-tree-output/ember-cli-mirage/route-handler.js","addon-tree-output/ember-cli-mirage/route-handlers/base.js","addon-tree-output/ember-cli-mirage/route-handlers/function.js","addon-tree-output/ember-cli-mirage/route-handlers/object.js","addon-tree-output/ember-cli-mirage/route-handlers/shorthands/base.js","addon-tree-output/ember-cli-mirage/route-handlers/shorthands/delete.js","addon-tree-output/ember-cli-mirage/route-handlers/shorthands/get.js","addon-tree-output/ember-cli-mirage/route-handlers/shorthands/head.js","addon-tree-output/ember-cli-mirage/route-handlers/shorthands/post.js","addon-tree-output/ember-cli-mirage/route-handlers/shorthands/put.js","addon-tree-output/ember-cli-mirage/serializer-registry.js","addon-tree-output/ember-cli-mirage/serializer.js","addon-tree-output/ember-cli-mirage/serializers/active-model-serializer.js","addon-tree-output/ember-cli-mirage/serializers/json-api-serializer.js","addon-tree-output/ember-cli-mirage/serializers/rest-serializer.js","addon-tree-output/ember-cli-mirage/server.js","addon-tree-output/ember-cli-mirage/start-mirage.js","addon-tree-output/ember-cli-mirage/trait.js","addon-tree-output/ember-cli-mirage/utils/ember-data.js","addon-tree-output/ember-cli-mirage/utils/extend.js","addon-tree-output/ember-cli-mirage/utils/inflector.js","addon-tree-output/ember-cli-mirage/utils/is-association.js","addon-tree-output/ember-cli-mirage/utils/normalize-name.js","addon-tree-output/ember-cli-mirage/utils/read-modules.js","addon-tree-output/ember-cli-mirage/utils/reference-sort.js","addon-tree-output/ember-cli-mirage/utils/uuid.js","addon-tree-output/ember-composable-helpers/-private/closure-action.js","addon-tree-output/ember-composable-helpers/-private/create-multi-array-helper.js","addon-tree-output/ember-composable-helpers/-private/create-needle-haystack-helper.js","addon-tree-output/ember-composable-helpers/helpers/append.js","addon-tree-output/ember-composable-helpers/helpers/array.js","addon-tree-output/ember-composable-helpers/helpers/chunk.js","addon-tree-output/ember-composable-helpers/helpers/compact.js","addon-tree-output/ember-composable-helpers/helpers/compute.js","addon-tree-output/ember-composable-helpers/helpers/contains.js","addon-tree-output/ember-composable-helpers/helpers/dec.js","addon-tree-output/ember-composable-helpers/helpers/drop.js","addon-tree-output/ember-composable-helpers/helpers/filter-by.js","addon-tree-output/ember-composable-helpers/helpers/filter.js","addon-tree-output/ember-composable-helpers/helpers/find-by.js","addon-tree-output/ember-composable-helpers/helpers/flatten.js","addon-tree-output/ember-composable-helpers/helpers/group-by.js","addon-tree-output/ember-composable-helpers/helpers/has-next.js","addon-tree-output/ember-composable-helpers/helpers/has-previous.js","addon-tree-output/ember-composable-helpers/helpers/inc.js","addon-tree-output/ember-composable-helpers/helpers/intersect.js","addon-tree-output/ember-composable-helpers/helpers/invoke.js","addon-tree-output/ember-composable-helpers/helpers/join.js","addon-tree-output/ember-composable-helpers/helpers/map-by.js","addon-tree-output/ember-composable-helpers/helpers/map.js","addon-tree-output/ember-composable-helpers/helpers/next.js","addon-tree-output/ember-composable-helpers/helpers/object-at.js","addon-tree-output/ember-composable-helpers/helpers/optional.js","addon-tree-output/ember-composable-helpers/helpers/pipe-action.js","addon-tree-output/ember-composable-helpers/helpers/pipe.js","addon-tree-output/ember-composable-helpers/helpers/previous.js","addon-tree-output/ember-composable-helpers/helpers/queue.js","addon-tree-output/ember-composable-helpers/helpers/range.js","addon-tree-output/ember-composable-helpers/helpers/reduce.js","addon-tree-output/ember-composable-helpers/helpers/reject-by.js","addon-tree-output/ember-composable-helpers/helpers/repeat.js","addon-tree-output/ember-composable-helpers/helpers/reverse.js","addon-tree-output/ember-composable-helpers/helpers/shuffle.js","addon-tree-output/ember-composable-helpers/helpers/slice.js","addon-tree-output/ember-composable-helpers/helpers/sort-by.js","addon-tree-output/ember-composable-helpers/helpers/take.js","addon-tree-output/ember-composable-helpers/helpers/toggle-action.js","addon-tree-output/ember-composable-helpers/helpers/toggle.js","addon-tree-output/ember-composable-helpers/helpers/union.js","addon-tree-output/ember-composable-helpers/helpers/without.js","addon-tree-output/ember-composable-helpers/index.js","addon-tree-output/ember-composable-helpers/utils/comparison.js","addon-tree-output/ember-composable-helpers/utils/get-index.js","addon-tree-output/ember-composable-helpers/utils/includes.js","addon-tree-output/ember-composable-helpers/utils/is-equal.js","addon-tree-output/ember-composable-helpers/utils/is-object.js","addon-tree-output/ember-composable-helpers/utils/is-promise.js","addon-tree-output/ember-data/-debug/index.js","addon-tree-output/ember-data/-private.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/initialize-store-service.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-get-config/index.js","addon-tree-output/ember-ignore-children-helper/helpers/ignore-children.js","addon-tree-output/ember-inflector/index.js","addon-tree-output/ember-inflector/lib/ext/string.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-load-initializers/index.js","addon-tree-output/ember-modal-dialog/components/basic-dialog.js","addon-tree-output/ember-modal-dialog/components/in-place-dialog.js","addon-tree-output/ember-modal-dialog/components/liquid-dialog.js","addon-tree-output/ember-modal-dialog/components/liquid-tether-dialog.js","addon-tree-output/ember-modal-dialog/components/modal-dialog.js","addon-tree-output/ember-modal-dialog/components/positioned-container.js","addon-tree-output/ember-modal-dialog/components/tether-dialog.js","addon-tree-output/ember-modal-dialog/initializers/add-modals-container.js","addon-tree-output/ember-modal-dialog/templates/components/basic-dialog.js","addon-tree-output/ember-modal-dialog/templates/components/in-place-dialog.js","addon-tree-output/ember-modal-dialog/templates/components/liquid-dialog.js","addon-tree-output/ember-modal-dialog/templates/components/liquid-tether-dialog.js","addon-tree-output/ember-modal-dialog/templates/components/modal-dialog.js","addon-tree-output/ember-modal-dialog/templates/components/tether-dialog.js","addon-tree-output/ember-resolver/features.js","addon-tree-output/ember-resolver/index.js","addon-tree-output/ember-resolver/resolver.js","addon-tree-output/ember-resolver/resolvers/classic/container-debug-adapter.js","addon-tree-output/ember-resolver/resolvers/classic/index.js","addon-tree-output/ember-resolver/utils/class-factory.js","addon-tree-output/ember-resolver/utils/make-dictionary.js","addon-tree-output/ember-responsive/helpers/media.js","addon-tree-output/ember-responsive/initializers/responsive.js","addon-tree-output/ember-responsive/null-match-media.js","addon-tree-output/ember-responsive/services/media.js","addon-tree-output/ember-route-action-helper/-private/internals.js","addon-tree-output/ember-route-action-helper/helpers/route-action.js","addon-tree-output/ember-test-waiters/build-waiter.js","addon-tree-output/ember-test-waiters/index.js","addon-tree-output/ember-test-waiters/noop-test-waiter.js","addon-tree-output/ember-test-waiters/test-waiter.js","addon-tree-output/ember-test-waiters/types/index.js","addon-tree-output/ember-test-waiters/wait-for-promise.js","addon-tree-output/ember-test-waiters/waiter-manager.js","addon-tree-output/ember-wormhole/components/ember-wormhole.js","addon-tree-output/ember-wormhole/templates/components/ember-wormhole.js","addon-tree-output/ember-wormhole/utils/dom.js","vendor/ember-cli/vendor-suffix.js"],"sourcesContent":["window.EmberENV = {\"EXTEND_PROTOTYPES\":{\"Date\":false,\"Array\":true},\"FEATURES\":{},\"_JQUERY_INTEGRATION\":true};\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);","(function(){function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require==\"function\"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error(\"Cannot find module '\"+o+\"'\");throw f.code=\"MODULE_NOT_FOUND\",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require==\"function\"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s}return e})()({1:[function(_dereq_,module,exports){\n\"use strict\";\n\n_dereq_(2);\n\nvar _global = _interopRequireDefault(_dereq_(15));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nif (_global.default._babelPolyfill && typeof console !== \"undefined\" && console.warn) {\n  console.warn(\"@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended \" + \"and may have consequences if different versions of the polyfills are applied sequentially. \" + \"If you do need to load the polyfill more than once, use @babel/polyfill/noConflict \" + \"instead to bypass the warning.\");\n}\n\n_global.default._babelPolyfill = true;\n},{\"15\":15,\"2\":2}],2:[function(_dereq_,module,exports){\n\"use strict\";\n\n_dereq_(3);\n\n_dereq_(5);\n\n_dereq_(4);\n\n_dereq_(11);\n\n_dereq_(10);\n\n_dereq_(13);\n\n_dereq_(12);\n\n_dereq_(14);\n\n_dereq_(7);\n\n_dereq_(8);\n\n_dereq_(6);\n\n_dereq_(9);\n\n_dereq_(306);\n\n_dereq_(307);\n},{\"10\":10,\"11\":11,\"12\":12,\"13\":13,\"14\":14,\"3\":3,\"306\":306,\"307\":307,\"4\":4,\"5\":5,\"6\":6,\"7\":7,\"8\":8,\"9\":9}],3:[function(_dereq_,module,exports){\n_dereq_(278);\n_dereq_(214);\n_dereq_(216);\n_dereq_(215);\n_dereq_(218);\n_dereq_(220);\n_dereq_(225);\n_dereq_(219);\n_dereq_(217);\n_dereq_(227);\n_dereq_(226);\n_dereq_(222);\n_dereq_(223);\n_dereq_(221);\n_dereq_(213);\n_dereq_(224);\n_dereq_(228);\n_dereq_(229);\n_dereq_(180);\n_dereq_(182);\n_dereq_(181);\n_dereq_(231);\n_dereq_(230);\n_dereq_(201);\n_dereq_(211);\n_dereq_(212);\n_dereq_(202);\n_dereq_(203);\n_dereq_(204);\n_dereq_(205);\n_dereq_(206);\n_dereq_(207);\n_dereq_(208);\n_dereq_(209);\n_dereq_(210);\n_dereq_(184);\n_dereq_(185);\n_dereq_(186);\n_dereq_(187);\n_dereq_(188);\n_dereq_(189);\n_dereq_(190);\n_dereq_(191);\n_dereq_(192);\n_dereq_(193);\n_dereq_(194);\n_dereq_(195);\n_dereq_(196);\n_dereq_(197);\n_dereq_(198);\n_dereq_(199);\n_dereq_(200);\n_dereq_(265);\n_dereq_(270);\n_dereq_(277);\n_dereq_(268);\n_dereq_(260);\n_dereq_(261);\n_dereq_(266);\n_dereq_(271);\n_dereq_(273);\n_dereq_(256);\n_dereq_(257);\n_dereq_(258);\n_dereq_(259);\n_dereq_(262);\n_dereq_(263);\n_dereq_(264);\n_dereq_(267);\n_dereq_(269);\n_dereq_(272);\n_dereq_(274);\n_dereq_(275);\n_dereq_(276);\n_dereq_(175);\n_dereq_(177);\n_dereq_(176);\n_dereq_(179);\n_dereq_(178);\n_dereq_(163);\n_dereq_(161);\n_dereq_(168);\n_dereq_(165);\n_dereq_(171);\n_dereq_(173);\n_dereq_(160);\n_dereq_(167);\n_dereq_(157);\n_dereq_(172);\n_dereq_(155);\n_dereq_(170);\n_dereq_(169);\n_dereq_(162);\n_dereq_(166);\n_dereq_(154);\n_dereq_(156);\n_dereq_(159);\n_dereq_(158);\n_dereq_(174);\n_dereq_(164);\n_dereq_(247);\n_dereq_(248);\n_dereq_(254);\n_dereq_(249);\n_dereq_(250);\n_dereq_(251);\n_dereq_(252);\n_dereq_(253);\n_dereq_(232);\n_dereq_(183);\n_dereq_(255);\n_dereq_(290);\n_dereq_(291);\n_dereq_(279);\n_dereq_(280);\n_dereq_(285);\n_dereq_(288);\n_dereq_(289);\n_dereq_(283);\n_dereq_(286);\n_dereq_(284);\n_dereq_(287);\n_dereq_(281);\n_dereq_(282);\n_dereq_(233);\n_dereq_(234);\n_dereq_(235);\n_dereq_(236);\n_dereq_(237);\n_dereq_(240);\n_dereq_(238);\n_dereq_(239);\n_dereq_(241);\n_dereq_(242);\n_dereq_(243);\n_dereq_(244);\n_dereq_(246);\n_dereq_(245);\nmodule.exports = _dereq_(52);\n\n},{\"154\":154,\"155\":155,\"156\":156,\"157\":157,\"158\":158,\"159\":159,\"160\":160,\"161\":161,\"162\":162,\"163\":163,\"164\":164,\"165\":165,\"166\":166,\"167\":167,\"168\":168,\"169\":169,\"170\":170,\"171\":171,\"172\":172,\"173\":173,\"174\":174,\"175\":175,\"176\":176,\"177\":177,\"178\":178,\"179\":179,\"180\":180,\"181\":181,\"182\":182,\"183\":183,\"184\":184,\"185\":185,\"186\":186,\"187\":187,\"188\":188,\"189\":189,\"190\":190,\"191\":191,\"192\":192,\"193\":193,\"194\":194,\"195\":195,\"196\":196,\"197\":197,\"198\":198,\"199\":199,\"200\":200,\"201\":201,\"202\":202,\"203\":203,\"204\":204,\"205\":205,\"206\":206,\"207\":207,\"208\":208,\"209\":209,\"210\":210,\"211\":211,\"212\":212,\"213\":213,\"214\":214,\"215\":215,\"216\":216,\"217\":217,\"218\":218,\"219\":219,\"220\":220,\"221\":221,\"222\":222,\"223\":223,\"224\":224,\"225\":225,\"226\":226,\"227\":227,\"228\":228,\"229\":229,\"230\":230,\"231\":231,\"232\":232,\"233\":233,\"234\":234,\"235\":235,\"236\":236,\"237\":237,\"238\":238,\"239\":239,\"240\":240,\"241\":241,\"242\":242,\"243\":243,\"244\":244,\"245\":245,\"246\":246,\"247\":247,\"248\":248,\"249\":249,\"250\":250,\"251\":251,\"252\":252,\"253\":253,\"254\":254,\"255\":255,\"256\":256,\"257\":257,\"258\":258,\"259\":259,\"260\":260,\"261\":261,\"262\":262,\"263\":263,\"264\":264,\"265\":265,\"266\":266,\"267\":267,\"268\":268,\"269\":269,\"270\":270,\"271\":271,\"272\":272,\"273\":273,\"274\":274,\"275\":275,\"276\":276,\"277\":277,\"278\":278,\"279\":279,\"280\":280,\"281\":281,\"282\":282,\"283\":283,\"284\":284,\"285\":285,\"286\":286,\"287\":287,\"288\":288,\"289\":289,\"290\":290,\"291\":291,\"52\":52}],4:[function(_dereq_,module,exports){\n_dereq_(292);\nmodule.exports = _dereq_(52).Array.flatMap;\n\n},{\"292\":292,\"52\":52}],5:[function(_dereq_,module,exports){\n_dereq_(293);\nmodule.exports = _dereq_(52).Array.includes;\n\n},{\"293\":293,\"52\":52}],6:[function(_dereq_,module,exports){\n_dereq_(294);\nmodule.exports = _dereq_(52).Object.entries;\n\n},{\"294\":294,\"52\":52}],7:[function(_dereq_,module,exports){\n_dereq_(295);\nmodule.exports = _dereq_(52).Object.getOwnPropertyDescriptors;\n\n},{\"295\":295,\"52\":52}],8:[function(_dereq_,module,exports){\n_dereq_(296);\nmodule.exports = _dereq_(52).Object.values;\n\n},{\"296\":296,\"52\":52}],9:[function(_dereq_,module,exports){\n'use strict';\n_dereq_(232);\n_dereq_(297);\nmodule.exports = _dereq_(52).Promise['finally'];\n\n},{\"232\":232,\"297\":297,\"52\":52}],10:[function(_dereq_,module,exports){\n_dereq_(298);\nmodule.exports = _dereq_(52).String.padEnd;\n\n},{\"298\":298,\"52\":52}],11:[function(_dereq_,module,exports){\n_dereq_(299);\nmodule.exports = _dereq_(52).String.padStart;\n\n},{\"299\":299,\"52\":52}],12:[function(_dereq_,module,exports){\n_dereq_(301);\nmodule.exports = _dereq_(52).String.trimRight;\n\n},{\"301\":301,\"52\":52}],13:[function(_dereq_,module,exports){\n_dereq_(300);\nmodule.exports = _dereq_(52).String.trimLeft;\n\n},{\"300\":300,\"52\":52}],14:[function(_dereq_,module,exports){\n_dereq_(302);\nmodule.exports = _dereq_(151).f('asyncIterator');\n\n},{\"151\":151,\"302\":302}],15:[function(_dereq_,module,exports){\n_dereq_(32);\nmodule.exports = _dereq_(18).global;\n\n},{\"18\":18,\"32\":32}],16:[function(_dereq_,module,exports){\nmodule.exports = function (it) {\n  if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n  return it;\n};\n\n},{}],17:[function(_dereq_,module,exports){\nvar isObject = _dereq_(28);\nmodule.exports = function (it) {\n  if (!isObject(it)) throw TypeError(it + ' is not an object!');\n  return it;\n};\n\n},{\"28\":28}],18:[function(_dereq_,module,exports){\nvar core = module.exports = { version: '2.6.5' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n\n},{}],19:[function(_dereq_,module,exports){\n// optional / simple context binding\nvar aFunction = _dereq_(16);\nmodule.exports = function (fn, that, length) {\n  aFunction(fn);\n  if (that === undefined) return fn;\n  switch (length) {\n    case 1: return function (a) {\n      return fn.call(that, a);\n    };\n    case 2: return function (a, b) {\n      return fn.call(that, a, b);\n    };\n    case 3: return function (a, b, c) {\n      return fn.call(that, a, b, c);\n    };\n  }\n  return function (/* ...args */) {\n    return fn.apply(that, arguments);\n  };\n};\n\n},{\"16\":16}],20:[function(_dereq_,module,exports){\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !_dereq_(23)(function () {\n  return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n\n},{\"23\":23}],21:[function(_dereq_,module,exports){\nvar isObject = _dereq_(28);\nvar document = _dereq_(24).document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n  return is ? document.createElement(it) : {};\n};\n\n},{\"24\":24,\"28\":28}],22:[function(_dereq_,module,exports){\nvar global = _dereq_(24);\nvar core = _dereq_(18);\nvar ctx = _dereq_(19);\nvar hide = _dereq_(26);\nvar has = _dereq_(25);\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n  var IS_FORCED = type & $export.F;\n  var IS_GLOBAL = type & $export.G;\n  var IS_STATIC = type & $export.S;\n  var IS_PROTO = type & $export.P;\n  var IS_BIND = type & $export.B;\n  var IS_WRAP = type & $export.W;\n  var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n  var expProto = exports[PROTOTYPE];\n  var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];\n  var key, own, out;\n  if (IS_GLOBAL) source = name;\n  for (key in source) {\n    // contains in native\n    own = !IS_FORCED && target && target[key] !== undefined;\n    if (own && has(exports, key)) continue;\n    // export native or passed\n    out = own ? target[key] : source[key];\n    // prevent global pollution for namespaces\n    exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]\n    // bind timers to global for call from export context\n    : IS_BIND && own ? ctx(out, global)\n    // wrap global constructors for prevent change them in library\n    : IS_WRAP && target[key] == out ? (function (C) {\n      var F = function (a, b, c) {\n        if (this instanceof C) {\n          switch (arguments.length) {\n            case 0: return new C();\n            case 1: return new C(a);\n            case 2: return new C(a, b);\n          } return new C(a, b, c);\n        } return C.apply(this, arguments);\n      };\n      F[PROTOTYPE] = C[PROTOTYPE];\n      return F;\n    // make static versions for prototype methods\n    })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n    // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%\n    if (IS_PROTO) {\n      (exports.virtual || (exports.virtual = {}))[key] = out;\n      // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%\n      if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);\n    }\n  }\n};\n// type bitmap\n$export.F = 1;   // forced\n$export.G = 2;   // global\n$export.S = 4;   // static\n$export.P = 8;   // proto\n$export.B = 16;  // bind\n$export.W = 32;  // wrap\n$export.U = 64;  // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n\n},{\"18\":18,\"19\":19,\"24\":24,\"25\":25,\"26\":26}],23:[function(_dereq_,module,exports){\nmodule.exports = function (exec) {\n  try {\n    return !!exec();\n  } catch (e) {\n    return true;\n  }\n};\n\n},{}],24:[function(_dereq_,module,exports){\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n  ? window : typeof self != 'undefined' && self.Math == Math ? self\n  // eslint-disable-next-line no-new-func\n  : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n\n},{}],25:[function(_dereq_,module,exports){\nvar hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n  return hasOwnProperty.call(it, key);\n};\n\n},{}],26:[function(_dereq_,module,exports){\nvar dP = _dereq_(29);\nvar createDesc = _dereq_(30);\nmodule.exports = _dereq_(20) ? function (object, key, value) {\n  return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n  object[key] = value;\n  return object;\n};\n\n},{\"20\":20,\"29\":29,\"30\":30}],27:[function(_dereq_,module,exports){\nmodule.exports = !_dereq_(20) && !_dereq_(23)(function () {\n  return Object.defineProperty(_dereq_(21)('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n\n},{\"20\":20,\"21\":21,\"23\":23}],28:[function(_dereq_,module,exports){\nmodule.exports = function (it) {\n  return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n\n},{}],29:[function(_dereq_,module,exports){\nvar anObject = _dereq_(17);\nvar IE8_DOM_DEFINE = _dereq_(27);\nvar toPrimitive = _dereq_(31);\nvar dP = Object.defineProperty;\n\nexports.f = _dereq_(20) ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n  anObject(O);\n  P = toPrimitive(P, true);\n  anObject(Attributes);\n  if (IE8_DOM_DEFINE) try {\n    return dP(O, P, Attributes);\n  } catch (e) { /* empty */ }\n  if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n  if ('value' in Attributes) O[P] = Attributes.value;\n  return O;\n};\n\n},{\"17\":17,\"20\":20,\"27\":27,\"31\":31}],30:[function(_dereq_,module,exports){\nmodule.exports = function (bitmap, value) {\n  return {\n    enumerable: !(bitmap & 1),\n    configurable: !(bitmap & 2),\n    writable: !(bitmap & 4),\n    value: value\n  };\n};\n\n},{}],31:[function(_dereq_,module,exports){\n// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = _dereq_(28);\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n  if (!isObject(it)) return it;\n  var fn, val;\n  if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n  if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n  if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n  throw TypeError(\"Can't convert object to primitive value\");\n};\n\n},{\"28\":28}],32:[function(_dereq_,module,exports){\n// https://github.com/tc39/proposal-global\nvar $export = _dereq_(22);\n\n$export($export.G, { global: _dereq_(24) });\n\n},{\"22\":22,\"24\":24}],33:[function(_dereq_,module,exports){\narguments[4][16][0].apply(exports,arguments)\n},{\"16\":16}],34:[function(_dereq_,module,exports){\nvar cof = _dereq_(48);\nmodule.exports = function (it, msg) {\n  if (typeof it != 'number' && cof(it) != 'Number') throw TypeError(msg);\n  return +it;\n};\n\n},{\"48\":48}],35:[function(_dereq_,module,exports){\n// 22.1.3.31 Array.prototype[@@unscopables]\nvar UNSCOPABLES = _dereq_(152)('unscopables');\nvar ArrayProto = Array.prototype;\nif (ArrayProto[UNSCOPABLES] == undefined) _dereq_(72)(ArrayProto, UNSCOPABLES, {});\nmodule.exports = function (key) {\n  ArrayProto[UNSCOPABLES][key] = true;\n};\n\n},{\"152\":152,\"72\":72}],36:[function(_dereq_,module,exports){\n'use strict';\nvar at = _dereq_(129)(true);\n\n // `AdvanceStringIndex` abstract operation\n// https://tc39.github.io/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n  return index + (unicode ? at(S, index).length : 1);\n};\n\n},{\"129\":129}],37:[function(_dereq_,module,exports){\nmodule.exports = function (it, Constructor, name, forbiddenField) {\n  if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {\n    throw TypeError(name + ': incorrect invocation!');\n  } return it;\n};\n\n},{}],38:[function(_dereq_,module,exports){\narguments[4][17][0].apply(exports,arguments)\n},{\"17\":17,\"81\":81}],39:[function(_dereq_,module,exports){\n// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\n'use strict';\nvar toObject = _dereq_(142);\nvar toAbsoluteIndex = _dereq_(137);\nvar toLength = _dereq_(141);\n\nmodule.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) {\n  var O = toObject(this);\n  var len = toLength(O.length);\n  var to = toAbsoluteIndex(target, len);\n  var from = toAbsoluteIndex(start, len);\n  var end = arguments.length > 2 ? arguments[2] : undefined;\n  var count = Math.min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to);\n  var inc = 1;\n  if (from < to && to < from + count) {\n    inc = -1;\n    from += count - 1;\n    to += count - 1;\n  }\n  while (count-- > 0) {\n    if (from in O) O[to] = O[from];\n    else delete O[to];\n    to += inc;\n    from += inc;\n  } return O;\n};\n\n},{\"137\":137,\"141\":141,\"142\":142}],40:[function(_dereq_,module,exports){\n// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\n'use strict';\nvar toObject = _dereq_(142);\nvar toAbsoluteIndex = _dereq_(137);\nvar toLength = _dereq_(141);\nmodule.exports = function fill(value /* , start = 0, end = @length */) {\n  var O = toObject(this);\n  var length = toLength(O.length);\n  var aLen = arguments.length;\n  var index = toAbsoluteIndex(aLen > 1 ? arguments[1] : undefined, length);\n  var end = aLen > 2 ? arguments[2] : undefined;\n  var endPos = end === undefined ? length : toAbsoluteIndex(end, length);\n  while (endPos > index) O[index++] = value;\n  return O;\n};\n\n},{\"137\":137,\"141\":141,\"142\":142}],41:[function(_dereq_,module,exports){\n// false -> Array#indexOf\n// true  -> Array#includes\nvar toIObject = _dereq_(140);\nvar toLength = _dereq_(141);\nvar toAbsoluteIndex = _dereq_(137);\nmodule.exports = function (IS_INCLUDES) {\n  return function ($this, el, fromIndex) {\n    var O = toIObject($this);\n    var length = toLength(O.length);\n    var index = toAbsoluteIndex(fromIndex, length);\n    var value;\n    // Array#includes uses SameValueZero equality algorithm\n    // eslint-disable-next-line no-self-compare\n    if (IS_INCLUDES && el != el) while (length > index) {\n      value = O[index++];\n      // eslint-disable-next-line no-self-compare\n      if (value != value) return true;\n    // Array#indexOf ignores holes, Array#includes - not\n    } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n      if (O[index] === el) return IS_INCLUDES || index || 0;\n    } return !IS_INCLUDES && -1;\n  };\n};\n\n},{\"137\":137,\"140\":140,\"141\":141}],42:[function(_dereq_,module,exports){\n// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = _dereq_(54);\nvar IObject = _dereq_(77);\nvar toObject = _dereq_(142);\nvar toLength = _dereq_(141);\nvar asc = _dereq_(45);\nmodule.exports = function (TYPE, $create) {\n  var IS_MAP = TYPE == 1;\n  var IS_FILTER = TYPE == 2;\n  var IS_SOME = TYPE == 3;\n  var IS_EVERY = TYPE == 4;\n  var IS_FIND_INDEX = TYPE == 6;\n  var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n  var create = $create || asc;\n  return function ($this, callbackfn, that) {\n    var O = toObject($this);\n    var self = IObject(O);\n    var f = ctx(callbackfn, that, 3);\n    var length = toLength(self.length);\n    var index = 0;\n    var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n    var val, res;\n    for (;length > index; index++) if (NO_HOLES || index in self) {\n      val = self[index];\n      res = f(val, index, O);\n      if (TYPE) {\n        if (IS_MAP) result[index] = res;   // map\n        else if (res) switch (TYPE) {\n          case 3: return true;             // some\n          case 5: return val;              // find\n          case 6: return index;            // findIndex\n          case 2: result.push(val);        // filter\n        } else if (IS_EVERY) return false; // every\n      }\n    }\n    return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n  };\n};\n\n},{\"141\":141,\"142\":142,\"45\":45,\"54\":54,\"77\":77}],43:[function(_dereq_,module,exports){\nvar aFunction = _dereq_(33);\nvar toObject = _dereq_(142);\nvar IObject = _dereq_(77);\nvar toLength = _dereq_(141);\n\nmodule.exports = function (that, callbackfn, aLen, memo, isRight) {\n  aFunction(callbackfn);\n  var O = toObject(that);\n  var self = IObject(O);\n  var length = toLength(O.length);\n  var index = isRight ? length - 1 : 0;\n  var i = isRight ? -1 : 1;\n  if (aLen < 2) for (;;) {\n    if (index in self) {\n      memo = self[index];\n      index += i;\n      break;\n    }\n    index += i;\n    if (isRight ? index < 0 : length <= index) {\n      throw TypeError('Reduce of empty array with no initial value');\n    }\n  }\n  for (;isRight ? index >= 0 : length > index; index += i) if (index in self) {\n    memo = callbackfn(memo, self[index], index, O);\n  }\n  return memo;\n};\n\n},{\"141\":141,\"142\":142,\"33\":33,\"77\":77}],44:[function(_dereq_,module,exports){\nvar isObject = _dereq_(81);\nvar isArray = _dereq_(79);\nvar SPECIES = _dereq_(152)('species');\n\nmodule.exports = function (original) {\n  var C;\n  if (isArray(original)) {\n    C = original.constructor;\n    // cross-realm fallback\n    if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n    if (isObject(C)) {\n      C = C[SPECIES];\n      if (C === null) C = undefined;\n    }\n  } return C === undefined ? Array : C;\n};\n\n},{\"152\":152,\"79\":79,\"81\":81}],45:[function(_dereq_,module,exports){\n// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = _dereq_(44);\n\nmodule.exports = function (original, length) {\n  return new (speciesConstructor(original))(length);\n};\n\n},{\"44\":44}],46:[function(_dereq_,module,exports){\n'use strict';\nvar aFunction = _dereq_(33);\nvar isObject = _dereq_(81);\nvar invoke = _dereq_(76);\nvar arraySlice = [].slice;\nvar factories = {};\n\nvar construct = function (F, len, args) {\n  if (!(len in factories)) {\n    for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']';\n    // eslint-disable-next-line no-new-func\n    factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');\n  } return factories[len](F, args);\n};\n\nmodule.exports = Function.bind || function bind(that /* , ...args */) {\n  var fn = aFunction(this);\n  var partArgs = arraySlice.call(arguments, 1);\n  var bound = function (/* args... */) {\n    var args = partArgs.concat(arraySlice.call(arguments));\n    return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);\n  };\n  if (isObject(fn.prototype)) bound.prototype = fn.prototype;\n  return bound;\n};\n\n},{\"33\":33,\"76\":76,\"81\":81}],47:[function(_dereq_,module,exports){\n// getting tag from 19.1.3.6 Object.prototype.toString()\nvar cof = _dereq_(48);\nvar TAG = _dereq_(152)('toStringTag');\n// ES3 wrong here\nvar ARG = cof(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n  try {\n    return it[key];\n  } catch (e) { /* empty */ }\n};\n\nmodule.exports = function (it) {\n  var O, T, B;\n  return it === undefined ? 'Undefined' : it === null ? 'Null'\n    // @@toStringTag case\n    : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n    // builtinTag case\n    : ARG ? cof(O)\n    // ES3 arguments fallback\n    : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n\n},{\"152\":152,\"48\":48}],48:[function(_dereq_,module,exports){\nvar toString = {}.toString;\n\nmodule.exports = function (it) {\n  return toString.call(it).slice(8, -1);\n};\n\n},{}],49:[function(_dereq_,module,exports){\n'use strict';\nvar dP = _dereq_(99).f;\nvar create = _dereq_(98);\nvar redefineAll = _dereq_(117);\nvar ctx = _dereq_(54);\nvar anInstance = _dereq_(37);\nvar forOf = _dereq_(68);\nvar $iterDefine = _dereq_(85);\nvar step = _dereq_(87);\nvar setSpecies = _dereq_(123);\nvar DESCRIPTORS = _dereq_(58);\nvar fastKey = _dereq_(94).fastKey;\nvar validate = _dereq_(149);\nvar SIZE = DESCRIPTORS ? '_s' : 'size';\n\nvar getEntry = function (that, key) {\n  // fast case\n  var index = fastKey(key);\n  var entry;\n  if (index !== 'F') return that._i[index];\n  // frozen object case\n  for (entry = that._f; entry; entry = entry.n) {\n    if (entry.k == key) return entry;\n  }\n};\n\nmodule.exports = {\n  getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {\n    var C = wrapper(function (that, iterable) {\n      anInstance(that, C, NAME, '_i');\n      that._t = NAME;         // collection type\n      that._i = create(null); // index\n      that._f = undefined;    // first entry\n      that._l = undefined;    // last entry\n      that[SIZE] = 0;         // size\n      if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n    });\n    redefineAll(C.prototype, {\n      // 23.1.3.1 Map.prototype.clear()\n      // 23.2.3.2 Set.prototype.clear()\n      clear: function clear() {\n        for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) {\n          entry.r = true;\n          if (entry.p) entry.p = entry.p.n = undefined;\n          delete data[entry.i];\n        }\n        that._f = that._l = undefined;\n        that[SIZE] = 0;\n      },\n      // 23.1.3.3 Map.prototype.delete(key)\n      // 23.2.3.4 Set.prototype.delete(value)\n      'delete': function (key) {\n        var that = validate(this, NAME);\n        var entry = getEntry(that, key);\n        if (entry) {\n          var next = entry.n;\n          var prev = entry.p;\n          delete that._i[entry.i];\n          entry.r = true;\n          if (prev) prev.n = next;\n          if (next) next.p = prev;\n          if (that._f == entry) that._f = next;\n          if (that._l == entry) that._l = prev;\n          that[SIZE]--;\n        } return !!entry;\n      },\n      // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)\n      // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)\n      forEach: function forEach(callbackfn /* , that = undefined */) {\n        validate(this, NAME);\n        var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n        var entry;\n        while (entry = entry ? entry.n : this._f) {\n          f(entry.v, entry.k, this);\n          // revert to the last existing entry\n          while (entry && entry.r) entry = entry.p;\n        }\n      },\n      // 23.1.3.7 Map.prototype.has(key)\n      // 23.2.3.7 Set.prototype.has(value)\n      has: function has(key) {\n        return !!getEntry(validate(this, NAME), key);\n      }\n    });\n    if (DESCRIPTORS) dP(C.prototype, 'size', {\n      get: function () {\n        return validate(this, NAME)[SIZE];\n      }\n    });\n    return C;\n  },\n  def: function (that, key, value) {\n    var entry = getEntry(that, key);\n    var prev, index;\n    // change existing entry\n    if (entry) {\n      entry.v = value;\n    // create new entry\n    } else {\n      that._l = entry = {\n        i: index = fastKey(key, true), // <- index\n        k: key,                        // <- key\n        v: value,                      // <- value\n        p: prev = that._l,             // <- previous entry\n        n: undefined,                  // <- next entry\n        r: false                       // <- removed\n      };\n      if (!that._f) that._f = entry;\n      if (prev) prev.n = entry;\n      that[SIZE]++;\n      // add to index\n      if (index !== 'F') that._i[index] = entry;\n    } return that;\n  },\n  getEntry: getEntry,\n  setStrong: function (C, NAME, IS_MAP) {\n    // add .keys, .values, .entries, [@@iterator]\n    // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11\n    $iterDefine(C, NAME, function (iterated, kind) {\n      this._t = validate(iterated, NAME); // target\n      this._k = kind;                     // kind\n      this._l = undefined;                // previous\n    }, function () {\n      var that = this;\n      var kind = that._k;\n      var entry = that._l;\n      // revert to the last existing entry\n      while (entry && entry.r) entry = entry.p;\n      // get next entry\n      if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) {\n        // or finish the iteration\n        that._t = undefined;\n        return step(1);\n      }\n      // return step by kind\n      if (kind == 'keys') return step(0, entry.k);\n      if (kind == 'values') return step(0, entry.v);\n      return step(0, [entry.k, entry.v]);\n    }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n    // add [@@species], 23.1.2.2, 23.2.2.2\n    setSpecies(NAME);\n  }\n};\n\n},{\"117\":117,\"123\":123,\"149\":149,\"37\":37,\"54\":54,\"58\":58,\"68\":68,\"85\":85,\"87\":87,\"94\":94,\"98\":98,\"99\":99}],50:[function(_dereq_,module,exports){\n'use strict';\nvar redefineAll = _dereq_(117);\nvar getWeak = _dereq_(94).getWeak;\nvar anObject = _dereq_(38);\nvar isObject = _dereq_(81);\nvar anInstance = _dereq_(37);\nvar forOf = _dereq_(68);\nvar createArrayMethod = _dereq_(42);\nvar $has = _dereq_(71);\nvar validate = _dereq_(149);\nvar arrayFind = createArrayMethod(5);\nvar arrayFindIndex = createArrayMethod(6);\nvar id = 0;\n\n// fallback for uncaught frozen keys\nvar uncaughtFrozenStore = function (that) {\n  return that._l || (that._l = new UncaughtFrozenStore());\n};\nvar UncaughtFrozenStore = function () {\n  this.a = [];\n};\nvar findUncaughtFrozen = function (store, key) {\n  return arrayFind(store.a, function (it) {\n    return it[0] === key;\n  });\n};\nUncaughtFrozenStore.prototype = {\n  get: function (key) {\n    var entry = findUncaughtFrozen(this, key);\n    if (entry) return entry[1];\n  },\n  has: function (key) {\n    return !!findUncaughtFrozen(this, key);\n  },\n  set: function (key, value) {\n    var entry = findUncaughtFrozen(this, key);\n    if (entry) entry[1] = value;\n    else this.a.push([key, value]);\n  },\n  'delete': function (key) {\n    var index = arrayFindIndex(this.a, function (it) {\n      return it[0] === key;\n    });\n    if (~index) this.a.splice(index, 1);\n    return !!~index;\n  }\n};\n\nmodule.exports = {\n  getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {\n    var C = wrapper(function (that, iterable) {\n      anInstance(that, C, NAME, '_i');\n      that._t = NAME;      // collection type\n      that._i = id++;      // collection id\n      that._l = undefined; // leak store for uncaught frozen objects\n      if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n    });\n    redefineAll(C.prototype, {\n      // 23.3.3.2 WeakMap.prototype.delete(key)\n      // 23.4.3.3 WeakSet.prototype.delete(value)\n      'delete': function (key) {\n        if (!isObject(key)) return false;\n        var data = getWeak(key);\n        if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key);\n        return data && $has(data, this._i) && delete data[this._i];\n      },\n      // 23.3.3.4 WeakMap.prototype.has(key)\n      // 23.4.3.4 WeakSet.prototype.has(value)\n      has: function has(key) {\n        if (!isObject(key)) return false;\n        var data = getWeak(key);\n        if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key);\n        return data && $has(data, this._i);\n      }\n    });\n    return C;\n  },\n  def: function (that, key, value) {\n    var data = getWeak(anObject(key), true);\n    if (data === true) uncaughtFrozenStore(that).set(key, value);\n    else data[that._i] = value;\n    return that;\n  },\n  ufstore: uncaughtFrozenStore\n};\n\n},{\"117\":117,\"149\":149,\"37\":37,\"38\":38,\"42\":42,\"68\":68,\"71\":71,\"81\":81,\"94\":94}],51:[function(_dereq_,module,exports){\n'use strict';\nvar global = _dereq_(70);\nvar $export = _dereq_(62);\nvar redefine = _dereq_(118);\nvar redefineAll = _dereq_(117);\nvar meta = _dereq_(94);\nvar forOf = _dereq_(68);\nvar anInstance = _dereq_(37);\nvar isObject = _dereq_(81);\nvar fails = _dereq_(64);\nvar $iterDetect = _dereq_(86);\nvar setToStringTag = _dereq_(124);\nvar inheritIfRequired = _dereq_(75);\n\nmodule.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {\n  var Base = global[NAME];\n  var C = Base;\n  var ADDER = IS_MAP ? 'set' : 'add';\n  var proto = C && C.prototype;\n  var O = {};\n  var fixMethod = function (KEY) {\n    var fn = proto[KEY];\n    redefine(proto, KEY,\n      KEY == 'delete' ? function (a) {\n        return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n      } : KEY == 'has' ? function has(a) {\n        return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n      } : KEY == 'get' ? function get(a) {\n        return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);\n      } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; }\n        : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; }\n    );\n  };\n  if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () {\n    new C().entries().next();\n  }))) {\n    // create collection constructor\n    C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);\n    redefineAll(C.prototype, methods);\n    meta.NEED = true;\n  } else {\n    var instance = new C();\n    // early implementations not supports chaining\n    var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n    // V8 ~  Chromium 40- weak-collections throws on primitives, but should return false\n    var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n    // most early implementations doesn't supports iterables, most modern - not close it correctly\n    var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new\n    // for early implementations -0 and +0 not the same\n    var BUGGY_ZERO = !IS_WEAK && fails(function () {\n      // V8 ~ Chromium 42- fails only with 5+ elements\n      var $instance = new C();\n      var index = 5;\n      while (index--) $instance[ADDER](index, index);\n      return !$instance.has(-0);\n    });\n    if (!ACCEPT_ITERABLES) {\n      C = wrapper(function (target, iterable) {\n        anInstance(target, C, NAME);\n        var that = inheritIfRequired(new Base(), target, C);\n        if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n        return that;\n      });\n      C.prototype = proto;\n      proto.constructor = C;\n    }\n    if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n      fixMethod('delete');\n      fixMethod('has');\n      IS_MAP && fixMethod('get');\n    }\n    if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n    // weak collections should not contains .clear method\n    if (IS_WEAK && proto.clear) delete proto.clear;\n  }\n\n  setToStringTag(C, NAME);\n\n  O[NAME] = C;\n  $export($export.G + $export.W + $export.F * (C != Base), O);\n\n  if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP);\n\n  return C;\n};\n\n},{\"117\":117,\"118\":118,\"124\":124,\"37\":37,\"62\":62,\"64\":64,\"68\":68,\"70\":70,\"75\":75,\"81\":81,\"86\":86,\"94\":94}],52:[function(_dereq_,module,exports){\narguments[4][18][0].apply(exports,arguments)\n},{\"18\":18}],53:[function(_dereq_,module,exports){\n'use strict';\nvar $defineProperty = _dereq_(99);\nvar createDesc = _dereq_(116);\n\nmodule.exports = function (object, index, value) {\n  if (index in object) $defineProperty.f(object, index, createDesc(0, value));\n  else object[index] = value;\n};\n\n},{\"116\":116,\"99\":99}],54:[function(_dereq_,module,exports){\narguments[4][19][0].apply(exports,arguments)\n},{\"19\":19,\"33\":33}],55:[function(_dereq_,module,exports){\n'use strict';\n// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()\nvar fails = _dereq_(64);\nvar getTime = Date.prototype.getTime;\nvar $toISOString = Date.prototype.toISOString;\n\nvar lz = function (num) {\n  return num > 9 ? num : '0' + num;\n};\n\n// PhantomJS / old WebKit has a broken implementations\nmodule.exports = (fails(function () {\n  return $toISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z';\n}) || !fails(function () {\n  $toISOString.call(new Date(NaN));\n})) ? function toISOString() {\n  if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value');\n  var d = this;\n  var y = d.getUTCFullYear();\n  var m = d.getUTCMilliseconds();\n  var s = y < 0 ? '-' : y > 9999 ? '+' : '';\n  return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) +\n    '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) +\n    'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) +\n    ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z';\n} : $toISOString;\n\n},{\"64\":64}],56:[function(_dereq_,module,exports){\n'use strict';\nvar anObject = _dereq_(38);\nvar toPrimitive = _dereq_(143);\nvar NUMBER = 'number';\n\nmodule.exports = function (hint) {\n  if (hint !== 'string' && hint !== NUMBER && hint !== 'default') throw TypeError('Incorrect hint');\n  return toPrimitive(anObject(this), hint != NUMBER);\n};\n\n},{\"143\":143,\"38\":38}],57:[function(_dereq_,module,exports){\n// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n  if (it == undefined) throw TypeError(\"Can't call method on  \" + it);\n  return it;\n};\n\n},{}],58:[function(_dereq_,module,exports){\narguments[4][20][0].apply(exports,arguments)\n},{\"20\":20,\"64\":64}],59:[function(_dereq_,module,exports){\narguments[4][21][0].apply(exports,arguments)\n},{\"21\":21,\"70\":70,\"81\":81}],60:[function(_dereq_,module,exports){\n// IE 8- don't enum bug keys\nmodule.exports = (\n  'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n\n},{}],61:[function(_dereq_,module,exports){\n// all enumerable object keys, includes symbols\nvar getKeys = _dereq_(107);\nvar gOPS = _dereq_(104);\nvar pIE = _dereq_(108);\nmodule.exports = function (it) {\n  var result = getKeys(it);\n  var getSymbols = gOPS.f;\n  if (getSymbols) {\n    var symbols = getSymbols(it);\n    var isEnum = pIE.f;\n    var i = 0;\n    var key;\n    while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);\n  } return result;\n};\n\n},{\"104\":104,\"107\":107,\"108\":108}],62:[function(_dereq_,module,exports){\nvar global = _dereq_(70);\nvar core = _dereq_(52);\nvar hide = _dereq_(72);\nvar redefine = _dereq_(118);\nvar ctx = _dereq_(54);\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n  var IS_FORCED = type & $export.F;\n  var IS_GLOBAL = type & $export.G;\n  var IS_STATIC = type & $export.S;\n  var IS_PROTO = type & $export.P;\n  var IS_BIND = type & $export.B;\n  var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n  var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n  var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n  var key, own, out, exp;\n  if (IS_GLOBAL) source = name;\n  for (key in source) {\n    // contains in native\n    own = !IS_FORCED && target && target[key] !== undefined;\n    // export native or passed\n    out = (own ? target : source)[key];\n    // bind timers to global for call from export context\n    exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n    // extend global\n    if (target) redefine(target, key, out, type & $export.U);\n    // export\n    if (exports[key] != out) hide(exports, key, exp);\n    if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n  }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1;   // forced\n$export.G = 2;   // global\n$export.S = 4;   // static\n$export.P = 8;   // proto\n$export.B = 16;  // bind\n$export.W = 32;  // wrap\n$export.U = 64;  // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n\n},{\"118\":118,\"52\":52,\"54\":54,\"70\":70,\"72\":72}],63:[function(_dereq_,module,exports){\nvar MATCH = _dereq_(152)('match');\nmodule.exports = function (KEY) {\n  var re = /./;\n  try {\n    '/./'[KEY](re);\n  } catch (e) {\n    try {\n      re[MATCH] = false;\n      return !'/./'[KEY](re);\n    } catch (f) { /* empty */ }\n  } return true;\n};\n\n},{\"152\":152}],64:[function(_dereq_,module,exports){\narguments[4][23][0].apply(exports,arguments)\n},{\"23\":23}],65:[function(_dereq_,module,exports){\n'use strict';\n_dereq_(248);\nvar redefine = _dereq_(118);\nvar hide = _dereq_(72);\nvar fails = _dereq_(64);\nvar defined = _dereq_(57);\nvar wks = _dereq_(152);\nvar regexpExec = _dereq_(120);\n\nvar SPECIES = wks('species');\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n  // #replace needs built-in support for named groups.\n  // #match works fine because it just return the exec results, even if it has\n  // a \"grops\" property.\n  var re = /./;\n  re.exec = function () {\n    var result = [];\n    result.groups = { a: '7' };\n    return result;\n  };\n  return ''.replace(re, '$<a>') !== '7';\n});\n\nvar SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () {\n  // Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n  var re = /(?:)/;\n  var originalExec = re.exec;\n  re.exec = function () { return originalExec.apply(this, arguments); };\n  var result = 'ab'.split(re);\n  return result.length === 2 && result[0] === 'a' && result[1] === 'b';\n})();\n\nmodule.exports = function (KEY, length, exec) {\n  var SYMBOL = wks(KEY);\n\n  var DELEGATES_TO_SYMBOL = !fails(function () {\n    // String methods call symbol-named RegEp methods\n    var O = {};\n    O[SYMBOL] = function () { return 7; };\n    return ''[KEY](O) != 7;\n  });\n\n  var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () {\n    // Symbol-named RegExp methods call .exec\n    var execCalled = false;\n    var re = /a/;\n    re.exec = function () { execCalled = true; return null; };\n    if (KEY === 'split') {\n      // RegExp[@@split] doesn't call the regex's exec method, but first creates\n      // a new one. We need to return the patched regex when creating the new one.\n      re.constructor = {};\n      re.constructor[SPECIES] = function () { return re; };\n    }\n    re[SYMBOL]('');\n    return !execCalled;\n  }) : undefined;\n\n  if (\n    !DELEGATES_TO_SYMBOL ||\n    !DELEGATES_TO_EXEC ||\n    (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) ||\n    (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)\n  ) {\n    var nativeRegExpMethod = /./[SYMBOL];\n    var fns = exec(\n      defined,\n      SYMBOL,\n      ''[KEY],\n      function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) {\n        if (regexp.exec === regexpExec) {\n          if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n            // The native String method already delegates to @@method (this\n            // polyfilled function), leasing to infinite recursion.\n            // We avoid it by directly calling the native @@method method.\n            return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };\n          }\n          return { done: true, value: nativeMethod.call(str, regexp, arg2) };\n        }\n        return { done: false };\n      }\n    );\n    var strfn = fns[0];\n    var rxfn = fns[1];\n\n    redefine(String.prototype, KEY, strfn);\n    hide(RegExp.prototype, SYMBOL, length == 2\n      // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n      // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n      ? function (string, arg) { return rxfn.call(string, this, arg); }\n      // 21.2.5.6 RegExp.prototype[@@match](string)\n      // 21.2.5.9 RegExp.prototype[@@search](string)\n      : function (string) { return rxfn.call(string, this); }\n    );\n  }\n};\n\n},{\"118\":118,\"120\":120,\"152\":152,\"248\":248,\"57\":57,\"64\":64,\"72\":72}],66:[function(_dereq_,module,exports){\n'use strict';\n// 21.2.5.3 get RegExp.prototype.flags\nvar anObject = _dereq_(38);\nmodule.exports = function () {\n  var that = anObject(this);\n  var result = '';\n  if (that.global) result += 'g';\n  if (that.ignoreCase) result += 'i';\n  if (that.multiline) result += 'm';\n  if (that.unicode) result += 'u';\n  if (that.sticky) result += 'y';\n  return result;\n};\n\n},{\"38\":38}],67:[function(_dereq_,module,exports){\n'use strict';\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar isArray = _dereq_(79);\nvar isObject = _dereq_(81);\nvar toLength = _dereq_(141);\nvar ctx = _dereq_(54);\nvar IS_CONCAT_SPREADABLE = _dereq_(152)('isConcatSpreadable');\n\nfunction flattenIntoArray(target, original, source, sourceLen, start, depth, mapper, thisArg) {\n  var targetIndex = start;\n  var sourceIndex = 0;\n  var mapFn = mapper ? ctx(mapper, thisArg, 3) : false;\n  var element, spreadable;\n\n  while (sourceIndex < sourceLen) {\n    if (sourceIndex in source) {\n      element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n\n      spreadable = false;\n      if (isObject(element)) {\n        spreadable = element[IS_CONCAT_SPREADABLE];\n        spreadable = spreadable !== undefined ? !!spreadable : isArray(element);\n      }\n\n      if (spreadable && depth > 0) {\n        targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1;\n      } else {\n        if (targetIndex >= 0x1fffffffffffff) throw TypeError();\n        target[targetIndex] = element;\n      }\n\n      targetIndex++;\n    }\n    sourceIndex++;\n  }\n  return targetIndex;\n}\n\nmodule.exports = flattenIntoArray;\n\n},{\"141\":141,\"152\":152,\"54\":54,\"79\":79,\"81\":81}],68:[function(_dereq_,module,exports){\nvar ctx = _dereq_(54);\nvar call = _dereq_(83);\nvar isArrayIter = _dereq_(78);\nvar anObject = _dereq_(38);\nvar toLength = _dereq_(141);\nvar getIterFn = _dereq_(153);\nvar BREAK = {};\nvar RETURN = {};\nvar exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {\n  var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);\n  var f = ctx(fn, that, entries ? 2 : 1);\n  var index = 0;\n  var length, step, iterator, result;\n  if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');\n  // fast case for arrays with default iterator\n  if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) {\n    result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);\n    if (result === BREAK || result === RETURN) return result;\n  } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {\n    result = call(iterator, f, step.value, entries);\n    if (result === BREAK || result === RETURN) return result;\n  }\n};\nexports.BREAK = BREAK;\nexports.RETURN = RETURN;\n\n},{\"141\":141,\"153\":153,\"38\":38,\"54\":54,\"78\":78,\"83\":83}],69:[function(_dereq_,module,exports){\nmodule.exports = _dereq_(126)('native-function-to-string', Function.toString);\n\n},{\"126\":126}],70:[function(_dereq_,module,exports){\narguments[4][24][0].apply(exports,arguments)\n},{\"24\":24}],71:[function(_dereq_,module,exports){\narguments[4][25][0].apply(exports,arguments)\n},{\"25\":25}],72:[function(_dereq_,module,exports){\narguments[4][26][0].apply(exports,arguments)\n},{\"116\":116,\"26\":26,\"58\":58,\"99\":99}],73:[function(_dereq_,module,exports){\nvar document = _dereq_(70).document;\nmodule.exports = document && document.documentElement;\n\n},{\"70\":70}],74:[function(_dereq_,module,exports){\narguments[4][27][0].apply(exports,arguments)\n},{\"27\":27,\"58\":58,\"59\":59,\"64\":64}],75:[function(_dereq_,module,exports){\nvar isObject = _dereq_(81);\nvar setPrototypeOf = _dereq_(122).set;\nmodule.exports = function (that, target, C) {\n  var S = target.constructor;\n  var P;\n  if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {\n    setPrototypeOf(that, P);\n  } return that;\n};\n\n},{\"122\":122,\"81\":81}],76:[function(_dereq_,module,exports){\n// fast apply, http://jsperf.lnkit.com/fast-apply/5\nmodule.exports = function (fn, args, that) {\n  var un = that === undefined;\n  switch (args.length) {\n    case 0: return un ? fn()\n                      : fn.call(that);\n    case 1: return un ? fn(args[0])\n                      : fn.call(that, args[0]);\n    case 2: return un ? fn(args[0], args[1])\n                      : fn.call(that, args[0], args[1]);\n    case 3: return un ? fn(args[0], args[1], args[2])\n                      : fn.call(that, args[0], args[1], args[2]);\n    case 4: return un ? fn(args[0], args[1], args[2], args[3])\n                      : fn.call(that, args[0], args[1], args[2], args[3]);\n  } return fn.apply(that, args);\n};\n\n},{}],77:[function(_dereq_,module,exports){\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = _dereq_(48);\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n  return cof(it) == 'String' ? it.split('') : Object(it);\n};\n\n},{\"48\":48}],78:[function(_dereq_,module,exports){\n// check on default Array iterator\nvar Iterators = _dereq_(88);\nvar ITERATOR = _dereq_(152)('iterator');\nvar ArrayProto = Array.prototype;\n\nmodule.exports = function (it) {\n  return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);\n};\n\n},{\"152\":152,\"88\":88}],79:[function(_dereq_,module,exports){\n// 7.2.2 IsArray(argument)\nvar cof = _dereq_(48);\nmodule.exports = Array.isArray || function isArray(arg) {\n  return cof(arg) == 'Array';\n};\n\n},{\"48\":48}],80:[function(_dereq_,module,exports){\n// 20.1.2.3 Number.isInteger(number)\nvar isObject = _dereq_(81);\nvar floor = Math.floor;\nmodule.exports = function isInteger(it) {\n  return !isObject(it) && isFinite(it) && floor(it) === it;\n};\n\n},{\"81\":81}],81:[function(_dereq_,module,exports){\narguments[4][28][0].apply(exports,arguments)\n},{\"28\":28}],82:[function(_dereq_,module,exports){\n// 7.2.8 IsRegExp(argument)\nvar isObject = _dereq_(81);\nvar cof = _dereq_(48);\nvar MATCH = _dereq_(152)('match');\nmodule.exports = function (it) {\n  var isRegExp;\n  return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');\n};\n\n},{\"152\":152,\"48\":48,\"81\":81}],83:[function(_dereq_,module,exports){\n// call something on iterator step with safe closing on error\nvar anObject = _dereq_(38);\nmodule.exports = function (iterator, fn, value, entries) {\n  try {\n    return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n  // 7.4.6 IteratorClose(iterator, completion)\n  } catch (e) {\n    var ret = iterator['return'];\n    if (ret !== undefined) anObject(ret.call(iterator));\n    throw e;\n  }\n};\n\n},{\"38\":38}],84:[function(_dereq_,module,exports){\n'use strict';\nvar create = _dereq_(98);\nvar descriptor = _dereq_(116);\nvar setToStringTag = _dereq_(124);\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\n_dereq_(72)(IteratorPrototype, _dereq_(152)('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n  Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n  setToStringTag(Constructor, NAME + ' Iterator');\n};\n\n},{\"116\":116,\"124\":124,\"152\":152,\"72\":72,\"98\":98}],85:[function(_dereq_,module,exports){\n'use strict';\nvar LIBRARY = _dereq_(89);\nvar $export = _dereq_(62);\nvar redefine = _dereq_(118);\nvar hide = _dereq_(72);\nvar Iterators = _dereq_(88);\nvar $iterCreate = _dereq_(84);\nvar setToStringTag = _dereq_(124);\nvar getPrototypeOf = _dereq_(105);\nvar ITERATOR = _dereq_(152)('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n  $iterCreate(Constructor, NAME, next);\n  var getMethod = function (kind) {\n    if (!BUGGY && kind in proto) return proto[kind];\n    switch (kind) {\n      case KEYS: return function keys() { return new Constructor(this, kind); };\n      case VALUES: return function values() { return new Constructor(this, kind); };\n    } return function entries() { return new Constructor(this, kind); };\n  };\n  var TAG = NAME + ' Iterator';\n  var DEF_VALUES = DEFAULT == VALUES;\n  var VALUES_BUG = false;\n  var proto = Base.prototype;\n  var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n  var $default = $native || getMethod(DEFAULT);\n  var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n  var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n  var methods, key, IteratorPrototype;\n  // Fix native\n  if ($anyNative) {\n    IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n    if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n      // Set @@toStringTag to native iterators\n      setToStringTag(IteratorPrototype, TAG, true);\n      // fix for some old engines\n      if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n    }\n  }\n  // fix Array#{values, @@iterator}.name in V8 / FF\n  if (DEF_VALUES && $native && $native.name !== VALUES) {\n    VALUES_BUG = true;\n    $default = function values() { return $native.call(this); };\n  }\n  // Define iterator\n  if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n    hide(proto, ITERATOR, $default);\n  }\n  // Plug for library\n  Iterators[NAME] = $default;\n  Iterators[TAG] = returnThis;\n  if (DEFAULT) {\n    methods = {\n      values: DEF_VALUES ? $default : getMethod(VALUES),\n      keys: IS_SET ? $default : getMethod(KEYS),\n      entries: $entries\n    };\n    if (FORCED) for (key in methods) {\n      if (!(key in proto)) redefine(proto, key, methods[key]);\n    } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n  }\n  return methods;\n};\n\n},{\"105\":105,\"118\":118,\"124\":124,\"152\":152,\"62\":62,\"72\":72,\"84\":84,\"88\":88,\"89\":89}],86:[function(_dereq_,module,exports){\nvar ITERATOR = _dereq_(152)('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n  var riter = [7][ITERATOR]();\n  riter['return'] = function () { SAFE_CLOSING = true; };\n  // eslint-disable-next-line no-throw-literal\n  Array.from(riter, function () { throw 2; });\n} catch (e) { /* empty */ }\n\nmodule.exports = function (exec, skipClosing) {\n  if (!skipClosing && !SAFE_CLOSING) return false;\n  var safe = false;\n  try {\n    var arr = [7];\n    var iter = arr[ITERATOR]();\n    iter.next = function () { return { done: safe = true }; };\n    arr[ITERATOR] = function () { return iter; };\n    exec(arr);\n  } catch (e) { /* empty */ }\n  return safe;\n};\n\n},{\"152\":152}],87:[function(_dereq_,module,exports){\nmodule.exports = function (done, value) {\n  return { value: value, done: !!done };\n};\n\n},{}],88:[function(_dereq_,module,exports){\nmodule.exports = {};\n\n},{}],89:[function(_dereq_,module,exports){\nmodule.exports = false;\n\n},{}],90:[function(_dereq_,module,exports){\n// 20.2.2.14 Math.expm1(x)\nvar $expm1 = Math.expm1;\nmodule.exports = (!$expm1\n  // Old FF bug\n  || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168\n  // Tor Browser bug\n  || $expm1(-2e-17) != -2e-17\n) ? function expm1(x) {\n  return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;\n} : $expm1;\n\n},{}],91:[function(_dereq_,module,exports){\n// 20.2.2.16 Math.fround(x)\nvar sign = _dereq_(93);\nvar pow = Math.pow;\nvar EPSILON = pow(2, -52);\nvar EPSILON32 = pow(2, -23);\nvar MAX32 = pow(2, 127) * (2 - EPSILON32);\nvar MIN32 = pow(2, -126);\n\nvar roundTiesToEven = function (n) {\n  return n + 1 / EPSILON - 1 / EPSILON;\n};\n\nmodule.exports = Math.fround || function fround(x) {\n  var $abs = Math.abs(x);\n  var $sign = sign(x);\n  var a, result;\n  if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;\n  a = (1 + EPSILON32 / EPSILON) * $abs;\n  result = a - (a - $abs);\n  // eslint-disable-next-line no-self-compare\n  if (result > MAX32 || result != result) return $sign * Infinity;\n  return $sign * result;\n};\n\n},{\"93\":93}],92:[function(_dereq_,module,exports){\n// 20.2.2.20 Math.log1p(x)\nmodule.exports = Math.log1p || function log1p(x) {\n  return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);\n};\n\n},{}],93:[function(_dereq_,module,exports){\n// 20.2.2.28 Math.sign(x)\nmodule.exports = Math.sign || function sign(x) {\n  // eslint-disable-next-line no-self-compare\n  return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;\n};\n\n},{}],94:[function(_dereq_,module,exports){\nvar META = _dereq_(147)('meta');\nvar isObject = _dereq_(81);\nvar has = _dereq_(71);\nvar setDesc = _dereq_(99).f;\nvar id = 0;\nvar isExtensible = Object.isExtensible || function () {\n  return true;\n};\nvar FREEZE = !_dereq_(64)(function () {\n  return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function (it) {\n  setDesc(it, META, { value: {\n    i: 'O' + ++id, // object ID\n    w: {}          // weak collections IDs\n  } });\n};\nvar fastKey = function (it, create) {\n  // return primitive with prefix\n  if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n  if (!has(it, META)) {\n    // can't set metadata to uncaught frozen object\n    if (!isExtensible(it)) return 'F';\n    // not necessary to add metadata\n    if (!create) return 'E';\n    // add missing metadata\n    setMeta(it);\n  // return object ID\n  } return it[META].i;\n};\nvar getWeak = function (it, create) {\n  if (!has(it, META)) {\n    // can't set metadata to uncaught frozen object\n    if (!isExtensible(it)) return true;\n    // not necessary to add metadata\n    if (!create) return false;\n    // add missing metadata\n    setMeta(it);\n  // return hash weak collections IDs\n  } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n  if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);\n  return it;\n};\nvar meta = module.exports = {\n  KEY: META,\n  NEED: false,\n  fastKey: fastKey,\n  getWeak: getWeak,\n  onFreeze: onFreeze\n};\n\n},{\"147\":147,\"64\":64,\"71\":71,\"81\":81,\"99\":99}],95:[function(_dereq_,module,exports){\nvar global = _dereq_(70);\nvar macrotask = _dereq_(136).set;\nvar Observer = global.MutationObserver || global.WebKitMutationObserver;\nvar process = global.process;\nvar Promise = global.Promise;\nvar isNode = _dereq_(48)(process) == 'process';\n\nmodule.exports = function () {\n  var head, last, notify;\n\n  var flush = function () {\n    var parent, fn;\n    if (isNode && (parent = process.domain)) parent.exit();\n    while (head) {\n      fn = head.fn;\n      head = head.next;\n      try {\n        fn();\n      } catch (e) {\n        if (head) notify();\n        else last = undefined;\n        throw e;\n      }\n    } last = undefined;\n    if (parent) parent.enter();\n  };\n\n  // Node.js\n  if (isNode) {\n    notify = function () {\n      process.nextTick(flush);\n    };\n  // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339\n  } else if (Observer && !(global.navigator && global.navigator.standalone)) {\n    var toggle = true;\n    var node = document.createTextNode('');\n    new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new\n    notify = function () {\n      node.data = toggle = !toggle;\n    };\n  // environments with maybe non-completely correct, but existent Promise\n  } else if (Promise && Promise.resolve) {\n    // Promise.resolve without an argument throws an error in LG WebOS 2\n    var promise = Promise.resolve(undefined);\n    notify = function () {\n      promise.then(flush);\n    };\n  // for other environments - macrotask based on:\n  // - setImmediate\n  // - MessageChannel\n  // - window.postMessag\n  // - onreadystatechange\n  // - setTimeout\n  } else {\n    notify = function () {\n      // strange IE + webpack dev server bug - use .call(global)\n      macrotask.call(global, flush);\n    };\n  }\n\n  return function (fn) {\n    var task = { fn: fn, next: undefined };\n    if (last) last.next = task;\n    if (!head) {\n      head = task;\n      notify();\n    } last = task;\n  };\n};\n\n},{\"136\":136,\"48\":48,\"70\":70}],96:[function(_dereq_,module,exports){\n'use strict';\n// 25.4.1.5 NewPromiseCapability(C)\nvar aFunction = _dereq_(33);\n\nfunction PromiseCapability(C) {\n  var resolve, reject;\n  this.promise = new C(function ($$resolve, $$reject) {\n    if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');\n    resolve = $$resolve;\n    reject = $$reject;\n  });\n  this.resolve = aFunction(resolve);\n  this.reject = aFunction(reject);\n}\n\nmodule.exports.f = function (C) {\n  return new PromiseCapability(C);\n};\n\n},{\"33\":33}],97:[function(_dereq_,module,exports){\n'use strict';\n// 19.1.2.1 Object.assign(target, source, ...)\nvar getKeys = _dereq_(107);\nvar gOPS = _dereq_(104);\nvar pIE = _dereq_(108);\nvar toObject = _dereq_(142);\nvar IObject = _dereq_(77);\nvar $assign = Object.assign;\n\n// should work with symbols and should have deterministic property order (V8 bug)\nmodule.exports = !$assign || _dereq_(64)(function () {\n  var A = {};\n  var B = {};\n  // eslint-disable-next-line no-undef\n  var S = Symbol();\n  var K = 'abcdefghijklmnopqrst';\n  A[S] = 7;\n  K.split('').forEach(function (k) { B[k] = k; });\n  return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars\n  var T = toObject(target);\n  var aLen = arguments.length;\n  var index = 1;\n  var getSymbols = gOPS.f;\n  var isEnum = pIE.f;\n  while (aLen > index) {\n    var S = IObject(arguments[index++]);\n    var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);\n    var length = keys.length;\n    var j = 0;\n    var key;\n    while (length > j) if (isEnum.call(S, key = keys[j++])) T[key] = S[key];\n  } return T;\n} : $assign;\n\n},{\"104\":104,\"107\":107,\"108\":108,\"142\":142,\"64\":64,\"77\":77}],98:[function(_dereq_,module,exports){\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = _dereq_(38);\nvar dPs = _dereq_(100);\nvar enumBugKeys = _dereq_(60);\nvar IE_PROTO = _dereq_(125)('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n  // Thrash, waste and sodomy: IE GC bug\n  var iframe = _dereq_(59)('iframe');\n  var i = enumBugKeys.length;\n  var lt = '<';\n  var gt = '>';\n  var iframeDocument;\n  iframe.style.display = 'none';\n  _dereq_(73).appendChild(iframe);\n  iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n  // createDict = iframe.contentWindow.Object;\n  // html.removeChild(iframe);\n  iframeDocument = iframe.contentWindow.document;\n  iframeDocument.open();\n  iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n  iframeDocument.close();\n  createDict = iframeDocument.F;\n  while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n  return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n  var result;\n  if (O !== null) {\n    Empty[PROTOTYPE] = anObject(O);\n    result = new Empty();\n    Empty[PROTOTYPE] = null;\n    // add \"__proto__\" for Object.getPrototypeOf polyfill\n    result[IE_PROTO] = O;\n  } else result = createDict();\n  return Properties === undefined ? result : dPs(result, Properties);\n};\n\n},{\"100\":100,\"125\":125,\"38\":38,\"59\":59,\"60\":60,\"73\":73}],99:[function(_dereq_,module,exports){\narguments[4][29][0].apply(exports,arguments)\n},{\"143\":143,\"29\":29,\"38\":38,\"58\":58,\"74\":74}],100:[function(_dereq_,module,exports){\nvar dP = _dereq_(99);\nvar anObject = _dereq_(38);\nvar getKeys = _dereq_(107);\n\nmodule.exports = _dereq_(58) ? Object.defineProperties : function defineProperties(O, Properties) {\n  anObject(O);\n  var keys = getKeys(Properties);\n  var length = keys.length;\n  var i = 0;\n  var P;\n  while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n  return O;\n};\n\n},{\"107\":107,\"38\":38,\"58\":58,\"99\":99}],101:[function(_dereq_,module,exports){\nvar pIE = _dereq_(108);\nvar createDesc = _dereq_(116);\nvar toIObject = _dereq_(140);\nvar toPrimitive = _dereq_(143);\nvar has = _dereq_(71);\nvar IE8_DOM_DEFINE = _dereq_(74);\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = _dereq_(58) ? gOPD : function getOwnPropertyDescriptor(O, P) {\n  O = toIObject(O);\n  P = toPrimitive(P, true);\n  if (IE8_DOM_DEFINE) try {\n    return gOPD(O, P);\n  } catch (e) { /* empty */ }\n  if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n\n},{\"108\":108,\"116\":116,\"140\":140,\"143\":143,\"58\":58,\"71\":71,\"74\":74}],102:[function(_dereq_,module,exports){\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = _dereq_(140);\nvar gOPN = _dereq_(103).f;\nvar toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n  ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n  try {\n    return gOPN(it);\n  } catch (e) {\n    return windowNames.slice();\n  }\n};\n\nmodule.exports.f = function getOwnPropertyNames(it) {\n  return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n};\n\n},{\"103\":103,\"140\":140}],103:[function(_dereq_,module,exports){\n// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = _dereq_(106);\nvar hiddenKeys = _dereq_(60).concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n  return $keys(O, hiddenKeys);\n};\n\n},{\"106\":106,\"60\":60}],104:[function(_dereq_,module,exports){\nexports.f = Object.getOwnPropertySymbols;\n\n},{}],105:[function(_dereq_,module,exports){\n// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = _dereq_(71);\nvar toObject = _dereq_(142);\nvar IE_PROTO = _dereq_(125)('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n  O = toObject(O);\n  if (has(O, IE_PROTO)) return O[IE_PROTO];\n  if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n    return O.constructor.prototype;\n  } return O instanceof Object ? ObjectProto : null;\n};\n\n},{\"125\":125,\"142\":142,\"71\":71}],106:[function(_dereq_,module,exports){\nvar has = _dereq_(71);\nvar toIObject = _dereq_(140);\nvar arrayIndexOf = _dereq_(41)(false);\nvar IE_PROTO = _dereq_(125)('IE_PROTO');\n\nmodule.exports = function (object, names) {\n  var O = toIObject(object);\n  var i = 0;\n  var result = [];\n  var key;\n  for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n  // Don't enum bug & hidden keys\n  while (names.length > i) if (has(O, key = names[i++])) {\n    ~arrayIndexOf(result, key) || result.push(key);\n  }\n  return result;\n};\n\n},{\"125\":125,\"140\":140,\"41\":41,\"71\":71}],107:[function(_dereq_,module,exports){\n// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = _dereq_(106);\nvar enumBugKeys = _dereq_(60);\n\nmodule.exports = Object.keys || function keys(O) {\n  return $keys(O, enumBugKeys);\n};\n\n},{\"106\":106,\"60\":60}],108:[function(_dereq_,module,exports){\nexports.f = {}.propertyIsEnumerable;\n\n},{}],109:[function(_dereq_,module,exports){\n// most Object methods by ES6 should accept primitives\nvar $export = _dereq_(62);\nvar core = _dereq_(52);\nvar fails = _dereq_(64);\nmodule.exports = function (KEY, exec) {\n  var fn = (core.Object || {})[KEY] || Object[KEY];\n  var exp = {};\n  exp[KEY] = exec(fn);\n  $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);\n};\n\n},{\"52\":52,\"62\":62,\"64\":64}],110:[function(_dereq_,module,exports){\nvar getKeys = _dereq_(107);\nvar toIObject = _dereq_(140);\nvar isEnum = _dereq_(108).f;\nmodule.exports = function (isEntries) {\n  return function (it) {\n    var O = toIObject(it);\n    var keys = getKeys(O);\n    var length = keys.length;\n    var i = 0;\n    var result = [];\n    var key;\n    while (length > i) if (isEnum.call(O, key = keys[i++])) {\n      result.push(isEntries ? [key, O[key]] : O[key]);\n    } return result;\n  };\n};\n\n},{\"107\":107,\"108\":108,\"140\":140}],111:[function(_dereq_,module,exports){\n// all object keys, includes non-enumerable and symbols\nvar gOPN = _dereq_(103);\nvar gOPS = _dereq_(104);\nvar anObject = _dereq_(38);\nvar Reflect = _dereq_(70).Reflect;\nmodule.exports = Reflect && Reflect.ownKeys || function ownKeys(it) {\n  var keys = gOPN.f(anObject(it));\n  var getSymbols = gOPS.f;\n  return getSymbols ? keys.concat(getSymbols(it)) : keys;\n};\n\n},{\"103\":103,\"104\":104,\"38\":38,\"70\":70}],112:[function(_dereq_,module,exports){\nvar $parseFloat = _dereq_(70).parseFloat;\nvar $trim = _dereq_(134).trim;\n\nmodule.exports = 1 / $parseFloat(_dereq_(135) + '-0') !== -Infinity ? function parseFloat(str) {\n  var string = $trim(String(str), 3);\n  var result = $parseFloat(string);\n  return result === 0 && string.charAt(0) == '-' ? -0 : result;\n} : $parseFloat;\n\n},{\"134\":134,\"135\":135,\"70\":70}],113:[function(_dereq_,module,exports){\nvar $parseInt = _dereq_(70).parseInt;\nvar $trim = _dereq_(134).trim;\nvar ws = _dereq_(135);\nvar hex = /^[-+]?0[xX]/;\n\nmodule.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) {\n  var string = $trim(String(str), 3);\n  return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10));\n} : $parseInt;\n\n},{\"134\":134,\"135\":135,\"70\":70}],114:[function(_dereq_,module,exports){\nmodule.exports = function (exec) {\n  try {\n    return { e: false, v: exec() };\n  } catch (e) {\n    return { e: true, v: e };\n  }\n};\n\n},{}],115:[function(_dereq_,module,exports){\nvar anObject = _dereq_(38);\nvar isObject = _dereq_(81);\nvar newPromiseCapability = _dereq_(96);\n\nmodule.exports = function (C, x) {\n  anObject(C);\n  if (isObject(x) && x.constructor === C) return x;\n  var promiseCapability = newPromiseCapability.f(C);\n  var resolve = promiseCapability.resolve;\n  resolve(x);\n  return promiseCapability.promise;\n};\n\n},{\"38\":38,\"81\":81,\"96\":96}],116:[function(_dereq_,module,exports){\narguments[4][30][0].apply(exports,arguments)\n},{\"30\":30}],117:[function(_dereq_,module,exports){\nvar redefine = _dereq_(118);\nmodule.exports = function (target, src, safe) {\n  for (var key in src) redefine(target, key, src[key], safe);\n  return target;\n};\n\n},{\"118\":118}],118:[function(_dereq_,module,exports){\nvar global = _dereq_(70);\nvar hide = _dereq_(72);\nvar has = _dereq_(71);\nvar SRC = _dereq_(147)('src');\nvar $toString = _dereq_(69);\nvar TO_STRING = 'toString';\nvar TPL = ('' + $toString).split(TO_STRING);\n\n_dereq_(52).inspectSource = function (it) {\n  return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n  var isFunction = typeof val == 'function';\n  if (isFunction) has(val, 'name') || hide(val, 'name', key);\n  if (O[key] === val) return;\n  if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n  if (O === global) {\n    O[key] = val;\n  } else if (!safe) {\n    delete O[key];\n    hide(O, key, val);\n  } else if (O[key]) {\n    O[key] = val;\n  } else {\n    hide(O, key, val);\n  }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n  return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n\n},{\"147\":147,\"52\":52,\"69\":69,\"70\":70,\"71\":71,\"72\":72}],119:[function(_dereq_,module,exports){\n'use strict';\n\nvar classof = _dereq_(47);\nvar builtinExec = RegExp.prototype.exec;\n\n // `RegExpExec` abstract operation\n// https://tc39.github.io/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n  var exec = R.exec;\n  if (typeof exec === 'function') {\n    var result = exec.call(R, S);\n    if (typeof result !== 'object') {\n      throw new TypeError('RegExp exec method returned something other than an Object or null');\n    }\n    return result;\n  }\n  if (classof(R) !== 'RegExp') {\n    throw new TypeError('RegExp#exec called on incompatible receiver');\n  }\n  return builtinExec.call(R, S);\n};\n\n},{\"47\":47}],120:[function(_dereq_,module,exports){\n'use strict';\n\nvar regexpFlags = _dereq_(66);\n\nvar nativeExec = RegExp.prototype.exec;\n// This always refers to the native implementation, because the\n// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,\n// which loads this file before patching the method.\nvar nativeReplace = String.prototype.replace;\n\nvar patchedExec = nativeExec;\n\nvar LAST_INDEX = 'lastIndex';\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n  var re1 = /a/,\n      re2 = /b*/g;\n  nativeExec.call(re1, 'a');\n  nativeExec.call(re2, 'a');\n  return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0;\n})();\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED;\n\nif (PATCH) {\n  patchedExec = function exec(str) {\n    var re = this;\n    var lastIndex, reCopy, match, i;\n\n    if (NPCG_INCLUDED) {\n      reCopy = new RegExp('^' + re.source + '$(?!\\\\s)', regexpFlags.call(re));\n    }\n    if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX];\n\n    match = nativeExec.call(re, str);\n\n    if (UPDATES_LAST_INDEX_WRONG && match) {\n      re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex;\n    }\n    if (NPCG_INCLUDED && match && match.length > 1) {\n      // Fix browsers whose `exec` methods don't consistently return `undefined`\n      // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/\n      // eslint-disable-next-line no-loop-func\n      nativeReplace.call(match[0], reCopy, function () {\n        for (i = 1; i < arguments.length - 2; i++) {\n          if (arguments[i] === undefined) match[i] = undefined;\n        }\n      });\n    }\n\n    return match;\n  };\n}\n\nmodule.exports = patchedExec;\n\n},{\"66\":66}],121:[function(_dereq_,module,exports){\n// 7.2.9 SameValue(x, y)\nmodule.exports = Object.is || function is(x, y) {\n  // eslint-disable-next-line no-self-compare\n  return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n};\n\n},{}],122:[function(_dereq_,module,exports){\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = _dereq_(81);\nvar anObject = _dereq_(38);\nvar check = function (O, proto) {\n  anObject(O);\n  if (!isObject(proto) && proto !== null) throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n  set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n    function (test, buggy, set) {\n      try {\n        set = _dereq_(54)(Function.call, _dereq_(101).f(Object.prototype, '__proto__').set, 2);\n        set(test, []);\n        buggy = !(test instanceof Array);\n      } catch (e) { buggy = true; }\n      return function setPrototypeOf(O, proto) {\n        check(O, proto);\n        if (buggy) O.__proto__ = proto;\n        else set(O, proto);\n        return O;\n      };\n    }({}, false) : undefined),\n  check: check\n};\n\n},{\"101\":101,\"38\":38,\"54\":54,\"81\":81}],123:[function(_dereq_,module,exports){\n'use strict';\nvar global = _dereq_(70);\nvar dP = _dereq_(99);\nvar DESCRIPTORS = _dereq_(58);\nvar SPECIES = _dereq_(152)('species');\n\nmodule.exports = function (KEY) {\n  var C = global[KEY];\n  if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {\n    configurable: true,\n    get: function () { return this; }\n  });\n};\n\n},{\"152\":152,\"58\":58,\"70\":70,\"99\":99}],124:[function(_dereq_,module,exports){\nvar def = _dereq_(99).f;\nvar has = _dereq_(71);\nvar TAG = _dereq_(152)('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n  if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n\n},{\"152\":152,\"71\":71,\"99\":99}],125:[function(_dereq_,module,exports){\nvar shared = _dereq_(126)('keys');\nvar uid = _dereq_(147);\nmodule.exports = function (key) {\n  return shared[key] || (shared[key] = uid(key));\n};\n\n},{\"126\":126,\"147\":147}],126:[function(_dereq_,module,exports){\nvar core = _dereq_(52);\nvar global = _dereq_(70);\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n  return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n  version: core.version,\n  mode: _dereq_(89) ? 'pure' : 'global',\n  copyright: '© 2019 Denis Pushkarev (zloirock.ru)'\n});\n\n},{\"52\":52,\"70\":70,\"89\":89}],127:[function(_dereq_,module,exports){\n// 7.3.20 SpeciesConstructor(O, defaultConstructor)\nvar anObject = _dereq_(38);\nvar aFunction = _dereq_(33);\nvar SPECIES = _dereq_(152)('species');\nmodule.exports = function (O, D) {\n  var C = anObject(O).constructor;\n  var S;\n  return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);\n};\n\n},{\"152\":152,\"33\":33,\"38\":38}],128:[function(_dereq_,module,exports){\n'use strict';\nvar fails = _dereq_(64);\n\nmodule.exports = function (method, arg) {\n  return !!method && fails(function () {\n    // eslint-disable-next-line no-useless-call\n    arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null);\n  });\n};\n\n},{\"64\":64}],129:[function(_dereq_,module,exports){\nvar toInteger = _dereq_(139);\nvar defined = _dereq_(57);\n// true  -> String#at\n// false -> String#codePointAt\nmodule.exports = function (TO_STRING) {\n  return function (that, pos) {\n    var s = String(defined(that));\n    var i = toInteger(pos);\n    var l = s.length;\n    var a, b;\n    if (i < 0 || i >= l) return TO_STRING ? '' : undefined;\n    a = s.charCodeAt(i);\n    return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n      ? TO_STRING ? s.charAt(i) : a\n      : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n  };\n};\n\n},{\"139\":139,\"57\":57}],130:[function(_dereq_,module,exports){\n// helper for String#{startsWith, endsWith, includes}\nvar isRegExp = _dereq_(82);\nvar defined = _dereq_(57);\n\nmodule.exports = function (that, searchString, NAME) {\n  if (isRegExp(searchString)) throw TypeError('String#' + NAME + \" doesn't accept regex!\");\n  return String(defined(that));\n};\n\n},{\"57\":57,\"82\":82}],131:[function(_dereq_,module,exports){\nvar $export = _dereq_(62);\nvar fails = _dereq_(64);\nvar defined = _dereq_(57);\nvar quot = /\"/g;\n// B.2.3.2.1 CreateHTML(string, tag, attribute, value)\nvar createHTML = function (string, tag, attribute, value) {\n  var S = String(defined(string));\n  var p1 = '<' + tag;\n  if (attribute !== '') p1 += ' ' + attribute + '=\"' + String(value).replace(quot, '&quot;') + '\"';\n  return p1 + '>' + S + '</' + tag + '>';\n};\nmodule.exports = function (NAME, exec) {\n  var O = {};\n  O[NAME] = exec(createHTML);\n  $export($export.P + $export.F * fails(function () {\n    var test = ''[NAME]('\"');\n    return test !== test.toLowerCase() || test.split('\"').length > 3;\n  }), 'String', O);\n};\n\n},{\"57\":57,\"62\":62,\"64\":64}],132:[function(_dereq_,module,exports){\n// https://github.com/tc39/proposal-string-pad-start-end\nvar toLength = _dereq_(141);\nvar repeat = _dereq_(133);\nvar defined = _dereq_(57);\n\nmodule.exports = function (that, maxLength, fillString, left) {\n  var S = String(defined(that));\n  var stringLength = S.length;\n  var fillStr = fillString === undefined ? ' ' : String(fillString);\n  var intMaxLength = toLength(maxLength);\n  if (intMaxLength <= stringLength || fillStr == '') return S;\n  var fillLen = intMaxLength - stringLength;\n  var stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length));\n  if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen);\n  return left ? stringFiller + S : S + stringFiller;\n};\n\n},{\"133\":133,\"141\":141,\"57\":57}],133:[function(_dereq_,module,exports){\n'use strict';\nvar toInteger = _dereq_(139);\nvar defined = _dereq_(57);\n\nmodule.exports = function repeat(count) {\n  var str = String(defined(this));\n  var res = '';\n  var n = toInteger(count);\n  if (n < 0 || n == Infinity) throw RangeError(\"Count can't be negative\");\n  for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) res += str;\n  return res;\n};\n\n},{\"139\":139,\"57\":57}],134:[function(_dereq_,module,exports){\nvar $export = _dereq_(62);\nvar defined = _dereq_(57);\nvar fails = _dereq_(64);\nvar spaces = _dereq_(135);\nvar space = '[' + spaces + ']';\nvar non = '\\u200b\\u0085';\nvar ltrim = RegExp('^' + space + space + '*');\nvar rtrim = RegExp(space + space + '*$');\n\nvar exporter = function (KEY, exec, ALIAS) {\n  var exp = {};\n  var FORCE = fails(function () {\n    return !!spaces[KEY]() || non[KEY]() != non;\n  });\n  var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];\n  if (ALIAS) exp[ALIAS] = fn;\n  $export($export.P + $export.F * FORCE, 'String', exp);\n};\n\n// 1 -> String#trimLeft\n// 2 -> String#trimRight\n// 3 -> String#trim\nvar trim = exporter.trim = function (string, TYPE) {\n  string = String(defined(string));\n  if (TYPE & 1) string = string.replace(ltrim, '');\n  if (TYPE & 2) string = string.replace(rtrim, '');\n  return string;\n};\n\nmodule.exports = exporter;\n\n},{\"135\":135,\"57\":57,\"62\":62,\"64\":64}],135:[function(_dereq_,module,exports){\nmodule.exports = '\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003' +\n  '\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n\n},{}],136:[function(_dereq_,module,exports){\nvar ctx = _dereq_(54);\nvar invoke = _dereq_(76);\nvar html = _dereq_(73);\nvar cel = _dereq_(59);\nvar global = _dereq_(70);\nvar process = global.process;\nvar setTask = global.setImmediate;\nvar clearTask = global.clearImmediate;\nvar MessageChannel = global.MessageChannel;\nvar Dispatch = global.Dispatch;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar defer, channel, port;\nvar run = function () {\n  var id = +this;\n  // eslint-disable-next-line no-prototype-builtins\n  if (queue.hasOwnProperty(id)) {\n    var fn = queue[id];\n    delete queue[id];\n    fn();\n  }\n};\nvar listener = function (event) {\n  run.call(event.data);\n};\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!setTask || !clearTask) {\n  setTask = function setImmediate(fn) {\n    var args = [];\n    var i = 1;\n    while (arguments.length > i) args.push(arguments[i++]);\n    queue[++counter] = function () {\n      // eslint-disable-next-line no-new-func\n      invoke(typeof fn == 'function' ? fn : Function(fn), args);\n    };\n    defer(counter);\n    return counter;\n  };\n  clearTask = function clearImmediate(id) {\n    delete queue[id];\n  };\n  // Node.js 0.8-\n  if (_dereq_(48)(process) == 'process') {\n    defer = function (id) {\n      process.nextTick(ctx(run, id, 1));\n    };\n  // Sphere (JS game engine) Dispatch API\n  } else if (Dispatch && Dispatch.now) {\n    defer = function (id) {\n      Dispatch.now(ctx(run, id, 1));\n    };\n  // Browsers with MessageChannel, includes WebWorkers\n  } else if (MessageChannel) {\n    channel = new MessageChannel();\n    port = channel.port2;\n    channel.port1.onmessage = listener;\n    defer = ctx(port.postMessage, port, 1);\n  // Browsers with postMessage, skip WebWorkers\n  // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n  } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) {\n    defer = function (id) {\n      global.postMessage(id + '', '*');\n    };\n    global.addEventListener('message', listener, false);\n  // IE8-\n  } else if (ONREADYSTATECHANGE in cel('script')) {\n    defer = function (id) {\n      html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () {\n        html.removeChild(this);\n        run.call(id);\n      };\n    };\n  // Rest old browsers\n  } else {\n    defer = function (id) {\n      setTimeout(ctx(run, id, 1), 0);\n    };\n  }\n}\nmodule.exports = {\n  set: setTask,\n  clear: clearTask\n};\n\n},{\"48\":48,\"54\":54,\"59\":59,\"70\":70,\"73\":73,\"76\":76}],137:[function(_dereq_,module,exports){\nvar toInteger = _dereq_(139);\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n  index = toInteger(index);\n  return index < 0 ? max(index + length, 0) : min(index, length);\n};\n\n},{\"139\":139}],138:[function(_dereq_,module,exports){\n// https://tc39.github.io/ecma262/#sec-toindex\nvar toInteger = _dereq_(139);\nvar toLength = _dereq_(141);\nmodule.exports = function (it) {\n  if (it === undefined) return 0;\n  var number = toInteger(it);\n  var length = toLength(number);\n  if (number !== length) throw RangeError('Wrong length!');\n  return length;\n};\n\n},{\"139\":139,\"141\":141}],139:[function(_dereq_,module,exports){\n// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n  return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n\n},{}],140:[function(_dereq_,module,exports){\n// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = _dereq_(77);\nvar defined = _dereq_(57);\nmodule.exports = function (it) {\n  return IObject(defined(it));\n};\n\n},{\"57\":57,\"77\":77}],141:[function(_dereq_,module,exports){\n// 7.1.15 ToLength\nvar toInteger = _dereq_(139);\nvar min = Math.min;\nmodule.exports = function (it) {\n  return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n\n},{\"139\":139}],142:[function(_dereq_,module,exports){\n// 7.1.13 ToObject(argument)\nvar defined = _dereq_(57);\nmodule.exports = function (it) {\n  return Object(defined(it));\n};\n\n},{\"57\":57}],143:[function(_dereq_,module,exports){\narguments[4][31][0].apply(exports,arguments)\n},{\"31\":31,\"81\":81}],144:[function(_dereq_,module,exports){\n'use strict';\nif (_dereq_(58)) {\n  var LIBRARY = _dereq_(89);\n  var global = _dereq_(70);\n  var fails = _dereq_(64);\n  var $export = _dereq_(62);\n  var $typed = _dereq_(146);\n  var $buffer = _dereq_(145);\n  var ctx = _dereq_(54);\n  var anInstance = _dereq_(37);\n  var propertyDesc = _dereq_(116);\n  var hide = _dereq_(72);\n  var redefineAll = _dereq_(117);\n  var toInteger = _dereq_(139);\n  var toLength = _dereq_(141);\n  var toIndex = _dereq_(138);\n  var toAbsoluteIndex = _dereq_(137);\n  var toPrimitive = _dereq_(143);\n  var has = _dereq_(71);\n  var classof = _dereq_(47);\n  var isObject = _dereq_(81);\n  var toObject = _dereq_(142);\n  var isArrayIter = _dereq_(78);\n  var create = _dereq_(98);\n  var getPrototypeOf = _dereq_(105);\n  var gOPN = _dereq_(103).f;\n  var getIterFn = _dereq_(153);\n  var uid = _dereq_(147);\n  var wks = _dereq_(152);\n  var createArrayMethod = _dereq_(42);\n  var createArrayIncludes = _dereq_(41);\n  var speciesConstructor = _dereq_(127);\n  var ArrayIterators = _dereq_(164);\n  var Iterators = _dereq_(88);\n  var $iterDetect = _dereq_(86);\n  var setSpecies = _dereq_(123);\n  var arrayFill = _dereq_(40);\n  var arrayCopyWithin = _dereq_(39);\n  var $DP = _dereq_(99);\n  var $GOPD = _dereq_(101);\n  var dP = $DP.f;\n  var gOPD = $GOPD.f;\n  var RangeError = global.RangeError;\n  var TypeError = global.TypeError;\n  var Uint8Array = global.Uint8Array;\n  var ARRAY_BUFFER = 'ArrayBuffer';\n  var SHARED_BUFFER = 'Shared' + ARRAY_BUFFER;\n  var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT';\n  var PROTOTYPE = 'prototype';\n  var ArrayProto = Array[PROTOTYPE];\n  var $ArrayBuffer = $buffer.ArrayBuffer;\n  var $DataView = $buffer.DataView;\n  var arrayForEach = createArrayMethod(0);\n  var arrayFilter = createArrayMethod(2);\n  var arraySome = createArrayMethod(3);\n  var arrayEvery = createArrayMethod(4);\n  var arrayFind = createArrayMethod(5);\n  var arrayFindIndex = createArrayMethod(6);\n  var arrayIncludes = createArrayIncludes(true);\n  var arrayIndexOf = createArrayIncludes(false);\n  var arrayValues = ArrayIterators.values;\n  var arrayKeys = ArrayIterators.keys;\n  var arrayEntries = ArrayIterators.entries;\n  var arrayLastIndexOf = ArrayProto.lastIndexOf;\n  var arrayReduce = ArrayProto.reduce;\n  var arrayReduceRight = ArrayProto.reduceRight;\n  var arrayJoin = ArrayProto.join;\n  var arraySort = ArrayProto.sort;\n  var arraySlice = ArrayProto.slice;\n  var arrayToString = ArrayProto.toString;\n  var arrayToLocaleString = ArrayProto.toLocaleString;\n  var ITERATOR = wks('iterator');\n  var TAG = wks('toStringTag');\n  var TYPED_CONSTRUCTOR = uid('typed_constructor');\n  var DEF_CONSTRUCTOR = uid('def_constructor');\n  var ALL_CONSTRUCTORS = $typed.CONSTR;\n  var TYPED_ARRAY = $typed.TYPED;\n  var VIEW = $typed.VIEW;\n  var WRONG_LENGTH = 'Wrong length!';\n\n  var $map = createArrayMethod(1, function (O, length) {\n    return allocate(speciesConstructor(O, O[DEF_CONSTRUCTOR]), length);\n  });\n\n  var LITTLE_ENDIAN = fails(function () {\n    // eslint-disable-next-line no-undef\n    return new Uint8Array(new Uint16Array([1]).buffer)[0] === 1;\n  });\n\n  var FORCED_SET = !!Uint8Array && !!Uint8Array[PROTOTYPE].set && fails(function () {\n    new Uint8Array(1).set({});\n  });\n\n  var toOffset = function (it, BYTES) {\n    var offset = toInteger(it);\n    if (offset < 0 || offset % BYTES) throw RangeError('Wrong offset!');\n    return offset;\n  };\n\n  var validate = function (it) {\n    if (isObject(it) && TYPED_ARRAY in it) return it;\n    throw TypeError(it + ' is not a typed array!');\n  };\n\n  var allocate = function (C, length) {\n    if (!(isObject(C) && TYPED_CONSTRUCTOR in C)) {\n      throw TypeError('It is not a typed array constructor!');\n    } return new C(length);\n  };\n\n  var speciesFromList = function (O, list) {\n    return fromList(speciesConstructor(O, O[DEF_CONSTRUCTOR]), list);\n  };\n\n  var fromList = function (C, list) {\n    var index = 0;\n    var length = list.length;\n    var result = allocate(C, length);\n    while (length > index) result[index] = list[index++];\n    return result;\n  };\n\n  var addGetter = function (it, key, internal) {\n    dP(it, key, { get: function () { return this._d[internal]; } });\n  };\n\n  var $from = function from(source /* , mapfn, thisArg */) {\n    var O = toObject(source);\n    var aLen = arguments.length;\n    var mapfn = aLen > 1 ? arguments[1] : undefined;\n    var mapping = mapfn !== undefined;\n    var iterFn = getIterFn(O);\n    var i, length, values, result, step, iterator;\n    if (iterFn != undefined && !isArrayIter(iterFn)) {\n      for (iterator = iterFn.call(O), values = [], i = 0; !(step = iterator.next()).done; i++) {\n        values.push(step.value);\n      } O = values;\n    }\n    if (mapping && aLen > 2) mapfn = ctx(mapfn, arguments[2], 2);\n    for (i = 0, length = toLength(O.length), result = allocate(this, length); length > i; i++) {\n      result[i] = mapping ? mapfn(O[i], i) : O[i];\n    }\n    return result;\n  };\n\n  var $of = function of(/* ...items */) {\n    var index = 0;\n    var length = arguments.length;\n    var result = allocate(this, length);\n    while (length > index) result[index] = arguments[index++];\n    return result;\n  };\n\n  // iOS Safari 6.x fails here\n  var TO_LOCALE_BUG = !!Uint8Array && fails(function () { arrayToLocaleString.call(new Uint8Array(1)); });\n\n  var $toLocaleString = function toLocaleString() {\n    return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(validate(this)) : validate(this), arguments);\n  };\n\n  var proto = {\n    copyWithin: function copyWithin(target, start /* , end */) {\n      return arrayCopyWithin.call(validate(this), target, start, arguments.length > 2 ? arguments[2] : undefined);\n    },\n    every: function every(callbackfn /* , thisArg */) {\n      return arrayEvery(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n    },\n    fill: function fill(value /* , start, end */) { // eslint-disable-line no-unused-vars\n      return arrayFill.apply(validate(this), arguments);\n    },\n    filter: function filter(callbackfn /* , thisArg */) {\n      return speciesFromList(this, arrayFilter(validate(this), callbackfn,\n        arguments.length > 1 ? arguments[1] : undefined));\n    },\n    find: function find(predicate /* , thisArg */) {\n      return arrayFind(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n    },\n    findIndex: function findIndex(predicate /* , thisArg */) {\n      return arrayFindIndex(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n    },\n    forEach: function forEach(callbackfn /* , thisArg */) {\n      arrayForEach(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n    },\n    indexOf: function indexOf(searchElement /* , fromIndex */) {\n      return arrayIndexOf(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n    },\n    includes: function includes(searchElement /* , fromIndex */) {\n      return arrayIncludes(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n    },\n    join: function join(separator) { // eslint-disable-line no-unused-vars\n      return arrayJoin.apply(validate(this), arguments);\n    },\n    lastIndexOf: function lastIndexOf(searchElement /* , fromIndex */) { // eslint-disable-line no-unused-vars\n      return arrayLastIndexOf.apply(validate(this), arguments);\n    },\n    map: function map(mapfn /* , thisArg */) {\n      return $map(validate(this), mapfn, arguments.length > 1 ? arguments[1] : undefined);\n    },\n    reduce: function reduce(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars\n      return arrayReduce.apply(validate(this), arguments);\n    },\n    reduceRight: function reduceRight(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars\n      return arrayReduceRight.apply(validate(this), arguments);\n    },\n    reverse: function reverse() {\n      var that = this;\n      var length = validate(that).length;\n      var middle = Math.floor(length / 2);\n      var index = 0;\n      var value;\n      while (index < middle) {\n        value = that[index];\n        that[index++] = that[--length];\n        that[length] = value;\n      } return that;\n    },\n    some: function some(callbackfn /* , thisArg */) {\n      return arraySome(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n    },\n    sort: function sort(comparefn) {\n      return arraySort.call(validate(this), comparefn);\n    },\n    subarray: function subarray(begin, end) {\n      var O = validate(this);\n      var length = O.length;\n      var $begin = toAbsoluteIndex(begin, length);\n      return new (speciesConstructor(O, O[DEF_CONSTRUCTOR]))(\n        O.buffer,\n        O.byteOffset + $begin * O.BYTES_PER_ELEMENT,\n        toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - $begin)\n      );\n    }\n  };\n\n  var $slice = function slice(start, end) {\n    return speciesFromList(this, arraySlice.call(validate(this), start, end));\n  };\n\n  var $set = function set(arrayLike /* , offset */) {\n    validate(this);\n    var offset = toOffset(arguments[1], 1);\n    var length = this.length;\n    var src = toObject(arrayLike);\n    var len = toLength(src.length);\n    var index = 0;\n    if (len + offset > length) throw RangeError(WRONG_LENGTH);\n    while (index < len) this[offset + index] = src[index++];\n  };\n\n  var $iterators = {\n    entries: function entries() {\n      return arrayEntries.call(validate(this));\n    },\n    keys: function keys() {\n      return arrayKeys.call(validate(this));\n    },\n    values: function values() {\n      return arrayValues.call(validate(this));\n    }\n  };\n\n  var isTAIndex = function (target, key) {\n    return isObject(target)\n      && target[TYPED_ARRAY]\n      && typeof key != 'symbol'\n      && key in target\n      && String(+key) == String(key);\n  };\n  var $getDesc = function getOwnPropertyDescriptor(target, key) {\n    return isTAIndex(target, key = toPrimitive(key, true))\n      ? propertyDesc(2, target[key])\n      : gOPD(target, key);\n  };\n  var $setDesc = function defineProperty(target, key, desc) {\n    if (isTAIndex(target, key = toPrimitive(key, true))\n      && isObject(desc)\n      && has(desc, 'value')\n      && !has(desc, 'get')\n      && !has(desc, 'set')\n      // TODO: add validation descriptor w/o calling accessors\n      && !desc.configurable\n      && (!has(desc, 'writable') || desc.writable)\n      && (!has(desc, 'enumerable') || desc.enumerable)\n    ) {\n      target[key] = desc.value;\n      return target;\n    } return dP(target, key, desc);\n  };\n\n  if (!ALL_CONSTRUCTORS) {\n    $GOPD.f = $getDesc;\n    $DP.f = $setDesc;\n  }\n\n  $export($export.S + $export.F * !ALL_CONSTRUCTORS, 'Object', {\n    getOwnPropertyDescriptor: $getDesc,\n    defineProperty: $setDesc\n  });\n\n  if (fails(function () { arrayToString.call({}); })) {\n    arrayToString = arrayToLocaleString = function toString() {\n      return arrayJoin.call(this);\n    };\n  }\n\n  var $TypedArrayPrototype$ = redefineAll({}, proto);\n  redefineAll($TypedArrayPrototype$, $iterators);\n  hide($TypedArrayPrototype$, ITERATOR, $iterators.values);\n  redefineAll($TypedArrayPrototype$, {\n    slice: $slice,\n    set: $set,\n    constructor: function () { /* noop */ },\n    toString: arrayToString,\n    toLocaleString: $toLocaleString\n  });\n  addGetter($TypedArrayPrototype$, 'buffer', 'b');\n  addGetter($TypedArrayPrototype$, 'byteOffset', 'o');\n  addGetter($TypedArrayPrototype$, 'byteLength', 'l');\n  addGetter($TypedArrayPrototype$, 'length', 'e');\n  dP($TypedArrayPrototype$, TAG, {\n    get: function () { return this[TYPED_ARRAY]; }\n  });\n\n  // eslint-disable-next-line max-statements\n  module.exports = function (KEY, BYTES, wrapper, CLAMPED) {\n    CLAMPED = !!CLAMPED;\n    var NAME = KEY + (CLAMPED ? 'Clamped' : '') + 'Array';\n    var GETTER = 'get' + KEY;\n    var SETTER = 'set' + KEY;\n    var TypedArray = global[NAME];\n    var Base = TypedArray || {};\n    var TAC = TypedArray && getPrototypeOf(TypedArray);\n    var FORCED = !TypedArray || !$typed.ABV;\n    var O = {};\n    var TypedArrayPrototype = TypedArray && TypedArray[PROTOTYPE];\n    var getter = function (that, index) {\n      var data = that._d;\n      return data.v[GETTER](index * BYTES + data.o, LITTLE_ENDIAN);\n    };\n    var setter = function (that, index, value) {\n      var data = that._d;\n      if (CLAMPED) value = (value = Math.round(value)) < 0 ? 0 : value > 0xff ? 0xff : value & 0xff;\n      data.v[SETTER](index * BYTES + data.o, value, LITTLE_ENDIAN);\n    };\n    var addElement = function (that, index) {\n      dP(that, index, {\n        get: function () {\n          return getter(this, index);\n        },\n        set: function (value) {\n          return setter(this, index, value);\n        },\n        enumerable: true\n      });\n    };\n    if (FORCED) {\n      TypedArray = wrapper(function (that, data, $offset, $length) {\n        anInstance(that, TypedArray, NAME, '_d');\n        var index = 0;\n        var offset = 0;\n        var buffer, byteLength, length, klass;\n        if (!isObject(data)) {\n          length = toIndex(data);\n          byteLength = length * BYTES;\n          buffer = new $ArrayBuffer(byteLength);\n        } else if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) {\n          buffer = data;\n          offset = toOffset($offset, BYTES);\n          var $len = data.byteLength;\n          if ($length === undefined) {\n            if ($len % BYTES) throw RangeError(WRONG_LENGTH);\n            byteLength = $len - offset;\n            if (byteLength < 0) throw RangeError(WRONG_LENGTH);\n          } else {\n            byteLength = toLength($length) * BYTES;\n            if (byteLength + offset > $len) throw RangeError(WRONG_LENGTH);\n          }\n          length = byteLength / BYTES;\n        } else if (TYPED_ARRAY in data) {\n          return fromList(TypedArray, data);\n        } else {\n          return $from.call(TypedArray, data);\n        }\n        hide(that, '_d', {\n          b: buffer,\n          o: offset,\n          l: byteLength,\n          e: length,\n          v: new $DataView(buffer)\n        });\n        while (index < length) addElement(that, index++);\n      });\n      TypedArrayPrototype = TypedArray[PROTOTYPE] = create($TypedArrayPrototype$);\n      hide(TypedArrayPrototype, 'constructor', TypedArray);\n    } else if (!fails(function () {\n      TypedArray(1);\n    }) || !fails(function () {\n      new TypedArray(-1); // eslint-disable-line no-new\n    }) || !$iterDetect(function (iter) {\n      new TypedArray(); // eslint-disable-line no-new\n      new TypedArray(null); // eslint-disable-line no-new\n      new TypedArray(1.5); // eslint-disable-line no-new\n      new TypedArray(iter); // eslint-disable-line no-new\n    }, true)) {\n      TypedArray = wrapper(function (that, data, $offset, $length) {\n        anInstance(that, TypedArray, NAME);\n        var klass;\n        // `ws` module bug, temporarily remove validation length for Uint8Array\n        // https://github.com/websockets/ws/pull/645\n        if (!isObject(data)) return new Base(toIndex(data));\n        if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) {\n          return $length !== undefined\n            ? new Base(data, toOffset($offset, BYTES), $length)\n            : $offset !== undefined\n              ? new Base(data, toOffset($offset, BYTES))\n              : new Base(data);\n        }\n        if (TYPED_ARRAY in data) return fromList(TypedArray, data);\n        return $from.call(TypedArray, data);\n      });\n      arrayForEach(TAC !== Function.prototype ? gOPN(Base).concat(gOPN(TAC)) : gOPN(Base), function (key) {\n        if (!(key in TypedArray)) hide(TypedArray, key, Base[key]);\n      });\n      TypedArray[PROTOTYPE] = TypedArrayPrototype;\n      if (!LIBRARY) TypedArrayPrototype.constructor = TypedArray;\n    }\n    var $nativeIterator = TypedArrayPrototype[ITERATOR];\n    var CORRECT_ITER_NAME = !!$nativeIterator\n      && ($nativeIterator.name == 'values' || $nativeIterator.name == undefined);\n    var $iterator = $iterators.values;\n    hide(TypedArray, TYPED_CONSTRUCTOR, true);\n    hide(TypedArrayPrototype, TYPED_ARRAY, NAME);\n    hide(TypedArrayPrototype, VIEW, true);\n    hide(TypedArrayPrototype, DEF_CONSTRUCTOR, TypedArray);\n\n    if (CLAMPED ? new TypedArray(1)[TAG] != NAME : !(TAG in TypedArrayPrototype)) {\n      dP(TypedArrayPrototype, TAG, {\n        get: function () { return NAME; }\n      });\n    }\n\n    O[NAME] = TypedArray;\n\n    $export($export.G + $export.W + $export.F * (TypedArray != Base), O);\n\n    $export($export.S, NAME, {\n      BYTES_PER_ELEMENT: BYTES\n    });\n\n    $export($export.S + $export.F * fails(function () { Base.of.call(TypedArray, 1); }), NAME, {\n      from: $from,\n      of: $of\n    });\n\n    if (!(BYTES_PER_ELEMENT in TypedArrayPrototype)) hide(TypedArrayPrototype, BYTES_PER_ELEMENT, BYTES);\n\n    $export($export.P, NAME, proto);\n\n    setSpecies(NAME);\n\n    $export($export.P + $export.F * FORCED_SET, NAME, { set: $set });\n\n    $export($export.P + $export.F * !CORRECT_ITER_NAME, NAME, $iterators);\n\n    if (!LIBRARY && TypedArrayPrototype.toString != arrayToString) TypedArrayPrototype.toString = arrayToString;\n\n    $export($export.P + $export.F * fails(function () {\n      new TypedArray(1).slice();\n    }), NAME, { slice: $slice });\n\n    $export($export.P + $export.F * (fails(function () {\n      return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString();\n    }) || !fails(function () {\n      TypedArrayPrototype.toLocaleString.call([1, 2]);\n    })), NAME, { toLocaleString: $toLocaleString });\n\n    Iterators[NAME] = CORRECT_ITER_NAME ? $nativeIterator : $iterator;\n    if (!LIBRARY && !CORRECT_ITER_NAME) hide(TypedArrayPrototype, ITERATOR, $iterator);\n  };\n} else module.exports = function () { /* empty */ };\n\n},{\"101\":101,\"103\":103,\"105\":105,\"116\":116,\"117\":117,\"123\":123,\"127\":127,\"137\":137,\"138\":138,\"139\":139,\"141\":141,\"142\":142,\"143\":143,\"145\":145,\"146\":146,\"147\":147,\"152\":152,\"153\":153,\"164\":164,\"37\":37,\"39\":39,\"40\":40,\"41\":41,\"42\":42,\"47\":47,\"54\":54,\"58\":58,\"62\":62,\"64\":64,\"70\":70,\"71\":71,\"72\":72,\"78\":78,\"81\":81,\"86\":86,\"88\":88,\"89\":89,\"98\":98,\"99\":99}],145:[function(_dereq_,module,exports){\n'use strict';\nvar global = _dereq_(70);\nvar DESCRIPTORS = _dereq_(58);\nvar LIBRARY = _dereq_(89);\nvar $typed = _dereq_(146);\nvar hide = _dereq_(72);\nvar redefineAll = _dereq_(117);\nvar fails = _dereq_(64);\nvar anInstance = _dereq_(37);\nvar toInteger = _dereq_(139);\nvar toLength = _dereq_(141);\nvar toIndex = _dereq_(138);\nvar gOPN = _dereq_(103).f;\nvar dP = _dereq_(99).f;\nvar arrayFill = _dereq_(40);\nvar setToStringTag = _dereq_(124);\nvar ARRAY_BUFFER = 'ArrayBuffer';\nvar DATA_VIEW = 'DataView';\nvar PROTOTYPE = 'prototype';\nvar WRONG_LENGTH = 'Wrong length!';\nvar WRONG_INDEX = 'Wrong index!';\nvar $ArrayBuffer = global[ARRAY_BUFFER];\nvar $DataView = global[DATA_VIEW];\nvar Math = global.Math;\nvar RangeError = global.RangeError;\n// eslint-disable-next-line no-shadow-restricted-names\nvar Infinity = global.Infinity;\nvar BaseBuffer = $ArrayBuffer;\nvar abs = Math.abs;\nvar pow = Math.pow;\nvar floor = Math.floor;\nvar log = Math.log;\nvar LN2 = Math.LN2;\nvar BUFFER = 'buffer';\nvar BYTE_LENGTH = 'byteLength';\nvar BYTE_OFFSET = 'byteOffset';\nvar $BUFFER = DESCRIPTORS ? '_b' : BUFFER;\nvar $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH;\nvar $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET;\n\n// IEEE754 conversions based on https://github.com/feross/ieee754\nfunction packIEEE754(value, mLen, nBytes) {\n  var buffer = new Array(nBytes);\n  var eLen = nBytes * 8 - mLen - 1;\n  var eMax = (1 << eLen) - 1;\n  var eBias = eMax >> 1;\n  var rt = mLen === 23 ? pow(2, -24) - pow(2, -77) : 0;\n  var i = 0;\n  var s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0;\n  var e, m, c;\n  value = abs(value);\n  // eslint-disable-next-line no-self-compare\n  if (value != value || value === Infinity) {\n    // eslint-disable-next-line no-self-compare\n    m = value != value ? 1 : 0;\n    e = eMax;\n  } else {\n    e = floor(log(value) / LN2);\n    if (value * (c = pow(2, -e)) < 1) {\n      e--;\n      c *= 2;\n    }\n    if (e + eBias >= 1) {\n      value += rt / c;\n    } else {\n      value += rt * pow(2, 1 - eBias);\n    }\n    if (value * c >= 2) {\n      e++;\n      c /= 2;\n    }\n    if (e + eBias >= eMax) {\n      m = 0;\n      e = eMax;\n    } else if (e + eBias >= 1) {\n      m = (value * c - 1) * pow(2, mLen);\n      e = e + eBias;\n    } else {\n      m = value * pow(2, eBias - 1) * pow(2, mLen);\n      e = 0;\n    }\n  }\n  for (; mLen >= 8; buffer[i++] = m & 255, m /= 256, mLen -= 8);\n  e = e << mLen | m;\n  eLen += mLen;\n  for (; eLen > 0; buffer[i++] = e & 255, e /= 256, eLen -= 8);\n  buffer[--i] |= s * 128;\n  return buffer;\n}\nfunction unpackIEEE754(buffer, mLen, nBytes) {\n  var eLen = nBytes * 8 - mLen - 1;\n  var eMax = (1 << eLen) - 1;\n  var eBias = eMax >> 1;\n  var nBits = eLen - 7;\n  var i = nBytes - 1;\n  var s = buffer[i--];\n  var e = s & 127;\n  var m;\n  s >>= 7;\n  for (; nBits > 0; e = e * 256 + buffer[i], i--, nBits -= 8);\n  m = e & (1 << -nBits) - 1;\n  e >>= -nBits;\n  nBits += mLen;\n  for (; nBits > 0; m = m * 256 + buffer[i], i--, nBits -= 8);\n  if (e === 0) {\n    e = 1 - eBias;\n  } else if (e === eMax) {\n    return m ? NaN : s ? -Infinity : Infinity;\n  } else {\n    m = m + pow(2, mLen);\n    e = e - eBias;\n  } return (s ? -1 : 1) * m * pow(2, e - mLen);\n}\n\nfunction unpackI32(bytes) {\n  return bytes[3] << 24 | bytes[2] << 16 | bytes[1] << 8 | bytes[0];\n}\nfunction packI8(it) {\n  return [it & 0xff];\n}\nfunction packI16(it) {\n  return [it & 0xff, it >> 8 & 0xff];\n}\nfunction packI32(it) {\n  return [it & 0xff, it >> 8 & 0xff, it >> 16 & 0xff, it >> 24 & 0xff];\n}\nfunction packF64(it) {\n  return packIEEE754(it, 52, 8);\n}\nfunction packF32(it) {\n  return packIEEE754(it, 23, 4);\n}\n\nfunction addGetter(C, key, internal) {\n  dP(C[PROTOTYPE], key, { get: function () { return this[internal]; } });\n}\n\nfunction get(view, bytes, index, isLittleEndian) {\n  var numIndex = +index;\n  var intIndex = toIndex(numIndex);\n  if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX);\n  var store = view[$BUFFER]._b;\n  var start = intIndex + view[$OFFSET];\n  var pack = store.slice(start, start + bytes);\n  return isLittleEndian ? pack : pack.reverse();\n}\nfunction set(view, bytes, index, conversion, value, isLittleEndian) {\n  var numIndex = +index;\n  var intIndex = toIndex(numIndex);\n  if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX);\n  var store = view[$BUFFER]._b;\n  var start = intIndex + view[$OFFSET];\n  var pack = conversion(+value);\n  for (var i = 0; i < bytes; i++) store[start + i] = pack[isLittleEndian ? i : bytes - i - 1];\n}\n\nif (!$typed.ABV) {\n  $ArrayBuffer = function ArrayBuffer(length) {\n    anInstance(this, $ArrayBuffer, ARRAY_BUFFER);\n    var byteLength = toIndex(length);\n    this._b = arrayFill.call(new Array(byteLength), 0);\n    this[$LENGTH] = byteLength;\n  };\n\n  $DataView = function DataView(buffer, byteOffset, byteLength) {\n    anInstance(this, $DataView, DATA_VIEW);\n    anInstance(buffer, $ArrayBuffer, DATA_VIEW);\n    var bufferLength = buffer[$LENGTH];\n    var offset = toInteger(byteOffset);\n    if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset!');\n    byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);\n    if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH);\n    this[$BUFFER] = buffer;\n    this[$OFFSET] = offset;\n    this[$LENGTH] = byteLength;\n  };\n\n  if (DESCRIPTORS) {\n    addGetter($ArrayBuffer, BYTE_LENGTH, '_l');\n    addGetter($DataView, BUFFER, '_b');\n    addGetter($DataView, BYTE_LENGTH, '_l');\n    addGetter($DataView, BYTE_OFFSET, '_o');\n  }\n\n  redefineAll($DataView[PROTOTYPE], {\n    getInt8: function getInt8(byteOffset) {\n      return get(this, 1, byteOffset)[0] << 24 >> 24;\n    },\n    getUint8: function getUint8(byteOffset) {\n      return get(this, 1, byteOffset)[0];\n    },\n    getInt16: function getInt16(byteOffset /* , littleEndian */) {\n      var bytes = get(this, 2, byteOffset, arguments[1]);\n      return (bytes[1] << 8 | bytes[0]) << 16 >> 16;\n    },\n    getUint16: function getUint16(byteOffset /* , littleEndian */) {\n      var bytes = get(this, 2, byteOffset, arguments[1]);\n      return bytes[1] << 8 | bytes[0];\n    },\n    getInt32: function getInt32(byteOffset /* , littleEndian */) {\n      return unpackI32(get(this, 4, byteOffset, arguments[1]));\n    },\n    getUint32: function getUint32(byteOffset /* , littleEndian */) {\n      return unpackI32(get(this, 4, byteOffset, arguments[1])) >>> 0;\n    },\n    getFloat32: function getFloat32(byteOffset /* , littleEndian */) {\n      return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23, 4);\n    },\n    getFloat64: function getFloat64(byteOffset /* , littleEndian */) {\n      return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52, 8);\n    },\n    setInt8: function setInt8(byteOffset, value) {\n      set(this, 1, byteOffset, packI8, value);\n    },\n    setUint8: function setUint8(byteOffset, value) {\n      set(this, 1, byteOffset, packI8, value);\n    },\n    setInt16: function setInt16(byteOffset, value /* , littleEndian */) {\n      set(this, 2, byteOffset, packI16, value, arguments[2]);\n    },\n    setUint16: function setUint16(byteOffset, value /* , littleEndian */) {\n      set(this, 2, byteOffset, packI16, value, arguments[2]);\n    },\n    setInt32: function setInt32(byteOffset, value /* , littleEndian */) {\n      set(this, 4, byteOffset, packI32, value, arguments[2]);\n    },\n    setUint32: function setUint32(byteOffset, value /* , littleEndian */) {\n      set(this, 4, byteOffset, packI32, value, arguments[2]);\n    },\n    setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) {\n      set(this, 4, byteOffset, packF32, value, arguments[2]);\n    },\n    setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) {\n      set(this, 8, byteOffset, packF64, value, arguments[2]);\n    }\n  });\n} else {\n  if (!fails(function () {\n    $ArrayBuffer(1);\n  }) || !fails(function () {\n    new $ArrayBuffer(-1); // eslint-disable-line no-new\n  }) || fails(function () {\n    new $ArrayBuffer(); // eslint-disable-line no-new\n    new $ArrayBuffer(1.5); // eslint-disable-line no-new\n    new $ArrayBuffer(NaN); // eslint-disable-line no-new\n    return $ArrayBuffer.name != ARRAY_BUFFER;\n  })) {\n    $ArrayBuffer = function ArrayBuffer(length) {\n      anInstance(this, $ArrayBuffer);\n      return new BaseBuffer(toIndex(length));\n    };\n    var ArrayBufferProto = $ArrayBuffer[PROTOTYPE] = BaseBuffer[PROTOTYPE];\n    for (var keys = gOPN(BaseBuffer), j = 0, key; keys.length > j;) {\n      if (!((key = keys[j++]) in $ArrayBuffer)) hide($ArrayBuffer, key, BaseBuffer[key]);\n    }\n    if (!LIBRARY) ArrayBufferProto.constructor = $ArrayBuffer;\n  }\n  // iOS Safari 7.x bug\n  var view = new $DataView(new $ArrayBuffer(2));\n  var $setInt8 = $DataView[PROTOTYPE].setInt8;\n  view.setInt8(0, 2147483648);\n  view.setInt8(1, 2147483649);\n  if (view.getInt8(0) || !view.getInt8(1)) redefineAll($DataView[PROTOTYPE], {\n    setInt8: function setInt8(byteOffset, value) {\n      $setInt8.call(this, byteOffset, value << 24 >> 24);\n    },\n    setUint8: function setUint8(byteOffset, value) {\n      $setInt8.call(this, byteOffset, value << 24 >> 24);\n    }\n  }, true);\n}\nsetToStringTag($ArrayBuffer, ARRAY_BUFFER);\nsetToStringTag($DataView, DATA_VIEW);\nhide($DataView[PROTOTYPE], $typed.VIEW, true);\nexports[ARRAY_BUFFER] = $ArrayBuffer;\nexports[DATA_VIEW] = $DataView;\n\n},{\"103\":103,\"117\":117,\"124\":124,\"138\":138,\"139\":139,\"141\":141,\"146\":146,\"37\":37,\"40\":40,\"58\":58,\"64\":64,\"70\":70,\"72\":72,\"89\":89,\"99\":99}],146:[function(_dereq_,module,exports){\nvar global = _dereq_(70);\nvar hide = _dereq_(72);\nvar uid = _dereq_(147);\nvar TYPED = uid('typed_array');\nvar VIEW = uid('view');\nvar ABV = !!(global.ArrayBuffer && global.DataView);\nvar CONSTR = ABV;\nvar i = 0;\nvar l = 9;\nvar Typed;\n\nvar TypedArrayConstructors = (\n  'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array'\n).split(',');\n\nwhile (i < l) {\n  if (Typed = global[TypedArrayConstructors[i++]]) {\n    hide(Typed.prototype, TYPED, true);\n    hide(Typed.prototype, VIEW, true);\n  } else CONSTR = false;\n}\n\nmodule.exports = {\n  ABV: ABV,\n  CONSTR: CONSTR,\n  TYPED: TYPED,\n  VIEW: VIEW\n};\n\n},{\"147\":147,\"70\":70,\"72\":72}],147:[function(_dereq_,module,exports){\nvar id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n  return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n\n},{}],148:[function(_dereq_,module,exports){\nvar global = _dereq_(70);\nvar navigator = global.navigator;\n\nmodule.exports = navigator && navigator.userAgent || '';\n\n},{\"70\":70}],149:[function(_dereq_,module,exports){\nvar isObject = _dereq_(81);\nmodule.exports = function (it, TYPE) {\n  if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');\n  return it;\n};\n\n},{\"81\":81}],150:[function(_dereq_,module,exports){\nvar global = _dereq_(70);\nvar core = _dereq_(52);\nvar LIBRARY = _dereq_(89);\nvar wksExt = _dereq_(151);\nvar defineProperty = _dereq_(99).f;\nmodule.exports = function (name) {\n  var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\n  if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });\n};\n\n},{\"151\":151,\"52\":52,\"70\":70,\"89\":89,\"99\":99}],151:[function(_dereq_,module,exports){\nexports.f = _dereq_(152);\n\n},{\"152\":152}],152:[function(_dereq_,module,exports){\nvar store = _dereq_(126)('wks');\nvar uid = _dereq_(147);\nvar Symbol = _dereq_(70).Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n  return store[name] || (store[name] =\n    USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n\n},{\"126\":126,\"147\":147,\"70\":70}],153:[function(_dereq_,module,exports){\nvar classof = _dereq_(47);\nvar ITERATOR = _dereq_(152)('iterator');\nvar Iterators = _dereq_(88);\nmodule.exports = _dereq_(52).getIteratorMethod = function (it) {\n  if (it != undefined) return it[ITERATOR]\n    || it['@@iterator']\n    || Iterators[classof(it)];\n};\n\n},{\"152\":152,\"47\":47,\"52\":52,\"88\":88}],154:[function(_dereq_,module,exports){\n// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\nvar $export = _dereq_(62);\n\n$export($export.P, 'Array', { copyWithin: _dereq_(39) });\n\n_dereq_(35)('copyWithin');\n\n},{\"35\":35,\"39\":39,\"62\":62}],155:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(62);\nvar $every = _dereq_(42)(4);\n\n$export($export.P + $export.F * !_dereq_(128)([].every, true), 'Array', {\n  // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg])\n  every: function every(callbackfn /* , thisArg */) {\n    return $every(this, callbackfn, arguments[1]);\n  }\n});\n\n},{\"128\":128,\"42\":42,\"62\":62}],156:[function(_dereq_,module,exports){\n// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\nvar $export = _dereq_(62);\n\n$export($export.P, 'Array', { fill: _dereq_(40) });\n\n_dereq_(35)('fill');\n\n},{\"35\":35,\"40\":40,\"62\":62}],157:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(62);\nvar $filter = _dereq_(42)(2);\n\n$export($export.P + $export.F * !_dereq_(128)([].filter, true), 'Array', {\n  // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])\n  filter: function filter(callbackfn /* , thisArg */) {\n    return $filter(this, callbackfn, arguments[1]);\n  }\n});\n\n},{\"128\":128,\"42\":42,\"62\":62}],158:[function(_dereq_,module,exports){\n'use strict';\n// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)\nvar $export = _dereq_(62);\nvar $find = _dereq_(42)(6);\nvar KEY = 'findIndex';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n  findIndex: function findIndex(callbackfn /* , that = undefined */) {\n    return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n_dereq_(35)(KEY);\n\n},{\"35\":35,\"42\":42,\"62\":62}],159:[function(_dereq_,module,exports){\n'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = _dereq_(62);\nvar $find = _dereq_(42)(5);\nvar KEY = 'find';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n  find: function find(callbackfn /* , that = undefined */) {\n    return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n_dereq_(35)(KEY);\n\n},{\"35\":35,\"42\":42,\"62\":62}],160:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(62);\nvar $forEach = _dereq_(42)(0);\nvar STRICT = _dereq_(128)([].forEach, true);\n\n$export($export.P + $export.F * !STRICT, 'Array', {\n  // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg])\n  forEach: function forEach(callbackfn /* , thisArg */) {\n    return $forEach(this, callbackfn, arguments[1]);\n  }\n});\n\n},{\"128\":128,\"42\":42,\"62\":62}],161:[function(_dereq_,module,exports){\n'use strict';\nvar ctx = _dereq_(54);\nvar $export = _dereq_(62);\nvar toObject = _dereq_(142);\nvar call = _dereq_(83);\nvar isArrayIter = _dereq_(78);\nvar toLength = _dereq_(141);\nvar createProperty = _dereq_(53);\nvar getIterFn = _dereq_(153);\n\n$export($export.S + $export.F * !_dereq_(86)(function (iter) { Array.from(iter); }), 'Array', {\n  // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)\n  from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n    var O = toObject(arrayLike);\n    var C = typeof this == 'function' ? this : Array;\n    var aLen = arguments.length;\n    var mapfn = aLen > 1 ? arguments[1] : undefined;\n    var mapping = mapfn !== undefined;\n    var index = 0;\n    var iterFn = getIterFn(O);\n    var length, result, step, iterator;\n    if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);\n    // if object isn't iterable or it's array with default iterator - use simple case\n    if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) {\n      for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) {\n        createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);\n      }\n    } else {\n      length = toLength(O.length);\n      for (result = new C(length); length > index; index++) {\n        createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);\n      }\n    }\n    result.length = index;\n    return result;\n  }\n});\n\n},{\"141\":141,\"142\":142,\"153\":153,\"53\":53,\"54\":54,\"62\":62,\"78\":78,\"83\":83,\"86\":86}],162:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(62);\nvar $indexOf = _dereq_(41)(false);\nvar $native = [].indexOf;\nvar NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0;\n\n$export($export.P + $export.F * (NEGATIVE_ZERO || !_dereq_(128)($native)), 'Array', {\n  // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])\n  indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n    return NEGATIVE_ZERO\n      // convert -0 to +0\n      ? $native.apply(this, arguments) || 0\n      : $indexOf(this, searchElement, arguments[1]);\n  }\n});\n\n},{\"128\":128,\"41\":41,\"62\":62}],163:[function(_dereq_,module,exports){\n// 22.1.2.2 / 15.4.3.2 Array.isArray(arg)\nvar $export = _dereq_(62);\n\n$export($export.S, 'Array', { isArray: _dereq_(79) });\n\n},{\"62\":62,\"79\":79}],164:[function(_dereq_,module,exports){\n'use strict';\nvar addToUnscopables = _dereq_(35);\nvar step = _dereq_(87);\nvar Iterators = _dereq_(88);\nvar toIObject = _dereq_(140);\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = _dereq_(85)(Array, 'Array', function (iterated, kind) {\n  this._t = toIObject(iterated); // target\n  this._i = 0;                   // next index\n  this._k = kind;                // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n  var O = this._t;\n  var kind = this._k;\n  var index = this._i++;\n  if (!O || index >= O.length) {\n    this._t = undefined;\n    return step(1);\n  }\n  if (kind == 'keys') return step(0, index);\n  if (kind == 'values') return step(0, O[index]);\n  return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n},{\"140\":140,\"35\":35,\"85\":85,\"87\":87,\"88\":88}],165:[function(_dereq_,module,exports){\n'use strict';\n// 22.1.3.13 Array.prototype.join(separator)\nvar $export = _dereq_(62);\nvar toIObject = _dereq_(140);\nvar arrayJoin = [].join;\n\n// fallback for not array-like strings\n$export($export.P + $export.F * (_dereq_(77) != Object || !_dereq_(128)(arrayJoin)), 'Array', {\n  join: function join(separator) {\n    return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator);\n  }\n});\n\n},{\"128\":128,\"140\":140,\"62\":62,\"77\":77}],166:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(62);\nvar toIObject = _dereq_(140);\nvar toInteger = _dereq_(139);\nvar toLength = _dereq_(141);\nvar $native = [].lastIndexOf;\nvar NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0;\n\n$export($export.P + $export.F * (NEGATIVE_ZERO || !_dereq_(128)($native)), 'Array', {\n  // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])\n  lastIndexOf: function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {\n    // convert -0 to +0\n    if (NEGATIVE_ZERO) return $native.apply(this, arguments) || 0;\n    var O = toIObject(this);\n    var length = toLength(O.length);\n    var index = length - 1;\n    if (arguments.length > 1) index = Math.min(index, toInteger(arguments[1]));\n    if (index < 0) index = length + index;\n    for (;index >= 0; index--) if (index in O) if (O[index] === searchElement) return index || 0;\n    return -1;\n  }\n});\n\n},{\"128\":128,\"139\":139,\"140\":140,\"141\":141,\"62\":62}],167:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(62);\nvar $map = _dereq_(42)(1);\n\n$export($export.P + $export.F * !_dereq_(128)([].map, true), 'Array', {\n  // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])\n  map: function map(callbackfn /* , thisArg */) {\n    return $map(this, callbackfn, arguments[1]);\n  }\n});\n\n},{\"128\":128,\"42\":42,\"62\":62}],168:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(62);\nvar createProperty = _dereq_(53);\n\n// WebKit Array.of isn't generic\n$export($export.S + $export.F * _dereq_(64)(function () {\n  function F() { /* empty */ }\n  return !(Array.of.call(F) instanceof F);\n}), 'Array', {\n  // 22.1.2.3 Array.of( ...items)\n  of: function of(/* ...args */) {\n    var index = 0;\n    var aLen = arguments.length;\n    var result = new (typeof this == 'function' ? this : Array)(aLen);\n    while (aLen > index) createProperty(result, index, arguments[index++]);\n    result.length = aLen;\n    return result;\n  }\n});\n\n},{\"53\":53,\"62\":62,\"64\":64}],169:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(62);\nvar $reduce = _dereq_(43);\n\n$export($export.P + $export.F * !_dereq_(128)([].reduceRight, true), 'Array', {\n  // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue])\n  reduceRight: function reduceRight(callbackfn /* , initialValue */) {\n    return $reduce(this, callbackfn, arguments.length, arguments[1], true);\n  }\n});\n\n},{\"128\":128,\"43\":43,\"62\":62}],170:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(62);\nvar $reduce = _dereq_(43);\n\n$export($export.P + $export.F * !_dereq_(128)([].reduce, true), 'Array', {\n  // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])\n  reduce: function reduce(callbackfn /* , initialValue */) {\n    return $reduce(this, callbackfn, arguments.length, arguments[1], false);\n  }\n});\n\n},{\"128\":128,\"43\":43,\"62\":62}],171:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(62);\nvar html = _dereq_(73);\nvar cof = _dereq_(48);\nvar toAbsoluteIndex = _dereq_(137);\nvar toLength = _dereq_(141);\nvar arraySlice = [].slice;\n\n// fallback for not array-like ES3 strings and DOM objects\n$export($export.P + $export.F * _dereq_(64)(function () {\n  if (html) arraySlice.call(html);\n}), 'Array', {\n  slice: function slice(begin, end) {\n    var len = toLength(this.length);\n    var klass = cof(this);\n    end = end === undefined ? len : end;\n    if (klass == 'Array') return arraySlice.call(this, begin, end);\n    var start = toAbsoluteIndex(begin, len);\n    var upTo = toAbsoluteIndex(end, len);\n    var size = toLength(upTo - start);\n    var cloned = new Array(size);\n    var i = 0;\n    for (; i < size; i++) cloned[i] = klass == 'String'\n      ? this.charAt(start + i)\n      : this[start + i];\n    return cloned;\n  }\n});\n\n},{\"137\":137,\"141\":141,\"48\":48,\"62\":62,\"64\":64,\"73\":73}],172:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(62);\nvar $some = _dereq_(42)(3);\n\n$export($export.P + $export.F * !_dereq_(128)([].some, true), 'Array', {\n  // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])\n  some: function some(callbackfn /* , thisArg */) {\n    return $some(this, callbackfn, arguments[1]);\n  }\n});\n\n},{\"128\":128,\"42\":42,\"62\":62}],173:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(62);\nvar aFunction = _dereq_(33);\nvar toObject = _dereq_(142);\nvar fails = _dereq_(64);\nvar $sort = [].sort;\nvar test = [1, 2, 3];\n\n$export($export.P + $export.F * (fails(function () {\n  // IE8-\n  test.sort(undefined);\n}) || !fails(function () {\n  // V8 bug\n  test.sort(null);\n  // Old WebKit\n}) || !_dereq_(128)($sort)), 'Array', {\n  // 22.1.3.25 Array.prototype.sort(comparefn)\n  sort: function sort(comparefn) {\n    return comparefn === undefined\n      ? $sort.call(toObject(this))\n      : $sort.call(toObject(this), aFunction(comparefn));\n  }\n});\n\n},{\"128\":128,\"142\":142,\"33\":33,\"62\":62,\"64\":64}],174:[function(_dereq_,module,exports){\n_dereq_(123)('Array');\n\n},{\"123\":123}],175:[function(_dereq_,module,exports){\n// 20.3.3.1 / 15.9.4.4 Date.now()\nvar $export = _dereq_(62);\n\n$export($export.S, 'Date', { now: function () { return new Date().getTime(); } });\n\n},{\"62\":62}],176:[function(_dereq_,module,exports){\n// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()\nvar $export = _dereq_(62);\nvar toISOString = _dereq_(55);\n\n// PhantomJS / old WebKit has a broken implementations\n$export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'Date', {\n  toISOString: toISOString\n});\n\n},{\"55\":55,\"62\":62}],177:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(62);\nvar toObject = _dereq_(142);\nvar toPrimitive = _dereq_(143);\n\n$export($export.P + $export.F * _dereq_(64)(function () {\n  return new Date(NaN).toJSON() !== null\n    || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;\n}), 'Date', {\n  // eslint-disable-next-line no-unused-vars\n  toJSON: function toJSON(key) {\n    var O = toObject(this);\n    var pv = toPrimitive(O);\n    return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();\n  }\n});\n\n},{\"142\":142,\"143\":143,\"62\":62,\"64\":64}],178:[function(_dereq_,module,exports){\nvar TO_PRIMITIVE = _dereq_(152)('toPrimitive');\nvar proto = Date.prototype;\n\nif (!(TO_PRIMITIVE in proto)) _dereq_(72)(proto, TO_PRIMITIVE, _dereq_(56));\n\n},{\"152\":152,\"56\":56,\"72\":72}],179:[function(_dereq_,module,exports){\nvar DateProto = Date.prototype;\nvar INVALID_DATE = 'Invalid Date';\nvar TO_STRING = 'toString';\nvar $toString = DateProto[TO_STRING];\nvar getTime = DateProto.getTime;\nif (new Date(NaN) + '' != INVALID_DATE) {\n  _dereq_(118)(DateProto, TO_STRING, function toString() {\n    var value = getTime.call(this);\n    // eslint-disable-next-line no-self-compare\n    return value === value ? $toString.call(this) : INVALID_DATE;\n  });\n}\n\n},{\"118\":118}],180:[function(_dereq_,module,exports){\n// 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...)\nvar $export = _dereq_(62);\n\n$export($export.P, 'Function', { bind: _dereq_(46) });\n\n},{\"46\":46,\"62\":62}],181:[function(_dereq_,module,exports){\n'use strict';\nvar isObject = _dereq_(81);\nvar getPrototypeOf = _dereq_(105);\nvar HAS_INSTANCE = _dereq_(152)('hasInstance');\nvar FunctionProto = Function.prototype;\n// 19.2.3.6 Function.prototype[@@hasInstance](V)\nif (!(HAS_INSTANCE in FunctionProto)) _dereq_(99).f(FunctionProto, HAS_INSTANCE, { value: function (O) {\n  if (typeof this != 'function' || !isObject(O)) return false;\n  if (!isObject(this.prototype)) return O instanceof this;\n  // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:\n  while (O = getPrototypeOf(O)) if (this.prototype === O) return true;\n  return false;\n} });\n\n},{\"105\":105,\"152\":152,\"81\":81,\"99\":99}],182:[function(_dereq_,module,exports){\nvar dP = _dereq_(99).f;\nvar FProto = Function.prototype;\nvar nameRE = /^\\s*function ([^ (]*)/;\nvar NAME = 'name';\n\n// 19.2.4.2 name\nNAME in FProto || _dereq_(58) && dP(FProto, NAME, {\n  configurable: true,\n  get: function () {\n    try {\n      return ('' + this).match(nameRE)[1];\n    } catch (e) {\n      return '';\n    }\n  }\n});\n\n},{\"58\":58,\"99\":99}],183:[function(_dereq_,module,exports){\n'use strict';\nvar strong = _dereq_(49);\nvar validate = _dereq_(149);\nvar MAP = 'Map';\n\n// 23.1 Map Objects\nmodule.exports = _dereq_(51)(MAP, function (get) {\n  return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n  // 23.1.3.6 Map.prototype.get(key)\n  get: function get(key) {\n    var entry = strong.getEntry(validate(this, MAP), key);\n    return entry && entry.v;\n  },\n  // 23.1.3.9 Map.prototype.set(key, value)\n  set: function set(key, value) {\n    return strong.def(validate(this, MAP), key === 0 ? 0 : key, value);\n  }\n}, strong, true);\n\n},{\"149\":149,\"49\":49,\"51\":51}],184:[function(_dereq_,module,exports){\n// 20.2.2.3 Math.acosh(x)\nvar $export = _dereq_(62);\nvar log1p = _dereq_(92);\nvar sqrt = Math.sqrt;\nvar $acosh = Math.acosh;\n\n$export($export.S + $export.F * !($acosh\n  // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509\n  && Math.floor($acosh(Number.MAX_VALUE)) == 710\n  // Tor Browser bug: Math.acosh(Infinity) -> NaN\n  && $acosh(Infinity) == Infinity\n), 'Math', {\n  acosh: function acosh(x) {\n    return (x = +x) < 1 ? NaN : x > 94906265.62425156\n      ? Math.log(x) + Math.LN2\n      : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));\n  }\n});\n\n},{\"62\":62,\"92\":92}],185:[function(_dereq_,module,exports){\n// 20.2.2.5 Math.asinh(x)\nvar $export = _dereq_(62);\nvar $asinh = Math.asinh;\n\nfunction asinh(x) {\n  return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1));\n}\n\n// Tor Browser bug: Math.asinh(0) -> -0\n$export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', { asinh: asinh });\n\n},{\"62\":62}],186:[function(_dereq_,module,exports){\n// 20.2.2.7 Math.atanh(x)\nvar $export = _dereq_(62);\nvar $atanh = Math.atanh;\n\n// Tor Browser bug: Math.atanh(-0) -> 0\n$export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', {\n  atanh: function atanh(x) {\n    return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;\n  }\n});\n\n},{\"62\":62}],187:[function(_dereq_,module,exports){\n// 20.2.2.9 Math.cbrt(x)\nvar $export = _dereq_(62);\nvar sign = _dereq_(93);\n\n$export($export.S, 'Math', {\n  cbrt: function cbrt(x) {\n    return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3);\n  }\n});\n\n},{\"62\":62,\"93\":93}],188:[function(_dereq_,module,exports){\n// 20.2.2.11 Math.clz32(x)\nvar $export = _dereq_(62);\n\n$export($export.S, 'Math', {\n  clz32: function clz32(x) {\n    return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32;\n  }\n});\n\n},{\"62\":62}],189:[function(_dereq_,module,exports){\n// 20.2.2.12 Math.cosh(x)\nvar $export = _dereq_(62);\nvar exp = Math.exp;\n\n$export($export.S, 'Math', {\n  cosh: function cosh(x) {\n    return (exp(x = +x) + exp(-x)) / 2;\n  }\n});\n\n},{\"62\":62}],190:[function(_dereq_,module,exports){\n// 20.2.2.14 Math.expm1(x)\nvar $export = _dereq_(62);\nvar $expm1 = _dereq_(90);\n\n$export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', { expm1: $expm1 });\n\n},{\"62\":62,\"90\":90}],191:[function(_dereq_,module,exports){\n// 20.2.2.16 Math.fround(x)\nvar $export = _dereq_(62);\n\n$export($export.S, 'Math', { fround: _dereq_(91) });\n\n},{\"62\":62,\"91\":91}],192:[function(_dereq_,module,exports){\n// 20.2.2.17 Math.hypot([value1[, value2[, … ]]])\nvar $export = _dereq_(62);\nvar abs = Math.abs;\n\n$export($export.S, 'Math', {\n  hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars\n    var sum = 0;\n    var i = 0;\n    var aLen = arguments.length;\n    var larg = 0;\n    var arg, div;\n    while (i < aLen) {\n      arg = abs(arguments[i++]);\n      if (larg < arg) {\n        div = larg / arg;\n        sum = sum * div * div + 1;\n        larg = arg;\n      } else if (arg > 0) {\n        div = arg / larg;\n        sum += div * div;\n      } else sum += arg;\n    }\n    return larg === Infinity ? Infinity : larg * Math.sqrt(sum);\n  }\n});\n\n},{\"62\":62}],193:[function(_dereq_,module,exports){\n// 20.2.2.18 Math.imul(x, y)\nvar $export = _dereq_(62);\nvar $imul = Math.imul;\n\n// some WebKit versions fails with big numbers, some has wrong arity\n$export($export.S + $export.F * _dereq_(64)(function () {\n  return $imul(0xffffffff, 5) != -5 || $imul.length != 2;\n}), 'Math', {\n  imul: function imul(x, y) {\n    var UINT16 = 0xffff;\n    var xn = +x;\n    var yn = +y;\n    var xl = UINT16 & xn;\n    var yl = UINT16 & yn;\n    return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);\n  }\n});\n\n},{\"62\":62,\"64\":64}],194:[function(_dereq_,module,exports){\n// 20.2.2.21 Math.log10(x)\nvar $export = _dereq_(62);\n\n$export($export.S, 'Math', {\n  log10: function log10(x) {\n    return Math.log(x) * Math.LOG10E;\n  }\n});\n\n},{\"62\":62}],195:[function(_dereq_,module,exports){\n// 20.2.2.20 Math.log1p(x)\nvar $export = _dereq_(62);\n\n$export($export.S, 'Math', { log1p: _dereq_(92) });\n\n},{\"62\":62,\"92\":92}],196:[function(_dereq_,module,exports){\n// 20.2.2.22 Math.log2(x)\nvar $export = _dereq_(62);\n\n$export($export.S, 'Math', {\n  log2: function log2(x) {\n    return Math.log(x) / Math.LN2;\n  }\n});\n\n},{\"62\":62}],197:[function(_dereq_,module,exports){\n// 20.2.2.28 Math.sign(x)\nvar $export = _dereq_(62);\n\n$export($export.S, 'Math', { sign: _dereq_(93) });\n\n},{\"62\":62,\"93\":93}],198:[function(_dereq_,module,exports){\n// 20.2.2.30 Math.sinh(x)\nvar $export = _dereq_(62);\nvar expm1 = _dereq_(90);\nvar exp = Math.exp;\n\n// V8 near Chromium 38 has a problem with very small numbers\n$export($export.S + $export.F * _dereq_(64)(function () {\n  return !Math.sinh(-2e-17) != -2e-17;\n}), 'Math', {\n  sinh: function sinh(x) {\n    return Math.abs(x = +x) < 1\n      ? (expm1(x) - expm1(-x)) / 2\n      : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2);\n  }\n});\n\n},{\"62\":62,\"64\":64,\"90\":90}],199:[function(_dereq_,module,exports){\n// 20.2.2.33 Math.tanh(x)\nvar $export = _dereq_(62);\nvar expm1 = _dereq_(90);\nvar exp = Math.exp;\n\n$export($export.S, 'Math', {\n  tanh: function tanh(x) {\n    var a = expm1(x = +x);\n    var b = expm1(-x);\n    return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));\n  }\n});\n\n},{\"62\":62,\"90\":90}],200:[function(_dereq_,module,exports){\n// 20.2.2.34 Math.trunc(x)\nvar $export = _dereq_(62);\n\n$export($export.S, 'Math', {\n  trunc: function trunc(it) {\n    return (it > 0 ? Math.floor : Math.ceil)(it);\n  }\n});\n\n},{\"62\":62}],201:[function(_dereq_,module,exports){\n'use strict';\nvar global = _dereq_(70);\nvar has = _dereq_(71);\nvar cof = _dereq_(48);\nvar inheritIfRequired = _dereq_(75);\nvar toPrimitive = _dereq_(143);\nvar fails = _dereq_(64);\nvar gOPN = _dereq_(103).f;\nvar gOPD = _dereq_(101).f;\nvar dP = _dereq_(99).f;\nvar $trim = _dereq_(134).trim;\nvar NUMBER = 'Number';\nvar $Number = global[NUMBER];\nvar Base = $Number;\nvar proto = $Number.prototype;\n// Opera ~12 has broken Object#toString\nvar BROKEN_COF = cof(_dereq_(98)(proto)) == NUMBER;\nvar TRIM = 'trim' in String.prototype;\n\n// 7.1.3 ToNumber(argument)\nvar toNumber = function (argument) {\n  var it = toPrimitive(argument, false);\n  if (typeof it == 'string' && it.length > 2) {\n    it = TRIM ? it.trim() : $trim(it, 3);\n    var first = it.charCodeAt(0);\n    var third, radix, maxCode;\n    if (first === 43 || first === 45) {\n      third = it.charCodeAt(2);\n      if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n    } else if (first === 48) {\n      switch (it.charCodeAt(1)) {\n        case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i\n        case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i\n        default: return +it;\n      }\n      for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) {\n        code = digits.charCodeAt(i);\n        // parseInt parses a string to a first unavailable symbol\n        // but ToNumber should return NaN if a string contains unavailable symbols\n        if (code < 48 || code > maxCode) return NaN;\n      } return parseInt(digits, radix);\n    }\n  } return +it;\n};\n\nif (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {\n  $Number = function Number(value) {\n    var it = arguments.length < 1 ? 0 : value;\n    var that = this;\n    return that instanceof $Number\n      // check on 1..constructor(foo) case\n      && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER)\n        ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);\n  };\n  for (var keys = _dereq_(58) ? gOPN(Base) : (\n    // ES3:\n    'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n    // ES6 (in case, if modules with ES6 Number statics required before):\n    'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +\n    'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'\n  ).split(','), j = 0, key; keys.length > j; j++) {\n    if (has(Base, key = keys[j]) && !has($Number, key)) {\n      dP($Number, key, gOPD(Base, key));\n    }\n  }\n  $Number.prototype = proto;\n  proto.constructor = $Number;\n  _dereq_(118)(global, NUMBER, $Number);\n}\n\n},{\"101\":101,\"103\":103,\"118\":118,\"134\":134,\"143\":143,\"48\":48,\"58\":58,\"64\":64,\"70\":70,\"71\":71,\"75\":75,\"98\":98,\"99\":99}],202:[function(_dereq_,module,exports){\n// 20.1.2.1 Number.EPSILON\nvar $export = _dereq_(62);\n\n$export($export.S, 'Number', { EPSILON: Math.pow(2, -52) });\n\n},{\"62\":62}],203:[function(_dereq_,module,exports){\n// 20.1.2.2 Number.isFinite(number)\nvar $export = _dereq_(62);\nvar _isFinite = _dereq_(70).isFinite;\n\n$export($export.S, 'Number', {\n  isFinite: function isFinite(it) {\n    return typeof it == 'number' && _isFinite(it);\n  }\n});\n\n},{\"62\":62,\"70\":70}],204:[function(_dereq_,module,exports){\n// 20.1.2.3 Number.isInteger(number)\nvar $export = _dereq_(62);\n\n$export($export.S, 'Number', { isInteger: _dereq_(80) });\n\n},{\"62\":62,\"80\":80}],205:[function(_dereq_,module,exports){\n// 20.1.2.4 Number.isNaN(number)\nvar $export = _dereq_(62);\n\n$export($export.S, 'Number', {\n  isNaN: function isNaN(number) {\n    // eslint-disable-next-line no-self-compare\n    return number != number;\n  }\n});\n\n},{\"62\":62}],206:[function(_dereq_,module,exports){\n// 20.1.2.5 Number.isSafeInteger(number)\nvar $export = _dereq_(62);\nvar isInteger = _dereq_(80);\nvar abs = Math.abs;\n\n$export($export.S, 'Number', {\n  isSafeInteger: function isSafeInteger(number) {\n    return isInteger(number) && abs(number) <= 0x1fffffffffffff;\n  }\n});\n\n},{\"62\":62,\"80\":80}],207:[function(_dereq_,module,exports){\n// 20.1.2.6 Number.MAX_SAFE_INTEGER\nvar $export = _dereq_(62);\n\n$export($export.S, 'Number', { MAX_SAFE_INTEGER: 0x1fffffffffffff });\n\n},{\"62\":62}],208:[function(_dereq_,module,exports){\n// 20.1.2.10 Number.MIN_SAFE_INTEGER\nvar $export = _dereq_(62);\n\n$export($export.S, 'Number', { MIN_SAFE_INTEGER: -0x1fffffffffffff });\n\n},{\"62\":62}],209:[function(_dereq_,module,exports){\nvar $export = _dereq_(62);\nvar $parseFloat = _dereq_(112);\n// 20.1.2.12 Number.parseFloat(string)\n$export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', { parseFloat: $parseFloat });\n\n},{\"112\":112,\"62\":62}],210:[function(_dereq_,module,exports){\nvar $export = _dereq_(62);\nvar $parseInt = _dereq_(113);\n// 20.1.2.13 Number.parseInt(string, radix)\n$export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', { parseInt: $parseInt });\n\n},{\"113\":113,\"62\":62}],211:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(62);\nvar toInteger = _dereq_(139);\nvar aNumberValue = _dereq_(34);\nvar repeat = _dereq_(133);\nvar $toFixed = 1.0.toFixed;\nvar floor = Math.floor;\nvar data = [0, 0, 0, 0, 0, 0];\nvar ERROR = 'Number.toFixed: incorrect invocation!';\nvar ZERO = '0';\n\nvar multiply = function (n, c) {\n  var i = -1;\n  var c2 = c;\n  while (++i < 6) {\n    c2 += n * data[i];\n    data[i] = c2 % 1e7;\n    c2 = floor(c2 / 1e7);\n  }\n};\nvar divide = function (n) {\n  var i = 6;\n  var c = 0;\n  while (--i >= 0) {\n    c += data[i];\n    data[i] = floor(c / n);\n    c = (c % n) * 1e7;\n  }\n};\nvar numToString = function () {\n  var i = 6;\n  var s = '';\n  while (--i >= 0) {\n    if (s !== '' || i === 0 || data[i] !== 0) {\n      var t = String(data[i]);\n      s = s === '' ? t : s + repeat.call(ZERO, 7 - t.length) + t;\n    }\n  } return s;\n};\nvar pow = function (x, n, acc) {\n  return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);\n};\nvar log = function (x) {\n  var n = 0;\n  var x2 = x;\n  while (x2 >= 4096) {\n    n += 12;\n    x2 /= 4096;\n  }\n  while (x2 >= 2) {\n    n += 1;\n    x2 /= 2;\n  } return n;\n};\n\n$export($export.P + $export.F * (!!$toFixed && (\n  0.00008.toFixed(3) !== '0.000' ||\n  0.9.toFixed(0) !== '1' ||\n  1.255.toFixed(2) !== '1.25' ||\n  1000000000000000128.0.toFixed(0) !== '1000000000000000128'\n) || !_dereq_(64)(function () {\n  // V8 ~ Android 4.3-\n  $toFixed.call({});\n})), 'Number', {\n  toFixed: function toFixed(fractionDigits) {\n    var x = aNumberValue(this, ERROR);\n    var f = toInteger(fractionDigits);\n    var s = '';\n    var m = ZERO;\n    var e, z, j, k;\n    if (f < 0 || f > 20) throw RangeError(ERROR);\n    // eslint-disable-next-line no-self-compare\n    if (x != x) return 'NaN';\n    if (x <= -1e21 || x >= 1e21) return String(x);\n    if (x < 0) {\n      s = '-';\n      x = -x;\n    }\n    if (x > 1e-21) {\n      e = log(x * pow(2, 69, 1)) - 69;\n      z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1);\n      z *= 0x10000000000000;\n      e = 52 - e;\n      if (e > 0) {\n        multiply(0, z);\n        j = f;\n        while (j >= 7) {\n          multiply(1e7, 0);\n          j -= 7;\n        }\n        multiply(pow(10, j, 1), 0);\n        j = e - 1;\n        while (j >= 23) {\n          divide(1 << 23);\n          j -= 23;\n        }\n        divide(1 << j);\n        multiply(1, 1);\n        divide(2);\n        m = numToString();\n      } else {\n        multiply(0, z);\n        multiply(1 << -e, 0);\n        m = numToString() + repeat.call(ZERO, f);\n      }\n    }\n    if (f > 0) {\n      k = m.length;\n      m = s + (k <= f ? '0.' + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f));\n    } else {\n      m = s + m;\n    } return m;\n  }\n});\n\n},{\"133\":133,\"139\":139,\"34\":34,\"62\":62,\"64\":64}],212:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(62);\nvar $fails = _dereq_(64);\nvar aNumberValue = _dereq_(34);\nvar $toPrecision = 1.0.toPrecision;\n\n$export($export.P + $export.F * ($fails(function () {\n  // IE7-\n  return $toPrecision.call(1, undefined) !== '1';\n}) || !$fails(function () {\n  // V8 ~ Android 4.3-\n  $toPrecision.call({});\n})), 'Number', {\n  toPrecision: function toPrecision(precision) {\n    var that = aNumberValue(this, 'Number#toPrecision: incorrect invocation!');\n    return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision);\n  }\n});\n\n},{\"34\":34,\"62\":62,\"64\":64}],213:[function(_dereq_,module,exports){\n// 19.1.3.1 Object.assign(target, source)\nvar $export = _dereq_(62);\n\n$export($export.S + $export.F, 'Object', { assign: _dereq_(97) });\n\n},{\"62\":62,\"97\":97}],214:[function(_dereq_,module,exports){\nvar $export = _dereq_(62);\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n$export($export.S, 'Object', { create: _dereq_(98) });\n\n},{\"62\":62,\"98\":98}],215:[function(_dereq_,module,exports){\nvar $export = _dereq_(62);\n// 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties)\n$export($export.S + $export.F * !_dereq_(58), 'Object', { defineProperties: _dereq_(100) });\n\n},{\"100\":100,\"58\":58,\"62\":62}],216:[function(_dereq_,module,exports){\nvar $export = _dereq_(62);\n// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n$export($export.S + $export.F * !_dereq_(58), 'Object', { defineProperty: _dereq_(99).f });\n\n},{\"58\":58,\"62\":62,\"99\":99}],217:[function(_dereq_,module,exports){\n// 19.1.2.5 Object.freeze(O)\nvar isObject = _dereq_(81);\nvar meta = _dereq_(94).onFreeze;\n\n_dereq_(109)('freeze', function ($freeze) {\n  return function freeze(it) {\n    return $freeze && isObject(it) ? $freeze(meta(it)) : it;\n  };\n});\n\n},{\"109\":109,\"81\":81,\"94\":94}],218:[function(_dereq_,module,exports){\n// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\nvar toIObject = _dereq_(140);\nvar $getOwnPropertyDescriptor = _dereq_(101).f;\n\n_dereq_(109)('getOwnPropertyDescriptor', function () {\n  return function getOwnPropertyDescriptor(it, key) {\n    return $getOwnPropertyDescriptor(toIObject(it), key);\n  };\n});\n\n},{\"101\":101,\"109\":109,\"140\":140}],219:[function(_dereq_,module,exports){\n// 19.1.2.7 Object.getOwnPropertyNames(O)\n_dereq_(109)('getOwnPropertyNames', function () {\n  return _dereq_(102).f;\n});\n\n},{\"102\":102,\"109\":109}],220:[function(_dereq_,module,exports){\n// 19.1.2.9 Object.getPrototypeOf(O)\nvar toObject = _dereq_(142);\nvar $getPrototypeOf = _dereq_(105);\n\n_dereq_(109)('getPrototypeOf', function () {\n  return function getPrototypeOf(it) {\n    return $getPrototypeOf(toObject(it));\n  };\n});\n\n},{\"105\":105,\"109\":109,\"142\":142}],221:[function(_dereq_,module,exports){\n// 19.1.2.11 Object.isExtensible(O)\nvar isObject = _dereq_(81);\n\n_dereq_(109)('isExtensible', function ($isExtensible) {\n  return function isExtensible(it) {\n    return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false;\n  };\n});\n\n},{\"109\":109,\"81\":81}],222:[function(_dereq_,module,exports){\n// 19.1.2.12 Object.isFrozen(O)\nvar isObject = _dereq_(81);\n\n_dereq_(109)('isFrozen', function ($isFrozen) {\n  return function isFrozen(it) {\n    return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true;\n  };\n});\n\n},{\"109\":109,\"81\":81}],223:[function(_dereq_,module,exports){\n// 19.1.2.13 Object.isSealed(O)\nvar isObject = _dereq_(81);\n\n_dereq_(109)('isSealed', function ($isSealed) {\n  return function isSealed(it) {\n    return isObject(it) ? $isSealed ? $isSealed(it) : false : true;\n  };\n});\n\n},{\"109\":109,\"81\":81}],224:[function(_dereq_,module,exports){\n// 19.1.3.10 Object.is(value1, value2)\nvar $export = _dereq_(62);\n$export($export.S, 'Object', { is: _dereq_(121) });\n\n},{\"121\":121,\"62\":62}],225:[function(_dereq_,module,exports){\n// 19.1.2.14 Object.keys(O)\nvar toObject = _dereq_(142);\nvar $keys = _dereq_(107);\n\n_dereq_(109)('keys', function () {\n  return function keys(it) {\n    return $keys(toObject(it));\n  };\n});\n\n},{\"107\":107,\"109\":109,\"142\":142}],226:[function(_dereq_,module,exports){\n// 19.1.2.15 Object.preventExtensions(O)\nvar isObject = _dereq_(81);\nvar meta = _dereq_(94).onFreeze;\n\n_dereq_(109)('preventExtensions', function ($preventExtensions) {\n  return function preventExtensions(it) {\n    return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it;\n  };\n});\n\n},{\"109\":109,\"81\":81,\"94\":94}],227:[function(_dereq_,module,exports){\n// 19.1.2.17 Object.seal(O)\nvar isObject = _dereq_(81);\nvar meta = _dereq_(94).onFreeze;\n\n_dereq_(109)('seal', function ($seal) {\n  return function seal(it) {\n    return $seal && isObject(it) ? $seal(meta(it)) : it;\n  };\n});\n\n},{\"109\":109,\"81\":81,\"94\":94}],228:[function(_dereq_,module,exports){\n// 19.1.3.19 Object.setPrototypeOf(O, proto)\nvar $export = _dereq_(62);\n$export($export.S, 'Object', { setPrototypeOf: _dereq_(122).set });\n\n},{\"122\":122,\"62\":62}],229:[function(_dereq_,module,exports){\n'use strict';\n// 19.1.3.6 Object.prototype.toString()\nvar classof = _dereq_(47);\nvar test = {};\ntest[_dereq_(152)('toStringTag')] = 'z';\nif (test + '' != '[object z]') {\n  _dereq_(118)(Object.prototype, 'toString', function toString() {\n    return '[object ' + classof(this) + ']';\n  }, true);\n}\n\n},{\"118\":118,\"152\":152,\"47\":47}],230:[function(_dereq_,module,exports){\nvar $export = _dereq_(62);\nvar $parseFloat = _dereq_(112);\n// 18.2.4 parseFloat(string)\n$export($export.G + $export.F * (parseFloat != $parseFloat), { parseFloat: $parseFloat });\n\n},{\"112\":112,\"62\":62}],231:[function(_dereq_,module,exports){\nvar $export = _dereq_(62);\nvar $parseInt = _dereq_(113);\n// 18.2.5 parseInt(string, radix)\n$export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt });\n\n},{\"113\":113,\"62\":62}],232:[function(_dereq_,module,exports){\n'use strict';\nvar LIBRARY = _dereq_(89);\nvar global = _dereq_(70);\nvar ctx = _dereq_(54);\nvar classof = _dereq_(47);\nvar $export = _dereq_(62);\nvar isObject = _dereq_(81);\nvar aFunction = _dereq_(33);\nvar anInstance = _dereq_(37);\nvar forOf = _dereq_(68);\nvar speciesConstructor = _dereq_(127);\nvar task = _dereq_(136).set;\nvar microtask = _dereq_(95)();\nvar newPromiseCapabilityModule = _dereq_(96);\nvar perform = _dereq_(114);\nvar userAgent = _dereq_(148);\nvar promiseResolve = _dereq_(115);\nvar PROMISE = 'Promise';\nvar TypeError = global.TypeError;\nvar process = global.process;\nvar versions = process && process.versions;\nvar v8 = versions && versions.v8 || '';\nvar $Promise = global[PROMISE];\nvar isNode = classof(process) == 'process';\nvar empty = function () { /* empty */ };\nvar Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper;\nvar newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f;\n\nvar USE_NATIVE = !!function () {\n  try {\n    // correct subclassing with @@species support\n    var promise = $Promise.resolve(1);\n    var FakePromise = (promise.constructor = {})[_dereq_(152)('species')] = function (exec) {\n      exec(empty, empty);\n    };\n    // unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n    return (isNode || typeof PromiseRejectionEvent == 'function')\n      && promise.then(empty) instanceof FakePromise\n      // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n      // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n      // we can't detect it synchronously, so just check versions\n      && v8.indexOf('6.6') !== 0\n      && userAgent.indexOf('Chrome/66') === -1;\n  } catch (e) { /* empty */ }\n}();\n\n// helpers\nvar isThenable = function (it) {\n  var then;\n  return isObject(it) && typeof (then = it.then) == 'function' ? then : false;\n};\nvar notify = function (promise, isReject) {\n  if (promise._n) return;\n  promise._n = true;\n  var chain = promise._c;\n  microtask(function () {\n    var value = promise._v;\n    var ok = promise._s == 1;\n    var i = 0;\n    var run = function (reaction) {\n      var handler = ok ? reaction.ok : reaction.fail;\n      var resolve = reaction.resolve;\n      var reject = reaction.reject;\n      var domain = reaction.domain;\n      var result, then, exited;\n      try {\n        if (handler) {\n          if (!ok) {\n            if (promise._h == 2) onHandleUnhandled(promise);\n            promise._h = 1;\n          }\n          if (handler === true) result = value;\n          else {\n            if (domain) domain.enter();\n            result = handler(value); // may throw\n            if (domain) {\n              domain.exit();\n              exited = true;\n            }\n          }\n          if (result === reaction.promise) {\n            reject(TypeError('Promise-chain cycle'));\n          } else if (then = isThenable(result)) {\n            then.call(result, resolve, reject);\n          } else resolve(result);\n        } else reject(value);\n      } catch (e) {\n        if (domain && !exited) domain.exit();\n        reject(e);\n      }\n    };\n    while (chain.length > i) run(chain[i++]); // variable length - can't use forEach\n    promise._c = [];\n    promise._n = false;\n    if (isReject && !promise._h) onUnhandled(promise);\n  });\n};\nvar onUnhandled = function (promise) {\n  task.call(global, function () {\n    var value = promise._v;\n    var unhandled = isUnhandled(promise);\n    var result, handler, console;\n    if (unhandled) {\n      result = perform(function () {\n        if (isNode) {\n          process.emit('unhandledRejection', value, promise);\n        } else if (handler = global.onunhandledrejection) {\n          handler({ promise: promise, reason: value });\n        } else if ((console = global.console) && console.error) {\n          console.error('Unhandled promise rejection', value);\n        }\n      });\n      // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n      promise._h = isNode || isUnhandled(promise) ? 2 : 1;\n    } promise._a = undefined;\n    if (unhandled && result.e) throw result.v;\n  });\n};\nvar isUnhandled = function (promise) {\n  return promise._h !== 1 && (promise._a || promise._c).length === 0;\n};\nvar onHandleUnhandled = function (promise) {\n  task.call(global, function () {\n    var handler;\n    if (isNode) {\n      process.emit('rejectionHandled', promise);\n    } else if (handler = global.onrejectionhandled) {\n      handler({ promise: promise, reason: promise._v });\n    }\n  });\n};\nvar $reject = function (value) {\n  var promise = this;\n  if (promise._d) return;\n  promise._d = true;\n  promise = promise._w || promise; // unwrap\n  promise._v = value;\n  promise._s = 2;\n  if (!promise._a) promise._a = promise._c.slice();\n  notify(promise, true);\n};\nvar $resolve = function (value) {\n  var promise = this;\n  var then;\n  if (promise._d) return;\n  promise._d = true;\n  promise = promise._w || promise; // unwrap\n  try {\n    if (promise === value) throw TypeError(\"Promise can't be resolved itself\");\n    if (then = isThenable(value)) {\n      microtask(function () {\n        var wrapper = { _w: promise, _d: false }; // wrap\n        try {\n          then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));\n        } catch (e) {\n          $reject.call(wrapper, e);\n        }\n      });\n    } else {\n      promise._v = value;\n      promise._s = 1;\n      notify(promise, false);\n    }\n  } catch (e) {\n    $reject.call({ _w: promise, _d: false }, e); // wrap\n  }\n};\n\n// constructor polyfill\nif (!USE_NATIVE) {\n  // 25.4.3.1 Promise(executor)\n  $Promise = function Promise(executor) {\n    anInstance(this, $Promise, PROMISE, '_h');\n    aFunction(executor);\n    Internal.call(this);\n    try {\n      executor(ctx($resolve, this, 1), ctx($reject, this, 1));\n    } catch (err) {\n      $reject.call(this, err);\n    }\n  };\n  // eslint-disable-next-line no-unused-vars\n  Internal = function Promise(executor) {\n    this._c = [];             // <- awaiting reactions\n    this._a = undefined;      // <- checked in isUnhandled reactions\n    this._s = 0;              // <- state\n    this._d = false;          // <- done\n    this._v = undefined;      // <- value\n    this._h = 0;              // <- rejection state, 0 - default, 1 - handled, 2 - unhandled\n    this._n = false;          // <- notify\n  };\n  Internal.prototype = _dereq_(117)($Promise.prototype, {\n    // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)\n    then: function then(onFulfilled, onRejected) {\n      var reaction = newPromiseCapability(speciesConstructor(this, $Promise));\n      reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;\n      reaction.fail = typeof onRejected == 'function' && onRejected;\n      reaction.domain = isNode ? process.domain : undefined;\n      this._c.push(reaction);\n      if (this._a) this._a.push(reaction);\n      if (this._s) notify(this, false);\n      return reaction.promise;\n    },\n    // 25.4.5.1 Promise.prototype.catch(onRejected)\n    'catch': function (onRejected) {\n      return this.then(undefined, onRejected);\n    }\n  });\n  OwnPromiseCapability = function () {\n    var promise = new Internal();\n    this.promise = promise;\n    this.resolve = ctx($resolve, promise, 1);\n    this.reject = ctx($reject, promise, 1);\n  };\n  newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n    return C === $Promise || C === Wrapper\n      ? new OwnPromiseCapability(C)\n      : newGenericPromiseCapability(C);\n  };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise });\n_dereq_(124)($Promise, PROMISE);\n_dereq_(123)(PROMISE);\nWrapper = _dereq_(52)[PROMISE];\n\n// statics\n$export($export.S + $export.F * !USE_NATIVE, PROMISE, {\n  // 25.4.4.5 Promise.reject(r)\n  reject: function reject(r) {\n    var capability = newPromiseCapability(this);\n    var $$reject = capability.reject;\n    $$reject(r);\n    return capability.promise;\n  }\n});\n$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, {\n  // 25.4.4.6 Promise.resolve(x)\n  resolve: function resolve(x) {\n    return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x);\n  }\n});\n$export($export.S + $export.F * !(USE_NATIVE && _dereq_(86)(function (iter) {\n  $Promise.all(iter)['catch'](empty);\n})), PROMISE, {\n  // 25.4.4.1 Promise.all(iterable)\n  all: function all(iterable) {\n    var C = this;\n    var capability = newPromiseCapability(C);\n    var resolve = capability.resolve;\n    var reject = capability.reject;\n    var result = perform(function () {\n      var values = [];\n      var index = 0;\n      var remaining = 1;\n      forOf(iterable, false, function (promise) {\n        var $index = index++;\n        var alreadyCalled = false;\n        values.push(undefined);\n        remaining++;\n        C.resolve(promise).then(function (value) {\n          if (alreadyCalled) return;\n          alreadyCalled = true;\n          values[$index] = value;\n          --remaining || resolve(values);\n        }, reject);\n      });\n      --remaining || resolve(values);\n    });\n    if (result.e) reject(result.v);\n    return capability.promise;\n  },\n  // 25.4.4.4 Promise.race(iterable)\n  race: function race(iterable) {\n    var C = this;\n    var capability = newPromiseCapability(C);\n    var reject = capability.reject;\n    var result = perform(function () {\n      forOf(iterable, false, function (promise) {\n        C.resolve(promise).then(capability.resolve, reject);\n      });\n    });\n    if (result.e) reject(result.v);\n    return capability.promise;\n  }\n});\n\n},{\"114\":114,\"115\":115,\"117\":117,\"123\":123,\"124\":124,\"127\":127,\"136\":136,\"148\":148,\"152\":152,\"33\":33,\"37\":37,\"47\":47,\"52\":52,\"54\":54,\"62\":62,\"68\":68,\"70\":70,\"81\":81,\"86\":86,\"89\":89,\"95\":95,\"96\":96}],233:[function(_dereq_,module,exports){\n// 26.1.1 Reflect.apply(target, thisArgument, argumentsList)\nvar $export = _dereq_(62);\nvar aFunction = _dereq_(33);\nvar anObject = _dereq_(38);\nvar rApply = (_dereq_(70).Reflect || {}).apply;\nvar fApply = Function.apply;\n// MS Edge argumentsList argument is optional\n$export($export.S + $export.F * !_dereq_(64)(function () {\n  rApply(function () { /* empty */ });\n}), 'Reflect', {\n  apply: function apply(target, thisArgument, argumentsList) {\n    var T = aFunction(target);\n    var L = anObject(argumentsList);\n    return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L);\n  }\n});\n\n},{\"33\":33,\"38\":38,\"62\":62,\"64\":64,\"70\":70}],234:[function(_dereq_,module,exports){\n// 26.1.2 Reflect.construct(target, argumentsList [, newTarget])\nvar $export = _dereq_(62);\nvar create = _dereq_(98);\nvar aFunction = _dereq_(33);\nvar anObject = _dereq_(38);\nvar isObject = _dereq_(81);\nvar fails = _dereq_(64);\nvar bind = _dereq_(46);\nvar rConstruct = (_dereq_(70).Reflect || {}).construct;\n\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\nvar NEW_TARGET_BUG = fails(function () {\n  function F() { /* empty */ }\n  return !(rConstruct(function () { /* empty */ }, [], F) instanceof F);\n});\nvar ARGS_BUG = !fails(function () {\n  rConstruct(function () { /* empty */ });\n});\n\n$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', {\n  construct: function construct(Target, args /* , newTarget */) {\n    aFunction(Target);\n    anObject(args);\n    var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);\n    if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget);\n    if (Target == newTarget) {\n      // w/o altered newTarget, optimization for 0-4 arguments\n      switch (args.length) {\n        case 0: return new Target();\n        case 1: return new Target(args[0]);\n        case 2: return new Target(args[0], args[1]);\n        case 3: return new Target(args[0], args[1], args[2]);\n        case 4: return new Target(args[0], args[1], args[2], args[3]);\n      }\n      // w/o altered newTarget, lot of arguments case\n      var $args = [null];\n      $args.push.apply($args, args);\n      return new (bind.apply(Target, $args))();\n    }\n    // with altered newTarget, not support built-in constructors\n    var proto = newTarget.prototype;\n    var instance = create(isObject(proto) ? proto : Object.prototype);\n    var result = Function.apply.call(Target, instance, args);\n    return isObject(result) ? result : instance;\n  }\n});\n\n},{\"33\":33,\"38\":38,\"46\":46,\"62\":62,\"64\":64,\"70\":70,\"81\":81,\"98\":98}],235:[function(_dereq_,module,exports){\n// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)\nvar dP = _dereq_(99);\nvar $export = _dereq_(62);\nvar anObject = _dereq_(38);\nvar toPrimitive = _dereq_(143);\n\n// MS Edge has broken Reflect.defineProperty - throwing instead of returning false\n$export($export.S + $export.F * _dereq_(64)(function () {\n  // eslint-disable-next-line no-undef\n  Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 });\n}), 'Reflect', {\n  defineProperty: function defineProperty(target, propertyKey, attributes) {\n    anObject(target);\n    propertyKey = toPrimitive(propertyKey, true);\n    anObject(attributes);\n    try {\n      dP.f(target, propertyKey, attributes);\n      return true;\n    } catch (e) {\n      return false;\n    }\n  }\n});\n\n},{\"143\":143,\"38\":38,\"62\":62,\"64\":64,\"99\":99}],236:[function(_dereq_,module,exports){\n// 26.1.4 Reflect.deleteProperty(target, propertyKey)\nvar $export = _dereq_(62);\nvar gOPD = _dereq_(101).f;\nvar anObject = _dereq_(38);\n\n$export($export.S, 'Reflect', {\n  deleteProperty: function deleteProperty(target, propertyKey) {\n    var desc = gOPD(anObject(target), propertyKey);\n    return desc && !desc.configurable ? false : delete target[propertyKey];\n  }\n});\n\n},{\"101\":101,\"38\":38,\"62\":62}],237:[function(_dereq_,module,exports){\n'use strict';\n// 26.1.5 Reflect.enumerate(target)\nvar $export = _dereq_(62);\nvar anObject = _dereq_(38);\nvar Enumerate = function (iterated) {\n  this._t = anObject(iterated); // target\n  this._i = 0;                  // next index\n  var keys = this._k = [];      // keys\n  var key;\n  for (key in iterated) keys.push(key);\n};\n_dereq_(84)(Enumerate, 'Object', function () {\n  var that = this;\n  var keys = that._k;\n  var key;\n  do {\n    if (that._i >= keys.length) return { value: undefined, done: true };\n  } while (!((key = keys[that._i++]) in that._t));\n  return { value: key, done: false };\n});\n\n$export($export.S, 'Reflect', {\n  enumerate: function enumerate(target) {\n    return new Enumerate(target);\n  }\n});\n\n},{\"38\":38,\"62\":62,\"84\":84}],238:[function(_dereq_,module,exports){\n// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)\nvar gOPD = _dereq_(101);\nvar $export = _dereq_(62);\nvar anObject = _dereq_(38);\n\n$export($export.S, 'Reflect', {\n  getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) {\n    return gOPD.f(anObject(target), propertyKey);\n  }\n});\n\n},{\"101\":101,\"38\":38,\"62\":62}],239:[function(_dereq_,module,exports){\n// 26.1.8 Reflect.getPrototypeOf(target)\nvar $export = _dereq_(62);\nvar getProto = _dereq_(105);\nvar anObject = _dereq_(38);\n\n$export($export.S, 'Reflect', {\n  getPrototypeOf: function getPrototypeOf(target) {\n    return getProto(anObject(target));\n  }\n});\n\n},{\"105\":105,\"38\":38,\"62\":62}],240:[function(_dereq_,module,exports){\n// 26.1.6 Reflect.get(target, propertyKey [, receiver])\nvar gOPD = _dereq_(101);\nvar getPrototypeOf = _dereq_(105);\nvar has = _dereq_(71);\nvar $export = _dereq_(62);\nvar isObject = _dereq_(81);\nvar anObject = _dereq_(38);\n\nfunction get(target, propertyKey /* , receiver */) {\n  var receiver = arguments.length < 3 ? target : arguments[2];\n  var desc, proto;\n  if (anObject(target) === receiver) return target[propertyKey];\n  if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value')\n    ? desc.value\n    : desc.get !== undefined\n      ? desc.get.call(receiver)\n      : undefined;\n  if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver);\n}\n\n$export($export.S, 'Reflect', { get: get });\n\n},{\"101\":101,\"105\":105,\"38\":38,\"62\":62,\"71\":71,\"81\":81}],241:[function(_dereq_,module,exports){\n// 26.1.9 Reflect.has(target, propertyKey)\nvar $export = _dereq_(62);\n\n$export($export.S, 'Reflect', {\n  has: function has(target, propertyKey) {\n    return propertyKey in target;\n  }\n});\n\n},{\"62\":62}],242:[function(_dereq_,module,exports){\n// 26.1.10 Reflect.isExtensible(target)\nvar $export = _dereq_(62);\nvar anObject = _dereq_(38);\nvar $isExtensible = Object.isExtensible;\n\n$export($export.S, 'Reflect', {\n  isExtensible: function isExtensible(target) {\n    anObject(target);\n    return $isExtensible ? $isExtensible(target) : true;\n  }\n});\n\n},{\"38\":38,\"62\":62}],243:[function(_dereq_,module,exports){\n// 26.1.11 Reflect.ownKeys(target)\nvar $export = _dereq_(62);\n\n$export($export.S, 'Reflect', { ownKeys: _dereq_(111) });\n\n},{\"111\":111,\"62\":62}],244:[function(_dereq_,module,exports){\n// 26.1.12 Reflect.preventExtensions(target)\nvar $export = _dereq_(62);\nvar anObject = _dereq_(38);\nvar $preventExtensions = Object.preventExtensions;\n\n$export($export.S, 'Reflect', {\n  preventExtensions: function preventExtensions(target) {\n    anObject(target);\n    try {\n      if ($preventExtensions) $preventExtensions(target);\n      return true;\n    } catch (e) {\n      return false;\n    }\n  }\n});\n\n},{\"38\":38,\"62\":62}],245:[function(_dereq_,module,exports){\n// 26.1.14 Reflect.setPrototypeOf(target, proto)\nvar $export = _dereq_(62);\nvar setProto = _dereq_(122);\n\nif (setProto) $export($export.S, 'Reflect', {\n  setPrototypeOf: function setPrototypeOf(target, proto) {\n    setProto.check(target, proto);\n    try {\n      setProto.set(target, proto);\n      return true;\n    } catch (e) {\n      return false;\n    }\n  }\n});\n\n},{\"122\":122,\"62\":62}],246:[function(_dereq_,module,exports){\n// 26.1.13 Reflect.set(target, propertyKey, V [, receiver])\nvar dP = _dereq_(99);\nvar gOPD = _dereq_(101);\nvar getPrototypeOf = _dereq_(105);\nvar has = _dereq_(71);\nvar $export = _dereq_(62);\nvar createDesc = _dereq_(116);\nvar anObject = _dereq_(38);\nvar isObject = _dereq_(81);\n\nfunction set(target, propertyKey, V /* , receiver */) {\n  var receiver = arguments.length < 4 ? target : arguments[3];\n  var ownDesc = gOPD.f(anObject(target), propertyKey);\n  var existingDescriptor, proto;\n  if (!ownDesc) {\n    if (isObject(proto = getPrototypeOf(target))) {\n      return set(proto, propertyKey, V, receiver);\n    }\n    ownDesc = createDesc(0);\n  }\n  if (has(ownDesc, 'value')) {\n    if (ownDesc.writable === false || !isObject(receiver)) return false;\n    if (existingDescriptor = gOPD.f(receiver, propertyKey)) {\n      if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false;\n      existingDescriptor.value = V;\n      dP.f(receiver, propertyKey, existingDescriptor);\n    } else dP.f(receiver, propertyKey, createDesc(0, V));\n    return true;\n  }\n  return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);\n}\n\n$export($export.S, 'Reflect', { set: set });\n\n},{\"101\":101,\"105\":105,\"116\":116,\"38\":38,\"62\":62,\"71\":71,\"81\":81,\"99\":99}],247:[function(_dereq_,module,exports){\nvar global = _dereq_(70);\nvar inheritIfRequired = _dereq_(75);\nvar dP = _dereq_(99).f;\nvar gOPN = _dereq_(103).f;\nvar isRegExp = _dereq_(82);\nvar $flags = _dereq_(66);\nvar $RegExp = global.RegExp;\nvar Base = $RegExp;\nvar proto = $RegExp.prototype;\nvar re1 = /a/g;\nvar re2 = /a/g;\n// \"new\" creates a new object, old webkit buggy here\nvar CORRECT_NEW = new $RegExp(re1) !== re1;\n\nif (_dereq_(58) && (!CORRECT_NEW || _dereq_(64)(function () {\n  re2[_dereq_(152)('match')] = false;\n  // RegExp constructor can alter flags and IsRegExp works correct with @@match\n  return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';\n}))) {\n  $RegExp = function RegExp(p, f) {\n    var tiRE = this instanceof $RegExp;\n    var piRE = isRegExp(p);\n    var fiU = f === undefined;\n    return !tiRE && piRE && p.constructor === $RegExp && fiU ? p\n      : inheritIfRequired(CORRECT_NEW\n        ? new Base(piRE && !fiU ? p.source : p, f)\n        : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)\n      , tiRE ? this : proto, $RegExp);\n  };\n  var proxy = function (key) {\n    key in $RegExp || dP($RegExp, key, {\n      configurable: true,\n      get: function () { return Base[key]; },\n      set: function (it) { Base[key] = it; }\n    });\n  };\n  for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]);\n  proto.constructor = $RegExp;\n  $RegExp.prototype = proto;\n  _dereq_(118)(global, 'RegExp', $RegExp);\n}\n\n_dereq_(123)('RegExp');\n\n},{\"103\":103,\"118\":118,\"123\":123,\"152\":152,\"58\":58,\"64\":64,\"66\":66,\"70\":70,\"75\":75,\"82\":82,\"99\":99}],248:[function(_dereq_,module,exports){\n'use strict';\nvar regexpExec = _dereq_(120);\n_dereq_(62)({\n  target: 'RegExp',\n  proto: true,\n  forced: regexpExec !== /./.exec\n}, {\n  exec: regexpExec\n});\n\n},{\"120\":120,\"62\":62}],249:[function(_dereq_,module,exports){\n// 21.2.5.3 get RegExp.prototype.flags()\nif (_dereq_(58) && /./g.flags != 'g') _dereq_(99).f(RegExp.prototype, 'flags', {\n  configurable: true,\n  get: _dereq_(66)\n});\n\n},{\"58\":58,\"66\":66,\"99\":99}],250:[function(_dereq_,module,exports){\n'use strict';\n\nvar anObject = _dereq_(38);\nvar toLength = _dereq_(141);\nvar advanceStringIndex = _dereq_(36);\nvar regExpExec = _dereq_(119);\n\n// @@match logic\n_dereq_(65)('match', 1, function (defined, MATCH, $match, maybeCallNative) {\n  return [\n    // `String.prototype.match` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.match\n    function match(regexp) {\n      var O = defined(this);\n      var fn = regexp == undefined ? undefined : regexp[MATCH];\n      return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));\n    },\n    // `RegExp.prototype[@@match]` method\n    // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match\n    function (regexp) {\n      var res = maybeCallNative($match, regexp, this);\n      if (res.done) return res.value;\n      var rx = anObject(regexp);\n      var S = String(this);\n      if (!rx.global) return regExpExec(rx, S);\n      var fullUnicode = rx.unicode;\n      rx.lastIndex = 0;\n      var A = [];\n      var n = 0;\n      var result;\n      while ((result = regExpExec(rx, S)) !== null) {\n        var matchStr = String(result[0]);\n        A[n] = matchStr;\n        if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n        n++;\n      }\n      return n === 0 ? null : A;\n    }\n  ];\n});\n\n},{\"119\":119,\"141\":141,\"36\":36,\"38\":38,\"65\":65}],251:[function(_dereq_,module,exports){\n'use strict';\n\nvar anObject = _dereq_(38);\nvar toObject = _dereq_(142);\nvar toLength = _dereq_(141);\nvar toInteger = _dereq_(139);\nvar advanceStringIndex = _dereq_(36);\nvar regExpExec = _dereq_(119);\nvar max = Math.max;\nvar min = Math.min;\nvar floor = Math.floor;\nvar SUBSTITUTION_SYMBOLS = /\\$([$&`']|\\d\\d?|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&`']|\\d\\d?)/g;\n\nvar maybeToString = function (it) {\n  return it === undefined ? it : String(it);\n};\n\n// @@replace logic\n_dereq_(65)('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) {\n  return [\n    // `String.prototype.replace` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.replace\n    function replace(searchValue, replaceValue) {\n      var O = defined(this);\n      var fn = searchValue == undefined ? undefined : searchValue[REPLACE];\n      return fn !== undefined\n        ? fn.call(searchValue, O, replaceValue)\n        : $replace.call(String(O), searchValue, replaceValue);\n    },\n    // `RegExp.prototype[@@replace]` method\n    // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace\n    function (regexp, replaceValue) {\n      var res = maybeCallNative($replace, regexp, this, replaceValue);\n      if (res.done) return res.value;\n\n      var rx = anObject(regexp);\n      var S = String(this);\n      var functionalReplace = typeof replaceValue === 'function';\n      if (!functionalReplace) replaceValue = String(replaceValue);\n      var global = rx.global;\n      if (global) {\n        var fullUnicode = rx.unicode;\n        rx.lastIndex = 0;\n      }\n      var results = [];\n      while (true) {\n        var result = regExpExec(rx, S);\n        if (result === null) break;\n        results.push(result);\n        if (!global) break;\n        var matchStr = String(result[0]);\n        if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n      }\n      var accumulatedResult = '';\n      var nextSourcePosition = 0;\n      for (var i = 0; i < results.length; i++) {\n        result = results[i];\n        var matched = String(result[0]);\n        var position = max(min(toInteger(result.index), S.length), 0);\n        var captures = [];\n        // NOTE: This is equivalent to\n        //   captures = result.slice(1).map(maybeToString)\n        // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n        // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n        // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n        for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));\n        var namedCaptures = result.groups;\n        if (functionalReplace) {\n          var replacerArgs = [matched].concat(captures, position, S);\n          if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);\n          var replacement = String(replaceValue.apply(undefined, replacerArgs));\n        } else {\n          replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n        }\n        if (position >= nextSourcePosition) {\n          accumulatedResult += S.slice(nextSourcePosition, position) + replacement;\n          nextSourcePosition = position + matched.length;\n        }\n      }\n      return accumulatedResult + S.slice(nextSourcePosition);\n    }\n  ];\n\n    // https://tc39.github.io/ecma262/#sec-getsubstitution\n  function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {\n    var tailPos = position + matched.length;\n    var m = captures.length;\n    var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n    if (namedCaptures !== undefined) {\n      namedCaptures = toObject(namedCaptures);\n      symbols = SUBSTITUTION_SYMBOLS;\n    }\n    return $replace.call(replacement, symbols, function (match, ch) {\n      var capture;\n      switch (ch.charAt(0)) {\n        case '$': return '$';\n        case '&': return matched;\n        case '`': return str.slice(0, position);\n        case \"'\": return str.slice(tailPos);\n        case '<':\n          capture = namedCaptures[ch.slice(1, -1)];\n          break;\n        default: // \\d\\d?\n          var n = +ch;\n          if (n === 0) return match;\n          if (n > m) {\n            var f = floor(n / 10);\n            if (f === 0) return match;\n            if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);\n            return match;\n          }\n          capture = captures[n - 1];\n      }\n      return capture === undefined ? '' : capture;\n    });\n  }\n});\n\n},{\"119\":119,\"139\":139,\"141\":141,\"142\":142,\"36\":36,\"38\":38,\"65\":65}],252:[function(_dereq_,module,exports){\n'use strict';\n\nvar anObject = _dereq_(38);\nvar sameValue = _dereq_(121);\nvar regExpExec = _dereq_(119);\n\n// @@search logic\n_dereq_(65)('search', 1, function (defined, SEARCH, $search, maybeCallNative) {\n  return [\n    // `String.prototype.search` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.search\n    function search(regexp) {\n      var O = defined(this);\n      var fn = regexp == undefined ? undefined : regexp[SEARCH];\n      return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));\n    },\n    // `RegExp.prototype[@@search]` method\n    // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search\n    function (regexp) {\n      var res = maybeCallNative($search, regexp, this);\n      if (res.done) return res.value;\n      var rx = anObject(regexp);\n      var S = String(this);\n      var previousLastIndex = rx.lastIndex;\n      if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;\n      var result = regExpExec(rx, S);\n      if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;\n      return result === null ? -1 : result.index;\n    }\n  ];\n});\n\n},{\"119\":119,\"121\":121,\"38\":38,\"65\":65}],253:[function(_dereq_,module,exports){\n'use strict';\n\nvar isRegExp = _dereq_(82);\nvar anObject = _dereq_(38);\nvar speciesConstructor = _dereq_(127);\nvar advanceStringIndex = _dereq_(36);\nvar toLength = _dereq_(141);\nvar callRegExpExec = _dereq_(119);\nvar regexpExec = _dereq_(120);\nvar fails = _dereq_(64);\nvar $min = Math.min;\nvar $push = [].push;\nvar $SPLIT = 'split';\nvar LENGTH = 'length';\nvar LAST_INDEX = 'lastIndex';\nvar MAX_UINT32 = 0xffffffff;\n\n// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError\nvar SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); });\n\n// @@split logic\n_dereq_(65)('split', 2, function (defined, SPLIT, $split, maybeCallNative) {\n  var internalSplit;\n  if (\n    'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||\n    'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||\n    'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||\n    '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||\n    '.'[$SPLIT](/()()/)[LENGTH] > 1 ||\n    ''[$SPLIT](/.?/)[LENGTH]\n  ) {\n    // based on es5-shim implementation, need to rework it\n    internalSplit = function (separator, limit) {\n      var string = String(this);\n      if (separator === undefined && limit === 0) return [];\n      // If `separator` is not a regex, use native split\n      if (!isRegExp(separator)) return $split.call(string, separator, limit);\n      var output = [];\n      var flags = (separator.ignoreCase ? 'i' : '') +\n                  (separator.multiline ? 'm' : '') +\n                  (separator.unicode ? 'u' : '') +\n                  (separator.sticky ? 'y' : '');\n      var lastLastIndex = 0;\n      var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0;\n      // Make `global` and avoid `lastIndex` issues by working with a copy\n      var separatorCopy = new RegExp(separator.source, flags + 'g');\n      var match, lastIndex, lastLength;\n      while (match = regexpExec.call(separatorCopy, string)) {\n        lastIndex = separatorCopy[LAST_INDEX];\n        if (lastIndex > lastLastIndex) {\n          output.push(string.slice(lastLastIndex, match.index));\n          if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));\n          lastLength = match[0][LENGTH];\n          lastLastIndex = lastIndex;\n          if (output[LENGTH] >= splitLimit) break;\n        }\n        if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop\n      }\n      if (lastLastIndex === string[LENGTH]) {\n        if (lastLength || !separatorCopy.test('')) output.push('');\n      } else output.push(string.slice(lastLastIndex));\n      return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;\n    };\n  // Chakra, V8\n  } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) {\n    internalSplit = function (separator, limit) {\n      return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit);\n    };\n  } else {\n    internalSplit = $split;\n  }\n\n  return [\n    // `String.prototype.split` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.split\n    function split(separator, limit) {\n      var O = defined(this);\n      var splitter = separator == undefined ? undefined : separator[SPLIT];\n      return splitter !== undefined\n        ? splitter.call(separator, O, limit)\n        : internalSplit.call(String(O), separator, limit);\n    },\n    // `RegExp.prototype[@@split]` method\n    // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split\n    //\n    // NOTE: This cannot be properly polyfilled in engines that don't support\n    // the 'y' flag.\n    function (regexp, limit) {\n      var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split);\n      if (res.done) return res.value;\n\n      var rx = anObject(regexp);\n      var S = String(this);\n      var C = speciesConstructor(rx, RegExp);\n\n      var unicodeMatching = rx.unicode;\n      var flags = (rx.ignoreCase ? 'i' : '') +\n                  (rx.multiline ? 'm' : '') +\n                  (rx.unicode ? 'u' : '') +\n                  (SUPPORTS_Y ? 'y' : 'g');\n\n      // ^(? + rx + ) is needed, in combination with some S slicing, to\n      // simulate the 'y' flag.\n      var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);\n      var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n      if (lim === 0) return [];\n      if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n      var p = 0;\n      var q = 0;\n      var A = [];\n      while (q < S.length) {\n        splitter.lastIndex = SUPPORTS_Y ? q : 0;\n        var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));\n        var e;\n        if (\n          z === null ||\n          (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p\n        ) {\n          q = advanceStringIndex(S, q, unicodeMatching);\n        } else {\n          A.push(S.slice(p, q));\n          if (A.length === lim) return A;\n          for (var i = 1; i <= z.length - 1; i++) {\n            A.push(z[i]);\n            if (A.length === lim) return A;\n          }\n          q = p = e;\n        }\n      }\n      A.push(S.slice(p));\n      return A;\n    }\n  ];\n});\n\n},{\"119\":119,\"120\":120,\"127\":127,\"141\":141,\"36\":36,\"38\":38,\"64\":64,\"65\":65,\"82\":82}],254:[function(_dereq_,module,exports){\n'use strict';\n_dereq_(249);\nvar anObject = _dereq_(38);\nvar $flags = _dereq_(66);\nvar DESCRIPTORS = _dereq_(58);\nvar TO_STRING = 'toString';\nvar $toString = /./[TO_STRING];\n\nvar define = function (fn) {\n  _dereq_(118)(RegExp.prototype, TO_STRING, fn, true);\n};\n\n// 21.2.5.14 RegExp.prototype.toString()\nif (_dereq_(64)(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {\n  define(function toString() {\n    var R = anObject(this);\n    return '/'.concat(R.source, '/',\n      'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);\n  });\n// FF44- RegExp#toString has a wrong name\n} else if ($toString.name != TO_STRING) {\n  define(function toString() {\n    return $toString.call(this);\n  });\n}\n\n},{\"118\":118,\"249\":249,\"38\":38,\"58\":58,\"64\":64,\"66\":66}],255:[function(_dereq_,module,exports){\n'use strict';\nvar strong = _dereq_(49);\nvar validate = _dereq_(149);\nvar SET = 'Set';\n\n// 23.2 Set Objects\nmodule.exports = _dereq_(51)(SET, function (get) {\n  return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n  // 23.2.3.1 Set.prototype.add(value)\n  add: function add(value) {\n    return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value);\n  }\n}, strong);\n\n},{\"149\":149,\"49\":49,\"51\":51}],256:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.2 String.prototype.anchor(name)\n_dereq_(131)('anchor', function (createHTML) {\n  return function anchor(name) {\n    return createHTML(this, 'a', 'name', name);\n  };\n});\n\n},{\"131\":131}],257:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.3 String.prototype.big()\n_dereq_(131)('big', function (createHTML) {\n  return function big() {\n    return createHTML(this, 'big', '', '');\n  };\n});\n\n},{\"131\":131}],258:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.4 String.prototype.blink()\n_dereq_(131)('blink', function (createHTML) {\n  return function blink() {\n    return createHTML(this, 'blink', '', '');\n  };\n});\n\n},{\"131\":131}],259:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.5 String.prototype.bold()\n_dereq_(131)('bold', function (createHTML) {\n  return function bold() {\n    return createHTML(this, 'b', '', '');\n  };\n});\n\n},{\"131\":131}],260:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(62);\nvar $at = _dereq_(129)(false);\n$export($export.P, 'String', {\n  // 21.1.3.3 String.prototype.codePointAt(pos)\n  codePointAt: function codePointAt(pos) {\n    return $at(this, pos);\n  }\n});\n\n},{\"129\":129,\"62\":62}],261:[function(_dereq_,module,exports){\n// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])\n'use strict';\nvar $export = _dereq_(62);\nvar toLength = _dereq_(141);\nvar context = _dereq_(130);\nvar ENDS_WITH = 'endsWith';\nvar $endsWith = ''[ENDS_WITH];\n\n$export($export.P + $export.F * _dereq_(63)(ENDS_WITH), 'String', {\n  endsWith: function endsWith(searchString /* , endPosition = @length */) {\n    var that = context(this, searchString, ENDS_WITH);\n    var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n    var len = toLength(that.length);\n    var end = endPosition === undefined ? len : Math.min(toLength(endPosition), len);\n    var search = String(searchString);\n    return $endsWith\n      ? $endsWith.call(that, search, end)\n      : that.slice(end - search.length, end) === search;\n  }\n});\n\n},{\"130\":130,\"141\":141,\"62\":62,\"63\":63}],262:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.6 String.prototype.fixed()\n_dereq_(131)('fixed', function (createHTML) {\n  return function fixed() {\n    return createHTML(this, 'tt', '', '');\n  };\n});\n\n},{\"131\":131}],263:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.7 String.prototype.fontcolor(color)\n_dereq_(131)('fontcolor', function (createHTML) {\n  return function fontcolor(color) {\n    return createHTML(this, 'font', 'color', color);\n  };\n});\n\n},{\"131\":131}],264:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.8 String.prototype.fontsize(size)\n_dereq_(131)('fontsize', function (createHTML) {\n  return function fontsize(size) {\n    return createHTML(this, 'font', 'size', size);\n  };\n});\n\n},{\"131\":131}],265:[function(_dereq_,module,exports){\nvar $export = _dereq_(62);\nvar toAbsoluteIndex = _dereq_(137);\nvar fromCharCode = String.fromCharCode;\nvar $fromCodePoint = String.fromCodePoint;\n\n// length should be 1, old FF problem\n$export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', {\n  // 21.1.2.2 String.fromCodePoint(...codePoints)\n  fromCodePoint: function fromCodePoint(x) { // eslint-disable-line no-unused-vars\n    var res = [];\n    var aLen = arguments.length;\n    var i = 0;\n    var code;\n    while (aLen > i) {\n      code = +arguments[i++];\n      if (toAbsoluteIndex(code, 0x10ffff) !== code) throw RangeError(code + ' is not a valid code point');\n      res.push(code < 0x10000\n        ? fromCharCode(code)\n        : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00)\n      );\n    } return res.join('');\n  }\n});\n\n},{\"137\":137,\"62\":62}],266:[function(_dereq_,module,exports){\n// 21.1.3.7 String.prototype.includes(searchString, position = 0)\n'use strict';\nvar $export = _dereq_(62);\nvar context = _dereq_(130);\nvar INCLUDES = 'includes';\n\n$export($export.P + $export.F * _dereq_(63)(INCLUDES), 'String', {\n  includes: function includes(searchString /* , position = 0 */) {\n    return !!~context(this, searchString, INCLUDES)\n      .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n\n},{\"130\":130,\"62\":62,\"63\":63}],267:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.9 String.prototype.italics()\n_dereq_(131)('italics', function (createHTML) {\n  return function italics() {\n    return createHTML(this, 'i', '', '');\n  };\n});\n\n},{\"131\":131}],268:[function(_dereq_,module,exports){\n'use strict';\nvar $at = _dereq_(129)(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\n_dereq_(85)(String, 'String', function (iterated) {\n  this._t = String(iterated); // target\n  this._i = 0;                // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function () {\n  var O = this._t;\n  var index = this._i;\n  var point;\n  if (index >= O.length) return { value: undefined, done: true };\n  point = $at(O, index);\n  this._i += point.length;\n  return { value: point, done: false };\n});\n\n},{\"129\":129,\"85\":85}],269:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.10 String.prototype.link(url)\n_dereq_(131)('link', function (createHTML) {\n  return function link(url) {\n    return createHTML(this, 'a', 'href', url);\n  };\n});\n\n},{\"131\":131}],270:[function(_dereq_,module,exports){\nvar $export = _dereq_(62);\nvar toIObject = _dereq_(140);\nvar toLength = _dereq_(141);\n\n$export($export.S, 'String', {\n  // 21.1.2.4 String.raw(callSite, ...substitutions)\n  raw: function raw(callSite) {\n    var tpl = toIObject(callSite.raw);\n    var len = toLength(tpl.length);\n    var aLen = arguments.length;\n    var res = [];\n    var i = 0;\n    while (len > i) {\n      res.push(String(tpl[i++]));\n      if (i < aLen) res.push(String(arguments[i]));\n    } return res.join('');\n  }\n});\n\n},{\"140\":140,\"141\":141,\"62\":62}],271:[function(_dereq_,module,exports){\nvar $export = _dereq_(62);\n\n$export($export.P, 'String', {\n  // 21.1.3.13 String.prototype.repeat(count)\n  repeat: _dereq_(133)\n});\n\n},{\"133\":133,\"62\":62}],272:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.11 String.prototype.small()\n_dereq_(131)('small', function (createHTML) {\n  return function small() {\n    return createHTML(this, 'small', '', '');\n  };\n});\n\n},{\"131\":131}],273:[function(_dereq_,module,exports){\n// 21.1.3.18 String.prototype.startsWith(searchString [, position ])\n'use strict';\nvar $export = _dereq_(62);\nvar toLength = _dereq_(141);\nvar context = _dereq_(130);\nvar STARTS_WITH = 'startsWith';\nvar $startsWith = ''[STARTS_WITH];\n\n$export($export.P + $export.F * _dereq_(63)(STARTS_WITH), 'String', {\n  startsWith: function startsWith(searchString /* , position = 0 */) {\n    var that = context(this, searchString, STARTS_WITH);\n    var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n    var search = String(searchString);\n    return $startsWith\n      ? $startsWith.call(that, search, index)\n      : that.slice(index, index + search.length) === search;\n  }\n});\n\n},{\"130\":130,\"141\":141,\"62\":62,\"63\":63}],274:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.12 String.prototype.strike()\n_dereq_(131)('strike', function (createHTML) {\n  return function strike() {\n    return createHTML(this, 'strike', '', '');\n  };\n});\n\n},{\"131\":131}],275:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.13 String.prototype.sub()\n_dereq_(131)('sub', function (createHTML) {\n  return function sub() {\n    return createHTML(this, 'sub', '', '');\n  };\n});\n\n},{\"131\":131}],276:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.14 String.prototype.sup()\n_dereq_(131)('sup', function (createHTML) {\n  return function sup() {\n    return createHTML(this, 'sup', '', '');\n  };\n});\n\n},{\"131\":131}],277:[function(_dereq_,module,exports){\n'use strict';\n// 21.1.3.25 String.prototype.trim()\n_dereq_(134)('trim', function ($trim) {\n  return function trim() {\n    return $trim(this, 3);\n  };\n});\n\n},{\"134\":134}],278:[function(_dereq_,module,exports){\n'use strict';\n// ECMAScript 6 symbols shim\nvar global = _dereq_(70);\nvar has = _dereq_(71);\nvar DESCRIPTORS = _dereq_(58);\nvar $export = _dereq_(62);\nvar redefine = _dereq_(118);\nvar META = _dereq_(94).KEY;\nvar $fails = _dereq_(64);\nvar shared = _dereq_(126);\nvar setToStringTag = _dereq_(124);\nvar uid = _dereq_(147);\nvar wks = _dereq_(152);\nvar wksExt = _dereq_(151);\nvar wksDefine = _dereq_(150);\nvar enumKeys = _dereq_(61);\nvar isArray = _dereq_(79);\nvar anObject = _dereq_(38);\nvar isObject = _dereq_(81);\nvar toIObject = _dereq_(140);\nvar toPrimitive = _dereq_(143);\nvar createDesc = _dereq_(116);\nvar _create = _dereq_(98);\nvar gOPNExt = _dereq_(102);\nvar $GOPD = _dereq_(101);\nvar $DP = _dereq_(99);\nvar $keys = _dereq_(107);\nvar gOPD = $GOPD.f;\nvar dP = $DP.f;\nvar gOPN = gOPNExt.f;\nvar $Symbol = global.Symbol;\nvar $JSON = global.JSON;\nvar _stringify = $JSON && $JSON.stringify;\nvar PROTOTYPE = 'prototype';\nvar HIDDEN = wks('_hidden');\nvar TO_PRIMITIVE = wks('toPrimitive');\nvar isEnum = {}.propertyIsEnumerable;\nvar SymbolRegistry = shared('symbol-registry');\nvar AllSymbols = shared('symbols');\nvar OPSymbols = shared('op-symbols');\nvar ObjectProto = Object[PROTOTYPE];\nvar USE_NATIVE = typeof $Symbol == 'function';\nvar QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function () {\n  return _create(dP({}, 'a', {\n    get: function () { return dP(this, 'a', { value: 7 }).a; }\n  })).a != 7;\n}) ? function (it, key, D) {\n  var protoDesc = gOPD(ObjectProto, key);\n  if (protoDesc) delete ObjectProto[key];\n  dP(it, key, D);\n  if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);\n} : dP;\n\nvar wrap = function (tag) {\n  var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n  sym._k = tag;\n  return sym;\n};\n\nvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {\n  return typeof it == 'symbol';\n} : function (it) {\n  return it instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(it, key, D) {\n  if (it === ObjectProto) $defineProperty(OPSymbols, key, D);\n  anObject(it);\n  key = toPrimitive(key, true);\n  anObject(D);\n  if (has(AllSymbols, key)) {\n    if (!D.enumerable) {\n      if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));\n      it[HIDDEN][key] = true;\n    } else {\n      if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;\n      D = _create(D, { enumerable: createDesc(0, false) });\n    } return setSymbolDesc(it, key, D);\n  } return dP(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P) {\n  anObject(it);\n  var keys = enumKeys(P = toIObject(P));\n  var i = 0;\n  var l = keys.length;\n  var key;\n  while (l > i) $defineProperty(it, key = keys[i++], P[key]);\n  return it;\n};\nvar $create = function create(it, P) {\n  return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key) {\n  var E = isEnum.call(this, key = toPrimitive(key, true));\n  if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;\n  return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {\n  it = toIObject(it);\n  key = toPrimitive(key, true);\n  if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;\n  var D = gOPD(it, key);\n  if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;\n  return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it) {\n  var names = gOPN(toIObject(it));\n  var result = [];\n  var i = 0;\n  var key;\n  while (names.length > i) {\n    if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);\n  } return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it) {\n  var IS_OP = it === ObjectProto;\n  var names = gOPN(IS_OP ? OPSymbols : toIObject(it));\n  var result = [];\n  var i = 0;\n  var key;\n  while (names.length > i) {\n    if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);\n  } return result;\n};\n\n// 19.4.1.1 Symbol([description])\nif (!USE_NATIVE) {\n  $Symbol = function Symbol() {\n    if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');\n    var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n    var $set = function (value) {\n      if (this === ObjectProto) $set.call(OPSymbols, value);\n      if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n      setSymbolDesc(this, tag, createDesc(1, value));\n    };\n    if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });\n    return wrap(tag);\n  };\n  redefine($Symbol[PROTOTYPE], 'toString', function toString() {\n    return this._k;\n  });\n\n  $GOPD.f = $getOwnPropertyDescriptor;\n  $DP.f = $defineProperty;\n  _dereq_(103).f = gOPNExt.f = $getOwnPropertyNames;\n  _dereq_(108).f = $propertyIsEnumerable;\n  _dereq_(104).f = $getOwnPropertySymbols;\n\n  if (DESCRIPTORS && !_dereq_(89)) {\n    redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n  }\n\n  wksExt.f = function (name) {\n    return wrap(wks(name));\n  };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });\n\nfor (var es6Symbols = (\n  // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n  'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);\n\nfor (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);\n\n$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n  // 19.4.2.1 Symbol.for(key)\n  'for': function (key) {\n    return has(SymbolRegistry, key += '')\n      ? SymbolRegistry[key]\n      : SymbolRegistry[key] = $Symbol(key);\n  },\n  // 19.4.2.5 Symbol.keyFor(sym)\n  keyFor: function keyFor(sym) {\n    if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');\n    for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;\n  },\n  useSetter: function () { setter = true; },\n  useSimple: function () { setter = false; }\n});\n\n$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n  // 19.1.2.2 Object.create(O [, Properties])\n  create: $create,\n  // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n  defineProperty: $defineProperty,\n  // 19.1.2.3 Object.defineProperties(O, Properties)\n  defineProperties: $defineProperties,\n  // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n  getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n  // 19.1.2.7 Object.getOwnPropertyNames(O)\n  getOwnPropertyNames: $getOwnPropertyNames,\n  // 19.1.2.8 Object.getOwnPropertySymbols(O)\n  getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {\n  var S = $Symbol();\n  // MS Edge converts symbol values to JSON as {}\n  // WebKit converts symbol values to JSON as null\n  // V8 throws on boxed symbols\n  return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';\n})), 'JSON', {\n  stringify: function stringify(it) {\n    var args = [it];\n    var i = 1;\n    var replacer, $replacer;\n    while (arguments.length > i) args.push(arguments[i++]);\n    $replacer = replacer = args[1];\n    if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n    if (!isArray(replacer)) replacer = function (key, value) {\n      if (typeof $replacer == 'function') value = $replacer.call(this, key, value);\n      if (!isSymbol(value)) return value;\n    };\n    args[1] = replacer;\n    return _stringify.apply($JSON, args);\n  }\n});\n\n// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n$Symbol[PROTOTYPE][TO_PRIMITIVE] || _dereq_(72)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n\n},{\"101\":101,\"102\":102,\"103\":103,\"104\":104,\"107\":107,\"108\":108,\"116\":116,\"118\":118,\"124\":124,\"126\":126,\"140\":140,\"143\":143,\"147\":147,\"150\":150,\"151\":151,\"152\":152,\"38\":38,\"58\":58,\"61\":61,\"62\":62,\"64\":64,\"70\":70,\"71\":71,\"72\":72,\"79\":79,\"81\":81,\"89\":89,\"94\":94,\"98\":98,\"99\":99}],279:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(62);\nvar $typed = _dereq_(146);\nvar buffer = _dereq_(145);\nvar anObject = _dereq_(38);\nvar toAbsoluteIndex = _dereq_(137);\nvar toLength = _dereq_(141);\nvar isObject = _dereq_(81);\nvar ArrayBuffer = _dereq_(70).ArrayBuffer;\nvar speciesConstructor = _dereq_(127);\nvar $ArrayBuffer = buffer.ArrayBuffer;\nvar $DataView = buffer.DataView;\nvar $isView = $typed.ABV && ArrayBuffer.isView;\nvar $slice = $ArrayBuffer.prototype.slice;\nvar VIEW = $typed.VIEW;\nvar ARRAY_BUFFER = 'ArrayBuffer';\n\n$export($export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), { ArrayBuffer: $ArrayBuffer });\n\n$export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, {\n  // 24.1.3.1 ArrayBuffer.isView(arg)\n  isView: function isView(it) {\n    return $isView && $isView(it) || isObject(it) && VIEW in it;\n  }\n});\n\n$export($export.P + $export.U + $export.F * _dereq_(64)(function () {\n  return !new $ArrayBuffer(2).slice(1, undefined).byteLength;\n}), ARRAY_BUFFER, {\n  // 24.1.4.3 ArrayBuffer.prototype.slice(start, end)\n  slice: function slice(start, end) {\n    if ($slice !== undefined && end === undefined) return $slice.call(anObject(this), start); // FF fix\n    var len = anObject(this).byteLength;\n    var first = toAbsoluteIndex(start, len);\n    var fin = toAbsoluteIndex(end === undefined ? len : end, len);\n    var result = new (speciesConstructor(this, $ArrayBuffer))(toLength(fin - first));\n    var viewS = new $DataView(this);\n    var viewT = new $DataView(result);\n    var index = 0;\n    while (first < fin) {\n      viewT.setUint8(index++, viewS.getUint8(first++));\n    } return result;\n  }\n});\n\n_dereq_(123)(ARRAY_BUFFER);\n\n},{\"123\":123,\"127\":127,\"137\":137,\"141\":141,\"145\":145,\"146\":146,\"38\":38,\"62\":62,\"64\":64,\"70\":70,\"81\":81}],280:[function(_dereq_,module,exports){\nvar $export = _dereq_(62);\n$export($export.G + $export.W + $export.F * !_dereq_(146).ABV, {\n  DataView: _dereq_(145).DataView\n});\n\n},{\"145\":145,\"146\":146,\"62\":62}],281:[function(_dereq_,module,exports){\n_dereq_(144)('Float32', 4, function (init) {\n  return function Float32Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n\n},{\"144\":144}],282:[function(_dereq_,module,exports){\n_dereq_(144)('Float64', 8, function (init) {\n  return function Float64Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n\n},{\"144\":144}],283:[function(_dereq_,module,exports){\n_dereq_(144)('Int16', 2, function (init) {\n  return function Int16Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n\n},{\"144\":144}],284:[function(_dereq_,module,exports){\n_dereq_(144)('Int32', 4, function (init) {\n  return function Int32Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n\n},{\"144\":144}],285:[function(_dereq_,module,exports){\n_dereq_(144)('Int8', 1, function (init) {\n  return function Int8Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n\n},{\"144\":144}],286:[function(_dereq_,module,exports){\n_dereq_(144)('Uint16', 2, function (init) {\n  return function Uint16Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n\n},{\"144\":144}],287:[function(_dereq_,module,exports){\n_dereq_(144)('Uint32', 4, function (init) {\n  return function Uint32Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n\n},{\"144\":144}],288:[function(_dereq_,module,exports){\n_dereq_(144)('Uint8', 1, function (init) {\n  return function Uint8Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n\n},{\"144\":144}],289:[function(_dereq_,module,exports){\n_dereq_(144)('Uint8', 1, function (init) {\n  return function Uint8ClampedArray(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n}, true);\n\n},{\"144\":144}],290:[function(_dereq_,module,exports){\n'use strict';\nvar global = _dereq_(70);\nvar each = _dereq_(42)(0);\nvar redefine = _dereq_(118);\nvar meta = _dereq_(94);\nvar assign = _dereq_(97);\nvar weak = _dereq_(50);\nvar isObject = _dereq_(81);\nvar validate = _dereq_(149);\nvar NATIVE_WEAK_MAP = _dereq_(149);\nvar IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;\nvar WEAK_MAP = 'WeakMap';\nvar getWeak = meta.getWeak;\nvar isExtensible = Object.isExtensible;\nvar uncaughtFrozenStore = weak.ufstore;\nvar InternalMap;\n\nvar wrapper = function (get) {\n  return function WeakMap() {\n    return get(this, arguments.length > 0 ? arguments[0] : undefined);\n  };\n};\n\nvar methods = {\n  // 23.3.3.3 WeakMap.prototype.get(key)\n  get: function get(key) {\n    if (isObject(key)) {\n      var data = getWeak(key);\n      if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key);\n      return data ? data[this._i] : undefined;\n    }\n  },\n  // 23.3.3.5 WeakMap.prototype.set(key, value)\n  set: function set(key, value) {\n    return weak.def(validate(this, WEAK_MAP), key, value);\n  }\n};\n\n// 23.3 WeakMap Objects\nvar $WeakMap = module.exports = _dereq_(51)(WEAK_MAP, wrapper, methods, weak, true, true);\n\n// IE11 WeakMap frozen keys fix\nif (NATIVE_WEAK_MAP && IS_IE11) {\n  InternalMap = weak.getConstructor(wrapper, WEAK_MAP);\n  assign(InternalMap.prototype, methods);\n  meta.NEED = true;\n  each(['delete', 'has', 'get', 'set'], function (key) {\n    var proto = $WeakMap.prototype;\n    var method = proto[key];\n    redefine(proto, key, function (a, b) {\n      // store frozen objects on internal weakmap shim\n      if (isObject(a) && !isExtensible(a)) {\n        if (!this._f) this._f = new InternalMap();\n        var result = this._f[key](a, b);\n        return key == 'set' ? this : result;\n      // store all the rest on native weakmap\n      } return method.call(this, a, b);\n    });\n  });\n}\n\n},{\"118\":118,\"149\":149,\"42\":42,\"50\":50,\"51\":51,\"70\":70,\"81\":81,\"94\":94,\"97\":97}],291:[function(_dereq_,module,exports){\n'use strict';\nvar weak = _dereq_(50);\nvar validate = _dereq_(149);\nvar WEAK_SET = 'WeakSet';\n\n// 23.4 WeakSet Objects\n_dereq_(51)(WEAK_SET, function (get) {\n  return function WeakSet() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n  // 23.4.3.1 WeakSet.prototype.add(value)\n  add: function add(value) {\n    return weak.def(validate(this, WEAK_SET), value, true);\n  }\n}, weak, false, true);\n\n},{\"149\":149,\"50\":50,\"51\":51}],292:[function(_dereq_,module,exports){\n'use strict';\n// https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap\nvar $export = _dereq_(62);\nvar flattenIntoArray = _dereq_(67);\nvar toObject = _dereq_(142);\nvar toLength = _dereq_(141);\nvar aFunction = _dereq_(33);\nvar arraySpeciesCreate = _dereq_(45);\n\n$export($export.P, 'Array', {\n  flatMap: function flatMap(callbackfn /* , thisArg */) {\n    var O = toObject(this);\n    var sourceLen, A;\n    aFunction(callbackfn);\n    sourceLen = toLength(O.length);\n    A = arraySpeciesCreate(O, 0);\n    flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments[1]);\n    return A;\n  }\n});\n\n_dereq_(35)('flatMap');\n\n},{\"141\":141,\"142\":142,\"33\":33,\"35\":35,\"45\":45,\"62\":62,\"67\":67}],293:[function(_dereq_,module,exports){\n'use strict';\n// https://github.com/tc39/Array.prototype.includes\nvar $export = _dereq_(62);\nvar $includes = _dereq_(41)(true);\n\n$export($export.P, 'Array', {\n  includes: function includes(el /* , fromIndex = 0 */) {\n    return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n\n_dereq_(35)('includes');\n\n},{\"35\":35,\"41\":41,\"62\":62}],294:[function(_dereq_,module,exports){\n// https://github.com/tc39/proposal-object-values-entries\nvar $export = _dereq_(62);\nvar $entries = _dereq_(110)(true);\n\n$export($export.S, 'Object', {\n  entries: function entries(it) {\n    return $entries(it);\n  }\n});\n\n},{\"110\":110,\"62\":62}],295:[function(_dereq_,module,exports){\n// https://github.com/tc39/proposal-object-getownpropertydescriptors\nvar $export = _dereq_(62);\nvar ownKeys = _dereq_(111);\nvar toIObject = _dereq_(140);\nvar gOPD = _dereq_(101);\nvar createProperty = _dereq_(53);\n\n$export($export.S, 'Object', {\n  getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {\n    var O = toIObject(object);\n    var getDesc = gOPD.f;\n    var keys = ownKeys(O);\n    var result = {};\n    var i = 0;\n    var key, desc;\n    while (keys.length > i) {\n      desc = getDesc(O, key = keys[i++]);\n      if (desc !== undefined) createProperty(result, key, desc);\n    }\n    return result;\n  }\n});\n\n},{\"101\":101,\"111\":111,\"140\":140,\"53\":53,\"62\":62}],296:[function(_dereq_,module,exports){\n// https://github.com/tc39/proposal-object-values-entries\nvar $export = _dereq_(62);\nvar $values = _dereq_(110)(false);\n\n$export($export.S, 'Object', {\n  values: function values(it) {\n    return $values(it);\n  }\n});\n\n},{\"110\":110,\"62\":62}],297:[function(_dereq_,module,exports){\n// https://github.com/tc39/proposal-promise-finally\n'use strict';\nvar $export = _dereq_(62);\nvar core = _dereq_(52);\nvar global = _dereq_(70);\nvar speciesConstructor = _dereq_(127);\nvar promiseResolve = _dereq_(115);\n\n$export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) {\n  var C = speciesConstructor(this, core.Promise || global.Promise);\n  var isFunction = typeof onFinally == 'function';\n  return this.then(\n    isFunction ? function (x) {\n      return promiseResolve(C, onFinally()).then(function () { return x; });\n    } : onFinally,\n    isFunction ? function (e) {\n      return promiseResolve(C, onFinally()).then(function () { throw e; });\n    } : onFinally\n  );\n} });\n\n},{\"115\":115,\"127\":127,\"52\":52,\"62\":62,\"70\":70}],298:[function(_dereq_,module,exports){\n'use strict';\n// https://github.com/tc39/proposal-string-pad-start-end\nvar $export = _dereq_(62);\nvar $pad = _dereq_(132);\nvar userAgent = _dereq_(148);\n\n// https://github.com/zloirock/core-js/issues/280\nvar WEBKIT_BUG = /Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(userAgent);\n\n$export($export.P + $export.F * WEBKIT_BUG, 'String', {\n  padEnd: function padEnd(maxLength /* , fillString = ' ' */) {\n    return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false);\n  }\n});\n\n},{\"132\":132,\"148\":148,\"62\":62}],299:[function(_dereq_,module,exports){\n'use strict';\n// https://github.com/tc39/proposal-string-pad-start-end\nvar $export = _dereq_(62);\nvar $pad = _dereq_(132);\nvar userAgent = _dereq_(148);\n\n// https://github.com/zloirock/core-js/issues/280\nvar WEBKIT_BUG = /Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(userAgent);\n\n$export($export.P + $export.F * WEBKIT_BUG, 'String', {\n  padStart: function padStart(maxLength /* , fillString = ' ' */) {\n    return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);\n  }\n});\n\n},{\"132\":132,\"148\":148,\"62\":62}],300:[function(_dereq_,module,exports){\n'use strict';\n// https://github.com/sebmarkbage/ecmascript-string-left-right-trim\n_dereq_(134)('trimLeft', function ($trim) {\n  return function trimLeft() {\n    return $trim(this, 1);\n  };\n}, 'trimStart');\n\n},{\"134\":134}],301:[function(_dereq_,module,exports){\n'use strict';\n// https://github.com/sebmarkbage/ecmascript-string-left-right-trim\n_dereq_(134)('trimRight', function ($trim) {\n  return function trimRight() {\n    return $trim(this, 2);\n  };\n}, 'trimEnd');\n\n},{\"134\":134}],302:[function(_dereq_,module,exports){\n_dereq_(150)('asyncIterator');\n\n},{\"150\":150}],303:[function(_dereq_,module,exports){\nvar $iterators = _dereq_(164);\nvar getKeys = _dereq_(107);\nvar redefine = _dereq_(118);\nvar global = _dereq_(70);\nvar hide = _dereq_(72);\nvar Iterators = _dereq_(88);\nvar wks = _dereq_(152);\nvar ITERATOR = wks('iterator');\nvar TO_STRING_TAG = wks('toStringTag');\nvar ArrayValues = Iterators.Array;\n\nvar DOMIterables = {\n  CSSRuleList: true, // TODO: Not spec compliant, should be false.\n  CSSStyleDeclaration: false,\n  CSSValueList: false,\n  ClientRectList: false,\n  DOMRectList: false,\n  DOMStringList: false,\n  DOMTokenList: true,\n  DataTransferItemList: false,\n  FileList: false,\n  HTMLAllCollection: false,\n  HTMLCollection: false,\n  HTMLFormElement: false,\n  HTMLSelectElement: false,\n  MediaList: true, // TODO: Not spec compliant, should be false.\n  MimeTypeArray: false,\n  NamedNodeMap: false,\n  NodeList: true,\n  PaintRequestList: false,\n  Plugin: false,\n  PluginArray: false,\n  SVGLengthList: false,\n  SVGNumberList: false,\n  SVGPathSegList: false,\n  SVGPointList: false,\n  SVGStringList: false,\n  SVGTransformList: false,\n  SourceBufferList: false,\n  StyleSheetList: true, // TODO: Not spec compliant, should be false.\n  TextTrackCueList: false,\n  TextTrackList: false,\n  TouchList: false\n};\n\nfor (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {\n  var NAME = collections[i];\n  var explicit = DOMIterables[NAME];\n  var Collection = global[NAME];\n  var proto = Collection && Collection.prototype;\n  var key;\n  if (proto) {\n    if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);\n    if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n    Iterators[NAME] = ArrayValues;\n    if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);\n  }\n}\n\n},{\"107\":107,\"118\":118,\"152\":152,\"164\":164,\"70\":70,\"72\":72,\"88\":88}],304:[function(_dereq_,module,exports){\nvar $export = _dereq_(62);\nvar $task = _dereq_(136);\n$export($export.G + $export.B, {\n  setImmediate: $task.set,\n  clearImmediate: $task.clear\n});\n\n},{\"136\":136,\"62\":62}],305:[function(_dereq_,module,exports){\n// ie9- setTimeout & setInterval additional parameters fix\nvar global = _dereq_(70);\nvar $export = _dereq_(62);\nvar userAgent = _dereq_(148);\nvar slice = [].slice;\nvar MSIE = /MSIE .\\./.test(userAgent); // <- dirty ie9- check\nvar wrap = function (set) {\n  return function (fn, time /* , ...args */) {\n    var boundArgs = arguments.length > 2;\n    var args = boundArgs ? slice.call(arguments, 2) : false;\n    return set(boundArgs ? function () {\n      // eslint-disable-next-line no-new-func\n      (typeof fn == 'function' ? fn : Function(fn)).apply(this, args);\n    } : fn, time);\n  };\n};\n$export($export.G + $export.B + $export.F * MSIE, {\n  setTimeout: wrap(global.setTimeout),\n  setInterval: wrap(global.setInterval)\n});\n\n},{\"148\":148,\"62\":62,\"70\":70}],306:[function(_dereq_,module,exports){\n_dereq_(305);\n_dereq_(304);\n_dereq_(303);\nmodule.exports = _dereq_(52);\n\n},{\"303\":303,\"304\":304,\"305\":305,\"52\":52}],307:[function(_dereq_,module,exports){\n/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n  \"use strict\";\n\n  var Op = Object.prototype;\n  var hasOwn = Op.hasOwnProperty;\n  var undefined; // More compressible than void 0.\n  var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n  var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n  var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n  var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n  function wrap(innerFn, outerFn, self, tryLocsList) {\n    // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n    var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n    var generator = Object.create(protoGenerator.prototype);\n    var context = new Context(tryLocsList || []);\n\n    // The ._invoke method unifies the implementations of the .next,\n    // .throw, and .return methods.\n    generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n    return generator;\n  }\n  exports.wrap = wrap;\n\n  // Try/catch helper to minimize deoptimizations. Returns a completion\n  // record like context.tryEntries[i].completion. This interface could\n  // have been (and was previously) designed to take a closure to be\n  // invoked without arguments, but in all the cases we care about we\n  // already have an existing method we want to call, so there's no need\n  // to create a new function object. We can even get away with assuming\n  // the method takes exactly one argument, since that happens to be true\n  // in every case, so we don't have to touch the arguments object. The\n  // only additional allocation required is the completion record, which\n  // has a stable shape and so hopefully should be cheap to allocate.\n  function tryCatch(fn, obj, arg) {\n    try {\n      return { type: \"normal\", arg: fn.call(obj, arg) };\n    } catch (err) {\n      return { type: \"throw\", arg: err };\n    }\n  }\n\n  var GenStateSuspendedStart = \"suspendedStart\";\n  var GenStateSuspendedYield = \"suspendedYield\";\n  var GenStateExecuting = \"executing\";\n  var GenStateCompleted = \"completed\";\n\n  // Returning this object from the innerFn has the same effect as\n  // breaking out of the dispatch switch statement.\n  var ContinueSentinel = {};\n\n  // Dummy constructor functions that we use as the .constructor and\n  // .constructor.prototype properties for functions that return Generator\n  // objects. For full spec compliance, you may wish to configure your\n  // minifier not to mangle the names of these two functions.\n  function Generator() {}\n  function GeneratorFunction() {}\n  function GeneratorFunctionPrototype() {}\n\n  // This is a polyfill for %IteratorPrototype% for environments that\n  // don't natively support it.\n  var IteratorPrototype = {};\n  IteratorPrototype[iteratorSymbol] = function () {\n    return this;\n  };\n\n  var getProto = Object.getPrototypeOf;\n  var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n  if (NativeIteratorPrototype &&\n      NativeIteratorPrototype !== Op &&\n      hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n    // This environment has a native %IteratorPrototype%; use it instead\n    // of the polyfill.\n    IteratorPrototype = NativeIteratorPrototype;\n  }\n\n  var Gp = GeneratorFunctionPrototype.prototype =\n    Generator.prototype = Object.create(IteratorPrototype);\n  GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;\n  GeneratorFunctionPrototype.constructor = GeneratorFunction;\n  GeneratorFunctionPrototype[toStringTagSymbol] =\n    GeneratorFunction.displayName = \"GeneratorFunction\";\n\n  // Helper for defining the .next, .throw, and .return methods of the\n  // Iterator interface in terms of a single ._invoke method.\n  function defineIteratorMethods(prototype) {\n    [\"next\", \"throw\", \"return\"].forEach(function(method) {\n      prototype[method] = function(arg) {\n        return this._invoke(method, arg);\n      };\n    });\n  }\n\n  exports.isGeneratorFunction = function(genFun) {\n    var ctor = typeof genFun === \"function\" && genFun.constructor;\n    return ctor\n      ? ctor === GeneratorFunction ||\n        // For the native GeneratorFunction constructor, the best we can\n        // do is to check its .name property.\n        (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n      : false;\n  };\n\n  exports.mark = function(genFun) {\n    if (Object.setPrototypeOf) {\n      Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n    } else {\n      genFun.__proto__ = GeneratorFunctionPrototype;\n      if (!(toStringTagSymbol in genFun)) {\n        genFun[toStringTagSymbol] = \"GeneratorFunction\";\n      }\n    }\n    genFun.prototype = Object.create(Gp);\n    return genFun;\n  };\n\n  // Within the body of any async function, `await x` is transformed to\n  // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n  // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n  // meant to be awaited.\n  exports.awrap = function(arg) {\n    return { __await: arg };\n  };\n\n  function AsyncIterator(generator) {\n    function invoke(method, arg, resolve, reject) {\n      var record = tryCatch(generator[method], generator, arg);\n      if (record.type === \"throw\") {\n        reject(record.arg);\n      } else {\n        var result = record.arg;\n        var value = result.value;\n        if (value &&\n            typeof value === \"object\" &&\n            hasOwn.call(value, \"__await\")) {\n          return Promise.resolve(value.__await).then(function(value) {\n            invoke(\"next\", value, resolve, reject);\n          }, function(err) {\n            invoke(\"throw\", err, resolve, reject);\n          });\n        }\n\n        return Promise.resolve(value).then(function(unwrapped) {\n          // When a yielded Promise is resolved, its final value becomes\n          // the .value of the Promise<{value,done}> result for the\n          // current iteration.\n          result.value = unwrapped;\n          resolve(result);\n        }, function(error) {\n          // If a rejected Promise was yielded, throw the rejection back\n          // into the async generator function so it can be handled there.\n          return invoke(\"throw\", error, resolve, reject);\n        });\n      }\n    }\n\n    var previousPromise;\n\n    function enqueue(method, arg) {\n      function callInvokeWithMethodAndArg() {\n        return new Promise(function(resolve, reject) {\n          invoke(method, arg, resolve, reject);\n        });\n      }\n\n      return previousPromise =\n        // If enqueue has been called before, then we want to wait until\n        // all previous Promises have been resolved before calling invoke,\n        // so that results are always delivered in the correct order. If\n        // enqueue has not been called before, then it is important to\n        // call invoke immediately, without waiting on a callback to fire,\n        // so that the async generator function has the opportunity to do\n        // any necessary setup in a predictable way. This predictability\n        // is why the Promise constructor synchronously invokes its\n        // executor callback, and why async functions synchronously\n        // execute code before the first await. Since we implement simple\n        // async functions in terms of async generators, it is especially\n        // important to get this right, even though it requires care.\n        previousPromise ? previousPromise.then(\n          callInvokeWithMethodAndArg,\n          // Avoid propagating failures to Promises returned by later\n          // invocations of the iterator.\n          callInvokeWithMethodAndArg\n        ) : callInvokeWithMethodAndArg();\n    }\n\n    // Define the unified helper method that is used to implement .next,\n    // .throw, and .return (see defineIteratorMethods).\n    this._invoke = enqueue;\n  }\n\n  defineIteratorMethods(AsyncIterator.prototype);\n  AsyncIterator.prototype[asyncIteratorSymbol] = function () {\n    return this;\n  };\n  exports.AsyncIterator = AsyncIterator;\n\n  // Note that simple async functions are implemented on top of\n  // AsyncIterator objects; they just return a Promise for the value of\n  // the final result produced by the iterator.\n  exports.async = function(innerFn, outerFn, self, tryLocsList) {\n    var iter = new AsyncIterator(\n      wrap(innerFn, outerFn, self, tryLocsList)\n    );\n\n    return exports.isGeneratorFunction(outerFn)\n      ? iter // If outerFn is a generator, return the full iterator.\n      : iter.next().then(function(result) {\n          return result.done ? result.value : iter.next();\n        });\n  };\n\n  function makeInvokeMethod(innerFn, self, context) {\n    var state = GenStateSuspendedStart;\n\n    return function invoke(method, arg) {\n      if (state === GenStateExecuting) {\n        throw new Error(\"Generator is already running\");\n      }\n\n      if (state === GenStateCompleted) {\n        if (method === \"throw\") {\n          throw arg;\n        }\n\n        // Be forgiving, per 25.3.3.3.3 of the spec:\n        // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n        return doneResult();\n      }\n\n      context.method = method;\n      context.arg = arg;\n\n      while (true) {\n        var delegate = context.delegate;\n        if (delegate) {\n          var delegateResult = maybeInvokeDelegate(delegate, context);\n          if (delegateResult) {\n            if (delegateResult === ContinueSentinel) continue;\n            return delegateResult;\n          }\n        }\n\n        if (context.method === \"next\") {\n          // Setting context._sent for legacy support of Babel's\n          // function.sent implementation.\n          context.sent = context._sent = context.arg;\n\n        } else if (context.method === \"throw\") {\n          if (state === GenStateSuspendedStart) {\n            state = GenStateCompleted;\n            throw context.arg;\n          }\n\n          context.dispatchException(context.arg);\n\n        } else if (context.method === \"return\") {\n          context.abrupt(\"return\", context.arg);\n        }\n\n        state = GenStateExecuting;\n\n        var record = tryCatch(innerFn, self, context);\n        if (record.type === \"normal\") {\n          // If an exception is thrown from innerFn, we leave state ===\n          // GenStateExecuting and loop back for another invocation.\n          state = context.done\n            ? GenStateCompleted\n            : GenStateSuspendedYield;\n\n          if (record.arg === ContinueSentinel) {\n            continue;\n          }\n\n          return {\n            value: record.arg,\n            done: context.done\n          };\n\n        } else if (record.type === \"throw\") {\n          state = GenStateCompleted;\n          // Dispatch the exception by looping back around to the\n          // context.dispatchException(context.arg) call above.\n          context.method = \"throw\";\n          context.arg = record.arg;\n        }\n      }\n    };\n  }\n\n  // Call delegate.iterator[context.method](context.arg) and handle the\n  // result, either by returning a { value, done } result from the\n  // delegate iterator, or by modifying context.method and context.arg,\n  // setting context.delegate to null, and returning the ContinueSentinel.\n  function maybeInvokeDelegate(delegate, context) {\n    var method = delegate.iterator[context.method];\n    if (method === undefined) {\n      // A .throw or .return when the delegate iterator has no .throw\n      // method always terminates the yield* loop.\n      context.delegate = null;\n\n      if (context.method === \"throw\") {\n        // Note: [\"return\"] must be used for ES3 parsing compatibility.\n        if (delegate.iterator[\"return\"]) {\n          // If the delegate iterator has a return method, give it a\n          // chance to clean up.\n          context.method = \"return\";\n          context.arg = undefined;\n          maybeInvokeDelegate(delegate, context);\n\n          if (context.method === \"throw\") {\n            // If maybeInvokeDelegate(context) changed context.method from\n            // \"return\" to \"throw\", let that override the TypeError below.\n            return ContinueSentinel;\n          }\n        }\n\n        context.method = \"throw\";\n        context.arg = new TypeError(\n          \"The iterator does not provide a 'throw' method\");\n      }\n\n      return ContinueSentinel;\n    }\n\n    var record = tryCatch(method, delegate.iterator, context.arg);\n\n    if (record.type === \"throw\") {\n      context.method = \"throw\";\n      context.arg = record.arg;\n      context.delegate = null;\n      return ContinueSentinel;\n    }\n\n    var info = record.arg;\n\n    if (! info) {\n      context.method = \"throw\";\n      context.arg = new TypeError(\"iterator result is not an object\");\n      context.delegate = null;\n      return ContinueSentinel;\n    }\n\n    if (info.done) {\n      // Assign the result of the finished delegate to the temporary\n      // variable specified by delegate.resultName (see delegateYield).\n      context[delegate.resultName] = info.value;\n\n      // Resume execution at the desired location (see delegateYield).\n      context.next = delegate.nextLoc;\n\n      // If context.method was \"throw\" but the delegate handled the\n      // exception, let the outer generator proceed normally. If\n      // context.method was \"next\", forget context.arg since it has been\n      // \"consumed\" by the delegate iterator. If context.method was\n      // \"return\", allow the original .return call to continue in the\n      // outer generator.\n      if (context.method !== \"return\") {\n        context.method = \"next\";\n        context.arg = undefined;\n      }\n\n    } else {\n      // Re-yield the result returned by the delegate method.\n      return info;\n    }\n\n    // The delegate iterator is finished, so forget it and continue with\n    // the outer generator.\n    context.delegate = null;\n    return ContinueSentinel;\n  }\n\n  // Define Generator.prototype.{next,throw,return} in terms of the\n  // unified ._invoke helper method.\n  defineIteratorMethods(Gp);\n\n  Gp[toStringTagSymbol] = \"Generator\";\n\n  // A Generator should always return itself as the iterator object when the\n  // @@iterator function is called on it. Some browsers' implementations of the\n  // iterator prototype chain incorrectly implement this, causing the Generator\n  // object to not be returned from this call. This ensures that doesn't happen.\n  // See https://github.com/facebook/regenerator/issues/274 for more details.\n  Gp[iteratorSymbol] = function() {\n    return this;\n  };\n\n  Gp.toString = function() {\n    return \"[object Generator]\";\n  };\n\n  function pushTryEntry(locs) {\n    var entry = { tryLoc: locs[0] };\n\n    if (1 in locs) {\n      entry.catchLoc = locs[1];\n    }\n\n    if (2 in locs) {\n      entry.finallyLoc = locs[2];\n      entry.afterLoc = locs[3];\n    }\n\n    this.tryEntries.push(entry);\n  }\n\n  function resetTryEntry(entry) {\n    var record = entry.completion || {};\n    record.type = \"normal\";\n    delete record.arg;\n    entry.completion = record;\n  }\n\n  function Context(tryLocsList) {\n    // The root entry object (effectively a try statement without a catch\n    // or a finally block) gives us a place to store values thrown from\n    // locations where there is no enclosing try statement.\n    this.tryEntries = [{ tryLoc: \"root\" }];\n    tryLocsList.forEach(pushTryEntry, this);\n    this.reset(true);\n  }\n\n  exports.keys = function(object) {\n    var keys = [];\n    for (var key in object) {\n      keys.push(key);\n    }\n    keys.reverse();\n\n    // Rather than returning an object with a next method, we keep\n    // things simple and return the next function itself.\n    return function next() {\n      while (keys.length) {\n        var key = keys.pop();\n        if (key in object) {\n          next.value = key;\n          next.done = false;\n          return next;\n        }\n      }\n\n      // To avoid creating an additional object, we just hang the .value\n      // and .done properties off the next function object itself. This\n      // also ensures that the minifier will not anonymize the function.\n      next.done = true;\n      return next;\n    };\n  };\n\n  function values(iterable) {\n    if (iterable) {\n      var iteratorMethod = iterable[iteratorSymbol];\n      if (iteratorMethod) {\n        return iteratorMethod.call(iterable);\n      }\n\n      if (typeof iterable.next === \"function\") {\n        return iterable;\n      }\n\n      if (!isNaN(iterable.length)) {\n        var i = -1, next = function next() {\n          while (++i < iterable.length) {\n            if (hasOwn.call(iterable, i)) {\n              next.value = iterable[i];\n              next.done = false;\n              return next;\n            }\n          }\n\n          next.value = undefined;\n          next.done = true;\n\n          return next;\n        };\n\n        return next.next = next;\n      }\n    }\n\n    // Return an iterator with no values.\n    return { next: doneResult };\n  }\n  exports.values = values;\n\n  function doneResult() {\n    return { value: undefined, done: true };\n  }\n\n  Context.prototype = {\n    constructor: Context,\n\n    reset: function(skipTempReset) {\n      this.prev = 0;\n      this.next = 0;\n      // Resetting context._sent for legacy support of Babel's\n      // function.sent implementation.\n      this.sent = this._sent = undefined;\n      this.done = false;\n      this.delegate = null;\n\n      this.method = \"next\";\n      this.arg = undefined;\n\n      this.tryEntries.forEach(resetTryEntry);\n\n      if (!skipTempReset) {\n        for (var name in this) {\n          // Not sure about the optimal order of these conditions:\n          if (name.charAt(0) === \"t\" &&\n              hasOwn.call(this, name) &&\n              !isNaN(+name.slice(1))) {\n            this[name] = undefined;\n          }\n        }\n      }\n    },\n\n    stop: function() {\n      this.done = true;\n\n      var rootEntry = this.tryEntries[0];\n      var rootRecord = rootEntry.completion;\n      if (rootRecord.type === \"throw\") {\n        throw rootRecord.arg;\n      }\n\n      return this.rval;\n    },\n\n    dispatchException: function(exception) {\n      if (this.done) {\n        throw exception;\n      }\n\n      var context = this;\n      function handle(loc, caught) {\n        record.type = \"throw\";\n        record.arg = exception;\n        context.next = loc;\n\n        if (caught) {\n          // If the dispatched exception was caught by a catch block,\n          // then let that catch block handle the exception normally.\n          context.method = \"next\";\n          context.arg = undefined;\n        }\n\n        return !! caught;\n      }\n\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n        var record = entry.completion;\n\n        if (entry.tryLoc === \"root\") {\n          // Exception thrown outside of any try block that could handle\n          // it, so set the completion value of the entire function to\n          // throw the exception.\n          return handle(\"end\");\n        }\n\n        if (entry.tryLoc <= this.prev) {\n          var hasCatch = hasOwn.call(entry, \"catchLoc\");\n          var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n          if (hasCatch && hasFinally) {\n            if (this.prev < entry.catchLoc) {\n              return handle(entry.catchLoc, true);\n            } else if (this.prev < entry.finallyLoc) {\n              return handle(entry.finallyLoc);\n            }\n\n          } else if (hasCatch) {\n            if (this.prev < entry.catchLoc) {\n              return handle(entry.catchLoc, true);\n            }\n\n          } else if (hasFinally) {\n            if (this.prev < entry.finallyLoc) {\n              return handle(entry.finallyLoc);\n            }\n\n          } else {\n            throw new Error(\"try statement without catch or finally\");\n          }\n        }\n      }\n    },\n\n    abrupt: function(type, arg) {\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n        if (entry.tryLoc <= this.prev &&\n            hasOwn.call(entry, \"finallyLoc\") &&\n            this.prev < entry.finallyLoc) {\n          var finallyEntry = entry;\n          break;\n        }\n      }\n\n      if (finallyEntry &&\n          (type === \"break\" ||\n           type === \"continue\") &&\n          finallyEntry.tryLoc <= arg &&\n          arg <= finallyEntry.finallyLoc) {\n        // Ignore the finally entry if control is not jumping to a\n        // location outside the try/catch block.\n        finallyEntry = null;\n      }\n\n      var record = finallyEntry ? finallyEntry.completion : {};\n      record.type = type;\n      record.arg = arg;\n\n      if (finallyEntry) {\n        this.method = \"next\";\n        this.next = finallyEntry.finallyLoc;\n        return ContinueSentinel;\n      }\n\n      return this.complete(record);\n    },\n\n    complete: function(record, afterLoc) {\n      if (record.type === \"throw\") {\n        throw record.arg;\n      }\n\n      if (record.type === \"break\" ||\n          record.type === \"continue\") {\n        this.next = record.arg;\n      } else if (record.type === \"return\") {\n        this.rval = this.arg = record.arg;\n        this.method = \"return\";\n        this.next = \"end\";\n      } else if (record.type === \"normal\" && afterLoc) {\n        this.next = afterLoc;\n      }\n\n      return ContinueSentinel;\n    },\n\n    finish: function(finallyLoc) {\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n        if (entry.finallyLoc === finallyLoc) {\n          this.complete(entry.completion, entry.afterLoc);\n          resetTryEntry(entry);\n          return ContinueSentinel;\n        }\n      }\n    },\n\n    \"catch\": function(tryLoc) {\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n        if (entry.tryLoc === tryLoc) {\n          var record = entry.completion;\n          if (record.type === \"throw\") {\n            var thrown = record.arg;\n            resetTryEntry(entry);\n          }\n          return thrown;\n        }\n      }\n\n      // The context.catch method must only be called with a location\n      // argument that corresponds to a known catch block.\n      throw new Error(\"illegal catch attempt\");\n    },\n\n    delegateYield: function(iterable, resultName, nextLoc) {\n      this.delegate = {\n        iterator: values(iterable),\n        resultName: resultName,\n        nextLoc: nextLoc\n      };\n\n      if (this.method === \"next\") {\n        // Deliberately forget the last sent value so that we don't\n        // accidentally pass it on to the delegate.\n        this.arg = undefined;\n      }\n\n      return ContinueSentinel;\n    }\n  };\n\n  // Regardless of whether this script is executing as a CommonJS module\n  // or not, return the runtime object so that we can declare the variable\n  // regeneratorRuntime in the outer scope, which allows this module to be\n  // injected easily by `bin/regenerator --include-runtime script.js`.\n  return exports;\n\n}(\n  // If this script is executing as a CommonJS module, use module.exports\n  // as the regeneratorRuntime namespace. Otherwise create a new empty\n  // object. Either way, the resulting object will be used to initialize\n  // the regeneratorRuntime variable at the top of this file.\n  typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n  regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n  // This module should not be running in strict mode, so the above\n  // assignment should always work unless something is misconfigured. Just\n  // in case runtime.js accidentally runs in strict mode, we can escape\n  // strict mode using a global Function call. This could conceivably fail\n  // if a Content Security Policy forbids using Function, but in that case\n  // the proper solution is to fix the accidental strict mode problem. If\n  // you've misconfigured your bundler to force strict mode and applied a\n  // CSP to forbid Function, and you're not willing to fix either of those\n  // problems, please detail your unique predicament in a GitHub issue.\n  Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n}\n\n},{}]},{},[1]);\n","/*!\n * jQuery JavaScript Library v3.4.1\n * https://jquery.com/\n *\n * Includes Sizzle.js\n * https://sizzlejs.com/\n *\n * Copyright JS Foundation and other contributors\n * Released under the MIT license\n * https://jquery.org/license\n *\n * Date: 2019-05-01T21:04Z\n */\n( function( global, factory ) {\n\n\t\"use strict\";\n\n\tif ( typeof module === \"object\" && typeof module.exports === \"object\" ) {\n\n\t\t// For CommonJS and CommonJS-like environments where a proper `window`\n\t\t// is present, execute the factory and get jQuery.\n\t\t// For environments that do not have a `window` with a `document`\n\t\t// (such as Node.js), expose a factory as module.exports.\n\t\t// This accentuates the need for the creation of a real `window`.\n\t\t// e.g. var jQuery = require(\"jquery\")(window);\n\t\t// See ticket #14549 for more info.\n\t\tmodule.exports = global.document ?\n\t\t\tfactory( global, true ) :\n\t\t\tfunction( w ) {\n\t\t\t\tif ( !w.document ) {\n\t\t\t\t\tthrow new Error( \"jQuery requires a window with a document\" );\n\t\t\t\t}\n\t\t\t\treturn factory( w );\n\t\t\t};\n\t} else {\n\t\tfactory( global );\n\t}\n\n// Pass this if window is not defined yet\n} )( typeof window !== \"undefined\" ? window : this, function( window, noGlobal ) {\n\n// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1\n// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode\n// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common\n// enough that all such attempts are guarded in a try block.\n\"use strict\";\n\nvar arr = [];\n\nvar document = window.document;\n\nvar getProto = Object.getPrototypeOf;\n\nvar slice = arr.slice;\n\nvar concat = arr.concat;\n\nvar push = arr.push;\n\nvar indexOf = arr.indexOf;\n\nvar class2type = {};\n\nvar toString = class2type.toString;\n\nvar hasOwn = class2type.hasOwnProperty;\n\nvar fnToString = hasOwn.toString;\n\nvar ObjectFunctionString = fnToString.call( Object );\n\nvar support = {};\n\nvar isFunction = function isFunction( obj ) {\n\n      // Support: Chrome <=57, Firefox <=52\n      // In some browsers, typeof returns \"function\" for HTML <object> elements\n      // (i.e., `typeof document.createElement( \"object\" ) === \"function\"`).\n      // We don't want to classify *any* DOM node as a function.\n      return typeof obj === \"function\" && typeof obj.nodeType !== \"number\";\n  };\n\n\nvar isWindow = function isWindow( obj ) {\n\t\treturn obj != null && obj === obj.window;\n\t};\n\n\n\n\n\tvar preservedScriptAttributes = {\n\t\ttype: true,\n\t\tsrc: true,\n\t\tnonce: true,\n\t\tnoModule: true\n\t};\n\n\tfunction DOMEval( code, node, doc ) {\n\t\tdoc = doc || document;\n\n\t\tvar i, val,\n\t\t\tscript = doc.createElement( \"script\" );\n\n\t\tscript.text = code;\n\t\tif ( node ) {\n\t\t\tfor ( i in preservedScriptAttributes ) {\n\n\t\t\t\t// Support: Firefox 64+, Edge 18+\n\t\t\t\t// Some browsers don't support the \"nonce\" property on scripts.\n\t\t\t\t// On the other hand, just using `getAttribute` is not enough as\n\t\t\t\t// the `nonce` attribute is reset to an empty string whenever it\n\t\t\t\t// becomes browsing-context connected.\n\t\t\t\t// See https://github.com/whatwg/html/issues/2369\n\t\t\t\t// See https://html.spec.whatwg.org/#nonce-attributes\n\t\t\t\t// The `node.getAttribute` check was added for the sake of\n\t\t\t\t// `jQuery.globalEval` so that it can fake a nonce-containing node\n\t\t\t\t// via an object.\n\t\t\t\tval = node[ i ] || node.getAttribute && node.getAttribute( i );\n\t\t\t\tif ( val ) {\n\t\t\t\t\tscript.setAttribute( i, val );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tdoc.head.appendChild( script ).parentNode.removeChild( script );\n\t}\n\n\nfunction toType( obj ) {\n\tif ( obj == null ) {\n\t\treturn obj + \"\";\n\t}\n\n\t// Support: Android <=2.3 only (functionish RegExp)\n\treturn typeof obj === \"object\" || typeof obj === \"function\" ?\n\t\tclass2type[ toString.call( obj ) ] || \"object\" :\n\t\ttypeof obj;\n}\n/* global Symbol */\n// Defining this global in .eslintrc.json would create a danger of using the global\n// unguarded in another place, it seems safer to define global only for this module\n\n\n\nvar\n\tversion = \"3.4.1\",\n\n\t// Define a local copy of jQuery\n\tjQuery = function( selector, context ) {\n\n\t\t// The jQuery object is actually just the init constructor 'enhanced'\n\t\t// Need init if jQuery is called (just allow error to be thrown if not included)\n\t\treturn new jQuery.fn.init( selector, context );\n\t},\n\n\t// Support: Android <=4.0 only\n\t// Make sure we trim BOM and NBSP\n\trtrim = /^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g;\n\njQuery.fn = jQuery.prototype = {\n\n\t// The current version of jQuery being used\n\tjquery: version,\n\n\tconstructor: jQuery,\n\n\t// The default length of a jQuery object is 0\n\tlength: 0,\n\n\ttoArray: function() {\n\t\treturn slice.call( this );\n\t},\n\n\t// Get the Nth element in the matched element set OR\n\t// Get the whole matched element set as a clean array\n\tget: function( num ) {\n\n\t\t// Return all the elements in a clean array\n\t\tif ( num == null ) {\n\t\t\treturn slice.call( this );\n\t\t}\n\n\t\t// Return just the one element from the set\n\t\treturn num < 0 ? this[ num + this.length ] : this[ num ];\n\t},\n\n\t// Take an array of elements and push it onto the stack\n\t// (returning the new matched element set)\n\tpushStack: function( elems ) {\n\n\t\t// Build a new jQuery matched element set\n\t\tvar ret = jQuery.merge( this.constructor(), elems );\n\n\t\t// Add the old object onto the stack (as a reference)\n\t\tret.prevObject = this;\n\n\t\t// Return the newly-formed element set\n\t\treturn ret;\n\t},\n\n\t// Execute a callback for every element in the matched set.\n\teach: function( callback ) {\n\t\treturn jQuery.each( this, callback );\n\t},\n\n\tmap: function( callback ) {\n\t\treturn this.pushStack( jQuery.map( this, function( elem, i ) {\n\t\t\treturn callback.call( elem, i, elem );\n\t\t} ) );\n\t},\n\n\tslice: function() {\n\t\treturn this.pushStack( slice.apply( this, arguments ) );\n\t},\n\n\tfirst: function() {\n\t\treturn this.eq( 0 );\n\t},\n\n\tlast: function() {\n\t\treturn this.eq( -1 );\n\t},\n\n\teq: function( i ) {\n\t\tvar len = this.length,\n\t\t\tj = +i + ( i < 0 ? len : 0 );\n\t\treturn this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] );\n\t},\n\n\tend: function() {\n\t\treturn this.prevObject || this.constructor();\n\t},\n\n\t// For internal use only.\n\t// Behaves like an Array's method, not like a jQuery method.\n\tpush: push,\n\tsort: arr.sort,\n\tsplice: arr.splice\n};\n\njQuery.extend = jQuery.fn.extend = function() {\n\tvar options, name, src, copy, copyIsArray, clone,\n\t\ttarget = arguments[ 0 ] || {},\n\t\ti = 1,\n\t\tlength = arguments.length,\n\t\tdeep = false;\n\n\t// Handle a deep copy situation\n\tif ( typeof target === \"boolean\" ) {\n\t\tdeep = target;\n\n\t\t// Skip the boolean and the target\n\t\ttarget = arguments[ i ] || {};\n\t\ti++;\n\t}\n\n\t// Handle case when target is a string or something (possible in deep copy)\n\tif ( typeof target !== \"object\" && !isFunction( target ) ) {\n\t\ttarget = {};\n\t}\n\n\t// Extend jQuery itself if only one argument is passed\n\tif ( i === length ) {\n\t\ttarget = this;\n\t\ti--;\n\t}\n\n\tfor ( ; i < length; i++ ) {\n\n\t\t// Only deal with non-null/undefined values\n\t\tif ( ( options = arguments[ i ] ) != null ) {\n\n\t\t\t// Extend the base object\n\t\t\tfor ( name in options ) {\n\t\t\t\tcopy = options[ name ];\n\n\t\t\t\t// Prevent Object.prototype pollution\n\t\t\t\t// Prevent never-ending loop\n\t\t\t\tif ( name === \"__proto__\" || target === copy ) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Recurse if we're merging plain objects or arrays\n\t\t\t\tif ( deep && copy && ( jQuery.isPlainObject( copy ) ||\n\t\t\t\t\t( copyIsArray = Array.isArray( copy ) ) ) ) {\n\t\t\t\t\tsrc = target[ name ];\n\n\t\t\t\t\t// Ensure proper type for the source value\n\t\t\t\t\tif ( copyIsArray && !Array.isArray( src ) ) {\n\t\t\t\t\t\tclone = [];\n\t\t\t\t\t} else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) {\n\t\t\t\t\t\tclone = {};\n\t\t\t\t\t} else {\n\t\t\t\t\t\tclone = src;\n\t\t\t\t\t}\n\t\t\t\t\tcopyIsArray = false;\n\n\t\t\t\t\t// Never move original objects, clone them\n\t\t\t\t\ttarget[ name ] = jQuery.extend( deep, clone, copy );\n\n\t\t\t\t// Don't bring in undefined values\n\t\t\t\t} else if ( copy !== undefined ) {\n\t\t\t\t\ttarget[ name ] = copy;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Return the modified object\n\treturn target;\n};\n\njQuery.extend( {\n\n\t// Unique for each copy of jQuery on the page\n\texpando: \"jQuery\" + ( version + Math.random() ).replace( /\\D/g, \"\" ),\n\n\t// Assume jQuery is ready without the ready module\n\tisReady: true,\n\n\terror: function( msg ) {\n\t\tthrow new Error( msg );\n\t},\n\n\tnoop: function() {},\n\n\tisPlainObject: function( obj ) {\n\t\tvar proto, Ctor;\n\n\t\t// Detect obvious negatives\n\t\t// Use toString instead of jQuery.type to catch host objects\n\t\tif ( !obj || toString.call( obj ) !== \"[object Object]\" ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tproto = getProto( obj );\n\n\t\t// Objects with no prototype (e.g., `Object.create( null )`) are plain\n\t\tif ( !proto ) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// Objects with prototype are plain iff they were constructed by a global Object function\n\t\tCtor = hasOwn.call( proto, \"constructor\" ) && proto.constructor;\n\t\treturn typeof Ctor === \"function\" && fnToString.call( Ctor ) === ObjectFunctionString;\n\t},\n\n\tisEmptyObject: function( obj ) {\n\t\tvar name;\n\n\t\tfor ( name in obj ) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t},\n\n\t// Evaluates a script in a global context\n\tglobalEval: function( code, options ) {\n\t\tDOMEval( code, { nonce: options && options.nonce } );\n\t},\n\n\teach: function( obj, callback ) {\n\t\tvar length, i = 0;\n\n\t\tif ( isArrayLike( obj ) ) {\n\t\t\tlength = obj.length;\n\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\tif ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tfor ( i in obj ) {\n\t\t\t\tif ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn obj;\n\t},\n\n\t// Support: Android <=4.0 only\n\ttrim: function( text ) {\n\t\treturn text == null ?\n\t\t\t\"\" :\n\t\t\t( text + \"\" ).replace( rtrim, \"\" );\n\t},\n\n\t// results is for internal usage only\n\tmakeArray: function( arr, results ) {\n\t\tvar ret = results || [];\n\n\t\tif ( arr != null ) {\n\t\t\tif ( isArrayLike( Object( arr ) ) ) {\n\t\t\t\tjQuery.merge( ret,\n\t\t\t\t\ttypeof arr === \"string\" ?\n\t\t\t\t\t[ arr ] : arr\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tpush.call( ret, arr );\n\t\t\t}\n\t\t}\n\n\t\treturn ret;\n\t},\n\n\tinArray: function( elem, arr, i ) {\n\t\treturn arr == null ? -1 : indexOf.call( arr, elem, i );\n\t},\n\n\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t// push.apply(_, arraylike) throws on ancient WebKit\n\tmerge: function( first, second ) {\n\t\tvar len = +second.length,\n\t\t\tj = 0,\n\t\t\ti = first.length;\n\n\t\tfor ( ; j < len; j++ ) {\n\t\t\tfirst[ i++ ] = second[ j ];\n\t\t}\n\n\t\tfirst.length = i;\n\n\t\treturn first;\n\t},\n\n\tgrep: function( elems, callback, invert ) {\n\t\tvar callbackInverse,\n\t\t\tmatches = [],\n\t\t\ti = 0,\n\t\t\tlength = elems.length,\n\t\t\tcallbackExpect = !invert;\n\n\t\t// Go through the array, only saving the items\n\t\t// that pass the validator function\n\t\tfor ( ; i < length; i++ ) {\n\t\t\tcallbackInverse = !callback( elems[ i ], i );\n\t\t\tif ( callbackInverse !== callbackExpect ) {\n\t\t\t\tmatches.push( elems[ i ] );\n\t\t\t}\n\t\t}\n\n\t\treturn matches;\n\t},\n\n\t// arg is for internal usage only\n\tmap: function( elems, callback, arg ) {\n\t\tvar length, value,\n\t\t\ti = 0,\n\t\t\tret = [];\n\n\t\t// Go through the array, translating each of the items to their new values\n\t\tif ( isArrayLike( elems ) ) {\n\t\t\tlength = elems.length;\n\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\tvalue = callback( elems[ i ], i, arg );\n\n\t\t\t\tif ( value != null ) {\n\t\t\t\t\tret.push( value );\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Go through every key on the object,\n\t\t} else {\n\t\t\tfor ( i in elems ) {\n\t\t\t\tvalue = callback( elems[ i ], i, arg );\n\n\t\t\t\tif ( value != null ) {\n\t\t\t\t\tret.push( value );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Flatten any nested arrays\n\t\treturn concat.apply( [], ret );\n\t},\n\n\t// A global GUID counter for objects\n\tguid: 1,\n\n\t// jQuery.support is not used in Core but other projects attach their\n\t// properties to it so it needs to exist.\n\tsupport: support\n} );\n\nif ( typeof Symbol === \"function\" ) {\n\tjQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ];\n}\n\n// Populate the class2type map\njQuery.each( \"Boolean Number String Function Array Date RegExp Object Error Symbol\".split( \" \" ),\nfunction( i, name ) {\n\tclass2type[ \"[object \" + name + \"]\" ] = name.toLowerCase();\n} );\n\nfunction isArrayLike( obj ) {\n\n\t// Support: real iOS 8.2 only (not reproducible in simulator)\n\t// `in` check used to prevent JIT error (gh-2145)\n\t// hasOwn isn't used here due to false negatives\n\t// regarding Nodelist length in IE\n\tvar length = !!obj && \"length\" in obj && obj.length,\n\t\ttype = toType( obj );\n\n\tif ( isFunction( obj ) || isWindow( obj ) ) {\n\t\treturn false;\n\t}\n\n\treturn type === \"array\" || length === 0 ||\n\t\ttypeof length === \"number\" && length > 0 && ( length - 1 ) in obj;\n}\nvar Sizzle =\n/*!\n * Sizzle CSS Selector Engine v2.3.4\n * https://sizzlejs.com/\n *\n * Copyright JS Foundation and other contributors\n * Released under the MIT license\n * https://js.foundation/\n *\n * Date: 2019-04-08\n */\n(function( window ) {\n\nvar i,\n\tsupport,\n\tExpr,\n\tgetText,\n\tisXML,\n\ttokenize,\n\tcompile,\n\tselect,\n\toutermostContext,\n\tsortInput,\n\thasDuplicate,\n\n\t// Local document vars\n\tsetDocument,\n\tdocument,\n\tdocElem,\n\tdocumentIsHTML,\n\trbuggyQSA,\n\trbuggyMatches,\n\tmatches,\n\tcontains,\n\n\t// Instance-specific data\n\texpando = \"sizzle\" + 1 * new Date(),\n\tpreferredDoc = window.document,\n\tdirruns = 0,\n\tdone = 0,\n\tclassCache = createCache(),\n\ttokenCache = createCache(),\n\tcompilerCache = createCache(),\n\tnonnativeSelectorCache = createCache(),\n\tsortOrder = function( a, b ) {\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t}\n\t\treturn 0;\n\t},\n\n\t// Instance methods\n\thasOwn = ({}).hasOwnProperty,\n\tarr = [],\n\tpop = arr.pop,\n\tpush_native = arr.push,\n\tpush = arr.push,\n\tslice = arr.slice,\n\t// Use a stripped-down indexOf as it's faster than native\n\t// https://jsperf.com/thor-indexof-vs-for/5\n\tindexOf = function( list, elem ) {\n\t\tvar i = 0,\n\t\t\tlen = list.length;\n\t\tfor ( ; i < len; i++ ) {\n\t\t\tif ( list[i] === elem ) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t},\n\n\tbooleans = \"checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped\",\n\n\t// Regular expressions\n\n\t// http://www.w3.org/TR/css3-selectors/#whitespace\n\twhitespace = \"[\\\\x20\\\\t\\\\r\\\\n\\\\f]\",\n\n\t// http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier\n\tidentifier = \"(?:\\\\\\\\.|[\\\\w-]|[^\\0-\\\\xa0])+\",\n\n\t// Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors\n\tattributes = \"\\\\[\" + whitespace + \"*(\" + identifier + \")(?:\" + whitespace +\n\t\t// Operator (capture 2)\n\t\t\"*([*^$|!~]?=)\" + whitespace +\n\t\t// \"Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]\"\n\t\t\"*(?:'((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\"|(\" + identifier + \"))|)\" + whitespace +\n\t\t\"*\\\\]\",\n\n\tpseudos = \":(\" + identifier + \")(?:\\\\((\" +\n\t\t// To reduce the number of selectors needing tokenize in the preFilter, prefer arguments:\n\t\t// 1. quoted (capture 3; capture 4 or capture 5)\n\t\t\"('((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\")|\" +\n\t\t// 2. simple (capture 6)\n\t\t\"((?:\\\\\\\\.|[^\\\\\\\\()[\\\\]]|\" + attributes + \")*)|\" +\n\t\t// 3. anything else (capture 2)\n\t\t\".*\" +\n\t\t\")\\\\)|)\",\n\n\t// Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter\n\trwhitespace = new RegExp( whitespace + \"+\", \"g\" ),\n\trtrim = new RegExp( \"^\" + whitespace + \"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)\" + whitespace + \"+$\", \"g\" ),\n\n\trcomma = new RegExp( \"^\" + whitespace + \"*,\" + whitespace + \"*\" ),\n\trcombinators = new RegExp( \"^\" + whitespace + \"*([>+~]|\" + whitespace + \")\" + whitespace + \"*\" ),\n\trdescend = new RegExp( whitespace + \"|>\" ),\n\n\trpseudo = new RegExp( pseudos ),\n\tridentifier = new RegExp( \"^\" + identifier + \"$\" ),\n\n\tmatchExpr = {\n\t\t\"ID\": new RegExp( \"^#(\" + identifier + \")\" ),\n\t\t\"CLASS\": new RegExp( \"^\\\\.(\" + identifier + \")\" ),\n\t\t\"TAG\": new RegExp( \"^(\" + identifier + \"|[*])\" ),\n\t\t\"ATTR\": new RegExp( \"^\" + attributes ),\n\t\t\"PSEUDO\": new RegExp( \"^\" + pseudos ),\n\t\t\"CHILD\": new RegExp( \"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\" + whitespace +\n\t\t\t\"*(even|odd|(([+-]|)(\\\\d*)n|)\" + whitespace + \"*(?:([+-]|)\" + whitespace +\n\t\t\t\"*(\\\\d+)|))\" + whitespace + \"*\\\\)|)\", \"i\" ),\n\t\t\"bool\": new RegExp( \"^(?:\" + booleans + \")$\", \"i\" ),\n\t\t// For use in libraries implementing .is()\n\t\t// We use this for POS matching in `select`\n\t\t\"needsContext\": new RegExp( \"^\" + whitespace + \"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\" +\n\t\t\twhitespace + \"*((?:-\\\\d)?\\\\d*)\" + whitespace + \"*\\\\)|)(?=[^-]|$)\", \"i\" )\n\t},\n\n\trhtml = /HTML$/i,\n\trinputs = /^(?:input|select|textarea|button)$/i,\n\trheader = /^h\\d$/i,\n\n\trnative = /^[^{]+\\{\\s*\\[native \\w/,\n\n\t// Easily-parseable/retrievable ID or TAG or CLASS selectors\n\trquickExpr = /^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,\n\n\trsibling = /[+~]/,\n\n\t// CSS escapes\n\t// http://www.w3.org/TR/CSS21/syndata.html#escaped-characters\n\trunescape = new RegExp( \"\\\\\\\\([\\\\da-f]{1,6}\" + whitespace + \"?|(\" + whitespace + \")|.)\", \"ig\" ),\n\tfunescape = function( _, escaped, escapedWhitespace ) {\n\t\tvar high = \"0x\" + escaped - 0x10000;\n\t\t// NaN means non-codepoint\n\t\t// Support: Firefox<24\n\t\t// Workaround erroneous numeric interpretation of +\"0x\"\n\t\treturn high !== high || escapedWhitespace ?\n\t\t\tescaped :\n\t\t\thigh < 0 ?\n\t\t\t\t// BMP codepoint\n\t\t\t\tString.fromCharCode( high + 0x10000 ) :\n\t\t\t\t// Supplemental Plane codepoint (surrogate pair)\n\t\t\t\tString.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );\n\t},\n\n\t// CSS string/identifier serialization\n\t// https://drafts.csswg.org/cssom/#common-serializing-idioms\n\trcssescape = /([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\0-\\x1f\\x7f-\\uFFFF\\w-]/g,\n\tfcssescape = function( ch, asCodePoint ) {\n\t\tif ( asCodePoint ) {\n\n\t\t\t// U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER\n\t\t\tif ( ch === \"\\0\" ) {\n\t\t\t\treturn \"\\uFFFD\";\n\t\t\t}\n\n\t\t\t// Control characters and (dependent upon position) numbers get escaped as code points\n\t\t\treturn ch.slice( 0, -1 ) + \"\\\\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + \" \";\n\t\t}\n\n\t\t// Other potentially-special ASCII characters get backslash-escaped\n\t\treturn \"\\\\\" + ch;\n\t},\n\n\t// Used for iframes\n\t// See setDocument()\n\t// Removing the function wrapper causes a \"Permission Denied\"\n\t// error in IE\n\tunloadHandler = function() {\n\t\tsetDocument();\n\t},\n\n\tinDisabledFieldset = addCombinator(\n\t\tfunction( elem ) {\n\t\t\treturn elem.disabled === true && elem.nodeName.toLowerCase() === \"fieldset\";\n\t\t},\n\t\t{ dir: \"parentNode\", next: \"legend\" }\n\t);\n\n// Optimize for push.apply( _, NodeList )\ntry {\n\tpush.apply(\n\t\t(arr = slice.call( preferredDoc.childNodes )),\n\t\tpreferredDoc.childNodes\n\t);\n\t// Support: Android<4.0\n\t// Detect silently failing push.apply\n\tarr[ preferredDoc.childNodes.length ].nodeType;\n} catch ( e ) {\n\tpush = { apply: arr.length ?\n\n\t\t// Leverage slice if possible\n\t\tfunction( target, els ) {\n\t\t\tpush_native.apply( target, slice.call(els) );\n\t\t} :\n\n\t\t// Support: IE<9\n\t\t// Otherwise append directly\n\t\tfunction( target, els ) {\n\t\t\tvar j = target.length,\n\t\t\t\ti = 0;\n\t\t\t// Can't trust NodeList.length\n\t\t\twhile ( (target[j++] = els[i++]) ) {}\n\t\t\ttarget.length = j - 1;\n\t\t}\n\t};\n}\n\nfunction Sizzle( selector, context, results, seed ) {\n\tvar m, i, elem, nid, match, groups, newSelector,\n\t\tnewContext = context && context.ownerDocument,\n\n\t\t// nodeType defaults to 9, since context defaults to document\n\t\tnodeType = context ? context.nodeType : 9;\n\n\tresults = results || [];\n\n\t// Return early from calls with invalid selector or context\n\tif ( typeof selector !== \"string\" || !selector ||\n\t\tnodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) {\n\n\t\treturn results;\n\t}\n\n\t// Try to shortcut find operations (as opposed to filters) in HTML documents\n\tif ( !seed ) {\n\n\t\tif ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) {\n\t\t\tsetDocument( context );\n\t\t}\n\t\tcontext = context || document;\n\n\t\tif ( documentIsHTML ) {\n\n\t\t\t// If the selector is sufficiently simple, try using a \"get*By*\" DOM method\n\t\t\t// (excepting DocumentFragment context, where the methods don't exist)\n\t\t\tif ( nodeType !== 11 && (match = rquickExpr.exec( selector )) ) {\n\n\t\t\t\t// ID selector\n\t\t\t\tif ( (m = match[1]) ) {\n\n\t\t\t\t\t// Document context\n\t\t\t\t\tif ( nodeType === 9 ) {\n\t\t\t\t\t\tif ( (elem = context.getElementById( m )) ) {\n\n\t\t\t\t\t\t\t// Support: IE, Opera, Webkit\n\t\t\t\t\t\t\t// TODO: identify versions\n\t\t\t\t\t\t\t// getElementById can match elements by name instead of ID\n\t\t\t\t\t\t\tif ( elem.id === m ) {\n\t\t\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t// Element context\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\t// Support: IE, Opera, Webkit\n\t\t\t\t\t\t// TODO: identify versions\n\t\t\t\t\t\t// getElementById can match elements by name instead of ID\n\t\t\t\t\t\tif ( newContext && (elem = newContext.getElementById( m )) &&\n\t\t\t\t\t\t\tcontains( context, elem ) &&\n\t\t\t\t\t\t\telem.id === m ) {\n\n\t\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t// Type selector\n\t\t\t\t} else if ( match[2] ) {\n\t\t\t\t\tpush.apply( results, context.getElementsByTagName( selector ) );\n\t\t\t\t\treturn results;\n\n\t\t\t\t// Class selector\n\t\t\t\t} else if ( (m = match[3]) && support.getElementsByClassName &&\n\t\t\t\t\tcontext.getElementsByClassName ) {\n\n\t\t\t\t\tpush.apply( results, context.getElementsByClassName( m ) );\n\t\t\t\t\treturn results;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Take advantage of querySelectorAll\n\t\t\tif ( support.qsa &&\n\t\t\t\t!nonnativeSelectorCache[ selector + \" \" ] &&\n\t\t\t\t(!rbuggyQSA || !rbuggyQSA.test( selector )) &&\n\n\t\t\t\t// Support: IE 8 only\n\t\t\t\t// Exclude object elements\n\t\t\t\t(nodeType !== 1 || context.nodeName.toLowerCase() !== \"object\") ) {\n\n\t\t\t\tnewSelector = selector;\n\t\t\t\tnewContext = context;\n\n\t\t\t\t// qSA considers elements outside a scoping root when evaluating child or\n\t\t\t\t// descendant combinators, which is not what we want.\n\t\t\t\t// In such cases, we work around the behavior by prefixing every selector in the\n\t\t\t\t// list with an ID selector referencing the scope context.\n\t\t\t\t// Thanks to Andrew Dupont for this technique.\n\t\t\t\tif ( nodeType === 1 && rdescend.test( selector ) ) {\n\n\t\t\t\t\t// Capture the context ID, setting it first if necessary\n\t\t\t\t\tif ( (nid = context.getAttribute( \"id\" )) ) {\n\t\t\t\t\t\tnid = nid.replace( rcssescape, fcssescape );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcontext.setAttribute( \"id\", (nid = expando) );\n\t\t\t\t\t}\n\n\t\t\t\t\t// Prefix every selector in the list\n\t\t\t\t\tgroups = tokenize( selector );\n\t\t\t\t\ti = groups.length;\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tgroups[i] = \"#\" + nid + \" \" + toSelector( groups[i] );\n\t\t\t\t\t}\n\t\t\t\t\tnewSelector = groups.join( \",\" );\n\n\t\t\t\t\t// Expand context for sibling selectors\n\t\t\t\t\tnewContext = rsibling.test( selector ) && testContext( context.parentNode ) ||\n\t\t\t\t\t\tcontext;\n\t\t\t\t}\n\n\t\t\t\ttry {\n\t\t\t\t\tpush.apply( results,\n\t\t\t\t\t\tnewContext.querySelectorAll( newSelector )\n\t\t\t\t\t);\n\t\t\t\t\treturn results;\n\t\t\t\t} catch ( qsaError ) {\n\t\t\t\t\tnonnativeSelectorCache( selector, true );\n\t\t\t\t} finally {\n\t\t\t\t\tif ( nid === expando ) {\n\t\t\t\t\t\tcontext.removeAttribute( \"id\" );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// All others\n\treturn select( selector.replace( rtrim, \"$1\" ), context, results, seed );\n}\n\n/**\n * Create key-value caches of limited size\n * @returns {function(string, object)} Returns the Object data after storing it on itself with\n *\tproperty name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)\n *\tdeleting the oldest entry\n */\nfunction createCache() {\n\tvar keys = [];\n\n\tfunction cache( key, value ) {\n\t\t// Use (key + \" \") to avoid collision with native prototype properties (see Issue #157)\n\t\tif ( keys.push( key + \" \" ) > Expr.cacheLength ) {\n\t\t\t// Only keep the most recent entries\n\t\t\tdelete cache[ keys.shift() ];\n\t\t}\n\t\treturn (cache[ key + \" \" ] = value);\n\t}\n\treturn cache;\n}\n\n/**\n * Mark a function for special use by Sizzle\n * @param {Function} fn The function to mark\n */\nfunction markFunction( fn ) {\n\tfn[ expando ] = true;\n\treturn fn;\n}\n\n/**\n * Support testing using an element\n * @param {Function} fn Passed the created element and returns a boolean result\n */\nfunction assert( fn ) {\n\tvar el = document.createElement(\"fieldset\");\n\n\ttry {\n\t\treturn !!fn( el );\n\t} catch (e) {\n\t\treturn false;\n\t} finally {\n\t\t// Remove from its parent by default\n\t\tif ( el.parentNode ) {\n\t\t\tel.parentNode.removeChild( el );\n\t\t}\n\t\t// release memory in IE\n\t\tel = null;\n\t}\n}\n\n/**\n * Adds the same handler for all of the specified attrs\n * @param {String} attrs Pipe-separated list of attributes\n * @param {Function} handler The method that will be applied\n */\nfunction addHandle( attrs, handler ) {\n\tvar arr = attrs.split(\"|\"),\n\t\ti = arr.length;\n\n\twhile ( i-- ) {\n\t\tExpr.attrHandle[ arr[i] ] = handler;\n\t}\n}\n\n/**\n * Checks document order of two siblings\n * @param {Element} a\n * @param {Element} b\n * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b\n */\nfunction siblingCheck( a, b ) {\n\tvar cur = b && a,\n\t\tdiff = cur && a.nodeType === 1 && b.nodeType === 1 &&\n\t\t\ta.sourceIndex - b.sourceIndex;\n\n\t// Use IE sourceIndex if available on both nodes\n\tif ( diff ) {\n\t\treturn diff;\n\t}\n\n\t// Check if b follows a\n\tif ( cur ) {\n\t\twhile ( (cur = cur.nextSibling) ) {\n\t\t\tif ( cur === b ) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t}\n\t}\n\n\treturn a ? 1 : -1;\n}\n\n/**\n * Returns a function to use in pseudos for input types\n * @param {String} type\n */\nfunction createInputPseudo( type ) {\n\treturn function( elem ) {\n\t\tvar name = elem.nodeName.toLowerCase();\n\t\treturn name === \"input\" && elem.type === type;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for buttons\n * @param {String} type\n */\nfunction createButtonPseudo( type ) {\n\treturn function( elem ) {\n\t\tvar name = elem.nodeName.toLowerCase();\n\t\treturn (name === \"input\" || name === \"button\") && elem.type === type;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for :enabled/:disabled\n * @param {Boolean} disabled true for :disabled; false for :enabled\n */\nfunction createDisabledPseudo( disabled ) {\n\n\t// Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable\n\treturn function( elem ) {\n\n\t\t// Only certain elements can match :enabled or :disabled\n\t\t// https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled\n\t\t// https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled\n\t\tif ( \"form\" in elem ) {\n\n\t\t\t// Check for inherited disabledness on relevant non-disabled elements:\n\t\t\t// * listed form-associated elements in a disabled fieldset\n\t\t\t//   https://html.spec.whatwg.org/multipage/forms.html#category-listed\n\t\t\t//   https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled\n\t\t\t// * option elements in a disabled optgroup\n\t\t\t//   https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled\n\t\t\t// All such elements have a \"form\" property.\n\t\t\tif ( elem.parentNode && elem.disabled === false ) {\n\n\t\t\t\t// Option elements defer to a parent optgroup if present\n\t\t\t\tif ( \"label\" in elem ) {\n\t\t\t\t\tif ( \"label\" in elem.parentNode ) {\n\t\t\t\t\t\treturn elem.parentNode.disabled === disabled;\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn elem.disabled === disabled;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Support: IE 6 - 11\n\t\t\t\t// Use the isDisabled shortcut property to check for disabled fieldset ancestors\n\t\t\t\treturn elem.isDisabled === disabled ||\n\n\t\t\t\t\t// Where there is no isDisabled, check manually\n\t\t\t\t\t/* jshint -W018 */\n\t\t\t\t\telem.isDisabled !== !disabled &&\n\t\t\t\t\t\tinDisabledFieldset( elem ) === disabled;\n\t\t\t}\n\n\t\t\treturn elem.disabled === disabled;\n\n\t\t// Try to winnow out elements that can't be disabled before trusting the disabled property.\n\t\t// Some victims get caught in our net (label, legend, menu, track), but it shouldn't\n\t\t// even exist on them, let alone have a boolean value.\n\t\t} else if ( \"label\" in elem ) {\n\t\t\treturn elem.disabled === disabled;\n\t\t}\n\n\t\t// Remaining elements are neither :enabled nor :disabled\n\t\treturn false;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for positionals\n * @param {Function} fn\n */\nfunction createPositionalPseudo( fn ) {\n\treturn markFunction(function( argument ) {\n\t\targument = +argument;\n\t\treturn markFunction(function( seed, matches ) {\n\t\t\tvar j,\n\t\t\t\tmatchIndexes = fn( [], seed.length, argument ),\n\t\t\t\ti = matchIndexes.length;\n\n\t\t\t// Match elements found at the specified indexes\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( seed[ (j = matchIndexes[i]) ] ) {\n\t\t\t\t\tseed[j] = !(matches[j] = seed[j]);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t});\n}\n\n/**\n * Checks a node for validity as a Sizzle context\n * @param {Element|Object=} context\n * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value\n */\nfunction testContext( context ) {\n\treturn context && typeof context.getElementsByTagName !== \"undefined\" && context;\n}\n\n// Expose support vars for convenience\nsupport = Sizzle.support = {};\n\n/**\n * Detects XML nodes\n * @param {Element|Object} elem An element or a document\n * @returns {Boolean} True iff elem is a non-HTML XML node\n */\nisXML = Sizzle.isXML = function( elem ) {\n\tvar namespace = elem.namespaceURI,\n\t\tdocElem = (elem.ownerDocument || elem).documentElement;\n\n\t// Support: IE <=8\n\t// Assume HTML when documentElement doesn't yet exist, such as inside loading iframes\n\t// https://bugs.jquery.com/ticket/4833\n\treturn !rhtml.test( namespace || docElem && docElem.nodeName || \"HTML\" );\n};\n\n/**\n * Sets document-related variables once based on the current document\n * @param {Element|Object} [doc] An element or document object to use to set the document\n * @returns {Object} Returns the current document\n */\nsetDocument = Sizzle.setDocument = function( node ) {\n\tvar hasCompare, subWindow,\n\t\tdoc = node ? node.ownerDocument || node : preferredDoc;\n\n\t// Return early if doc is invalid or already selected\n\tif ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) {\n\t\treturn document;\n\t}\n\n\t// Update global variables\n\tdocument = doc;\n\tdocElem = document.documentElement;\n\tdocumentIsHTML = !isXML( document );\n\n\t// Support: IE 9-11, Edge\n\t// Accessing iframe documents after unload throws \"permission denied\" errors (jQuery #13936)\n\tif ( preferredDoc !== document &&\n\t\t(subWindow = document.defaultView) && subWindow.top !== subWindow ) {\n\n\t\t// Support: IE 11, Edge\n\t\tif ( subWindow.addEventListener ) {\n\t\t\tsubWindow.addEventListener( \"unload\", unloadHandler, false );\n\n\t\t// Support: IE 9 - 10 only\n\t\t} else if ( subWindow.attachEvent ) {\n\t\t\tsubWindow.attachEvent( \"onunload\", unloadHandler );\n\t\t}\n\t}\n\n\t/* Attributes\n\t---------------------------------------------------------------------- */\n\n\t// Support: IE<8\n\t// Verify that getAttribute really returns attributes and not properties\n\t// (excepting IE8 booleans)\n\tsupport.attributes = assert(function( el ) {\n\t\tel.className = \"i\";\n\t\treturn !el.getAttribute(\"className\");\n\t});\n\n\t/* getElement(s)By*\n\t---------------------------------------------------------------------- */\n\n\t// Check if getElementsByTagName(\"*\") returns only elements\n\tsupport.getElementsByTagName = assert(function( el ) {\n\t\tel.appendChild( document.createComment(\"\") );\n\t\treturn !el.getElementsByTagName(\"*\").length;\n\t});\n\n\t// Support: IE<9\n\tsupport.getElementsByClassName = rnative.test( document.getElementsByClassName );\n\n\t// Support: IE<10\n\t// Check if getElementById returns elements by name\n\t// The broken getElementById methods don't pick up programmatically-set names,\n\t// so use a roundabout getElementsByName test\n\tsupport.getById = assert(function( el ) {\n\t\tdocElem.appendChild( el ).id = expando;\n\t\treturn !document.getElementsByName || !document.getElementsByName( expando ).length;\n\t});\n\n\t// ID filter and find\n\tif ( support.getById ) {\n\t\tExpr.filter[\"ID\"] = function( id ) {\n\t\t\tvar attrId = id.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\treturn elem.getAttribute(\"id\") === attrId;\n\t\t\t};\n\t\t};\n\t\tExpr.find[\"ID\"] = function( id, context ) {\n\t\t\tif ( typeof context.getElementById !== \"undefined\" && documentIsHTML ) {\n\t\t\t\tvar elem = context.getElementById( id );\n\t\t\t\treturn elem ? [ elem ] : [];\n\t\t\t}\n\t\t};\n\t} else {\n\t\tExpr.filter[\"ID\"] =  function( id ) {\n\t\t\tvar attrId = id.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\tvar node = typeof elem.getAttributeNode !== \"undefined\" &&\n\t\t\t\t\telem.getAttributeNode(\"id\");\n\t\t\t\treturn node && node.value === attrId;\n\t\t\t};\n\t\t};\n\n\t\t// Support: IE 6 - 7 only\n\t\t// getElementById is not reliable as a find shortcut\n\t\tExpr.find[\"ID\"] = function( id, context ) {\n\t\t\tif ( typeof context.getElementById !== \"undefined\" && documentIsHTML ) {\n\t\t\t\tvar node, i, elems,\n\t\t\t\t\telem = context.getElementById( id );\n\n\t\t\t\tif ( elem ) {\n\n\t\t\t\t\t// Verify the id attribute\n\t\t\t\t\tnode = elem.getAttributeNode(\"id\");\n\t\t\t\t\tif ( node && node.value === id ) {\n\t\t\t\t\t\treturn [ elem ];\n\t\t\t\t\t}\n\n\t\t\t\t\t// Fall back on getElementsByName\n\t\t\t\t\telems = context.getElementsByName( id );\n\t\t\t\t\ti = 0;\n\t\t\t\t\twhile ( (elem = elems[i++]) ) {\n\t\t\t\t\t\tnode = elem.getAttributeNode(\"id\");\n\t\t\t\t\t\tif ( node && node.value === id ) {\n\t\t\t\t\t\t\treturn [ elem ];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn [];\n\t\t\t}\n\t\t};\n\t}\n\n\t// Tag\n\tExpr.find[\"TAG\"] = support.getElementsByTagName ?\n\t\tfunction( tag, context ) {\n\t\t\tif ( typeof context.getElementsByTagName !== \"undefined\" ) {\n\t\t\t\treturn context.getElementsByTagName( tag );\n\n\t\t\t// DocumentFragment nodes don't have gEBTN\n\t\t\t} else if ( support.qsa ) {\n\t\t\t\treturn context.querySelectorAll( tag );\n\t\t\t}\n\t\t} :\n\n\t\tfunction( tag, context ) {\n\t\t\tvar elem,\n\t\t\t\ttmp = [],\n\t\t\t\ti = 0,\n\t\t\t\t// By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too\n\t\t\t\tresults = context.getElementsByTagName( tag );\n\n\t\t\t// Filter out possible comments\n\t\t\tif ( tag === \"*\" ) {\n\t\t\t\twhile ( (elem = results[i++]) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 ) {\n\t\t\t\t\t\ttmp.push( elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn tmp;\n\t\t\t}\n\t\t\treturn results;\n\t\t};\n\n\t// Class\n\tExpr.find[\"CLASS\"] = support.getElementsByClassName && function( className, context ) {\n\t\tif ( typeof context.getElementsByClassName !== \"undefined\" && documentIsHTML ) {\n\t\t\treturn context.getElementsByClassName( className );\n\t\t}\n\t};\n\n\t/* QSA/matchesSelector\n\t---------------------------------------------------------------------- */\n\n\t// QSA and matchesSelector support\n\n\t// matchesSelector(:active) reports false when true (IE9/Opera 11.5)\n\trbuggyMatches = [];\n\n\t// qSa(:focus) reports false when true (Chrome 21)\n\t// We allow this because of a bug in IE8/9 that throws an error\n\t// whenever `document.activeElement` is accessed on an iframe\n\t// So, we allow :focus to pass through QSA all the time to avoid the IE error\n\t// See https://bugs.jquery.com/ticket/13378\n\trbuggyQSA = [];\n\n\tif ( (support.qsa = rnative.test( document.querySelectorAll )) ) {\n\t\t// Build QSA regex\n\t\t// Regex strategy adopted from Diego Perini\n\t\tassert(function( el ) {\n\t\t\t// Select is set to empty string on purpose\n\t\t\t// This is to test IE's treatment of not explicitly\n\t\t\t// setting a boolean content attribute,\n\t\t\t// since its presence should be enough\n\t\t\t// https://bugs.jquery.com/ticket/12359\n\t\t\tdocElem.appendChild( el ).innerHTML = \"<a id='\" + expando + \"'></a>\" +\n\t\t\t\t\"<select id='\" + expando + \"-\\r\\\\' msallowcapture=''>\" +\n\t\t\t\t\"<option selected=''></option></select>\";\n\n\t\t\t// Support: IE8, Opera 11-12.16\n\t\t\t// Nothing should be selected when empty strings follow ^= or $= or *=\n\t\t\t// The test attribute must be unknown in Opera but \"safe\" for WinRT\n\t\t\t// https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section\n\t\t\tif ( el.querySelectorAll(\"[msallowcapture^='']\").length ) {\n\t\t\t\trbuggyQSA.push( \"[*^$]=\" + whitespace + \"*(?:''|\\\"\\\")\" );\n\t\t\t}\n\n\t\t\t// Support: IE8\n\t\t\t// Boolean attributes and \"value\" are not treated correctly\n\t\t\tif ( !el.querySelectorAll(\"[selected]\").length ) {\n\t\t\t\trbuggyQSA.push( \"\\\\[\" + whitespace + \"*(?:value|\" + booleans + \")\" );\n\t\t\t}\n\n\t\t\t// Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+\n\t\t\tif ( !el.querySelectorAll( \"[id~=\" + expando + \"-]\" ).length ) {\n\t\t\t\trbuggyQSA.push(\"~=\");\n\t\t\t}\n\n\t\t\t// Webkit/Opera - :checked should return selected option elements\n\t\t\t// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked\n\t\t\t// IE8 throws error here and will not see later tests\n\t\t\tif ( !el.querySelectorAll(\":checked\").length ) {\n\t\t\t\trbuggyQSA.push(\":checked\");\n\t\t\t}\n\n\t\t\t// Support: Safari 8+, iOS 8+\n\t\t\t// https://bugs.webkit.org/show_bug.cgi?id=136851\n\t\t\t// In-page `selector#id sibling-combinator selector` fails\n\t\t\tif ( !el.querySelectorAll( \"a#\" + expando + \"+*\" ).length ) {\n\t\t\t\trbuggyQSA.push(\".#.+[+~]\");\n\t\t\t}\n\t\t});\n\n\t\tassert(function( el ) {\n\t\t\tel.innerHTML = \"<a href='' disabled='disabled'></a>\" +\n\t\t\t\t\"<select disabled='disabled'><option/></select>\";\n\n\t\t\t// Support: Windows 8 Native Apps\n\t\t\t// The type and name attributes are restricted during .innerHTML assignment\n\t\t\tvar input = document.createElement(\"input\");\n\t\t\tinput.setAttribute( \"type\", \"hidden\" );\n\t\t\tel.appendChild( input ).setAttribute( \"name\", \"D\" );\n\n\t\t\t// Support: IE8\n\t\t\t// Enforce case-sensitivity of name attribute\n\t\t\tif ( el.querySelectorAll(\"[name=d]\").length ) {\n\t\t\t\trbuggyQSA.push( \"name\" + whitespace + \"*[*^$|!~]?=\" );\n\t\t\t}\n\n\t\t\t// FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled)\n\t\t\t// IE8 throws error here and will not see later tests\n\t\t\tif ( el.querySelectorAll(\":enabled\").length !== 2 ) {\n\t\t\t\trbuggyQSA.push( \":enabled\", \":disabled\" );\n\t\t\t}\n\n\t\t\t// Support: IE9-11+\n\t\t\t// IE's :disabled selector does not pick up the children of disabled fieldsets\n\t\t\tdocElem.appendChild( el ).disabled = true;\n\t\t\tif ( el.querySelectorAll(\":disabled\").length !== 2 ) {\n\t\t\t\trbuggyQSA.push( \":enabled\", \":disabled\" );\n\t\t\t}\n\n\t\t\t// Opera 10-11 does not throw on post-comma invalid pseudos\n\t\t\tel.querySelectorAll(\"*,:x\");\n\t\t\trbuggyQSA.push(\",.*:\");\n\t\t});\n\t}\n\n\tif ( (support.matchesSelector = rnative.test( (matches = docElem.matches ||\n\t\tdocElem.webkitMatchesSelector ||\n\t\tdocElem.mozMatchesSelector ||\n\t\tdocElem.oMatchesSelector ||\n\t\tdocElem.msMatchesSelector) )) ) {\n\n\t\tassert(function( el ) {\n\t\t\t// Check to see if it's possible to do matchesSelector\n\t\t\t// on a disconnected node (IE 9)\n\t\t\tsupport.disconnectedMatch = matches.call( el, \"*\" );\n\n\t\t\t// This should fail with an exception\n\t\t\t// Gecko does not error, returns false instead\n\t\t\tmatches.call( el, \"[s!='']:x\" );\n\t\t\trbuggyMatches.push( \"!=\", pseudos );\n\t\t});\n\t}\n\n\trbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join(\"|\") );\n\trbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join(\"|\") );\n\n\t/* Contains\n\t---------------------------------------------------------------------- */\n\thasCompare = rnative.test( docElem.compareDocumentPosition );\n\n\t// Element contains another\n\t// Purposefully self-exclusive\n\t// As in, an element does not contain itself\n\tcontains = hasCompare || rnative.test( docElem.contains ) ?\n\t\tfunction( a, b ) {\n\t\t\tvar adown = a.nodeType === 9 ? a.documentElement : a,\n\t\t\t\tbup = b && b.parentNode;\n\t\t\treturn a === bup || !!( bup && bup.nodeType === 1 && (\n\t\t\t\tadown.contains ?\n\t\t\t\t\tadown.contains( bup ) :\n\t\t\t\t\ta.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16\n\t\t\t));\n\t\t} :\n\t\tfunction( a, b ) {\n\t\t\tif ( b ) {\n\t\t\t\twhile ( (b = b.parentNode) ) {\n\t\t\t\t\tif ( b === a ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n\n\t/* Sorting\n\t---------------------------------------------------------------------- */\n\n\t// Document order sorting\n\tsortOrder = hasCompare ?\n\tfunction( a, b ) {\n\n\t\t// Flag for duplicate removal\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t\treturn 0;\n\t\t}\n\n\t\t// Sort on method existence if only one input has compareDocumentPosition\n\t\tvar compare = !a.compareDocumentPosition - !b.compareDocumentPosition;\n\t\tif ( compare ) {\n\t\t\treturn compare;\n\t\t}\n\n\t\t// Calculate position if both inputs belong to the same document\n\t\tcompare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ?\n\t\t\ta.compareDocumentPosition( b ) :\n\n\t\t\t// Otherwise we know they are disconnected\n\t\t\t1;\n\n\t\t// Disconnected nodes\n\t\tif ( compare & 1 ||\n\t\t\t(!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) {\n\n\t\t\t// Choose the first element that is related to our preferred document\n\t\t\tif ( a === document || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif ( b === document || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) {\n\t\t\t\treturn 1;\n\t\t\t}\n\n\t\t\t// Maintain original order\n\t\t\treturn sortInput ?\n\t\t\t\t( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :\n\t\t\t\t0;\n\t\t}\n\n\t\treturn compare & 4 ? -1 : 1;\n\t} :\n\tfunction( a, b ) {\n\t\t// Exit early if the nodes are identical\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t\treturn 0;\n\t\t}\n\n\t\tvar cur,\n\t\t\ti = 0,\n\t\t\taup = a.parentNode,\n\t\t\tbup = b.parentNode,\n\t\t\tap = [ a ],\n\t\t\tbp = [ b ];\n\n\t\t// Parentless nodes are either documents or disconnected\n\t\tif ( !aup || !bup ) {\n\t\t\treturn a === document ? -1 :\n\t\t\t\tb === document ? 1 :\n\t\t\t\taup ? -1 :\n\t\t\t\tbup ? 1 :\n\t\t\t\tsortInput ?\n\t\t\t\t( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :\n\t\t\t\t0;\n\n\t\t// If the nodes are siblings, we can do a quick check\n\t\t} else if ( aup === bup ) {\n\t\t\treturn siblingCheck( a, b );\n\t\t}\n\n\t\t// Otherwise we need full lists of their ancestors for comparison\n\t\tcur = a;\n\t\twhile ( (cur = cur.parentNode) ) {\n\t\t\tap.unshift( cur );\n\t\t}\n\t\tcur = b;\n\t\twhile ( (cur = cur.parentNode) ) {\n\t\t\tbp.unshift( cur );\n\t\t}\n\n\t\t// Walk down the tree looking for a discrepancy\n\t\twhile ( ap[i] === bp[i] ) {\n\t\t\ti++;\n\t\t}\n\n\t\treturn i ?\n\t\t\t// Do a sibling check if the nodes have a common ancestor\n\t\t\tsiblingCheck( ap[i], bp[i] ) :\n\n\t\t\t// Otherwise nodes in our document sort first\n\t\t\tap[i] === preferredDoc ? -1 :\n\t\t\tbp[i] === preferredDoc ? 1 :\n\t\t\t0;\n\t};\n\n\treturn document;\n};\n\nSizzle.matches = function( expr, elements ) {\n\treturn Sizzle( expr, null, null, elements );\n};\n\nSizzle.matchesSelector = function( elem, expr ) {\n\t// Set document vars if needed\n\tif ( ( elem.ownerDocument || elem ) !== document ) {\n\t\tsetDocument( elem );\n\t}\n\n\tif ( support.matchesSelector && documentIsHTML &&\n\t\t!nonnativeSelectorCache[ expr + \" \" ] &&\n\t\t( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&\n\t\t( !rbuggyQSA     || !rbuggyQSA.test( expr ) ) ) {\n\n\t\ttry {\n\t\t\tvar ret = matches.call( elem, expr );\n\n\t\t\t// IE 9's matchesSelector returns false on disconnected nodes\n\t\t\tif ( ret || support.disconnectedMatch ||\n\t\t\t\t\t// As well, disconnected nodes are said to be in a document\n\t\t\t\t\t// fragment in IE 9\n\t\t\t\t\telem.document && elem.document.nodeType !== 11 ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\t\t} catch (e) {\n\t\t\tnonnativeSelectorCache( expr, true );\n\t\t}\n\t}\n\n\treturn Sizzle( expr, document, null, [ elem ] ).length > 0;\n};\n\nSizzle.contains = function( context, elem ) {\n\t// Set document vars if needed\n\tif ( ( context.ownerDocument || context ) !== document ) {\n\t\tsetDocument( context );\n\t}\n\treturn contains( context, elem );\n};\n\nSizzle.attr = function( elem, name ) {\n\t// Set document vars if needed\n\tif ( ( elem.ownerDocument || elem ) !== document ) {\n\t\tsetDocument( elem );\n\t}\n\n\tvar fn = Expr.attrHandle[ name.toLowerCase() ],\n\t\t// Don't get fooled by Object.prototype properties (jQuery #13807)\n\t\tval = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ?\n\t\t\tfn( elem, name, !documentIsHTML ) :\n\t\t\tundefined;\n\n\treturn val !== undefined ?\n\t\tval :\n\t\tsupport.attributes || !documentIsHTML ?\n\t\t\telem.getAttribute( name ) :\n\t\t\t(val = elem.getAttributeNode(name)) && val.specified ?\n\t\t\t\tval.value :\n\t\t\t\tnull;\n};\n\nSizzle.escape = function( sel ) {\n\treturn (sel + \"\").replace( rcssescape, fcssescape );\n};\n\nSizzle.error = function( msg ) {\n\tthrow new Error( \"Syntax error, unrecognized expression: \" + msg );\n};\n\n/**\n * Document sorting and removing duplicates\n * @param {ArrayLike} results\n */\nSizzle.uniqueSort = function( results ) {\n\tvar elem,\n\t\tduplicates = [],\n\t\tj = 0,\n\t\ti = 0;\n\n\t// Unless we *know* we can detect duplicates, assume their presence\n\thasDuplicate = !support.detectDuplicates;\n\tsortInput = !support.sortStable && results.slice( 0 );\n\tresults.sort( sortOrder );\n\n\tif ( hasDuplicate ) {\n\t\twhile ( (elem = results[i++]) ) {\n\t\t\tif ( elem === results[ i ] ) {\n\t\t\t\tj = duplicates.push( i );\n\t\t\t}\n\t\t}\n\t\twhile ( j-- ) {\n\t\t\tresults.splice( duplicates[ j ], 1 );\n\t\t}\n\t}\n\n\t// Clear input after sorting to release objects\n\t// See https://github.com/jquery/sizzle/pull/225\n\tsortInput = null;\n\n\treturn results;\n};\n\n/**\n * Utility function for retrieving the text value of an array of DOM nodes\n * @param {Array|Element} elem\n */\ngetText = Sizzle.getText = function( elem ) {\n\tvar node,\n\t\tret = \"\",\n\t\ti = 0,\n\t\tnodeType = elem.nodeType;\n\n\tif ( !nodeType ) {\n\t\t// If no nodeType, this is expected to be an array\n\t\twhile ( (node = elem[i++]) ) {\n\t\t\t// Do not traverse comment nodes\n\t\t\tret += getText( node );\n\t\t}\n\t} else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) {\n\t\t// Use textContent for elements\n\t\t// innerText usage removed for consistency of new lines (jQuery #11153)\n\t\tif ( typeof elem.textContent === \"string\" ) {\n\t\t\treturn elem.textContent;\n\t\t} else {\n\t\t\t// Traverse its children\n\t\t\tfor ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {\n\t\t\t\tret += getText( elem );\n\t\t\t}\n\t\t}\n\t} else if ( nodeType === 3 || nodeType === 4 ) {\n\t\treturn elem.nodeValue;\n\t}\n\t// Do not include comment or processing instruction nodes\n\n\treturn ret;\n};\n\nExpr = Sizzle.selectors = {\n\n\t// Can be adjusted by the user\n\tcacheLength: 50,\n\n\tcreatePseudo: markFunction,\n\n\tmatch: matchExpr,\n\n\tattrHandle: {},\n\n\tfind: {},\n\n\trelative: {\n\t\t\">\": { dir: \"parentNode\", first: true },\n\t\t\" \": { dir: \"parentNode\" },\n\t\t\"+\": { dir: \"previousSibling\", first: true },\n\t\t\"~\": { dir: \"previousSibling\" }\n\t},\n\n\tpreFilter: {\n\t\t\"ATTR\": function( match ) {\n\t\t\tmatch[1] = match[1].replace( runescape, funescape );\n\n\t\t\t// Move the given value to match[3] whether quoted or unquoted\n\t\t\tmatch[3] = ( match[3] || match[4] || match[5] || \"\" ).replace( runescape, funescape );\n\n\t\t\tif ( match[2] === \"~=\" ) {\n\t\t\t\tmatch[3] = \" \" + match[3] + \" \";\n\t\t\t}\n\n\t\t\treturn match.slice( 0, 4 );\n\t\t},\n\n\t\t\"CHILD\": function( match ) {\n\t\t\t/* matches from matchExpr[\"CHILD\"]\n\t\t\t\t1 type (only|nth|...)\n\t\t\t\t2 what (child|of-type)\n\t\t\t\t3 argument (even|odd|\\d*|\\d*n([+-]\\d+)?|...)\n\t\t\t\t4 xn-component of xn+y argument ([+-]?\\d*n|)\n\t\t\t\t5 sign of xn-component\n\t\t\t\t6 x of xn-component\n\t\t\t\t7 sign of y-component\n\t\t\t\t8 y of y-component\n\t\t\t*/\n\t\t\tmatch[1] = match[1].toLowerCase();\n\n\t\t\tif ( match[1].slice( 0, 3 ) === \"nth\" ) {\n\t\t\t\t// nth-* requires argument\n\t\t\t\tif ( !match[3] ) {\n\t\t\t\t\tSizzle.error( match[0] );\n\t\t\t\t}\n\n\t\t\t\t// numeric x and y parameters for Expr.filter.CHILD\n\t\t\t\t// remember that false/true cast respectively to 0/1\n\t\t\t\tmatch[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === \"even\" || match[3] === \"odd\" ) );\n\t\t\t\tmatch[5] = +( ( match[7] + match[8] ) || match[3] === \"odd\" );\n\n\t\t\t// other types prohibit arguments\n\t\t\t} else if ( match[3] ) {\n\t\t\t\tSizzle.error( match[0] );\n\t\t\t}\n\n\t\t\treturn match;\n\t\t},\n\n\t\t\"PSEUDO\": function( match ) {\n\t\t\tvar excess,\n\t\t\t\tunquoted = !match[6] && match[2];\n\n\t\t\tif ( matchExpr[\"CHILD\"].test( match[0] ) ) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\t// Accept quoted arguments as-is\n\t\t\tif ( match[3] ) {\n\t\t\t\tmatch[2] = match[4] || match[5] || \"\";\n\n\t\t\t// Strip excess characters from unquoted arguments\n\t\t\t} else if ( unquoted && rpseudo.test( unquoted ) &&\n\t\t\t\t// Get excess from tokenize (recursively)\n\t\t\t\t(excess = tokenize( unquoted, true )) &&\n\t\t\t\t// advance to the next closing parenthesis\n\t\t\t\t(excess = unquoted.indexOf( \")\", unquoted.length - excess ) - unquoted.length) ) {\n\n\t\t\t\t// excess is a negative index\n\t\t\t\tmatch[0] = match[0].slice( 0, excess );\n\t\t\t\tmatch[2] = unquoted.slice( 0, excess );\n\t\t\t}\n\n\t\t\t// Return only captures needed by the pseudo filter method (type and argument)\n\t\t\treturn match.slice( 0, 3 );\n\t\t}\n\t},\n\n\tfilter: {\n\n\t\t\"TAG\": function( nodeNameSelector ) {\n\t\t\tvar nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase();\n\t\t\treturn nodeNameSelector === \"*\" ?\n\t\t\t\tfunction() { return true; } :\n\t\t\t\tfunction( elem ) {\n\t\t\t\t\treturn elem.nodeName && elem.nodeName.toLowerCase() === nodeName;\n\t\t\t\t};\n\t\t},\n\n\t\t\"CLASS\": function( className ) {\n\t\t\tvar pattern = classCache[ className + \" \" ];\n\n\t\t\treturn pattern ||\n\t\t\t\t(pattern = new RegExp( \"(^|\" + whitespace + \")\" + className + \"(\" + whitespace + \"|$)\" )) &&\n\t\t\t\tclassCache( className, function( elem ) {\n\t\t\t\t\treturn pattern.test( typeof elem.className === \"string\" && elem.className || typeof elem.getAttribute !== \"undefined\" && elem.getAttribute(\"class\") || \"\" );\n\t\t\t\t});\n\t\t},\n\n\t\t\"ATTR\": function( name, operator, check ) {\n\t\t\treturn function( elem ) {\n\t\t\t\tvar result = Sizzle.attr( elem, name );\n\n\t\t\t\tif ( result == null ) {\n\t\t\t\t\treturn operator === \"!=\";\n\t\t\t\t}\n\t\t\t\tif ( !operator ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\tresult += \"\";\n\n\t\t\t\treturn operator === \"=\" ? result === check :\n\t\t\t\t\toperator === \"!=\" ? result !== check :\n\t\t\t\t\toperator === \"^=\" ? check && result.indexOf( check ) === 0 :\n\t\t\t\t\toperator === \"*=\" ? check && result.indexOf( check ) > -1 :\n\t\t\t\t\toperator === \"$=\" ? check && result.slice( -check.length ) === check :\n\t\t\t\t\toperator === \"~=\" ? ( \" \" + result.replace( rwhitespace, \" \" ) + \" \" ).indexOf( check ) > -1 :\n\t\t\t\t\toperator === \"|=\" ? result === check || result.slice( 0, check.length + 1 ) === check + \"-\" :\n\t\t\t\t\tfalse;\n\t\t\t};\n\t\t},\n\n\t\t\"CHILD\": function( type, what, argument, first, last ) {\n\t\t\tvar simple = type.slice( 0, 3 ) !== \"nth\",\n\t\t\t\tforward = type.slice( -4 ) !== \"last\",\n\t\t\t\tofType = what === \"of-type\";\n\n\t\t\treturn first === 1 && last === 0 ?\n\n\t\t\t\t// Shortcut for :nth-*(n)\n\t\t\t\tfunction( elem ) {\n\t\t\t\t\treturn !!elem.parentNode;\n\t\t\t\t} :\n\n\t\t\t\tfunction( elem, context, xml ) {\n\t\t\t\t\tvar cache, uniqueCache, outerCache, node, nodeIndex, start,\n\t\t\t\t\t\tdir = simple !== forward ? \"nextSibling\" : \"previousSibling\",\n\t\t\t\t\t\tparent = elem.parentNode,\n\t\t\t\t\t\tname = ofType && elem.nodeName.toLowerCase(),\n\t\t\t\t\t\tuseCache = !xml && !ofType,\n\t\t\t\t\t\tdiff = false;\n\n\t\t\t\t\tif ( parent ) {\n\n\t\t\t\t\t\t// :(first|last|only)-(child|of-type)\n\t\t\t\t\t\tif ( simple ) {\n\t\t\t\t\t\t\twhile ( dir ) {\n\t\t\t\t\t\t\t\tnode = elem;\n\t\t\t\t\t\t\t\twhile ( (node = node[ dir ]) ) {\n\t\t\t\t\t\t\t\t\tif ( ofType ?\n\t\t\t\t\t\t\t\t\t\tnode.nodeName.toLowerCase() === name :\n\t\t\t\t\t\t\t\t\t\tnode.nodeType === 1 ) {\n\n\t\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t// Reverse direction for :only-* (if we haven't yet done so)\n\t\t\t\t\t\t\t\tstart = dir = type === \"only\" && !start && \"nextSibling\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tstart = [ forward ? parent.firstChild : parent.lastChild ];\n\n\t\t\t\t\t\t// non-xml :nth-child(...) stores cache data on `parent`\n\t\t\t\t\t\tif ( forward && useCache ) {\n\n\t\t\t\t\t\t\t// Seek `elem` from a previously-cached index\n\n\t\t\t\t\t\t\t// ...in a gzip-friendly way\n\t\t\t\t\t\t\tnode = parent;\n\t\t\t\t\t\t\touterCache = node[ expando ] || (node[ expando ] = {});\n\n\t\t\t\t\t\t\t// Support: IE <9 only\n\t\t\t\t\t\t\t// Defend against cloned attroperties (jQuery gh-1709)\n\t\t\t\t\t\t\tuniqueCache = outerCache[ node.uniqueID ] ||\n\t\t\t\t\t\t\t\t(outerCache[ node.uniqueID ] = {});\n\n\t\t\t\t\t\t\tcache = uniqueCache[ type ] || [];\n\t\t\t\t\t\t\tnodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];\n\t\t\t\t\t\t\tdiff = nodeIndex && cache[ 2 ];\n\t\t\t\t\t\t\tnode = nodeIndex && parent.childNodes[ nodeIndex ];\n\n\t\t\t\t\t\t\twhile ( (node = ++nodeIndex && node && node[ dir ] ||\n\n\t\t\t\t\t\t\t\t// Fallback to seeking `elem` from the start\n\t\t\t\t\t\t\t\t(diff = nodeIndex = 0) || start.pop()) ) {\n\n\t\t\t\t\t\t\t\t// When found, cache indexes on `parent` and break\n\t\t\t\t\t\t\t\tif ( node.nodeType === 1 && ++diff && node === elem ) {\n\t\t\t\t\t\t\t\t\tuniqueCache[ type ] = [ dirruns, nodeIndex, diff ];\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// Use previously-cached element index if available\n\t\t\t\t\t\t\tif ( useCache ) {\n\t\t\t\t\t\t\t\t// ...in a gzip-friendly way\n\t\t\t\t\t\t\t\tnode = elem;\n\t\t\t\t\t\t\t\touterCache = node[ expando ] || (node[ expando ] = {});\n\n\t\t\t\t\t\t\t\t// Support: IE <9 only\n\t\t\t\t\t\t\t\t// Defend against cloned attroperties (jQuery gh-1709)\n\t\t\t\t\t\t\t\tuniqueCache = outerCache[ node.uniqueID ] ||\n\t\t\t\t\t\t\t\t\t(outerCache[ node.uniqueID ] = {});\n\n\t\t\t\t\t\t\t\tcache = uniqueCache[ type ] || [];\n\t\t\t\t\t\t\t\tnodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];\n\t\t\t\t\t\t\t\tdiff = nodeIndex;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// xml :nth-child(...)\n\t\t\t\t\t\t\t// or :nth-last-child(...) or :nth(-last)?-of-type(...)\n\t\t\t\t\t\t\tif ( diff === false ) {\n\t\t\t\t\t\t\t\t// Use the same loop as above to seek `elem` from the start\n\t\t\t\t\t\t\t\twhile ( (node = ++nodeIndex && node && node[ dir ] ||\n\t\t\t\t\t\t\t\t\t(diff = nodeIndex = 0) || start.pop()) ) {\n\n\t\t\t\t\t\t\t\t\tif ( ( ofType ?\n\t\t\t\t\t\t\t\t\t\tnode.nodeName.toLowerCase() === name :\n\t\t\t\t\t\t\t\t\t\tnode.nodeType === 1 ) &&\n\t\t\t\t\t\t\t\t\t\t++diff ) {\n\n\t\t\t\t\t\t\t\t\t\t// Cache the index of each encountered element\n\t\t\t\t\t\t\t\t\t\tif ( useCache ) {\n\t\t\t\t\t\t\t\t\t\t\touterCache = node[ expando ] || (node[ expando ] = {});\n\n\t\t\t\t\t\t\t\t\t\t\t// Support: IE <9 only\n\t\t\t\t\t\t\t\t\t\t\t// Defend against cloned attroperties (jQuery gh-1709)\n\t\t\t\t\t\t\t\t\t\t\tuniqueCache = outerCache[ node.uniqueID ] ||\n\t\t\t\t\t\t\t\t\t\t\t\t(outerCache[ node.uniqueID ] = {});\n\n\t\t\t\t\t\t\t\t\t\t\tuniqueCache[ type ] = [ dirruns, diff ];\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\tif ( node === elem ) {\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Incorporate the offset, then check against cycle size\n\t\t\t\t\t\tdiff -= last;\n\t\t\t\t\t\treturn diff === first || ( diff % first === 0 && diff / first >= 0 );\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t},\n\n\t\t\"PSEUDO\": function( pseudo, argument ) {\n\t\t\t// pseudo-class names are case-insensitive\n\t\t\t// http://www.w3.org/TR/selectors/#pseudo-classes\n\t\t\t// Prioritize by case sensitivity in case custom pseudos are added with uppercase letters\n\t\t\t// Remember that setFilters inherits from pseudos\n\t\t\tvar args,\n\t\t\t\tfn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] ||\n\t\t\t\t\tSizzle.error( \"unsupported pseudo: \" + pseudo );\n\n\t\t\t// The user may use createPseudo to indicate that\n\t\t\t// arguments are needed to create the filter function\n\t\t\t// just as Sizzle does\n\t\t\tif ( fn[ expando ] ) {\n\t\t\t\treturn fn( argument );\n\t\t\t}\n\n\t\t\t// But maintain support for old signatures\n\t\t\tif ( fn.length > 1 ) {\n\t\t\t\targs = [ pseudo, pseudo, \"\", argument ];\n\t\t\t\treturn Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ?\n\t\t\t\t\tmarkFunction(function( seed, matches ) {\n\t\t\t\t\t\tvar idx,\n\t\t\t\t\t\t\tmatched = fn( seed, argument ),\n\t\t\t\t\t\t\ti = matched.length;\n\t\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\t\tidx = indexOf( seed, matched[i] );\n\t\t\t\t\t\t\tseed[ idx ] = !( matches[ idx ] = matched[i] );\n\t\t\t\t\t\t}\n\t\t\t\t\t}) :\n\t\t\t\t\tfunction( elem ) {\n\t\t\t\t\t\treturn fn( elem, 0, args );\n\t\t\t\t\t};\n\t\t\t}\n\n\t\t\treturn fn;\n\t\t}\n\t},\n\n\tpseudos: {\n\t\t// Potentially complex pseudos\n\t\t\"not\": markFunction(function( selector ) {\n\t\t\t// Trim the selector passed to compile\n\t\t\t// to avoid treating leading and trailing\n\t\t\t// spaces as combinators\n\t\t\tvar input = [],\n\t\t\t\tresults = [],\n\t\t\t\tmatcher = compile( selector.replace( rtrim, \"$1\" ) );\n\n\t\t\treturn matcher[ expando ] ?\n\t\t\t\tmarkFunction(function( seed, matches, context, xml ) {\n\t\t\t\t\tvar elem,\n\t\t\t\t\t\tunmatched = matcher( seed, null, xml, [] ),\n\t\t\t\t\t\ti = seed.length;\n\n\t\t\t\t\t// Match elements unmatched by `matcher`\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tif ( (elem = unmatched[i]) ) {\n\t\t\t\t\t\t\tseed[i] = !(matches[i] = elem);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}) :\n\t\t\t\tfunction( elem, context, xml ) {\n\t\t\t\t\tinput[0] = elem;\n\t\t\t\t\tmatcher( input, null, xml, results );\n\t\t\t\t\t// Don't keep the element (issue #299)\n\t\t\t\t\tinput[0] = null;\n\t\t\t\t\treturn !results.pop();\n\t\t\t\t};\n\t\t}),\n\n\t\t\"has\": markFunction(function( selector ) {\n\t\t\treturn function( elem ) {\n\t\t\t\treturn Sizzle( selector, elem ).length > 0;\n\t\t\t};\n\t\t}),\n\n\t\t\"contains\": markFunction(function( text ) {\n\t\t\ttext = text.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\treturn ( elem.textContent || getText( elem ) ).indexOf( text ) > -1;\n\t\t\t};\n\t\t}),\n\n\t\t// \"Whether an element is represented by a :lang() selector\n\t\t// is based solely on the element's language value\n\t\t// being equal to the identifier C,\n\t\t// or beginning with the identifier C immediately followed by \"-\".\n\t\t// The matching of C against the element's language value is performed case-insensitively.\n\t\t// The identifier C does not have to be a valid language name.\"\n\t\t// http://www.w3.org/TR/selectors/#lang-pseudo\n\t\t\"lang\": markFunction( function( lang ) {\n\t\t\t// lang value must be a valid identifier\n\t\t\tif ( !ridentifier.test(lang || \"\") ) {\n\t\t\t\tSizzle.error( \"unsupported lang: \" + lang );\n\t\t\t}\n\t\t\tlang = lang.replace( runescape, funescape ).toLowerCase();\n\t\t\treturn function( elem ) {\n\t\t\t\tvar elemLang;\n\t\t\t\tdo {\n\t\t\t\t\tif ( (elemLang = documentIsHTML ?\n\t\t\t\t\t\telem.lang :\n\t\t\t\t\t\telem.getAttribute(\"xml:lang\") || elem.getAttribute(\"lang\")) ) {\n\n\t\t\t\t\t\telemLang = elemLang.toLowerCase();\n\t\t\t\t\t\treturn elemLang === lang || elemLang.indexOf( lang + \"-\" ) === 0;\n\t\t\t\t\t}\n\t\t\t\t} while ( (elem = elem.parentNode) && elem.nodeType === 1 );\n\t\t\t\treturn false;\n\t\t\t};\n\t\t}),\n\n\t\t// Miscellaneous\n\t\t\"target\": function( elem ) {\n\t\t\tvar hash = window.location && window.location.hash;\n\t\t\treturn hash && hash.slice( 1 ) === elem.id;\n\t\t},\n\n\t\t\"root\": function( elem ) {\n\t\t\treturn elem === docElem;\n\t\t},\n\n\t\t\"focus\": function( elem ) {\n\t\t\treturn elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex);\n\t\t},\n\n\t\t// Boolean properties\n\t\t\"enabled\": createDisabledPseudo( false ),\n\t\t\"disabled\": createDisabledPseudo( true ),\n\n\t\t\"checked\": function( elem ) {\n\t\t\t// In CSS3, :checked should return both checked and selected elements\n\t\t\t// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked\n\t\t\tvar nodeName = elem.nodeName.toLowerCase();\n\t\t\treturn (nodeName === \"input\" && !!elem.checked) || (nodeName === \"option\" && !!elem.selected);\n\t\t},\n\n\t\t\"selected\": function( elem ) {\n\t\t\t// Accessing this property makes selected-by-default\n\t\t\t// options in Safari work properly\n\t\t\tif ( elem.parentNode ) {\n\t\t\t\telem.parentNode.selectedIndex;\n\t\t\t}\n\n\t\t\treturn elem.selected === true;\n\t\t},\n\n\t\t// Contents\n\t\t\"empty\": function( elem ) {\n\t\t\t// http://www.w3.org/TR/selectors/#empty-pseudo\n\t\t\t// :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),\n\t\t\t//   but not by others (comment: 8; processing instruction: 7; etc.)\n\t\t\t// nodeType < 6 works because attributes (2) do not appear as children\n\t\t\tfor ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {\n\t\t\t\tif ( elem.nodeType < 6 ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t},\n\n\t\t\"parent\": function( elem ) {\n\t\t\treturn !Expr.pseudos[\"empty\"]( elem );\n\t\t},\n\n\t\t// Element/input types\n\t\t\"header\": function( elem ) {\n\t\t\treturn rheader.test( elem.nodeName );\n\t\t},\n\n\t\t\"input\": function( elem ) {\n\t\t\treturn rinputs.test( elem.nodeName );\n\t\t},\n\n\t\t\"button\": function( elem ) {\n\t\t\tvar name = elem.nodeName.toLowerCase();\n\t\t\treturn name === \"input\" && elem.type === \"button\" || name === \"button\";\n\t\t},\n\n\t\t\"text\": function( elem ) {\n\t\t\tvar attr;\n\t\t\treturn elem.nodeName.toLowerCase() === \"input\" &&\n\t\t\t\telem.type === \"text\" &&\n\n\t\t\t\t// Support: IE<8\n\t\t\t\t// New HTML5 attribute values (e.g., \"search\") appear with elem.type === \"text\"\n\t\t\t\t( (attr = elem.getAttribute(\"type\")) == null || attr.toLowerCase() === \"text\" );\n\t\t},\n\n\t\t// Position-in-collection\n\t\t\"first\": createPositionalPseudo(function() {\n\t\t\treturn [ 0 ];\n\t\t}),\n\n\t\t\"last\": createPositionalPseudo(function( matchIndexes, length ) {\n\t\t\treturn [ length - 1 ];\n\t\t}),\n\n\t\t\"eq\": createPositionalPseudo(function( matchIndexes, length, argument ) {\n\t\t\treturn [ argument < 0 ? argument + length : argument ];\n\t\t}),\n\n\t\t\"even\": createPositionalPseudo(function( matchIndexes, length ) {\n\t\t\tvar i = 0;\n\t\t\tfor ( ; i < length; i += 2 ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t}),\n\n\t\t\"odd\": createPositionalPseudo(function( matchIndexes, length ) {\n\t\t\tvar i = 1;\n\t\t\tfor ( ; i < length; i += 2 ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t}),\n\n\t\t\"lt\": createPositionalPseudo(function( matchIndexes, length, argument ) {\n\t\t\tvar i = argument < 0 ?\n\t\t\t\targument + length :\n\t\t\t\targument > length ?\n\t\t\t\t\tlength :\n\t\t\t\t\targument;\n\t\t\tfor ( ; --i >= 0; ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t}),\n\n\t\t\"gt\": createPositionalPseudo(function( matchIndexes, length, argument ) {\n\t\t\tvar i = argument < 0 ? argument + length : argument;\n\t\t\tfor ( ; ++i < length; ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t})\n\t}\n};\n\nExpr.pseudos[\"nth\"] = Expr.pseudos[\"eq\"];\n\n// Add button/input type pseudos\nfor ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) {\n\tExpr.pseudos[ i ] = createInputPseudo( i );\n}\nfor ( i in { submit: true, reset: true } ) {\n\tExpr.pseudos[ i ] = createButtonPseudo( i );\n}\n\n// Easy API for creating new setFilters\nfunction setFilters() {}\nsetFilters.prototype = Expr.filters = Expr.pseudos;\nExpr.setFilters = new setFilters();\n\ntokenize = Sizzle.tokenize = function( selector, parseOnly ) {\n\tvar matched, match, tokens, type,\n\t\tsoFar, groups, preFilters,\n\t\tcached = tokenCache[ selector + \" \" ];\n\n\tif ( cached ) {\n\t\treturn parseOnly ? 0 : cached.slice( 0 );\n\t}\n\n\tsoFar = selector;\n\tgroups = [];\n\tpreFilters = Expr.preFilter;\n\n\twhile ( soFar ) {\n\n\t\t// Comma and first run\n\t\tif ( !matched || (match = rcomma.exec( soFar )) ) {\n\t\t\tif ( match ) {\n\t\t\t\t// Don't consume trailing commas as valid\n\t\t\t\tsoFar = soFar.slice( match[0].length ) || soFar;\n\t\t\t}\n\t\t\tgroups.push( (tokens = []) );\n\t\t}\n\n\t\tmatched = false;\n\n\t\t// Combinators\n\t\tif ( (match = rcombinators.exec( soFar )) ) {\n\t\t\tmatched = match.shift();\n\t\t\ttokens.push({\n\t\t\t\tvalue: matched,\n\t\t\t\t// Cast descendant combinators to space\n\t\t\t\ttype: match[0].replace( rtrim, \" \" )\n\t\t\t});\n\t\t\tsoFar = soFar.slice( matched.length );\n\t\t}\n\n\t\t// Filters\n\t\tfor ( type in Expr.filter ) {\n\t\t\tif ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] ||\n\t\t\t\t(match = preFilters[ type ]( match ))) ) {\n\t\t\t\tmatched = match.shift();\n\t\t\t\ttokens.push({\n\t\t\t\t\tvalue: matched,\n\t\t\t\t\ttype: type,\n\t\t\t\t\tmatches: match\n\t\t\t\t});\n\t\t\t\tsoFar = soFar.slice( matched.length );\n\t\t\t}\n\t\t}\n\n\t\tif ( !matched ) {\n\t\t\tbreak;\n\t\t}\n\t}\n\n\t// Return the length of the invalid excess\n\t// if we're just parsing\n\t// Otherwise, throw an error or return tokens\n\treturn parseOnly ?\n\t\tsoFar.length :\n\t\tsoFar ?\n\t\t\tSizzle.error( selector ) :\n\t\t\t// Cache the tokens\n\t\t\ttokenCache( selector, groups ).slice( 0 );\n};\n\nfunction toSelector( tokens ) {\n\tvar i = 0,\n\t\tlen = tokens.length,\n\t\tselector = \"\";\n\tfor ( ; i < len; i++ ) {\n\t\tselector += tokens[i].value;\n\t}\n\treturn selector;\n}\n\nfunction addCombinator( matcher, combinator, base ) {\n\tvar dir = combinator.dir,\n\t\tskip = combinator.next,\n\t\tkey = skip || dir,\n\t\tcheckNonElements = base && key === \"parentNode\",\n\t\tdoneName = done++;\n\n\treturn combinator.first ?\n\t\t// Check against closest ancestor/preceding element\n\t\tfunction( elem, context, xml ) {\n\t\t\twhile ( (elem = elem[ dir ]) ) {\n\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\treturn matcher( elem, context, xml );\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t} :\n\n\t\t// Check against all ancestor/preceding elements\n\t\tfunction( elem, context, xml ) {\n\t\t\tvar oldCache, uniqueCache, outerCache,\n\t\t\t\tnewCache = [ dirruns, doneName ];\n\n\t\t\t// We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching\n\t\t\tif ( xml ) {\n\t\t\t\twhile ( (elem = elem[ dir ]) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\t\tif ( matcher( elem, context, xml ) ) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\twhile ( (elem = elem[ dir ]) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\t\touterCache = elem[ expando ] || (elem[ expando ] = {});\n\n\t\t\t\t\t\t// Support: IE <9 only\n\t\t\t\t\t\t// Defend against cloned attroperties (jQuery gh-1709)\n\t\t\t\t\t\tuniqueCache = outerCache[ elem.uniqueID ] || (outerCache[ elem.uniqueID ] = {});\n\n\t\t\t\t\t\tif ( skip && skip === elem.nodeName.toLowerCase() ) {\n\t\t\t\t\t\t\telem = elem[ dir ] || elem;\n\t\t\t\t\t\t} else if ( (oldCache = uniqueCache[ key ]) &&\n\t\t\t\t\t\t\toldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) {\n\n\t\t\t\t\t\t\t// Assign to newCache so results back-propagate to previous elements\n\t\t\t\t\t\t\treturn (newCache[ 2 ] = oldCache[ 2 ]);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// Reuse newcache so results back-propagate to previous elements\n\t\t\t\t\t\t\tuniqueCache[ key ] = newCache;\n\n\t\t\t\t\t\t\t// A match means we're done; a fail means we have to keep checking\n\t\t\t\t\t\t\tif ( (newCache[ 2 ] = matcher( elem, context, xml )) ) {\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n}\n\nfunction elementMatcher( matchers ) {\n\treturn matchers.length > 1 ?\n\t\tfunction( elem, context, xml ) {\n\t\t\tvar i = matchers.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( !matchers[i]( elem, context, xml ) ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t} :\n\t\tmatchers[0];\n}\n\nfunction multipleContexts( selector, contexts, results ) {\n\tvar i = 0,\n\t\tlen = contexts.length;\n\tfor ( ; i < len; i++ ) {\n\t\tSizzle( selector, contexts[i], results );\n\t}\n\treturn results;\n}\n\nfunction condense( unmatched, map, filter, context, xml ) {\n\tvar elem,\n\t\tnewUnmatched = [],\n\t\ti = 0,\n\t\tlen = unmatched.length,\n\t\tmapped = map != null;\n\n\tfor ( ; i < len; i++ ) {\n\t\tif ( (elem = unmatched[i]) ) {\n\t\t\tif ( !filter || filter( elem, context, xml ) ) {\n\t\t\t\tnewUnmatched.push( elem );\n\t\t\t\tif ( mapped ) {\n\t\t\t\t\tmap.push( i );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn newUnmatched;\n}\n\nfunction setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {\n\tif ( postFilter && !postFilter[ expando ] ) {\n\t\tpostFilter = setMatcher( postFilter );\n\t}\n\tif ( postFinder && !postFinder[ expando ] ) {\n\t\tpostFinder = setMatcher( postFinder, postSelector );\n\t}\n\treturn markFunction(function( seed, results, context, xml ) {\n\t\tvar temp, i, elem,\n\t\t\tpreMap = [],\n\t\t\tpostMap = [],\n\t\t\tpreexisting = results.length,\n\n\t\t\t// Get initial elements from seed or context\n\t\t\telems = seed || multipleContexts( selector || \"*\", context.nodeType ? [ context ] : context, [] ),\n\n\t\t\t// Prefilter to get matcher input, preserving a map for seed-results synchronization\n\t\t\tmatcherIn = preFilter && ( seed || !selector ) ?\n\t\t\t\tcondense( elems, preMap, preFilter, context, xml ) :\n\t\t\t\telems,\n\n\t\t\tmatcherOut = matcher ?\n\t\t\t\t// If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results,\n\t\t\t\tpostFinder || ( seed ? preFilter : preexisting || postFilter ) ?\n\n\t\t\t\t\t// ...intermediate processing is necessary\n\t\t\t\t\t[] :\n\n\t\t\t\t\t// ...otherwise use results directly\n\t\t\t\t\tresults :\n\t\t\t\tmatcherIn;\n\n\t\t// Find primary matches\n\t\tif ( matcher ) {\n\t\t\tmatcher( matcherIn, matcherOut, context, xml );\n\t\t}\n\n\t\t// Apply postFilter\n\t\tif ( postFilter ) {\n\t\t\ttemp = condense( matcherOut, postMap );\n\t\t\tpostFilter( temp, [], context, xml );\n\n\t\t\t// Un-match failing elements by moving them back to matcherIn\n\t\t\ti = temp.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( (elem = temp[i]) ) {\n\t\t\t\t\tmatcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ( seed ) {\n\t\t\tif ( postFinder || preFilter ) {\n\t\t\t\tif ( postFinder ) {\n\t\t\t\t\t// Get the final matcherOut by condensing this intermediate into postFinder contexts\n\t\t\t\t\ttemp = [];\n\t\t\t\t\ti = matcherOut.length;\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tif ( (elem = matcherOut[i]) ) {\n\t\t\t\t\t\t\t// Restore matcherIn since elem is not yet a final match\n\t\t\t\t\t\t\ttemp.push( (matcherIn[i] = elem) );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tpostFinder( null, (matcherOut = []), temp, xml );\n\t\t\t\t}\n\n\t\t\t\t// Move matched elements from seed to results to keep them synchronized\n\t\t\t\ti = matcherOut.length;\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\tif ( (elem = matcherOut[i]) &&\n\t\t\t\t\t\t(temp = postFinder ? indexOf( seed, elem ) : preMap[i]) > -1 ) {\n\n\t\t\t\t\t\tseed[temp] = !(results[temp] = elem);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Add elements to results, through postFinder if defined\n\t\t} else {\n\t\t\tmatcherOut = condense(\n\t\t\t\tmatcherOut === results ?\n\t\t\t\t\tmatcherOut.splice( preexisting, matcherOut.length ) :\n\t\t\t\t\tmatcherOut\n\t\t\t);\n\t\t\tif ( postFinder ) {\n\t\t\t\tpostFinder( null, results, matcherOut, xml );\n\t\t\t} else {\n\t\t\t\tpush.apply( results, matcherOut );\n\t\t\t}\n\t\t}\n\t});\n}\n\nfunction matcherFromTokens( tokens ) {\n\tvar checkContext, matcher, j,\n\t\tlen = tokens.length,\n\t\tleadingRelative = Expr.relative[ tokens[0].type ],\n\t\timplicitRelative = leadingRelative || Expr.relative[\" \"],\n\t\ti = leadingRelative ? 1 : 0,\n\n\t\t// The foundational matcher ensures that elements are reachable from top-level context(s)\n\t\tmatchContext = addCombinator( function( elem ) {\n\t\t\treturn elem === checkContext;\n\t\t}, implicitRelative, true ),\n\t\tmatchAnyContext = addCombinator( function( elem ) {\n\t\t\treturn indexOf( checkContext, elem ) > -1;\n\t\t}, implicitRelative, true ),\n\t\tmatchers = [ function( elem, context, xml ) {\n\t\t\tvar ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || (\n\t\t\t\t(checkContext = context).nodeType ?\n\t\t\t\t\tmatchContext( elem, context, xml ) :\n\t\t\t\t\tmatchAnyContext( elem, context, xml ) );\n\t\t\t// Avoid hanging onto element (issue #299)\n\t\t\tcheckContext = null;\n\t\t\treturn ret;\n\t\t} ];\n\n\tfor ( ; i < len; i++ ) {\n\t\tif ( (matcher = Expr.relative[ tokens[i].type ]) ) {\n\t\t\tmatchers = [ addCombinator(elementMatcher( matchers ), matcher) ];\n\t\t} else {\n\t\t\tmatcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches );\n\n\t\t\t// Return special upon seeing a positional matcher\n\t\t\tif ( matcher[ expando ] ) {\n\t\t\t\t// Find the next relative operator (if any) for proper handling\n\t\t\t\tj = ++i;\n\t\t\t\tfor ( ; j < len; j++ ) {\n\t\t\t\t\tif ( Expr.relative[ tokens[j].type ] ) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn setMatcher(\n\t\t\t\t\ti > 1 && elementMatcher( matchers ),\n\t\t\t\t\ti > 1 && toSelector(\n\t\t\t\t\t\t// If the preceding token was a descendant combinator, insert an implicit any-element `*`\n\t\t\t\t\t\ttokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === \" \" ? \"*\" : \"\" })\n\t\t\t\t\t).replace( rtrim, \"$1\" ),\n\t\t\t\t\tmatcher,\n\t\t\t\t\ti < j && matcherFromTokens( tokens.slice( i, j ) ),\n\t\t\t\t\tj < len && matcherFromTokens( (tokens = tokens.slice( j )) ),\n\t\t\t\t\tj < len && toSelector( tokens )\n\t\t\t\t);\n\t\t\t}\n\t\t\tmatchers.push( matcher );\n\t\t}\n\t}\n\n\treturn elementMatcher( matchers );\n}\n\nfunction matcherFromGroupMatchers( elementMatchers, setMatchers ) {\n\tvar bySet = setMatchers.length > 0,\n\t\tbyElement = elementMatchers.length > 0,\n\t\tsuperMatcher = function( seed, context, xml, results, outermost ) {\n\t\t\tvar elem, j, matcher,\n\t\t\t\tmatchedCount = 0,\n\t\t\t\ti = \"0\",\n\t\t\t\tunmatched = seed && [],\n\t\t\t\tsetMatched = [],\n\t\t\t\tcontextBackup = outermostContext,\n\t\t\t\t// We must always have either seed elements or outermost context\n\t\t\t\telems = seed || byElement && Expr.find[\"TAG\"]( \"*\", outermost ),\n\t\t\t\t// Use integer dirruns iff this is the outermost matcher\n\t\t\t\tdirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1),\n\t\t\t\tlen = elems.length;\n\n\t\t\tif ( outermost ) {\n\t\t\t\toutermostContext = context === document || context || outermost;\n\t\t\t}\n\n\t\t\t// Add elements passing elementMatchers directly to results\n\t\t\t// Support: IE<9, Safari\n\t\t\t// Tolerate NodeList properties (IE: \"length\"; Safari: <number>) matching elements by id\n\t\t\tfor ( ; i !== len && (elem = elems[i]) != null; i++ ) {\n\t\t\t\tif ( byElement && elem ) {\n\t\t\t\t\tj = 0;\n\t\t\t\t\tif ( !context && elem.ownerDocument !== document ) {\n\t\t\t\t\t\tsetDocument( elem );\n\t\t\t\t\t\txml = !documentIsHTML;\n\t\t\t\t\t}\n\t\t\t\t\twhile ( (matcher = elementMatchers[j++]) ) {\n\t\t\t\t\t\tif ( matcher( elem, context || document, xml) ) {\n\t\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ( outermost ) {\n\t\t\t\t\t\tdirruns = dirrunsUnique;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Track unmatched elements for set filters\n\t\t\t\tif ( bySet ) {\n\t\t\t\t\t// They will have gone through all possible matchers\n\t\t\t\t\tif ( (elem = !matcher && elem) ) {\n\t\t\t\t\t\tmatchedCount--;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Lengthen the array for every element, matched or not\n\t\t\t\t\tif ( seed ) {\n\t\t\t\t\t\tunmatched.push( elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// `i` is now the count of elements visited above, and adding it to `matchedCount`\n\t\t\t// makes the latter nonnegative.\n\t\t\tmatchedCount += i;\n\n\t\t\t// Apply set filters to unmatched elements\n\t\t\t// NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount`\n\t\t\t// equals `i`), unless we didn't visit _any_ elements in the above loop because we have\n\t\t\t// no element matchers and no seed.\n\t\t\t// Incrementing an initially-string \"0\" `i` allows `i` to remain a string only in that\n\t\t\t// case, which will result in a \"00\" `matchedCount` that differs from `i` but is also\n\t\t\t// numerically zero.\n\t\t\tif ( bySet && i !== matchedCount ) {\n\t\t\t\tj = 0;\n\t\t\t\twhile ( (matcher = setMatchers[j++]) ) {\n\t\t\t\t\tmatcher( unmatched, setMatched, context, xml );\n\t\t\t\t}\n\n\t\t\t\tif ( seed ) {\n\t\t\t\t\t// Reintegrate element matches to eliminate the need for sorting\n\t\t\t\t\tif ( matchedCount > 0 ) {\n\t\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\t\tif ( !(unmatched[i] || setMatched[i]) ) {\n\t\t\t\t\t\t\t\tsetMatched[i] = pop.call( results );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Discard index placeholder values to get only actual matches\n\t\t\t\t\tsetMatched = condense( setMatched );\n\t\t\t\t}\n\n\t\t\t\t// Add matches to results\n\t\t\t\tpush.apply( results, setMatched );\n\n\t\t\t\t// Seedless set matches succeeding multiple successful matchers stipulate sorting\n\t\t\t\tif ( outermost && !seed && setMatched.length > 0 &&\n\t\t\t\t\t( matchedCount + setMatchers.length ) > 1 ) {\n\n\t\t\t\t\tSizzle.uniqueSort( results );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Override manipulation of globals by nested matchers\n\t\t\tif ( outermost ) {\n\t\t\t\tdirruns = dirrunsUnique;\n\t\t\t\toutermostContext = contextBackup;\n\t\t\t}\n\n\t\t\treturn unmatched;\n\t\t};\n\n\treturn bySet ?\n\t\tmarkFunction( superMatcher ) :\n\t\tsuperMatcher;\n}\n\ncompile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) {\n\tvar i,\n\t\tsetMatchers = [],\n\t\telementMatchers = [],\n\t\tcached = compilerCache[ selector + \" \" ];\n\n\tif ( !cached ) {\n\t\t// Generate a function of recursive functions that can be used to check each element\n\t\tif ( !match ) {\n\t\t\tmatch = tokenize( selector );\n\t\t}\n\t\ti = match.length;\n\t\twhile ( i-- ) {\n\t\t\tcached = matcherFromTokens( match[i] );\n\t\t\tif ( cached[ expando ] ) {\n\t\t\t\tsetMatchers.push( cached );\n\t\t\t} else {\n\t\t\t\telementMatchers.push( cached );\n\t\t\t}\n\t\t}\n\n\t\t// Cache the compiled function\n\t\tcached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) );\n\n\t\t// Save selector and tokenization\n\t\tcached.selector = selector;\n\t}\n\treturn cached;\n};\n\n/**\n * A low-level selection function that works with Sizzle's compiled\n *  selector functions\n * @param {String|Function} selector A selector or a pre-compiled\n *  selector function built with Sizzle.compile\n * @param {Element} context\n * @param {Array} [results]\n * @param {Array} [seed] A set of elements to match against\n */\nselect = Sizzle.select = function( selector, context, results, seed ) {\n\tvar i, tokens, token, type, find,\n\t\tcompiled = typeof selector === \"function\" && selector,\n\t\tmatch = !seed && tokenize( (selector = compiled.selector || selector) );\n\n\tresults = results || [];\n\n\t// Try to minimize operations if there is only one selector in the list and no seed\n\t// (the latter of which guarantees us context)\n\tif ( match.length === 1 ) {\n\n\t\t// Reduce context if the leading compound selector is an ID\n\t\ttokens = match[0] = match[0].slice( 0 );\n\t\tif ( tokens.length > 2 && (token = tokens[0]).type === \"ID\" &&\n\t\t\t\tcontext.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[1].type ] ) {\n\n\t\t\tcontext = ( Expr.find[\"ID\"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0];\n\t\t\tif ( !context ) {\n\t\t\t\treturn results;\n\n\t\t\t// Precompiled matchers will still verify ancestry, so step up a level\n\t\t\t} else if ( compiled ) {\n\t\t\t\tcontext = context.parentNode;\n\t\t\t}\n\n\t\t\tselector = selector.slice( tokens.shift().value.length );\n\t\t}\n\n\t\t// Fetch a seed set for right-to-left matching\n\t\ti = matchExpr[\"needsContext\"].test( selector ) ? 0 : tokens.length;\n\t\twhile ( i-- ) {\n\t\t\ttoken = tokens[i];\n\n\t\t\t// Abort if we hit a combinator\n\t\t\tif ( Expr.relative[ (type = token.type) ] ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif ( (find = Expr.find[ type ]) ) {\n\t\t\t\t// Search, expanding context for leading sibling combinators\n\t\t\t\tif ( (seed = find(\n\t\t\t\t\ttoken.matches[0].replace( runescape, funescape ),\n\t\t\t\t\trsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context\n\t\t\t\t)) ) {\n\n\t\t\t\t\t// If seed is empty or no tokens remain, we can return early\n\t\t\t\t\ttokens.splice( i, 1 );\n\t\t\t\t\tselector = seed.length && toSelector( tokens );\n\t\t\t\t\tif ( !selector ) {\n\t\t\t\t\t\tpush.apply( results, seed );\n\t\t\t\t\t\treturn results;\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Compile and execute a filtering function if one is not provided\n\t// Provide `match` to avoid retokenization if we modified the selector above\n\t( compiled || compile( selector, match ) )(\n\t\tseed,\n\t\tcontext,\n\t\t!documentIsHTML,\n\t\tresults,\n\t\t!context || rsibling.test( selector ) && testContext( context.parentNode ) || context\n\t);\n\treturn results;\n};\n\n// One-time assignments\n\n// Sort stability\nsupport.sortStable = expando.split(\"\").sort( sortOrder ).join(\"\") === expando;\n\n// Support: Chrome 14-35+\n// Always assume duplicates if they aren't passed to the comparison function\nsupport.detectDuplicates = !!hasDuplicate;\n\n// Initialize against the default document\nsetDocument();\n\n// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27)\n// Detached nodes confoundingly follow *each other*\nsupport.sortDetached = assert(function( el ) {\n\t// Should return 1, but returns 4 (following)\n\treturn el.compareDocumentPosition( document.createElement(\"fieldset\") ) & 1;\n});\n\n// Support: IE<8\n// Prevent attribute/property \"interpolation\"\n// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx\nif ( !assert(function( el ) {\n\tel.innerHTML = \"<a href='#'></a>\";\n\treturn el.firstChild.getAttribute(\"href\") === \"#\" ;\n}) ) {\n\taddHandle( \"type|href|height|width\", function( elem, name, isXML ) {\n\t\tif ( !isXML ) {\n\t\t\treturn elem.getAttribute( name, name.toLowerCase() === \"type\" ? 1 : 2 );\n\t\t}\n\t});\n}\n\n// Support: IE<9\n// Use defaultValue in place of getAttribute(\"value\")\nif ( !support.attributes || !assert(function( el ) {\n\tel.innerHTML = \"<input/>\";\n\tel.firstChild.setAttribute( \"value\", \"\" );\n\treturn el.firstChild.getAttribute( \"value\" ) === \"\";\n}) ) {\n\taddHandle( \"value\", function( elem, name, isXML ) {\n\t\tif ( !isXML && elem.nodeName.toLowerCase() === \"input\" ) {\n\t\t\treturn elem.defaultValue;\n\t\t}\n\t});\n}\n\n// Support: IE<9\n// Use getAttributeNode to fetch booleans when getAttribute lies\nif ( !assert(function( el ) {\n\treturn el.getAttribute(\"disabled\") == null;\n}) ) {\n\taddHandle( booleans, function( elem, name, isXML ) {\n\t\tvar val;\n\t\tif ( !isXML ) {\n\t\t\treturn elem[ name ] === true ? name.toLowerCase() :\n\t\t\t\t\t(val = elem.getAttributeNode( name )) && val.specified ?\n\t\t\t\t\tval.value :\n\t\t\t\tnull;\n\t\t}\n\t});\n}\n\nreturn Sizzle;\n\n})( window );\n\n\n\njQuery.find = Sizzle;\njQuery.expr = Sizzle.selectors;\n\n// Deprecated\njQuery.expr[ \":\" ] = jQuery.expr.pseudos;\njQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort;\njQuery.text = Sizzle.getText;\njQuery.isXMLDoc = Sizzle.isXML;\njQuery.contains = Sizzle.contains;\njQuery.escapeSelector = Sizzle.escape;\n\n\n\n\nvar dir = function( elem, dir, until ) {\n\tvar matched = [],\n\t\ttruncate = until !== undefined;\n\n\twhile ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) {\n\t\tif ( elem.nodeType === 1 ) {\n\t\t\tif ( truncate && jQuery( elem ).is( until ) ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tmatched.push( elem );\n\t\t}\n\t}\n\treturn matched;\n};\n\n\nvar siblings = function( n, elem ) {\n\tvar matched = [];\n\n\tfor ( ; n; n = n.nextSibling ) {\n\t\tif ( n.nodeType === 1 && n !== elem ) {\n\t\t\tmatched.push( n );\n\t\t}\n\t}\n\n\treturn matched;\n};\n\n\nvar rneedsContext = jQuery.expr.match.needsContext;\n\n\n\nfunction nodeName( elem, name ) {\n\n  return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();\n\n};\nvar rsingleTag = ( /^<([a-z][^\\/\\0>:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\/?>(?:<\\/\\1>|)$/i );\n\n\n\n// Implement the identical functionality for filter and not\nfunction winnow( elements, qualifier, not ) {\n\tif ( isFunction( qualifier ) ) {\n\t\treturn jQuery.grep( elements, function( elem, i ) {\n\t\t\treturn !!qualifier.call( elem, i, elem ) !== not;\n\t\t} );\n\t}\n\n\t// Single element\n\tif ( qualifier.nodeType ) {\n\t\treturn jQuery.grep( elements, function( elem ) {\n\t\t\treturn ( elem === qualifier ) !== not;\n\t\t} );\n\t}\n\n\t// Arraylike of elements (jQuery, arguments, Array)\n\tif ( typeof qualifier !== \"string\" ) {\n\t\treturn jQuery.grep( elements, function( elem ) {\n\t\t\treturn ( indexOf.call( qualifier, elem ) > -1 ) !== not;\n\t\t} );\n\t}\n\n\t// Filtered directly for both simple and complex selectors\n\treturn jQuery.filter( qualifier, elements, not );\n}\n\njQuery.filter = function( expr, elems, not ) {\n\tvar elem = elems[ 0 ];\n\n\tif ( not ) {\n\t\texpr = \":not(\" + expr + \")\";\n\t}\n\n\tif ( elems.length === 1 && elem.nodeType === 1 ) {\n\t\treturn jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [];\n\t}\n\n\treturn jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) {\n\t\treturn elem.nodeType === 1;\n\t} ) );\n};\n\njQuery.fn.extend( {\n\tfind: function( selector ) {\n\t\tvar i, ret,\n\t\t\tlen = this.length,\n\t\t\tself = this;\n\n\t\tif ( typeof selector !== \"string\" ) {\n\t\t\treturn this.pushStack( jQuery( selector ).filter( function() {\n\t\t\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\t\t\tif ( jQuery.contains( self[ i ], this ) ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} ) );\n\t\t}\n\n\t\tret = this.pushStack( [] );\n\n\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\tjQuery.find( selector, self[ i ], ret );\n\t\t}\n\n\t\treturn len > 1 ? jQuery.uniqueSort( ret ) : ret;\n\t},\n\tfilter: function( selector ) {\n\t\treturn this.pushStack( winnow( this, selector || [], false ) );\n\t},\n\tnot: function( selector ) {\n\t\treturn this.pushStack( winnow( this, selector || [], true ) );\n\t},\n\tis: function( selector ) {\n\t\treturn !!winnow(\n\t\t\tthis,\n\n\t\t\t// If this is a positional/relative selector, check membership in the returned set\n\t\t\t// so $(\"p:first\").is(\"p:last\") won't return true for a doc with two \"p\".\n\t\t\ttypeof selector === \"string\" && rneedsContext.test( selector ) ?\n\t\t\t\tjQuery( selector ) :\n\t\t\t\tselector || [],\n\t\t\tfalse\n\t\t).length;\n\t}\n} );\n\n\n// Initialize a jQuery object\n\n\n// A central reference to the root jQuery(document)\nvar rootjQuery,\n\n\t// A simple way to check for HTML strings\n\t// Prioritize #id over <tag> to avoid XSS via location.hash (#9521)\n\t// Strict HTML recognition (#11290: must start with <)\n\t// Shortcut simple #id case for speed\n\trquickExpr = /^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]+))$/,\n\n\tinit = jQuery.fn.init = function( selector, context, root ) {\n\t\tvar match, elem;\n\n\t\t// HANDLE: $(\"\"), $(null), $(undefined), $(false)\n\t\tif ( !selector ) {\n\t\t\treturn this;\n\t\t}\n\n\t\t// Method init() accepts an alternate rootjQuery\n\t\t// so migrate can support jQuery.sub (gh-2101)\n\t\troot = root || rootjQuery;\n\n\t\t// Handle HTML strings\n\t\tif ( typeof selector === \"string\" ) {\n\t\t\tif ( selector[ 0 ] === \"<\" &&\n\t\t\t\tselector[ selector.length - 1 ] === \">\" &&\n\t\t\t\tselector.length >= 3 ) {\n\n\t\t\t\t// Assume that strings that start and end with <> are HTML and skip the regex check\n\t\t\t\tmatch = [ null, selector, null ];\n\n\t\t\t} else {\n\t\t\t\tmatch = rquickExpr.exec( selector );\n\t\t\t}\n\n\t\t\t// Match html or make sure no context is specified for #id\n\t\t\tif ( match && ( match[ 1 ] || !context ) ) {\n\n\t\t\t\t// HANDLE: $(html) -> $(array)\n\t\t\t\tif ( match[ 1 ] ) {\n\t\t\t\t\tcontext = context instanceof jQuery ? context[ 0 ] : context;\n\n\t\t\t\t\t// Option to run scripts is true for back-compat\n\t\t\t\t\t// Intentionally let the error be thrown if parseHTML is not present\n\t\t\t\t\tjQuery.merge( this, jQuery.parseHTML(\n\t\t\t\t\t\tmatch[ 1 ],\n\t\t\t\t\t\tcontext && context.nodeType ? context.ownerDocument || context : document,\n\t\t\t\t\t\ttrue\n\t\t\t\t\t) );\n\n\t\t\t\t\t// HANDLE: $(html, props)\n\t\t\t\t\tif ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) {\n\t\t\t\t\t\tfor ( match in context ) {\n\n\t\t\t\t\t\t\t// Properties of context are called as methods if possible\n\t\t\t\t\t\t\tif ( isFunction( this[ match ] ) ) {\n\t\t\t\t\t\t\t\tthis[ match ]( context[ match ] );\n\n\t\t\t\t\t\t\t// ...and otherwise set as attributes\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tthis.attr( match, context[ match ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn this;\n\n\t\t\t\t// HANDLE: $(#id)\n\t\t\t\t} else {\n\t\t\t\t\telem = document.getElementById( match[ 2 ] );\n\n\t\t\t\t\tif ( elem ) {\n\n\t\t\t\t\t\t// Inject the element directly into the jQuery object\n\t\t\t\t\t\tthis[ 0 ] = elem;\n\t\t\t\t\t\tthis.length = 1;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\n\t\t\t// HANDLE: $(expr, $(...))\n\t\t\t} else if ( !context || context.jquery ) {\n\t\t\t\treturn ( context || root ).find( selector );\n\n\t\t\t// HANDLE: $(expr, context)\n\t\t\t// (which is just equivalent to: $(context).find(expr)\n\t\t\t} else {\n\t\t\t\treturn this.constructor( context ).find( selector );\n\t\t\t}\n\n\t\t// HANDLE: $(DOMElement)\n\t\t} else if ( selector.nodeType ) {\n\t\t\tthis[ 0 ] = selector;\n\t\t\tthis.length = 1;\n\t\t\treturn this;\n\n\t\t// HANDLE: $(function)\n\t\t// Shortcut for document ready\n\t\t} else if ( isFunction( selector ) ) {\n\t\t\treturn root.ready !== undefined ?\n\t\t\t\troot.ready( selector ) :\n\n\t\t\t\t// Execute immediately if ready is not present\n\t\t\t\tselector( jQuery );\n\t\t}\n\n\t\treturn jQuery.makeArray( selector, this );\n\t};\n\n// Give the init function the jQuery prototype for later instantiation\ninit.prototype = jQuery.fn;\n\n// Initialize central reference\nrootjQuery = jQuery( document );\n\n\nvar rparentsprev = /^(?:parents|prev(?:Until|All))/,\n\n\t// Methods guaranteed to produce a unique set when starting from a unique set\n\tguaranteedUnique = {\n\t\tchildren: true,\n\t\tcontents: true,\n\t\tnext: true,\n\t\tprev: true\n\t};\n\njQuery.fn.extend( {\n\thas: function( target ) {\n\t\tvar targets = jQuery( target, this ),\n\t\t\tl = targets.length;\n\n\t\treturn this.filter( function() {\n\t\t\tvar i = 0;\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tif ( jQuery.contains( this, targets[ i ] ) ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t},\n\n\tclosest: function( selectors, context ) {\n\t\tvar cur,\n\t\t\ti = 0,\n\t\t\tl = this.length,\n\t\t\tmatched = [],\n\t\t\ttargets = typeof selectors !== \"string\" && jQuery( selectors );\n\n\t\t// Positional selectors never match, since there's no _selection_ context\n\t\tif ( !rneedsContext.test( selectors ) ) {\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tfor ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) {\n\n\t\t\t\t\t// Always skip document fragments\n\t\t\t\t\tif ( cur.nodeType < 11 && ( targets ?\n\t\t\t\t\t\ttargets.index( cur ) > -1 :\n\n\t\t\t\t\t\t// Don't pass non-elements to Sizzle\n\t\t\t\t\t\tcur.nodeType === 1 &&\n\t\t\t\t\t\t\tjQuery.find.matchesSelector( cur, selectors ) ) ) {\n\n\t\t\t\t\t\tmatched.push( cur );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched );\n\t},\n\n\t// Determine the position of an element within the set\n\tindex: function( elem ) {\n\n\t\t// No argument, return index in parent\n\t\tif ( !elem ) {\n\t\t\treturn ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1;\n\t\t}\n\n\t\t// Index in selector\n\t\tif ( typeof elem === \"string\" ) {\n\t\t\treturn indexOf.call( jQuery( elem ), this[ 0 ] );\n\t\t}\n\n\t\t// Locate the position of the desired element\n\t\treturn indexOf.call( this,\n\n\t\t\t// If it receives a jQuery object, the first element is used\n\t\t\telem.jquery ? elem[ 0 ] : elem\n\t\t);\n\t},\n\n\tadd: function( selector, context ) {\n\t\treturn this.pushStack(\n\t\t\tjQuery.uniqueSort(\n\t\t\t\tjQuery.merge( this.get(), jQuery( selector, context ) )\n\t\t\t)\n\t\t);\n\t},\n\n\taddBack: function( selector ) {\n\t\treturn this.add( selector == null ?\n\t\t\tthis.prevObject : this.prevObject.filter( selector )\n\t\t);\n\t}\n} );\n\nfunction sibling( cur, dir ) {\n\twhile ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {}\n\treturn cur;\n}\n\njQuery.each( {\n\tparent: function( elem ) {\n\t\tvar parent = elem.parentNode;\n\t\treturn parent && parent.nodeType !== 11 ? parent : null;\n\t},\n\tparents: function( elem ) {\n\t\treturn dir( elem, \"parentNode\" );\n\t},\n\tparentsUntil: function( elem, i, until ) {\n\t\treturn dir( elem, \"parentNode\", until );\n\t},\n\tnext: function( elem ) {\n\t\treturn sibling( elem, \"nextSibling\" );\n\t},\n\tprev: function( elem ) {\n\t\treturn sibling( elem, \"previousSibling\" );\n\t},\n\tnextAll: function( elem ) {\n\t\treturn dir( elem, \"nextSibling\" );\n\t},\n\tprevAll: function( elem ) {\n\t\treturn dir( elem, \"previousSibling\" );\n\t},\n\tnextUntil: function( elem, i, until ) {\n\t\treturn dir( elem, \"nextSibling\", until );\n\t},\n\tprevUntil: function( elem, i, until ) {\n\t\treturn dir( elem, \"previousSibling\", until );\n\t},\n\tsiblings: function( elem ) {\n\t\treturn siblings( ( elem.parentNode || {} ).firstChild, elem );\n\t},\n\tchildren: function( elem ) {\n\t\treturn siblings( elem.firstChild );\n\t},\n\tcontents: function( elem ) {\n\t\tif ( typeof elem.contentDocument !== \"undefined\" ) {\n\t\t\treturn elem.contentDocument;\n\t\t}\n\n\t\t// Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only\n\t\t// Treat the template element as a regular one in browsers that\n\t\t// don't support it.\n\t\tif ( nodeName( elem, \"template\" ) ) {\n\t\t\telem = elem.content || elem;\n\t\t}\n\n\t\treturn jQuery.merge( [], elem.childNodes );\n\t}\n}, function( name, fn ) {\n\tjQuery.fn[ name ] = function( until, selector ) {\n\t\tvar matched = jQuery.map( this, fn, until );\n\n\t\tif ( name.slice( -5 ) !== \"Until\" ) {\n\t\t\tselector = until;\n\t\t}\n\n\t\tif ( selector && typeof selector === \"string\" ) {\n\t\t\tmatched = jQuery.filter( selector, matched );\n\t\t}\n\n\t\tif ( this.length > 1 ) {\n\n\t\t\t// Remove duplicates\n\t\t\tif ( !guaranteedUnique[ name ] ) {\n\t\t\t\tjQuery.uniqueSort( matched );\n\t\t\t}\n\n\t\t\t// Reverse order for parents* and prev-derivatives\n\t\t\tif ( rparentsprev.test( name ) ) {\n\t\t\t\tmatched.reverse();\n\t\t\t}\n\t\t}\n\n\t\treturn this.pushStack( matched );\n\t};\n} );\nvar rnothtmlwhite = ( /[^\\x20\\t\\r\\n\\f]+/g );\n\n\n\n// Convert String-formatted options into Object-formatted ones\nfunction createOptions( options ) {\n\tvar object = {};\n\tjQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) {\n\t\tobject[ flag ] = true;\n\t} );\n\treturn object;\n}\n\n/*\n * Create a callback list using the following parameters:\n *\n *\toptions: an optional list of space-separated options that will change how\n *\t\t\tthe callback list behaves or a more traditional option object\n *\n * By default a callback list will act like an event callback list and can be\n * \"fired\" multiple times.\n *\n * Possible options:\n *\n *\tonce:\t\t\twill ensure the callback list can only be fired once (like a Deferred)\n *\n *\tmemory:\t\t\twill keep track of previous values and will call any callback added\n *\t\t\t\t\tafter the list has been fired right away with the latest \"memorized\"\n *\t\t\t\t\tvalues (like a Deferred)\n *\n *\tunique:\t\t\twill ensure a callback can only be added once (no duplicate in the list)\n *\n *\tstopOnFalse:\tinterrupt callings when a callback returns false\n *\n */\njQuery.Callbacks = function( options ) {\n\n\t// Convert options from String-formatted to Object-formatted if needed\n\t// (we check in cache first)\n\toptions = typeof options === \"string\" ?\n\t\tcreateOptions( options ) :\n\t\tjQuery.extend( {}, options );\n\n\tvar // Flag to know if list is currently firing\n\t\tfiring,\n\n\t\t// Last fire value for non-forgettable lists\n\t\tmemory,\n\n\t\t// Flag to know if list was already fired\n\t\tfired,\n\n\t\t// Flag to prevent firing\n\t\tlocked,\n\n\t\t// Actual callback list\n\t\tlist = [],\n\n\t\t// Queue of execution data for repeatable lists\n\t\tqueue = [],\n\n\t\t// Index of currently firing callback (modified by add/remove as needed)\n\t\tfiringIndex = -1,\n\n\t\t// Fire callbacks\n\t\tfire = function() {\n\n\t\t\t// Enforce single-firing\n\t\t\tlocked = locked || options.once;\n\n\t\t\t// Execute callbacks for all pending executions,\n\t\t\t// respecting firingIndex overrides and runtime changes\n\t\t\tfired = firing = true;\n\t\t\tfor ( ; queue.length; firingIndex = -1 ) {\n\t\t\t\tmemory = queue.shift();\n\t\t\t\twhile ( ++firingIndex < list.length ) {\n\n\t\t\t\t\t// Run callback and check for early termination\n\t\t\t\t\tif ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false &&\n\t\t\t\t\t\toptions.stopOnFalse ) {\n\n\t\t\t\t\t\t// Jump to end and forget the data so .add doesn't re-fire\n\t\t\t\t\t\tfiringIndex = list.length;\n\t\t\t\t\t\tmemory = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Forget the data if we're done with it\n\t\t\tif ( !options.memory ) {\n\t\t\t\tmemory = false;\n\t\t\t}\n\n\t\t\tfiring = false;\n\n\t\t\t// Clean up if we're done firing for good\n\t\t\tif ( locked ) {\n\n\t\t\t\t// Keep an empty list if we have data for future add calls\n\t\t\t\tif ( memory ) {\n\t\t\t\t\tlist = [];\n\n\t\t\t\t// Otherwise, this object is spent\n\t\t\t\t} else {\n\t\t\t\t\tlist = \"\";\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\t// Actual Callbacks object\n\t\tself = {\n\n\t\t\t// Add a callback or a collection of callbacks to the list\n\t\t\tadd: function() {\n\t\t\t\tif ( list ) {\n\n\t\t\t\t\t// If we have memory from a past run, we should fire after adding\n\t\t\t\t\tif ( memory && !firing ) {\n\t\t\t\t\t\tfiringIndex = list.length - 1;\n\t\t\t\t\t\tqueue.push( memory );\n\t\t\t\t\t}\n\n\t\t\t\t\t( function add( args ) {\n\t\t\t\t\t\tjQuery.each( args, function( _, arg ) {\n\t\t\t\t\t\t\tif ( isFunction( arg ) ) {\n\t\t\t\t\t\t\t\tif ( !options.unique || !self.has( arg ) ) {\n\t\t\t\t\t\t\t\t\tlist.push( arg );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if ( arg && arg.length && toType( arg ) !== \"string\" ) {\n\n\t\t\t\t\t\t\t\t// Inspect recursively\n\t\t\t\t\t\t\t\tadd( arg );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} );\n\t\t\t\t\t} )( arguments );\n\n\t\t\t\t\tif ( memory && !firing ) {\n\t\t\t\t\t\tfire();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Remove a callback from the list\n\t\t\tremove: function() {\n\t\t\t\tjQuery.each( arguments, function( _, arg ) {\n\t\t\t\t\tvar index;\n\t\t\t\t\twhile ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) {\n\t\t\t\t\t\tlist.splice( index, 1 );\n\n\t\t\t\t\t\t// Handle firing indexes\n\t\t\t\t\t\tif ( index <= firingIndex ) {\n\t\t\t\t\t\t\tfiringIndex--;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Check if a given callback is in the list.\n\t\t\t// If no argument is given, return whether or not list has callbacks attached.\n\t\t\thas: function( fn ) {\n\t\t\t\treturn fn ?\n\t\t\t\t\tjQuery.inArray( fn, list ) > -1 :\n\t\t\t\t\tlist.length > 0;\n\t\t\t},\n\n\t\t\t// Remove all callbacks from the list\n\t\t\tempty: function() {\n\t\t\t\tif ( list ) {\n\t\t\t\t\tlist = [];\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Disable .fire and .add\n\t\t\t// Abort any current/pending executions\n\t\t\t// Clear all callbacks and values\n\t\t\tdisable: function() {\n\t\t\t\tlocked = queue = [];\n\t\t\t\tlist = memory = \"\";\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\tdisabled: function() {\n\t\t\t\treturn !list;\n\t\t\t},\n\n\t\t\t// Disable .fire\n\t\t\t// Also disable .add unless we have memory (since it would have no effect)\n\t\t\t// Abort any pending executions\n\t\t\tlock: function() {\n\t\t\t\tlocked = queue = [];\n\t\t\t\tif ( !memory && !firing ) {\n\t\t\t\t\tlist = memory = \"\";\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\tlocked: function() {\n\t\t\t\treturn !!locked;\n\t\t\t},\n\n\t\t\t// Call all callbacks with the given context and arguments\n\t\t\tfireWith: function( context, args ) {\n\t\t\t\tif ( !locked ) {\n\t\t\t\t\targs = args || [];\n\t\t\t\t\targs = [ context, args.slice ? args.slice() : args ];\n\t\t\t\t\tqueue.push( args );\n\t\t\t\t\tif ( !firing ) {\n\t\t\t\t\t\tfire();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Call all the callbacks with the given arguments\n\t\t\tfire: function() {\n\t\t\t\tself.fireWith( this, arguments );\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// To know if the callbacks have already been called at least once\n\t\t\tfired: function() {\n\t\t\t\treturn !!fired;\n\t\t\t}\n\t\t};\n\n\treturn self;\n};\n\n\nfunction Identity( v ) {\n\treturn v;\n}\nfunction Thrower( ex ) {\n\tthrow ex;\n}\n\nfunction adoptValue( value, resolve, reject, noValue ) {\n\tvar method;\n\n\ttry {\n\n\t\t// Check for promise aspect first to privilege synchronous behavior\n\t\tif ( value && isFunction( ( method = value.promise ) ) ) {\n\t\t\tmethod.call( value ).done( resolve ).fail( reject );\n\n\t\t// Other thenables\n\t\t} else if ( value && isFunction( ( method = value.then ) ) ) {\n\t\t\tmethod.call( value, resolve, reject );\n\n\t\t// Other non-thenables\n\t\t} else {\n\n\t\t\t// Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer:\n\t\t\t// * false: [ value ].slice( 0 ) => resolve( value )\n\t\t\t// * true: [ value ].slice( 1 ) => resolve()\n\t\t\tresolve.apply( undefined, [ value ].slice( noValue ) );\n\t\t}\n\n\t// For Promises/A+, convert exceptions into rejections\n\t// Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in\n\t// Deferred#then to conditionally suppress rejection.\n\t} catch ( value ) {\n\n\t\t// Support: Android 4.0 only\n\t\t// Strict mode functions invoked without .call/.apply get global-object context\n\t\treject.apply( undefined, [ value ] );\n\t}\n}\n\njQuery.extend( {\n\n\tDeferred: function( func ) {\n\t\tvar tuples = [\n\n\t\t\t\t// action, add listener, callbacks,\n\t\t\t\t// ... .then handlers, argument index, [final state]\n\t\t\t\t[ \"notify\", \"progress\", jQuery.Callbacks( \"memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"memory\" ), 2 ],\n\t\t\t\t[ \"resolve\", \"done\", jQuery.Callbacks( \"once memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"once memory\" ), 0, \"resolved\" ],\n\t\t\t\t[ \"reject\", \"fail\", jQuery.Callbacks( \"once memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"once memory\" ), 1, \"rejected\" ]\n\t\t\t],\n\t\t\tstate = \"pending\",\n\t\t\tpromise = {\n\t\t\t\tstate: function() {\n\t\t\t\t\treturn state;\n\t\t\t\t},\n\t\t\t\talways: function() {\n\t\t\t\t\tdeferred.done( arguments ).fail( arguments );\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\t\t\t\t\"catch\": function( fn ) {\n\t\t\t\t\treturn promise.then( null, fn );\n\t\t\t\t},\n\n\t\t\t\t// Keep pipe for back-compat\n\t\t\t\tpipe: function( /* fnDone, fnFail, fnProgress */ ) {\n\t\t\t\t\tvar fns = arguments;\n\n\t\t\t\t\treturn jQuery.Deferred( function( newDefer ) {\n\t\t\t\t\t\tjQuery.each( tuples, function( i, tuple ) {\n\n\t\t\t\t\t\t\t// Map tuples (progress, done, fail) to arguments (done, fail, progress)\n\t\t\t\t\t\t\tvar fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ];\n\n\t\t\t\t\t\t\t// deferred.progress(function() { bind to newDefer or newDefer.notify })\n\t\t\t\t\t\t\t// deferred.done(function() { bind to newDefer or newDefer.resolve })\n\t\t\t\t\t\t\t// deferred.fail(function() { bind to newDefer or newDefer.reject })\n\t\t\t\t\t\t\tdeferred[ tuple[ 1 ] ]( function() {\n\t\t\t\t\t\t\t\tvar returned = fn && fn.apply( this, arguments );\n\t\t\t\t\t\t\t\tif ( returned && isFunction( returned.promise ) ) {\n\t\t\t\t\t\t\t\t\treturned.promise()\n\t\t\t\t\t\t\t\t\t\t.progress( newDefer.notify )\n\t\t\t\t\t\t\t\t\t\t.done( newDefer.resolve )\n\t\t\t\t\t\t\t\t\t\t.fail( newDefer.reject );\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tnewDefer[ tuple[ 0 ] + \"With\" ](\n\t\t\t\t\t\t\t\t\t\tthis,\n\t\t\t\t\t\t\t\t\t\tfn ? [ returned ] : arguments\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t} );\n\t\t\t\t\t\tfns = null;\n\t\t\t\t\t} ).promise();\n\t\t\t\t},\n\t\t\t\tthen: function( onFulfilled, onRejected, onProgress ) {\n\t\t\t\t\tvar maxDepth = 0;\n\t\t\t\t\tfunction resolve( depth, deferred, handler, special ) {\n\t\t\t\t\t\treturn function() {\n\t\t\t\t\t\t\tvar that = this,\n\t\t\t\t\t\t\t\targs = arguments,\n\t\t\t\t\t\t\t\tmightThrow = function() {\n\t\t\t\t\t\t\t\t\tvar returned, then;\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.3\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-59\n\t\t\t\t\t\t\t\t\t// Ignore double-resolution attempts\n\t\t\t\t\t\t\t\t\tif ( depth < maxDepth ) {\n\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\treturned = handler.apply( that, args );\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.1\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-48\n\t\t\t\t\t\t\t\t\tif ( returned === deferred.promise() ) {\n\t\t\t\t\t\t\t\t\t\tthrow new TypeError( \"Thenable self-resolution\" );\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ sections 2.3.3.1, 3.5\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-54\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-75\n\t\t\t\t\t\t\t\t\t// Retrieve `then` only once\n\t\t\t\t\t\t\t\t\tthen = returned &&\n\n\t\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.4\n\t\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-64\n\t\t\t\t\t\t\t\t\t\t// Only check objects and functions for thenability\n\t\t\t\t\t\t\t\t\t\t( typeof returned === \"object\" ||\n\t\t\t\t\t\t\t\t\t\t\ttypeof returned === \"function\" ) &&\n\t\t\t\t\t\t\t\t\t\treturned.then;\n\n\t\t\t\t\t\t\t\t\t// Handle a returned thenable\n\t\t\t\t\t\t\t\t\tif ( isFunction( then ) ) {\n\n\t\t\t\t\t\t\t\t\t\t// Special processors (notify) just wait for resolution\n\t\t\t\t\t\t\t\t\t\tif ( special ) {\n\t\t\t\t\t\t\t\t\t\t\tthen.call(\n\t\t\t\t\t\t\t\t\t\t\t\treturned,\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Thrower, special )\n\t\t\t\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\t\t\t// Normal processors (resolve) also hook into progress\n\t\t\t\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t\t\t\t// ...and disregard older resolution values\n\t\t\t\t\t\t\t\t\t\t\tmaxDepth++;\n\n\t\t\t\t\t\t\t\t\t\t\tthen.call(\n\t\t\t\t\t\t\t\t\t\t\t\treturned,\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Thrower, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity,\n\t\t\t\t\t\t\t\t\t\t\t\t\tdeferred.notifyWith )\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t// Handle all other returned values\n\t\t\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t\t\t// Only substitute handlers pass on context\n\t\t\t\t\t\t\t\t\t\t// and multiple values (non-spec behavior)\n\t\t\t\t\t\t\t\t\t\tif ( handler !== Identity ) {\n\t\t\t\t\t\t\t\t\t\t\tthat = undefined;\n\t\t\t\t\t\t\t\t\t\t\targs = [ returned ];\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t// Process the value(s)\n\t\t\t\t\t\t\t\t\t\t// Default process is resolve\n\t\t\t\t\t\t\t\t\t\t( special || deferred.resolveWith )( that, args );\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\n\t\t\t\t\t\t\t\t// Only normal processors (resolve) catch and reject exceptions\n\t\t\t\t\t\t\t\tprocess = special ?\n\t\t\t\t\t\t\t\t\tmightThrow :\n\t\t\t\t\t\t\t\t\tfunction() {\n\t\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\t\tmightThrow();\n\t\t\t\t\t\t\t\t\t\t} catch ( e ) {\n\n\t\t\t\t\t\t\t\t\t\t\tif ( jQuery.Deferred.exceptionHook ) {\n\t\t\t\t\t\t\t\t\t\t\t\tjQuery.Deferred.exceptionHook( e,\n\t\t\t\t\t\t\t\t\t\t\t\t\tprocess.stackTrace );\n\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.4.1\n\t\t\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-61\n\t\t\t\t\t\t\t\t\t\t\t// Ignore post-resolution exceptions\n\t\t\t\t\t\t\t\t\t\t\tif ( depth + 1 >= maxDepth ) {\n\n\t\t\t\t\t\t\t\t\t\t\t\t// Only substitute handlers pass on context\n\t\t\t\t\t\t\t\t\t\t\t\t// and multiple values (non-spec behavior)\n\t\t\t\t\t\t\t\t\t\t\t\tif ( handler !== Thrower ) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tthat = undefined;\n\t\t\t\t\t\t\t\t\t\t\t\t\targs = [ e ];\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t\tdeferred.rejectWith( that, args );\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.1\n\t\t\t\t\t\t\t// https://promisesaplus.com/#point-57\n\t\t\t\t\t\t\t// Re-resolve promises immediately to dodge false rejection from\n\t\t\t\t\t\t\t// subsequent errors\n\t\t\t\t\t\t\tif ( depth ) {\n\t\t\t\t\t\t\t\tprocess();\n\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t// Call an optional hook to record the stack, in case of exception\n\t\t\t\t\t\t\t\t// since it's otherwise lost when execution goes async\n\t\t\t\t\t\t\t\tif ( jQuery.Deferred.getStackHook ) {\n\t\t\t\t\t\t\t\t\tprocess.stackTrace = jQuery.Deferred.getStackHook();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\twindow.setTimeout( process );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\n\t\t\t\t\treturn jQuery.Deferred( function( newDefer ) {\n\n\t\t\t\t\t\t// progress_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 0 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tisFunction( onProgress ) ?\n\t\t\t\t\t\t\t\t\tonProgress :\n\t\t\t\t\t\t\t\t\tIdentity,\n\t\t\t\t\t\t\t\tnewDefer.notifyWith\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\t// fulfilled_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 1 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tisFunction( onFulfilled ) ?\n\t\t\t\t\t\t\t\t\tonFulfilled :\n\t\t\t\t\t\t\t\t\tIdentity\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\t// rejected_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 2 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tisFunction( onRejected ) ?\n\t\t\t\t\t\t\t\t\tonRejected :\n\t\t\t\t\t\t\t\t\tThrower\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t} ).promise();\n\t\t\t\t},\n\n\t\t\t\t// Get a promise for this deferred\n\t\t\t\t// If obj is provided, the promise aspect is added to the object\n\t\t\t\tpromise: function( obj ) {\n\t\t\t\t\treturn obj != null ? jQuery.extend( obj, promise ) : promise;\n\t\t\t\t}\n\t\t\t},\n\t\t\tdeferred = {};\n\n\t\t// Add list-specific methods\n\t\tjQuery.each( tuples, function( i, tuple ) {\n\t\t\tvar list = tuple[ 2 ],\n\t\t\t\tstateString = tuple[ 5 ];\n\n\t\t\t// promise.progress = list.add\n\t\t\t// promise.done = list.add\n\t\t\t// promise.fail = list.add\n\t\t\tpromise[ tuple[ 1 ] ] = list.add;\n\n\t\t\t// Handle state\n\t\t\tif ( stateString ) {\n\t\t\t\tlist.add(\n\t\t\t\t\tfunction() {\n\n\t\t\t\t\t\t// state = \"resolved\" (i.e., fulfilled)\n\t\t\t\t\t\t// state = \"rejected\"\n\t\t\t\t\t\tstate = stateString;\n\t\t\t\t\t},\n\n\t\t\t\t\t// rejected_callbacks.disable\n\t\t\t\t\t// fulfilled_callbacks.disable\n\t\t\t\t\ttuples[ 3 - i ][ 2 ].disable,\n\n\t\t\t\t\t// rejected_handlers.disable\n\t\t\t\t\t// fulfilled_handlers.disable\n\t\t\t\t\ttuples[ 3 - i ][ 3 ].disable,\n\n\t\t\t\t\t// progress_callbacks.lock\n\t\t\t\t\ttuples[ 0 ][ 2 ].lock,\n\n\t\t\t\t\t// progress_handlers.lock\n\t\t\t\t\ttuples[ 0 ][ 3 ].lock\n\t\t\t\t);\n\t\t\t}\n\n\t\t\t// progress_handlers.fire\n\t\t\t// fulfilled_handlers.fire\n\t\t\t// rejected_handlers.fire\n\t\t\tlist.add( tuple[ 3 ].fire );\n\n\t\t\t// deferred.notify = function() { deferred.notifyWith(...) }\n\t\t\t// deferred.resolve = function() { deferred.resolveWith(...) }\n\t\t\t// deferred.reject = function() { deferred.rejectWith(...) }\n\t\t\tdeferred[ tuple[ 0 ] ] = function() {\n\t\t\t\tdeferred[ tuple[ 0 ] + \"With\" ]( this === deferred ? undefined : this, arguments );\n\t\t\t\treturn this;\n\t\t\t};\n\n\t\t\t// deferred.notifyWith = list.fireWith\n\t\t\t// deferred.resolveWith = list.fireWith\n\t\t\t// deferred.rejectWith = list.fireWith\n\t\t\tdeferred[ tuple[ 0 ] + \"With\" ] = list.fireWith;\n\t\t} );\n\n\t\t// Make the deferred a promise\n\t\tpromise.promise( deferred );\n\n\t\t// Call given func if any\n\t\tif ( func ) {\n\t\t\tfunc.call( deferred, deferred );\n\t\t}\n\n\t\t// All done!\n\t\treturn deferred;\n\t},\n\n\t// Deferred helper\n\twhen: function( singleValue ) {\n\t\tvar\n\n\t\t\t// count of uncompleted subordinates\n\t\t\tremaining = arguments.length,\n\n\t\t\t// count of unprocessed arguments\n\t\t\ti = remaining,\n\n\t\t\t// subordinate fulfillment data\n\t\t\tresolveContexts = Array( i ),\n\t\t\tresolveValues = slice.call( arguments ),\n\n\t\t\t// the master Deferred\n\t\t\tmaster = jQuery.Deferred(),\n\n\t\t\t// subordinate callback factory\n\t\t\tupdateFunc = function( i ) {\n\t\t\t\treturn function( value ) {\n\t\t\t\t\tresolveContexts[ i ] = this;\n\t\t\t\t\tresolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;\n\t\t\t\t\tif ( !( --remaining ) ) {\n\t\t\t\t\t\tmaster.resolveWith( resolveContexts, resolveValues );\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t};\n\n\t\t// Single- and empty arguments are adopted like Promise.resolve\n\t\tif ( remaining <= 1 ) {\n\t\t\tadoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject,\n\t\t\t\t!remaining );\n\n\t\t\t// Use .then() to unwrap secondary thenables (cf. gh-3000)\n\t\t\tif ( master.state() === \"pending\" ||\n\t\t\t\tisFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) {\n\n\t\t\t\treturn master.then();\n\t\t\t}\n\t\t}\n\n\t\t// Multiple arguments are aggregated like Promise.all array elements\n\t\twhile ( i-- ) {\n\t\t\tadoptValue( resolveValues[ i ], updateFunc( i ), master.reject );\n\t\t}\n\n\t\treturn master.promise();\n\t}\n} );\n\n\n// These usually indicate a programmer mistake during development,\n// warn about them ASAP rather than swallowing them by default.\nvar rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;\n\njQuery.Deferred.exceptionHook = function( error, stack ) {\n\n\t// Support: IE 8 - 9 only\n\t// Console exists when dev tools are open, which can happen at any time\n\tif ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) {\n\t\twindow.console.warn( \"jQuery.Deferred exception: \" + error.message, error.stack, stack );\n\t}\n};\n\n\n\n\njQuery.readyException = function( error ) {\n\twindow.setTimeout( function() {\n\t\tthrow error;\n\t} );\n};\n\n\n\n\n// The deferred used on DOM ready\nvar readyList = jQuery.Deferred();\n\njQuery.fn.ready = function( fn ) {\n\n\treadyList\n\t\t.then( fn )\n\n\t\t// Wrap jQuery.readyException in a function so that the lookup\n\t\t// happens at the time of error handling instead of callback\n\t\t// registration.\n\t\t.catch( function( error ) {\n\t\t\tjQuery.readyException( error );\n\t\t} );\n\n\treturn this;\n};\n\njQuery.extend( {\n\n\t// Is the DOM ready to be used? Set to true once it occurs.\n\tisReady: false,\n\n\t// A counter to track how many items to wait for before\n\t// the ready event fires. See #6781\n\treadyWait: 1,\n\n\t// Handle when the DOM is ready\n\tready: function( wait ) {\n\n\t\t// Abort if there are pending holds or we're already ready\n\t\tif ( wait === true ? --jQuery.readyWait : jQuery.isReady ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Remember that the DOM is ready\n\t\tjQuery.isReady = true;\n\n\t\t// If a normal DOM Ready event fired, decrement, and wait if need be\n\t\tif ( wait !== true && --jQuery.readyWait > 0 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// If there are functions bound, to execute\n\t\treadyList.resolveWith( document, [ jQuery ] );\n\t}\n} );\n\njQuery.ready.then = readyList.then;\n\n// The ready event handler and self cleanup method\nfunction completed() {\n\tdocument.removeEventListener( \"DOMContentLoaded\", completed );\n\twindow.removeEventListener( \"load\", completed );\n\tjQuery.ready();\n}\n\n// Catch cases where $(document).ready() is called\n// after the browser event has already occurred.\n// Support: IE <=9 - 10 only\n// Older IE sometimes signals \"interactive\" too soon\nif ( document.readyState === \"complete\" ||\n\t( document.readyState !== \"loading\" && !document.documentElement.doScroll ) ) {\n\n\t// Handle it asynchronously to allow scripts the opportunity to delay ready\n\twindow.setTimeout( jQuery.ready );\n\n} else {\n\n\t// Use the handy event callback\n\tdocument.addEventListener( \"DOMContentLoaded\", completed );\n\n\t// A fallback to window.onload, that will always work\n\twindow.addEventListener( \"load\", completed );\n}\n\n\n\n\n// Multifunctional method to get and set values of a collection\n// The value/s can optionally be executed if it's a function\nvar access = function( elems, fn, key, value, chainable, emptyGet, raw ) {\n\tvar i = 0,\n\t\tlen = elems.length,\n\t\tbulk = key == null;\n\n\t// Sets many values\n\tif ( toType( key ) === \"object\" ) {\n\t\tchainable = true;\n\t\tfor ( i in key ) {\n\t\t\taccess( elems, fn, i, key[ i ], true, emptyGet, raw );\n\t\t}\n\n\t// Sets one value\n\t} else if ( value !== undefined ) {\n\t\tchainable = true;\n\n\t\tif ( !isFunction( value ) ) {\n\t\t\traw = true;\n\t\t}\n\n\t\tif ( bulk ) {\n\n\t\t\t// Bulk operations run against the entire set\n\t\t\tif ( raw ) {\n\t\t\t\tfn.call( elems, value );\n\t\t\t\tfn = null;\n\n\t\t\t// ...except when executing function values\n\t\t\t} else {\n\t\t\t\tbulk = fn;\n\t\t\t\tfn = function( elem, key, value ) {\n\t\t\t\t\treturn bulk.call( jQuery( elem ), value );\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\n\t\tif ( fn ) {\n\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\tfn(\n\t\t\t\t\telems[ i ], key, raw ?\n\t\t\t\t\tvalue :\n\t\t\t\t\tvalue.call( elems[ i ], i, fn( elems[ i ], key ) )\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t}\n\n\tif ( chainable ) {\n\t\treturn elems;\n\t}\n\n\t// Gets\n\tif ( bulk ) {\n\t\treturn fn.call( elems );\n\t}\n\n\treturn len ? fn( elems[ 0 ], key ) : emptyGet;\n};\n\n\n// Matches dashed string for camelizing\nvar rmsPrefix = /^-ms-/,\n\trdashAlpha = /-([a-z])/g;\n\n// Used by camelCase as callback to replace()\nfunction fcamelCase( all, letter ) {\n\treturn letter.toUpperCase();\n}\n\n// Convert dashed to camelCase; used by the css and data modules\n// Support: IE <=9 - 11, Edge 12 - 15\n// Microsoft forgot to hump their vendor prefix (#9572)\nfunction camelCase( string ) {\n\treturn string.replace( rmsPrefix, \"ms-\" ).replace( rdashAlpha, fcamelCase );\n}\nvar acceptData = function( owner ) {\n\n\t// Accepts only:\n\t//  - Node\n\t//    - Node.ELEMENT_NODE\n\t//    - Node.DOCUMENT_NODE\n\t//  - Object\n\t//    - Any\n\treturn owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType );\n};\n\n\n\n\nfunction Data() {\n\tthis.expando = jQuery.expando + Data.uid++;\n}\n\nData.uid = 1;\n\nData.prototype = {\n\n\tcache: function( owner ) {\n\n\t\t// Check if the owner object already has a cache\n\t\tvar value = owner[ this.expando ];\n\n\t\t// If not, create one\n\t\tif ( !value ) {\n\t\t\tvalue = {};\n\n\t\t\t// We can accept data for non-element nodes in modern browsers,\n\t\t\t// but we should not, see #8335.\n\t\t\t// Always return an empty object.\n\t\t\tif ( acceptData( owner ) ) {\n\n\t\t\t\t// If it is a node unlikely to be stringify-ed or looped over\n\t\t\t\t// use plain assignment\n\t\t\t\tif ( owner.nodeType ) {\n\t\t\t\t\towner[ this.expando ] = value;\n\n\t\t\t\t// Otherwise secure it in a non-enumerable property\n\t\t\t\t// configurable must be true to allow the property to be\n\t\t\t\t// deleted when data is removed\n\t\t\t\t} else {\n\t\t\t\t\tObject.defineProperty( owner, this.expando, {\n\t\t\t\t\t\tvalue: value,\n\t\t\t\t\t\tconfigurable: true\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn value;\n\t},\n\tset: function( owner, data, value ) {\n\t\tvar prop,\n\t\t\tcache = this.cache( owner );\n\n\t\t// Handle: [ owner, key, value ] args\n\t\t// Always use camelCase key (gh-2257)\n\t\tif ( typeof data === \"string\" ) {\n\t\t\tcache[ camelCase( data ) ] = value;\n\n\t\t// Handle: [ owner, { properties } ] args\n\t\t} else {\n\n\t\t\t// Copy the properties one-by-one to the cache object\n\t\t\tfor ( prop in data ) {\n\t\t\t\tcache[ camelCase( prop ) ] = data[ prop ];\n\t\t\t}\n\t\t}\n\t\treturn cache;\n\t},\n\tget: function( owner, key ) {\n\t\treturn key === undefined ?\n\t\t\tthis.cache( owner ) :\n\n\t\t\t// Always use camelCase key (gh-2257)\n\t\t\towner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ];\n\t},\n\taccess: function( owner, key, value ) {\n\n\t\t// In cases where either:\n\t\t//\n\t\t//   1. No key was specified\n\t\t//   2. A string key was specified, but no value provided\n\t\t//\n\t\t// Take the \"read\" path and allow the get method to determine\n\t\t// which value to return, respectively either:\n\t\t//\n\t\t//   1. The entire cache object\n\t\t//   2. The data stored at the key\n\t\t//\n\t\tif ( key === undefined ||\n\t\t\t\t( ( key && typeof key === \"string\" ) && value === undefined ) ) {\n\n\t\t\treturn this.get( owner, key );\n\t\t}\n\n\t\t// When the key is not a string, or both a key and value\n\t\t// are specified, set or extend (existing objects) with either:\n\t\t//\n\t\t//   1. An object of properties\n\t\t//   2. A key and value\n\t\t//\n\t\tthis.set( owner, key, value );\n\n\t\t// Since the \"set\" path can have two possible entry points\n\t\t// return the expected data based on which path was taken[*]\n\t\treturn value !== undefined ? value : key;\n\t},\n\tremove: function( owner, key ) {\n\t\tvar i,\n\t\t\tcache = owner[ this.expando ];\n\n\t\tif ( cache === undefined ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( key !== undefined ) {\n\n\t\t\t// Support array or space separated string of keys\n\t\t\tif ( Array.isArray( key ) ) {\n\n\t\t\t\t// If key is an array of keys...\n\t\t\t\t// We always set camelCase keys, so remove that.\n\t\t\t\tkey = key.map( camelCase );\n\t\t\t} else {\n\t\t\t\tkey = camelCase( key );\n\n\t\t\t\t// If a key with the spaces exists, use it.\n\t\t\t\t// Otherwise, create an array by matching non-whitespace\n\t\t\t\tkey = key in cache ?\n\t\t\t\t\t[ key ] :\n\t\t\t\t\t( key.match( rnothtmlwhite ) || [] );\n\t\t\t}\n\n\t\t\ti = key.length;\n\n\t\t\twhile ( i-- ) {\n\t\t\t\tdelete cache[ key[ i ] ];\n\t\t\t}\n\t\t}\n\n\t\t// Remove the expando if there's no more data\n\t\tif ( key === undefined || jQuery.isEmptyObject( cache ) ) {\n\n\t\t\t// Support: Chrome <=35 - 45\n\t\t\t// Webkit & Blink performance suffers when deleting properties\n\t\t\t// from DOM nodes, so set to undefined instead\n\t\t\t// https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted)\n\t\t\tif ( owner.nodeType ) {\n\t\t\t\towner[ this.expando ] = undefined;\n\t\t\t} else {\n\t\t\t\tdelete owner[ this.expando ];\n\t\t\t}\n\t\t}\n\t},\n\thasData: function( owner ) {\n\t\tvar cache = owner[ this.expando ];\n\t\treturn cache !== undefined && !jQuery.isEmptyObject( cache );\n\t}\n};\nvar dataPriv = new Data();\n\nvar dataUser = new Data();\n\n\n\n//\tImplementation Summary\n//\n//\t1. Enforce API surface and semantic compatibility with 1.9.x branch\n//\t2. Improve the module's maintainability by reducing the storage\n//\t\tpaths to a single mechanism.\n//\t3. Use the same single mechanism to support \"private\" and \"user\" data.\n//\t4. _Never_ expose \"private\" data to user code (TODO: Drop _data, _removeData)\n//\t5. Avoid exposing implementation details on user objects (eg. expando properties)\n//\t6. Provide a clear path for implementation upgrade to WeakMap in 2014\n\nvar rbrace = /^(?:\\{[\\w\\W]*\\}|\\[[\\w\\W]*\\])$/,\n\trmultiDash = /[A-Z]/g;\n\nfunction getData( data ) {\n\tif ( data === \"true\" ) {\n\t\treturn true;\n\t}\n\n\tif ( data === \"false\" ) {\n\t\treturn false;\n\t}\n\n\tif ( data === \"null\" ) {\n\t\treturn null;\n\t}\n\n\t// Only convert to a number if it doesn't change the string\n\tif ( data === +data + \"\" ) {\n\t\treturn +data;\n\t}\n\n\tif ( rbrace.test( data ) ) {\n\t\treturn JSON.parse( data );\n\t}\n\n\treturn data;\n}\n\nfunction dataAttr( elem, key, data ) {\n\tvar name;\n\n\t// If nothing was found internally, try to fetch any\n\t// data from the HTML5 data-* attribute\n\tif ( data === undefined && elem.nodeType === 1 ) {\n\t\tname = \"data-\" + key.replace( rmultiDash, \"-$&\" ).toLowerCase();\n\t\tdata = elem.getAttribute( name );\n\n\t\tif ( typeof data === \"string\" ) {\n\t\t\ttry {\n\t\t\t\tdata = getData( data );\n\t\t\t} catch ( e ) {}\n\n\t\t\t// Make sure we set the data so it isn't changed later\n\t\t\tdataUser.set( elem, key, data );\n\t\t} else {\n\t\t\tdata = undefined;\n\t\t}\n\t}\n\treturn data;\n}\n\njQuery.extend( {\n\thasData: function( elem ) {\n\t\treturn dataUser.hasData( elem ) || dataPriv.hasData( elem );\n\t},\n\n\tdata: function( elem, name, data ) {\n\t\treturn dataUser.access( elem, name, data );\n\t},\n\n\tremoveData: function( elem, name ) {\n\t\tdataUser.remove( elem, name );\n\t},\n\n\t// TODO: Now that all calls to _data and _removeData have been replaced\n\t// with direct calls to dataPriv methods, these can be deprecated.\n\t_data: function( elem, name, data ) {\n\t\treturn dataPriv.access( elem, name, data );\n\t},\n\n\t_removeData: function( elem, name ) {\n\t\tdataPriv.remove( elem, name );\n\t}\n} );\n\njQuery.fn.extend( {\n\tdata: function( key, value ) {\n\t\tvar i, name, data,\n\t\t\telem = this[ 0 ],\n\t\t\tattrs = elem && elem.attributes;\n\n\t\t// Gets all values\n\t\tif ( key === undefined ) {\n\t\t\tif ( this.length ) {\n\t\t\t\tdata = dataUser.get( elem );\n\n\t\t\t\tif ( elem.nodeType === 1 && !dataPriv.get( elem, \"hasDataAttrs\" ) ) {\n\t\t\t\t\ti = attrs.length;\n\t\t\t\t\twhile ( i-- ) {\n\n\t\t\t\t\t\t// Support: IE 11 only\n\t\t\t\t\t\t// The attrs elements can be null (#14894)\n\t\t\t\t\t\tif ( attrs[ i ] ) {\n\t\t\t\t\t\t\tname = attrs[ i ].name;\n\t\t\t\t\t\t\tif ( name.indexOf( \"data-\" ) === 0 ) {\n\t\t\t\t\t\t\t\tname = camelCase( name.slice( 5 ) );\n\t\t\t\t\t\t\t\tdataAttr( elem, name, data[ name ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tdataPriv.set( elem, \"hasDataAttrs\", true );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn data;\n\t\t}\n\n\t\t// Sets multiple values\n\t\tif ( typeof key === \"object\" ) {\n\t\t\treturn this.each( function() {\n\t\t\t\tdataUser.set( this, key );\n\t\t\t} );\n\t\t}\n\n\t\treturn access( this, function( value ) {\n\t\t\tvar data;\n\n\t\t\t// The calling jQuery object (element matches) is not empty\n\t\t\t// (and therefore has an element appears at this[ 0 ]) and the\n\t\t\t// `value` parameter was not undefined. An empty jQuery object\n\t\t\t// will result in `undefined` for elem = this[ 0 ] which will\n\t\t\t// throw an exception if an attempt to read a data cache is made.\n\t\t\tif ( elem && value === undefined ) {\n\n\t\t\t\t// Attempt to get data from the cache\n\t\t\t\t// The key will always be camelCased in Data\n\t\t\t\tdata = dataUser.get( elem, key );\n\t\t\t\tif ( data !== undefined ) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\n\t\t\t\t// Attempt to \"discover\" the data in\n\t\t\t\t// HTML5 custom data-* attrs\n\t\t\t\tdata = dataAttr( elem, key );\n\t\t\t\tif ( data !== undefined ) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\n\t\t\t\t// We tried really hard, but the data doesn't exist.\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Set the data...\n\t\t\tthis.each( function() {\n\n\t\t\t\t// We always store the camelCased key\n\t\t\t\tdataUser.set( this, key, value );\n\t\t\t} );\n\t\t}, null, value, arguments.length > 1, null, true );\n\t},\n\n\tremoveData: function( key ) {\n\t\treturn this.each( function() {\n\t\t\tdataUser.remove( this, key );\n\t\t} );\n\t}\n} );\n\n\njQuery.extend( {\n\tqueue: function( elem, type, data ) {\n\t\tvar queue;\n\n\t\tif ( elem ) {\n\t\t\ttype = ( type || \"fx\" ) + \"queue\";\n\t\t\tqueue = dataPriv.get( elem, type );\n\n\t\t\t// Speed up dequeue by getting out quickly if this is just a lookup\n\t\t\tif ( data ) {\n\t\t\t\tif ( !queue || Array.isArray( data ) ) {\n\t\t\t\t\tqueue = dataPriv.access( elem, type, jQuery.makeArray( data ) );\n\t\t\t\t} else {\n\t\t\t\t\tqueue.push( data );\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn queue || [];\n\t\t}\n\t},\n\n\tdequeue: function( elem, type ) {\n\t\ttype = type || \"fx\";\n\n\t\tvar queue = jQuery.queue( elem, type ),\n\t\t\tstartLength = queue.length,\n\t\t\tfn = queue.shift(),\n\t\t\thooks = jQuery._queueHooks( elem, type ),\n\t\t\tnext = function() {\n\t\t\t\tjQuery.dequeue( elem, type );\n\t\t\t};\n\n\t\t// If the fx queue is dequeued, always remove the progress sentinel\n\t\tif ( fn === \"inprogress\" ) {\n\t\t\tfn = queue.shift();\n\t\t\tstartLength--;\n\t\t}\n\n\t\tif ( fn ) {\n\n\t\t\t// Add a progress sentinel to prevent the fx queue from being\n\t\t\t// automatically dequeued\n\t\t\tif ( type === \"fx\" ) {\n\t\t\t\tqueue.unshift( \"inprogress\" );\n\t\t\t}\n\n\t\t\t// Clear up the last queue stop function\n\t\t\tdelete hooks.stop;\n\t\t\tfn.call( elem, next, hooks );\n\t\t}\n\n\t\tif ( !startLength && hooks ) {\n\t\t\thooks.empty.fire();\n\t\t}\n\t},\n\n\t// Not public - generate a queueHooks object, or return the current one\n\t_queueHooks: function( elem, type ) {\n\t\tvar key = type + \"queueHooks\";\n\t\treturn dataPriv.get( elem, key ) || dataPriv.access( elem, key, {\n\t\t\tempty: jQuery.Callbacks( \"once memory\" ).add( function() {\n\t\t\t\tdataPriv.remove( elem, [ type + \"queue\", key ] );\n\t\t\t} )\n\t\t} );\n\t}\n} );\n\njQuery.fn.extend( {\n\tqueue: function( type, data ) {\n\t\tvar setter = 2;\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tdata = type;\n\t\t\ttype = \"fx\";\n\t\t\tsetter--;\n\t\t}\n\n\t\tif ( arguments.length < setter ) {\n\t\t\treturn jQuery.queue( this[ 0 ], type );\n\t\t}\n\n\t\treturn data === undefined ?\n\t\t\tthis :\n\t\t\tthis.each( function() {\n\t\t\t\tvar queue = jQuery.queue( this, type, data );\n\n\t\t\t\t// Ensure a hooks for this queue\n\t\t\t\tjQuery._queueHooks( this, type );\n\n\t\t\t\tif ( type === \"fx\" && queue[ 0 ] !== \"inprogress\" ) {\n\t\t\t\t\tjQuery.dequeue( this, type );\n\t\t\t\t}\n\t\t\t} );\n\t},\n\tdequeue: function( type ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.dequeue( this, type );\n\t\t} );\n\t},\n\tclearQueue: function( type ) {\n\t\treturn this.queue( type || \"fx\", [] );\n\t},\n\n\t// Get a promise resolved when queues of a certain type\n\t// are emptied (fx is the type by default)\n\tpromise: function( type, obj ) {\n\t\tvar tmp,\n\t\t\tcount = 1,\n\t\t\tdefer = jQuery.Deferred(),\n\t\t\telements = this,\n\t\t\ti = this.length,\n\t\t\tresolve = function() {\n\t\t\t\tif ( !( --count ) ) {\n\t\t\t\t\tdefer.resolveWith( elements, [ elements ] );\n\t\t\t\t}\n\t\t\t};\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tobj = type;\n\t\t\ttype = undefined;\n\t\t}\n\t\ttype = type || \"fx\";\n\n\t\twhile ( i-- ) {\n\t\t\ttmp = dataPriv.get( elements[ i ], type + \"queueHooks\" );\n\t\t\tif ( tmp && tmp.empty ) {\n\t\t\t\tcount++;\n\t\t\t\ttmp.empty.add( resolve );\n\t\t\t}\n\t\t}\n\t\tresolve();\n\t\treturn defer.promise( obj );\n\t}\n} );\nvar pnum = ( /[+-]?(?:\\d*\\.|)\\d+(?:[eE][+-]?\\d+|)/ ).source;\n\nvar rcssNum = new RegExp( \"^(?:([+-])=|)(\" + pnum + \")([a-z%]*)$\", \"i\" );\n\n\nvar cssExpand = [ \"Top\", \"Right\", \"Bottom\", \"Left\" ];\n\nvar documentElement = document.documentElement;\n\n\n\n\tvar isAttached = function( elem ) {\n\t\t\treturn jQuery.contains( elem.ownerDocument, elem );\n\t\t},\n\t\tcomposed = { composed: true };\n\n\t// Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only\n\t// Check attachment across shadow DOM boundaries when possible (gh-3504)\n\t// Support: iOS 10.0-10.2 only\n\t// Early iOS 10 versions support `attachShadow` but not `getRootNode`,\n\t// leading to errors. We need to check for `getRootNode`.\n\tif ( documentElement.getRootNode ) {\n\t\tisAttached = function( elem ) {\n\t\t\treturn jQuery.contains( elem.ownerDocument, elem ) ||\n\t\t\t\telem.getRootNode( composed ) === elem.ownerDocument;\n\t\t};\n\t}\nvar isHiddenWithinTree = function( elem, el ) {\n\n\t\t// isHiddenWithinTree might be called from jQuery#filter function;\n\t\t// in that case, element will be second argument\n\t\telem = el || elem;\n\n\t\t// Inline style trumps all\n\t\treturn elem.style.display === \"none\" ||\n\t\t\telem.style.display === \"\" &&\n\n\t\t\t// Otherwise, check computed style\n\t\t\t// Support: Firefox <=43 - 45\n\t\t\t// Disconnected elements can have computed display: none, so first confirm that elem is\n\t\t\t// in the document.\n\t\t\tisAttached( elem ) &&\n\n\t\t\tjQuery.css( elem, \"display\" ) === \"none\";\n\t};\n\nvar swap = function( elem, options, callback, args ) {\n\tvar ret, name,\n\t\told = {};\n\n\t// Remember the old values, and insert the new ones\n\tfor ( name in options ) {\n\t\told[ name ] = elem.style[ name ];\n\t\telem.style[ name ] = options[ name ];\n\t}\n\n\tret = callback.apply( elem, args || [] );\n\n\t// Revert the old values\n\tfor ( name in options ) {\n\t\telem.style[ name ] = old[ name ];\n\t}\n\n\treturn ret;\n};\n\n\n\n\nfunction adjustCSS( elem, prop, valueParts, tween ) {\n\tvar adjusted, scale,\n\t\tmaxIterations = 20,\n\t\tcurrentValue = tween ?\n\t\t\tfunction() {\n\t\t\t\treturn tween.cur();\n\t\t\t} :\n\t\t\tfunction() {\n\t\t\t\treturn jQuery.css( elem, prop, \"\" );\n\t\t\t},\n\t\tinitial = currentValue(),\n\t\tunit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? \"\" : \"px\" ),\n\n\t\t// Starting value computation is required for potential unit mismatches\n\t\tinitialInUnit = elem.nodeType &&\n\t\t\t( jQuery.cssNumber[ prop ] || unit !== \"px\" && +initial ) &&\n\t\t\trcssNum.exec( jQuery.css( elem, prop ) );\n\n\tif ( initialInUnit && initialInUnit[ 3 ] !== unit ) {\n\n\t\t// Support: Firefox <=54\n\t\t// Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144)\n\t\tinitial = initial / 2;\n\n\t\t// Trust units reported by jQuery.css\n\t\tunit = unit || initialInUnit[ 3 ];\n\n\t\t// Iteratively approximate from a nonzero starting point\n\t\tinitialInUnit = +initial || 1;\n\n\t\twhile ( maxIterations-- ) {\n\n\t\t\t// Evaluate and update our best guess (doubling guesses that zero out).\n\t\t\t// Finish if the scale equals or crosses 1 (making the old*new product non-positive).\n\t\t\tjQuery.style( elem, prop, initialInUnit + unit );\n\t\t\tif ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) {\n\t\t\t\tmaxIterations = 0;\n\t\t\t}\n\t\t\tinitialInUnit = initialInUnit / scale;\n\n\t\t}\n\n\t\tinitialInUnit = initialInUnit * 2;\n\t\tjQuery.style( elem, prop, initialInUnit + unit );\n\n\t\t// Make sure we update the tween properties later on\n\t\tvalueParts = valueParts || [];\n\t}\n\n\tif ( valueParts ) {\n\t\tinitialInUnit = +initialInUnit || +initial || 0;\n\n\t\t// Apply relative offset (+=/-=) if specified\n\t\tadjusted = valueParts[ 1 ] ?\n\t\t\tinitialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] :\n\t\t\t+valueParts[ 2 ];\n\t\tif ( tween ) {\n\t\t\ttween.unit = unit;\n\t\t\ttween.start = initialInUnit;\n\t\t\ttween.end = adjusted;\n\t\t}\n\t}\n\treturn adjusted;\n}\n\n\nvar defaultDisplayMap = {};\n\nfunction getDefaultDisplay( elem ) {\n\tvar temp,\n\t\tdoc = elem.ownerDocument,\n\t\tnodeName = elem.nodeName,\n\t\tdisplay = defaultDisplayMap[ nodeName ];\n\n\tif ( display ) {\n\t\treturn display;\n\t}\n\n\ttemp = doc.body.appendChild( doc.createElement( nodeName ) );\n\tdisplay = jQuery.css( temp, \"display\" );\n\n\ttemp.parentNode.removeChild( temp );\n\n\tif ( display === \"none\" ) {\n\t\tdisplay = \"block\";\n\t}\n\tdefaultDisplayMap[ nodeName ] = display;\n\n\treturn display;\n}\n\nfunction showHide( elements, show ) {\n\tvar display, elem,\n\t\tvalues = [],\n\t\tindex = 0,\n\t\tlength = elements.length;\n\n\t// Determine new display value for elements that need to change\n\tfor ( ; index < length; index++ ) {\n\t\telem = elements[ index ];\n\t\tif ( !elem.style ) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tdisplay = elem.style.display;\n\t\tif ( show ) {\n\n\t\t\t// Since we force visibility upon cascade-hidden elements, an immediate (and slow)\n\t\t\t// check is required in this first loop unless we have a nonempty display value (either\n\t\t\t// inline or about-to-be-restored)\n\t\t\tif ( display === \"none\" ) {\n\t\t\t\tvalues[ index ] = dataPriv.get( elem, \"display\" ) || null;\n\t\t\t\tif ( !values[ index ] ) {\n\t\t\t\t\telem.style.display = \"\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( elem.style.display === \"\" && isHiddenWithinTree( elem ) ) {\n\t\t\t\tvalues[ index ] = getDefaultDisplay( elem );\n\t\t\t}\n\t\t} else {\n\t\t\tif ( display !== \"none\" ) {\n\t\t\t\tvalues[ index ] = \"none\";\n\n\t\t\t\t// Remember what we're overwriting\n\t\t\t\tdataPriv.set( elem, \"display\", display );\n\t\t\t}\n\t\t}\n\t}\n\n\t// Set the display of the elements in a second loop to avoid constant reflow\n\tfor ( index = 0; index < length; index++ ) {\n\t\tif ( values[ index ] != null ) {\n\t\t\telements[ index ].style.display = values[ index ];\n\t\t}\n\t}\n\n\treturn elements;\n}\n\njQuery.fn.extend( {\n\tshow: function() {\n\t\treturn showHide( this, true );\n\t},\n\thide: function() {\n\t\treturn showHide( this );\n\t},\n\ttoggle: function( state ) {\n\t\tif ( typeof state === \"boolean\" ) {\n\t\t\treturn state ? this.show() : this.hide();\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tif ( isHiddenWithinTree( this ) ) {\n\t\t\t\tjQuery( this ).show();\n\t\t\t} else {\n\t\t\t\tjQuery( this ).hide();\n\t\t\t}\n\t\t} );\n\t}\n} );\nvar rcheckableType = ( /^(?:checkbox|radio)$/i );\n\nvar rtagName = ( /<([a-z][^\\/\\0>\\x20\\t\\r\\n\\f]*)/i );\n\nvar rscriptType = ( /^$|^module$|\\/(?:java|ecma)script/i );\n\n\n\n// We have to close these tags to support XHTML (#13200)\nvar wrapMap = {\n\n\t// Support: IE <=9 only\n\toption: [ 1, \"<select multiple='multiple'>\", \"</select>\" ],\n\n\t// XHTML parsers do not magically insert elements in the\n\t// same way that tag soup parsers do. So we cannot shorten\n\t// this by omitting <tbody> or other required elements.\n\tthead: [ 1, \"<table>\", \"</table>\" ],\n\tcol: [ 2, \"<table><colgroup>\", \"</colgroup></table>\" ],\n\ttr: [ 2, \"<table><tbody>\", \"</tbody></table>\" ],\n\ttd: [ 3, \"<table><tbody><tr>\", \"</tr></tbody></table>\" ],\n\n\t_default: [ 0, \"\", \"\" ]\n};\n\n// Support: IE <=9 only\nwrapMap.optgroup = wrapMap.option;\n\nwrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;\nwrapMap.th = wrapMap.td;\n\n\nfunction getAll( context, tag ) {\n\n\t// Support: IE <=9 - 11 only\n\t// Use typeof to avoid zero-argument method invocation on host objects (#15151)\n\tvar ret;\n\n\tif ( typeof context.getElementsByTagName !== \"undefined\" ) {\n\t\tret = context.getElementsByTagName( tag || \"*\" );\n\n\t} else if ( typeof context.querySelectorAll !== \"undefined\" ) {\n\t\tret = context.querySelectorAll( tag || \"*\" );\n\n\t} else {\n\t\tret = [];\n\t}\n\n\tif ( tag === undefined || tag && nodeName( context, tag ) ) {\n\t\treturn jQuery.merge( [ context ], ret );\n\t}\n\n\treturn ret;\n}\n\n\n// Mark scripts as having already been evaluated\nfunction setGlobalEval( elems, refElements ) {\n\tvar i = 0,\n\t\tl = elems.length;\n\n\tfor ( ; i < l; i++ ) {\n\t\tdataPriv.set(\n\t\t\telems[ i ],\n\t\t\t\"globalEval\",\n\t\t\t!refElements || dataPriv.get( refElements[ i ], \"globalEval\" )\n\t\t);\n\t}\n}\n\n\nvar rhtml = /<|&#?\\w+;/;\n\nfunction buildFragment( elems, context, scripts, selection, ignored ) {\n\tvar elem, tmp, tag, wrap, attached, j,\n\t\tfragment = context.createDocumentFragment(),\n\t\tnodes = [],\n\t\ti = 0,\n\t\tl = elems.length;\n\n\tfor ( ; i < l; i++ ) {\n\t\telem = elems[ i ];\n\n\t\tif ( elem || elem === 0 ) {\n\n\t\t\t// Add nodes directly\n\t\t\tif ( toType( elem ) === \"object\" ) {\n\n\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\tjQuery.merge( nodes, elem.nodeType ? [ elem ] : elem );\n\n\t\t\t// Convert non-html into a text node\n\t\t\t} else if ( !rhtml.test( elem ) ) {\n\t\t\t\tnodes.push( context.createTextNode( elem ) );\n\n\t\t\t// Convert html into DOM nodes\n\t\t\t} else {\n\t\t\t\ttmp = tmp || fragment.appendChild( context.createElement( \"div\" ) );\n\n\t\t\t\t// Deserialize a standard representation\n\t\t\t\ttag = ( rtagName.exec( elem ) || [ \"\", \"\" ] )[ 1 ].toLowerCase();\n\t\t\t\twrap = wrapMap[ tag ] || wrapMap._default;\n\t\t\t\ttmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ];\n\n\t\t\t\t// Descend through wrappers to the right content\n\t\t\t\tj = wrap[ 0 ];\n\t\t\t\twhile ( j-- ) {\n\t\t\t\t\ttmp = tmp.lastChild;\n\t\t\t\t}\n\n\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\tjQuery.merge( nodes, tmp.childNodes );\n\n\t\t\t\t// Remember the top-level container\n\t\t\t\ttmp = fragment.firstChild;\n\n\t\t\t\t// Ensure the created nodes are orphaned (#12392)\n\t\t\t\ttmp.textContent = \"\";\n\t\t\t}\n\t\t}\n\t}\n\n\t// Remove wrapper from fragment\n\tfragment.textContent = \"\";\n\n\ti = 0;\n\twhile ( ( elem = nodes[ i++ ] ) ) {\n\n\t\t// Skip elements already in the context collection (trac-4087)\n\t\tif ( selection && jQuery.inArray( elem, selection ) > -1 ) {\n\t\t\tif ( ignored ) {\n\t\t\t\tignored.push( elem );\n\t\t\t}\n\t\t\tcontinue;\n\t\t}\n\n\t\tattached = isAttached( elem );\n\n\t\t// Append to fragment\n\t\ttmp = getAll( fragment.appendChild( elem ), \"script\" );\n\n\t\t// Preserve script evaluation history\n\t\tif ( attached ) {\n\t\t\tsetGlobalEval( tmp );\n\t\t}\n\n\t\t// Capture executables\n\t\tif ( scripts ) {\n\t\t\tj = 0;\n\t\t\twhile ( ( elem = tmp[ j++ ] ) ) {\n\t\t\t\tif ( rscriptType.test( elem.type || \"\" ) ) {\n\t\t\t\t\tscripts.push( elem );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn fragment;\n}\n\n\n( function() {\n\tvar fragment = document.createDocumentFragment(),\n\t\tdiv = fragment.appendChild( document.createElement( \"div\" ) ),\n\t\tinput = document.createElement( \"input\" );\n\n\t// Support: Android 4.0 - 4.3 only\n\t// Check state lost if the name is set (#11217)\n\t// Support: Windows Web Apps (WWA)\n\t// `name` and `type` must use .setAttribute for WWA (#14901)\n\tinput.setAttribute( \"type\", \"radio\" );\n\tinput.setAttribute( \"checked\", \"checked\" );\n\tinput.setAttribute( \"name\", \"t\" );\n\n\tdiv.appendChild( input );\n\n\t// Support: Android <=4.1 only\n\t// Older WebKit doesn't clone checked state correctly in fragments\n\tsupport.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked;\n\n\t// Support: IE <=11 only\n\t// Make sure textarea (and checkbox) defaultValue is properly cloned\n\tdiv.innerHTML = \"<textarea>x</textarea>\";\n\tsupport.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue;\n} )();\n\n\nvar\n\trkeyEvent = /^key/,\n\trmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/,\n\trtypenamespace = /^([^.]*)(?:\\.(.+)|)/;\n\nfunction returnTrue() {\n\treturn true;\n}\n\nfunction returnFalse() {\n\treturn false;\n}\n\n// Support: IE <=9 - 11+\n// focus() and blur() are asynchronous, except when they are no-op.\n// So expect focus to be synchronous when the element is already active,\n// and blur to be synchronous when the element is not already active.\n// (focus and blur are always synchronous in other supported browsers,\n// this just defines when we can count on it).\nfunction expectSync( elem, type ) {\n\treturn ( elem === safeActiveElement() ) === ( type === \"focus\" );\n}\n\n// Support: IE <=9 only\n// Accessing document.activeElement can throw unexpectedly\n// https://bugs.jquery.com/ticket/13393\nfunction safeActiveElement() {\n\ttry {\n\t\treturn document.activeElement;\n\t} catch ( err ) { }\n}\n\nfunction on( elem, types, selector, data, fn, one ) {\n\tvar origFn, type;\n\n\t// Types can be a map of types/handlers\n\tif ( typeof types === \"object\" ) {\n\n\t\t// ( types-Object, selector, data )\n\t\tif ( typeof selector !== \"string\" ) {\n\n\t\t\t// ( types-Object, data )\n\t\t\tdata = data || selector;\n\t\t\tselector = undefined;\n\t\t}\n\t\tfor ( type in types ) {\n\t\t\ton( elem, type, selector, data, types[ type ], one );\n\t\t}\n\t\treturn elem;\n\t}\n\n\tif ( data == null && fn == null ) {\n\n\t\t// ( types, fn )\n\t\tfn = selector;\n\t\tdata = selector = undefined;\n\t} else if ( fn == null ) {\n\t\tif ( typeof selector === \"string\" ) {\n\n\t\t\t// ( types, selector, fn )\n\t\t\tfn = data;\n\t\t\tdata = undefined;\n\t\t} else {\n\n\t\t\t// ( types, data, fn )\n\t\t\tfn = data;\n\t\t\tdata = selector;\n\t\t\tselector = undefined;\n\t\t}\n\t}\n\tif ( fn === false ) {\n\t\tfn = returnFalse;\n\t} else if ( !fn ) {\n\t\treturn elem;\n\t}\n\n\tif ( one === 1 ) {\n\t\torigFn = fn;\n\t\tfn = function( event ) {\n\n\t\t\t// Can use an empty set, since event contains the info\n\t\t\tjQuery().off( event );\n\t\t\treturn origFn.apply( this, arguments );\n\t\t};\n\n\t\t// Use same guid so caller can remove using origFn\n\t\tfn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );\n\t}\n\treturn elem.each( function() {\n\t\tjQuery.event.add( this, types, fn, data, selector );\n\t} );\n}\n\n/*\n * Helper functions for managing events -- not part of the public interface.\n * Props to Dean Edwards' addEvent library for many of the ideas.\n */\njQuery.event = {\n\n\tglobal: {},\n\n\tadd: function( elem, types, handler, data, selector ) {\n\n\t\tvar handleObjIn, eventHandle, tmp,\n\t\t\tevents, t, handleObj,\n\t\t\tspecial, handlers, type, namespaces, origType,\n\t\t\telemData = dataPriv.get( elem );\n\n\t\t// Don't attach events to noData or text/comment nodes (but allow plain objects)\n\t\tif ( !elemData ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Caller can pass in an object of custom data in lieu of the handler\n\t\tif ( handler.handler ) {\n\t\t\thandleObjIn = handler;\n\t\t\thandler = handleObjIn.handler;\n\t\t\tselector = handleObjIn.selector;\n\t\t}\n\n\t\t// Ensure that invalid selectors throw exceptions at attach time\n\t\t// Evaluate against documentElement in case elem is a non-element node (e.g., document)\n\t\tif ( selector ) {\n\t\t\tjQuery.find.matchesSelector( documentElement, selector );\n\t\t}\n\n\t\t// Make sure that the handler has a unique ID, used to find/remove it later\n\t\tif ( !handler.guid ) {\n\t\t\thandler.guid = jQuery.guid++;\n\t\t}\n\n\t\t// Init the element's event structure and main handler, if this is the first\n\t\tif ( !( events = elemData.events ) ) {\n\t\t\tevents = elemData.events = {};\n\t\t}\n\t\tif ( !( eventHandle = elemData.handle ) ) {\n\t\t\teventHandle = elemData.handle = function( e ) {\n\n\t\t\t\t// Discard the second event of a jQuery.event.trigger() and\n\t\t\t\t// when an event is called after a page has unloaded\n\t\t\t\treturn typeof jQuery !== \"undefined\" && jQuery.event.triggered !== e.type ?\n\t\t\t\t\tjQuery.event.dispatch.apply( elem, arguments ) : undefined;\n\t\t\t};\n\t\t}\n\n\t\t// Handle multiple events separated by a space\n\t\ttypes = ( types || \"\" ).match( rnothtmlwhite ) || [ \"\" ];\n\t\tt = types.length;\n\t\twhile ( t-- ) {\n\t\t\ttmp = rtypenamespace.exec( types[ t ] ) || [];\n\t\t\ttype = origType = tmp[ 1 ];\n\t\t\tnamespaces = ( tmp[ 2 ] || \"\" ).split( \".\" ).sort();\n\n\t\t\t// There *must* be a type, no attaching namespace-only handlers\n\t\t\tif ( !type ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// If event changes its type, use the special event handlers for the changed type\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\n\t\t\t// If selector defined, determine special event api type, otherwise given type\n\t\t\ttype = ( selector ? special.delegateType : special.bindType ) || type;\n\n\t\t\t// Update special based on newly reset type\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\n\t\t\t// handleObj is passed to all event handlers\n\t\t\thandleObj = jQuery.extend( {\n\t\t\t\ttype: type,\n\t\t\t\torigType: origType,\n\t\t\t\tdata: data,\n\t\t\t\thandler: handler,\n\t\t\t\tguid: handler.guid,\n\t\t\t\tselector: selector,\n\t\t\t\tneedsContext: selector && jQuery.expr.match.needsContext.test( selector ),\n\t\t\t\tnamespace: namespaces.join( \".\" )\n\t\t\t}, handleObjIn );\n\n\t\t\t// Init the event handler queue if we're the first\n\t\t\tif ( !( handlers = events[ type ] ) ) {\n\t\t\t\thandlers = events[ type ] = [];\n\t\t\t\thandlers.delegateCount = 0;\n\n\t\t\t\t// Only use addEventListener if the special events handler returns false\n\t\t\t\tif ( !special.setup ||\n\t\t\t\t\tspecial.setup.call( elem, data, namespaces, eventHandle ) === false ) {\n\n\t\t\t\t\tif ( elem.addEventListener ) {\n\t\t\t\t\t\telem.addEventListener( type, eventHandle );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( special.add ) {\n\t\t\t\tspecial.add.call( elem, handleObj );\n\n\t\t\t\tif ( !handleObj.handler.guid ) {\n\t\t\t\t\thandleObj.handler.guid = handler.guid;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Add to the element's handler list, delegates in front\n\t\t\tif ( selector ) {\n\t\t\t\thandlers.splice( handlers.delegateCount++, 0, handleObj );\n\t\t\t} else {\n\t\t\t\thandlers.push( handleObj );\n\t\t\t}\n\n\t\t\t// Keep track of which events have ever been used, for event optimization\n\t\t\tjQuery.event.global[ type ] = true;\n\t\t}\n\n\t},\n\n\t// Detach an event or set of events from an element\n\tremove: function( elem, types, handler, selector, mappedTypes ) {\n\n\t\tvar j, origCount, tmp,\n\t\t\tevents, t, handleObj,\n\t\t\tspecial, handlers, type, namespaces, origType,\n\t\t\telemData = dataPriv.hasData( elem ) && dataPriv.get( elem );\n\n\t\tif ( !elemData || !( events = elemData.events ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Once for each type.namespace in types; type may be omitted\n\t\ttypes = ( types || \"\" ).match( rnothtmlwhite ) || [ \"\" ];\n\t\tt = types.length;\n\t\twhile ( t-- ) {\n\t\t\ttmp = rtypenamespace.exec( types[ t ] ) || [];\n\t\t\ttype = origType = tmp[ 1 ];\n\t\t\tnamespaces = ( tmp[ 2 ] || \"\" ).split( \".\" ).sort();\n\n\t\t\t// Unbind all events (on this namespace, if provided) for the element\n\t\t\tif ( !type ) {\n\t\t\t\tfor ( type in events ) {\n\t\t\t\t\tjQuery.event.remove( elem, type + types[ t ], handler, selector, true );\n\t\t\t\t}\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\t\t\ttype = ( selector ? special.delegateType : special.bindType ) || type;\n\t\t\thandlers = events[ type ] || [];\n\t\t\ttmp = tmp[ 2 ] &&\n\t\t\t\tnew RegExp( \"(^|\\\\.)\" + namespaces.join( \"\\\\.(?:.*\\\\.|)\" ) + \"(\\\\.|$)\" );\n\n\t\t\t// Remove matching events\n\t\t\torigCount = j = handlers.length;\n\t\t\twhile ( j-- ) {\n\t\t\t\thandleObj = handlers[ j ];\n\n\t\t\t\tif ( ( mappedTypes || origType === handleObj.origType ) &&\n\t\t\t\t\t( !handler || handler.guid === handleObj.guid ) &&\n\t\t\t\t\t( !tmp || tmp.test( handleObj.namespace ) ) &&\n\t\t\t\t\t( !selector || selector === handleObj.selector ||\n\t\t\t\t\t\tselector === \"**\" && handleObj.selector ) ) {\n\t\t\t\t\thandlers.splice( j, 1 );\n\n\t\t\t\t\tif ( handleObj.selector ) {\n\t\t\t\t\t\thandlers.delegateCount--;\n\t\t\t\t\t}\n\t\t\t\t\tif ( special.remove ) {\n\t\t\t\t\t\tspecial.remove.call( elem, handleObj );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Remove generic event handler if we removed something and no more handlers exist\n\t\t\t// (avoids potential for endless recursion during removal of special event handlers)\n\t\t\tif ( origCount && !handlers.length ) {\n\t\t\t\tif ( !special.teardown ||\n\t\t\t\t\tspecial.teardown.call( elem, namespaces, elemData.handle ) === false ) {\n\n\t\t\t\t\tjQuery.removeEvent( elem, type, elemData.handle );\n\t\t\t\t}\n\n\t\t\t\tdelete events[ type ];\n\t\t\t}\n\t\t}\n\n\t\t// Remove data and the expando if it's no longer used\n\t\tif ( jQuery.isEmptyObject( events ) ) {\n\t\t\tdataPriv.remove( elem, \"handle events\" );\n\t\t}\n\t},\n\n\tdispatch: function( nativeEvent ) {\n\n\t\t// Make a writable jQuery.Event from the native event object\n\t\tvar event = jQuery.event.fix( nativeEvent );\n\n\t\tvar i, j, ret, matched, handleObj, handlerQueue,\n\t\t\targs = new Array( arguments.length ),\n\t\t\thandlers = ( dataPriv.get( this, \"events\" ) || {} )[ event.type ] || [],\n\t\t\tspecial = jQuery.event.special[ event.type ] || {};\n\n\t\t// Use the fix-ed jQuery.Event rather than the (read-only) native event\n\t\targs[ 0 ] = event;\n\n\t\tfor ( i = 1; i < arguments.length; i++ ) {\n\t\t\targs[ i ] = arguments[ i ];\n\t\t}\n\n\t\tevent.delegateTarget = this;\n\n\t\t// Call the preDispatch hook for the mapped type, and let it bail if desired\n\t\tif ( special.preDispatch && special.preDispatch.call( this, event ) === false ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Determine handlers\n\t\thandlerQueue = jQuery.event.handlers.call( this, event, handlers );\n\n\t\t// Run delegates first; they may want to stop propagation beneath us\n\t\ti = 0;\n\t\twhile ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) {\n\t\t\tevent.currentTarget = matched.elem;\n\n\t\t\tj = 0;\n\t\t\twhile ( ( handleObj = matched.handlers[ j++ ] ) &&\n\t\t\t\t!event.isImmediatePropagationStopped() ) {\n\n\t\t\t\t// If the event is namespaced, then each handler is only invoked if it is\n\t\t\t\t// specially universal or its namespaces are a superset of the event's.\n\t\t\t\tif ( !event.rnamespace || handleObj.namespace === false ||\n\t\t\t\t\tevent.rnamespace.test( handleObj.namespace ) ) {\n\n\t\t\t\t\tevent.handleObj = handleObj;\n\t\t\t\t\tevent.data = handleObj.data;\n\n\t\t\t\t\tret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle ||\n\t\t\t\t\t\thandleObj.handler ).apply( matched.elem, args );\n\n\t\t\t\t\tif ( ret !== undefined ) {\n\t\t\t\t\t\tif ( ( event.result = ret ) === false ) {\n\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Call the postDispatch hook for the mapped type\n\t\tif ( special.postDispatch ) {\n\t\t\tspecial.postDispatch.call( this, event );\n\t\t}\n\n\t\treturn event.result;\n\t},\n\n\thandlers: function( event, handlers ) {\n\t\tvar i, handleObj, sel, matchedHandlers, matchedSelectors,\n\t\t\thandlerQueue = [],\n\t\t\tdelegateCount = handlers.delegateCount,\n\t\t\tcur = event.target;\n\n\t\t// Find delegate handlers\n\t\tif ( delegateCount &&\n\n\t\t\t// Support: IE <=9\n\t\t\t// Black-hole SVG <use> instance trees (trac-13180)\n\t\t\tcur.nodeType &&\n\n\t\t\t// Support: Firefox <=42\n\t\t\t// Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861)\n\t\t\t// https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click\n\t\t\t// Support: IE 11 only\n\t\t\t// ...but not arrow key \"clicks\" of radio inputs, which can have `button` -1 (gh-2343)\n\t\t\t!( event.type === \"click\" && event.button >= 1 ) ) {\n\n\t\t\tfor ( ; cur !== this; cur = cur.parentNode || this ) {\n\n\t\t\t\t// Don't check non-elements (#13208)\n\t\t\t\t// Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)\n\t\t\t\tif ( cur.nodeType === 1 && !( event.type === \"click\" && cur.disabled === true ) ) {\n\t\t\t\t\tmatchedHandlers = [];\n\t\t\t\t\tmatchedSelectors = {};\n\t\t\t\t\tfor ( i = 0; i < delegateCount; i++ ) {\n\t\t\t\t\t\thandleObj = handlers[ i ];\n\n\t\t\t\t\t\t// Don't conflict with Object.prototype properties (#13203)\n\t\t\t\t\t\tsel = handleObj.selector + \" \";\n\n\t\t\t\t\t\tif ( matchedSelectors[ sel ] === undefined ) {\n\t\t\t\t\t\t\tmatchedSelectors[ sel ] = handleObj.needsContext ?\n\t\t\t\t\t\t\t\tjQuery( sel, this ).index( cur ) > -1 :\n\t\t\t\t\t\t\t\tjQuery.find( sel, this, null, [ cur ] ).length;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif ( matchedSelectors[ sel ] ) {\n\t\t\t\t\t\t\tmatchedHandlers.push( handleObj );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ( matchedHandlers.length ) {\n\t\t\t\t\t\thandlerQueue.push( { elem: cur, handlers: matchedHandlers } );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Add the remaining (directly-bound) handlers\n\t\tcur = this;\n\t\tif ( delegateCount < handlers.length ) {\n\t\t\thandlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } );\n\t\t}\n\n\t\treturn handlerQueue;\n\t},\n\n\taddProp: function( name, hook ) {\n\t\tObject.defineProperty( jQuery.Event.prototype, name, {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: true,\n\n\t\t\tget: isFunction( hook ) ?\n\t\t\t\tfunction() {\n\t\t\t\t\tif ( this.originalEvent ) {\n\t\t\t\t\t\t\treturn hook( this.originalEvent );\n\t\t\t\t\t}\n\t\t\t\t} :\n\t\t\t\tfunction() {\n\t\t\t\t\tif ( this.originalEvent ) {\n\t\t\t\t\t\t\treturn this.originalEvent[ name ];\n\t\t\t\t\t}\n\t\t\t\t},\n\n\t\t\tset: function( value ) {\n\t\t\t\tObject.defineProperty( this, name, {\n\t\t\t\t\tenumerable: true,\n\t\t\t\t\tconfigurable: true,\n\t\t\t\t\twritable: true,\n\t\t\t\t\tvalue: value\n\t\t\t\t} );\n\t\t\t}\n\t\t} );\n\t},\n\n\tfix: function( originalEvent ) {\n\t\treturn originalEvent[ jQuery.expando ] ?\n\t\t\toriginalEvent :\n\t\t\tnew jQuery.Event( originalEvent );\n\t},\n\n\tspecial: {\n\t\tload: {\n\n\t\t\t// Prevent triggered image.load events from bubbling to window.load\n\t\t\tnoBubble: true\n\t\t},\n\t\tclick: {\n\n\t\t\t// Utilize native event to ensure correct state for checkable inputs\n\t\t\tsetup: function( data ) {\n\n\t\t\t\t// For mutual compressibility with _default, replace `this` access with a local var.\n\t\t\t\t// `|| data` is dead code meant only to preserve the variable through minification.\n\t\t\t\tvar el = this || data;\n\n\t\t\t\t// Claim the first handler\n\t\t\t\tif ( rcheckableType.test( el.type ) &&\n\t\t\t\t\tel.click && nodeName( el, \"input\" ) ) {\n\n\t\t\t\t\t// dataPriv.set( el, \"click\", ... )\n\t\t\t\t\tleverageNative( el, \"click\", returnTrue );\n\t\t\t\t}\n\n\t\t\t\t// Return false to allow normal processing in the caller\n\t\t\t\treturn false;\n\t\t\t},\n\t\t\ttrigger: function( data ) {\n\n\t\t\t\t// For mutual compressibility with _default, replace `this` access with a local var.\n\t\t\t\t// `|| data` is dead code meant only to preserve the variable through minification.\n\t\t\t\tvar el = this || data;\n\n\t\t\t\t// Force setup before triggering a click\n\t\t\t\tif ( rcheckableType.test( el.type ) &&\n\t\t\t\t\tel.click && nodeName( el, \"input\" ) ) {\n\n\t\t\t\t\tleverageNative( el, \"click\" );\n\t\t\t\t}\n\n\t\t\t\t// Return non-false to allow normal event-path propagation\n\t\t\t\treturn true;\n\t\t\t},\n\n\t\t\t// For cross-browser consistency, suppress native .click() on links\n\t\t\t// Also prevent it if we're currently inside a leveraged native-event stack\n\t\t\t_default: function( event ) {\n\t\t\t\tvar target = event.target;\n\t\t\t\treturn rcheckableType.test( target.type ) &&\n\t\t\t\t\ttarget.click && nodeName( target, \"input\" ) &&\n\t\t\t\t\tdataPriv.get( target, \"click\" ) ||\n\t\t\t\t\tnodeName( target, \"a\" );\n\t\t\t}\n\t\t},\n\n\t\tbeforeunload: {\n\t\t\tpostDispatch: function( event ) {\n\n\t\t\t\t// Support: Firefox 20+\n\t\t\t\t// Firefox doesn't alert if the returnValue field is not set.\n\t\t\t\tif ( event.result !== undefined && event.originalEvent ) {\n\t\t\t\t\tevent.originalEvent.returnValue = event.result;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n};\n\n// Ensure the presence of an event listener that handles manually-triggered\n// synthetic events by interrupting progress until reinvoked in response to\n// *native* events that it fires directly, ensuring that state changes have\n// already occurred before other listeners are invoked.\nfunction leverageNative( el, type, expectSync ) {\n\n\t// Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add\n\tif ( !expectSync ) {\n\t\tif ( dataPriv.get( el, type ) === undefined ) {\n\t\t\tjQuery.event.add( el, type, returnTrue );\n\t\t}\n\t\treturn;\n\t}\n\n\t// Register the controller as a special universal handler for all event namespaces\n\tdataPriv.set( el, type, false );\n\tjQuery.event.add( el, type, {\n\t\tnamespace: false,\n\t\thandler: function( event ) {\n\t\t\tvar notAsync, result,\n\t\t\t\tsaved = dataPriv.get( this, type );\n\n\t\t\tif ( ( event.isTrigger & 1 ) && this[ type ] ) {\n\n\t\t\t\t// Interrupt processing of the outer synthetic .trigger()ed event\n\t\t\t\t// Saved data should be false in such cases, but might be a leftover capture object\n\t\t\t\t// from an async native handler (gh-4350)\n\t\t\t\tif ( !saved.length ) {\n\n\t\t\t\t\t// Store arguments for use when handling the inner native event\n\t\t\t\t\t// There will always be at least one argument (an event object), so this array\n\t\t\t\t\t// will not be confused with a leftover capture object.\n\t\t\t\t\tsaved = slice.call( arguments );\n\t\t\t\t\tdataPriv.set( this, type, saved );\n\n\t\t\t\t\t// Trigger the native event and capture its result\n\t\t\t\t\t// Support: IE <=9 - 11+\n\t\t\t\t\t// focus() and blur() are asynchronous\n\t\t\t\t\tnotAsync = expectSync( this, type );\n\t\t\t\t\tthis[ type ]();\n\t\t\t\t\tresult = dataPriv.get( this, type );\n\t\t\t\t\tif ( saved !== result || notAsync ) {\n\t\t\t\t\t\tdataPriv.set( this, type, false );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tresult = {};\n\t\t\t\t\t}\n\t\t\t\t\tif ( saved !== result ) {\n\n\t\t\t\t\t\t// Cancel the outer synthetic event\n\t\t\t\t\t\tevent.stopImmediatePropagation();\n\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\treturn result.value;\n\t\t\t\t\t}\n\n\t\t\t\t// If this is an inner synthetic event for an event with a bubbling surrogate\n\t\t\t\t// (focus or blur), assume that the surrogate already propagated from triggering the\n\t\t\t\t// native event and prevent that from happening again here.\n\t\t\t\t// This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the\n\t\t\t\t// bubbling surrogate propagates *after* the non-bubbling base), but that seems\n\t\t\t\t// less bad than duplication.\n\t\t\t\t} else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) {\n\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t}\n\n\t\t\t// If this is a native event triggered above, everything is now in order\n\t\t\t// Fire an inner synthetic event with the original arguments\n\t\t\t} else if ( saved.length ) {\n\n\t\t\t\t// ...and capture the result\n\t\t\t\tdataPriv.set( this, type, {\n\t\t\t\t\tvalue: jQuery.event.trigger(\n\n\t\t\t\t\t\t// Support: IE <=9 - 11+\n\t\t\t\t\t\t// Extend with the prototype to reset the above stopImmediatePropagation()\n\t\t\t\t\t\tjQuery.extend( saved[ 0 ], jQuery.Event.prototype ),\n\t\t\t\t\t\tsaved.slice( 1 ),\n\t\t\t\t\t\tthis\n\t\t\t\t\t)\n\t\t\t\t} );\n\n\t\t\t\t// Abort handling of the native event\n\t\t\t\tevent.stopImmediatePropagation();\n\t\t\t}\n\t\t}\n\t} );\n}\n\njQuery.removeEvent = function( elem, type, handle ) {\n\n\t// This \"if\" is needed for plain objects\n\tif ( elem.removeEventListener ) {\n\t\telem.removeEventListener( type, handle );\n\t}\n};\n\njQuery.Event = function( src, props ) {\n\n\t// Allow instantiation without the 'new' keyword\n\tif ( !( this instanceof jQuery.Event ) ) {\n\t\treturn new jQuery.Event( src, props );\n\t}\n\n\t// Event object\n\tif ( src && src.type ) {\n\t\tthis.originalEvent = src;\n\t\tthis.type = src.type;\n\n\t\t// Events bubbling up the document may have been marked as prevented\n\t\t// by a handler lower down the tree; reflect the correct value.\n\t\tthis.isDefaultPrevented = src.defaultPrevented ||\n\t\t\t\tsrc.defaultPrevented === undefined &&\n\n\t\t\t\t// Support: Android <=2.3 only\n\t\t\t\tsrc.returnValue === false ?\n\t\t\treturnTrue :\n\t\t\treturnFalse;\n\n\t\t// Create target properties\n\t\t// Support: Safari <=6 - 7 only\n\t\t// Target should not be a text node (#504, #13143)\n\t\tthis.target = ( src.target && src.target.nodeType === 3 ) ?\n\t\t\tsrc.target.parentNode :\n\t\t\tsrc.target;\n\n\t\tthis.currentTarget = src.currentTarget;\n\t\tthis.relatedTarget = src.relatedTarget;\n\n\t// Event type\n\t} else {\n\t\tthis.type = src;\n\t}\n\n\t// Put explicitly provided properties onto the event object\n\tif ( props ) {\n\t\tjQuery.extend( this, props );\n\t}\n\n\t// Create a timestamp if incoming event doesn't have one\n\tthis.timeStamp = src && src.timeStamp || Date.now();\n\n\t// Mark it as fixed\n\tthis[ jQuery.expando ] = true;\n};\n\n// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding\n// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html\njQuery.Event.prototype = {\n\tconstructor: jQuery.Event,\n\tisDefaultPrevented: returnFalse,\n\tisPropagationStopped: returnFalse,\n\tisImmediatePropagationStopped: returnFalse,\n\tisSimulated: false,\n\n\tpreventDefault: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isDefaultPrevented = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.preventDefault();\n\t\t}\n\t},\n\tstopPropagation: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isPropagationStopped = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.stopPropagation();\n\t\t}\n\t},\n\tstopImmediatePropagation: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isImmediatePropagationStopped = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.stopImmediatePropagation();\n\t\t}\n\n\t\tthis.stopPropagation();\n\t}\n};\n\n// Includes all common event props including KeyEvent and MouseEvent specific props\njQuery.each( {\n\taltKey: true,\n\tbubbles: true,\n\tcancelable: true,\n\tchangedTouches: true,\n\tctrlKey: true,\n\tdetail: true,\n\teventPhase: true,\n\tmetaKey: true,\n\tpageX: true,\n\tpageY: true,\n\tshiftKey: true,\n\tview: true,\n\t\"char\": true,\n\tcode: true,\n\tcharCode: true,\n\tkey: true,\n\tkeyCode: true,\n\tbutton: true,\n\tbuttons: true,\n\tclientX: true,\n\tclientY: true,\n\toffsetX: true,\n\toffsetY: true,\n\tpointerId: true,\n\tpointerType: true,\n\tscreenX: true,\n\tscreenY: true,\n\ttargetTouches: true,\n\ttoElement: true,\n\ttouches: true,\n\n\twhich: function( event ) {\n\t\tvar button = event.button;\n\n\t\t// Add which for key events\n\t\tif ( event.which == null && rkeyEvent.test( event.type ) ) {\n\t\t\treturn event.charCode != null ? event.charCode : event.keyCode;\n\t\t}\n\n\t\t// Add which for click: 1 === left; 2 === middle; 3 === right\n\t\tif ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) {\n\t\t\tif ( button & 1 ) {\n\t\t\t\treturn 1;\n\t\t\t}\n\n\t\t\tif ( button & 2 ) {\n\t\t\t\treturn 3;\n\t\t\t}\n\n\t\t\tif ( button & 4 ) {\n\t\t\t\treturn 2;\n\t\t\t}\n\n\t\t\treturn 0;\n\t\t}\n\n\t\treturn event.which;\n\t}\n}, jQuery.event.addProp );\n\njQuery.each( { focus: \"focusin\", blur: \"focusout\" }, function( type, delegateType ) {\n\tjQuery.event.special[ type ] = {\n\n\t\t// Utilize native event if possible so blur/focus sequence is correct\n\t\tsetup: function() {\n\n\t\t\t// Claim the first handler\n\t\t\t// dataPriv.set( this, \"focus\", ... )\n\t\t\t// dataPriv.set( this, \"blur\", ... )\n\t\t\tleverageNative( this, type, expectSync );\n\n\t\t\t// Return false to allow normal processing in the caller\n\t\t\treturn false;\n\t\t},\n\t\ttrigger: function() {\n\n\t\t\t// Force setup before trigger\n\t\t\tleverageNative( this, type );\n\n\t\t\t// Return non-false to allow normal event-path propagation\n\t\t\treturn true;\n\t\t},\n\n\t\tdelegateType: delegateType\n\t};\n} );\n\n// Create mouseenter/leave events using mouseover/out and event-time checks\n// so that event delegation works in jQuery.\n// Do the same for pointerenter/pointerleave and pointerover/pointerout\n//\n// Support: Safari 7 only\n// Safari sends mouseenter too often; see:\n// https://bugs.chromium.org/p/chromium/issues/detail?id=470258\n// for the description of the bug (it existed in older Chrome versions as well).\njQuery.each( {\n\tmouseenter: \"mouseover\",\n\tmouseleave: \"mouseout\",\n\tpointerenter: \"pointerover\",\n\tpointerleave: \"pointerout\"\n}, function( orig, fix ) {\n\tjQuery.event.special[ orig ] = {\n\t\tdelegateType: fix,\n\t\tbindType: fix,\n\n\t\thandle: function( event ) {\n\t\t\tvar ret,\n\t\t\t\ttarget = this,\n\t\t\t\trelated = event.relatedTarget,\n\t\t\t\thandleObj = event.handleObj;\n\n\t\t\t// For mouseenter/leave call the handler if related is outside the target.\n\t\t\t// NB: No relatedTarget if the mouse left/entered the browser window\n\t\t\tif ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) {\n\t\t\t\tevent.type = handleObj.origType;\n\t\t\t\tret = handleObj.handler.apply( this, arguments );\n\t\t\t\tevent.type = fix;\n\t\t\t}\n\t\t\treturn ret;\n\t\t}\n\t};\n} );\n\njQuery.fn.extend( {\n\n\ton: function( types, selector, data, fn ) {\n\t\treturn on( this, types, selector, data, fn );\n\t},\n\tone: function( types, selector, data, fn ) {\n\t\treturn on( this, types, selector, data, fn, 1 );\n\t},\n\toff: function( types, selector, fn ) {\n\t\tvar handleObj, type;\n\t\tif ( types && types.preventDefault && types.handleObj ) {\n\n\t\t\t// ( event )  dispatched jQuery.Event\n\t\t\thandleObj = types.handleObj;\n\t\t\tjQuery( types.delegateTarget ).off(\n\t\t\t\thandleObj.namespace ?\n\t\t\t\t\thandleObj.origType + \".\" + handleObj.namespace :\n\t\t\t\t\thandleObj.origType,\n\t\t\t\thandleObj.selector,\n\t\t\t\thandleObj.handler\n\t\t\t);\n\t\t\treturn this;\n\t\t}\n\t\tif ( typeof types === \"object\" ) {\n\n\t\t\t// ( types-object [, selector] )\n\t\t\tfor ( type in types ) {\n\t\t\t\tthis.off( type, selector, types[ type ] );\n\t\t\t}\n\t\t\treturn this;\n\t\t}\n\t\tif ( selector === false || typeof selector === \"function\" ) {\n\n\t\t\t// ( types [, fn] )\n\t\t\tfn = selector;\n\t\t\tselector = undefined;\n\t\t}\n\t\tif ( fn === false ) {\n\t\t\tfn = returnFalse;\n\t\t}\n\t\treturn this.each( function() {\n\t\t\tjQuery.event.remove( this, types, fn, selector );\n\t\t} );\n\t}\n} );\n\n\nvar\n\n\t/* eslint-disable max-len */\n\n\t// See https://github.com/eslint/eslint/issues/3229\n\trxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\\/\\0>\\x20\\t\\r\\n\\f]*)[^>]*)\\/>/gi,\n\n\t/* eslint-enable */\n\n\t// Support: IE <=10 - 11, Edge 12 - 13 only\n\t// In IE/Edge using regex groups here causes severe slowdowns.\n\t// See https://connect.microsoft.com/IE/feedback/details/1736512/\n\trnoInnerhtml = /<script|<style|<link/i,\n\n\t// checked=\"checked\" or checked\n\trchecked = /checked\\s*(?:[^=]|=\\s*.checked.)/i,\n\trcleanScript = /^\\s*<!(?:\\[CDATA\\[|--)|(?:\\]\\]|--)>\\s*$/g;\n\n// Prefer a tbody over its parent table for containing new rows\nfunction manipulationTarget( elem, content ) {\n\tif ( nodeName( elem, \"table\" ) &&\n\t\tnodeName( content.nodeType !== 11 ? content : content.firstChild, \"tr\" ) ) {\n\n\t\treturn jQuery( elem ).children( \"tbody\" )[ 0 ] || elem;\n\t}\n\n\treturn elem;\n}\n\n// Replace/restore the type attribute of script elements for safe DOM manipulation\nfunction disableScript( elem ) {\n\telem.type = ( elem.getAttribute( \"type\" ) !== null ) + \"/\" + elem.type;\n\treturn elem;\n}\nfunction restoreScript( elem ) {\n\tif ( ( elem.type || \"\" ).slice( 0, 5 ) === \"true/\" ) {\n\t\telem.type = elem.type.slice( 5 );\n\t} else {\n\t\telem.removeAttribute( \"type\" );\n\t}\n\n\treturn elem;\n}\n\nfunction cloneCopyEvent( src, dest ) {\n\tvar i, l, type, pdataOld, pdataCur, udataOld, udataCur, events;\n\n\tif ( dest.nodeType !== 1 ) {\n\t\treturn;\n\t}\n\n\t// 1. Copy private data: events, handlers, etc.\n\tif ( dataPriv.hasData( src ) ) {\n\t\tpdataOld = dataPriv.access( src );\n\t\tpdataCur = dataPriv.set( dest, pdataOld );\n\t\tevents = pdataOld.events;\n\n\t\tif ( events ) {\n\t\t\tdelete pdataCur.handle;\n\t\t\tpdataCur.events = {};\n\n\t\t\tfor ( type in events ) {\n\t\t\t\tfor ( i = 0, l = events[ type ].length; i < l; i++ ) {\n\t\t\t\t\tjQuery.event.add( dest, type, events[ type ][ i ] );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// 2. Copy user data\n\tif ( dataUser.hasData( src ) ) {\n\t\tudataOld = dataUser.access( src );\n\t\tudataCur = jQuery.extend( {}, udataOld );\n\n\t\tdataUser.set( dest, udataCur );\n\t}\n}\n\n// Fix IE bugs, see support tests\nfunction fixInput( src, dest ) {\n\tvar nodeName = dest.nodeName.toLowerCase();\n\n\t// Fails to persist the checked state of a cloned checkbox or radio button.\n\tif ( nodeName === \"input\" && rcheckableType.test( src.type ) ) {\n\t\tdest.checked = src.checked;\n\n\t// Fails to return the selected option to the default selected state when cloning options\n\t} else if ( nodeName === \"input\" || nodeName === \"textarea\" ) {\n\t\tdest.defaultValue = src.defaultValue;\n\t}\n}\n\nfunction domManip( collection, args, callback, ignored ) {\n\n\t// Flatten any nested arrays\n\targs = concat.apply( [], args );\n\n\tvar fragment, first, scripts, hasScripts, node, doc,\n\t\ti = 0,\n\t\tl = collection.length,\n\t\tiNoClone = l - 1,\n\t\tvalue = args[ 0 ],\n\t\tvalueIsFunction = isFunction( value );\n\n\t// We can't cloneNode fragments that contain checked, in WebKit\n\tif ( valueIsFunction ||\n\t\t\t( l > 1 && typeof value === \"string\" &&\n\t\t\t\t!support.checkClone && rchecked.test( value ) ) ) {\n\t\treturn collection.each( function( index ) {\n\t\t\tvar self = collection.eq( index );\n\t\t\tif ( valueIsFunction ) {\n\t\t\t\targs[ 0 ] = value.call( this, index, self.html() );\n\t\t\t}\n\t\t\tdomManip( self, args, callback, ignored );\n\t\t} );\n\t}\n\n\tif ( l ) {\n\t\tfragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored );\n\t\tfirst = fragment.firstChild;\n\n\t\tif ( fragment.childNodes.length === 1 ) {\n\t\t\tfragment = first;\n\t\t}\n\n\t\t// Require either new content or an interest in ignored elements to invoke the callback\n\t\tif ( first || ignored ) {\n\t\t\tscripts = jQuery.map( getAll( fragment, \"script\" ), disableScript );\n\t\t\thasScripts = scripts.length;\n\n\t\t\t// Use the original fragment for the last item\n\t\t\t// instead of the first because it can end up\n\t\t\t// being emptied incorrectly in certain situations (#8070).\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tnode = fragment;\n\n\t\t\t\tif ( i !== iNoClone ) {\n\t\t\t\t\tnode = jQuery.clone( node, true, true );\n\n\t\t\t\t\t// Keep references to cloned scripts for later restoration\n\t\t\t\t\tif ( hasScripts ) {\n\n\t\t\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\t\t\tjQuery.merge( scripts, getAll( node, \"script\" ) );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tcallback.call( collection[ i ], node, i );\n\t\t\t}\n\n\t\t\tif ( hasScripts ) {\n\t\t\t\tdoc = scripts[ scripts.length - 1 ].ownerDocument;\n\n\t\t\t\t// Reenable scripts\n\t\t\t\tjQuery.map( scripts, restoreScript );\n\n\t\t\t\t// Evaluate executable scripts on first document insertion\n\t\t\t\tfor ( i = 0; i < hasScripts; i++ ) {\n\t\t\t\t\tnode = scripts[ i ];\n\t\t\t\t\tif ( rscriptType.test( node.type || \"\" ) &&\n\t\t\t\t\t\t!dataPriv.access( node, \"globalEval\" ) &&\n\t\t\t\t\t\tjQuery.contains( doc, node ) ) {\n\n\t\t\t\t\t\tif ( node.src && ( node.type || \"\" ).toLowerCase()  !== \"module\" ) {\n\n\t\t\t\t\t\t\t// Optional AJAX dependency, but won't run scripts if not present\n\t\t\t\t\t\t\tif ( jQuery._evalUrl && !node.noModule ) {\n\t\t\t\t\t\t\t\tjQuery._evalUrl( node.src, {\n\t\t\t\t\t\t\t\t\tnonce: node.nonce || node.getAttribute( \"nonce\" )\n\t\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tDOMEval( node.textContent.replace( rcleanScript, \"\" ), node, doc );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn collection;\n}\n\nfunction remove( elem, selector, keepData ) {\n\tvar node,\n\t\tnodes = selector ? jQuery.filter( selector, elem ) : elem,\n\t\ti = 0;\n\n\tfor ( ; ( node = nodes[ i ] ) != null; i++ ) {\n\t\tif ( !keepData && node.nodeType === 1 ) {\n\t\t\tjQuery.cleanData( getAll( node ) );\n\t\t}\n\n\t\tif ( node.parentNode ) {\n\t\t\tif ( keepData && isAttached( node ) ) {\n\t\t\t\tsetGlobalEval( getAll( node, \"script\" ) );\n\t\t\t}\n\t\t\tnode.parentNode.removeChild( node );\n\t\t}\n\t}\n\n\treturn elem;\n}\n\njQuery.extend( {\n\thtmlPrefilter: function( html ) {\n\t\treturn html.replace( rxhtmlTag, \"<$1></$2>\" );\n\t},\n\n\tclone: function( elem, dataAndEvents, deepDataAndEvents ) {\n\t\tvar i, l, srcElements, destElements,\n\t\t\tclone = elem.cloneNode( true ),\n\t\t\tinPage = isAttached( elem );\n\n\t\t// Fix IE cloning issues\n\t\tif ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) &&\n\t\t\t\t!jQuery.isXMLDoc( elem ) ) {\n\n\t\t\t// We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2\n\t\t\tdestElements = getAll( clone );\n\t\t\tsrcElements = getAll( elem );\n\n\t\t\tfor ( i = 0, l = srcElements.length; i < l; i++ ) {\n\t\t\t\tfixInput( srcElements[ i ], destElements[ i ] );\n\t\t\t}\n\t\t}\n\n\t\t// Copy the events from the original to the clone\n\t\tif ( dataAndEvents ) {\n\t\t\tif ( deepDataAndEvents ) {\n\t\t\t\tsrcElements = srcElements || getAll( elem );\n\t\t\t\tdestElements = destElements || getAll( clone );\n\n\t\t\t\tfor ( i = 0, l = srcElements.length; i < l; i++ ) {\n\t\t\t\t\tcloneCopyEvent( srcElements[ i ], destElements[ i ] );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tcloneCopyEvent( elem, clone );\n\t\t\t}\n\t\t}\n\n\t\t// Preserve script evaluation history\n\t\tdestElements = getAll( clone, \"script\" );\n\t\tif ( destElements.length > 0 ) {\n\t\t\tsetGlobalEval( destElements, !inPage && getAll( elem, \"script\" ) );\n\t\t}\n\n\t\t// Return the cloned set\n\t\treturn clone;\n\t},\n\n\tcleanData: function( elems ) {\n\t\tvar data, elem, type,\n\t\t\tspecial = jQuery.event.special,\n\t\t\ti = 0;\n\n\t\tfor ( ; ( elem = elems[ i ] ) !== undefined; i++ ) {\n\t\t\tif ( acceptData( elem ) ) {\n\t\t\t\tif ( ( data = elem[ dataPriv.expando ] ) ) {\n\t\t\t\t\tif ( data.events ) {\n\t\t\t\t\t\tfor ( type in data.events ) {\n\t\t\t\t\t\t\tif ( special[ type ] ) {\n\t\t\t\t\t\t\t\tjQuery.event.remove( elem, type );\n\n\t\t\t\t\t\t\t// This is a shortcut to avoid jQuery.event.remove's overhead\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tjQuery.removeEvent( elem, type, data.handle );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Support: Chrome <=35 - 45+\n\t\t\t\t\t// Assign undefined instead of using delete, see Data#remove\n\t\t\t\t\telem[ dataPriv.expando ] = undefined;\n\t\t\t\t}\n\t\t\t\tif ( elem[ dataUser.expando ] ) {\n\n\t\t\t\t\t// Support: Chrome <=35 - 45+\n\t\t\t\t\t// Assign undefined instead of using delete, see Data#remove\n\t\t\t\t\telem[ dataUser.expando ] = undefined;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n} );\n\njQuery.fn.extend( {\n\tdetach: function( selector ) {\n\t\treturn remove( this, selector, true );\n\t},\n\n\tremove: function( selector ) {\n\t\treturn remove( this, selector );\n\t},\n\n\ttext: function( value ) {\n\t\treturn access( this, function( value ) {\n\t\t\treturn value === undefined ?\n\t\t\t\tjQuery.text( this ) :\n\t\t\t\tthis.empty().each( function() {\n\t\t\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\t\t\tthis.textContent = value;\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t}, null, value, arguments.length );\n\t},\n\n\tappend: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\tvar target = manipulationTarget( this, elem );\n\t\t\t\ttarget.appendChild( elem );\n\t\t\t}\n\t\t} );\n\t},\n\n\tprepend: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\tvar target = manipulationTarget( this, elem );\n\t\t\t\ttarget.insertBefore( elem, target.firstChild );\n\t\t\t}\n\t\t} );\n\t},\n\n\tbefore: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.parentNode ) {\n\t\t\t\tthis.parentNode.insertBefore( elem, this );\n\t\t\t}\n\t\t} );\n\t},\n\n\tafter: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.parentNode ) {\n\t\t\t\tthis.parentNode.insertBefore( elem, this.nextSibling );\n\t\t\t}\n\t\t} );\n\t},\n\n\tempty: function() {\n\t\tvar elem,\n\t\t\ti = 0;\n\n\t\tfor ( ; ( elem = this[ i ] ) != null; i++ ) {\n\t\t\tif ( elem.nodeType === 1 ) {\n\n\t\t\t\t// Prevent memory leaks\n\t\t\t\tjQuery.cleanData( getAll( elem, false ) );\n\n\t\t\t\t// Remove any remaining nodes\n\t\t\t\telem.textContent = \"\";\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tclone: function( dataAndEvents, deepDataAndEvents ) {\n\t\tdataAndEvents = dataAndEvents == null ? false : dataAndEvents;\n\t\tdeepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;\n\n\t\treturn this.map( function() {\n\t\t\treturn jQuery.clone( this, dataAndEvents, deepDataAndEvents );\n\t\t} );\n\t},\n\n\thtml: function( value ) {\n\t\treturn access( this, function( value ) {\n\t\t\tvar elem = this[ 0 ] || {},\n\t\t\t\ti = 0,\n\t\t\t\tl = this.length;\n\n\t\t\tif ( value === undefined && elem.nodeType === 1 ) {\n\t\t\t\treturn elem.innerHTML;\n\t\t\t}\n\n\t\t\t// See if we can take a shortcut and just use innerHTML\n\t\t\tif ( typeof value === \"string\" && !rnoInnerhtml.test( value ) &&\n\t\t\t\t!wrapMap[ ( rtagName.exec( value ) || [ \"\", \"\" ] )[ 1 ].toLowerCase() ] ) {\n\n\t\t\t\tvalue = jQuery.htmlPrefilter( value );\n\n\t\t\t\ttry {\n\t\t\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\t\t\telem = this[ i ] || {};\n\n\t\t\t\t\t\t// Remove element nodes and prevent memory leaks\n\t\t\t\t\t\tif ( elem.nodeType === 1 ) {\n\t\t\t\t\t\t\tjQuery.cleanData( getAll( elem, false ) );\n\t\t\t\t\t\t\telem.innerHTML = value;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\telem = 0;\n\n\t\t\t\t// If using innerHTML throws an exception, use the fallback method\n\t\t\t\t} catch ( e ) {}\n\t\t\t}\n\n\t\t\tif ( elem ) {\n\t\t\t\tthis.empty().append( value );\n\t\t\t}\n\t\t}, null, value, arguments.length );\n\t},\n\n\treplaceWith: function() {\n\t\tvar ignored = [];\n\n\t\t// Make the changes, replacing each non-ignored context element with the new content\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tvar parent = this.parentNode;\n\n\t\t\tif ( jQuery.inArray( this, ignored ) < 0 ) {\n\t\t\t\tjQuery.cleanData( getAll( this ) );\n\t\t\t\tif ( parent ) {\n\t\t\t\t\tparent.replaceChild( elem, this );\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Force callback invocation\n\t\t}, ignored );\n\t}\n} );\n\njQuery.each( {\n\tappendTo: \"append\",\n\tprependTo: \"prepend\",\n\tinsertBefore: \"before\",\n\tinsertAfter: \"after\",\n\treplaceAll: \"replaceWith\"\n}, function( name, original ) {\n\tjQuery.fn[ name ] = function( selector ) {\n\t\tvar elems,\n\t\t\tret = [],\n\t\t\tinsert = jQuery( selector ),\n\t\t\tlast = insert.length - 1,\n\t\t\ti = 0;\n\n\t\tfor ( ; i <= last; i++ ) {\n\t\t\telems = i === last ? this : this.clone( true );\n\t\t\tjQuery( insert[ i ] )[ original ]( elems );\n\n\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t// .get() because push.apply(_, arraylike) throws on ancient WebKit\n\t\t\tpush.apply( ret, elems.get() );\n\t\t}\n\n\t\treturn this.pushStack( ret );\n\t};\n} );\nvar rnumnonpx = new RegExp( \"^(\" + pnum + \")(?!px)[a-z%]+$\", \"i\" );\n\nvar getStyles = function( elem ) {\n\n\t\t// Support: IE <=11 only, Firefox <=30 (#15098, #14150)\n\t\t// IE throws on elements created in popups\n\t\t// FF meanwhile throws on frame elements through \"defaultView.getComputedStyle\"\n\t\tvar view = elem.ownerDocument.defaultView;\n\n\t\tif ( !view || !view.opener ) {\n\t\t\tview = window;\n\t\t}\n\n\t\treturn view.getComputedStyle( elem );\n\t};\n\nvar rboxStyle = new RegExp( cssExpand.join( \"|\" ), \"i\" );\n\n\n\n( function() {\n\n\t// Executing both pixelPosition & boxSizingReliable tests require only one layout\n\t// so they're executed at the same time to save the second computation.\n\tfunction computeStyleTests() {\n\n\t\t// This is a singleton, we need to execute it only once\n\t\tif ( !div ) {\n\t\t\treturn;\n\t\t}\n\n\t\tcontainer.style.cssText = \"position:absolute;left:-11111px;width:60px;\" +\n\t\t\t\"margin-top:1px;padding:0;border:0\";\n\t\tdiv.style.cssText =\n\t\t\t\"position:relative;display:block;box-sizing:border-box;overflow:scroll;\" +\n\t\t\t\"margin:auto;border:1px;padding:1px;\" +\n\t\t\t\"width:60%;top:1%\";\n\t\tdocumentElement.appendChild( container ).appendChild( div );\n\n\t\tvar divStyle = window.getComputedStyle( div );\n\t\tpixelPositionVal = divStyle.top !== \"1%\";\n\n\t\t// Support: Android 4.0 - 4.3 only, Firefox <=3 - 44\n\t\treliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12;\n\n\t\t// Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3\n\t\t// Some styles come back with percentage values, even though they shouldn't\n\t\tdiv.style.right = \"60%\";\n\t\tpixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36;\n\n\t\t// Support: IE 9 - 11 only\n\t\t// Detect misreporting of content dimensions for box-sizing:border-box elements\n\t\tboxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36;\n\n\t\t// Support: IE 9 only\n\t\t// Detect overflow:scroll screwiness (gh-3699)\n\t\t// Support: Chrome <=64\n\t\t// Don't get tricked when zoom affects offsetWidth (gh-4029)\n\t\tdiv.style.position = \"absolute\";\n\t\tscrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12;\n\n\t\tdocumentElement.removeChild( container );\n\n\t\t// Nullify the div so it wouldn't be stored in the memory and\n\t\t// it will also be a sign that checks already performed\n\t\tdiv = null;\n\t}\n\n\tfunction roundPixelMeasures( measure ) {\n\t\treturn Math.round( parseFloat( measure ) );\n\t}\n\n\tvar pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal,\n\t\treliableMarginLeftVal,\n\t\tcontainer = document.createElement( \"div\" ),\n\t\tdiv = document.createElement( \"div\" );\n\n\t// Finish early in limited (non-browser) environments\n\tif ( !div.style ) {\n\t\treturn;\n\t}\n\n\t// Support: IE <=9 - 11 only\n\t// Style of cloned element affects source element cloned (#8908)\n\tdiv.style.backgroundClip = \"content-box\";\n\tdiv.cloneNode( true ).style.backgroundClip = \"\";\n\tsupport.clearCloneStyle = div.style.backgroundClip === \"content-box\";\n\n\tjQuery.extend( support, {\n\t\tboxSizingReliable: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn boxSizingReliableVal;\n\t\t},\n\t\tpixelBoxStyles: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn pixelBoxStylesVal;\n\t\t},\n\t\tpixelPosition: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn pixelPositionVal;\n\t\t},\n\t\treliableMarginLeft: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn reliableMarginLeftVal;\n\t\t},\n\t\tscrollboxSize: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn scrollboxSizeVal;\n\t\t}\n\t} );\n} )();\n\n\nfunction curCSS( elem, name, computed ) {\n\tvar width, minWidth, maxWidth, ret,\n\n\t\t// Support: Firefox 51+\n\t\t// Retrieving style before computed somehow\n\t\t// fixes an issue with getting wrong values\n\t\t// on detached elements\n\t\tstyle = elem.style;\n\n\tcomputed = computed || getStyles( elem );\n\n\t// getPropertyValue is needed for:\n\t//   .css('filter') (IE 9 only, #12537)\n\t//   .css('--customProperty) (#3144)\n\tif ( computed ) {\n\t\tret = computed.getPropertyValue( name ) || computed[ name ];\n\n\t\tif ( ret === \"\" && !isAttached( elem ) ) {\n\t\t\tret = jQuery.style( elem, name );\n\t\t}\n\n\t\t// A tribute to the \"awesome hack by Dean Edwards\"\n\t\t// Android Browser returns percentage for some values,\n\t\t// but width seems to be reliably pixels.\n\t\t// This is against the CSSOM draft spec:\n\t\t// https://drafts.csswg.org/cssom/#resolved-values\n\t\tif ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) {\n\n\t\t\t// Remember the original values\n\t\t\twidth = style.width;\n\t\t\tminWidth = style.minWidth;\n\t\t\tmaxWidth = style.maxWidth;\n\n\t\t\t// Put in the new values to get a computed value out\n\t\t\tstyle.minWidth = style.maxWidth = style.width = ret;\n\t\t\tret = computed.width;\n\n\t\t\t// Revert the changed values\n\t\t\tstyle.width = width;\n\t\t\tstyle.minWidth = minWidth;\n\t\t\tstyle.maxWidth = maxWidth;\n\t\t}\n\t}\n\n\treturn ret !== undefined ?\n\n\t\t// Support: IE <=9 - 11 only\n\t\t// IE returns zIndex value as an integer.\n\t\tret + \"\" :\n\t\tret;\n}\n\n\nfunction addGetHookIf( conditionFn, hookFn ) {\n\n\t// Define the hook, we'll check on the first run if it's really needed.\n\treturn {\n\t\tget: function() {\n\t\t\tif ( conditionFn() ) {\n\n\t\t\t\t// Hook not needed (or it's not possible to use it due\n\t\t\t\t// to missing dependency), remove it.\n\t\t\t\tdelete this.get;\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Hook needed; redefine it so that the support test is not executed again.\n\t\t\treturn ( this.get = hookFn ).apply( this, arguments );\n\t\t}\n\t};\n}\n\n\nvar cssPrefixes = [ \"Webkit\", \"Moz\", \"ms\" ],\n\temptyStyle = document.createElement( \"div\" ).style,\n\tvendorProps = {};\n\n// Return a vendor-prefixed property or undefined\nfunction vendorPropName( name ) {\n\n\t// Check for vendor prefixed names\n\tvar capName = name[ 0 ].toUpperCase() + name.slice( 1 ),\n\t\ti = cssPrefixes.length;\n\n\twhile ( i-- ) {\n\t\tname = cssPrefixes[ i ] + capName;\n\t\tif ( name in emptyStyle ) {\n\t\t\treturn name;\n\t\t}\n\t}\n}\n\n// Return a potentially-mapped jQuery.cssProps or vendor prefixed property\nfunction finalPropName( name ) {\n\tvar final = jQuery.cssProps[ name ] || vendorProps[ name ];\n\n\tif ( final ) {\n\t\treturn final;\n\t}\n\tif ( name in emptyStyle ) {\n\t\treturn name;\n\t}\n\treturn vendorProps[ name ] = vendorPropName( name ) || name;\n}\n\n\nvar\n\n\t// Swappable if display is none or starts with table\n\t// except \"table\", \"table-cell\", or \"table-caption\"\n\t// See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display\n\trdisplayswap = /^(none|table(?!-c[ea]).+)/,\n\trcustomProp = /^--/,\n\tcssShow = { position: \"absolute\", visibility: \"hidden\", display: \"block\" },\n\tcssNormalTransform = {\n\t\tletterSpacing: \"0\",\n\t\tfontWeight: \"400\"\n\t};\n\nfunction setPositiveNumber( elem, value, subtract ) {\n\n\t// Any relative (+/-) values have already been\n\t// normalized at this point\n\tvar matches = rcssNum.exec( value );\n\treturn matches ?\n\n\t\t// Guard against undefined \"subtract\", e.g., when used as in cssHooks\n\t\tMath.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || \"px\" ) :\n\t\tvalue;\n}\n\nfunction boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) {\n\tvar i = dimension === \"width\" ? 1 : 0,\n\t\textra = 0,\n\t\tdelta = 0;\n\n\t// Adjustment may not be necessary\n\tif ( box === ( isBorderBox ? \"border\" : \"content\" ) ) {\n\t\treturn 0;\n\t}\n\n\tfor ( ; i < 4; i += 2 ) {\n\n\t\t// Both box models exclude margin\n\t\tif ( box === \"margin\" ) {\n\t\t\tdelta += jQuery.css( elem, box + cssExpand[ i ], true, styles );\n\t\t}\n\n\t\t// If we get here with a content-box, we're seeking \"padding\" or \"border\" or \"margin\"\n\t\tif ( !isBorderBox ) {\n\n\t\t\t// Add padding\n\t\t\tdelta += jQuery.css( elem, \"padding\" + cssExpand[ i ], true, styles );\n\n\t\t\t// For \"border\" or \"margin\", add border\n\t\t\tif ( box !== \"padding\" ) {\n\t\t\t\tdelta += jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\n\t\t\t// But still keep track of it otherwise\n\t\t\t} else {\n\t\t\t\textra += jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\t\t\t}\n\n\t\t// If we get here with a border-box (content + padding + border), we're seeking \"content\" or\n\t\t// \"padding\" or \"margin\"\n\t\t} else {\n\n\t\t\t// For \"content\", subtract padding\n\t\t\tif ( box === \"content\" ) {\n\t\t\t\tdelta -= jQuery.css( elem, \"padding\" + cssExpand[ i ], true, styles );\n\t\t\t}\n\n\t\t\t// For \"content\" or \"padding\", subtract border\n\t\t\tif ( box !== \"margin\" ) {\n\t\t\t\tdelta -= jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\t\t\t}\n\t\t}\n\t}\n\n\t// Account for positive content-box scroll gutter when requested by providing computedVal\n\tif ( !isBorderBox && computedVal >= 0 ) {\n\n\t\t// offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border\n\t\t// Assuming integer scroll gutter, subtract the rest and round down\n\t\tdelta += Math.max( 0, Math.ceil(\n\t\t\telem[ \"offset\" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] -\n\t\t\tcomputedVal -\n\t\t\tdelta -\n\t\t\textra -\n\t\t\t0.5\n\n\t\t// If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter\n\t\t// Use an explicit zero to avoid NaN (gh-3964)\n\t\t) ) || 0;\n\t}\n\n\treturn delta;\n}\n\nfunction getWidthOrHeight( elem, dimension, extra ) {\n\n\t// Start with computed style\n\tvar styles = getStyles( elem ),\n\n\t\t// To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322).\n\t\t// Fake content-box until we know it's needed to know the true value.\n\t\tboxSizingNeeded = !support.boxSizingReliable() || extra,\n\t\tisBorderBox = boxSizingNeeded &&\n\t\t\tjQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\",\n\t\tvalueIsBorderBox = isBorderBox,\n\n\t\tval = curCSS( elem, dimension, styles ),\n\t\toffsetProp = \"offset\" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 );\n\n\t// Support: Firefox <=54\n\t// Return a confounding non-pixel value or feign ignorance, as appropriate.\n\tif ( rnumnonpx.test( val ) ) {\n\t\tif ( !extra ) {\n\t\t\treturn val;\n\t\t}\n\t\tval = \"auto\";\n\t}\n\n\n\t// Fall back to offsetWidth/offsetHeight when value is \"auto\"\n\t// This happens for inline elements with no explicit setting (gh-3571)\n\t// Support: Android <=4.1 - 4.3 only\n\t// Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602)\n\t// Support: IE 9-11 only\n\t// Also use offsetWidth/offsetHeight for when box sizing is unreliable\n\t// We use getClientRects() to check for hidden/disconnected.\n\t// In those cases, the computed value can be trusted to be border-box\n\tif ( ( !support.boxSizingReliable() && isBorderBox ||\n\t\tval === \"auto\" ||\n\t\t!parseFloat( val ) && jQuery.css( elem, \"display\", false, styles ) === \"inline\" ) &&\n\t\telem.getClientRects().length ) {\n\n\t\tisBorderBox = jQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\";\n\n\t\t// Where available, offsetWidth/offsetHeight approximate border box dimensions.\n\t\t// Where not available (e.g., SVG), assume unreliable box-sizing and interpret the\n\t\t// retrieved value as a content box dimension.\n\t\tvalueIsBorderBox = offsetProp in elem;\n\t\tif ( valueIsBorderBox ) {\n\t\t\tval = elem[ offsetProp ];\n\t\t}\n\t}\n\n\t// Normalize \"\" and auto\n\tval = parseFloat( val ) || 0;\n\n\t// Adjust for the element's box model\n\treturn ( val +\n\t\tboxModelAdjustment(\n\t\t\telem,\n\t\t\tdimension,\n\t\t\textra || ( isBorderBox ? \"border\" : \"content\" ),\n\t\t\tvalueIsBorderBox,\n\t\t\tstyles,\n\n\t\t\t// Provide the current computed size to request scroll gutter calculation (gh-3589)\n\t\t\tval\n\t\t)\n\t) + \"px\";\n}\n\njQuery.extend( {\n\n\t// Add in style property hooks for overriding the default\n\t// behavior of getting and setting a style property\n\tcssHooks: {\n\t\topacity: {\n\t\t\tget: function( elem, computed ) {\n\t\t\t\tif ( computed ) {\n\n\t\t\t\t\t// We should always get a number back from opacity\n\t\t\t\t\tvar ret = curCSS( elem, \"opacity\" );\n\t\t\t\t\treturn ret === \"\" ? \"1\" : ret;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\t// Don't automatically add \"px\" to these possibly-unitless properties\n\tcssNumber: {\n\t\t\"animationIterationCount\": true,\n\t\t\"columnCount\": true,\n\t\t\"fillOpacity\": true,\n\t\t\"flexGrow\": true,\n\t\t\"flexShrink\": true,\n\t\t\"fontWeight\": true,\n\t\t\"gridArea\": true,\n\t\t\"gridColumn\": true,\n\t\t\"gridColumnEnd\": true,\n\t\t\"gridColumnStart\": true,\n\t\t\"gridRow\": true,\n\t\t\"gridRowEnd\": true,\n\t\t\"gridRowStart\": true,\n\t\t\"lineHeight\": true,\n\t\t\"opacity\": true,\n\t\t\"order\": true,\n\t\t\"orphans\": true,\n\t\t\"widows\": true,\n\t\t\"zIndex\": true,\n\t\t\"zoom\": true\n\t},\n\n\t// Add in properties whose names you wish to fix before\n\t// setting or getting the value\n\tcssProps: {},\n\n\t// Get and set the style property on a DOM Node\n\tstyle: function( elem, name, value, extra ) {\n\n\t\t// Don't set styles on text and comment nodes\n\t\tif ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Make sure that we're working with the right name\n\t\tvar ret, type, hooks,\n\t\t\torigName = camelCase( name ),\n\t\t\tisCustomProp = rcustomProp.test( name ),\n\t\t\tstyle = elem.style;\n\n\t\t// Make sure that we're working with the right name. We don't\n\t\t// want to query the value if it is a CSS custom property\n\t\t// since they are user-defined.\n\t\tif ( !isCustomProp ) {\n\t\t\tname = finalPropName( origName );\n\t\t}\n\n\t\t// Gets hook for the prefixed version, then unprefixed version\n\t\thooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];\n\n\t\t// Check if we're setting a value\n\t\tif ( value !== undefined ) {\n\t\t\ttype = typeof value;\n\n\t\t\t// Convert \"+=\" or \"-=\" to relative numbers (#7345)\n\t\t\tif ( type === \"string\" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) {\n\t\t\t\tvalue = adjustCSS( elem, name, ret );\n\n\t\t\t\t// Fixes bug #9237\n\t\t\t\ttype = \"number\";\n\t\t\t}\n\n\t\t\t// Make sure that null and NaN values aren't set (#7116)\n\t\t\tif ( value == null || value !== value ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// If a number was passed in, add the unit (except for certain CSS properties)\n\t\t\t// The isCustomProp check can be removed in jQuery 4.0 when we only auto-append\n\t\t\t// \"px\" to a few hardcoded values.\n\t\t\tif ( type === \"number\" && !isCustomProp ) {\n\t\t\t\tvalue += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? \"\" : \"px\" );\n\t\t\t}\n\n\t\t\t// background-* props affect original clone's values\n\t\t\tif ( !support.clearCloneStyle && value === \"\" && name.indexOf( \"background\" ) === 0 ) {\n\t\t\t\tstyle[ name ] = \"inherit\";\n\t\t\t}\n\n\t\t\t// If a hook was provided, use that value, otherwise just set the specified value\n\t\t\tif ( !hooks || !( \"set\" in hooks ) ||\n\t\t\t\t( value = hooks.set( elem, value, extra ) ) !== undefined ) {\n\n\t\t\t\tif ( isCustomProp ) {\n\t\t\t\t\tstyle.setProperty( name, value );\n\t\t\t\t} else {\n\t\t\t\t\tstyle[ name ] = value;\n\t\t\t\t}\n\t\t\t}\n\n\t\t} else {\n\n\t\t\t// If a hook was provided get the non-computed value from there\n\t\t\tif ( hooks && \"get\" in hooks &&\n\t\t\t\t( ret = hooks.get( elem, false, extra ) ) !== undefined ) {\n\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\t// Otherwise just get the value from the style object\n\t\t\treturn style[ name ];\n\t\t}\n\t},\n\n\tcss: function( elem, name, extra, styles ) {\n\t\tvar val, num, hooks,\n\t\t\torigName = camelCase( name ),\n\t\t\tisCustomProp = rcustomProp.test( name );\n\n\t\t// Make sure that we're working with the right name. We don't\n\t\t// want to modify the value if it is a CSS custom property\n\t\t// since they are user-defined.\n\t\tif ( !isCustomProp ) {\n\t\t\tname = finalPropName( origName );\n\t\t}\n\n\t\t// Try prefixed name followed by the unprefixed name\n\t\thooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];\n\n\t\t// If a hook was provided get the computed value from there\n\t\tif ( hooks && \"get\" in hooks ) {\n\t\t\tval = hooks.get( elem, true, extra );\n\t\t}\n\n\t\t// Otherwise, if a way to get the computed value exists, use that\n\t\tif ( val === undefined ) {\n\t\t\tval = curCSS( elem, name, styles );\n\t\t}\n\n\t\t// Convert \"normal\" to computed value\n\t\tif ( val === \"normal\" && name in cssNormalTransform ) {\n\t\t\tval = cssNormalTransform[ name ];\n\t\t}\n\n\t\t// Make numeric if forced or a qualifier was provided and val looks numeric\n\t\tif ( extra === \"\" || extra ) {\n\t\t\tnum = parseFloat( val );\n\t\t\treturn extra === true || isFinite( num ) ? num || 0 : val;\n\t\t}\n\n\t\treturn val;\n\t}\n} );\n\njQuery.each( [ \"height\", \"width\" ], function( i, dimension ) {\n\tjQuery.cssHooks[ dimension ] = {\n\t\tget: function( elem, computed, extra ) {\n\t\t\tif ( computed ) {\n\n\t\t\t\t// Certain elements can have dimension info if we invisibly show them\n\t\t\t\t// but it must have a current display style that would benefit\n\t\t\t\treturn rdisplayswap.test( jQuery.css( elem, \"display\" ) ) &&\n\n\t\t\t\t\t// Support: Safari 8+\n\t\t\t\t\t// Table columns in Safari have non-zero offsetWidth & zero\n\t\t\t\t\t// getBoundingClientRect().width unless display is changed.\n\t\t\t\t\t// Support: IE <=11 only\n\t\t\t\t\t// Running getBoundingClientRect on a disconnected node\n\t\t\t\t\t// in IE throws an error.\n\t\t\t\t\t( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ?\n\t\t\t\t\t\tswap( elem, cssShow, function() {\n\t\t\t\t\t\t\treturn getWidthOrHeight( elem, dimension, extra );\n\t\t\t\t\t\t} ) :\n\t\t\t\t\t\tgetWidthOrHeight( elem, dimension, extra );\n\t\t\t}\n\t\t},\n\n\t\tset: function( elem, value, extra ) {\n\t\t\tvar matches,\n\t\t\t\tstyles = getStyles( elem ),\n\n\t\t\t\t// Only read styles.position if the test has a chance to fail\n\t\t\t\t// to avoid forcing a reflow.\n\t\t\t\tscrollboxSizeBuggy = !support.scrollboxSize() &&\n\t\t\t\t\tstyles.position === \"absolute\",\n\n\t\t\t\t// To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991)\n\t\t\t\tboxSizingNeeded = scrollboxSizeBuggy || extra,\n\t\t\t\tisBorderBox = boxSizingNeeded &&\n\t\t\t\t\tjQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\",\n\t\t\t\tsubtract = extra ?\n\t\t\t\t\tboxModelAdjustment(\n\t\t\t\t\t\telem,\n\t\t\t\t\t\tdimension,\n\t\t\t\t\t\textra,\n\t\t\t\t\t\tisBorderBox,\n\t\t\t\t\t\tstyles\n\t\t\t\t\t) :\n\t\t\t\t\t0;\n\n\t\t\t// Account for unreliable border-box dimensions by comparing offset* to computed and\n\t\t\t// faking a content-box to get border and padding (gh-3699)\n\t\t\tif ( isBorderBox && scrollboxSizeBuggy ) {\n\t\t\t\tsubtract -= Math.ceil(\n\t\t\t\t\telem[ \"offset\" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] -\n\t\t\t\t\tparseFloat( styles[ dimension ] ) -\n\t\t\t\t\tboxModelAdjustment( elem, dimension, \"border\", false, styles ) -\n\t\t\t\t\t0.5\n\t\t\t\t);\n\t\t\t}\n\n\t\t\t// Convert to pixels if value adjustment is needed\n\t\t\tif ( subtract && ( matches = rcssNum.exec( value ) ) &&\n\t\t\t\t( matches[ 3 ] || \"px\" ) !== \"px\" ) {\n\n\t\t\t\telem.style[ dimension ] = value;\n\t\t\t\tvalue = jQuery.css( elem, dimension );\n\t\t\t}\n\n\t\t\treturn setPositiveNumber( elem, value, subtract );\n\t\t}\n\t};\n} );\n\njQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft,\n\tfunction( elem, computed ) {\n\t\tif ( computed ) {\n\t\t\treturn ( parseFloat( curCSS( elem, \"marginLeft\" ) ) ||\n\t\t\t\telem.getBoundingClientRect().left -\n\t\t\t\t\tswap( elem, { marginLeft: 0 }, function() {\n\t\t\t\t\t\treturn elem.getBoundingClientRect().left;\n\t\t\t\t\t} )\n\t\t\t\t) + \"px\";\n\t\t}\n\t}\n);\n\n// These hooks are used by animate to expand properties\njQuery.each( {\n\tmargin: \"\",\n\tpadding: \"\",\n\tborder: \"Width\"\n}, function( prefix, suffix ) {\n\tjQuery.cssHooks[ prefix + suffix ] = {\n\t\texpand: function( value ) {\n\t\t\tvar i = 0,\n\t\t\t\texpanded = {},\n\n\t\t\t\t// Assumes a single number if not a string\n\t\t\t\tparts = typeof value === \"string\" ? value.split( \" \" ) : [ value ];\n\n\t\t\tfor ( ; i < 4; i++ ) {\n\t\t\t\texpanded[ prefix + cssExpand[ i ] + suffix ] =\n\t\t\t\t\tparts[ i ] || parts[ i - 2 ] || parts[ 0 ];\n\t\t\t}\n\n\t\t\treturn expanded;\n\t\t}\n\t};\n\n\tif ( prefix !== \"margin\" ) {\n\t\tjQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber;\n\t}\n} );\n\njQuery.fn.extend( {\n\tcss: function( name, value ) {\n\t\treturn access( this, function( elem, name, value ) {\n\t\t\tvar styles, len,\n\t\t\t\tmap = {},\n\t\t\t\ti = 0;\n\n\t\t\tif ( Array.isArray( name ) ) {\n\t\t\t\tstyles = getStyles( elem );\n\t\t\t\tlen = name.length;\n\n\t\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\t\tmap[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles );\n\t\t\t\t}\n\n\t\t\t\treturn map;\n\t\t\t}\n\n\t\t\treturn value !== undefined ?\n\t\t\t\tjQuery.style( elem, name, value ) :\n\t\t\t\tjQuery.css( elem, name );\n\t\t}, name, value, arguments.length > 1 );\n\t}\n} );\n\n\nfunction Tween( elem, options, prop, end, easing ) {\n\treturn new Tween.prototype.init( elem, options, prop, end, easing );\n}\njQuery.Tween = Tween;\n\nTween.prototype = {\n\tconstructor: Tween,\n\tinit: function( elem, options, prop, end, easing, unit ) {\n\t\tthis.elem = elem;\n\t\tthis.prop = prop;\n\t\tthis.easing = easing || jQuery.easing._default;\n\t\tthis.options = options;\n\t\tthis.start = this.now = this.cur();\n\t\tthis.end = end;\n\t\tthis.unit = unit || ( jQuery.cssNumber[ prop ] ? \"\" : \"px\" );\n\t},\n\tcur: function() {\n\t\tvar hooks = Tween.propHooks[ this.prop ];\n\n\t\treturn hooks && hooks.get ?\n\t\t\thooks.get( this ) :\n\t\t\tTween.propHooks._default.get( this );\n\t},\n\trun: function( percent ) {\n\t\tvar eased,\n\t\t\thooks = Tween.propHooks[ this.prop ];\n\n\t\tif ( this.options.duration ) {\n\t\t\tthis.pos = eased = jQuery.easing[ this.easing ](\n\t\t\t\tpercent, this.options.duration * percent, 0, 1, this.options.duration\n\t\t\t);\n\t\t} else {\n\t\t\tthis.pos = eased = percent;\n\t\t}\n\t\tthis.now = ( this.end - this.start ) * eased + this.start;\n\n\t\tif ( this.options.step ) {\n\t\t\tthis.options.step.call( this.elem, this.now, this );\n\t\t}\n\n\t\tif ( hooks && hooks.set ) {\n\t\t\thooks.set( this );\n\t\t} else {\n\t\t\tTween.propHooks._default.set( this );\n\t\t}\n\t\treturn this;\n\t}\n};\n\nTween.prototype.init.prototype = Tween.prototype;\n\nTween.propHooks = {\n\t_default: {\n\t\tget: function( tween ) {\n\t\t\tvar result;\n\n\t\t\t// Use a property on the element directly when it is not a DOM element,\n\t\t\t// or when there is no matching style property that exists.\n\t\t\tif ( tween.elem.nodeType !== 1 ||\n\t\t\t\ttween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) {\n\t\t\t\treturn tween.elem[ tween.prop ];\n\t\t\t}\n\n\t\t\t// Passing an empty string as a 3rd parameter to .css will automatically\n\t\t\t// attempt a parseFloat and fallback to a string if the parse fails.\n\t\t\t// Simple values such as \"10px\" are parsed to Float;\n\t\t\t// complex values such as \"rotate(1rad)\" are returned as-is.\n\t\t\tresult = jQuery.css( tween.elem, tween.prop, \"\" );\n\n\t\t\t// Empty strings, null, undefined and \"auto\" are converted to 0.\n\t\t\treturn !result || result === \"auto\" ? 0 : result;\n\t\t},\n\t\tset: function( tween ) {\n\n\t\t\t// Use step hook for back compat.\n\t\t\t// Use cssHook if its there.\n\t\t\t// Use .style if available and use plain properties where available.\n\t\t\tif ( jQuery.fx.step[ tween.prop ] ) {\n\t\t\t\tjQuery.fx.step[ tween.prop ]( tween );\n\t\t\t} else if ( tween.elem.nodeType === 1 && (\n\t\t\t\t\tjQuery.cssHooks[ tween.prop ] ||\n\t\t\t\t\ttween.elem.style[ finalPropName( tween.prop ) ] != null ) ) {\n\t\t\t\tjQuery.style( tween.elem, tween.prop, tween.now + tween.unit );\n\t\t\t} else {\n\t\t\t\ttween.elem[ tween.prop ] = tween.now;\n\t\t\t}\n\t\t}\n\t}\n};\n\n// Support: IE <=9 only\n// Panic based approach to setting things on disconnected nodes\nTween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {\n\tset: function( tween ) {\n\t\tif ( tween.elem.nodeType && tween.elem.parentNode ) {\n\t\t\ttween.elem[ tween.prop ] = tween.now;\n\t\t}\n\t}\n};\n\njQuery.easing = {\n\tlinear: function( p ) {\n\t\treturn p;\n\t},\n\tswing: function( p ) {\n\t\treturn 0.5 - Math.cos( p * Math.PI ) / 2;\n\t},\n\t_default: \"swing\"\n};\n\njQuery.fx = Tween.prototype.init;\n\n// Back compat <1.8 extension point\njQuery.fx.step = {};\n\n\n\n\nvar\n\tfxNow, inProgress,\n\trfxtypes = /^(?:toggle|show|hide)$/,\n\trrun = /queueHooks$/;\n\nfunction schedule() {\n\tif ( inProgress ) {\n\t\tif ( document.hidden === false && window.requestAnimationFrame ) {\n\t\t\twindow.requestAnimationFrame( schedule );\n\t\t} else {\n\t\t\twindow.setTimeout( schedule, jQuery.fx.interval );\n\t\t}\n\n\t\tjQuery.fx.tick();\n\t}\n}\n\n// Animations created synchronously will run synchronously\nfunction createFxNow() {\n\twindow.setTimeout( function() {\n\t\tfxNow = undefined;\n\t} );\n\treturn ( fxNow = Date.now() );\n}\n\n// Generate parameters to create a standard animation\nfunction genFx( type, includeWidth ) {\n\tvar which,\n\t\ti = 0,\n\t\tattrs = { height: type };\n\n\t// If we include width, step value is 1 to do all cssExpand values,\n\t// otherwise step value is 2 to skip over Left and Right\n\tincludeWidth = includeWidth ? 1 : 0;\n\tfor ( ; i < 4; i += 2 - includeWidth ) {\n\t\twhich = cssExpand[ i ];\n\t\tattrs[ \"margin\" + which ] = attrs[ \"padding\" + which ] = type;\n\t}\n\n\tif ( includeWidth ) {\n\t\tattrs.opacity = attrs.width = type;\n\t}\n\n\treturn attrs;\n}\n\nfunction createTween( value, prop, animation ) {\n\tvar tween,\n\t\tcollection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ \"*\" ] ),\n\t\tindex = 0,\n\t\tlength = collection.length;\n\tfor ( ; index < length; index++ ) {\n\t\tif ( ( tween = collection[ index ].call( animation, prop, value ) ) ) {\n\n\t\t\t// We're done with this property\n\t\t\treturn tween;\n\t\t}\n\t}\n}\n\nfunction defaultPrefilter( elem, props, opts ) {\n\tvar prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display,\n\t\tisBox = \"width\" in props || \"height\" in props,\n\t\tanim = this,\n\t\torig = {},\n\t\tstyle = elem.style,\n\t\thidden = elem.nodeType && isHiddenWithinTree( elem ),\n\t\tdataShow = dataPriv.get( elem, \"fxshow\" );\n\n\t// Queue-skipping animations hijack the fx hooks\n\tif ( !opts.queue ) {\n\t\thooks = jQuery._queueHooks( elem, \"fx\" );\n\t\tif ( hooks.unqueued == null ) {\n\t\t\thooks.unqueued = 0;\n\t\t\toldfire = hooks.empty.fire;\n\t\t\thooks.empty.fire = function() {\n\t\t\t\tif ( !hooks.unqueued ) {\n\t\t\t\t\toldfire();\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t\thooks.unqueued++;\n\n\t\tanim.always( function() {\n\n\t\t\t// Ensure the complete handler is called before this completes\n\t\t\tanim.always( function() {\n\t\t\t\thooks.unqueued--;\n\t\t\t\tif ( !jQuery.queue( elem, \"fx\" ).length ) {\n\t\t\t\t\thooks.empty.fire();\n\t\t\t\t}\n\t\t\t} );\n\t\t} );\n\t}\n\n\t// Detect show/hide animations\n\tfor ( prop in props ) {\n\t\tvalue = props[ prop ];\n\t\tif ( rfxtypes.test( value ) ) {\n\t\t\tdelete props[ prop ];\n\t\t\ttoggle = toggle || value === \"toggle\";\n\t\t\tif ( value === ( hidden ? \"hide\" : \"show\" ) ) {\n\n\t\t\t\t// Pretend to be hidden if this is a \"show\" and\n\t\t\t\t// there is still data from a stopped show/hide\n\t\t\t\tif ( value === \"show\" && dataShow && dataShow[ prop ] !== undefined ) {\n\t\t\t\t\thidden = true;\n\n\t\t\t\t// Ignore all other no-op show/hide data\n\t\t\t\t} else {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\torig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop );\n\t\t}\n\t}\n\n\t// Bail out if this is a no-op like .hide().hide()\n\tpropTween = !jQuery.isEmptyObject( props );\n\tif ( !propTween && jQuery.isEmptyObject( orig ) ) {\n\t\treturn;\n\t}\n\n\t// Restrict \"overflow\" and \"display\" styles during box animations\n\tif ( isBox && elem.nodeType === 1 ) {\n\n\t\t// Support: IE <=9 - 11, Edge 12 - 15\n\t\t// Record all 3 overflow attributes because IE does not infer the shorthand\n\t\t// from identically-valued overflowX and overflowY and Edge just mirrors\n\t\t// the overflowX value there.\n\t\topts.overflow = [ style.overflow, style.overflowX, style.overflowY ];\n\n\t\t// Identify a display type, preferring old show/hide data over the CSS cascade\n\t\trestoreDisplay = dataShow && dataShow.display;\n\t\tif ( restoreDisplay == null ) {\n\t\t\trestoreDisplay = dataPriv.get( elem, \"display\" );\n\t\t}\n\t\tdisplay = jQuery.css( elem, \"display\" );\n\t\tif ( display === \"none\" ) {\n\t\t\tif ( restoreDisplay ) {\n\t\t\t\tdisplay = restoreDisplay;\n\t\t\t} else {\n\n\t\t\t\t// Get nonempty value(s) by temporarily forcing visibility\n\t\t\t\tshowHide( [ elem ], true );\n\t\t\t\trestoreDisplay = elem.style.display || restoreDisplay;\n\t\t\t\tdisplay = jQuery.css( elem, \"display\" );\n\t\t\t\tshowHide( [ elem ] );\n\t\t\t}\n\t\t}\n\n\t\t// Animate inline elements as inline-block\n\t\tif ( display === \"inline\" || display === \"inline-block\" && restoreDisplay != null ) {\n\t\t\tif ( jQuery.css( elem, \"float\" ) === \"none\" ) {\n\n\t\t\t\t// Restore the original display value at the end of pure show/hide animations\n\t\t\t\tif ( !propTween ) {\n\t\t\t\t\tanim.done( function() {\n\t\t\t\t\t\tstyle.display = restoreDisplay;\n\t\t\t\t\t} );\n\t\t\t\t\tif ( restoreDisplay == null ) {\n\t\t\t\t\t\tdisplay = style.display;\n\t\t\t\t\t\trestoreDisplay = display === \"none\" ? \"\" : display;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tstyle.display = \"inline-block\";\n\t\t\t}\n\t\t}\n\t}\n\n\tif ( opts.overflow ) {\n\t\tstyle.overflow = \"hidden\";\n\t\tanim.always( function() {\n\t\t\tstyle.overflow = opts.overflow[ 0 ];\n\t\t\tstyle.overflowX = opts.overflow[ 1 ];\n\t\t\tstyle.overflowY = opts.overflow[ 2 ];\n\t\t} );\n\t}\n\n\t// Implement show/hide animations\n\tpropTween = false;\n\tfor ( prop in orig ) {\n\n\t\t// General show/hide setup for this element animation\n\t\tif ( !propTween ) {\n\t\t\tif ( dataShow ) {\n\t\t\t\tif ( \"hidden\" in dataShow ) {\n\t\t\t\t\thidden = dataShow.hidden;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tdataShow = dataPriv.access( elem, \"fxshow\", { display: restoreDisplay } );\n\t\t\t}\n\n\t\t\t// Store hidden/visible for toggle so `.stop().toggle()` \"reverses\"\n\t\t\tif ( toggle ) {\n\t\t\t\tdataShow.hidden = !hidden;\n\t\t\t}\n\n\t\t\t// Show elements before animating them\n\t\t\tif ( hidden ) {\n\t\t\t\tshowHide( [ elem ], true );\n\t\t\t}\n\n\t\t\t/* eslint-disable no-loop-func */\n\n\t\t\tanim.done( function() {\n\n\t\t\t/* eslint-enable no-loop-func */\n\n\t\t\t\t// The final step of a \"hide\" animation is actually hiding the element\n\t\t\t\tif ( !hidden ) {\n\t\t\t\t\tshowHide( [ elem ] );\n\t\t\t\t}\n\t\t\t\tdataPriv.remove( elem, \"fxshow\" );\n\t\t\t\tfor ( prop in orig ) {\n\t\t\t\t\tjQuery.style( elem, prop, orig[ prop ] );\n\t\t\t\t}\n\t\t\t} );\n\t\t}\n\n\t\t// Per-property setup\n\t\tpropTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim );\n\t\tif ( !( prop in dataShow ) ) {\n\t\t\tdataShow[ prop ] = propTween.start;\n\t\t\tif ( hidden ) {\n\t\t\t\tpropTween.end = propTween.start;\n\t\t\t\tpropTween.start = 0;\n\t\t\t}\n\t\t}\n\t}\n}\n\nfunction propFilter( props, specialEasing ) {\n\tvar index, name, easing, value, hooks;\n\n\t// camelCase, specialEasing and expand cssHook pass\n\tfor ( index in props ) {\n\t\tname = camelCase( index );\n\t\teasing = specialEasing[ name ];\n\t\tvalue = props[ index ];\n\t\tif ( Array.isArray( value ) ) {\n\t\t\teasing = value[ 1 ];\n\t\t\tvalue = props[ index ] = value[ 0 ];\n\t\t}\n\n\t\tif ( index !== name ) {\n\t\t\tprops[ name ] = value;\n\t\t\tdelete props[ index ];\n\t\t}\n\n\t\thooks = jQuery.cssHooks[ name ];\n\t\tif ( hooks && \"expand\" in hooks ) {\n\t\t\tvalue = hooks.expand( value );\n\t\t\tdelete props[ name ];\n\n\t\t\t// Not quite $.extend, this won't overwrite existing keys.\n\t\t\t// Reusing 'index' because we have the correct \"name\"\n\t\t\tfor ( index in value ) {\n\t\t\t\tif ( !( index in props ) ) {\n\t\t\t\t\tprops[ index ] = value[ index ];\n\t\t\t\t\tspecialEasing[ index ] = easing;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tspecialEasing[ name ] = easing;\n\t\t}\n\t}\n}\n\nfunction Animation( elem, properties, options ) {\n\tvar result,\n\t\tstopped,\n\t\tindex = 0,\n\t\tlength = Animation.prefilters.length,\n\t\tdeferred = jQuery.Deferred().always( function() {\n\n\t\t\t// Don't match elem in the :animated selector\n\t\t\tdelete tick.elem;\n\t\t} ),\n\t\ttick = function() {\n\t\t\tif ( stopped ) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tvar currentTime = fxNow || createFxNow(),\n\t\t\t\tremaining = Math.max( 0, animation.startTime + animation.duration - currentTime ),\n\n\t\t\t\t// Support: Android 2.3 only\n\t\t\t\t// Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497)\n\t\t\t\ttemp = remaining / animation.duration || 0,\n\t\t\t\tpercent = 1 - temp,\n\t\t\t\tindex = 0,\n\t\t\t\tlength = animation.tweens.length;\n\n\t\t\tfor ( ; index < length; index++ ) {\n\t\t\t\tanimation.tweens[ index ].run( percent );\n\t\t\t}\n\n\t\t\tdeferred.notifyWith( elem, [ animation, percent, remaining ] );\n\n\t\t\t// If there's more to do, yield\n\t\t\tif ( percent < 1 && length ) {\n\t\t\t\treturn remaining;\n\t\t\t}\n\n\t\t\t// If this was an empty animation, synthesize a final progress notification\n\t\t\tif ( !length ) {\n\t\t\t\tdeferred.notifyWith( elem, [ animation, 1, 0 ] );\n\t\t\t}\n\n\t\t\t// Resolve the animation and report its conclusion\n\t\t\tdeferred.resolveWith( elem, [ animation ] );\n\t\t\treturn false;\n\t\t},\n\t\tanimation = deferred.promise( {\n\t\t\telem: elem,\n\t\t\tprops: jQuery.extend( {}, properties ),\n\t\t\topts: jQuery.extend( true, {\n\t\t\t\tspecialEasing: {},\n\t\t\t\teasing: jQuery.easing._default\n\t\t\t}, options ),\n\t\t\toriginalProperties: properties,\n\t\t\toriginalOptions: options,\n\t\t\tstartTime: fxNow || createFxNow(),\n\t\t\tduration: options.duration,\n\t\t\ttweens: [],\n\t\t\tcreateTween: function( prop, end ) {\n\t\t\t\tvar tween = jQuery.Tween( elem, animation.opts, prop, end,\n\t\t\t\t\t\tanimation.opts.specialEasing[ prop ] || animation.opts.easing );\n\t\t\t\tanimation.tweens.push( tween );\n\t\t\t\treturn tween;\n\t\t\t},\n\t\t\tstop: function( gotoEnd ) {\n\t\t\t\tvar index = 0,\n\n\t\t\t\t\t// If we are going to the end, we want to run all the tweens\n\t\t\t\t\t// otherwise we skip this part\n\t\t\t\t\tlength = gotoEnd ? animation.tweens.length : 0;\n\t\t\t\tif ( stopped ) {\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t\tstopped = true;\n\t\t\t\tfor ( ; index < length; index++ ) {\n\t\t\t\t\tanimation.tweens[ index ].run( 1 );\n\t\t\t\t}\n\n\t\t\t\t// Resolve when we played the last frame; otherwise, reject\n\t\t\t\tif ( gotoEnd ) {\n\t\t\t\t\tdeferred.notifyWith( elem, [ animation, 1, 0 ] );\n\t\t\t\t\tdeferred.resolveWith( elem, [ animation, gotoEnd ] );\n\t\t\t\t} else {\n\t\t\t\t\tdeferred.rejectWith( elem, [ animation, gotoEnd ] );\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t}\n\t\t} ),\n\t\tprops = animation.props;\n\n\tpropFilter( props, animation.opts.specialEasing );\n\n\tfor ( ; index < length; index++ ) {\n\t\tresult = Animation.prefilters[ index ].call( animation, elem, props, animation.opts );\n\t\tif ( result ) {\n\t\t\tif ( isFunction( result.stop ) ) {\n\t\t\t\tjQuery._queueHooks( animation.elem, animation.opts.queue ).stop =\n\t\t\t\t\tresult.stop.bind( result );\n\t\t\t}\n\t\t\treturn result;\n\t\t}\n\t}\n\n\tjQuery.map( props, createTween, animation );\n\n\tif ( isFunction( animation.opts.start ) ) {\n\t\tanimation.opts.start.call( elem, animation );\n\t}\n\n\t// Attach callbacks from options\n\tanimation\n\t\t.progress( animation.opts.progress )\n\t\t.done( animation.opts.done, animation.opts.complete )\n\t\t.fail( animation.opts.fail )\n\t\t.always( animation.opts.always );\n\n\tjQuery.fx.timer(\n\t\tjQuery.extend( tick, {\n\t\t\telem: elem,\n\t\t\tanim: animation,\n\t\t\tqueue: animation.opts.queue\n\t\t} )\n\t);\n\n\treturn animation;\n}\n\njQuery.Animation = jQuery.extend( Animation, {\n\n\ttweeners: {\n\t\t\"*\": [ function( prop, value ) {\n\t\t\tvar tween = this.createTween( prop, value );\n\t\t\tadjustCSS( tween.elem, prop, rcssNum.exec( value ), tween );\n\t\t\treturn tween;\n\t\t} ]\n\t},\n\n\ttweener: function( props, callback ) {\n\t\tif ( isFunction( props ) ) {\n\t\t\tcallback = props;\n\t\t\tprops = [ \"*\" ];\n\t\t} else {\n\t\t\tprops = props.match( rnothtmlwhite );\n\t\t}\n\n\t\tvar prop,\n\t\t\tindex = 0,\n\t\t\tlength = props.length;\n\n\t\tfor ( ; index < length; index++ ) {\n\t\t\tprop = props[ index ];\n\t\t\tAnimation.tweeners[ prop ] = Animation.tweeners[ prop ] || [];\n\t\t\tAnimation.tweeners[ prop ].unshift( callback );\n\t\t}\n\t},\n\n\tprefilters: [ defaultPrefilter ],\n\n\tprefilter: function( callback, prepend ) {\n\t\tif ( prepend ) {\n\t\t\tAnimation.prefilters.unshift( callback );\n\t\t} else {\n\t\t\tAnimation.prefilters.push( callback );\n\t\t}\n\t}\n} );\n\njQuery.speed = function( speed, easing, fn ) {\n\tvar opt = speed && typeof speed === \"object\" ? jQuery.extend( {}, speed ) : {\n\t\tcomplete: fn || !fn && easing ||\n\t\t\tisFunction( speed ) && speed,\n\t\tduration: speed,\n\t\teasing: fn && easing || easing && !isFunction( easing ) && easing\n\t};\n\n\t// Go to the end state if fx are off\n\tif ( jQuery.fx.off ) {\n\t\topt.duration = 0;\n\n\t} else {\n\t\tif ( typeof opt.duration !== \"number\" ) {\n\t\t\tif ( opt.duration in jQuery.fx.speeds ) {\n\t\t\t\topt.duration = jQuery.fx.speeds[ opt.duration ];\n\n\t\t\t} else {\n\t\t\t\topt.duration = jQuery.fx.speeds._default;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Normalize opt.queue - true/undefined/null -> \"fx\"\n\tif ( opt.queue == null || opt.queue === true ) {\n\t\topt.queue = \"fx\";\n\t}\n\n\t// Queueing\n\topt.old = opt.complete;\n\n\topt.complete = function() {\n\t\tif ( isFunction( opt.old ) ) {\n\t\t\topt.old.call( this );\n\t\t}\n\n\t\tif ( opt.queue ) {\n\t\t\tjQuery.dequeue( this, opt.queue );\n\t\t}\n\t};\n\n\treturn opt;\n};\n\njQuery.fn.extend( {\n\tfadeTo: function( speed, to, easing, callback ) {\n\n\t\t// Show any hidden elements after setting opacity to 0\n\t\treturn this.filter( isHiddenWithinTree ).css( \"opacity\", 0 ).show()\n\n\t\t\t// Animate to the value specified\n\t\t\t.end().animate( { opacity: to }, speed, easing, callback );\n\t},\n\tanimate: function( prop, speed, easing, callback ) {\n\t\tvar empty = jQuery.isEmptyObject( prop ),\n\t\t\toptall = jQuery.speed( speed, easing, callback ),\n\t\t\tdoAnimation = function() {\n\n\t\t\t\t// Operate on a copy of prop so per-property easing won't be lost\n\t\t\t\tvar anim = Animation( this, jQuery.extend( {}, prop ), optall );\n\n\t\t\t\t// Empty animations, or finishing resolves immediately\n\t\t\t\tif ( empty || dataPriv.get( this, \"finish\" ) ) {\n\t\t\t\t\tanim.stop( true );\n\t\t\t\t}\n\t\t\t};\n\t\t\tdoAnimation.finish = doAnimation;\n\n\t\treturn empty || optall.queue === false ?\n\t\t\tthis.each( doAnimation ) :\n\t\t\tthis.queue( optall.queue, doAnimation );\n\t},\n\tstop: function( type, clearQueue, gotoEnd ) {\n\t\tvar stopQueue = function( hooks ) {\n\t\t\tvar stop = hooks.stop;\n\t\t\tdelete hooks.stop;\n\t\t\tstop( gotoEnd );\n\t\t};\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tgotoEnd = clearQueue;\n\t\t\tclearQueue = type;\n\t\t\ttype = undefined;\n\t\t}\n\t\tif ( clearQueue && type !== false ) {\n\t\t\tthis.queue( type || \"fx\", [] );\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tvar dequeue = true,\n\t\t\t\tindex = type != null && type + \"queueHooks\",\n\t\t\t\ttimers = jQuery.timers,\n\t\t\t\tdata = dataPriv.get( this );\n\n\t\t\tif ( index ) {\n\t\t\t\tif ( data[ index ] && data[ index ].stop ) {\n\t\t\t\t\tstopQueue( data[ index ] );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor ( index in data ) {\n\t\t\t\t\tif ( data[ index ] && data[ index ].stop && rrun.test( index ) ) {\n\t\t\t\t\t\tstopQueue( data[ index ] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor ( index = timers.length; index--; ) {\n\t\t\t\tif ( timers[ index ].elem === this &&\n\t\t\t\t\t( type == null || timers[ index ].queue === type ) ) {\n\n\t\t\t\t\ttimers[ index ].anim.stop( gotoEnd );\n\t\t\t\t\tdequeue = false;\n\t\t\t\t\ttimers.splice( index, 1 );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Start the next in the queue if the last step wasn't forced.\n\t\t\t// Timers currently will call their complete callbacks, which\n\t\t\t// will dequeue but only if they were gotoEnd.\n\t\t\tif ( dequeue || !gotoEnd ) {\n\t\t\t\tjQuery.dequeue( this, type );\n\t\t\t}\n\t\t} );\n\t},\n\tfinish: function( type ) {\n\t\tif ( type !== false ) {\n\t\t\ttype = type || \"fx\";\n\t\t}\n\t\treturn this.each( function() {\n\t\t\tvar index,\n\t\t\t\tdata = dataPriv.get( this ),\n\t\t\t\tqueue = data[ type + \"queue\" ],\n\t\t\t\thooks = data[ type + \"queueHooks\" ],\n\t\t\t\ttimers = jQuery.timers,\n\t\t\t\tlength = queue ? queue.length : 0;\n\n\t\t\t// Enable finishing flag on private data\n\t\t\tdata.finish = true;\n\n\t\t\t// Empty the queue first\n\t\t\tjQuery.queue( this, type, [] );\n\n\t\t\tif ( hooks && hooks.stop ) {\n\t\t\t\thooks.stop.call( this, true );\n\t\t\t}\n\n\t\t\t// Look for any active animations, and finish them\n\t\t\tfor ( index = timers.length; index--; ) {\n\t\t\t\tif ( timers[ index ].elem === this && timers[ index ].queue === type ) {\n\t\t\t\t\ttimers[ index ].anim.stop( true );\n\t\t\t\t\ttimers.splice( index, 1 );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Look for any animations in the old queue and finish them\n\t\t\tfor ( index = 0; index < length; index++ ) {\n\t\t\t\tif ( queue[ index ] && queue[ index ].finish ) {\n\t\t\t\t\tqueue[ index ].finish.call( this );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Turn off finishing flag\n\t\t\tdelete data.finish;\n\t\t} );\n\t}\n} );\n\njQuery.each( [ \"toggle\", \"show\", \"hide\" ], function( i, name ) {\n\tvar cssFn = jQuery.fn[ name ];\n\tjQuery.fn[ name ] = function( speed, easing, callback ) {\n\t\treturn speed == null || typeof speed === \"boolean\" ?\n\t\t\tcssFn.apply( this, arguments ) :\n\t\t\tthis.animate( genFx( name, true ), speed, easing, callback );\n\t};\n} );\n\n// Generate shortcuts for custom animations\njQuery.each( {\n\tslideDown: genFx( \"show\" ),\n\tslideUp: genFx( \"hide\" ),\n\tslideToggle: genFx( \"toggle\" ),\n\tfadeIn: { opacity: \"show\" },\n\tfadeOut: { opacity: \"hide\" },\n\tfadeToggle: { opacity: \"toggle\" }\n}, function( name, props ) {\n\tjQuery.fn[ name ] = function( speed, easing, callback ) {\n\t\treturn this.animate( props, speed, easing, callback );\n\t};\n} );\n\njQuery.timers = [];\njQuery.fx.tick = function() {\n\tvar timer,\n\t\ti = 0,\n\t\ttimers = jQuery.timers;\n\n\tfxNow = Date.now();\n\n\tfor ( ; i < timers.length; i++ ) {\n\t\ttimer = timers[ i ];\n\n\t\t// Run the timer and safely remove it when done (allowing for external removal)\n\t\tif ( !timer() && timers[ i ] === timer ) {\n\t\t\ttimers.splice( i--, 1 );\n\t\t}\n\t}\n\n\tif ( !timers.length ) {\n\t\tjQuery.fx.stop();\n\t}\n\tfxNow = undefined;\n};\n\njQuery.fx.timer = function( timer ) {\n\tjQuery.timers.push( timer );\n\tjQuery.fx.start();\n};\n\njQuery.fx.interval = 13;\njQuery.fx.start = function() {\n\tif ( inProgress ) {\n\t\treturn;\n\t}\n\n\tinProgress = true;\n\tschedule();\n};\n\njQuery.fx.stop = function() {\n\tinProgress = null;\n};\n\njQuery.fx.speeds = {\n\tslow: 600,\n\tfast: 200,\n\n\t// Default speed\n\t_default: 400\n};\n\n\n// Based off of the plugin by Clint Helfers, with permission.\n// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/\njQuery.fn.delay = function( time, type ) {\n\ttime = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;\n\ttype = type || \"fx\";\n\n\treturn this.queue( type, function( next, hooks ) {\n\t\tvar timeout = window.setTimeout( next, time );\n\t\thooks.stop = function() {\n\t\t\twindow.clearTimeout( timeout );\n\t\t};\n\t} );\n};\n\n\n( function() {\n\tvar input = document.createElement( \"input\" ),\n\t\tselect = document.createElement( \"select\" ),\n\t\topt = select.appendChild( document.createElement( \"option\" ) );\n\n\tinput.type = \"checkbox\";\n\n\t// Support: Android <=4.3 only\n\t// Default value for a checkbox should be \"on\"\n\tsupport.checkOn = input.value !== \"\";\n\n\t// Support: IE <=11 only\n\t// Must access selectedIndex to make default options select\n\tsupport.optSelected = opt.selected;\n\n\t// Support: IE <=11 only\n\t// An input loses its value after becoming a radio\n\tinput = document.createElement( \"input\" );\n\tinput.value = \"t\";\n\tinput.type = \"radio\";\n\tsupport.radioValue = input.value === \"t\";\n} )();\n\n\nvar boolHook,\n\tattrHandle = jQuery.expr.attrHandle;\n\njQuery.fn.extend( {\n\tattr: function( name, value ) {\n\t\treturn access( this, jQuery.attr, name, value, arguments.length > 1 );\n\t},\n\n\tremoveAttr: function( name ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.removeAttr( this, name );\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tattr: function( elem, name, value ) {\n\t\tvar ret, hooks,\n\t\t\tnType = elem.nodeType;\n\n\t\t// Don't get/set attributes on text, comment and attribute nodes\n\t\tif ( nType === 3 || nType === 8 || nType === 2 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Fallback to prop when attributes are not supported\n\t\tif ( typeof elem.getAttribute === \"undefined\" ) {\n\t\t\treturn jQuery.prop( elem, name, value );\n\t\t}\n\n\t\t// Attribute hooks are determined by the lowercase version\n\t\t// Grab necessary hook if one is defined\n\t\tif ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {\n\t\t\thooks = jQuery.attrHooks[ name.toLowerCase() ] ||\n\t\t\t\t( jQuery.expr.match.bool.test( name ) ? boolHook : undefined );\n\t\t}\n\n\t\tif ( value !== undefined ) {\n\t\t\tif ( value === null ) {\n\t\t\t\tjQuery.removeAttr( elem, name );\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( hooks && \"set\" in hooks &&\n\t\t\t\t( ret = hooks.set( elem, value, name ) ) !== undefined ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\telem.setAttribute( name, value + \"\" );\n\t\t\treturn value;\n\t\t}\n\n\t\tif ( hooks && \"get\" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) {\n\t\t\treturn ret;\n\t\t}\n\n\t\tret = jQuery.find.attr( elem, name );\n\n\t\t// Non-existent attributes return null, we normalize to undefined\n\t\treturn ret == null ? undefined : ret;\n\t},\n\n\tattrHooks: {\n\t\ttype: {\n\t\t\tset: function( elem, value ) {\n\t\t\t\tif ( !support.radioValue && value === \"radio\" &&\n\t\t\t\t\tnodeName( elem, \"input\" ) ) {\n\t\t\t\t\tvar val = elem.value;\n\t\t\t\t\telem.setAttribute( \"type\", value );\n\t\t\t\t\tif ( val ) {\n\t\t\t\t\t\telem.value = val;\n\t\t\t\t\t}\n\t\t\t\t\treturn value;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\tremoveAttr: function( elem, value ) {\n\t\tvar name,\n\t\t\ti = 0,\n\n\t\t\t// Attribute names can contain non-HTML whitespace characters\n\t\t\t// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\n\t\t\tattrNames = value && value.match( rnothtmlwhite );\n\n\t\tif ( attrNames && elem.nodeType === 1 ) {\n\t\t\twhile ( ( name = attrNames[ i++ ] ) ) {\n\t\t\t\telem.removeAttribute( name );\n\t\t\t}\n\t\t}\n\t}\n} );\n\n// Hooks for boolean attributes\nboolHook = {\n\tset: function( elem, value, name ) {\n\t\tif ( value === false ) {\n\n\t\t\t// Remove boolean attributes when set to false\n\t\t\tjQuery.removeAttr( elem, name );\n\t\t} else {\n\t\t\telem.setAttribute( name, name );\n\t\t}\n\t\treturn name;\n\t}\n};\n\njQuery.each( jQuery.expr.match.bool.source.match( /\\w+/g ), function( i, name ) {\n\tvar getter = attrHandle[ name ] || jQuery.find.attr;\n\n\tattrHandle[ name ] = function( elem, name, isXML ) {\n\t\tvar ret, handle,\n\t\t\tlowercaseName = name.toLowerCase();\n\n\t\tif ( !isXML ) {\n\n\t\t\t// Avoid an infinite loop by temporarily removing this function from the getter\n\t\t\thandle = attrHandle[ lowercaseName ];\n\t\t\tattrHandle[ lowercaseName ] = ret;\n\t\t\tret = getter( elem, name, isXML ) != null ?\n\t\t\t\tlowercaseName :\n\t\t\t\tnull;\n\t\t\tattrHandle[ lowercaseName ] = handle;\n\t\t}\n\t\treturn ret;\n\t};\n} );\n\n\n\n\nvar rfocusable = /^(?:input|select|textarea|button)$/i,\n\trclickable = /^(?:a|area)$/i;\n\njQuery.fn.extend( {\n\tprop: function( name, value ) {\n\t\treturn access( this, jQuery.prop, name, value, arguments.length > 1 );\n\t},\n\n\tremoveProp: function( name ) {\n\t\treturn this.each( function() {\n\t\t\tdelete this[ jQuery.propFix[ name ] || name ];\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tprop: function( elem, name, value ) {\n\t\tvar ret, hooks,\n\t\t\tnType = elem.nodeType;\n\n\t\t// Don't get/set properties on text, comment and attribute nodes\n\t\tif ( nType === 3 || nType === 8 || nType === 2 ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {\n\n\t\t\t// Fix name and attach hooks\n\t\t\tname = jQuery.propFix[ name ] || name;\n\t\t\thooks = jQuery.propHooks[ name ];\n\t\t}\n\n\t\tif ( value !== undefined ) {\n\t\t\tif ( hooks && \"set\" in hooks &&\n\t\t\t\t( ret = hooks.set( elem, value, name ) ) !== undefined ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\treturn ( elem[ name ] = value );\n\t\t}\n\n\t\tif ( hooks && \"get\" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) {\n\t\t\treturn ret;\n\t\t}\n\n\t\treturn elem[ name ];\n\t},\n\n\tpropHooks: {\n\t\ttabIndex: {\n\t\t\tget: function( elem ) {\n\n\t\t\t\t// Support: IE <=9 - 11 only\n\t\t\t\t// elem.tabIndex doesn't always return the\n\t\t\t\t// correct value when it hasn't been explicitly set\n\t\t\t\t// https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/\n\t\t\t\t// Use proper attribute retrieval(#12072)\n\t\t\t\tvar tabindex = jQuery.find.attr( elem, \"tabindex\" );\n\n\t\t\t\tif ( tabindex ) {\n\t\t\t\t\treturn parseInt( tabindex, 10 );\n\t\t\t\t}\n\n\t\t\t\tif (\n\t\t\t\t\trfocusable.test( elem.nodeName ) ||\n\t\t\t\t\trclickable.test( elem.nodeName ) &&\n\t\t\t\t\telem.href\n\t\t\t\t) {\n\t\t\t\t\treturn 0;\n\t\t\t\t}\n\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t}\n\t},\n\n\tpropFix: {\n\t\t\"for\": \"htmlFor\",\n\t\t\"class\": \"className\"\n\t}\n} );\n\n// Support: IE <=11 only\n// Accessing the selectedIndex property\n// forces the browser to respect setting selected\n// on the option\n// The getter ensures a default option is selected\n// when in an optgroup\n// eslint rule \"no-unused-expressions\" is disabled for this code\n// since it considers such accessions noop\nif ( !support.optSelected ) {\n\tjQuery.propHooks.selected = {\n\t\tget: function( elem ) {\n\n\t\t\t/* eslint no-unused-expressions: \"off\" */\n\n\t\t\tvar parent = elem.parentNode;\n\t\t\tif ( parent && parent.parentNode ) {\n\t\t\t\tparent.parentNode.selectedIndex;\n\t\t\t}\n\t\t\treturn null;\n\t\t},\n\t\tset: function( elem ) {\n\n\t\t\t/* eslint no-unused-expressions: \"off\" */\n\n\t\t\tvar parent = elem.parentNode;\n\t\t\tif ( parent ) {\n\t\t\t\tparent.selectedIndex;\n\n\t\t\t\tif ( parent.parentNode ) {\n\t\t\t\t\tparent.parentNode.selectedIndex;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n}\n\njQuery.each( [\n\t\"tabIndex\",\n\t\"readOnly\",\n\t\"maxLength\",\n\t\"cellSpacing\",\n\t\"cellPadding\",\n\t\"rowSpan\",\n\t\"colSpan\",\n\t\"useMap\",\n\t\"frameBorder\",\n\t\"contentEditable\"\n], function() {\n\tjQuery.propFix[ this.toLowerCase() ] = this;\n} );\n\n\n\n\n\t// Strip and collapse whitespace according to HTML spec\n\t// https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace\n\tfunction stripAndCollapse( value ) {\n\t\tvar tokens = value.match( rnothtmlwhite ) || [];\n\t\treturn tokens.join( \" \" );\n\t}\n\n\nfunction getClass( elem ) {\n\treturn elem.getAttribute && elem.getAttribute( \"class\" ) || \"\";\n}\n\nfunction classesToArray( value ) {\n\tif ( Array.isArray( value ) ) {\n\t\treturn value;\n\t}\n\tif ( typeof value === \"string\" ) {\n\t\treturn value.match( rnothtmlwhite ) || [];\n\t}\n\treturn [];\n}\n\njQuery.fn.extend( {\n\taddClass: function( value ) {\n\t\tvar classes, elem, cur, curValue, clazz, j, finalValue,\n\t\t\ti = 0;\n\n\t\tif ( isFunction( value ) ) {\n\t\t\treturn this.each( function( j ) {\n\t\t\t\tjQuery( this ).addClass( value.call( this, j, getClass( this ) ) );\n\t\t\t} );\n\t\t}\n\n\t\tclasses = classesToArray( value );\n\n\t\tif ( classes.length ) {\n\t\t\twhile ( ( elem = this[ i++ ] ) ) {\n\t\t\t\tcurValue = getClass( elem );\n\t\t\t\tcur = elem.nodeType === 1 && ( \" \" + stripAndCollapse( curValue ) + \" \" );\n\n\t\t\t\tif ( cur ) {\n\t\t\t\t\tj = 0;\n\t\t\t\t\twhile ( ( clazz = classes[ j++ ] ) ) {\n\t\t\t\t\t\tif ( cur.indexOf( \" \" + clazz + \" \" ) < 0 ) {\n\t\t\t\t\t\t\tcur += clazz + \" \";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Only assign if different to avoid unneeded rendering.\n\t\t\t\t\tfinalValue = stripAndCollapse( cur );\n\t\t\t\t\tif ( curValue !== finalValue ) {\n\t\t\t\t\t\telem.setAttribute( \"class\", finalValue );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tremoveClass: function( value ) {\n\t\tvar classes, elem, cur, curValue, clazz, j, finalValue,\n\t\t\ti = 0;\n\n\t\tif ( isFunction( value ) ) {\n\t\t\treturn this.each( function( j ) {\n\t\t\t\tjQuery( this ).removeClass( value.call( this, j, getClass( this ) ) );\n\t\t\t} );\n\t\t}\n\n\t\tif ( !arguments.length ) {\n\t\t\treturn this.attr( \"class\", \"\" );\n\t\t}\n\n\t\tclasses = classesToArray( value );\n\n\t\tif ( classes.length ) {\n\t\t\twhile ( ( elem = this[ i++ ] ) ) {\n\t\t\t\tcurValue = getClass( elem );\n\n\t\t\t\t// This expression is here for better compressibility (see addClass)\n\t\t\t\tcur = elem.nodeType === 1 && ( \" \" + stripAndCollapse( curValue ) + \" \" );\n\n\t\t\t\tif ( cur ) {\n\t\t\t\t\tj = 0;\n\t\t\t\t\twhile ( ( clazz = classes[ j++ ] ) ) {\n\n\t\t\t\t\t\t// Remove *all* instances\n\t\t\t\t\t\twhile ( cur.indexOf( \" \" + clazz + \" \" ) > -1 ) {\n\t\t\t\t\t\t\tcur = cur.replace( \" \" + clazz + \" \", \" \" );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Only assign if different to avoid unneeded rendering.\n\t\t\t\t\tfinalValue = stripAndCollapse( cur );\n\t\t\t\t\tif ( curValue !== finalValue ) {\n\t\t\t\t\t\telem.setAttribute( \"class\", finalValue );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\ttoggleClass: function( value, stateVal ) {\n\t\tvar type = typeof value,\n\t\t\tisValidValue = type === \"string\" || Array.isArray( value );\n\n\t\tif ( typeof stateVal === \"boolean\" && isValidValue ) {\n\t\t\treturn stateVal ? this.addClass( value ) : this.removeClass( value );\n\t\t}\n\n\t\tif ( isFunction( value ) ) {\n\t\t\treturn this.each( function( i ) {\n\t\t\t\tjQuery( this ).toggleClass(\n\t\t\t\t\tvalue.call( this, i, getClass( this ), stateVal ),\n\t\t\t\t\tstateVal\n\t\t\t\t);\n\t\t\t} );\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tvar className, i, self, classNames;\n\n\t\t\tif ( isValidValue ) {\n\n\t\t\t\t// Toggle individual class names\n\t\t\t\ti = 0;\n\t\t\t\tself = jQuery( this );\n\t\t\t\tclassNames = classesToArray( value );\n\n\t\t\t\twhile ( ( className = classNames[ i++ ] ) ) {\n\n\t\t\t\t\t// Check each className given, space separated list\n\t\t\t\t\tif ( self.hasClass( className ) ) {\n\t\t\t\t\t\tself.removeClass( className );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tself.addClass( className );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t// Toggle whole class name\n\t\t\t} else if ( value === undefined || type === \"boolean\" ) {\n\t\t\t\tclassName = getClass( this );\n\t\t\t\tif ( className ) {\n\n\t\t\t\t\t// Store className if set\n\t\t\t\t\tdataPriv.set( this, \"__className__\", className );\n\t\t\t\t}\n\n\t\t\t\t// If the element has a class name or if we're passed `false`,\n\t\t\t\t// then remove the whole classname (if there was one, the above saved it).\n\t\t\t\t// Otherwise bring back whatever was previously saved (if anything),\n\t\t\t\t// falling back to the empty string if nothing was stored.\n\t\t\t\tif ( this.setAttribute ) {\n\t\t\t\t\tthis.setAttribute( \"class\",\n\t\t\t\t\t\tclassName || value === false ?\n\t\t\t\t\t\t\"\" :\n\t\t\t\t\t\tdataPriv.get( this, \"__className__\" ) || \"\"\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t},\n\n\thasClass: function( selector ) {\n\t\tvar className, elem,\n\t\t\ti = 0;\n\n\t\tclassName = \" \" + selector + \" \";\n\t\twhile ( ( elem = this[ i++ ] ) ) {\n\t\t\tif ( elem.nodeType === 1 &&\n\t\t\t\t( \" \" + stripAndCollapse( getClass( elem ) ) + \" \" ).indexOf( className ) > -1 ) {\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n} );\n\n\n\n\nvar rreturn = /\\r/g;\n\njQuery.fn.extend( {\n\tval: function( value ) {\n\t\tvar hooks, ret, valueIsFunction,\n\t\t\telem = this[ 0 ];\n\n\t\tif ( !arguments.length ) {\n\t\t\tif ( elem ) {\n\t\t\t\thooks = jQuery.valHooks[ elem.type ] ||\n\t\t\t\t\tjQuery.valHooks[ elem.nodeName.toLowerCase() ];\n\n\t\t\t\tif ( hooks &&\n\t\t\t\t\t\"get\" in hooks &&\n\t\t\t\t\t( ret = hooks.get( elem, \"value\" ) ) !== undefined\n\t\t\t\t) {\n\t\t\t\t\treturn ret;\n\t\t\t\t}\n\n\t\t\t\tret = elem.value;\n\n\t\t\t\t// Handle most common string cases\n\t\t\t\tif ( typeof ret === \"string\" ) {\n\t\t\t\t\treturn ret.replace( rreturn, \"\" );\n\t\t\t\t}\n\n\t\t\t\t// Handle cases where value is null/undef or number\n\t\t\t\treturn ret == null ? \"\" : ret;\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tvalueIsFunction = isFunction( value );\n\n\t\treturn this.each( function( i ) {\n\t\t\tvar val;\n\n\t\t\tif ( this.nodeType !== 1 ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( valueIsFunction ) {\n\t\t\t\tval = value.call( this, i, jQuery( this ).val() );\n\t\t\t} else {\n\t\t\t\tval = value;\n\t\t\t}\n\n\t\t\t// Treat null/undefined as \"\"; convert numbers to string\n\t\t\tif ( val == null ) {\n\t\t\t\tval = \"\";\n\n\t\t\t} else if ( typeof val === \"number\" ) {\n\t\t\t\tval += \"\";\n\n\t\t\t} else if ( Array.isArray( val ) ) {\n\t\t\t\tval = jQuery.map( val, function( value ) {\n\t\t\t\t\treturn value == null ? \"\" : value + \"\";\n\t\t\t\t} );\n\t\t\t}\n\n\t\t\thooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ];\n\n\t\t\t// If set returns undefined, fall back to normal setting\n\t\t\tif ( !hooks || !( \"set\" in hooks ) || hooks.set( this, val, \"value\" ) === undefined ) {\n\t\t\t\tthis.value = val;\n\t\t\t}\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tvalHooks: {\n\t\toption: {\n\t\t\tget: function( elem ) {\n\n\t\t\t\tvar val = jQuery.find.attr( elem, \"value\" );\n\t\t\t\treturn val != null ?\n\t\t\t\t\tval :\n\n\t\t\t\t\t// Support: IE <=10 - 11 only\n\t\t\t\t\t// option.text throws exceptions (#14686, #14858)\n\t\t\t\t\t// Strip and collapse whitespace\n\t\t\t\t\t// https://html.spec.whatwg.org/#strip-and-collapse-whitespace\n\t\t\t\t\tstripAndCollapse( jQuery.text( elem ) );\n\t\t\t}\n\t\t},\n\t\tselect: {\n\t\t\tget: function( elem ) {\n\t\t\t\tvar value, option, i,\n\t\t\t\t\toptions = elem.options,\n\t\t\t\t\tindex = elem.selectedIndex,\n\t\t\t\t\tone = elem.type === \"select-one\",\n\t\t\t\t\tvalues = one ? null : [],\n\t\t\t\t\tmax = one ? index + 1 : options.length;\n\n\t\t\t\tif ( index < 0 ) {\n\t\t\t\t\ti = max;\n\n\t\t\t\t} else {\n\t\t\t\t\ti = one ? index : 0;\n\t\t\t\t}\n\n\t\t\t\t// Loop through all the selected options\n\t\t\t\tfor ( ; i < max; i++ ) {\n\t\t\t\t\toption = options[ i ];\n\n\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t// IE8-9 doesn't update selected after form reset (#2551)\n\t\t\t\t\tif ( ( option.selected || i === index ) &&\n\n\t\t\t\t\t\t\t// Don't return options that are disabled or in a disabled optgroup\n\t\t\t\t\t\t\t!option.disabled &&\n\t\t\t\t\t\t\t( !option.parentNode.disabled ||\n\t\t\t\t\t\t\t\t!nodeName( option.parentNode, \"optgroup\" ) ) ) {\n\n\t\t\t\t\t\t// Get the specific value for the option\n\t\t\t\t\t\tvalue = jQuery( option ).val();\n\n\t\t\t\t\t\t// We don't need an array for one selects\n\t\t\t\t\t\tif ( one ) {\n\t\t\t\t\t\t\treturn value;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Multi-Selects return an array\n\t\t\t\t\t\tvalues.push( value );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn values;\n\t\t\t},\n\n\t\t\tset: function( elem, value ) {\n\t\t\t\tvar optionSet, option,\n\t\t\t\t\toptions = elem.options,\n\t\t\t\t\tvalues = jQuery.makeArray( value ),\n\t\t\t\t\ti = options.length;\n\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\toption = options[ i ];\n\n\t\t\t\t\t/* eslint-disable no-cond-assign */\n\n\t\t\t\t\tif ( option.selected =\n\t\t\t\t\t\tjQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1\n\t\t\t\t\t) {\n\t\t\t\t\t\toptionSet = true;\n\t\t\t\t\t}\n\n\t\t\t\t\t/* eslint-enable no-cond-assign */\n\t\t\t\t}\n\n\t\t\t\t// Force browsers to behave consistently when non-matching value is set\n\t\t\t\tif ( !optionSet ) {\n\t\t\t\t\telem.selectedIndex = -1;\n\t\t\t\t}\n\t\t\t\treturn values;\n\t\t\t}\n\t\t}\n\t}\n} );\n\n// Radios and checkboxes getter/setter\njQuery.each( [ \"radio\", \"checkbox\" ], function() {\n\tjQuery.valHooks[ this ] = {\n\t\tset: function( elem, value ) {\n\t\t\tif ( Array.isArray( value ) ) {\n\t\t\t\treturn ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 );\n\t\t\t}\n\t\t}\n\t};\n\tif ( !support.checkOn ) {\n\t\tjQuery.valHooks[ this ].get = function( elem ) {\n\t\t\treturn elem.getAttribute( \"value\" ) === null ? \"on\" : elem.value;\n\t\t};\n\t}\n} );\n\n\n\n\n// Return jQuery for attributes-only inclusion\n\n\nsupport.focusin = \"onfocusin\" in window;\n\n\nvar rfocusMorph = /^(?:focusinfocus|focusoutblur)$/,\n\tstopPropagationCallback = function( e ) {\n\t\te.stopPropagation();\n\t};\n\njQuery.extend( jQuery.event, {\n\n\ttrigger: function( event, data, elem, onlyHandlers ) {\n\n\t\tvar i, cur, tmp, bubbleType, ontype, handle, special, lastElement,\n\t\t\teventPath = [ elem || document ],\n\t\t\ttype = hasOwn.call( event, \"type\" ) ? event.type : event,\n\t\t\tnamespaces = hasOwn.call( event, \"namespace\" ) ? event.namespace.split( \".\" ) : [];\n\n\t\tcur = lastElement = tmp = elem = elem || document;\n\n\t\t// Don't do events on text and comment nodes\n\t\tif ( elem.nodeType === 3 || elem.nodeType === 8 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// focus/blur morphs to focusin/out; ensure we're not firing them right now\n\t\tif ( rfocusMorph.test( type + jQuery.event.triggered ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( type.indexOf( \".\" ) > -1 ) {\n\n\t\t\t// Namespaced trigger; create a regexp to match event type in handle()\n\t\t\tnamespaces = type.split( \".\" );\n\t\t\ttype = namespaces.shift();\n\t\t\tnamespaces.sort();\n\t\t}\n\t\tontype = type.indexOf( \":\" ) < 0 && \"on\" + type;\n\n\t\t// Caller can pass in a jQuery.Event object, Object, or just an event type string\n\t\tevent = event[ jQuery.expando ] ?\n\t\t\tevent :\n\t\t\tnew jQuery.Event( type, typeof event === \"object\" && event );\n\n\t\t// Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true)\n\t\tevent.isTrigger = onlyHandlers ? 2 : 3;\n\t\tevent.namespace = namespaces.join( \".\" );\n\t\tevent.rnamespace = event.namespace ?\n\t\t\tnew RegExp( \"(^|\\\\.)\" + namespaces.join( \"\\\\.(?:.*\\\\.|)\" ) + \"(\\\\.|$)\" ) :\n\t\t\tnull;\n\n\t\t// Clean up the event in case it is being reused\n\t\tevent.result = undefined;\n\t\tif ( !event.target ) {\n\t\t\tevent.target = elem;\n\t\t}\n\n\t\t// Clone any incoming data and prepend the event, creating the handler arg list\n\t\tdata = data == null ?\n\t\t\t[ event ] :\n\t\t\tjQuery.makeArray( data, [ event ] );\n\n\t\t// Allow special events to draw outside the lines\n\t\tspecial = jQuery.event.special[ type ] || {};\n\t\tif ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Determine event propagation path in advance, per W3C events spec (#9951)\n\t\t// Bubble up to document, then to window; watch for a global ownerDocument var (#9724)\n\t\tif ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) {\n\n\t\t\tbubbleType = special.delegateType || type;\n\t\t\tif ( !rfocusMorph.test( bubbleType + type ) ) {\n\t\t\t\tcur = cur.parentNode;\n\t\t\t}\n\t\t\tfor ( ; cur; cur = cur.parentNode ) {\n\t\t\t\teventPath.push( cur );\n\t\t\t\ttmp = cur;\n\t\t\t}\n\n\t\t\t// Only add window if we got to document (e.g., not plain obj or detached DOM)\n\t\t\tif ( tmp === ( elem.ownerDocument || document ) ) {\n\t\t\t\teventPath.push( tmp.defaultView || tmp.parentWindow || window );\n\t\t\t}\n\t\t}\n\n\t\t// Fire handlers on the event path\n\t\ti = 0;\n\t\twhile ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) {\n\t\t\tlastElement = cur;\n\t\t\tevent.type = i > 1 ?\n\t\t\t\tbubbleType :\n\t\t\t\tspecial.bindType || type;\n\n\t\t\t// jQuery handler\n\t\t\thandle = ( dataPriv.get( cur, \"events\" ) || {} )[ event.type ] &&\n\t\t\t\tdataPriv.get( cur, \"handle\" );\n\t\t\tif ( handle ) {\n\t\t\t\thandle.apply( cur, data );\n\t\t\t}\n\n\t\t\t// Native handler\n\t\t\thandle = ontype && cur[ ontype ];\n\t\t\tif ( handle && handle.apply && acceptData( cur ) ) {\n\t\t\t\tevent.result = handle.apply( cur, data );\n\t\t\t\tif ( event.result === false ) {\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tevent.type = type;\n\n\t\t// If nobody prevented the default action, do it now\n\t\tif ( !onlyHandlers && !event.isDefaultPrevented() ) {\n\n\t\t\tif ( ( !special._default ||\n\t\t\t\tspecial._default.apply( eventPath.pop(), data ) === false ) &&\n\t\t\t\tacceptData( elem ) ) {\n\n\t\t\t\t// Call a native DOM method on the target with the same name as the event.\n\t\t\t\t// Don't do default actions on window, that's where global variables be (#6170)\n\t\t\t\tif ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) {\n\n\t\t\t\t\t// Don't re-trigger an onFOO event when we call its FOO() method\n\t\t\t\t\ttmp = elem[ ontype ];\n\n\t\t\t\t\tif ( tmp ) {\n\t\t\t\t\t\telem[ ontype ] = null;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Prevent re-triggering of the same event, since we already bubbled it above\n\t\t\t\t\tjQuery.event.triggered = type;\n\n\t\t\t\t\tif ( event.isPropagationStopped() ) {\n\t\t\t\t\t\tlastElement.addEventListener( type, stopPropagationCallback );\n\t\t\t\t\t}\n\n\t\t\t\t\telem[ type ]();\n\n\t\t\t\t\tif ( event.isPropagationStopped() ) {\n\t\t\t\t\t\tlastElement.removeEventListener( type, stopPropagationCallback );\n\t\t\t\t\t}\n\n\t\t\t\t\tjQuery.event.triggered = undefined;\n\n\t\t\t\t\tif ( tmp ) {\n\t\t\t\t\t\telem[ ontype ] = tmp;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn event.result;\n\t},\n\n\t// Piggyback on a donor event to simulate a different one\n\t// Used only for `focus(in | out)` events\n\tsimulate: function( type, elem, event ) {\n\t\tvar e = jQuery.extend(\n\t\t\tnew jQuery.Event(),\n\t\t\tevent,\n\t\t\t{\n\t\t\t\ttype: type,\n\t\t\t\tisSimulated: true\n\t\t\t}\n\t\t);\n\n\t\tjQuery.event.trigger( e, null, elem );\n\t}\n\n} );\n\njQuery.fn.extend( {\n\n\ttrigger: function( type, data ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.event.trigger( type, data, this );\n\t\t} );\n\t},\n\ttriggerHandler: function( type, data ) {\n\t\tvar elem = this[ 0 ];\n\t\tif ( elem ) {\n\t\t\treturn jQuery.event.trigger( type, data, elem, true );\n\t\t}\n\t}\n} );\n\n\n// Support: Firefox <=44\n// Firefox doesn't have focus(in | out) events\n// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787\n//\n// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1\n// focus(in | out) events fire after focus & blur events,\n// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order\n// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857\nif ( !support.focusin ) {\n\tjQuery.each( { focus: \"focusin\", blur: \"focusout\" }, function( orig, fix ) {\n\n\t\t// Attach a single capturing handler on the document while someone wants focusin/focusout\n\t\tvar handler = function( event ) {\n\t\t\tjQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) );\n\t\t};\n\n\t\tjQuery.event.special[ fix ] = {\n\t\t\tsetup: function() {\n\t\t\t\tvar doc = this.ownerDocument || this,\n\t\t\t\t\tattaches = dataPriv.access( doc, fix );\n\n\t\t\t\tif ( !attaches ) {\n\t\t\t\t\tdoc.addEventListener( orig, handler, true );\n\t\t\t\t}\n\t\t\t\tdataPriv.access( doc, fix, ( attaches || 0 ) + 1 );\n\t\t\t},\n\t\t\tteardown: function() {\n\t\t\t\tvar doc = this.ownerDocument || this,\n\t\t\t\t\tattaches = dataPriv.access( doc, fix ) - 1;\n\n\t\t\t\tif ( !attaches ) {\n\t\t\t\t\tdoc.removeEventListener( orig, handler, true );\n\t\t\t\t\tdataPriv.remove( doc, fix );\n\n\t\t\t\t} else {\n\t\t\t\t\tdataPriv.access( doc, fix, attaches );\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t} );\n}\nvar location = window.location;\n\nvar nonce = Date.now();\n\nvar rquery = ( /\\?/ );\n\n\n\n// Cross-browser xml parsing\njQuery.parseXML = function( data ) {\n\tvar xml;\n\tif ( !data || typeof data !== \"string\" ) {\n\t\treturn null;\n\t}\n\n\t// Support: IE 9 - 11 only\n\t// IE throws on parseFromString with invalid input.\n\ttry {\n\t\txml = ( new window.DOMParser() ).parseFromString( data, \"text/xml\" );\n\t} catch ( e ) {\n\t\txml = undefined;\n\t}\n\n\tif ( !xml || xml.getElementsByTagName( \"parsererror\" ).length ) {\n\t\tjQuery.error( \"Invalid XML: \" + data );\n\t}\n\treturn xml;\n};\n\n\nvar\n\trbracket = /\\[\\]$/,\n\trCRLF = /\\r?\\n/g,\n\trsubmitterTypes = /^(?:submit|button|image|reset|file)$/i,\n\trsubmittable = /^(?:input|select|textarea|keygen)/i;\n\nfunction buildParams( prefix, obj, traditional, add ) {\n\tvar name;\n\n\tif ( Array.isArray( obj ) ) {\n\n\t\t// Serialize array item.\n\t\tjQuery.each( obj, function( i, v ) {\n\t\t\tif ( traditional || rbracket.test( prefix ) ) {\n\n\t\t\t\t// Treat each array item as a scalar.\n\t\t\t\tadd( prefix, v );\n\n\t\t\t} else {\n\n\t\t\t\t// Item is non-scalar (array or object), encode its numeric index.\n\t\t\t\tbuildParams(\n\t\t\t\t\tprefix + \"[\" + ( typeof v === \"object\" && v != null ? i : \"\" ) + \"]\",\n\t\t\t\t\tv,\n\t\t\t\t\ttraditional,\n\t\t\t\t\tadd\n\t\t\t\t);\n\t\t\t}\n\t\t} );\n\n\t} else if ( !traditional && toType( obj ) === \"object\" ) {\n\n\t\t// Serialize object item.\n\t\tfor ( name in obj ) {\n\t\t\tbuildParams( prefix + \"[\" + name + \"]\", obj[ name ], traditional, add );\n\t\t}\n\n\t} else {\n\n\t\t// Serialize scalar item.\n\t\tadd( prefix, obj );\n\t}\n}\n\n// Serialize an array of form elements or a set of\n// key/values into a query string\njQuery.param = function( a, traditional ) {\n\tvar prefix,\n\t\ts = [],\n\t\tadd = function( key, valueOrFunction ) {\n\n\t\t\t// If value is a function, invoke it and use its return value\n\t\t\tvar value = isFunction( valueOrFunction ) ?\n\t\t\t\tvalueOrFunction() :\n\t\t\t\tvalueOrFunction;\n\n\t\t\ts[ s.length ] = encodeURIComponent( key ) + \"=\" +\n\t\t\t\tencodeURIComponent( value == null ? \"\" : value );\n\t\t};\n\n\tif ( a == null ) {\n\t\treturn \"\";\n\t}\n\n\t// If an array was passed in, assume that it is an array of form elements.\n\tif ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) {\n\n\t\t// Serialize the form elements\n\t\tjQuery.each( a, function() {\n\t\t\tadd( this.name, this.value );\n\t\t} );\n\n\t} else {\n\n\t\t// If traditional, encode the \"old\" way (the way 1.3.2 or older\n\t\t// did it), otherwise encode params recursively.\n\t\tfor ( prefix in a ) {\n\t\t\tbuildParams( prefix, a[ prefix ], traditional, add );\n\t\t}\n\t}\n\n\t// Return the resulting serialization\n\treturn s.join( \"&\" );\n};\n\njQuery.fn.extend( {\n\tserialize: function() {\n\t\treturn jQuery.param( this.serializeArray() );\n\t},\n\tserializeArray: function() {\n\t\treturn this.map( function() {\n\n\t\t\t// Can add propHook for \"elements\" to filter or add form elements\n\t\t\tvar elements = jQuery.prop( this, \"elements\" );\n\t\t\treturn elements ? jQuery.makeArray( elements ) : this;\n\t\t} )\n\t\t.filter( function() {\n\t\t\tvar type = this.type;\n\n\t\t\t// Use .is( \":disabled\" ) so that fieldset[disabled] works\n\t\t\treturn this.name && !jQuery( this ).is( \":disabled\" ) &&\n\t\t\t\trsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) &&\n\t\t\t\t( this.checked || !rcheckableType.test( type ) );\n\t\t} )\n\t\t.map( function( i, elem ) {\n\t\t\tvar val = jQuery( this ).val();\n\n\t\t\tif ( val == null ) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\tif ( Array.isArray( val ) ) {\n\t\t\t\treturn jQuery.map( val, function( val ) {\n\t\t\t\t\treturn { name: elem.name, value: val.replace( rCRLF, \"\\r\\n\" ) };\n\t\t\t\t} );\n\t\t\t}\n\n\t\t\treturn { name: elem.name, value: val.replace( rCRLF, \"\\r\\n\" ) };\n\t\t} ).get();\n\t}\n} );\n\n\nvar\n\tr20 = /%20/g,\n\trhash = /#.*$/,\n\trantiCache = /([?&])_=[^&]*/,\n\trheaders = /^(.*?):[ \\t]*([^\\r\\n]*)$/mg,\n\n\t// #7653, #8125, #8152: local protocol detection\n\trlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,\n\trnoContent = /^(?:GET|HEAD)$/,\n\trprotocol = /^\\/\\//,\n\n\t/* Prefilters\n\t * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)\n\t * 2) These are called:\n\t *    - BEFORE asking for a transport\n\t *    - AFTER param serialization (s.data is a string if s.processData is true)\n\t * 3) key is the dataType\n\t * 4) the catchall symbol \"*\" can be used\n\t * 5) execution will start with transport dataType and THEN continue down to \"*\" if needed\n\t */\n\tprefilters = {},\n\n\t/* Transports bindings\n\t * 1) key is the dataType\n\t * 2) the catchall symbol \"*\" can be used\n\t * 3) selection will start with transport dataType and THEN go to \"*\" if needed\n\t */\n\ttransports = {},\n\n\t// Avoid comment-prolog char sequence (#10098); must appease lint and evade compression\n\tallTypes = \"*/\".concat( \"*\" ),\n\n\t// Anchor tag for parsing the document origin\n\toriginAnchor = document.createElement( \"a\" );\n\toriginAnchor.href = location.href;\n\n// Base \"constructor\" for jQuery.ajaxPrefilter and jQuery.ajaxTransport\nfunction addToPrefiltersOrTransports( structure ) {\n\n\t// dataTypeExpression is optional and defaults to \"*\"\n\treturn function( dataTypeExpression, func ) {\n\n\t\tif ( typeof dataTypeExpression !== \"string\" ) {\n\t\t\tfunc = dataTypeExpression;\n\t\t\tdataTypeExpression = \"*\";\n\t\t}\n\n\t\tvar dataType,\n\t\t\ti = 0,\n\t\t\tdataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || [];\n\n\t\tif ( isFunction( func ) ) {\n\n\t\t\t// For each dataType in the dataTypeExpression\n\t\t\twhile ( ( dataType = dataTypes[ i++ ] ) ) {\n\n\t\t\t\t// Prepend if requested\n\t\t\t\tif ( dataType[ 0 ] === \"+\" ) {\n\t\t\t\t\tdataType = dataType.slice( 1 ) || \"*\";\n\t\t\t\t\t( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func );\n\n\t\t\t\t// Otherwise append\n\t\t\t\t} else {\n\t\t\t\t\t( structure[ dataType ] = structure[ dataType ] || [] ).push( func );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n}\n\n// Base inspection function for prefilters and transports\nfunction inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {\n\n\tvar inspected = {},\n\t\tseekingTransport = ( structure === transports );\n\n\tfunction inspect( dataType ) {\n\t\tvar selected;\n\t\tinspected[ dataType ] = true;\n\t\tjQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) {\n\t\t\tvar dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR );\n\t\t\tif ( typeof dataTypeOrTransport === \"string\" &&\n\t\t\t\t!seekingTransport && !inspected[ dataTypeOrTransport ] ) {\n\n\t\t\t\toptions.dataTypes.unshift( dataTypeOrTransport );\n\t\t\t\tinspect( dataTypeOrTransport );\n\t\t\t\treturn false;\n\t\t\t} else if ( seekingTransport ) {\n\t\t\t\treturn !( selected = dataTypeOrTransport );\n\t\t\t}\n\t\t} );\n\t\treturn selected;\n\t}\n\n\treturn inspect( options.dataTypes[ 0 ] ) || !inspected[ \"*\" ] && inspect( \"*\" );\n}\n\n// A special extend for ajax options\n// that takes \"flat\" options (not to be deep extended)\n// Fixes #9887\nfunction ajaxExtend( target, src ) {\n\tvar key, deep,\n\t\tflatOptions = jQuery.ajaxSettings.flatOptions || {};\n\n\tfor ( key in src ) {\n\t\tif ( src[ key ] !== undefined ) {\n\t\t\t( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ];\n\t\t}\n\t}\n\tif ( deep ) {\n\t\tjQuery.extend( true, target, deep );\n\t}\n\n\treturn target;\n}\n\n/* Handles responses to an ajax request:\n * - finds the right dataType (mediates between content-type and expected dataType)\n * - returns the corresponding response\n */\nfunction ajaxHandleResponses( s, jqXHR, responses ) {\n\n\tvar ct, type, finalDataType, firstDataType,\n\t\tcontents = s.contents,\n\t\tdataTypes = s.dataTypes;\n\n\t// Remove auto dataType and get content-type in the process\n\twhile ( dataTypes[ 0 ] === \"*\" ) {\n\t\tdataTypes.shift();\n\t\tif ( ct === undefined ) {\n\t\t\tct = s.mimeType || jqXHR.getResponseHeader( \"Content-Type\" );\n\t\t}\n\t}\n\n\t// Check if we're dealing with a known content-type\n\tif ( ct ) {\n\t\tfor ( type in contents ) {\n\t\t\tif ( contents[ type ] && contents[ type ].test( ct ) ) {\n\t\t\t\tdataTypes.unshift( type );\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Check to see if we have a response for the expected dataType\n\tif ( dataTypes[ 0 ] in responses ) {\n\t\tfinalDataType = dataTypes[ 0 ];\n\t} else {\n\n\t\t// Try convertible dataTypes\n\t\tfor ( type in responses ) {\n\t\t\tif ( !dataTypes[ 0 ] || s.converters[ type + \" \" + dataTypes[ 0 ] ] ) {\n\t\t\t\tfinalDataType = type;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif ( !firstDataType ) {\n\t\t\t\tfirstDataType = type;\n\t\t\t}\n\t\t}\n\n\t\t// Or just use first one\n\t\tfinalDataType = finalDataType || firstDataType;\n\t}\n\n\t// If we found a dataType\n\t// We add the dataType to the list if needed\n\t// and return the corresponding response\n\tif ( finalDataType ) {\n\t\tif ( finalDataType !== dataTypes[ 0 ] ) {\n\t\t\tdataTypes.unshift( finalDataType );\n\t\t}\n\t\treturn responses[ finalDataType ];\n\t}\n}\n\n/* Chain conversions given the request and the original response\n * Also sets the responseXXX fields on the jqXHR instance\n */\nfunction ajaxConvert( s, response, jqXHR, isSuccess ) {\n\tvar conv2, current, conv, tmp, prev,\n\t\tconverters = {},\n\n\t\t// Work with a copy of dataTypes in case we need to modify it for conversion\n\t\tdataTypes = s.dataTypes.slice();\n\n\t// Create converters map with lowercased keys\n\tif ( dataTypes[ 1 ] ) {\n\t\tfor ( conv in s.converters ) {\n\t\t\tconverters[ conv.toLowerCase() ] = s.converters[ conv ];\n\t\t}\n\t}\n\n\tcurrent = dataTypes.shift();\n\n\t// Convert to each sequential dataType\n\twhile ( current ) {\n\n\t\tif ( s.responseFields[ current ] ) {\n\t\t\tjqXHR[ s.responseFields[ current ] ] = response;\n\t\t}\n\n\t\t// Apply the dataFilter if provided\n\t\tif ( !prev && isSuccess && s.dataFilter ) {\n\t\t\tresponse = s.dataFilter( response, s.dataType );\n\t\t}\n\n\t\tprev = current;\n\t\tcurrent = dataTypes.shift();\n\n\t\tif ( current ) {\n\n\t\t\t// There's only work to do if current dataType is non-auto\n\t\t\tif ( current === \"*\" ) {\n\n\t\t\t\tcurrent = prev;\n\n\t\t\t// Convert response if prev dataType is non-auto and differs from current\n\t\t\t} else if ( prev !== \"*\" && prev !== current ) {\n\n\t\t\t\t// Seek a direct converter\n\t\t\t\tconv = converters[ prev + \" \" + current ] || converters[ \"* \" + current ];\n\n\t\t\t\t// If none found, seek a pair\n\t\t\t\tif ( !conv ) {\n\t\t\t\t\tfor ( conv2 in converters ) {\n\n\t\t\t\t\t\t// If conv2 outputs current\n\t\t\t\t\t\ttmp = conv2.split( \" \" );\n\t\t\t\t\t\tif ( tmp[ 1 ] === current ) {\n\n\t\t\t\t\t\t\t// If prev can be converted to accepted input\n\t\t\t\t\t\t\tconv = converters[ prev + \" \" + tmp[ 0 ] ] ||\n\t\t\t\t\t\t\t\tconverters[ \"* \" + tmp[ 0 ] ];\n\t\t\t\t\t\t\tif ( conv ) {\n\n\t\t\t\t\t\t\t\t// Condense equivalence converters\n\t\t\t\t\t\t\t\tif ( conv === true ) {\n\t\t\t\t\t\t\t\t\tconv = converters[ conv2 ];\n\n\t\t\t\t\t\t\t\t// Otherwise, insert the intermediate dataType\n\t\t\t\t\t\t\t\t} else if ( converters[ conv2 ] !== true ) {\n\t\t\t\t\t\t\t\t\tcurrent = tmp[ 0 ];\n\t\t\t\t\t\t\t\t\tdataTypes.unshift( tmp[ 1 ] );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Apply converter (if not an equivalence)\n\t\t\t\tif ( conv !== true ) {\n\n\t\t\t\t\t// Unless errors are allowed to bubble, catch and return them\n\t\t\t\t\tif ( conv && s.throws ) {\n\t\t\t\t\t\tresponse = conv( response );\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tresponse = conv( response );\n\t\t\t\t\t\t} catch ( e ) {\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\tstate: \"parsererror\",\n\t\t\t\t\t\t\t\terror: conv ? e : \"No conversion from \" + prev + \" to \" + current\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn { state: \"success\", data: response };\n}\n\njQuery.extend( {\n\n\t// Counter for holding the number of active queries\n\tactive: 0,\n\n\t// Last-Modified header cache for next request\n\tlastModified: {},\n\tetag: {},\n\n\tajaxSettings: {\n\t\turl: location.href,\n\t\ttype: \"GET\",\n\t\tisLocal: rlocalProtocol.test( location.protocol ),\n\t\tglobal: true,\n\t\tprocessData: true,\n\t\tasync: true,\n\t\tcontentType: \"application/x-www-form-urlencoded; charset=UTF-8\",\n\n\t\t/*\n\t\ttimeout: 0,\n\t\tdata: null,\n\t\tdataType: null,\n\t\tusername: null,\n\t\tpassword: null,\n\t\tcache: null,\n\t\tthrows: false,\n\t\ttraditional: false,\n\t\theaders: {},\n\t\t*/\n\n\t\taccepts: {\n\t\t\t\"*\": allTypes,\n\t\t\ttext: \"text/plain\",\n\t\t\thtml: \"text/html\",\n\t\t\txml: \"application/xml, text/xml\",\n\t\t\tjson: \"application/json, text/javascript\"\n\t\t},\n\n\t\tcontents: {\n\t\t\txml: /\\bxml\\b/,\n\t\t\thtml: /\\bhtml/,\n\t\t\tjson: /\\bjson\\b/\n\t\t},\n\n\t\tresponseFields: {\n\t\t\txml: \"responseXML\",\n\t\t\ttext: \"responseText\",\n\t\t\tjson: \"responseJSON\"\n\t\t},\n\n\t\t// Data converters\n\t\t// Keys separate source (or catchall \"*\") and destination types with a single space\n\t\tconverters: {\n\n\t\t\t// Convert anything to text\n\t\t\t\"* text\": String,\n\n\t\t\t// Text to html (true = no transformation)\n\t\t\t\"text html\": true,\n\n\t\t\t// Evaluate text as a json expression\n\t\t\t\"text json\": JSON.parse,\n\n\t\t\t// Parse text as xml\n\t\t\t\"text xml\": jQuery.parseXML\n\t\t},\n\n\t\t// For options that shouldn't be deep extended:\n\t\t// you can add your own custom options here if\n\t\t// and when you create one that shouldn't be\n\t\t// deep extended (see ajaxExtend)\n\t\tflatOptions: {\n\t\t\turl: true,\n\t\t\tcontext: true\n\t\t}\n\t},\n\n\t// Creates a full fledged settings object into target\n\t// with both ajaxSettings and settings fields.\n\t// If target is omitted, writes into ajaxSettings.\n\tajaxSetup: function( target, settings ) {\n\t\treturn settings ?\n\n\t\t\t// Building a settings object\n\t\t\tajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) :\n\n\t\t\t// Extending ajaxSettings\n\t\t\tajaxExtend( jQuery.ajaxSettings, target );\n\t},\n\n\tajaxPrefilter: addToPrefiltersOrTransports( prefilters ),\n\tajaxTransport: addToPrefiltersOrTransports( transports ),\n\n\t// Main method\n\tajax: function( url, options ) {\n\n\t\t// If url is an object, simulate pre-1.5 signature\n\t\tif ( typeof url === \"object\" ) {\n\t\t\toptions = url;\n\t\t\turl = undefined;\n\t\t}\n\n\t\t// Force options to be an object\n\t\toptions = options || {};\n\n\t\tvar transport,\n\n\t\t\t// URL without anti-cache param\n\t\t\tcacheURL,\n\n\t\t\t// Response headers\n\t\t\tresponseHeadersString,\n\t\t\tresponseHeaders,\n\n\t\t\t// timeout handle\n\t\t\ttimeoutTimer,\n\n\t\t\t// Url cleanup var\n\t\t\turlAnchor,\n\n\t\t\t// Request state (becomes false upon send and true upon completion)\n\t\t\tcompleted,\n\n\t\t\t// To know if global events are to be dispatched\n\t\t\tfireGlobals,\n\n\t\t\t// Loop variable\n\t\t\ti,\n\n\t\t\t// uncached part of the url\n\t\t\tuncached,\n\n\t\t\t// Create the final options object\n\t\t\ts = jQuery.ajaxSetup( {}, options ),\n\n\t\t\t// Callbacks context\n\t\t\tcallbackContext = s.context || s,\n\n\t\t\t// Context for global events is callbackContext if it is a DOM node or jQuery collection\n\t\t\tglobalEventContext = s.context &&\n\t\t\t\t( callbackContext.nodeType || callbackContext.jquery ) ?\n\t\t\t\t\tjQuery( callbackContext ) :\n\t\t\t\t\tjQuery.event,\n\n\t\t\t// Deferreds\n\t\t\tdeferred = jQuery.Deferred(),\n\t\t\tcompleteDeferred = jQuery.Callbacks( \"once memory\" ),\n\n\t\t\t// Status-dependent callbacks\n\t\t\tstatusCode = s.statusCode || {},\n\n\t\t\t// Headers (they are sent all at once)\n\t\t\trequestHeaders = {},\n\t\t\trequestHeadersNames = {},\n\n\t\t\t// Default abort message\n\t\t\tstrAbort = \"canceled\",\n\n\t\t\t// Fake xhr\n\t\t\tjqXHR = {\n\t\t\t\treadyState: 0,\n\n\t\t\t\t// Builds headers hashtable if needed\n\t\t\t\tgetResponseHeader: function( key ) {\n\t\t\t\t\tvar match;\n\t\t\t\t\tif ( completed ) {\n\t\t\t\t\t\tif ( !responseHeaders ) {\n\t\t\t\t\t\t\tresponseHeaders = {};\n\t\t\t\t\t\t\twhile ( ( match = rheaders.exec( responseHeadersString ) ) ) {\n\t\t\t\t\t\t\t\tresponseHeaders[ match[ 1 ].toLowerCase() + \" \" ] =\n\t\t\t\t\t\t\t\t\t( responseHeaders[ match[ 1 ].toLowerCase() + \" \" ] || [] )\n\t\t\t\t\t\t\t\t\t\t.concat( match[ 2 ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tmatch = responseHeaders[ key.toLowerCase() + \" \" ];\n\t\t\t\t\t}\n\t\t\t\t\treturn match == null ? null : match.join( \", \" );\n\t\t\t\t},\n\n\t\t\t\t// Raw string\n\t\t\t\tgetAllResponseHeaders: function() {\n\t\t\t\t\treturn completed ? responseHeadersString : null;\n\t\t\t\t},\n\n\t\t\t\t// Caches the header\n\t\t\t\tsetRequestHeader: function( name, value ) {\n\t\t\t\t\tif ( completed == null ) {\n\t\t\t\t\t\tname = requestHeadersNames[ name.toLowerCase() ] =\n\t\t\t\t\t\t\trequestHeadersNames[ name.toLowerCase() ] || name;\n\t\t\t\t\t\trequestHeaders[ name ] = value;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Overrides response content-type header\n\t\t\t\toverrideMimeType: function( type ) {\n\t\t\t\t\tif ( completed == null ) {\n\t\t\t\t\t\ts.mimeType = type;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Status-dependent callbacks\n\t\t\t\tstatusCode: function( map ) {\n\t\t\t\t\tvar code;\n\t\t\t\t\tif ( map ) {\n\t\t\t\t\t\tif ( completed ) {\n\n\t\t\t\t\t\t\t// Execute the appropriate callbacks\n\t\t\t\t\t\t\tjqXHR.always( map[ jqXHR.status ] );\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t// Lazy-add the new callbacks in a way that preserves old ones\n\t\t\t\t\t\t\tfor ( code in map ) {\n\t\t\t\t\t\t\t\tstatusCode[ code ] = [ statusCode[ code ], map[ code ] ];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Cancel the request\n\t\t\t\tabort: function( statusText ) {\n\t\t\t\t\tvar finalText = statusText || strAbort;\n\t\t\t\t\tif ( transport ) {\n\t\t\t\t\t\ttransport.abort( finalText );\n\t\t\t\t\t}\n\t\t\t\t\tdone( 0, finalText );\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t};\n\n\t\t// Attach deferreds\n\t\tdeferred.promise( jqXHR );\n\n\t\t// Add protocol if not provided (prefilters might expect it)\n\t\t// Handle falsy url in the settings object (#10093: consistency with old signature)\n\t\t// We also use the url parameter if available\n\t\ts.url = ( ( url || s.url || location.href ) + \"\" )\n\t\t\t.replace( rprotocol, location.protocol + \"//\" );\n\n\t\t// Alias method option to type as per ticket #12004\n\t\ts.type = options.method || options.type || s.method || s.type;\n\n\t\t// Extract dataTypes list\n\t\ts.dataTypes = ( s.dataType || \"*\" ).toLowerCase().match( rnothtmlwhite ) || [ \"\" ];\n\n\t\t// A cross-domain request is in order when the origin doesn't match the current origin.\n\t\tif ( s.crossDomain == null ) {\n\t\t\turlAnchor = document.createElement( \"a\" );\n\n\t\t\t// Support: IE <=8 - 11, Edge 12 - 15\n\t\t\t// IE throws exception on accessing the href property if url is malformed,\n\t\t\t// e.g. http://example.com:80x/\n\t\t\ttry {\n\t\t\t\turlAnchor.href = s.url;\n\n\t\t\t\t// Support: IE <=8 - 11 only\n\t\t\t\t// Anchor's host property isn't correctly set when s.url is relative\n\t\t\t\turlAnchor.href = urlAnchor.href;\n\t\t\t\ts.crossDomain = originAnchor.protocol + \"//\" + originAnchor.host !==\n\t\t\t\t\turlAnchor.protocol + \"//\" + urlAnchor.host;\n\t\t\t} catch ( e ) {\n\n\t\t\t\t// If there is an error parsing the URL, assume it is crossDomain,\n\t\t\t\t// it can be rejected by the transport if it is invalid\n\t\t\t\ts.crossDomain = true;\n\t\t\t}\n\t\t}\n\n\t\t// Convert data if not already a string\n\t\tif ( s.data && s.processData && typeof s.data !== \"string\" ) {\n\t\t\ts.data = jQuery.param( s.data, s.traditional );\n\t\t}\n\n\t\t// Apply prefilters\n\t\tinspectPrefiltersOrTransports( prefilters, s, options, jqXHR );\n\n\t\t// If request was aborted inside a prefilter, stop there\n\t\tif ( completed ) {\n\t\t\treturn jqXHR;\n\t\t}\n\n\t\t// We can fire global events as of now if asked to\n\t\t// Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118)\n\t\tfireGlobals = jQuery.event && s.global;\n\n\t\t// Watch for a new set of requests\n\t\tif ( fireGlobals && jQuery.active++ === 0 ) {\n\t\t\tjQuery.event.trigger( \"ajaxStart\" );\n\t\t}\n\n\t\t// Uppercase the type\n\t\ts.type = s.type.toUpperCase();\n\n\t\t// Determine if request has content\n\t\ts.hasContent = !rnoContent.test( s.type );\n\n\t\t// Save the URL in case we're toying with the If-Modified-Since\n\t\t// and/or If-None-Match header later on\n\t\t// Remove hash to simplify url manipulation\n\t\tcacheURL = s.url.replace( rhash, \"\" );\n\n\t\t// More options handling for requests with no content\n\t\tif ( !s.hasContent ) {\n\n\t\t\t// Remember the hash so we can put it back\n\t\t\tuncached = s.url.slice( cacheURL.length );\n\n\t\t\t// If data is available and should be processed, append data to url\n\t\t\tif ( s.data && ( s.processData || typeof s.data === \"string\" ) ) {\n\t\t\t\tcacheURL += ( rquery.test( cacheURL ) ? \"&\" : \"?\" ) + s.data;\n\n\t\t\t\t// #9682: remove data so that it's not used in an eventual retry\n\t\t\t\tdelete s.data;\n\t\t\t}\n\n\t\t\t// Add or update anti-cache param if needed\n\t\t\tif ( s.cache === false ) {\n\t\t\t\tcacheURL = cacheURL.replace( rantiCache, \"$1\" );\n\t\t\t\tuncached = ( rquery.test( cacheURL ) ? \"&\" : \"?\" ) + \"_=\" + ( nonce++ ) + uncached;\n\t\t\t}\n\n\t\t\t// Put hash and anti-cache on the URL that will be requested (gh-1732)\n\t\t\ts.url = cacheURL + uncached;\n\n\t\t// Change '%20' to '+' if this is encoded form body content (gh-2658)\n\t\t} else if ( s.data && s.processData &&\n\t\t\t( s.contentType || \"\" ).indexOf( \"application/x-www-form-urlencoded\" ) === 0 ) {\n\t\t\ts.data = s.data.replace( r20, \"+\" );\n\t\t}\n\n\t\t// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n\t\tif ( s.ifModified ) {\n\t\t\tif ( jQuery.lastModified[ cacheURL ] ) {\n\t\t\t\tjqXHR.setRequestHeader( \"If-Modified-Since\", jQuery.lastModified[ cacheURL ] );\n\t\t\t}\n\t\t\tif ( jQuery.etag[ cacheURL ] ) {\n\t\t\t\tjqXHR.setRequestHeader( \"If-None-Match\", jQuery.etag[ cacheURL ] );\n\t\t\t}\n\t\t}\n\n\t\t// Set the correct header, if data is being sent\n\t\tif ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {\n\t\t\tjqXHR.setRequestHeader( \"Content-Type\", s.contentType );\n\t\t}\n\n\t\t// Set the Accepts header for the server, depending on the dataType\n\t\tjqXHR.setRequestHeader(\n\t\t\t\"Accept\",\n\t\t\ts.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ?\n\t\t\t\ts.accepts[ s.dataTypes[ 0 ] ] +\n\t\t\t\t\t( s.dataTypes[ 0 ] !== \"*\" ? \", \" + allTypes + \"; q=0.01\" : \"\" ) :\n\t\t\t\ts.accepts[ \"*\" ]\n\t\t);\n\n\t\t// Check for headers option\n\t\tfor ( i in s.headers ) {\n\t\t\tjqXHR.setRequestHeader( i, s.headers[ i ] );\n\t\t}\n\n\t\t// Allow custom headers/mimetypes and early abort\n\t\tif ( s.beforeSend &&\n\t\t\t( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) {\n\n\t\t\t// Abort if not done already and return\n\t\t\treturn jqXHR.abort();\n\t\t}\n\n\t\t// Aborting is no longer a cancellation\n\t\tstrAbort = \"abort\";\n\n\t\t// Install callbacks on deferreds\n\t\tcompleteDeferred.add( s.complete );\n\t\tjqXHR.done( s.success );\n\t\tjqXHR.fail( s.error );\n\n\t\t// Get transport\n\t\ttransport = inspectPrefiltersOrTransports( transports, s, options, jqXHR );\n\n\t\t// If no transport, we auto-abort\n\t\tif ( !transport ) {\n\t\t\tdone( -1, \"No Transport\" );\n\t\t} else {\n\t\t\tjqXHR.readyState = 1;\n\n\t\t\t// Send global event\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( \"ajaxSend\", [ jqXHR, s ] );\n\t\t\t}\n\n\t\t\t// If request was aborted inside ajaxSend, stop there\n\t\t\tif ( completed ) {\n\t\t\t\treturn jqXHR;\n\t\t\t}\n\n\t\t\t// Timeout\n\t\t\tif ( s.async && s.timeout > 0 ) {\n\t\t\t\ttimeoutTimer = window.setTimeout( function() {\n\t\t\t\t\tjqXHR.abort( \"timeout\" );\n\t\t\t\t}, s.timeout );\n\t\t\t}\n\n\t\t\ttry {\n\t\t\t\tcompleted = false;\n\t\t\t\ttransport.send( requestHeaders, done );\n\t\t\t} catch ( e ) {\n\n\t\t\t\t// Rethrow post-completion exceptions\n\t\t\t\tif ( completed ) {\n\t\t\t\t\tthrow e;\n\t\t\t\t}\n\n\t\t\t\t// Propagate others as results\n\t\t\t\tdone( -1, e );\n\t\t\t}\n\t\t}\n\n\t\t// Callback for when everything is done\n\t\tfunction done( status, nativeStatusText, responses, headers ) {\n\t\t\tvar isSuccess, success, error, response, modified,\n\t\t\t\tstatusText = nativeStatusText;\n\n\t\t\t// Ignore repeat invocations\n\t\t\tif ( completed ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tcompleted = true;\n\n\t\t\t// Clear timeout if it exists\n\t\t\tif ( timeoutTimer ) {\n\t\t\t\twindow.clearTimeout( timeoutTimer );\n\t\t\t}\n\n\t\t\t// Dereference transport for early garbage collection\n\t\t\t// (no matter how long the jqXHR object will be used)\n\t\t\ttransport = undefined;\n\n\t\t\t// Cache response headers\n\t\t\tresponseHeadersString = headers || \"\";\n\n\t\t\t// Set readyState\n\t\t\tjqXHR.readyState = status > 0 ? 4 : 0;\n\n\t\t\t// Determine if successful\n\t\t\tisSuccess = status >= 200 && status < 300 || status === 304;\n\n\t\t\t// Get response data\n\t\t\tif ( responses ) {\n\t\t\t\tresponse = ajaxHandleResponses( s, jqXHR, responses );\n\t\t\t}\n\n\t\t\t// Convert no matter what (that way responseXXX fields are always set)\n\t\t\tresponse = ajaxConvert( s, response, jqXHR, isSuccess );\n\n\t\t\t// If successful, handle type chaining\n\t\t\tif ( isSuccess ) {\n\n\t\t\t\t// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n\t\t\t\tif ( s.ifModified ) {\n\t\t\t\t\tmodified = jqXHR.getResponseHeader( \"Last-Modified\" );\n\t\t\t\t\tif ( modified ) {\n\t\t\t\t\t\tjQuery.lastModified[ cacheURL ] = modified;\n\t\t\t\t\t}\n\t\t\t\t\tmodified = jqXHR.getResponseHeader( \"etag\" );\n\t\t\t\t\tif ( modified ) {\n\t\t\t\t\t\tjQuery.etag[ cacheURL ] = modified;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// if no content\n\t\t\t\tif ( status === 204 || s.type === \"HEAD\" ) {\n\t\t\t\t\tstatusText = \"nocontent\";\n\n\t\t\t\t// if not modified\n\t\t\t\t} else if ( status === 304 ) {\n\t\t\t\t\tstatusText = \"notmodified\";\n\n\t\t\t\t// If we have data, let's convert it\n\t\t\t\t} else {\n\t\t\t\t\tstatusText = response.state;\n\t\t\t\t\tsuccess = response.data;\n\t\t\t\t\terror = response.error;\n\t\t\t\t\tisSuccess = !error;\n\t\t\t\t}\n\t\t\t} else {\n\n\t\t\t\t// Extract error from statusText and normalize for non-aborts\n\t\t\t\terror = statusText;\n\t\t\t\tif ( status || !statusText ) {\n\t\t\t\t\tstatusText = \"error\";\n\t\t\t\t\tif ( status < 0 ) {\n\t\t\t\t\t\tstatus = 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Set data for the fake xhr object\n\t\t\tjqXHR.status = status;\n\t\t\tjqXHR.statusText = ( nativeStatusText || statusText ) + \"\";\n\n\t\t\t// Success/Error\n\t\t\tif ( isSuccess ) {\n\t\t\t\tdeferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );\n\t\t\t} else {\n\t\t\t\tdeferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );\n\t\t\t}\n\n\t\t\t// Status-dependent callbacks\n\t\t\tjqXHR.statusCode( statusCode );\n\t\t\tstatusCode = undefined;\n\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( isSuccess ? \"ajaxSuccess\" : \"ajaxError\",\n\t\t\t\t\t[ jqXHR, s, isSuccess ? success : error ] );\n\t\t\t}\n\n\t\t\t// Complete\n\t\t\tcompleteDeferred.fireWith( callbackContext, [ jqXHR, statusText ] );\n\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( \"ajaxComplete\", [ jqXHR, s ] );\n\n\t\t\t\t// Handle the global AJAX counter\n\t\t\t\tif ( !( --jQuery.active ) ) {\n\t\t\t\t\tjQuery.event.trigger( \"ajaxStop\" );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn jqXHR;\n\t},\n\n\tgetJSON: function( url, data, callback ) {\n\t\treturn jQuery.get( url, data, callback, \"json\" );\n\t},\n\n\tgetScript: function( url, callback ) {\n\t\treturn jQuery.get( url, undefined, callback, \"script\" );\n\t}\n} );\n\njQuery.each( [ \"get\", \"post\" ], function( i, method ) {\n\tjQuery[ method ] = function( url, data, callback, type ) {\n\n\t\t// Shift arguments if data argument was omitted\n\t\tif ( isFunction( data ) ) {\n\t\t\ttype = type || callback;\n\t\t\tcallback = data;\n\t\t\tdata = undefined;\n\t\t}\n\n\t\t// The url can be an options object (which then must have .url)\n\t\treturn jQuery.ajax( jQuery.extend( {\n\t\t\turl: url,\n\t\t\ttype: method,\n\t\t\tdataType: type,\n\t\t\tdata: data,\n\t\t\tsuccess: callback\n\t\t}, jQuery.isPlainObject( url ) && url ) );\n\t};\n} );\n\n\njQuery._evalUrl = function( url, options ) {\n\treturn jQuery.ajax( {\n\t\turl: url,\n\n\t\t// Make this explicit, since user can override this through ajaxSetup (#11264)\n\t\ttype: \"GET\",\n\t\tdataType: \"script\",\n\t\tcache: true,\n\t\tasync: false,\n\t\tglobal: false,\n\n\t\t// Only evaluate the response if it is successful (gh-4126)\n\t\t// dataFilter is not invoked for failure responses, so using it instead\n\t\t// of the default converter is kludgy but it works.\n\t\tconverters: {\n\t\t\t\"text script\": function() {}\n\t\t},\n\t\tdataFilter: function( response ) {\n\t\t\tjQuery.globalEval( response, options );\n\t\t}\n\t} );\n};\n\n\njQuery.fn.extend( {\n\twrapAll: function( html ) {\n\t\tvar wrap;\n\n\t\tif ( this[ 0 ] ) {\n\t\t\tif ( isFunction( html ) ) {\n\t\t\t\thtml = html.call( this[ 0 ] );\n\t\t\t}\n\n\t\t\t// The elements to wrap the target around\n\t\t\twrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true );\n\n\t\t\tif ( this[ 0 ].parentNode ) {\n\t\t\t\twrap.insertBefore( this[ 0 ] );\n\t\t\t}\n\n\t\t\twrap.map( function() {\n\t\t\t\tvar elem = this;\n\n\t\t\t\twhile ( elem.firstElementChild ) {\n\t\t\t\t\telem = elem.firstElementChild;\n\t\t\t\t}\n\n\t\t\t\treturn elem;\n\t\t\t} ).append( this );\n\t\t}\n\n\t\treturn this;\n\t},\n\n\twrapInner: function( html ) {\n\t\tif ( isFunction( html ) ) {\n\t\t\treturn this.each( function( i ) {\n\t\t\t\tjQuery( this ).wrapInner( html.call( this, i ) );\n\t\t\t} );\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tvar self = jQuery( this ),\n\t\t\t\tcontents = self.contents();\n\n\t\t\tif ( contents.length ) {\n\t\t\t\tcontents.wrapAll( html );\n\n\t\t\t} else {\n\t\t\t\tself.append( html );\n\t\t\t}\n\t\t} );\n\t},\n\n\twrap: function( html ) {\n\t\tvar htmlIsFunction = isFunction( html );\n\n\t\treturn this.each( function( i ) {\n\t\t\tjQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html );\n\t\t} );\n\t},\n\n\tunwrap: function( selector ) {\n\t\tthis.parent( selector ).not( \"body\" ).each( function() {\n\t\t\tjQuery( this ).replaceWith( this.childNodes );\n\t\t} );\n\t\treturn this;\n\t}\n} );\n\n\njQuery.expr.pseudos.hidden = function( elem ) {\n\treturn !jQuery.expr.pseudos.visible( elem );\n};\njQuery.expr.pseudos.visible = function( elem ) {\n\treturn !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length );\n};\n\n\n\n\njQuery.ajaxSettings.xhr = function() {\n\ttry {\n\t\treturn new window.XMLHttpRequest();\n\t} catch ( e ) {}\n};\n\nvar xhrSuccessStatus = {\n\n\t\t// File protocol always yields status code 0, assume 200\n\t\t0: 200,\n\n\t\t// Support: IE <=9 only\n\t\t// #1450: sometimes IE returns 1223 when it should be 204\n\t\t1223: 204\n\t},\n\txhrSupported = jQuery.ajaxSettings.xhr();\n\nsupport.cors = !!xhrSupported && ( \"withCredentials\" in xhrSupported );\nsupport.ajax = xhrSupported = !!xhrSupported;\n\njQuery.ajaxTransport( function( options ) {\n\tvar callback, errorCallback;\n\n\t// Cross domain only allowed if supported through XMLHttpRequest\n\tif ( support.cors || xhrSupported && !options.crossDomain ) {\n\t\treturn {\n\t\t\tsend: function( headers, complete ) {\n\t\t\t\tvar i,\n\t\t\t\t\txhr = options.xhr();\n\n\t\t\t\txhr.open(\n\t\t\t\t\toptions.type,\n\t\t\t\t\toptions.url,\n\t\t\t\t\toptions.async,\n\t\t\t\t\toptions.username,\n\t\t\t\t\toptions.password\n\t\t\t\t);\n\n\t\t\t\t// Apply custom fields if provided\n\t\t\t\tif ( options.xhrFields ) {\n\t\t\t\t\tfor ( i in options.xhrFields ) {\n\t\t\t\t\t\txhr[ i ] = options.xhrFields[ i ];\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Override mime type if needed\n\t\t\t\tif ( options.mimeType && xhr.overrideMimeType ) {\n\t\t\t\t\txhr.overrideMimeType( options.mimeType );\n\t\t\t\t}\n\n\t\t\t\t// X-Requested-With header\n\t\t\t\t// For cross-domain requests, seeing as conditions for a preflight are\n\t\t\t\t// akin to a jigsaw puzzle, we simply never set it to be sure.\n\t\t\t\t// (it can always be set on a per-request basis or even using ajaxSetup)\n\t\t\t\t// For same-domain requests, won't change header if already provided.\n\t\t\t\tif ( !options.crossDomain && !headers[ \"X-Requested-With\" ] ) {\n\t\t\t\t\theaders[ \"X-Requested-With\" ] = \"XMLHttpRequest\";\n\t\t\t\t}\n\n\t\t\t\t// Set headers\n\t\t\t\tfor ( i in headers ) {\n\t\t\t\t\txhr.setRequestHeader( i, headers[ i ] );\n\t\t\t\t}\n\n\t\t\t\t// Callback\n\t\t\t\tcallback = function( type ) {\n\t\t\t\t\treturn function() {\n\t\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\t\tcallback = errorCallback = xhr.onload =\n\t\t\t\t\t\t\t\txhr.onerror = xhr.onabort = xhr.ontimeout =\n\t\t\t\t\t\t\t\t\txhr.onreadystatechange = null;\n\n\t\t\t\t\t\t\tif ( type === \"abort\" ) {\n\t\t\t\t\t\t\t\txhr.abort();\n\t\t\t\t\t\t\t} else if ( type === \"error\" ) {\n\n\t\t\t\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t\t\t\t// On a manual native abort, IE9 throws\n\t\t\t\t\t\t\t\t// errors on any property access that is not readyState\n\t\t\t\t\t\t\t\tif ( typeof xhr.status !== \"number\" ) {\n\t\t\t\t\t\t\t\t\tcomplete( 0, \"error\" );\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tcomplete(\n\n\t\t\t\t\t\t\t\t\t\t// File: protocol always yields status 0; see #8605, #14207\n\t\t\t\t\t\t\t\t\t\txhr.status,\n\t\t\t\t\t\t\t\t\t\txhr.statusText\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tcomplete(\n\t\t\t\t\t\t\t\t\txhrSuccessStatus[ xhr.status ] || xhr.status,\n\t\t\t\t\t\t\t\t\txhr.statusText,\n\n\t\t\t\t\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t\t\t\t\t// IE9 has no XHR2 but throws on binary (trac-11426)\n\t\t\t\t\t\t\t\t\t// For XHR2 non-text, let the caller handle it (gh-2498)\n\t\t\t\t\t\t\t\t\t( xhr.responseType || \"text\" ) !== \"text\"  ||\n\t\t\t\t\t\t\t\t\ttypeof xhr.responseText !== \"string\" ?\n\t\t\t\t\t\t\t\t\t\t{ binary: xhr.response } :\n\t\t\t\t\t\t\t\t\t\t{ text: xhr.responseText },\n\t\t\t\t\t\t\t\t\txhr.getAllResponseHeaders()\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t};\n\n\t\t\t\t// Listen to events\n\t\t\t\txhr.onload = callback();\n\t\t\t\terrorCallback = xhr.onerror = xhr.ontimeout = callback( \"error\" );\n\n\t\t\t\t// Support: IE 9 only\n\t\t\t\t// Use onreadystatechange to replace onabort\n\t\t\t\t// to handle uncaught aborts\n\t\t\t\tif ( xhr.onabort !== undefined ) {\n\t\t\t\t\txhr.onabort = errorCallback;\n\t\t\t\t} else {\n\t\t\t\t\txhr.onreadystatechange = function() {\n\n\t\t\t\t\t\t// Check readyState before timeout as it changes\n\t\t\t\t\t\tif ( xhr.readyState === 4 ) {\n\n\t\t\t\t\t\t\t// Allow onerror to be called first,\n\t\t\t\t\t\t\t// but that will not handle a native abort\n\t\t\t\t\t\t\t// Also, save errorCallback to a variable\n\t\t\t\t\t\t\t// as xhr.onerror cannot be accessed\n\t\t\t\t\t\t\twindow.setTimeout( function() {\n\t\t\t\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\t\t\t\terrorCallback();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\t// Create the abort callback\n\t\t\t\tcallback = callback( \"abort\" );\n\n\t\t\t\ttry {\n\n\t\t\t\t\t// Do send the request (this may raise an exception)\n\t\t\t\t\txhr.send( options.hasContent && options.data || null );\n\t\t\t\t} catch ( e ) {\n\n\t\t\t\t\t// #14683: Only rethrow if this hasn't been notified as an error yet\n\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\tthrow e;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tabort: function() {\n\t\t\t\tif ( callback ) {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n} );\n\n\n\n\n// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432)\njQuery.ajaxPrefilter( function( s ) {\n\tif ( s.crossDomain ) {\n\t\ts.contents.script = false;\n\t}\n} );\n\n// Install script dataType\njQuery.ajaxSetup( {\n\taccepts: {\n\t\tscript: \"text/javascript, application/javascript, \" +\n\t\t\t\"application/ecmascript, application/x-ecmascript\"\n\t},\n\tcontents: {\n\t\tscript: /\\b(?:java|ecma)script\\b/\n\t},\n\tconverters: {\n\t\t\"text script\": function( text ) {\n\t\t\tjQuery.globalEval( text );\n\t\t\treturn text;\n\t\t}\n\t}\n} );\n\n// Handle cache's special case and crossDomain\njQuery.ajaxPrefilter( \"script\", function( s ) {\n\tif ( s.cache === undefined ) {\n\t\ts.cache = false;\n\t}\n\tif ( s.crossDomain ) {\n\t\ts.type = \"GET\";\n\t}\n} );\n\n// Bind script tag hack transport\njQuery.ajaxTransport( \"script\", function( s ) {\n\n\t// This transport only deals with cross domain or forced-by-attrs requests\n\tif ( s.crossDomain || s.scriptAttrs ) {\n\t\tvar script, callback;\n\t\treturn {\n\t\t\tsend: function( _, complete ) {\n\t\t\t\tscript = jQuery( \"<script>\" )\n\t\t\t\t\t.attr( s.scriptAttrs || {} )\n\t\t\t\t\t.prop( { charset: s.scriptCharset, src: s.url } )\n\t\t\t\t\t.on( \"load error\", callback = function( evt ) {\n\t\t\t\t\t\tscript.remove();\n\t\t\t\t\t\tcallback = null;\n\t\t\t\t\t\tif ( evt ) {\n\t\t\t\t\t\t\tcomplete( evt.type === \"error\" ? 404 : 200, evt.type );\n\t\t\t\t\t\t}\n\t\t\t\t\t} );\n\n\t\t\t\t// Use native DOM manipulation to avoid our domManip AJAX trickery\n\t\t\t\tdocument.head.appendChild( script[ 0 ] );\n\t\t\t},\n\t\t\tabort: function() {\n\t\t\t\tif ( callback ) {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n} );\n\n\n\n\nvar oldCallbacks = [],\n\trjsonp = /(=)\\?(?=&|$)|\\?\\?/;\n\n// Default jsonp settings\njQuery.ajaxSetup( {\n\tjsonp: \"callback\",\n\tjsonpCallback: function() {\n\t\tvar callback = oldCallbacks.pop() || ( jQuery.expando + \"_\" + ( nonce++ ) );\n\t\tthis[ callback ] = true;\n\t\treturn callback;\n\t}\n} );\n\n// Detect, normalize options and install callbacks for jsonp requests\njQuery.ajaxPrefilter( \"json jsonp\", function( s, originalSettings, jqXHR ) {\n\n\tvar callbackName, overwritten, responseContainer,\n\t\tjsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ?\n\t\t\t\"url\" :\n\t\t\ttypeof s.data === \"string\" &&\n\t\t\t\t( s.contentType || \"\" )\n\t\t\t\t\t.indexOf( \"application/x-www-form-urlencoded\" ) === 0 &&\n\t\t\t\trjsonp.test( s.data ) && \"data\"\n\t\t);\n\n\t// Handle iff the expected data type is \"jsonp\" or we have a parameter to set\n\tif ( jsonProp || s.dataTypes[ 0 ] === \"jsonp\" ) {\n\n\t\t// Get callback name, remembering preexisting value associated with it\n\t\tcallbackName = s.jsonpCallback = isFunction( s.jsonpCallback ) ?\n\t\t\ts.jsonpCallback() :\n\t\t\ts.jsonpCallback;\n\n\t\t// Insert callback into url or form data\n\t\tif ( jsonProp ) {\n\t\t\ts[ jsonProp ] = s[ jsonProp ].replace( rjsonp, \"$1\" + callbackName );\n\t\t} else if ( s.jsonp !== false ) {\n\t\t\ts.url += ( rquery.test( s.url ) ? \"&\" : \"?\" ) + s.jsonp + \"=\" + callbackName;\n\t\t}\n\n\t\t// Use data converter to retrieve json after script execution\n\t\ts.converters[ \"script json\" ] = function() {\n\t\t\tif ( !responseContainer ) {\n\t\t\t\tjQuery.error( callbackName + \" was not called\" );\n\t\t\t}\n\t\t\treturn responseContainer[ 0 ];\n\t\t};\n\n\t\t// Force json dataType\n\t\ts.dataTypes[ 0 ] = \"json\";\n\n\t\t// Install callback\n\t\toverwritten = window[ callbackName ];\n\t\twindow[ callbackName ] = function() {\n\t\t\tresponseContainer = arguments;\n\t\t};\n\n\t\t// Clean-up function (fires after converters)\n\t\tjqXHR.always( function() {\n\n\t\t\t// If previous value didn't exist - remove it\n\t\t\tif ( overwritten === undefined ) {\n\t\t\t\tjQuery( window ).removeProp( callbackName );\n\n\t\t\t// Otherwise restore preexisting value\n\t\t\t} else {\n\t\t\t\twindow[ callbackName ] = overwritten;\n\t\t\t}\n\n\t\t\t// Save back as free\n\t\t\tif ( s[ callbackName ] ) {\n\n\t\t\t\t// Make sure that re-using the options doesn't screw things around\n\t\t\t\ts.jsonpCallback = originalSettings.jsonpCallback;\n\n\t\t\t\t// Save the callback name for future use\n\t\t\t\toldCallbacks.push( callbackName );\n\t\t\t}\n\n\t\t\t// Call if it was a function and we have a response\n\t\t\tif ( responseContainer && isFunction( overwritten ) ) {\n\t\t\t\toverwritten( responseContainer[ 0 ] );\n\t\t\t}\n\n\t\t\tresponseContainer = overwritten = undefined;\n\t\t} );\n\n\t\t// Delegate to script\n\t\treturn \"script\";\n\t}\n} );\n\n\n\n\n// Support: Safari 8 only\n// In Safari 8 documents created via document.implementation.createHTMLDocument\n// collapse sibling forms: the second one becomes a child of the first one.\n// Because of that, this security measure has to be disabled in Safari 8.\n// https://bugs.webkit.org/show_bug.cgi?id=137337\nsupport.createHTMLDocument = ( function() {\n\tvar body = document.implementation.createHTMLDocument( \"\" ).body;\n\tbody.innerHTML = \"<form></form><form></form>\";\n\treturn body.childNodes.length === 2;\n} )();\n\n\n// Argument \"data\" should be string of html\n// context (optional): If specified, the fragment will be created in this context,\n// defaults to document\n// keepScripts (optional): If true, will include scripts passed in the html string\njQuery.parseHTML = function( data, context, keepScripts ) {\n\tif ( typeof data !== \"string\" ) {\n\t\treturn [];\n\t}\n\tif ( typeof context === \"boolean\" ) {\n\t\tkeepScripts = context;\n\t\tcontext = false;\n\t}\n\n\tvar base, parsed, scripts;\n\n\tif ( !context ) {\n\n\t\t// Stop scripts or inline event handlers from being executed immediately\n\t\t// by using document.implementation\n\t\tif ( support.createHTMLDocument ) {\n\t\t\tcontext = document.implementation.createHTMLDocument( \"\" );\n\n\t\t\t// Set the base href for the created document\n\t\t\t// so any parsed elements with URLs\n\t\t\t// are based on the document's URL (gh-2965)\n\t\t\tbase = context.createElement( \"base\" );\n\t\t\tbase.href = document.location.href;\n\t\t\tcontext.head.appendChild( base );\n\t\t} else {\n\t\t\tcontext = document;\n\t\t}\n\t}\n\n\tparsed = rsingleTag.exec( data );\n\tscripts = !keepScripts && [];\n\n\t// Single tag\n\tif ( parsed ) {\n\t\treturn [ context.createElement( parsed[ 1 ] ) ];\n\t}\n\n\tparsed = buildFragment( [ data ], context, scripts );\n\n\tif ( scripts && scripts.length ) {\n\t\tjQuery( scripts ).remove();\n\t}\n\n\treturn jQuery.merge( [], parsed.childNodes );\n};\n\n\n/**\n * Load a url into a page\n */\njQuery.fn.load = function( url, params, callback ) {\n\tvar selector, type, response,\n\t\tself = this,\n\t\toff = url.indexOf( \" \" );\n\n\tif ( off > -1 ) {\n\t\tselector = stripAndCollapse( url.slice( off ) );\n\t\turl = url.slice( 0, off );\n\t}\n\n\t// If it's a function\n\tif ( isFunction( params ) ) {\n\n\t\t// We assume that it's the callback\n\t\tcallback = params;\n\t\tparams = undefined;\n\n\t// Otherwise, build a param string\n\t} else if ( params && typeof params === \"object\" ) {\n\t\ttype = \"POST\";\n\t}\n\n\t// If we have elements to modify, make the request\n\tif ( self.length > 0 ) {\n\t\tjQuery.ajax( {\n\t\t\turl: url,\n\n\t\t\t// If \"type\" variable is undefined, then \"GET\" method will be used.\n\t\t\t// Make value of this field explicit since\n\t\t\t// user can override it through ajaxSetup method\n\t\t\ttype: type || \"GET\",\n\t\t\tdataType: \"html\",\n\t\t\tdata: params\n\t\t} ).done( function( responseText ) {\n\n\t\t\t// Save response for use in complete callback\n\t\t\tresponse = arguments;\n\n\t\t\tself.html( selector ?\n\n\t\t\t\t// If a selector was specified, locate the right elements in a dummy div\n\t\t\t\t// Exclude scripts to avoid IE 'Permission Denied' errors\n\t\t\t\tjQuery( \"<div>\" ).append( jQuery.parseHTML( responseText ) ).find( selector ) :\n\n\t\t\t\t// Otherwise use the full result\n\t\t\t\tresponseText );\n\n\t\t// If the request succeeds, this function gets \"data\", \"status\", \"jqXHR\"\n\t\t// but they are ignored because response was set above.\n\t\t// If it fails, this function gets \"jqXHR\", \"status\", \"error\"\n\t\t} ).always( callback && function( jqXHR, status ) {\n\t\t\tself.each( function() {\n\t\t\t\tcallback.apply( this, response || [ jqXHR.responseText, status, jqXHR ] );\n\t\t\t} );\n\t\t} );\n\t}\n\n\treturn this;\n};\n\n\n\n\n// Attach a bunch of functions for handling common AJAX events\njQuery.each( [\n\t\"ajaxStart\",\n\t\"ajaxStop\",\n\t\"ajaxComplete\",\n\t\"ajaxError\",\n\t\"ajaxSuccess\",\n\t\"ajaxSend\"\n], function( i, type ) {\n\tjQuery.fn[ type ] = function( fn ) {\n\t\treturn this.on( type, fn );\n\t};\n} );\n\n\n\n\njQuery.expr.pseudos.animated = function( elem ) {\n\treturn jQuery.grep( jQuery.timers, function( fn ) {\n\t\treturn elem === fn.elem;\n\t} ).length;\n};\n\n\n\n\njQuery.offset = {\n\tsetOffset: function( elem, options, i ) {\n\t\tvar curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition,\n\t\t\tposition = jQuery.css( elem, \"position\" ),\n\t\t\tcurElem = jQuery( elem ),\n\t\t\tprops = {};\n\n\t\t// Set position first, in-case top/left are set even on static elem\n\t\tif ( position === \"static\" ) {\n\t\t\telem.style.position = \"relative\";\n\t\t}\n\n\t\tcurOffset = curElem.offset();\n\t\tcurCSSTop = jQuery.css( elem, \"top\" );\n\t\tcurCSSLeft = jQuery.css( elem, \"left\" );\n\t\tcalculatePosition = ( position === \"absolute\" || position === \"fixed\" ) &&\n\t\t\t( curCSSTop + curCSSLeft ).indexOf( \"auto\" ) > -1;\n\n\t\t// Need to be able to calculate position if either\n\t\t// top or left is auto and position is either absolute or fixed\n\t\tif ( calculatePosition ) {\n\t\t\tcurPosition = curElem.position();\n\t\t\tcurTop = curPosition.top;\n\t\t\tcurLeft = curPosition.left;\n\n\t\t} else {\n\t\t\tcurTop = parseFloat( curCSSTop ) || 0;\n\t\t\tcurLeft = parseFloat( curCSSLeft ) || 0;\n\t\t}\n\n\t\tif ( isFunction( options ) ) {\n\n\t\t\t// Use jQuery.extend here to allow modification of coordinates argument (gh-1848)\n\t\t\toptions = options.call( elem, i, jQuery.extend( {}, curOffset ) );\n\t\t}\n\n\t\tif ( options.top != null ) {\n\t\t\tprops.top = ( options.top - curOffset.top ) + curTop;\n\t\t}\n\t\tif ( options.left != null ) {\n\t\t\tprops.left = ( options.left - curOffset.left ) + curLeft;\n\t\t}\n\n\t\tif ( \"using\" in options ) {\n\t\t\toptions.using.call( elem, props );\n\n\t\t} else {\n\t\t\tcurElem.css( props );\n\t\t}\n\t}\n};\n\njQuery.fn.extend( {\n\n\t// offset() relates an element's border box to the document origin\n\toffset: function( options ) {\n\n\t\t// Preserve chaining for setter\n\t\tif ( arguments.length ) {\n\t\t\treturn options === undefined ?\n\t\t\t\tthis :\n\t\t\t\tthis.each( function( i ) {\n\t\t\t\t\tjQuery.offset.setOffset( this, options, i );\n\t\t\t\t} );\n\t\t}\n\n\t\tvar rect, win,\n\t\t\telem = this[ 0 ];\n\n\t\tif ( !elem ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Return zeros for disconnected and hidden (display: none) elements (gh-2310)\n\t\t// Support: IE <=11 only\n\t\t// Running getBoundingClientRect on a\n\t\t// disconnected node in IE throws an error\n\t\tif ( !elem.getClientRects().length ) {\n\t\t\treturn { top: 0, left: 0 };\n\t\t}\n\n\t\t// Get document-relative position by adding viewport scroll to viewport-relative gBCR\n\t\trect = elem.getBoundingClientRect();\n\t\twin = elem.ownerDocument.defaultView;\n\t\treturn {\n\t\t\ttop: rect.top + win.pageYOffset,\n\t\t\tleft: rect.left + win.pageXOffset\n\t\t};\n\t},\n\n\t// position() relates an element's margin box to its offset parent's padding box\n\t// This corresponds to the behavior of CSS absolute positioning\n\tposition: function() {\n\t\tif ( !this[ 0 ] ) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar offsetParent, offset, doc,\n\t\t\telem = this[ 0 ],\n\t\t\tparentOffset = { top: 0, left: 0 };\n\n\t\t// position:fixed elements are offset from the viewport, which itself always has zero offset\n\t\tif ( jQuery.css( elem, \"position\" ) === \"fixed\" ) {\n\n\t\t\t// Assume position:fixed implies availability of getBoundingClientRect\n\t\t\toffset = elem.getBoundingClientRect();\n\n\t\t} else {\n\t\t\toffset = this.offset();\n\n\t\t\t// Account for the *real* offset parent, which can be the document or its root element\n\t\t\t// when a statically positioned element is identified\n\t\t\tdoc = elem.ownerDocument;\n\t\t\toffsetParent = elem.offsetParent || doc.documentElement;\n\t\t\twhile ( offsetParent &&\n\t\t\t\t( offsetParent === doc.body || offsetParent === doc.documentElement ) &&\n\t\t\t\tjQuery.css( offsetParent, \"position\" ) === \"static\" ) {\n\n\t\t\t\toffsetParent = offsetParent.parentNode;\n\t\t\t}\n\t\t\tif ( offsetParent && offsetParent !== elem && offsetParent.nodeType === 1 ) {\n\n\t\t\t\t// Incorporate borders into its offset, since they are outside its content origin\n\t\t\t\tparentOffset = jQuery( offsetParent ).offset();\n\t\t\t\tparentOffset.top += jQuery.css( offsetParent, \"borderTopWidth\", true );\n\t\t\t\tparentOffset.left += jQuery.css( offsetParent, \"borderLeftWidth\", true );\n\t\t\t}\n\t\t}\n\n\t\t// Subtract parent offsets and element margins\n\t\treturn {\n\t\t\ttop: offset.top - parentOffset.top - jQuery.css( elem, \"marginTop\", true ),\n\t\t\tleft: offset.left - parentOffset.left - jQuery.css( elem, \"marginLeft\", true )\n\t\t};\n\t},\n\n\t// This method will return documentElement in the following cases:\n\t// 1) For the element inside the iframe without offsetParent, this method will return\n\t//    documentElement of the parent window\n\t// 2) For the hidden or detached element\n\t// 3) For body or html element, i.e. in case of the html node - it will return itself\n\t//\n\t// but those exceptions were never presented as a real life use-cases\n\t// and might be considered as more preferable results.\n\t//\n\t// This logic, however, is not guaranteed and can change at any point in the future\n\toffsetParent: function() {\n\t\treturn this.map( function() {\n\t\t\tvar offsetParent = this.offsetParent;\n\n\t\t\twhile ( offsetParent && jQuery.css( offsetParent, \"position\" ) === \"static\" ) {\n\t\t\t\toffsetParent = offsetParent.offsetParent;\n\t\t\t}\n\n\t\t\treturn offsetParent || documentElement;\n\t\t} );\n\t}\n} );\n\n// Create scrollLeft and scrollTop methods\njQuery.each( { scrollLeft: \"pageXOffset\", scrollTop: \"pageYOffset\" }, function( method, prop ) {\n\tvar top = \"pageYOffset\" === prop;\n\n\tjQuery.fn[ method ] = function( val ) {\n\t\treturn access( this, function( elem, method, val ) {\n\n\t\t\t// Coalesce documents and windows\n\t\t\tvar win;\n\t\t\tif ( isWindow( elem ) ) {\n\t\t\t\twin = elem;\n\t\t\t} else if ( elem.nodeType === 9 ) {\n\t\t\t\twin = elem.defaultView;\n\t\t\t}\n\n\t\t\tif ( val === undefined ) {\n\t\t\t\treturn win ? win[ prop ] : elem[ method ];\n\t\t\t}\n\n\t\t\tif ( win ) {\n\t\t\t\twin.scrollTo(\n\t\t\t\t\t!top ? val : win.pageXOffset,\n\t\t\t\t\ttop ? val : win.pageYOffset\n\t\t\t\t);\n\n\t\t\t} else {\n\t\t\t\telem[ method ] = val;\n\t\t\t}\n\t\t}, method, val, arguments.length );\n\t};\n} );\n\n// Support: Safari <=7 - 9.1, Chrome <=37 - 49\n// Add the top/left cssHooks using jQuery.fn.position\n// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084\n// Blink bug: https://bugs.chromium.org/p/chromium/issues/detail?id=589347\n// getComputedStyle returns percent when specified for top/left/bottom/right;\n// rather than make the css module depend on the offset module, just check for it here\njQuery.each( [ \"top\", \"left\" ], function( i, prop ) {\n\tjQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition,\n\t\tfunction( elem, computed ) {\n\t\t\tif ( computed ) {\n\t\t\t\tcomputed = curCSS( elem, prop );\n\n\t\t\t\t// If curCSS returns percentage, fallback to offset\n\t\t\t\treturn rnumnonpx.test( computed ) ?\n\t\t\t\t\tjQuery( elem ).position()[ prop ] + \"px\" :\n\t\t\t\t\tcomputed;\n\t\t\t}\n\t\t}\n\t);\n} );\n\n\n// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods\njQuery.each( { Height: \"height\", Width: \"width\" }, function( name, type ) {\n\tjQuery.each( { padding: \"inner\" + name, content: type, \"\": \"outer\" + name },\n\t\tfunction( defaultExtra, funcName ) {\n\n\t\t// Margin is only for outerHeight, outerWidth\n\t\tjQuery.fn[ funcName ] = function( margin, value ) {\n\t\t\tvar chainable = arguments.length && ( defaultExtra || typeof margin !== \"boolean\" ),\n\t\t\t\textra = defaultExtra || ( margin === true || value === true ? \"margin\" : \"border\" );\n\n\t\t\treturn access( this, function( elem, type, value ) {\n\t\t\t\tvar doc;\n\n\t\t\t\tif ( isWindow( elem ) ) {\n\n\t\t\t\t\t// $( window ).outerWidth/Height return w/h including scrollbars (gh-1729)\n\t\t\t\t\treturn funcName.indexOf( \"outer\" ) === 0 ?\n\t\t\t\t\t\telem[ \"inner\" + name ] :\n\t\t\t\t\t\telem.document.documentElement[ \"client\" + name ];\n\t\t\t\t}\n\n\t\t\t\t// Get document width or height\n\t\t\t\tif ( elem.nodeType === 9 ) {\n\t\t\t\t\tdoc = elem.documentElement;\n\n\t\t\t\t\t// Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height],\n\t\t\t\t\t// whichever is greatest\n\t\t\t\t\treturn Math.max(\n\t\t\t\t\t\telem.body[ \"scroll\" + name ], doc[ \"scroll\" + name ],\n\t\t\t\t\t\telem.body[ \"offset\" + name ], doc[ \"offset\" + name ],\n\t\t\t\t\t\tdoc[ \"client\" + name ]\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\treturn value === undefined ?\n\n\t\t\t\t\t// Get width or height on the element, requesting but not forcing parseFloat\n\t\t\t\t\tjQuery.css( elem, type, extra ) :\n\n\t\t\t\t\t// Set width or height on the element\n\t\t\t\t\tjQuery.style( elem, type, value, extra );\n\t\t\t}, type, chainable ? margin : undefined, chainable );\n\t\t};\n\t} );\n} );\n\n\njQuery.each( ( \"blur focus focusin focusout resize scroll click dblclick \" +\n\t\"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave \" +\n\t\"change select submit keydown keypress keyup contextmenu\" ).split( \" \" ),\n\tfunction( i, name ) {\n\n\t// Handle event binding\n\tjQuery.fn[ name ] = function( data, fn ) {\n\t\treturn arguments.length > 0 ?\n\t\t\tthis.on( name, null, data, fn ) :\n\t\t\tthis.trigger( name );\n\t};\n} );\n\njQuery.fn.extend( {\n\thover: function( fnOver, fnOut ) {\n\t\treturn this.mouseenter( fnOver ).mouseleave( fnOut || fnOver );\n\t}\n} );\n\n\n\n\njQuery.fn.extend( {\n\n\tbind: function( types, data, fn ) {\n\t\treturn this.on( types, null, data, fn );\n\t},\n\tunbind: function( types, fn ) {\n\t\treturn this.off( types, null, fn );\n\t},\n\n\tdelegate: function( selector, types, data, fn ) {\n\t\treturn this.on( types, selector, data, fn );\n\t},\n\tundelegate: function( selector, types, fn ) {\n\n\t\t// ( namespace ) or ( selector, types [, fn] )\n\t\treturn arguments.length === 1 ?\n\t\t\tthis.off( selector, \"**\" ) :\n\t\t\tthis.off( types, selector || \"**\", fn );\n\t}\n} );\n\n// Bind a function to a context, optionally partially applying any\n// arguments.\n// jQuery.proxy is deprecated to promote standards (specifically Function#bind)\n// However, it is not slated for removal any time soon\njQuery.proxy = function( fn, context ) {\n\tvar tmp, args, proxy;\n\n\tif ( typeof context === \"string\" ) {\n\t\ttmp = fn[ context ];\n\t\tcontext = fn;\n\t\tfn = tmp;\n\t}\n\n\t// Quick check to determine if target is callable, in the spec\n\t// this throws a TypeError, but we will just return undefined.\n\tif ( !isFunction( fn ) ) {\n\t\treturn undefined;\n\t}\n\n\t// Simulated bind\n\targs = slice.call( arguments, 2 );\n\tproxy = function() {\n\t\treturn fn.apply( context || this, args.concat( slice.call( arguments ) ) );\n\t};\n\n\t// Set the guid of unique handler to the same of original handler, so it can be removed\n\tproxy.guid = fn.guid = fn.guid || jQuery.guid++;\n\n\treturn proxy;\n};\n\njQuery.holdReady = function( hold ) {\n\tif ( hold ) {\n\t\tjQuery.readyWait++;\n\t} else {\n\t\tjQuery.ready( true );\n\t}\n};\njQuery.isArray = Array.isArray;\njQuery.parseJSON = JSON.parse;\njQuery.nodeName = nodeName;\njQuery.isFunction = isFunction;\njQuery.isWindow = isWindow;\njQuery.camelCase = camelCase;\njQuery.type = toType;\n\njQuery.now = Date.now;\n\njQuery.isNumeric = function( obj ) {\n\n\t// As of jQuery 3.0, isNumeric is limited to\n\t// strings and numbers (primitives or objects)\n\t// that can be coerced to finite numbers (gh-2662)\n\tvar type = jQuery.type( obj );\n\treturn ( type === \"number\" || type === \"string\" ) &&\n\n\t\t// parseFloat NaNs numeric-cast false positives (\"\")\n\t\t// ...but misinterprets leading-number strings, particularly hex literals (\"0x...\")\n\t\t// subtraction forces infinities to NaN\n\t\t!isNaN( obj - parseFloat( obj ) );\n};\n\n\n\n\n// Register as a named AMD module, since jQuery can be concatenated with other\n// files that may use define, but not via a proper concatenation script that\n// understands anonymous AMD modules. A named AMD is safest and most robust\n// way to register. Lowercase jquery is used because AMD module names are\n// derived from file names, and jQuery is normally delivered in a lowercase\n// file name. Do this after creating the global so that if an AMD module wants\n// to call noConflict to hide this version of jQuery, it will work.\n\n// Note that for maximum portability, libraries that are not jQuery should\n// declare themselves as anonymous modules, and avoid setting a global if an\n// AMD loader is present. jQuery is a special case. For more information, see\n// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon\n\nif ( typeof define === \"function\" && define.amd ) {\n\tdefine( \"jquery\", [], function() {\n\t\treturn jQuery;\n\t} );\n}\n\n\n\n\nvar\n\n\t// Map over jQuery in case of overwrite\n\t_jQuery = window.jQuery,\n\n\t// Map over the $ in case of overwrite\n\t_$ = window.$;\n\njQuery.noConflict = function( deep ) {\n\tif ( window.$ === jQuery ) {\n\t\twindow.$ = _$;\n\t}\n\n\tif ( deep && window.jQuery === jQuery ) {\n\t\twindow.jQuery = _jQuery;\n\t}\n\n\treturn jQuery;\n};\n\n// Expose jQuery and $ identifiers, even in AMD\n// (#7102#comment:10, https://github.com/jquery/jquery/pull/557)\n// and CommonJS for browser emulators (#13566)\nif ( !noGlobal ) {\n\twindow.jQuery = window.$ = jQuery;\n}\n\n\n\n\nreturn jQuery;\n} );\n","/*!\n * @overview  Ember - JavaScript Application Framework\n * @copyright Copyright 2011-2018 Tilde Inc. and contributors\n *            Portions Copyright 2006-2011 Strobe Inc.\n *            Portions Copyright 2008-2011 Apple Inc. All rights reserved.\n * @license   Licensed under MIT license\n *            See https://raw.github.com/emberjs/ember.js/master/LICENSE\n * @version   3.11.1\n */\n","/*globals process */\nvar enifed, requireModule, Ember;\n\n// Used in @ember/-internals/environment/lib/global.js\nmainContext = this; // eslint-disable-line no-undef\n\n(function() {\n  function missingModule(name, referrerName) {\n    if (referrerName) {\n      throw new Error('Could not find module ' + name + ' required by: ' + referrerName);\n    } else {\n      throw new Error('Could not find module ' + name);\n    }\n  }\n\n  function internalRequire(_name, referrerName) {\n    var name = _name;\n    var mod = registry[name];\n\n    if (!mod) {\n      name = name + '/index';\n      mod = registry[name];\n    }\n\n    var exports = seen[name];\n\n    if (exports !== undefined) {\n      return exports;\n    }\n\n    exports = seen[name] = {};\n\n    if (!mod) {\n      missingModule(_name, referrerName);\n    }\n\n    var deps = mod.deps;\n    var callback = mod.callback;\n    var reified = new Array(deps.length);\n\n    for (var i = 0; i < deps.length; i++) {\n      if (deps[i] === 'exports') {\n        reified[i] = exports;\n      } else if (deps[i] === 'require') {\n        reified[i] = requireModule;\n      } else {\n        reified[i] = internalRequire(deps[i], name);\n      }\n    }\n\n    callback.apply(this, reified);\n\n    return exports;\n  }\n\n  var isNode =\n    typeof window === 'undefined' &&\n    typeof process !== 'undefined' &&\n    {}.toString.call(process) === '[object process]';\n\n  if (!isNode) {\n    Ember = this.Ember = this.Ember || {};\n  }\n\n  if (typeof Ember === 'undefined') {\n    Ember = {};\n  }\n\n  if (typeof Ember.__loader === 'undefined') {\n    var registry = Object.create(null);\n    var seen = Object.create(null);\n\n    enifed = function(name, deps, callback) {\n      var value = {};\n\n      if (!callback) {\n        value.deps = [];\n        value.callback = deps;\n      } else {\n        value.deps = deps;\n        value.callback = callback;\n      }\n\n      registry[name] = value;\n    };\n\n    requireModule = function(name) {\n      return internalRequire(name, null);\n    };\n\n    // setup `require` module\n    requireModule['default'] = requireModule;\n\n    requireModule.has = function registryHas(moduleName) {\n      return Boolean(registry[moduleName]) || Boolean(registry[moduleName + '/index']);\n    };\n\n    requireModule._eak_seen = registry;\n\n    Ember.__loader = {\n      define: enifed,\n      require: requireModule,\n      registry: registry,\n    };\n  } else {\n    enifed = Ember.__loader.define;\n    requireModule = Ember.__loader.require;\n  }\n})();\n","enifed(\"@ember/-internals/browser-environment\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.hasDOM = _exports.isFirefox = _exports.isChrome = _exports.userAgent = _exports.history = _exports.location = _exports.window = void 0;\n  // check if window exists and actually is the global\n  var hasDom = typeof self === 'object' && self !== null && self.Object === Object && typeof Window !== 'undefined' && self.constructor === Window && typeof document === 'object' && document !== null && self.document === document && typeof location === 'object' && location !== null && self.location === location && typeof history === 'object' && history !== null && self.history === history && typeof navigator === 'object' && navigator !== null && self.navigator === navigator && typeof navigator.userAgent === 'string';\n  _exports.hasDOM = hasDom;\n  var window = hasDom ? self : null;\n  _exports.window = window;\n  var location$1 = hasDom ? self.location : null;\n  _exports.location = location$1;\n  var history$1 = hasDom ? self.history : null;\n  _exports.history = history$1;\n  var userAgent = hasDom ? self.navigator.userAgent : 'Lynx (textmode)';\n  _exports.userAgent = userAgent;\n  var isChrome = hasDom ? Boolean(window.chrome) && !window.opera : false;\n  _exports.isChrome = isChrome;\n  var isFirefox = hasDom ? typeof InstallTrigger !== 'undefined' : false;\n  _exports.isFirefox = isFirefox;\n});","enifed(\"@ember/-internals/console/index\", [\"exports\", \"@ember/debug\", \"@ember/deprecated-features\"], function (_exports, _debug, _deprecatedFeatures) {\n  \"use strict\";\n\n  _exports.default = void 0;\n  // Deliver message that the function is deprecated\n  var DEPRECATION_MESSAGE = 'Use of Ember.Logger is deprecated. Please use `console` for logging.';\n  var DEPRECATION_ID = 'ember-console.deprecate-logger';\n  var DEPRECATION_URL = 'https://emberjs.com/deprecations/v3.x#toc_use-console-rather-than-ember-logger';\n  /**\n     @module ember\n  */\n\n  /**\n    Inside Ember-Metal, simply uses the methods from `imports.console`.\n    Override this to provide more robust logging functionality.\n  \n    @class Logger\n    @deprecated Use 'console' instead\n  \n    @namespace Ember\n    @public\n  */\n\n  var DEPRECATED_LOGGER;\n\n  if (_deprecatedFeatures.LOGGER) {\n    DEPRECATED_LOGGER = {\n      /**\n      Logs the arguments to the console.\n      You can pass as many arguments as you want and they will be joined together with a space.\n       ```javascript\n      var foo = 1;\n      Ember.Logger.log('log value of foo:', foo);\n      // \"log value of foo: 1\" will be printed to the console\n      ```\n      @method log\n      @for Ember.Logger\n      @param {*} arguments\n      @public\n      */\n      log: function () {\n        var _console;\n\n        true && !false && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n          id: DEPRECATION_ID,\n          until: '4.0.0',\n          url: DEPRECATION_URL\n        });\n        return (_console = console).log.apply(_console, arguments); // eslint-disable-line no-console\n      },\n\n      /**\n      Prints the arguments to the console with a warning icon.\n      You can pass as many arguments as you want and they will be joined together with a space.\n       ```javascript\n      Ember.Logger.warn('Something happened!');\n      // \"Something happened!\" will be printed to the console with a warning icon.\n      ```\n      @method warn\n      @for Ember.Logger\n      @param {*} arguments\n      @public\n      */\n      warn: function () {\n        var _console2;\n\n        true && !false && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n          id: DEPRECATION_ID,\n          until: '4.0.0',\n          url: DEPRECATION_URL\n        });\n        return (_console2 = console).warn.apply(_console2, arguments); // eslint-disable-line no-console\n      },\n\n      /**\n      Prints the arguments to the console with an error icon, red text and a stack trace.\n      You can pass as many arguments as you want and they will be joined together with a space.\n       ```javascript\n      Ember.Logger.error('Danger! Danger!');\n      // \"Danger! Danger!\" will be printed to the console in red text.\n      ```\n      @method error\n      @for Ember.Logger\n      @param {*} arguments\n      @public\n      */\n      error: function () {\n        var _console3;\n\n        true && !false && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n          id: DEPRECATION_ID,\n          until: '4.0.0',\n          url: DEPRECATION_URL\n        });\n        return (_console3 = console).error.apply(_console3, arguments); // eslint-disable-line no-console\n      },\n\n      /**\n      Logs the arguments to the console.\n      You can pass as many arguments as you want and they will be joined together with a space.\n       ```javascript\n      var foo = 1;\n      Ember.Logger.info('log value of foo:', foo);\n      // \"log value of foo: 1\" will be printed to the console\n      ```\n      @method info\n      @for Ember.Logger\n      @param {*} arguments\n      @public\n      */\n      info: function () {\n        var _console4;\n\n        true && !false && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n          id: DEPRECATION_ID,\n          until: '4.0.0',\n          url: DEPRECATION_URL\n        });\n        return (_console4 = console).info.apply(_console4, arguments); // eslint-disable-line no-console\n      },\n\n      /**\n      Logs the arguments to the console in blue text.\n      You can pass as many arguments as you want and they will be joined together with a space.\n       ```javascript\n      var foo = 1;\n      Ember.Logger.debug('log value of foo:', foo);\n      // \"log value of foo: 1\" will be printed to the console\n      ```\n      @method debug\n      @for Ember.Logger\n      @param {*} arguments\n      @public\n      */\n      debug: function () {\n        var _console6;\n\n        true && !false && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n          id: DEPRECATION_ID,\n          until: '4.0.0',\n          url: DEPRECATION_URL\n        });\n        /* eslint-disable no-console */\n\n        if (console.debug) {\n          var _console5;\n\n          return (_console5 = console).debug.apply(_console5, arguments);\n        }\n\n        return (_console6 = console).info.apply(_console6, arguments);\n        /* eslint-enable no-console */\n      },\n\n      /**\n      If the value passed into `Ember.Logger.assert` is not truthy it will throw an error with a stack trace.\n       ```javascript\n      Ember.Logger.assert(true); // undefined\n      Ember.Logger.assert(true === false); // Throws an Assertion failed error.\n      Ember.Logger.assert(true === false, 'Something invalid'); // Throws an Assertion failed error with message.\n      ```\n      @method assert\n      @for Ember.Logger\n      @param {Boolean} bool Value to test\n      @param {String} message Assertion message on failed\n      @public\n      */\n      assert: function () {\n        var _console7;\n\n        true && !false && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n          id: DEPRECATION_ID,\n          until: '4.0.0',\n          url: DEPRECATION_URL\n        });\n        return (_console7 = console).assert.apply(_console7, arguments); // eslint-disable-line no-console\n      }\n    };\n  }\n\n  var _default = DEPRECATED_LOGGER;\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/container\", [\"exports\", \"@ember/-internals/owner\", \"@ember/-internals/utils\", \"@ember/debug\", \"@ember/polyfills\"], function (_exports, _owner, _utils, _debug, _polyfills) {\n  \"use strict\";\n\n  _exports.privatize = privatize;\n  _exports.FACTORY_FOR = _exports.Container = _exports.Registry = void 0;\n  var leakTracking;\n  var containers;\n\n  if (true\n  /* DEBUG */\n  ) {\n      // requires v8\n      // chrome --js-flags=\"--allow-natives-syntax --expose-gc\"\n      // node --allow-natives-syntax --expose-gc\n      try {\n        if (typeof gc === 'function') {\n          leakTracking = function () {\n            // avoid syntax errors when --allow-natives-syntax not present\n            var GetWeakSetValues = new Function('weakSet', 'return %GetWeakSetValues(weakSet, 0)');\n            containers = new WeakSet();\n            return {\n              hasContainers: function () {\n                gc();\n                return GetWeakSetValues(containers).length > 0;\n              },\n              reset: function () {\n                var values = GetWeakSetValues(containers);\n\n                for (var i = 0; i < values.length; i++) {\n                  containers.delete(values[i]);\n                }\n              }\n            };\n          }();\n        }\n      } catch (e) {// ignore\n      }\n    }\n  /**\n   A container used to instantiate and cache objects.\n  \n   Every `Container` must be associated with a `Registry`, which is referenced\n   to determine the factory and options that should be used to instantiate\n   objects.\n  \n   The public API for `Container` is still in flux and should not be considered\n   stable.\n  \n   @private\n   @class Container\n   */\n\n\n  var Container =\n  /*#__PURE__*/\n  function () {\n    function Container(registry) {\n      var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      this.registry = registry;\n      this.owner = options.owner || null;\n      this.cache = (0, _utils.dictionary)(options.cache || null);\n      this.factoryManagerCache = (0, _utils.dictionary)(options.factoryManagerCache || null);\n      this.isDestroyed = false;\n      this.isDestroying = false;\n\n      if (true\n      /* DEBUG */\n      ) {\n          this.validationCache = (0, _utils.dictionary)(options.validationCache || null);\n\n          if (containers !== undefined) {\n            containers.add(this);\n          }\n        }\n    }\n    /**\n     @private\n     @property registry\n     @type Registry\n     @since 1.11.0\n     */\n\n    /**\n     @private\n     @property cache\n     @type InheritingDict\n     */\n\n    /**\n     @private\n     @property validationCache\n     @type InheritingDict\n     */\n\n    /**\n     Given a fullName return a corresponding instance.\n      The default behavior is for lookup to return a singleton instance.\n     The singleton is scoped to the container, allowing multiple containers\n     to all have their own locally scoped singletons.\n      ```javascript\n     let registry = new Registry();\n     let container = registry.container();\n      registry.register('api:twitter', Twitter);\n      let twitter = container.lookup('api:twitter');\n      twitter instanceof Twitter; // => true\n      // by default the container will return singletons\n     let twitter2 = container.lookup('api:twitter');\n     twitter2 instanceof Twitter; // => true\n      twitter === twitter2; //=> true\n     ```\n      If singletons are not wanted, an optional flag can be provided at lookup.\n      ```javascript\n     let registry = new Registry();\n     let container = registry.container();\n      registry.register('api:twitter', Twitter);\n      let twitter = container.lookup('api:twitter', { singleton: false });\n     let twitter2 = container.lookup('api:twitter', { singleton: false });\n      twitter === twitter2; //=> false\n     ```\n      @private\n     @method lookup\n     @param {String} fullName\n     @param {Object} [options]\n     @param {String} [options.source] The fullname of the request source (used for local lookup)\n     @return {any}\n     */\n\n\n    var _proto = Container.prototype;\n\n    _proto.lookup = function lookup(fullName, options) {\n      true && !!this.isDestroyed && (0, _debug.assert)('expected container not to be destroyed', !this.isDestroyed);\n      true && !this.registry.isValidFullName(fullName) && (0, _debug.assert)('fullName must be a proper full name', this.registry.isValidFullName(fullName));\n      return _lookup(this, this.registry.normalize(fullName), options);\n    }\n    /**\n     A depth first traversal, destroying the container, its descendant containers and all\n     their managed objects.\n      @private\n     @method destroy\n     */\n    ;\n\n    _proto.destroy = function destroy() {\n      destroyDestroyables(this);\n      this.isDestroying = true;\n    };\n\n    _proto.finalizeDestroy = function finalizeDestroy() {\n      resetCache(this);\n      this.isDestroyed = true;\n    }\n    /**\n     Clear either the entire cache or just the cache for a particular key.\n        @private\n     @method reset\n     @param {String} fullName optional key to reset; if missing, resets everything\n    */\n    ;\n\n    _proto.reset = function reset(fullName) {\n      if (this.isDestroyed) return;\n\n      if (fullName === undefined) {\n        destroyDestroyables(this);\n        resetCache(this);\n      } else {\n        resetMember(this, this.registry.normalize(fullName));\n      }\n    }\n    /**\n     Returns an object that can be used to provide an owner to a\n     manually created instance.\n      @private\n     @method ownerInjection\n     @returns { Object }\n    */\n    ;\n\n    _proto.ownerInjection = function ownerInjection() {\n      var _ref;\n\n      return _ref = {}, _ref[_owner.OWNER] = this.owner, _ref;\n    }\n    /**\n     Given a fullName, return the corresponding factory. The consumer of the factory\n     is responsible for the destruction of any factory instances, as there is no\n     way for the container to ensure instances are destroyed when it itself is\n     destroyed.\n      @public\n     @method factoryFor\n     @param {String} fullName\n     @param {Object} [options]\n     @param {String} [options.source] The fullname of the request source (used for local lookup)\n     @return {any}\n     */\n    ;\n\n    _proto.factoryFor = function factoryFor(fullName) {\n      var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      true && !!this.isDestroyed && (0, _debug.assert)('expected container not to be destroyed', !this.isDestroyed);\n      var normalizedName = this.registry.normalize(fullName);\n      true && !this.registry.isValidFullName(normalizedName) && (0, _debug.assert)('fullName must be a proper full name', this.registry.isValidFullName(normalizedName));\n      true && !(false\n      /* EMBER_MODULE_UNIFICATION */\n      || !options.namespace) && (0, _debug.assert)('EMBER_MODULE_UNIFICATION must be enabled to pass a namespace option to factoryFor', false || !options.namespace);\n\n      if (options.source || options.namespace) {\n        normalizedName = this.registry.expandLocalLookup(fullName, options);\n\n        if (!normalizedName) {\n          return;\n        }\n      }\n\n      return _factoryFor(this, normalizedName, fullName);\n    };\n\n    return Container;\n  }();\n\n  _exports.Container = Container;\n\n  if (true\n  /* DEBUG */\n  ) {\n      Container._leakTracking = leakTracking;\n    }\n  /*\n   * Wrap a factory manager in a proxy which will not permit properties to be\n   * set on the manager.\n   */\n\n\n  function wrapManagerInDeprecationProxy(manager) {\n    if (_utils.HAS_NATIVE_PROXY) {\n      var validator = {\n        set: function (_obj, prop) {\n          throw new Error(\"You attempted to set \\\"\" + prop + \"\\\" on a factory manager created by container#factoryFor. A factory manager is a read-only construct.\");\n        }\n      }; // Note:\n      // We have to proxy access to the manager here so that private property\n      // access doesn't cause the above errors to occur.\n\n      var m = manager;\n      var proxiedManager = {\n        class: m.class,\n        create: function (props) {\n          return m.create(props);\n        }\n      };\n      var proxy = new Proxy(proxiedManager, validator);\n      FACTORY_FOR.set(proxy, manager);\n    }\n\n    return manager;\n  }\n\n  function isSingleton(container, fullName) {\n    return container.registry.getOption(fullName, 'singleton') !== false;\n  }\n\n  function isInstantiatable(container, fullName) {\n    return container.registry.getOption(fullName, 'instantiate') !== false;\n  }\n\n  function _lookup(container, fullName) {\n    var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n    true && !(false\n    /* EMBER_MODULE_UNIFICATION */\n    || !options.namespace) && (0, _debug.assert)('EMBER_MODULE_UNIFICATION must be enabled to pass a namespace option to lookup', false || !options.namespace);\n    var normalizedName = fullName;\n\n    if (options.source || options.namespace) {\n      normalizedName = container.registry.expandLocalLookup(fullName, options);\n\n      if (!normalizedName) {\n        return;\n      }\n    }\n\n    if (options.singleton !== false) {\n      var cached = container.cache[normalizedName];\n\n      if (cached !== undefined) {\n        return cached;\n      }\n    }\n\n    return instantiateFactory(container, normalizedName, fullName, options);\n  }\n\n  function _factoryFor(container, normalizedName, fullName) {\n    var cached = container.factoryManagerCache[normalizedName];\n\n    if (cached !== undefined) {\n      return cached;\n    }\n\n    var factory = container.registry.resolve(normalizedName);\n\n    if (factory === undefined) {\n      return;\n    }\n\n    if (true\n    /* DEBUG */\n    && factory && typeof factory._onLookup === 'function') {\n      factory._onLookup(fullName);\n    }\n\n    var manager = new FactoryManager(container, factory, fullName, normalizedName);\n\n    if (true\n    /* DEBUG */\n    ) {\n        manager = wrapManagerInDeprecationProxy(manager);\n      }\n\n    container.factoryManagerCache[normalizedName] = manager;\n    return manager;\n  }\n\n  function isSingletonClass(container, fullName, _ref2) {\n    var instantiate = _ref2.instantiate,\n        singleton = _ref2.singleton;\n    return singleton !== false && !instantiate && isSingleton(container, fullName) && !isInstantiatable(container, fullName);\n  }\n\n  function isSingletonInstance(container, fullName, _ref3) {\n    var instantiate = _ref3.instantiate,\n        singleton = _ref3.singleton;\n    return singleton !== false && instantiate !== false && isSingleton(container, fullName) && isInstantiatable(container, fullName);\n  }\n\n  function isFactoryClass(container, fullname, _ref4) {\n    var instantiate = _ref4.instantiate,\n        singleton = _ref4.singleton;\n    return instantiate === false && (singleton === false || !isSingleton(container, fullname)) && !isInstantiatable(container, fullname);\n  }\n\n  function isFactoryInstance(container, fullName, _ref5) {\n    var instantiate = _ref5.instantiate,\n        singleton = _ref5.singleton;\n    return instantiate !== false && (singleton !== false || isSingleton(container, fullName)) && isInstantiatable(container, fullName);\n  }\n\n  function instantiateFactory(container, normalizedName, fullName, options) {\n    var factoryManager = _factoryFor(container, normalizedName, fullName);\n\n    if (factoryManager === undefined) {\n      return;\n    } // SomeClass { singleton: true, instantiate: true } | { singleton: true } | { instantiate: true } | {}\n    // By default majority of objects fall into this case\n\n\n    if (isSingletonInstance(container, fullName, options)) {\n      return container.cache[normalizedName] = factoryManager.create();\n    } // SomeClass { singleton: false, instantiate: true }\n\n\n    if (isFactoryInstance(container, fullName, options)) {\n      return factoryManager.create();\n    } // SomeClass { singleton: true, instantiate: false } | { instantiate: false } | { singleton: false, instantiation: false }\n\n\n    if (isSingletonClass(container, fullName, options) || isFactoryClass(container, fullName, options)) {\n      return factoryManager.class;\n    }\n\n    throw new Error('Could not create factory');\n  }\n\n  function processInjections(container, injections, result) {\n    if (true\n    /* DEBUG */\n    ) {\n        container.registry.validateInjections(injections);\n      }\n\n    var hash = result.injections;\n\n    if (hash === undefined) {\n      hash = result.injections = {};\n    }\n\n    for (var i = 0; i < injections.length; i++) {\n      var _injections$i = injections[i],\n          property = _injections$i.property,\n          specifier = _injections$i.specifier,\n          source = _injections$i.source;\n\n      if (source) {\n        hash[property] = _lookup(container, specifier, {\n          source: source\n        });\n      } else {\n        hash[property] = _lookup(container, specifier);\n      }\n\n      if (!result.isDynamic) {\n        result.isDynamic = !isSingleton(container, specifier);\n      }\n    }\n  }\n\n  function buildInjections(container, typeInjections, injections) {\n    var result = {\n      injections: undefined,\n      isDynamic: false\n    };\n\n    if (typeInjections !== undefined) {\n      processInjections(container, typeInjections, result);\n    }\n\n    if (injections !== undefined) {\n      processInjections(container, injections, result);\n    }\n\n    return result;\n  }\n\n  function injectionsFor(container, fullName) {\n    var registry = container.registry;\n\n    var _fullName$split = fullName.split(':'),\n        type = _fullName$split[0];\n\n    var typeInjections = registry.getTypeInjections(type);\n    var injections = registry.getInjections(fullName);\n    return buildInjections(container, typeInjections, injections);\n  }\n\n  function destroyDestroyables(container) {\n    var cache = container.cache;\n    var keys = Object.keys(cache);\n\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i];\n      var value = cache[key];\n\n      if (value.destroy) {\n        value.destroy();\n      }\n    }\n  }\n\n  function resetCache(container) {\n    container.cache = (0, _utils.dictionary)(null);\n    container.factoryManagerCache = (0, _utils.dictionary)(null);\n  }\n\n  function resetMember(container, fullName) {\n    var member = container.cache[fullName];\n    delete container.factoryManagerCache[fullName];\n\n    if (member) {\n      delete container.cache[fullName];\n\n      if (member.destroy) {\n        member.destroy();\n      }\n    }\n  }\n\n  var FACTORY_FOR = new WeakMap();\n  _exports.FACTORY_FOR = FACTORY_FOR;\n\n  var FactoryManager =\n  /*#__PURE__*/\n  function () {\n    function FactoryManager(container, factory, fullName, normalizedName) {\n      this.container = container;\n      this.owner = container.owner;\n      this.class = factory;\n      this.fullName = fullName;\n      this.normalizedName = normalizedName;\n      this.madeToString = undefined;\n      this.injections = undefined;\n      FACTORY_FOR.set(this, this);\n    }\n\n    var _proto2 = FactoryManager.prototype;\n\n    _proto2.toString = function toString() {\n      if (this.madeToString === undefined) {\n        this.madeToString = this.container.registry.makeToString(this.class, this.fullName);\n      }\n\n      return this.madeToString;\n    };\n\n    _proto2.create = function create(options) {\n      var injectionsCache = this.injections;\n\n      if (injectionsCache === undefined) {\n        var _injectionsFor = injectionsFor(this.container, this.normalizedName),\n            injections = _injectionsFor.injections,\n            isDynamic = _injectionsFor.isDynamic;\n\n        injectionsCache = injections;\n\n        if (!isDynamic) {\n          this.injections = injections;\n        }\n      }\n\n      var props = injectionsCache;\n\n      if (options !== undefined) {\n        props = (0, _polyfills.assign)({}, injectionsCache, options);\n      }\n\n      if (true\n      /* DEBUG */\n      ) {\n          var lazyInjections;\n          var validationCache = this.container.validationCache; // Ensure that all lazy injections are valid at instantiation time\n\n          if (!validationCache[this.fullName] && this.class && typeof this.class._lazyInjections === 'function') {\n            lazyInjections = this.class._lazyInjections();\n            lazyInjections = this.container.registry.normalizeInjectionsHash(lazyInjections);\n            this.container.registry.validateInjections(lazyInjections);\n          }\n\n          validationCache[this.fullName] = true;\n        }\n\n      if (!this.class.create) {\n        throw new Error(\"Failed to create an instance of '\" + this.normalizedName + \"'. Most likely an improperly defined class or an invalid module export.\");\n      } // required to allow access to things like\n      // the customized toString, _debugContainerKey,\n      // owner, etc. without a double extend and without\n      // modifying the objects properties\n\n\n      if (typeof this.class._initFactory === 'function') {\n        this.class._initFactory(this);\n      } else {\n        // in the non-EmberObject case we need to still setOwner\n        // this is required for supporting glimmer environment and\n        // template instantiation which rely heavily on\n        // `options[OWNER]` being passed into `create`\n        // TODO: clean this up, and remove in future versions\n        if (options === undefined || props === undefined) {\n          // avoid mutating `props` here since they are the cached injections\n          props = (0, _polyfills.assign)({}, props);\n        }\n\n        (0, _owner.setOwner)(props, this.owner);\n      }\n\n      var instance = this.class.create(props);\n      FACTORY_FOR.set(instance, this);\n      return instance;\n    };\n\n    return FactoryManager;\n  }();\n\n  var VALID_FULL_NAME_REGEXP = /^[^:]+:[^:]+$/;\n  /**\n   A registry used to store factory and option information keyed\n   by type.\n  \n   A `Registry` stores the factory and option information needed by a\n   `Container` to instantiate and cache objects.\n  \n   The API for `Registry` is still in flux and should not be considered stable.\n  \n   @private\n   @class Registry\n   @since 1.11.0\n  */\n\n  var Registry =\n  /*#__PURE__*/\n  function () {\n    function Registry() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n      this.fallback = options.fallback || null;\n      this.resolver = options.resolver || null;\n      this.registrations = (0, _utils.dictionary)(options.registrations || null);\n      this._typeInjections = (0, _utils.dictionary)(null);\n      this._injections = (0, _utils.dictionary)(null);\n      this._localLookupCache = Object.create(null);\n      this._normalizeCache = (0, _utils.dictionary)(null);\n      this._resolveCache = (0, _utils.dictionary)(null);\n      this._failSet = new Set();\n      this._options = (0, _utils.dictionary)(null);\n      this._typeOptions = (0, _utils.dictionary)(null);\n    }\n    /**\n     A backup registry for resolving registrations when no matches can be found.\n        @private\n     @property fallback\n     @type Registry\n     */\n\n    /**\n     An object that has a `resolve` method that resolves a name.\n        @private\n     @property resolver\n     @type Resolver\n     */\n\n    /**\n     @private\n     @property registrations\n     @type InheritingDict\n     */\n\n    /**\n     @private\n        @property _typeInjections\n     @type InheritingDict\n     */\n\n    /**\n     @private\n        @property _injections\n     @type InheritingDict\n     */\n\n    /**\n     @private\n        @property _normalizeCache\n     @type InheritingDict\n     */\n\n    /**\n     @private\n        @property _resolveCache\n     @type InheritingDict\n     */\n\n    /**\n     @private\n        @property _options\n     @type InheritingDict\n     */\n\n    /**\n     @private\n        @property _typeOptions\n     @type InheritingDict\n     */\n\n    /**\n     Creates a container based on this registry.\n        @private\n     @method container\n     @param {Object} options\n     @return {Container} created container\n     */\n\n\n    var _proto3 = Registry.prototype;\n\n    _proto3.container = function container(options) {\n      return new Container(this, options);\n    }\n    /**\n     Registers a factory for later injection.\n        Example:\n        ```javascript\n     let registry = new Registry();\n        registry.register('model:user', Person, {singleton: false });\n     registry.register('fruit:favorite', Orange);\n     registry.register('communication:main', Email, {singleton: false});\n     ```\n        @private\n     @method register\n     @param {String} fullName\n     @param {Function} factory\n     @param {Object} options\n     */\n    ;\n\n    _proto3.register = function register(fullName, factory) {\n      var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n      true && !this.isValidFullName(fullName) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName));\n      true && !(factory !== undefined) && (0, _debug.assert)(\"Attempting to register an unknown factory: '\" + fullName + \"'\", factory !== undefined);\n      var normalizedName = this.normalize(fullName);\n      true && !!this._resolveCache[normalizedName] && (0, _debug.assert)(\"Cannot re-register: '\" + fullName + \"', as it has already been resolved.\", !this._resolveCache[normalizedName]);\n\n      this._failSet.delete(normalizedName);\n\n      this.registrations[normalizedName] = factory;\n      this._options[normalizedName] = options;\n    }\n    /**\n     Unregister a fullName\n        ```javascript\n     let registry = new Registry();\n     registry.register('model:user', User);\n        registry.resolve('model:user').create() instanceof User //=> true\n        registry.unregister('model:user')\n     registry.resolve('model:user') === undefined //=> true\n     ```\n        @private\n     @method unregister\n     @param {String} fullName\n     */\n    ;\n\n    _proto3.unregister = function unregister(fullName) {\n      true && !this.isValidFullName(fullName) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName));\n      var normalizedName = this.normalize(fullName);\n      this._localLookupCache = Object.create(null);\n      delete this.registrations[normalizedName];\n      delete this._resolveCache[normalizedName];\n      delete this._options[normalizedName];\n\n      this._failSet.delete(normalizedName);\n    }\n    /**\n     Given a fullName return the corresponding factory.\n        By default `resolve` will retrieve the factory from\n     the registry.\n        ```javascript\n     let registry = new Registry();\n     registry.register('api:twitter', Twitter);\n        registry.resolve('api:twitter') // => Twitter\n     ```\n        Optionally the registry can be provided with a custom resolver.\n     If provided, `resolve` will first provide the custom resolver\n     the opportunity to resolve the fullName, otherwise it will fallback\n     to the registry.\n        ```javascript\n     let registry = new Registry();\n     registry.resolver = function(fullName) {\n        // lookup via the module system of choice\n      };\n        // the twitter factory is added to the module system\n     registry.resolve('api:twitter') // => Twitter\n     ```\n        @private\n     @method resolve\n     @param {String} fullName\n     @param {Object} [options]\n     @param {String} [options.source] the fullname of the request source (used for local lookups)\n     @return {Function} fullName's factory\n     */\n    ;\n\n    _proto3.resolve = function resolve(fullName, options) {\n      var factory = _resolve(this, this.normalize(fullName), options);\n\n      if (factory === undefined && this.fallback !== null) {\n        var _this$fallback;\n\n        factory = (_this$fallback = this.fallback).resolve.apply(_this$fallback, arguments);\n      }\n\n      return factory;\n    }\n    /**\n     A hook that can be used to describe how the resolver will\n     attempt to find the factory.\n        For example, the default Ember `.describe` returns the full\n     class name (including namespace) where Ember's resolver expects\n     to find the `fullName`.\n        @private\n     @method describe\n     @param {String} fullName\n     @return {string} described fullName\n     */\n    ;\n\n    _proto3.describe = function describe(fullName) {\n      if (this.resolver !== null && this.resolver.lookupDescription) {\n        return this.resolver.lookupDescription(fullName);\n      } else if (this.fallback !== null) {\n        return this.fallback.describe(fullName);\n      } else {\n        return fullName;\n      }\n    }\n    /**\n     A hook to enable custom fullName normalization behavior\n        @private\n     @method normalizeFullName\n     @param {String} fullName\n     @return {string} normalized fullName\n     */\n    ;\n\n    _proto3.normalizeFullName = function normalizeFullName(fullName) {\n      if (this.resolver !== null && this.resolver.normalize) {\n        return this.resolver.normalize(fullName);\n      } else if (this.fallback !== null) {\n        return this.fallback.normalizeFullName(fullName);\n      } else {\n        return fullName;\n      }\n    }\n    /**\n     Normalize a fullName based on the application's conventions\n        @private\n     @method normalize\n     @param {String} fullName\n     @return {string} normalized fullName\n     */\n    ;\n\n    _proto3.normalize = function normalize(fullName) {\n      return this._normalizeCache[fullName] || (this._normalizeCache[fullName] = this.normalizeFullName(fullName));\n    }\n    /**\n     @method makeToString\n        @private\n     @param {any} factory\n     @param {string} fullName\n     @return {function} toString function\n     */\n    ;\n\n    _proto3.makeToString = function makeToString(factory, fullName) {\n      if (this.resolver !== null && this.resolver.makeToString) {\n        return this.resolver.makeToString(factory, fullName);\n      } else if (this.fallback !== null) {\n        return this.fallback.makeToString(factory, fullName);\n      } else {\n        return factory.toString();\n      }\n    }\n    /**\n     Given a fullName check if the container is aware of its factory\n     or singleton instance.\n        @private\n     @method has\n     @param {String} fullName\n     @param {Object} [options]\n     @param {String} [options.source] the fullname of the request source (used for local lookups)\n     @return {Boolean}\n     */\n    ;\n\n    _proto3.has = function has(fullName, options) {\n      if (!this.isValidFullName(fullName)) {\n        return false;\n      }\n\n      var source = options && options.source && this.normalize(options.source);\n      var namespace = options && options.namespace || undefined;\n      return _has(this, this.normalize(fullName), source, namespace);\n    }\n    /**\n     Allow registering options for all factories of a type.\n        ```javascript\n     let registry = new Registry();\n     let container = registry.container();\n        // if all of type `connection` must not be singletons\n     registry.optionsForType('connection', { singleton: false });\n        registry.register('connection:twitter', TwitterConnection);\n     registry.register('connection:facebook', FacebookConnection);\n        let twitter = container.lookup('connection:twitter');\n     let twitter2 = container.lookup('connection:twitter');\n        twitter === twitter2; // => false\n        let facebook = container.lookup('connection:facebook');\n     let facebook2 = container.lookup('connection:facebook');\n        facebook === facebook2; // => false\n     ```\n        @private\n     @method optionsForType\n     @param {String} type\n     @param {Object} options\n     */\n    ;\n\n    _proto3.optionsForType = function optionsForType(type, options) {\n      this._typeOptions[type] = options;\n    };\n\n    _proto3.getOptionsForType = function getOptionsForType(type) {\n      var optionsForType = this._typeOptions[type];\n\n      if (optionsForType === undefined && this.fallback !== null) {\n        optionsForType = this.fallback.getOptionsForType(type);\n      }\n\n      return optionsForType;\n    }\n    /**\n     @private\n     @method options\n     @param {String} fullName\n     @param {Object} options\n     */\n    ;\n\n    _proto3.options = function options(fullName, _options) {\n      var normalizedName = this.normalize(fullName);\n      this._options[normalizedName] = _options;\n    };\n\n    _proto3.getOptions = function getOptions(fullName) {\n      var normalizedName = this.normalize(fullName);\n      var options = this._options[normalizedName];\n\n      if (options === undefined && this.fallback !== null) {\n        options = this.fallback.getOptions(fullName);\n      }\n\n      return options;\n    };\n\n    _proto3.getOption = function getOption(fullName, optionName) {\n      var options = this._options[fullName];\n\n      if (options !== undefined && options[optionName] !== undefined) {\n        return options[optionName];\n      }\n\n      var type = fullName.split(':')[0];\n      options = this._typeOptions[type];\n\n      if (options && options[optionName] !== undefined) {\n        return options[optionName];\n      } else if (this.fallback !== null) {\n        return this.fallback.getOption(fullName, optionName);\n      }\n\n      return undefined;\n    }\n    /**\n     Used only via `injection`.\n        Provides a specialized form of injection, specifically enabling\n     all objects of one type to be injected with a reference to another\n     object.\n        For example, provided each object of type `controller` needed a `router`.\n     one would do the following:\n        ```javascript\n     let registry = new Registry();\n     let container = registry.container();\n        registry.register('router:main', Router);\n     registry.register('controller:user', UserController);\n     registry.register('controller:post', PostController);\n        registry.typeInjection('controller', 'router', 'router:main');\n        let user = container.lookup('controller:user');\n     let post = container.lookup('controller:post');\n        user.router instanceof Router; //=> true\n     post.router instanceof Router; //=> true\n        // both controllers share the same router\n     user.router === post.router; //=> true\n     ```\n        @private\n     @method typeInjection\n     @param {String} type\n     @param {String} property\n     @param {String} fullName\n     */\n    ;\n\n    _proto3.typeInjection = function typeInjection(type, property, fullName) {\n      true && !this.isValidFullName(fullName) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName));\n      var fullNameType = fullName.split(':')[0];\n      true && !(fullNameType !== type) && (0, _debug.assert)(\"Cannot inject a '\" + fullName + \"' on other \" + type + \"(s).\", fullNameType !== type);\n      var injections = this._typeInjections[type] || (this._typeInjections[type] = []);\n      injections.push({\n        property: property,\n        specifier: fullName\n      });\n    }\n    /**\n     Defines injection rules.\n        These rules are used to inject dependencies onto objects when they\n     are instantiated.\n        Two forms of injections are possible:\n        * Injecting one fullName on another fullName\n     * Injecting one fullName on a type\n        Example:\n        ```javascript\n     let registry = new Registry();\n     let container = registry.container();\n        registry.register('source:main', Source);\n     registry.register('model:user', User);\n     registry.register('model:post', Post);\n        // injecting one fullName on another fullName\n     // eg. each user model gets a post model\n     registry.injection('model:user', 'post', 'model:post');\n        // injecting one fullName on another type\n     registry.injection('model', 'source', 'source:main');\n        let user = container.lookup('model:user');\n     let post = container.lookup('model:post');\n        user.source instanceof Source; //=> true\n     post.source instanceof Source; //=> true\n        user.post instanceof Post; //=> true\n        // and both models share the same source\n     user.source === post.source; //=> true\n     ```\n        @private\n     @method injection\n     @param {String} factoryName\n     @param {String} property\n     @param {String} injectionName\n     */\n    ;\n\n    _proto3.injection = function injection(fullName, property, injectionName) {\n      true && !this.isValidFullName(injectionName) && (0, _debug.assert)(\"Invalid injectionName, expected: 'type:name' got: \" + injectionName, this.isValidFullName(injectionName));\n      var normalizedInjectionName = this.normalize(injectionName);\n\n      if (fullName.indexOf(':') === -1) {\n        return this.typeInjection(fullName, property, normalizedInjectionName);\n      }\n\n      true && !this.isValidFullName(fullName) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName));\n      var normalizedName = this.normalize(fullName);\n      var injections = this._injections[normalizedName] || (this._injections[normalizedName] = []);\n      injections.push({\n        property: property,\n        specifier: normalizedInjectionName\n      });\n    }\n    /**\n     @private\n     @method knownForType\n     @param {String} type the type to iterate over\n    */\n    ;\n\n    _proto3.knownForType = function knownForType(type) {\n      var localKnown = (0, _utils.dictionary)(null);\n      var registeredNames = Object.keys(this.registrations);\n\n      for (var index = 0; index < registeredNames.length; index++) {\n        var fullName = registeredNames[index];\n        var itemType = fullName.split(':')[0];\n\n        if (itemType === type) {\n          localKnown[fullName] = true;\n        }\n      }\n\n      var fallbackKnown, resolverKnown;\n\n      if (this.fallback !== null) {\n        fallbackKnown = this.fallback.knownForType(type);\n      }\n\n      if (this.resolver !== null && this.resolver.knownForType) {\n        resolverKnown = this.resolver.knownForType(type);\n      }\n\n      return (0, _polyfills.assign)({}, fallbackKnown, localKnown, resolverKnown);\n    };\n\n    _proto3.isValidFullName = function isValidFullName(fullName) {\n      return VALID_FULL_NAME_REGEXP.test(fullName);\n    };\n\n    _proto3.getInjections = function getInjections(fullName) {\n      var injections = this._injections[fullName];\n\n      if (this.fallback !== null) {\n        var fallbackInjections = this.fallback.getInjections(fullName);\n\n        if (fallbackInjections !== undefined) {\n          injections = injections === undefined ? fallbackInjections : injections.concat(fallbackInjections);\n        }\n      }\n\n      return injections;\n    };\n\n    _proto3.getTypeInjections = function getTypeInjections(type) {\n      var injections = this._typeInjections[type];\n\n      if (this.fallback !== null) {\n        var fallbackInjections = this.fallback.getTypeInjections(type);\n\n        if (fallbackInjections !== undefined) {\n          injections = injections === undefined ? fallbackInjections : injections.concat(fallbackInjections);\n        }\n      }\n\n      return injections;\n    }\n    /**\n     Given a fullName and a source fullName returns the fully resolved\n     fullName. Used to allow for local lookup.\n        ```javascript\n     let registry = new Registry();\n        // the twitter factory is added to the module system\n     registry.expandLocalLookup('component:post-title', { source: 'template:post' }) // => component:post/post-title\n     ```\n        @private\n     @method expandLocalLookup\n     @param {String} fullName\n     @param {Object} [options]\n     @param {String} [options.source] the fullname of the request source (used for local lookups)\n     @return {String} fullName\n     */\n    ;\n\n    _proto3.expandLocalLookup = function expandLocalLookup(fullName, options) {\n      if (this.resolver !== null && this.resolver.expandLocalLookup) {\n        true && !this.isValidFullName(fullName) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName));\n        true && !(!options.source || this.isValidFullName(options.source)) && (0, _debug.assert)('options.source must be a proper full name', !options.source || this.isValidFullName(options.source));\n        var normalizedFullName = this.normalize(fullName);\n        var normalizedSource = this.normalize(options.source);\n        return _expandLocalLookup(this, normalizedFullName, normalizedSource, options.namespace);\n      } else if (this.fallback !== null) {\n        return this.fallback.expandLocalLookup(fullName, options);\n      } else {\n        return null;\n      }\n    };\n\n    return Registry;\n  }();\n\n  _exports.Registry = Registry;\n\n  if (true\n  /* DEBUG */\n  ) {\n      var proto = Registry.prototype;\n\n      proto.normalizeInjectionsHash = function (hash) {\n        var injections = [];\n\n        for (var key in hash) {\n          if (hash.hasOwnProperty(key)) {\n            var _hash$key = hash[key],\n                specifier = _hash$key.specifier,\n                source = _hash$key.source,\n                namespace = _hash$key.namespace;\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: specifier,\n              source: source,\n              namespace: namespace\n            });\n          }\n        }\n\n        return injections;\n      };\n\n      proto.validateInjections = function (injections) {\n        if (!injections) {\n          return;\n        }\n\n        for (var i = 0; i < injections.length; i++) {\n          var _injections$i2 = injections[i],\n              specifier = _injections$i2.specifier,\n              source = _injections$i2.source,\n              namespace = _injections$i2.namespace;\n          true && !this.has(specifier, {\n            source: source,\n            namespace: namespace\n          }) && (0, _debug.assert)(\"Attempting to inject an unknown injection: '\" + specifier + \"'\", this.has(specifier, {\n            source: source,\n            namespace: namespace\n          }));\n        }\n      };\n    }\n\n  function _expandLocalLookup(registry, normalizedName, normalizedSource, namespace) {\n    var cache = registry._localLookupCache;\n    var normalizedNameCache = cache[normalizedName];\n\n    if (!normalizedNameCache) {\n      normalizedNameCache = cache[normalizedName] = Object.create(null);\n    }\n\n    var cacheKey = namespace || normalizedSource;\n    var cached = normalizedNameCache[cacheKey];\n\n    if (cached !== undefined) {\n      return cached;\n    }\n\n    var expanded = registry.resolver.expandLocalLookup(normalizedName, normalizedSource, namespace);\n    return normalizedNameCache[cacheKey] = expanded;\n  }\n\n  function _resolve(registry, _normalizedName, options) {\n    var normalizedName = _normalizedName; // when `source` is provided expand normalizedName\n    // and source into the full normalizedName\n\n    if (options !== undefined && (options.source || options.namespace)) {\n      normalizedName = registry.expandLocalLookup(_normalizedName, options);\n\n      if (!normalizedName) {\n        return;\n      }\n    }\n\n    var cached = registry._resolveCache[normalizedName];\n\n    if (cached !== undefined) {\n      return cached;\n    }\n\n    if (registry._failSet.has(normalizedName)) {\n      return;\n    }\n\n    var resolved;\n\n    if (registry.resolver) {\n      resolved = registry.resolver.resolve(normalizedName);\n    }\n\n    if (resolved === undefined) {\n      resolved = registry.registrations[normalizedName];\n    }\n\n    if (resolved === undefined) {\n      registry._failSet.add(normalizedName);\n    } else {\n      registry._resolveCache[normalizedName] = resolved;\n    }\n\n    return resolved;\n  }\n\n  function _has(registry, fullName, source, namespace) {\n    return registry.resolve(fullName, {\n      source: source,\n      namespace: namespace\n    }) !== undefined;\n  }\n\n  var privateNames = (0, _utils.dictionary)(null);\n  var privateSuffix = (\"\" + Math.random() + Date.now()).replace('.', '');\n\n  function privatize(_ref6) {\n    var fullName = _ref6[0];\n    var name = privateNames[fullName];\n\n    if (name) {\n      return name;\n    }\n\n    var _fullName$split2 = fullName.split(':'),\n        type = _fullName$split2[0],\n        rawName = _fullName$split2[1];\n\n    return privateNames[fullName] = (0, _utils.intern)(type + \":\" + rawName + \"-\" + privateSuffix);\n  }\n  /*\n  Public API for the container is still in flux.\n  The public API, specified on the application namespace should be considered the stable API.\n  // @module container\n    @private\n  */\n\n});","enifed(\"@ember/-internals/environment\", [\"exports\", \"@ember/deprecated-features\"], function (_exports, _deprecatedFeatures) {\n  \"use strict\";\n\n  _exports.getLookup = getLookup;\n  _exports.setLookup = setLookup;\n  _exports.getENV = getENV;\n  _exports.ENV = _exports.context = _exports.global = void 0;\n\n  // from lodash to catch fake globals\n  function checkGlobal(value) {\n    return value && value.Object === Object ? value : undefined;\n  } // element ids can ruin global miss checks\n\n\n  function checkElementIdShadowing(value) {\n    return value && value.nodeType === undefined ? value : undefined;\n  } // export real global\n\n\n  var global$1 = checkGlobal(checkElementIdShadowing(typeof global === 'object' && global)) || checkGlobal(typeof self === 'object' && self) || checkGlobal(typeof window === 'object' && window) || typeof mainContext !== 'undefined' && mainContext || // set before strict mode in Ember loader/wrapper\n  new Function('return this')(); // eval outside of strict mode\n  // legacy imports/exports/lookup stuff (should we keep this??)\n\n  _exports.global = global$1;\n\n  var context = function (global, Ember) {\n    return Ember === undefined ? {\n      imports: global,\n      exports: global,\n      lookup: global\n    } : {\n      // import jQuery\n      imports: Ember.imports || global,\n      // export Ember\n      exports: Ember.exports || global,\n      // search for Namespaces\n      lookup: Ember.lookup || global\n    };\n  }(global$1, global$1.Ember);\n\n  _exports.context = context;\n\n  function getLookup() {\n    return context.lookup;\n  }\n\n  function setLookup(value) {\n    context.lookup = value;\n  }\n  /**\n    The hash of environment variables used to control various configuration\n    settings. To specify your own or override default settings, add the\n    desired properties to a global hash named `EmberENV` (or `ENV` for\n    backwards compatibility with earlier versions of Ember). The `EmberENV`\n    hash must be created before loading Ember.\n  \n    @class EmberENV\n    @type Object\n    @public\n  */\n\n\n  var ENV = {\n    ENABLE_OPTIONAL_FEATURES: false,\n\n    /**\n      Determines whether Ember should add to `Array`, `Function`, and `String`\n      native object prototypes, a few extra methods in order to provide a more\n      friendly API.\n         We generally recommend leaving this option set to true however, if you need\n      to turn it off, you can add the configuration property\n      `EXTEND_PROTOTYPES` to `EmberENV` and set it to `false`.\n         Note, when disabled (the default configuration for Ember Addons), you will\n      instead have to access all methods and functions from the Ember\n      namespace.\n         @property EXTEND_PROTOTYPES\n      @type Boolean\n      @default true\n      @for EmberENV\n      @public\n    */\n    EXTEND_PROTOTYPES: {\n      Array: true,\n      Function: true,\n      String: true\n    },\n\n    /**\n      The `LOG_STACKTRACE_ON_DEPRECATION` property, when true, tells Ember to log\n      a full stack trace during deprecation warnings.\n         @property LOG_STACKTRACE_ON_DEPRECATION\n      @type Boolean\n      @default true\n      @for EmberENV\n      @public\n    */\n    LOG_STACKTRACE_ON_DEPRECATION: true,\n\n    /**\n      The `LOG_VERSION` property, when true, tells Ember to log versions of all\n      dependent libraries in use.\n         @property LOG_VERSION\n      @type Boolean\n      @default true\n      @for EmberENV\n      @public\n    */\n    LOG_VERSION: true,\n    RAISE_ON_DEPRECATION: false,\n    STRUCTURED_PROFILE: false,\n\n    /**\n      Whether to insert a `<div class=\"ember-view\" />` wrapper around the\n      application template. See RFC #280.\n         This is not intended to be set directly, as the implementation may change in\n      the future. Use `@ember/optional-features` instead.\n         @property _APPLICATION_TEMPLATE_WRAPPER\n      @for EmberENV\n      @type Boolean\n      @default true\n      @private\n    */\n    _APPLICATION_TEMPLATE_WRAPPER: true,\n\n    /**\n      Whether to use Glimmer Component semantics (as opposed to the classic \"Curly\"\n      components semantics) for template-only components. See RFC #278.\n         This is not intended to be set directly, as the implementation may change in\n      the future. Use `@ember/optional-features` instead.\n         @property _TEMPLATE_ONLY_GLIMMER_COMPONENTS\n      @for EmberENV\n      @type Boolean\n      @default false\n      @private\n    */\n    _TEMPLATE_ONLY_GLIMMER_COMPONENTS: false,\n\n    /**\n      Whether the app is using jQuery. See RFC #294.\n         This is not intended to be set directly, as the implementation may change in\n      the future. Use `@ember/optional-features` instead.\n         @property _JQUERY_INTEGRATION\n      @for EmberENV\n      @type Boolean\n      @default true\n      @private\n    */\n    _JQUERY_INTEGRATION: true,\n\n    /**\n      Controls the maximum number of scheduled rerenders without \"settling\". In general,\n      applications should not need to modify this environment variable, but please\n      open an issue so that we can determine if a better default value is needed.\n         @property _RERENDER_LOOP_LIMIT\n      @for EmberENV\n      @type number\n      @default 1000\n      @private\n     */\n    _RERENDER_LOOP_LIMIT: 1000,\n    EMBER_LOAD_HOOKS: {},\n    FEATURES: {}\n  };\n  _exports.ENV = ENV;\n\n  (function (EmberENV) {\n    if (typeof EmberENV !== 'object' || EmberENV === null) return;\n\n    for (var flag in EmberENV) {\n      if (!EmberENV.hasOwnProperty(flag) || flag === 'EXTEND_PROTOTYPES' || flag === 'EMBER_LOAD_HOOKS') continue;\n      var defaultValue = ENV[flag];\n\n      if (defaultValue === true) {\n        ENV[flag] = EmberENV[flag] !== false;\n      } else if (defaultValue === false) {\n        ENV[flag] = EmberENV[flag] === true;\n      }\n    }\n\n    var EXTEND_PROTOTYPES = EmberENV.EXTEND_PROTOTYPES;\n\n    if (EXTEND_PROTOTYPES !== undefined) {\n      if (typeof EXTEND_PROTOTYPES === 'object' && EXTEND_PROTOTYPES !== null) {\n        ENV.EXTEND_PROTOTYPES.String = EXTEND_PROTOTYPES.String !== false;\n\n        if (_deprecatedFeatures.FUNCTION_PROTOTYPE_EXTENSIONS) {\n          ENV.EXTEND_PROTOTYPES.Function = EXTEND_PROTOTYPES.Function !== false;\n        }\n\n        ENV.EXTEND_PROTOTYPES.Array = EXTEND_PROTOTYPES.Array !== false;\n      } else {\n        var isEnabled = EXTEND_PROTOTYPES !== false;\n        ENV.EXTEND_PROTOTYPES.String = isEnabled;\n\n        if (_deprecatedFeatures.FUNCTION_PROTOTYPE_EXTENSIONS) {\n          ENV.EXTEND_PROTOTYPES.Function = isEnabled;\n        }\n\n        ENV.EXTEND_PROTOTYPES.Array = isEnabled;\n      }\n    } // TODO this does not seem to be used by anything,\n    //      can we remove it? do we need to deprecate it?\n\n\n    var EMBER_LOAD_HOOKS = EmberENV.EMBER_LOAD_HOOKS;\n\n    if (typeof EMBER_LOAD_HOOKS === 'object' && EMBER_LOAD_HOOKS !== null) {\n      for (var hookName in EMBER_LOAD_HOOKS) {\n        if (!EMBER_LOAD_HOOKS.hasOwnProperty(hookName)) continue;\n        var hooks = EMBER_LOAD_HOOKS[hookName];\n\n        if (Array.isArray(hooks)) {\n          ENV.EMBER_LOAD_HOOKS[hookName] = hooks.filter(function (hook) {\n            return typeof hook === 'function';\n          });\n        }\n      }\n    }\n\n    var FEATURES = EmberENV.FEATURES;\n\n    if (typeof FEATURES === 'object' && FEATURES !== null) {\n      for (var feature in FEATURES) {\n        if (!FEATURES.hasOwnProperty(feature)) continue;\n        ENV.FEATURES[feature] = FEATURES[feature] === true;\n      }\n    }\n  })(global$1.EmberENV || global$1.ENV);\n\n  function getENV() {\n    return ENV;\n  }\n});","enifed(\"@ember/-internals/error-handling/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.getOnerror = getOnerror;\n  _exports.setOnerror = setOnerror;\n  _exports.getDispatchOverride = getDispatchOverride;\n  _exports.setDispatchOverride = setDispatchOverride;\n  _exports.onErrorTarget = void 0;\n  var onerror;\n  var onErrorTarget = {\n    get onerror() {\n      return onerror;\n    }\n\n  }; // Ember.onerror getter\n\n  _exports.onErrorTarget = onErrorTarget;\n\n  function getOnerror() {\n    return onerror;\n  } // Ember.onerror setter\n\n\n  function setOnerror(handler) {\n    onerror = handler;\n  }\n\n  var dispatchOverride; // allows testing adapter to override dispatch\n\n  function getDispatchOverride() {\n    return dispatchOverride;\n  }\n\n  function setDispatchOverride(handler) {\n    dispatchOverride = handler;\n  }\n});","enifed(\"@ember/-internals/extension-support/index\", [\"exports\", \"@ember/-internals/extension-support/lib/data_adapter\", \"@ember/-internals/extension-support/lib/container_debug_adapter\"], function (_exports, _data_adapter, _container_debug_adapter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"DataAdapter\", {\n    enumerable: true,\n    get: function () {\n      return _data_adapter.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ContainerDebugAdapter\", {\n    enumerable: true,\n    get: function () {\n      return _container_debug_adapter.default;\n    }\n  });\n});","enifed(\"@ember/-internals/extension-support/lib/container_debug_adapter\", [\"exports\", \"@ember/string\", \"@ember/-internals/runtime\"], function (_exports, _string, _runtime) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n  @module @ember/debug\n  */\n\n  /**\n    The `ContainerDebugAdapter` helps the container and resolver interface\n    with tools that debug Ember such as the\n    [Ember Inspector](https://github.com/emberjs/ember-inspector)\n    for Chrome and Firefox.\n  \n    This class can be extended by a custom resolver implementer\n    to override some of the methods with library-specific code.\n  \n    The methods likely to be overridden are:\n  \n    * `canCatalogEntriesByType`\n    * `catalogEntriesByType`\n  \n    The adapter will need to be registered\n    in the application's container as `container-debug-adapter:main`.\n  \n    Example:\n  \n    ```javascript\n    Application.initializer({\n      name: \"containerDebugAdapter\",\n  \n      initialize(application) {\n        application.register('container-debug-adapter:main', require('app/container-debug-adapter'));\n      }\n    });\n    ```\n  \n    @class ContainerDebugAdapter\n    @extends EmberObject\n    @since 1.5.0\n    @public\n  */\n  var _default = _runtime.Object.extend({\n    /**\n      The resolver instance of the application\n      being debugged. This property will be injected\n      on creation.\n       @property resolver\n      @default null\n      @public\n    */\n    resolver: null,\n\n    /**\n      Returns true if it is possible to catalog a list of available\n      classes in the resolver for a given type.\n       @method canCatalogEntriesByType\n      @param {String} type The type. e.g. \"model\", \"controller\", \"route\".\n      @return {boolean} whether a list is available for this type.\n      @public\n    */\n    canCatalogEntriesByType: function (type) {\n      if (type === 'model' || type === 'template') {\n        return false;\n      }\n\n      return true;\n    },\n\n    /**\n      Returns the available classes a given type.\n       @method catalogEntriesByType\n      @param {String} type The type. e.g. \"model\", \"controller\", \"route\".\n      @return {Array} An array of strings.\n      @public\n    */\n    catalogEntriesByType: function (type) {\n      var namespaces = (0, _runtime.A)(_runtime.Namespace.NAMESPACES);\n      var types = (0, _runtime.A)();\n      var typeSuffixRegex = new RegExp((0, _string.classify)(type) + \"$\");\n      namespaces.forEach(function (namespace) {\n        for (var key in namespace) {\n          if (!namespace.hasOwnProperty(key)) {\n            continue;\n          }\n\n          if (typeSuffixRegex.test(key)) {\n            var klass = namespace[key];\n\n            if ((0, _runtime.typeOf)(klass) === 'class') {\n              types.push((0, _string.dasherize)(key.replace(typeSuffixRegex, '')));\n            }\n          }\n        }\n      });\n      return types;\n    }\n  });\n\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/extension-support/lib/data_adapter\", [\"exports\", \"@ember/-internals/owner\", \"@ember/runloop\", \"@ember/-internals/metal\", \"@ember/string\", \"@ember/-internals/runtime\"], function (_exports, _owner, _runloop, _metal, _string, _runtime) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n  @module @ember/debug\n  */\n\n  /**\n    The `DataAdapter` helps a data persistence library\n    interface with tools that debug Ember such\n    as the [Ember Inspector](https://github.com/emberjs/ember-inspector)\n    for Chrome and Firefox.\n  \n    This class will be extended by a persistence library\n    which will override some of the methods with\n    library-specific code.\n  \n    The methods likely to be overridden are:\n  \n    * `getFilters`\n    * `detect`\n    * `columnsForType`\n    * `getRecords`\n    * `getRecordColumnValues`\n    * `getRecordKeywords`\n    * `getRecordFilterValues`\n    * `getRecordColor`\n    * `observeRecord`\n  \n    The adapter will need to be registered\n    in the application's container as `dataAdapter:main`.\n  \n    Example:\n  \n    ```javascript\n    Application.initializer({\n      name: \"data-adapter\",\n  \n      initialize: function(application) {\n        application.register('data-adapter:main', DS.DataAdapter);\n      }\n    });\n    ```\n  \n    @class DataAdapter\n    @extends EmberObject\n    @public\n  */\n  var _default = _runtime.Object.extend({\n    init: function () {\n      this._super.apply(this, arguments);\n\n      this.releaseMethods = (0, _runtime.A)();\n    },\n\n    /**\n      The container-debug-adapter which is used\n      to list all models.\n       @property containerDebugAdapter\n      @default undefined\n      @since 1.5.0\n      @public\n    **/\n    containerDebugAdapter: undefined,\n\n    /**\n      The number of attributes to send\n      as columns. (Enough to make the record\n      identifiable).\n       @private\n      @property attributeLimit\n      @default 3\n      @since 1.3.0\n    */\n    attributeLimit: 3,\n\n    /**\n       Ember Data > v1.0.0-beta.18\n       requires string model names to be passed\n       around instead of the actual factories.\n        This is a stamp for the Ember Inspector\n       to differentiate between the versions\n       to be able to support older versions too.\n        @public\n       @property acceptsModelName\n     */\n    acceptsModelName: true,\n\n    /**\n      Stores all methods that clear observers.\n      These methods will be called on destruction.\n       @private\n      @property releaseMethods\n      @since 1.3.0\n    */\n    releaseMethods: (0, _runtime.A)(),\n\n    /**\n      Specifies how records can be filtered.\n      Records returned will need to have a `filterValues`\n      property with a key for every name in the returned array.\n       @public\n      @method getFilters\n      @return {Array} List of objects defining filters.\n       The object should have a `name` and `desc` property.\n    */\n    getFilters: function () {\n      return (0, _runtime.A)();\n    },\n\n    /**\n      Fetch the model types and observe them for changes.\n       @public\n      @method watchModelTypes\n       @param {Function} typesAdded Callback to call to add types.\n      Takes an array of objects containing wrapped types (returned from `wrapModelType`).\n       @param {Function} typesUpdated Callback to call when a type has changed.\n      Takes an array of objects containing wrapped types.\n       @return {Function} Method to call to remove all observers\n    */\n    watchModelTypes: function (typesAdded, typesUpdated) {\n      var _this = this;\n\n      var modelTypes = this.getModelTypes();\n      var releaseMethods = (0, _runtime.A)();\n      var typesToSend;\n      typesToSend = modelTypes.map(function (type) {\n        var klass = type.klass;\n\n        var wrapped = _this.wrapModelType(klass, type.name);\n\n        releaseMethods.push(_this.observeModelType(type.name, typesUpdated));\n        return wrapped;\n      });\n      typesAdded(typesToSend);\n\n      var release = function () {\n        releaseMethods.forEach(function (fn) {\n          return fn();\n        });\n\n        _this.releaseMethods.removeObject(release);\n      };\n\n      this.releaseMethods.pushObject(release);\n      return release;\n    },\n    _nameToClass: function (type) {\n      if (typeof type === 'string') {\n        var owner = (0, _owner.getOwner)(this);\n        var Factory = owner.factoryFor(\"model:\" + type);\n        type = Factory && Factory.class;\n      }\n\n      return type;\n    },\n\n    /**\n      Fetch the records of a given type and observe them for changes.\n       @public\n      @method watchRecords\n       @param {String} modelName The model name.\n       @param {Function} recordsAdded Callback to call to add records.\n      Takes an array of objects containing wrapped records.\n      The object should have the following properties:\n        columnValues: {Object} The key and value of a table cell.\n        object: {Object} The actual record object.\n       @param {Function} recordsUpdated Callback to call when a record has changed.\n      Takes an array of objects containing wrapped records.\n       @param {Function} recordsRemoved Callback to call when a record has removed.\n      Takes the following parameters:\n        index: The array index where the records were removed.\n        count: The number of records removed.\n       @return {Function} Method to call to remove all observers.\n    */\n    watchRecords: function (modelName, recordsAdded, recordsUpdated, recordsRemoved) {\n      var _this2 = this;\n\n      var releaseMethods = (0, _runtime.A)();\n\n      var klass = this._nameToClass(modelName);\n\n      var records = this.getRecords(klass, modelName);\n      var release;\n\n      function recordUpdated(updatedRecord) {\n        recordsUpdated([updatedRecord]);\n      }\n\n      var recordsToSend = records.map(function (record) {\n        releaseMethods.push(_this2.observeRecord(record, recordUpdated));\n        return _this2.wrapRecord(record);\n      });\n\n      var contentDidChange = function (array, idx, removedCount, addedCount) {\n        for (var i = idx; i < idx + addedCount; i++) {\n          var record = (0, _metal.objectAt)(array, i);\n\n          var wrapped = _this2.wrapRecord(record);\n\n          releaseMethods.push(_this2.observeRecord(record, recordUpdated));\n          recordsAdded([wrapped]);\n        }\n\n        if (removedCount) {\n          recordsRemoved(idx, removedCount);\n        }\n      };\n\n      var observer = {\n        didChange: contentDidChange,\n        willChange: function () {\n          return this;\n        }\n      };\n      (0, _metal.addArrayObserver)(records, this, observer);\n\n      release = function () {\n        releaseMethods.forEach(function (fn) {\n          return fn();\n        });\n        (0, _metal.removeArrayObserver)(records, _this2, observer);\n\n        _this2.releaseMethods.removeObject(release);\n      };\n\n      recordsAdded(recordsToSend);\n      this.releaseMethods.pushObject(release);\n      return release;\n    },\n\n    /**\n      Clear all observers before destruction\n      @private\n      @method willDestroy\n    */\n    willDestroy: function () {\n      this._super.apply(this, arguments);\n\n      this.releaseMethods.forEach(function (fn) {\n        return fn();\n      });\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: function () {\n      return false;\n    },\n\n    /**\n      Get the columns for a given model type.\n       @public\n      @method columnsForType\n      @return {Array} An array of columns of the following format:\n       name: {String} The name of the column.\n       desc: {String} Humanized description (what would show in a table column name).\n    */\n    columnsForType: function () {\n      return (0, _runtime.A)();\n    },\n\n    /**\n      Adds observers to a model type class.\n       @private\n      @method observeModelType\n      @param {String} modelName The model type name.\n      @param {Function} typesUpdated Called when a type is modified.\n      @return {Function} The function to call to remove observers.\n    */\n    observeModelType: function (modelName, typesUpdated) {\n      var _this3 = this;\n\n      var klass = this._nameToClass(modelName);\n\n      var records = this.getRecords(klass, modelName);\n\n      function onChange() {\n        typesUpdated([this.wrapModelType(klass, modelName)]);\n      }\n\n      var observer = {\n        didChange: function (array, idx, removedCount, addedCount) {\n          // Only re-fetch records if the record count changed\n          // (which is all we care about as far as model types are concerned).\n          if (removedCount > 0 || addedCount > 0) {\n            (0, _runloop.scheduleOnce)('actions', this, onChange);\n          }\n        },\n        willChange: function () {\n          return this;\n        }\n      };\n      (0, _metal.addArrayObserver)(records, this, observer);\n\n      var release = function () {\n        return (0, _metal.removeArrayObserver)(records, _this3, observer);\n      };\n\n      return release;\n    },\n\n    /**\n      Wraps a given model type and observes changes to it.\n       @private\n      @method wrapModelType\n      @param {Class} klass A model class.\n      @param {String} modelName Name of the class.\n      @return {Object} Contains the wrapped type and the function to remove observers\n      Format:\n        type: {Object} The wrapped type.\n          The wrapped type has the following format:\n            name: {String} The name of the type.\n            count: {Integer} The number of records available.\n            columns: {Columns} An array of columns to describe the record.\n            object: {Class} The actual Model type class.\n        release: {Function} The function to remove observers.\n    */\n    wrapModelType: function (klass, name) {\n      var records = this.getRecords(klass, name);\n      var typeToSend;\n      typeToSend = {\n        name: name,\n        count: (0, _metal.get)(records, 'length'),\n        columns: this.columnsForType(klass),\n        object: klass\n      };\n      return typeToSend;\n    },\n\n    /**\n      Fetches all models defined in the application.\n       @private\n      @method getModelTypes\n      @return {Array} Array of model types.\n    */\n    getModelTypes: function () {\n      var _this4 = this;\n\n      var containerDebugAdapter = this.get('containerDebugAdapter');\n      var types;\n\n      if (containerDebugAdapter.canCatalogEntriesByType('model')) {\n        types = containerDebugAdapter.catalogEntriesByType('model');\n      } else {\n        types = this._getObjectsOnNamespaces();\n      } // New adapters return strings instead of classes.\n\n\n      types = (0, _runtime.A)(types).map(function (name) {\n        return {\n          klass: _this4._nameToClass(name),\n          name: name\n        };\n      });\n      types = (0, _runtime.A)(types).filter(function (type) {\n        return _this4.detect(type.klass);\n      });\n      return (0, _runtime.A)(types);\n    },\n\n    /**\n      Loops over all namespaces and all objects\n      attached to them.\n       @private\n      @method _getObjectsOnNamespaces\n      @return {Array} Array of model type strings.\n    */\n    _getObjectsOnNamespaces: function () {\n      var _this5 = this;\n\n      var namespaces = (0, _runtime.A)(_runtime.Namespace.NAMESPACES);\n      var types = (0, _runtime.A)();\n      namespaces.forEach(function (namespace) {\n        for (var key in namespace) {\n          if (!namespace.hasOwnProperty(key)) {\n            continue;\n          } // Even though we will filter again in `getModelTypes`,\n          // we should not call `lookupFactory` on non-models\n\n\n          if (!_this5.detect(namespace[key])) {\n            continue;\n          }\n\n          var name = (0, _string.dasherize)(key);\n          types.push(name);\n        }\n      });\n      return types;\n    },\n\n    /**\n      Fetches all loaded records for a given type.\n       @public\n      @method getRecords\n      @return {Array} An array of records.\n       This array will be observed for changes,\n       so it should update when new records are added/removed.\n    */\n    getRecords: function () {\n      return (0, _runtime.A)();\n    },\n\n    /**\n      Wraps a record and observers changes to it.\n       @private\n      @method wrapRecord\n      @param {Object} record The record instance.\n      @return {Object} The wrapped record. Format:\n      columnValues: {Array}\n      searchKeywords: {Array}\n    */\n    wrapRecord: function (record) {\n      var recordToSend = {\n        object: record\n      };\n      recordToSend.columnValues = this.getRecordColumnValues(record);\n      recordToSend.searchKeywords = this.getRecordKeywords(record);\n      recordToSend.filterValues = this.getRecordFilterValues(record);\n      recordToSend.color = this.getRecordColor(record);\n      return recordToSend;\n    },\n\n    /**\n      Gets the values for each column.\n       @public\n      @method getRecordColumnValues\n      @return {Object} Keys should match column names defined\n      by the model type.\n    */\n    getRecordColumnValues: function () {\n      return {};\n    },\n\n    /**\n      Returns keywords to match when searching records.\n       @public\n      @method getRecordKeywords\n      @return {Array} Relevant keywords for search.\n    */\n    getRecordKeywords: function () {\n      return (0, _runtime.A)();\n    },\n\n    /**\n      Returns the values of filters defined by `getFilters`.\n       @public\n      @method getRecordFilterValues\n      @param {Object} record The record instance.\n      @return {Object} The filter values.\n    */\n    getRecordFilterValues: function () {\n      return {};\n    },\n\n    /**\n      Each record can have a color that represents its state.\n       @public\n      @method getRecordColor\n      @param {Object} record The record instance\n      @return {String} The records color.\n        Possible options: black, red, blue, green.\n    */\n    getRecordColor: function () {\n      return null;\n    },\n\n    /**\n      Observes all relevant properties and re-sends the wrapped record\n      when a change occurs.\n       @public\n      @method observerRecord\n      @return {Function} The function to call to remove all observers.\n    */\n    observeRecord: function () {\n      return function () {};\n    }\n  });\n\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/glimmer\", [\"exports\", \"node-module\", \"ember-babel\", \"@ember/polyfills\", \"@ember/-internals/owner\", \"@glimmer/opcode-compiler\", \"@ember/-internals/runtime\", \"@ember/-internals/utils\", \"@ember/runloop\", \"@glimmer/reference\", \"@ember/-internals/metal\", \"@ember/debug\", \"@glimmer/runtime\", \"@glimmer/util\", \"@ember/-internals/views\", \"@ember/-internals/browser-environment\", \"@ember/instrumentation\", \"@ember/service\", \"@ember/-internals/environment\", \"@ember/string\", \"@glimmer/wire-format\", \"@ember/-internals/container\", \"rsvp\", \"@glimmer/node\", \"@ember/-internals/routing\", \"@ember/deprecated-features\"], function (_exports, _nodeModule, _emberBabel, _polyfills, _owner, _opcodeCompiler, _runtime, _utils, _runloop, _reference, _metal, _debug, _runtime2, _util, _views, _browserEnvironment, _instrumentation, _service, _environment2, _string, _wireFormat, _container, _rsvp, _node, _routing, _deprecatedFeatures) {\n  \"use strict\";\n\n  _exports.template = template;\n  _exports.helper = helper;\n  _exports.escapeExpression = escapeExpression;\n  _exports.htmlSafe = htmlSafe;\n  _exports.isHTMLSafe = isHTMLSafe;\n  _exports._resetRenderers = _resetRenderers;\n  _exports.renderSettled = renderSettled;\n  _exports.getTemplate = getTemplate;\n  _exports.setTemplate = setTemplate;\n  _exports.hasTemplate = hasTemplate;\n  _exports.getTemplates = getTemplates;\n  _exports.setTemplates = setTemplates;\n  _exports.setupEngineRegistry = setupEngineRegistry;\n  _exports.setupApplicationRegistry = setupApplicationRegistry;\n  _exports._registerMacros = registerMacros;\n  _exports.iterableFor = _iterableFor;\n  _exports.capabilities = capabilities;\n  _exports.setComponentManager = setComponentManager;\n  _exports.getComponentManager = getComponentManager;\n  _exports.setModifierManager = setModifierManager;\n  _exports.getModifierManager = getModifierManager;\n  _exports.modifierCapabilties = capabilities$1;\n  Object.defineProperty(_exports, \"DOMChanges\", {\n    enumerable: true,\n    get: function () {\n      return _runtime2.DOMChanges;\n    }\n  });\n  Object.defineProperty(_exports, \"DOMTreeConstruction\", {\n    enumerable: true,\n    get: function () {\n      return _runtime2.DOMTreeConstruction;\n    }\n  });\n  Object.defineProperty(_exports, \"isSerializationFirstNode\", {\n    enumerable: true,\n    get: function () {\n      return _runtime2.isSerializationFirstNode;\n    }\n  });\n  Object.defineProperty(_exports, \"NodeDOMTreeConstruction\", {\n    enumerable: true,\n    get: function () {\n      return _node.NodeDOMTreeConstruction;\n    }\n  });\n  _exports.OutletView = _exports.DebugStack = _exports.INVOKE = _exports.UpdatableReference = _exports.AbstractComponentManager = _exports._experimentalMacros = _exports.InteractiveRenderer = _exports.InertRenderer = _exports.Renderer = _exports.SafeString = _exports.Environment = _exports.Helper = _exports.ROOT_REF = _exports.Component = _exports.LinkComponent = _exports.TextArea = _exports.TextField = _exports.Checkbox = _exports.RootTemplate = void 0;\n\n  function _templateObject10() {\n    const data = _taggedTemplateLiteralLoose([\"component:-default\"]);\n\n    _templateObject10 = function () {\n      return data;\n    };\n\n    return data;\n  }\n\n  function _templateObject9() {\n    const data = _taggedTemplateLiteralLoose([\"template-compiler:main\"]);\n\n    _templateObject9 = function () {\n      return data;\n    };\n\n    return data;\n  }\n\n  function _templateObject8() {\n    const data = _taggedTemplateLiteralLoose([\"template-compiler:main\"]);\n\n    _templateObject8 = function () {\n      return data;\n    };\n\n    return data;\n  }\n\n  function _templateObject7() {\n    const data = _taggedTemplateLiteralLoose([\"template-compiler:main\"]);\n\n    _templateObject7 = function () {\n      return data;\n    };\n\n    return data;\n  }\n\n  function _templateObject6() {\n    const data = _taggedTemplateLiteralLoose([\"template:components/-default\"]);\n\n    _templateObject6 = function () {\n      return data;\n    };\n\n    return data;\n  }\n\n  function _templateObject5() {\n    const data = _taggedTemplateLiteralLoose([\"template:-root\"]);\n\n    _templateObject5 = function () {\n      return data;\n    };\n\n    return data;\n  }\n\n  function _templateObject4() {\n    const data = _taggedTemplateLiteralLoose([\"template:-root\"]);\n\n    _templateObject4 = function () {\n      return data;\n    };\n\n    return data;\n  }\n\n  function _templateObject3() {\n    const data = _taggedTemplateLiteralLoose([\"component:-default\"]);\n\n    _templateObject3 = function () {\n      return data;\n    };\n\n    return data;\n  }\n\n  function _templateObject2() {\n    const data = _taggedTemplateLiteralLoose([\"template:components/-default\"]);\n\n    _templateObject2 = function () {\n      return data;\n    };\n\n    return data;\n  }\n\n  function _templateObject() {\n    const data = _taggedTemplateLiteralLoose([\"template:components/-default\"]);\n\n    _templateObject = function () {\n      return data;\n    };\n\n    return data;\n  }\n\n  function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.slice(0); } strings.raw = raw; return strings; }\n\n  var _CoreView$extend;\n\n  function template(json) {\n    return new FactoryWrapper((0, _opcodeCompiler.templateFactory)(json));\n  }\n\n  var FactoryWrapper =\n  /*#__PURE__*/\n  function () {\n    function FactoryWrapper(factory) {\n      this.factory = factory;\n      this.id = factory.id;\n      this.meta = factory.meta;\n    }\n\n    var _proto = FactoryWrapper.prototype;\n\n    _proto.create = function create(injections) {\n      var owner = (0, _owner.getOwner)(injections);\n      return this.factory.create(injections.compiler, {\n        owner: owner\n      });\n    };\n\n    return FactoryWrapper;\n  }();\n\n  var RootTemplate = template({\n    \"id\": \"hjhxUoru\",\n    \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[28,\\\"component\\\",[[23,0,[]]],null],false]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/root.hbs\"\n    }\n  });\n  /**\n  @module @ember/component\n  */\n\n  _exports.RootTemplate = RootTemplate;\n  var RECOMPUTE_TAG = (0, _utils.symbol)('RECOMPUTE_TAG');\n\n  function isHelperFactory(helper) {\n    return typeof helper === 'object' && helper !== null && helper.class && helper.class.isHelperFactory;\n  }\n\n  function isSimpleHelper(helper) {\n    return helper.destroy === undefined;\n  }\n  /**\n    Ember Helpers are functions that can compute values, and are used in templates.\n    For example, this code calls a helper named `format-currency`:\n  \n    ```handlebars\n    <div>{{format-currency cents currency=\"$\"}}</div>\n    ```\n  \n    Additionally a helper can be called as a nested helper (sometimes called a\n    subexpression). In this example, the computed value of a helper is passed\n    to a component named `show-money`:\n  \n    ```handlebars\n    {{show-money amount=(format-currency cents currency=\"$\")}}\n    ```\n  \n    Helpers defined using a class must provide a `compute` function. For example:\n  \n    ```app/helpers/format-currency.js\n    import Helper from '@ember/component/helper';\n  \n    export default Helper.extend({\n      compute([cents], { currency }) {\n        return `${currency}${cents * 0.01}`;\n      }\n    });\n    ```\n  \n    Each time the input to a helper changes, the `compute` function will be\n    called again.\n  \n    As instances, these helpers also have access to the container and will accept\n    injected dependencies.\n  \n    Additionally, class helpers can call `recompute` to force a new computation.\n  \n    @class Helper\n    @public\n    @since 1.13.0\n  */\n\n\n  var Helper = _runtime.FrameworkObject.extend({\n    init: function () {\n      this._super.apply(this, arguments);\n\n      this[RECOMPUTE_TAG] = _reference.DirtyableTag.create();\n    },\n\n    /**\n      On a class-based helper, it may be useful to force a recomputation of that\n      helpers value. This is akin to `rerender` on a component.\n         For example, this component will rerender when the `currentUser` on a\n      session service changes:\n         ```app/helpers/current-user-email.js\n      import Helper from '@ember/component/helper'\n      import { inject as service } from '@ember/service'\n      import { observer } from '@ember/object'\n         export default Helper.extend({\n        session: service(),\n        onNewUser: observer('session.currentUser', function() {\n          this.recompute();\n        }),\n        compute() {\n          return this.get('session.currentUser.email');\n        }\n      });\n      ```\n         @method recompute\n      @public\n      @since 1.13.0\n    */\n    recompute: function () {\n      var _this = this;\n\n      (0, _runloop.join)(function () {\n        return _this[RECOMPUTE_TAG].inner.dirty();\n      });\n    }\n  });\n\n  _exports.Helper = Helper;\n  Helper.isHelperFactory = true;\n\n  if (true\n  /* EMBER_FRAMEWORK_OBJECT_OWNER_ARGUMENT */\n  ) {\n      (0, _runtime.setFrameworkClass)(Helper);\n    }\n\n  var Wrapper =\n  /*#__PURE__*/\n  function () {\n    function Wrapper(compute) {\n      this.compute = compute;\n      this.isHelperFactory = true;\n    }\n\n    var _proto2 = Wrapper.prototype;\n\n    _proto2.create = function create() {\n      // needs new instance or will leak containers\n      return {\n        compute: this.compute\n      };\n    };\n\n    return Wrapper;\n  }();\n  /**\n    In many cases, the ceremony of a full `Helper` class is not required.\n    The `helper` method create pure-function helpers without instances. For\n    example:\n  \n    ```app/helpers/format-currency.js\n    import { helper } from '@ember/component/helper';\n  \n    export default helper(function(params, hash) {\n      let cents = params[0];\n      let currency = hash.currency;\n      return `${currency}${cents * 0.01}`;\n    });\n    ```\n  \n    @static\n    @param {Function} helper The helper function\n    @method helper\n    @for @ember/component/helper\n    @public\n    @since 1.13.0\n  */\n\n\n  function helper(helperFn) {\n    return new Wrapper(helperFn);\n  }\n\n  function _toBool(predicate) {\n    if ((0, _runtime.isArray)(predicate)) {\n      return predicate.length !== 0;\n    } else {\n      return Boolean(predicate);\n    }\n  }\n\n  var UPDATE = (0, _utils.symbol)('UPDATE');\n  var INVOKE = (0, _utils.symbol)('INVOKE');\n  _exports.INVOKE = INVOKE;\n  var ACTION = (0, _utils.symbol)('ACTION');\n\n  var EmberPathReference =\n  /*#__PURE__*/\n  function () {\n    function EmberPathReference() {}\n\n    var _proto3 = EmberPathReference.prototype;\n\n    _proto3.get = function get(key) {\n      return PropertyReference.create(this, key);\n    };\n\n    return EmberPathReference;\n  }();\n\n  var CachedReference$1 =\n  /*#__PURE__*/\n  function (_EmberPathReference) {\n    (0, _emberBabel.inheritsLoose)(CachedReference$1, _EmberPathReference);\n\n    function CachedReference$1() {\n      var _this2;\n\n      _this2 = _EmberPathReference.call(this) || this;\n      _this2.lastRevision = null;\n      _this2.lastValue = null;\n      return _this2;\n    }\n\n    var _proto4 = CachedReference$1.prototype;\n\n    _proto4.value = function value() {\n      var tag = this.tag,\n          lastRevision = this.lastRevision,\n          lastValue = this.lastValue;\n\n      if (lastRevision === null || !tag.validate(lastRevision)) {\n        lastValue = this.lastValue = this.compute();\n        this.lastRevision = tag.value();\n      }\n\n      return lastValue;\n    };\n\n    return CachedReference$1;\n  }(EmberPathReference);\n\n  var RootReference =\n  /*#__PURE__*/\n  function (_ConstReference) {\n    (0, _emberBabel.inheritsLoose)(RootReference, _ConstReference);\n\n    function RootReference(value) {\n      var _this3;\n\n      _this3 = _ConstReference.call(this, value) || this;\n      _this3.children = Object.create(null);\n      return _this3;\n    }\n\n    RootReference.create = function create(value) {\n      return valueToRef(value);\n    };\n\n    var _proto5 = RootReference.prototype;\n\n    _proto5.get = function get(propertyKey) {\n      var ref = this.children[propertyKey];\n\n      if (ref === undefined) {\n        ref = this.children[propertyKey] = new RootPropertyReference(this.inner, propertyKey);\n      }\n\n      return ref;\n    };\n\n    return RootReference;\n  }(_reference.ConstReference);\n\n  var TwoWayFlushDetectionTag;\n\n  if (true\n  /* DEBUG */\n  ) {\n      TwoWayFlushDetectionTag =\n      /*#__PURE__*/\n      function () {\n        function TwoWayFlushDetectionTag(tag, key, ref) {\n          this.tag = tag;\n          this.key = key;\n          this.ref = ref;\n          this.parent = null;\n        }\n\n        TwoWayFlushDetectionTag.create = function create(tag, key, ref) {\n          return new _reference.TagWrapper(tag.type, new TwoWayFlushDetectionTag(tag, key, ref));\n        };\n\n        var _proto6 = TwoWayFlushDetectionTag.prototype;\n\n        _proto6.value = function value() {\n          return this.tag.value();\n        };\n\n        _proto6.validate = function validate(ticket) {\n          var parent = this.parent,\n              key = this.key,\n              ref = this.ref;\n          var isValid = this.tag.validate(ticket);\n\n          if (isValid && parent) {\n            (0, _metal.didRender)(parent, key, ref);\n          }\n\n          return isValid;\n        };\n\n        _proto6.didCompute = function didCompute(parent) {\n          this.parent = parent;\n          (0, _metal.didRender)(parent, this.key, this.ref);\n        };\n\n        return TwoWayFlushDetectionTag;\n      }();\n    }\n\n  var PropertyReference =\n  /*#__PURE__*/\n  function (_CachedReference$) {\n    (0, _emberBabel.inheritsLoose)(PropertyReference, _CachedReference$);\n\n    function PropertyReference() {\n      return _CachedReference$.apply(this, arguments) || this;\n    }\n\n    PropertyReference.create = function create(parentReference, propertyKey) {\n      if ((0, _reference.isConst)(parentReference)) {\n        return valueKeyToRef(parentReference.value(), propertyKey);\n      } else {\n        return new NestedPropertyReference(parentReference, propertyKey);\n      }\n    };\n\n    var _proto7 = PropertyReference.prototype;\n\n    _proto7.get = function get(key) {\n      return new NestedPropertyReference(this, key);\n    };\n\n    return PropertyReference;\n  }(CachedReference$1);\n\n  var RootPropertyReference =\n  /*#__PURE__*/\n  function (_PropertyReference) {\n    (0, _emberBabel.inheritsLoose)(RootPropertyReference, _PropertyReference);\n\n    function RootPropertyReference(parentValue, propertyKey) {\n      var _this4;\n\n      _this4 = _PropertyReference.call(this) || this;\n      _this4.parentValue = parentValue;\n      _this4.propertyKey = propertyKey;\n\n      if (false\n      /* EMBER_METAL_TRACKED_PROPERTIES */\n      ) {\n          _this4.propertyTag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n        } else {\n        _this4.propertyTag = _reference.UpdatableTag.create((0, _metal.tagForProperty)(parentValue, propertyKey));\n      }\n\n      if (true\n      /* DEBUG */\n      ) {\n          _this4.tag = TwoWayFlushDetectionTag.create(_this4.propertyTag, propertyKey, (0, _emberBabel.assertThisInitialized)(_this4));\n        } else {\n        _this4.tag = _this4.propertyTag;\n      }\n\n      if (true\n      /* DEBUG */\n      && !false\n      /* EMBER_METAL_TRACKED_PROPERTIES */\n      ) {\n          (0, _metal.watchKey)(parentValue, propertyKey);\n        }\n\n      return _this4;\n    }\n\n    var _proto8 = RootPropertyReference.prototype;\n\n    _proto8.compute = function compute() {\n      var parentValue = this.parentValue,\n          propertyKey = this.propertyKey;\n\n      if (true\n      /* DEBUG */\n      ) {\n          this.tag.inner.didCompute(parentValue);\n        }\n\n      var ret;\n\n      if (false\n      /* EMBER_METAL_TRACKED_PROPERTIES */\n      ) {\n          var tag = (0, _metal.track)(function () {\n            ret = (0, _metal.get)(parentValue, propertyKey);\n          });\n          (0, _metal.consume)(tag);\n          this.propertyTag.inner.update(tag);\n        } else {\n        ret = (0, _metal.get)(parentValue, propertyKey);\n      }\n\n      return ret;\n    };\n\n    _proto8[UPDATE] = function (value) {\n      (0, _metal.set)(this.parentValue, this.propertyKey, value);\n    };\n\n    return RootPropertyReference;\n  }(PropertyReference);\n\n  var NestedPropertyReference =\n  /*#__PURE__*/\n  function (_PropertyReference2) {\n    (0, _emberBabel.inheritsLoose)(NestedPropertyReference, _PropertyReference2);\n\n    function NestedPropertyReference(parentReference, propertyKey) {\n      var _this5;\n\n      _this5 = _PropertyReference2.call(this) || this;\n      _this5.parentReference = parentReference;\n      _this5.propertyKey = propertyKey;\n      var parentReferenceTag = parentReference.tag;\n\n      var propertyTag = _this5.propertyTag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n\n      if (true\n      /* DEBUG */\n      ) {\n          var tag = (0, _reference.combine)([parentReferenceTag, propertyTag]);\n          _this5.tag = TwoWayFlushDetectionTag.create(tag, propertyKey, (0, _emberBabel.assertThisInitialized)(_this5));\n        } else {\n        _this5.tag = (0, _reference.combine)([parentReferenceTag, propertyTag]);\n      }\n\n      return _this5;\n    }\n\n    var _proto9 = NestedPropertyReference.prototype;\n\n    _proto9.compute = function compute() {\n      var parentReference = this.parentReference,\n          propertyTag = this.propertyTag,\n          propertyKey = this.propertyKey;\n\n      var _parentValue = parentReference.value();\n\n      var parentValueType = typeof _parentValue;\n\n      if (parentValueType === 'string' && propertyKey === 'length') {\n        return _parentValue.length;\n      }\n\n      if (parentValueType === 'object' && _parentValue !== null || parentValueType === 'function') {\n        var parentValue = _parentValue;\n\n        if (true\n        /* DEBUG */\n        && !false\n        /* EMBER_METAL_TRACKED_PROPERTIES */\n        ) {\n            (0, _metal.watchKey)(parentValue, propertyKey);\n          }\n\n        if (true\n        /* DEBUG */\n        ) {\n            this.tag.inner.didCompute(parentValue);\n          }\n\n        var ret;\n\n        if (false\n        /* EMBER_METAL_TRACKED_PROPERTIES */\n        ) {\n            var tag = (0, _metal.track)(function () {\n              ret = (0, _metal.get)(parentValue, propertyKey);\n            });\n            (0, _metal.consume)(tag);\n            propertyTag.inner.update(tag);\n          } else {\n          ret = (0, _metal.get)(parentValue, propertyKey);\n          propertyTag.inner.update((0, _metal.tagForProperty)(parentValue, propertyKey));\n        }\n\n        return ret;\n      } else {\n        return undefined;\n      }\n    };\n\n    _proto9[UPDATE] = function (value) {\n      (0, _metal.set)(this.parentReference.value()\n      /* let the other side handle the error */\n      , this.propertyKey, value);\n    };\n\n    return NestedPropertyReference;\n  }(PropertyReference);\n\n  var UpdatableReference =\n  /*#__PURE__*/\n  function (_EmberPathReference2) {\n    (0, _emberBabel.inheritsLoose)(UpdatableReference, _EmberPathReference2);\n\n    function UpdatableReference(value) {\n      var _this6;\n\n      _this6 = _EmberPathReference2.call(this) || this;\n      _this6.tag = _reference.DirtyableTag.create();\n      _this6._value = value;\n      return _this6;\n    }\n\n    var _proto10 = UpdatableReference.prototype;\n\n    _proto10.value = function value() {\n      return this._value;\n    };\n\n    _proto10.update = function update(value) {\n      var _value = this._value;\n\n      if (value !== _value) {\n        this.tag.inner.dirty();\n        this._value = value;\n      }\n    };\n\n    return UpdatableReference;\n  }(EmberPathReference);\n\n  _exports.UpdatableReference = UpdatableReference;\n\n  var ConditionalReference$1 =\n  /*#__PURE__*/\n  function (_ConditionalReference) {\n    (0, _emberBabel.inheritsLoose)(ConditionalReference$1, _ConditionalReference);\n\n    ConditionalReference$1.create = function create(reference) {\n      if ((0, _reference.isConst)(reference)) {\n        var value = reference.value();\n\n        if (!(0, _utils.isProxy)(value)) {\n          return _runtime2.PrimitiveReference.create(_toBool(value));\n        }\n      }\n\n      return new ConditionalReference$1(reference);\n    };\n\n    function ConditionalReference$1(reference) {\n      var _this7;\n\n      _this7 = _ConditionalReference.call(this, reference) || this;\n      _this7.objectTag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n      _this7.tag = (0, _reference.combine)([reference.tag, _this7.objectTag]);\n      return _this7;\n    }\n\n    var _proto11 = ConditionalReference$1.prototype;\n\n    _proto11.toBool = function toBool(predicate) {\n      if ((0, _utils.isProxy)(predicate)) {\n        this.objectTag.inner.update((0, _metal.tagForProperty)(predicate, 'isTruthy'));\n        return Boolean((0, _metal.get)(predicate, 'isTruthy'));\n      } else {\n        this.objectTag.inner.update((0, _metal.tagFor)(predicate));\n        return _toBool(predicate);\n      }\n    };\n\n    return ConditionalReference$1;\n  }(_runtime2.ConditionalReference);\n\n  var SimpleHelperReference =\n  /*#__PURE__*/\n  function (_CachedReference$2) {\n    (0, _emberBabel.inheritsLoose)(SimpleHelperReference, _CachedReference$2);\n\n    function SimpleHelperReference(helper$$1, args) {\n      var _this8;\n\n      _this8 = _CachedReference$2.call(this) || this;\n      _this8.helper = helper$$1;\n      _this8.args = args;\n      _this8.tag = args.tag;\n      return _this8;\n    }\n\n    SimpleHelperReference.create = function create(helper$$1, args) {\n      if ((0, _reference.isConst)(args)) {\n        var positional = args.positional,\n            named = args.named;\n        var positionalValue = positional.value();\n        var namedValue = named.value();\n\n        if (true\n        /* DEBUG */\n        ) {\n            (0, _debug.debugFreeze)(positionalValue);\n            (0, _debug.debugFreeze)(namedValue);\n          }\n\n        var result = helper$$1(positionalValue, namedValue);\n        return valueToRef(result);\n      } else {\n        return new SimpleHelperReference(helper$$1, args);\n      }\n    };\n\n    var _proto12 = SimpleHelperReference.prototype;\n\n    _proto12.compute = function compute() {\n      var helper$$1 = this.helper,\n          _this$args = this.args,\n          positional = _this$args.positional,\n          named = _this$args.named;\n      var positionalValue = positional.value();\n      var namedValue = named.value();\n\n      if (true\n      /* DEBUG */\n      ) {\n          (0, _debug.debugFreeze)(positionalValue);\n          (0, _debug.debugFreeze)(namedValue);\n        }\n\n      return helper$$1(positionalValue, namedValue);\n    };\n\n    return SimpleHelperReference;\n  }(CachedReference$1);\n\n  var ClassBasedHelperReference =\n  /*#__PURE__*/\n  function (_CachedReference$3) {\n    (0, _emberBabel.inheritsLoose)(ClassBasedHelperReference, _CachedReference$3);\n\n    function ClassBasedHelperReference(instance, args) {\n      var _this9;\n\n      _this9 = _CachedReference$3.call(this) || this;\n      _this9.instance = instance;\n      _this9.args = args;\n      _this9.tag = (0, _reference.combine)([instance[RECOMPUTE_TAG], args.tag]);\n      return _this9;\n    }\n\n    ClassBasedHelperReference.create = function create(instance, args) {\n      return new ClassBasedHelperReference(instance, args);\n    };\n\n    var _proto13 = ClassBasedHelperReference.prototype;\n\n    _proto13.compute = function compute() {\n      var instance = this.instance,\n          _this$args2 = this.args,\n          positional = _this$args2.positional,\n          named = _this$args2.named;\n      var positionalValue = positional.value();\n      var namedValue = named.value();\n\n      if (true\n      /* DEBUG */\n      ) {\n          (0, _debug.debugFreeze)(positionalValue);\n          (0, _debug.debugFreeze)(namedValue);\n        }\n\n      return instance.compute(positionalValue, namedValue);\n    };\n\n    return ClassBasedHelperReference;\n  }(CachedReference$1);\n\n  var InternalHelperReference =\n  /*#__PURE__*/\n  function (_CachedReference$4) {\n    (0, _emberBabel.inheritsLoose)(InternalHelperReference, _CachedReference$4);\n\n    function InternalHelperReference(helper$$1, args) {\n      var _this10;\n\n      _this10 = _CachedReference$4.call(this) || this;\n      _this10.helper = helper$$1;\n      _this10.args = args;\n      _this10.tag = args.tag;\n      return _this10;\n    }\n\n    var _proto14 = InternalHelperReference.prototype;\n\n    _proto14.compute = function compute() {\n      var helper$$1 = this.helper,\n          args = this.args;\n      return helper$$1(args);\n    };\n\n    return InternalHelperReference;\n  }(CachedReference$1);\n\n  var UnboundReference =\n  /*#__PURE__*/\n  function (_ConstReference2) {\n    (0, _emberBabel.inheritsLoose)(UnboundReference, _ConstReference2);\n\n    function UnboundReference() {\n      return _ConstReference2.apply(this, arguments) || this;\n    }\n\n    UnboundReference.create = function create(value) {\n      return valueToRef(value, false);\n    };\n\n    var _proto15 = UnboundReference.prototype;\n\n    _proto15.get = function get(key) {\n      return valueToRef(this.inner[key], false);\n    };\n\n    return UnboundReference;\n  }(_reference.ConstReference);\n\n  var ReadonlyReference =\n  /*#__PURE__*/\n  function (_CachedReference$5) {\n    (0, _emberBabel.inheritsLoose)(ReadonlyReference, _CachedReference$5);\n\n    function ReadonlyReference(inner) {\n      var _this11;\n\n      _this11 = _CachedReference$5.call(this) || this;\n      _this11.inner = inner;\n      _this11.tag = inner.tag;\n      return _this11;\n    }\n\n    var _proto16 = ReadonlyReference.prototype;\n\n    _proto16.compute = function compute() {\n      return this.inner.value();\n    };\n\n    _proto16.get = function get(key) {\n      return this.inner.get(key);\n    };\n\n    (0, _emberBabel.createClass)(ReadonlyReference, [{\n      key: INVOKE,\n      get: function () {\n        return this.inner[INVOKE];\n      }\n    }]);\n    return ReadonlyReference;\n  }(CachedReference$1);\n\n  function referenceFromParts(root, parts) {\n    var reference = root;\n\n    for (var i = 0; i < parts.length; i++) {\n      reference = reference.get(parts[i]);\n    }\n\n    return reference;\n  }\n\n  function isObject(value) {\n    return value !== null && typeof value === 'object';\n  }\n\n  function isFunction(value) {\n    return typeof value === 'function';\n  }\n\n  function isPrimitive(value) {\n    if (true\n    /* DEBUG */\n    ) {\n        var type = typeof value;\n        return value === undefined || value === null || type === 'boolean' || type === 'number' || type === 'string';\n      } else {\n      return true;\n    }\n  }\n\n  function valueToRef(value) {\n    var bound = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\n    if (isObject(value)) {\n      // root of interop with ember objects\n      return bound ? new RootReference(value) : new UnboundReference(value);\n    } else if (isFunction(value)) {\n      // ember doesn't do observing with functions\n      return new UnboundReference(value);\n    } else if (isPrimitive(value)) {\n      return _runtime2.PrimitiveReference.create(value);\n    } else if (true\n    /* DEBUG */\n    ) {\n        var type = typeof value;\n        var output;\n\n        try {\n          output = String(value);\n        } catch (e) {\n          output = null;\n        }\n\n        if (output) {\n          throw (0, _util.unreachable)(\"[BUG] Unexpected \" + type + \" (\" + output + \")\");\n        } else {\n          throw (0, _util.unreachable)(\"[BUG] Unexpected \" + type);\n        }\n      } else {\n      throw (0, _util.unreachable)();\n    }\n  }\n\n  function valueKeyToRef(value, key) {\n    if (isObject(value)) {\n      // root of interop with ember objects\n      return new RootPropertyReference(value, key);\n    } else if (isFunction(value)) {\n      // ember doesn't do observing with functions\n      return new UnboundReference(value[key]);\n    } else if (isPrimitive(value)) {\n      return _runtime2.UNDEFINED_REFERENCE;\n    } else if (true\n    /* DEBUG */\n    ) {\n        var type = typeof value;\n        var output;\n\n        try {\n          output = String(value);\n        } catch (e) {\n          output = null;\n        }\n\n        if (output) {\n          throw (0, _util.unreachable)(\"[BUG] Unexpected \" + type + \" (\" + output + \")\");\n        } else {\n          throw (0, _util.unreachable)(\"[BUG] Unexpected \" + type);\n        }\n      } else {\n      throw (0, _util.unreachable)();\n    }\n  }\n\n  var DIRTY_TAG = (0, _utils.symbol)('DIRTY_TAG');\n  var ARGS = (0, _utils.symbol)('ARGS');\n  var ROOT_REF = (0, _utils.symbol)('ROOT_REF');\n  _exports.ROOT_REF = ROOT_REF;\n  var IS_DISPATCHING_ATTRS = (0, _utils.symbol)('IS_DISPATCHING_ATTRS');\n  var HAS_BLOCK = (0, _utils.symbol)('HAS_BLOCK');\n  var BOUNDS = (0, _utils.symbol)('BOUNDS');\n  /**\n  @module @ember/component\n  */\n\n  /**\n    A component is an isolated piece of UI, represented by a template and an\n    optional class. When a component has a class, its template's `this` value\n    is an instance of the component class.\n  \n    ## Template-only Components\n  \n    The simplest way to create a component is to create a template file in\n    `app/templates/components`. For example, if you name a template\n    `app/templates/components/person-profile.hbs`:\n  \n    ```app/templates/components/person-profile.hbs\n    <h1>{{@person.name}}</h1>\n    <img src={{@person.avatar}}>\n    <p class='signature'>{{@person.signature}}</p>\n    ```\n  \n    You will be able to use `<PersonProfile />` to invoke this component elsewhere\n    in your application:\n  \n    ```app/templates/application.hbs\n    <PersonProfile @person={{this.currentUser}} />\n    ```\n  \n    Note that component names are capitalized here in order to distinguish them\n    from regular HTML elements, but they are dasherized in the file system.\n  \n    While the angle bracket invocation form is generally preferred, it is also\n    possible to invoke the same component with the `{{person-profile}}` syntax:\n  \n    ```app/templates/application.hbs\n    {{person-profile person=this.currentUser}}\n    ```\n  \n    Note that with this syntax, you use dashes in the component name and\n    arguments are passed without the `@` sign.\n  \n    In both cases, Ember will render the content of the component template we\n    created above. The end result will be something like this:\n  \n    ```html\n    <h1>Tomster</h1>\n    <img src=\"https://emberjs.com/tomster.jpg\">\n    <p class='signature'>Out of office this week</p>\n    ```\n  \n    ## File System Nesting\n  \n    Components can be nested inside sub-folders for logical groupping. For\n    example, if we placed our template in\n    `app/templates/components/person/short-profile.hbs`, we can invoke it as\n    `<Person::ShortProfile />`:\n  \n    ```app/templates/application.hbs\n    <Person::ShortProfile @person={{this.currentUser}} />\n    ```\n  \n    Or equivalently, `{{person/short-profile}}`:\n  \n    ```app/templates/application.hbs\n    {{person/short-profile person=this.currentUser}}\n    ```\n  \n    ## Yielding Contents\n  \n    You can use `yield` inside a template to include the **contents** of any block\n    attached to the component. The block will be executed in its original context:\n  \n    ```handlebars\n    <PersonProfile @person={{this.currentUser}}>\n      <p>Admin mode</p>\n      {{! Executed in the current context. }}\n    </PersonProfile>\n    ```\n  \n    or\n  \n    ```handlebars\n    {{#person-profile person=this.currentUser}}\n      <p>Admin mode</p>\n      {{! Executed in the current context. }}\n    {{/person-profile}}\n    ```\n  \n    ```app/templates/components/person-profile.hbs\n    <h1>{{@person.name}}</h1>\n    {{yield}}\n    ```\n  \n    ## Customizing Components With JavaScript\n  \n    If you want to customize the component in order to handle events, transform\n    arguments or maintain internal state, you implement a subclass of `Component`.\n  \n    One example is to add computed properties to your component:\n  \n    ```app/components/person-profile.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      displayName: computed('person.title', 'person.firstName', 'person.lastName', function() {\n        let { title, firstName, lastName } = this;\n  \n        if (title) {\n          return `${title} ${lastName}`;\n        } else {\n          return `${firstName} ${lastName};\n        }\n      })\n    });\n    ```\n  \n    And then use it in the component's template:\n  \n    ```app/templates/components/person-profile.hbs\n    <h1>{{this.displayName}}</h1>\n    {{yield}}\n    ```\n  \n    ## Customizing a Component's HTML Element in JavaScript\n  \n    ### HTML Tag\n  \n    The default HTML tag name used for a component's HTML representation is `div`.\n    This can be customized by setting the `tagName` property.\n  \n    Consider the following component class:\n  \n    ```app/components/emphasized-paragraph.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      tagName: 'em'\n    });\n    ```\n  \n    When invoked, this component would produce output that looks something like\n    this:\n  \n    ```html\n    <em id=\"ember1\" class=\"ember-view\"></em>\n    ```\n  \n    ### HTML `class` Attribute\n  \n    The HTML `class` attribute of a component's tag can be set by providing a\n    `classNames` property that is set to an array of strings:\n  \n    ```app/components/my-widget.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      classNames: ['my-class', 'my-other-class']\n    });\n    ```\n  \n    Invoking this component will produce output that looks like this:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view my-class my-other-class\"></div>\n    ```\n  \n    `class` attribute values can also be set by providing a `classNameBindings`\n    property set to an array of properties names for the component. The return\n    value of these properties will be added as part of the value for the\n    components's `class` attribute. These properties can be computed properties:\n  \n    ```app/components/my-widget.js\n    import Component from '@ember/component';\n    import { computed } from '@ember/object';\n  \n    export default Component.extend({\n      classNames: ['my-class', 'my-other-class'],\n      classNameBindings: ['propertyA', 'propertyB'],\n  \n      propertyA: 'from-a',\n      propertyB: computed(function() {\n        if (someLogic) { return 'from-b'; }\n      })\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view my-class my-other-class from-a from-b\"></div>\n    ```\n  \n    Note that `classNames` and `classNameBindings` is in addition to the `class`\n    attribute passed with the angle bracket invocation syntax. Therefore, if this\n    component was invoked like so:\n  \n    ```handlebars\n    <MyWidget class=\"from-invocation\" />\n    ```\n  \n    The resulting HTML will look similar to this:\n  \n    ```html\n    <div id=\"ember1\" class=\"from-invocation ember-view my-class my-other-class from-a from-b\"></div>\n    ```\n  \n    If the value of a class name binding returns a boolean the property name\n    itself will be used as the class name if the property is true. The class name\n    will not be added if the value is `false` or `undefined`.\n  \n    ```app/components/my-widget.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      classNameBindings: ['hovered'],\n  \n      hovered: true\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view hovered\"></div>\n    ```\n  \n    ### Custom Class Names for Boolean Values\n  \n    When using boolean class name bindings you can supply a string value other\n    than the property name for use as the `class` HTML attribute by appending the\n    preferred value after a \":\" character when defining the binding:\n  \n    ```app/components/my-widget.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      classNameBindings: ['awesome:so-very-cool'],\n  \n      awesome: true\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view so-very-cool\"></div>\n    ```\n  \n    Boolean value class name bindings whose property names are in a\n    camelCase-style format will be converted to a dasherized format:\n  \n    ```app/components/my-widget.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      classNameBindings: ['isUrgent'],\n  \n      isUrgent: true\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view is-urgent\"></div>\n    ```\n  \n    Class name bindings can also refer to object values that are found by\n    traversing a path relative to the component itself:\n  \n    ```app/components/my-widget.js\n    import Component from '@ember/component';\n    import EmberObject from '@ember/object';\n  \n    export default Component.extend({\n      classNameBindings: ['messages.empty'],\n  \n      messages: EmberObject.create({\n        empty: true\n      })\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view empty\"></div>\n    ```\n  \n    If you want to add a class name for a property which evaluates to true and\n    and a different class name if it evaluates to false, you can pass a binding\n    like this:\n  \n    ```app/components/my-widget.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      classNameBindings: ['isEnabled:enabled:disabled'],\n      isEnabled: true\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view enabled\"></div>\n    ```\n  \n    When isEnabled is `false`, the resulting HTML representation looks like this:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view disabled\"></div>\n    ```\n  \n    This syntax offers the convenience to add a class if a property is `false`:\n  \n    ```app/components/my-widget.js\n    import Component from '@ember/component';\n  \n    // Applies no class when isEnabled is true and class 'disabled' when isEnabled is false\n    export default Component.extend({\n      classNameBindings: ['isEnabled::disabled'],\n      isEnabled: true\n    });\n    ```\n  \n    Invoking this component when the `isEnabled` property is true will produce\n    HTML that looks like:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view\"></div>\n    ```\n  \n    Invoking it when the `isEnabled` property on the component is `false` will\n    produce HTML that looks like:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view disabled\"></div>\n    ```\n  \n    Updates to the value of a class name binding will result in automatic update\n    of the  HTML `class` attribute in the component's rendered HTML\n    representation. If the value becomes `false` or `undefined` the class name\n    will be removed.\n  \n    Both `classNames` and `classNameBindings` are concatenated properties. See\n    [EmberObject](/api/ember/release/classes/EmberObject) documentation for more\n    information about concatenated properties.\n  \n    ### Other HTML Attributes\n  \n    The HTML attribute section of a component's tag can be set by providing an\n    `attributeBindings` property set to an array of property names on the component.\n    The return value of these properties will be used as the value of the component's\n    HTML associated attribute:\n  \n    ```app/components/my-anchor.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      tagName: 'a',\n      attributeBindings: ['href'],\n  \n      href: 'http://google.com'\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <a id=\"ember1\" class=\"ember-view\" href=\"http://google.com\"></a>\n    ```\n  \n    One property can be mapped on to another by placing a \":\" between\n    the source property and the destination property:\n  \n    ```app/components/my-anchor.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      tagName: 'a',\n      attributeBindings: ['url:href'],\n  \n      url: 'http://google.com'\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <a id=\"ember1\" class=\"ember-view\" href=\"http://google.com\"></a>\n    ```\n  \n    HTML attributes passed with angle bracket invocations will take precedence\n    over those specified in `attributeBindings`. Therefore, if this component was\n    invoked like so:\n  \n    ```handlebars\n    <MyAnchor href=\"http://bing.com\" @url=\"http://google.com\" />\n    ```\n  \n    The resulting HTML will looks like this:\n  \n    ```html\n    <a id=\"ember1\" class=\"ember-view\" href=\"http://bing.com\"></a>\n    ```\n  \n    Note that the `href` attribute is ultimately set to `http://bing.com`,\n    despite it having attribute binidng to the `url` property, which was\n    set to `http://google.com`.\n  \n    Namespaced attributes (e.g. `xlink:href`) are supported, but have to be\n    mapped, since `:` is not a valid character for properties in Javascript:\n  \n    ```app/components/my-use.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      tagName: 'use',\n      attributeBindings: ['xlinkHref:xlink:href'],\n  \n      xlinkHref: '#triangle'\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <use xlink:href=\"#triangle\"></use>\n    ```\n  \n    If the value of a property monitored by `attributeBindings` is a boolean, the\n    attribute will be present or absent depending on the value:\n  \n    ```app/components/my-text-input.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      tagName: 'input',\n      attributeBindings: ['disabled'],\n  \n      disabled: false\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <input id=\"ember1\" class=\"ember-view\" />\n    ```\n  \n    `attributeBindings` can refer to computed properties:\n  \n    ```app/components/my-text-input.js\n    import Component from '@ember/component';\n    import { computed } from '@ember/object';\n  \n    export default Component.extend({\n      tagName: 'input',\n      attributeBindings: ['disabled'],\n  \n      disabled: computed(function() {\n        if (someLogic) {\n          return true;\n        } else {\n          return false;\n        }\n      })\n    });\n    ```\n  \n    To prevent setting an attribute altogether, use `null` or `undefined` as the\n    value of the property used in `attributeBindings`:\n  \n    ```app/components/my-text-input.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      tagName: 'form',\n      attributeBindings: ['novalidate'],\n      novalidate: null\n    });\n    ```\n  \n    Updates to the property of an attribute binding will result in automatic\n    update of the  HTML attribute in the component's HTML output.\n  \n    `attributeBindings` is a concatenated property. See\n    [EmberObject](/api/ember/release/classes/EmberObject) documentation for more\n    information about concatenated properties.\n  \n    ## Layouts\n  \n    The `layout` property can be used to dynamically specify a template associated\n    with a component class, instead of relying on Ember to link together a\n    component class and a template based on file names.\n  \n    In general, applications should not use this feature, but it's commonly used\n    in addons for historical reasons.\n  \n    The `layout` property should be set to the default export of a template\n    module, which is the name of a template file without the `.hbs` extension.\n  \n    ```app/templates/components/person-profile.hbs\n    <h1>Person's Title</h1>\n    <div class='details'>{{yield}}</div>\n    ```\n  \n    ```app/components/person-profile.js\n      import Component from '@ember/component';\n      import layout from '../templates/components/person-profile';\n  \n      export default Component.extend({\n        layout\n      });\n    ```\n  \n    If you invoke the component:\n  \n    ```handlebars\n    <PersonProfile>\n      <h2>Chief Basket Weaver</h2>\n      <h3>Fisherman Industries</h3>\n    </PersonProfile>\n    ```\n  \n    or\n  \n    ```handlebars\n    {{#person-profile}}\n      <h2>Chief Basket Weaver</h2>\n      <h3>Fisherman Industries</h3>\n    {{/person-profile}}\n    ```\n  \n    It will result in the following HTML output:\n  \n    ```html\n    <h1>Person's Title</h1>\n      <div class=\"details\">\n      <h2>Chief Basket Weaver</h2>\n      <h3>Fisherman Industries</h3>\n    </div>\n    ```\n  \n    ## Handling Browser Events\n  \n    Components can respond to user-initiated events in one of three ways: passing\n    actions with angle bracket invocation, adding event handler methods to the\n    component's class, or adding actions to the component's template.\n  \n    ### Passing Actions With Angle Bracket Invoation\n  \n    For one-off events specific to particular instance of a component, it is possible\n    to pass actions to the component's element using angle bracket invoation syntax.\n  \n    ```handlebars\n    <MyWidget {{action 'firstWidgetClicked'}} />\n  \n    <MyWidget {{action 'secondWidgetClicked'}} />\n    ```\n  \n    In this case, when the first component is clicked on, Ember will invoke the\n    `firstWidgetClicked` action. When the second component is clicked on, Ember\n    will invoke the `secondWidgetClicked` action instead.\n  \n    Besides `{{action}}`, it is also possible to pass any arbitrary element modifiers\n    using the angle bracket invocation syntax.\n  \n    ### Event Handler Methods\n  \n    Components can also respond to user-initiated events by implementing a method\n    that matches the event name. This approach is appropiate when the same event\n    should be handled by all instances of the same component.\n  \n    An event object will be passed as the argument to the event handler method.\n  \n    ```app/components/my-widget.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      click(event) {\n        // `event.target` is either the component's element or one of its children\n        let tag = event.target.tagName.toLowerCase();\n        console.log('clicked on a `<${tag}>` HTML element!');\n      }\n    });\n    ```\n  \n    In this example, whenever the user clicked anywhere inside the component, it\n    will log a message to the console.\n  \n    It is possible to handle event types other than `click` by implementing the\n    following event handler methods. In addition, custom events can be registered\n    by using `Application.customEvents`.\n  \n    Touch events:\n  \n    * `touchStart`\n    * `touchMove`\n    * `touchEnd`\n    * `touchCancel`\n  \n    Keyboard events:\n  \n    * `keyDown`\n    * `keyUp`\n    * `keyPress`\n  \n    Mouse events:\n  \n    * `mouseDown`\n    * `mouseUp`\n    * `contextMenu`\n    * `click`\n    * `doubleClick`\n    * `mouseMove`\n    * `focusIn`\n    * `focusOut`\n    * `mouseEnter`\n    * `mouseLeave`\n  \n    Form events:\n  \n    * `submit`\n    * `change`\n    * `focusIn`\n    * `focusOut`\n    * `input`\n  \n    Drag and drop events:\n  \n    * `dragStart`\n    * `drag`\n    * `dragEnter`\n    * `dragLeave`\n    * `dragOver`\n    * `dragEnd`\n    * `drop`\n  \n    ### `{{action}}` Helper\n  \n    Instead of handling all events of a particular type anywhere inside the\n    component's element, you may instead want to limit it to a particular\n    element in the component's template. In this case, it would be more\n    convenient to implement an action instead.\n  \n    For example, you could implement the action `hello` for the `person-profile`\n    component:\n  \n    ```app/components/person-profile.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      actions: {\n        hello(name) {\n          console.log(\"Hello\", name);\n        }\n      }\n    });\n    ```\n  \n    And then use it in the component's template:\n  \n    ```app/templates/components/person-profile.hbs\n    <h1>{{@person.name}}</h1>\n  \n    <button {{action 'hello' @person.name}}>\n      Say Hello to {{@person.name}}\n    </button>\n    ```\n  \n    When the user clicks the button, Ember will invoke the `hello` action,\n    passing in the current value of `@person.name` as an argument.\n  \n    See [Ember.Templates.helpers.action](/api/ember/release/classes/Ember.Templates.helpers/methods/action?anchor=action).\n  \n    @class Component\n    @extends Ember.CoreView\n    @uses Ember.TargetActionSupport\n    @uses Ember.ClassNamesSupport\n    @uses Ember.ActionSupport\n    @uses Ember.ViewMixin\n    @uses Ember.ViewStateSupport\n    @public\n  */\n\n  var Component = _views.CoreView.extend(_views.ChildViewsSupport, _views.ViewStateSupport, _views.ClassNamesSupport, _runtime.TargetActionSupport, _views.ActionSupport, _views.ViewMixin, (_CoreView$extend = {\n    isComponent: true,\n    init: function () {\n      this._super.apply(this, arguments);\n\n      this[IS_DISPATCHING_ATTRS] = false;\n      this[DIRTY_TAG] = _reference.DirtyableTag.create();\n      this[ROOT_REF] = new RootReference(this);\n      this[BOUNDS] = null;\n\n      if (true\n      /* DEBUG */\n      && this.renderer._destinedForDOM && this.tagName === '') {\n        var eventNames = [];\n        var eventDispatcher = (0, _owner.getOwner)(this).lookup('event_dispatcher:main');\n        var events = eventDispatcher && eventDispatcher._finalEvents || {}; // tslint:disable-next-line:forin\n\n        for (var key in events) {\n          var methodName = events[key];\n\n          if (typeof this[methodName] === 'function') {\n            eventNames.push(methodName);\n          }\n        } // If in a tagless component, assert that no event handlers are defined\n\n\n        true && !!eventNames.length && (0, _debug.assert)( // tslint:disable-next-line:max-line-length\n        \"You can not define `\" + eventNames + \"` function(s) to handle DOM event in the `\" + this + \"` tagless component since it doesn't have any DOM element.\", !eventNames.length);\n      }\n    },\n    rerender: function () {\n      this[DIRTY_TAG].inner.dirty();\n\n      this._super();\n    }\n  }, _CoreView$extend[_metal.PROPERTY_DID_CHANGE] = function (key) {\n    if (this[IS_DISPATCHING_ATTRS]) {\n      return;\n    }\n\n    var args = this[ARGS];\n    var reference = args !== undefined ? args[key] : undefined;\n\n    if (reference !== undefined && reference[UPDATE] !== undefined) {\n      reference[UPDATE]((0, _metal.get)(this, key));\n    }\n  }, _CoreView$extend.getAttr = function (key) {\n    // TODO Intimate API should be deprecated\n    return this.get(key);\n  }, _CoreView$extend.readDOMAttr = function (name) {\n    // TODO revisit this\n    var _element = (0, _views.getViewElement)(this);\n\n    true && !(_element !== null) && (0, _debug.assert)(\"Cannot call `readDOMAttr` on \" + this + \" which does not have an element\", _element !== null);\n    var element = _element;\n    var isSVG = element.namespaceURI === _runtime2.SVG_NAMESPACE;\n\n    var _normalizeProperty = (0, _runtime2.normalizeProperty)(element, name),\n        type = _normalizeProperty.type,\n        normalized = _normalizeProperty.normalized;\n\n    if (isSVG || type === 'attr') {\n      return element.getAttribute(normalized);\n    }\n\n    return element[normalized];\n  }, _CoreView$extend.didReceiveAttrs = function () {}, _CoreView$extend.didRender = function () {}, _CoreView$extend.willRender = function () {}, _CoreView$extend.didUpdateAttrs = function () {}, _CoreView$extend.willUpdate = function () {}, _CoreView$extend.didUpdate = function () {}, _CoreView$extend));\n\n  _exports.Component = Component;\n\n  Component.toString = function () {\n    return '@ember/component';\n  };\n\n  Component.reopenClass({\n    isComponentFactory: true,\n    positionalParams: []\n  });\n\n  if (true\n  /* EMBER_FRAMEWORK_OBJECT_OWNER_ARGUMENT */\n  ) {\n      (0, _runtime.setFrameworkClass)(Component);\n    }\n\n  var layout = template({\n    \"id\": \"hvtsz7RF\",\n    \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/empty.hbs\"\n    }\n  });\n  /**\n  @module @ember/component\n  */\n\n  /**\n    The internal class used to create text inputs when the `{{input}}`\n    helper is used with `type` of `checkbox`.\n  \n    See [Ember.Templates.helpers.input](/api/ember/release/classes/Ember.Templates.helpers/methods/input?anchor=input)  for usage details.\n  \n    ## Direct manipulation of `checked`\n  \n    The `checked` attribute of an `Checkbox` object should always be set\n    through the Ember object or by interacting with its rendered element\n    representation via the mouse, keyboard, or touch. Updating the value of the\n    checkbox via jQuery will result in the checked value of the object and its\n    element losing synchronization.\n  \n    ## Layout and LayoutName properties\n  \n    Because HTML `input` elements are self closing `layout` and `layoutName`\n    properties will not be applied.\n  \n    @class Checkbox\n    @extends Component\n    @public\n  */\n\n  var Checkbox = Component.extend({\n    layout: layout,\n\n    /**\n      By default, this component will add the `ember-checkbox` class to the component's element.\n         @property classNames\n      @type Array | String\n      @default ['ember-checkbox']\n      @public\n     */\n    classNames: ['ember-checkbox'],\n    tagName: 'input',\n\n    /**\n      By default this component will forward a number of arguments to attributes on the the\n      component's element:\n         * indeterminate\n      * disabled\n      * tabindex\n      * name\n      * autofocus\n      * required\n      * form\n         When invoked with curly braces, this is the exhaustive list of HTML attributes you can\n      customize (i.e. `{{input type=\"checkbox\" disabled=true}}`).\n         When invoked with angle bracket invocation, this list is irrelevant, because you can use HTML\n      attribute syntax to customize the element (i.e.\n      `<Input @type=\"checkbox\" disabled data-custom=\"custom value\" />`). However, `@type` and\n      `@checked` must be passed as named arguments, not attributes.\n         @property attributeBindings\n      @type Array | String\n      @default ['type', 'checked', 'indeterminate', 'disabled', 'tabindex', 'name', 'autofocus', 'required', 'form']\n      @public\n    */\n    attributeBindings: ['type', 'checked', 'indeterminate', 'disabled', 'tabindex', 'name', 'autofocus', 'required', 'form'],\n\n    /**\n      Sets the `type` attribute of the `Checkbox`'s element\n         @property disabled\n      @default false\n      @private\n     */\n    type: 'checkbox',\n\n    /**\n      Sets the `disabled` attribute of the `Checkbox`'s element\n         @property disabled\n      @default false\n      @public\n     */\n    disabled: false,\n\n    /**\n      Corresponds to the `indeterminate` property of the `Checkbox`'s element\n         @property disabled\n      @default false\n      @public\n     */\n    indeterminate: false,\n\n    /**\n      Whenever the checkbox is inserted into the DOM, perform initialization steps, which include\n      setting the indeterminate property if needed.\n         If this method is overridden, `super` must be called.\n         @method\n      @public\n     */\n    didInsertElement: function () {\n      this._super.apply(this, arguments);\n\n      this.element.indeterminate = Boolean(this.indeterminate);\n    },\n\n    /**\n      Whenever the `change` event is fired on the checkbox, update its `checked` property to reflect\n      whether the checkbox is checked.\n         If this method is overridden, `super` must be called.\n         @method\n      @public\n     */\n    change: function () {\n      (0, _metal.set)(this, 'checked', this.element.checked);\n    }\n  });\n  _exports.Checkbox = Checkbox;\n\n  if (true\n  /* DEBUG */\n  ) {\n      var UNSET = {};\n      Checkbox.reopen({\n        value: UNSET,\n        didReceiveAttrs: function () {\n          this._super();\n\n          true && !!(this.type === 'checkbox' && this.value !== UNSET) && (0, _debug.assert)(\"`<Input @type='checkbox' @value={{...}} />` is not supported; \" + \"please use `<Input @type='checkbox' @checked={{...}} />` instead.\", !(this.type === 'checkbox' && this.value !== UNSET));\n        }\n      });\n    }\n\n  Checkbox.toString = function () {\n    return '@ember/component/checkbox';\n  };\n  /**\n  @module @ember/component\n  */\n\n\n  var inputTypes = _browserEnvironment.hasDOM ? Object.create(null) : null;\n\n  function canSetTypeOfInput(type) {\n    // if running in outside of a browser always return\n    // the original type\n    if (!_browserEnvironment.hasDOM) {\n      return Boolean(type);\n    }\n\n    if (type in inputTypes) {\n      return inputTypes[type];\n    }\n\n    var inputTypeTestElement = document.createElement('input');\n\n    try {\n      inputTypeTestElement.type = type;\n    } catch (e) {// ignored\n    }\n\n    return inputTypes[type] = inputTypeTestElement.type === type;\n  }\n  /**\n    The internal class used to create text inputs when the `Input` component is used with `type` of `text`.\n  \n    See [Ember.Templates.components.Input](/api/ember/release/classes/Ember.Templates.components/methods/Input?anchor=Input) for usage details.\n  \n    ## Layout and LayoutName properties\n  \n    Because HTML `input` elements are self closing `layout` and `layoutName`\n    properties will not be applied.\n  \n    @class TextField\n    @extends Component\n    @uses Ember.TextSupport\n    @public\n  */\n\n\n  var TextField = Component.extend(_views.TextSupport, {\n    layout: layout,\n\n    /**\n      By default, this component will add the `ember-text-field` class to the component's element.\n         @property classNames\n      @type Array | String\n      @default ['ember-text-field']\n      @public\n     */\n    classNames: ['ember-text-field'],\n    tagName: 'input',\n\n    /**\n      By default this component will forward a number of arguments to attributes on the the\n      component's element:\n         * accept\n      * autocomplete\n      * autosave\n      * dir\n      * formaction\n      * formenctype\n      * formmethod\n      * formnovalidate\n      * formtarget\n      * height\n      * inputmode\n      * lang\n      * list\n      * type\n      * max\n      * min\n      * multiple\n      * name\n      * pattern\n      * size\n      * step\n      * value\n      * width\n         When invoked with `{{input type=\"text\"}}`, you can only customize these attributes. When invoked\n      with `<Input @type=\"text\" />`, you can just use HTML attributes directly.\n         @property attributeBindings\n      @type Array | String\n      @default ['accept', 'autocomplete', 'autosave', 'dir', 'formaction', 'formenctype', 'formmethod', 'formnovalidate', 'formtarget', 'height', 'inputmode', 'lang', 'list', 'type', 'max', 'min', 'multiple', 'name', 'pattern', 'size', 'step', 'value', 'width']\n      @public\n    */\n    attributeBindings: ['accept', 'autocomplete', 'autosave', 'dir', 'formaction', 'formenctype', 'formmethod', 'formnovalidate', 'formtarget', 'height', 'inputmode', 'lang', 'list', 'type', 'max', 'min', 'multiple', 'name', 'pattern', 'size', 'step', 'value', 'width'],\n\n    /**\n      As the user inputs text, this property is updated to reflect the `value` property of the HTML\n      element.\n         @property value\n      @type String\n      @default \"\"\n      @public\n    */\n    value: '',\n\n    /**\n      The `type` attribute of the input element.\n         @property type\n      @type String\n      @default \"text\"\n      @public\n    */\n    type: (0, _metal.computed)({\n      get: function () {\n        return 'text';\n      },\n      set: function (_key, value) {\n        var type = 'text';\n\n        if (canSetTypeOfInput(value)) {\n          type = value;\n        }\n\n        return type;\n      }\n    }),\n\n    /**\n      The `size` of the text field in characters.\n         @property size\n      @type String\n      @default null\n      @public\n    */\n    size: null,\n\n    /**\n      The `pattern` attribute of input element.\n         @property pattern\n      @type String\n      @default null\n      @public\n    */\n    pattern: null,\n\n    /**\n      The `min` attribute of input element used with `type=\"number\"` or `type=\"range\"`.\n         @property min\n      @type String\n      @default null\n      @since 1.4.0\n      @public\n    */\n    min: null,\n\n    /**\n      The `max` attribute of input element used with `type=\"number\"` or `type=\"range\"`.\n         @property max\n      @type String\n      @default null\n      @since 1.4.0\n      @public\n    */\n    max: null\n  });\n  _exports.TextField = TextField;\n\n  TextField.toString = function () {\n    return '@ember/component/text-field';\n  };\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 extends Component {\n      @tracked writtenWords = \"Lots of text that IS bound\";\n    }\n    ```\n  \n    ```handlebars\n    <Textarea @value={{writtenWords}} />\n    ```\n  \n    Would result in the following HTML:\n  \n    ```html\n    <textarea class=\"ember-text-area\">\n      Lots of text that IS bound\n    </textarea>\n    ```\n  \n    If you wanted a one way binding, you could use the `<textarea>` element directly, and use the\n    `value` DOM property and the `input` event.\n  \n    ### Actions\n  \n    The `Textarea` component takes a number of arguments with callbacks that are invoked in\n    response to user events.\n  \n    * `enter`\n    * `insert-newline`\n    * `escape-press`\n    * `focus-in`\n    * `focus-out`\n    * `key-press`\n  \n    These callbacks are passed to `Textarea` like this:\n  \n    ```handlebars\n    <Textarea @value={{this.searchWord}} @enter={{this.query}} />\n    ```\n  \n    ## Classic Invocation Syntax\n  \n    The `Textarea` component can also be invoked using curly braces, just like any other Ember\n    component.\n  \n    For example, this is an invocation using angle-bracket notation:\n  \n    ```handlebars\n    <Textarea @value={{this.searchWord}} @enter={{this.query}} />\n    ```\n  \n    You could accomplish the same thing using classic invocation:\n  \n    ```handlebars\n    {{textarea value=this.searchWord enter=this.query}}\n    ```\n  \n    The main difference is that angle-bracket invocation supports any HTML attribute using HTML\n    attribute syntax, because attributes and arguments have different syntax when using angle-bracket\n    invocation. Curly brace invocation, on the other hand, only has a single syntax for arguments,\n    and components must manually map attributes onto component arguments.\n  \n    When using classic invocation with `{{textarea}}`, only the following attributes are mapped onto\n    arguments:\n  \n    * rows\n    * cols\n    * name\n    * selectionEnd\n    * selectionStart\n    * autocomplete\n    * wrap\n    * lang\n    * dir\n    * value\n  \n    ## Classic `layout` and `layoutName` properties\n  \n    Because HTML `textarea` elements do not contain inner HTML the `layout` and\n    `layoutName` properties will not be applied.\n  \n    @method Textarea\n    @for Ember.Templates.components\n    @see {TextArea}\n    @public\n  */\n\n  /**\n    See Ember.Templates.components.Textarea.\n  \n    @method textarea\n    @for Ember.Templates.helpers\n    @see {Ember.Templates.components.textarea}\n    @public\n  */\n\n  /**\n    The internal representation used for `Textarea` invocations.\n  \n    @class TextArea\n    @extends Component\n    @see {Ember.Templates.components.Textarea}\n    @uses Ember.TextSupport\n    @public\n  */\n\n\n  var TextArea = Component.extend(_views.TextSupport, {\n    classNames: ['ember-text-area'],\n    layout: layout,\n    tagName: 'textarea',\n    attributeBindings: ['rows', 'cols', 'name', 'selectionEnd', 'selectionStart', 'autocomplete', 'wrap', 'lang', 'dir', 'value'],\n    rows: null,\n    cols: null\n  });\n  _exports.TextArea = TextArea;\n\n  TextArea.toString = function () {\n    return '@ember/component/text-area';\n  };\n\n  var layout$1 = template({\n    \"id\": \"giTNx+op\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[25,1]],null,{\\\"statements\\\":[[14,1]],\\\"parameters\\\":[]},{\\\"statements\\\":[[1,[23,0,[\\\"linkTitle\\\"]],false]],\\\"parameters\\\":[]}]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/link-to.hbs\"\n    }\n  });\n  /**\n  @module ember\n  */\n\n  var LinkComponent;\n\n  if (true\n  /* EMBER_GLIMMER_ANGLE_BRACKET_BUILT_INS */\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           ```handlebars\n        <LinkTo @route='photoGallery'>\n          Great Hamster Photos\n        </LinkTo>\n        ```\n           This will result in:\n           ```html\n        <a href=\"/hamster-photos\">\n          Great Hamster Photos\n        </a>\n        ```\n           ### Disabling the `LinkTo` component\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           (The class name to apply to the element can be overridden by using the `disabledClass`\n        argument)\n           ```handlebars\n        <LinkTo @route='photoGallery' @disabled={{true}}>\n          Great Hamster Photos\n        </LinkTo>\n        ```\n           ### Handling `href`\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           ### Handling current route\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           ```handlebars\n        <LinkTo @route='photoGallery.recent'>\n          Great Hamster Photos\n        </LinkTo>\n        ```\n           will result in\n           ```html\n        <a href=\"/hamster-photos/this-week\" class=\"active\">\n          Great Hamster Photos\n        </a>\n        ```\n           The CSS class used for active classes can be customized by passing an `activeClass` argument:\n           ```handlebars\n        <LinkTo @route='photoGallery.recent' @activeClass=\"current-url\">\n          Great Hamster Photos\n        </LinkTo>\n        ```\n           ```html\n        <a href=\"/hamster-photos/this-week\" class=\"current-url\">\n          Great Hamster Photos\n        </a>\n        ```\n           ### Keeping a link active for other routes\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           ```handlebars\n        <LinkTo @route='photoGallery' @current-when='photos'>\n          Photo Gallery\n        </LinkTo>\n        ```\n           This may be helpful for keeping links active for:\n           * non-nested routes that are logically related\n        * some secondary menu approaches\n        * 'top navigation' with 'sub navigation' scenarios\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           To match multiple routes 'space-separate' the routes:\n           ```handlebars\n        <LinkTo @route='gallery' @current-when='photos drawings paintings'>\n          Art Gallery\n        </LinkTo>\n        ```\n           ### Supplying a model\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           ```javascript\n        Router.map(function() {\n          this.route(\"photoGallery\", {path: \"hamster-photos/:photo_id\"});\n        });\n        ```\n           ```handlebars\n        <LinkTo @route='photoGallery' @model={{this.aPhoto}}>\n          {{aPhoto.title}}\n        </LinkTo>\n        ```\n           ```html\n        <a href=\"/hamster-photos/42\">\n          Tomster\n        </a>\n        ```\n           ### Supplying multiple models\n           For deep-linking to route paths that contain multiple\n        dynamic segments, the `models` argument can be used.\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           ```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           This argument will become the model context of the linked route:\n           ```handlebars\n        <LinkTo @route='photoGallery.comment' @models={{array this.aPhoto this.comment}}>\n          {{comment.body}}\n        </LinkTo>\n        ```\n           ```html\n        <a href=\"/hamster-photos/42/comments/718\">\n          A+++ would snuggle again.\n        </a>\n        ```\n           ### Supplying an explicit dynamic segment value\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           ```javascript\n        Router.map(function() {\n          this.route(\"photoGallery\", { path: \"hamster-photos/:photo_id\" });\n        });\n        ```\n           ```handlebars\n        <LinkTo @route='photoGallery' @model={{aPhotoId}}>\n          {{this.aPhoto.title}}\n        </LinkTo>\n        ```\n           ```html\n        <a href=\"/hamster-photos/42\">\n          Tomster\n        </a>\n        ```\n           When transitioning into the linked route, the `model` hook will\n        be triggered with parameters including this passed identifier.\n           ### Allowing Default Action\n           By default the `<LinkTo>` component prevents the default browser action by calling\n        `preventDefault()` to avoid reloading 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           ### Supplying a `tagName`\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           ```handlebars\n        <LinkTo @route='photoGallery' @tagName='li'>\n          Great Hamster Photos\n        </LinkTo>\n        ```\n           This produces:\n           ```html\n        <li>\n          Great Hamster Photos\n        </li>\n        ```\n           In general, this is not recommended. Instead, you can use the `transition-to` helper together\n        with a click event handler on the HTML tag of your choosing.\n           @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](/api/ember/release/classes/Ember.Templates.components/methods/input?anchor=input).\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           @class LinkComponent\n        @extends Component\n        @see {Ember.Templates.components.LinkTo}\n        @public\n      **/\n      var UNDEFINED = Object.freeze({\n        toString: function () {\n          return 'UNDEFINED';\n        }\n      });\n      var EMPTY_QUERY_PARAMS = Object.freeze({});\n      LinkComponent = Component.extend({\n        layout: layout$1,\n        tagName: 'a',\n\n        /**\n          @property route\n          @category EMBER_GLIMMER_ANGLE_BRACKET_BUILT_INS\n          @public\n        */\n        route: UNDEFINED,\n\n        /**\n          @property model\n          @category EMBER_GLIMMER_ANGLE_BRACKET_BUILT_INS\n          @public\n        */\n        model: UNDEFINED,\n\n        /**\n          @property models\n          @category EMBER_GLIMMER_ANGLE_BRACKET_BUILT_INS\n          @public\n        */\n        models: UNDEFINED,\n\n        /**\n          @property query\n          @category EMBER_GLIMMER_ANGLE_BRACKET_BUILT_INS\n          @public\n        */\n        query: UNDEFINED,\n\n        /**\n          Used to determine when this `LinkComponent` is active.\n               @property current-when\n          @public\n        */\n        'current-when': null,\n\n        /**\n          Sets the `title` attribute of the `LinkComponent`'s HTML element.\n               @property title\n          @default null\n          @public\n        **/\n        title: null,\n\n        /**\n          Sets the `rel` attribute of the `LinkComponent`'s HTML element.\n               @property rel\n          @default null\n          @public\n        **/\n        rel: null,\n\n        /**\n          Sets the `tabindex` attribute of the `LinkComponent`'s HTML element.\n               @property tabindex\n          @default null\n          @public\n        **/\n        tabindex: null,\n\n        /**\n          Sets the `target` attribute of the `LinkComponent`'s HTML element.\n               @since 1.8.0\n          @property target\n          @default null\n          @public\n        **/\n        target: null,\n\n        /**\n          The CSS class to apply to `LinkComponent`'s element when its `active`\n          property is `true`.\n               @property activeClass\n          @type String\n          @default active\n          @public\n        **/\n        activeClass: 'active',\n\n        /**\n          The CSS class to apply to `LinkComponent`'s element when its `loading`\n          property is `true`.\n               @property loadingClass\n          @type String\n          @default loading\n          @private\n        **/\n        loadingClass: 'loading',\n\n        /**\n          The CSS class to apply to a `LinkComponent`'s element when its `disabled`\n          property is `true`.\n               @property disabledClass\n          @type String\n          @default disabled\n          @private\n        **/\n        disabledClass: 'disabled',\n\n        /**\n          Determines whether the `LinkComponent` will trigger routing via\n          the `replaceWith` routing strategy.\n               @property replace\n          @type Boolean\n          @default false\n          @public\n        **/\n        replace: false,\n\n        /**\n          By default this component will forward `href`, `title`, `rel`, `tabindex`, and `target`\n          arguments to attributes on the component's element. When invoked with `{{link-to}}`, you can\n          only customize these attributes. When invoked with `<LinkTo>`, you can just use HTML\n          attributes directly.\n               @property attributeBindings\n          @type Array | String\n          @default ['title', 'rel', 'tabindex', 'target']\n          @public\n        */\n        attributeBindings: ['href', 'title', 'rel', 'tabindex', 'target'],\n\n        /**\n          By default this component will set classes on its element when any of the following arguments\n          are truthy:\n               * active\n          * loading\n          * disabled\n               When these arguments are truthy, a class with the same name will be set on the element. When\n          falsy, the associated class will not be on the element.\n               @property classNameBindings\n          @type Array\n          @default ['active', 'loading', 'disabled', 'ember-transitioning-in', 'ember-transitioning-out']\n          @public\n        */\n        classNameBindings: ['active', 'loading', 'disabled', 'transitioningIn', 'transitioningOut'],\n\n        /**\n          By default this component responds to the `click` event. When the component element is an\n          `<a>` element, activating the link in another way, such as using the keyboard, triggers the\n          click event.\n               @property eventName\n          @type String\n          @default click\n          @private\n        */\n        eventName: 'click',\n        // this is doc'ed here so it shows up in the events\n        // section of the API documentation, which is where\n        // people will likely go looking for it.\n\n        /**\n          Triggers the `LinkComponent`'s routing behavior. If\n          `eventName` is changed to a value other than `click`\n          the routing behavior will trigger on that custom event\n          instead.\n               @event click\n          @private\n        */\n\n        /**\n          An overridable method called when `LinkComponent` objects are instantiated.\n               Example:\n               ```app/components/my-link.js\n          import LinkComponent from '@ember/routing/link-component';\n               export default LinkComponent.extend({\n            init() {\n              this._super(...arguments);\n              console.log('Event is ' + this.get('eventName'));\n            }\n          });\n          ```\n               NOTE: If you do override `init` for a framework class like `Component`,\n          be sure to call `this._super(...arguments)` in your\n          `init` declaration! If you don't, Ember may not have an opportunity to\n          do important setup work, and you'll see strange behavior in your\n          application.\n               @method init\n          @private\n        */\n        init: function () {\n          this._super.apply(this, arguments); // Map desired event name to invoke function\n\n\n          var eventName = this.eventName;\n          this.on(eventName, this, this._invoke);\n        },\n        _routing: (0, _service.inject)('-routing'),\n        _currentRoute: (0, _metal.alias)('_routing.currentRouteName'),\n        _currentRouterState: (0, _metal.alias)('_routing.currentState'),\n        _targetRouterState: (0, _metal.alias)('_routing.targetState'),\n        _route: (0, _metal.computed)('route', '_currentRouterState', function computeLinkToComponentRoute() {\n          var route = this.route;\n          return route === UNDEFINED ? this._currentRoute : route;\n        }),\n        _models: (0, _metal.computed)('model', 'models', function computeLinkToComponentModels() {\n          var model = this.model,\n              models = this.models;\n          true && !(model === UNDEFINED || models === UNDEFINED) && (0, _debug.assert)('You cannot provide both the `@model` and `@models` arguments to the <LinkTo> component.', model === UNDEFINED || models === UNDEFINED);\n\n          if (model !== UNDEFINED) {\n            return [model];\n          } else if (models !== UNDEFINED) {\n            true && !Array.isArray(models) && (0, _debug.assert)('The `@models` argument must be an array.', Array.isArray(models));\n            return models;\n          } else {\n            return [];\n          }\n        }),\n        _query: (0, _metal.computed)('query', function computeLinkToComponentQuery() {\n          var query = this.query;\n\n          if (query === UNDEFINED) {\n            return EMPTY_QUERY_PARAMS;\n          } else {\n            return (0, _polyfills.assign)({}, query);\n          }\n        }),\n\n        /**\n          Accessed as a classname binding to apply the component's `disabledClass`\n          CSS `class` to the element when the link is disabled.\n               When `true`, interactions with the element will not trigger route changes.\n          @property disabled\n          @private\n        */\n        disabled: (0, _metal.computed)({\n          get: function (_key) {\n            // always returns false for `get` because (due to the `set` just below)\n            // the cached return value from the set will prevent this getter from _ever_\n            // being called after a set has occured\n            return false;\n          },\n          set: function (_key, value) {\n            this._isDisabled = value;\n            return value ? this.disabledClass : false;\n          }\n        }),\n\n        /**\n          Accessed as a classname binding to apply the component's `activeClass`\n          CSS `class` to the element when the link is active.\n               This component is considered active when its `currentWhen` property is `true`\n          or the application's current route is the route this component would trigger\n          transitions into.\n               The `currentWhen` property can match against multiple routes by separating\n          route names using the ` ` (space) character.\n               @property active\n          @private\n        */\n        active: (0, _metal.computed)('activeClass', '_active', function computeLinkToComponentActiveClass() {\n          return this._active ? this.activeClass : false;\n        }),\n        _active: (0, _metal.computed)('_currentRouterState', '_route', '_models', '_query', 'loading', 'current-when', function computeLinkToComponentActive() {\n          var state = this._currentRouterState;\n\n          if (state) {\n            return this._isActive(state);\n          } else {\n            return false;\n          }\n        }),\n        willBeActive: (0, _metal.computed)('_currentRouterState', '_targetRouterState', '_route', '_models', '_query', 'loading', 'current-when', function computeLinkToComponentWillBeActive() {\n          var current = this._currentRouterState,\n              target = this._targetRouterState;\n\n          if (current === target) {\n            return;\n          }\n\n          return this._isActive(target);\n        }),\n        _isActive: function (routerState) {\n          if (this.loading) {\n            return false;\n          }\n\n          var currentWhen = this['current-when'];\n\n          if (typeof currentWhen === 'boolean') {\n            return currentWhen;\n          }\n\n          var isCurrentWhenSpecified = Boolean(currentWhen);\n\n          if (isCurrentWhenSpecified) {\n            currentWhen = currentWhen.split(' ');\n          } else {\n            currentWhen = [this._route];\n          }\n\n          var models = this._models,\n              query = this._query,\n              routing = this._routing;\n\n          for (var i = 0; i < currentWhen.length; i++) {\n            if (routing.isActiveForRoute(models, query, currentWhen[i], routerState, isCurrentWhenSpecified)) {\n              return true;\n            }\n          }\n\n          return false;\n        },\n        transitioningIn: (0, _metal.computed)('_active', 'willBeActive', function computeLinkToComponentTransitioningIn() {\n          if (this.willBeActive === true && !this._active) {\n            return 'ember-transitioning-in';\n          } else {\n            return false;\n          }\n        }),\n        transitioningOut: (0, _metal.computed)('_active', 'willBeActive', function computeLinkToComponentTransitioningOut() {\n          if (this.willBeActive === false && this._active) {\n            return 'ember-transitioning-out';\n          } else {\n            return false;\n          }\n        }),\n\n        /**\n          Event handler that invokes the link, activating the associated route.\n               @method _invoke\n          @param {Event} event\n          @private\n        */\n        _invoke: function (event) {\n          if (!(0, _views.isSimpleClick)(event)) {\n            return true;\n          }\n\n          var bubbles = this.bubbles,\n              preventDefault = this.preventDefault;\n          var target = this.element.target;\n          var isSelf = !target || target === '_self';\n\n          if (preventDefault !== false && isSelf) {\n            event.preventDefault();\n          }\n\n          if (bubbles === false) {\n            event.stopPropagation();\n          }\n\n          if (this._isDisabled) {\n            return false;\n          }\n\n          if (this.loading) {\n            // tslint:disable-next-line:max-line-length\n            true && (0, _debug.warn)('This link is in an inactive loading state because at least one of its models ' + 'currently has a null/undefined value, or the provided route name is invalid.', false, {\n              id: 'ember-glimmer.link-to.inactive-loading-state'\n            });\n            return false;\n          }\n\n          if (!isSelf) {\n            return false;\n          }\n\n          var routeName = this._route,\n              models = this._models,\n              queryParams = this._query,\n              shouldReplace = this.replace;\n          var payload = {\n            queryParams: queryParams,\n            routeName: routeName\n          };\n          (0, _instrumentation.flaggedInstrument)('interaction.link-to', payload, this._generateTransition(payload, routeName, models, queryParams, shouldReplace));\n          return false;\n        },\n        _generateTransition: function (payload, qualifiedRouteName, models, queryParams, shouldReplace) {\n          var routing = this._routing;\n          return function () {\n            payload.transition = routing.transitionTo(qualifiedRouteName, models, queryParams, shouldReplace);\n          };\n        },\n\n        /**\n          Sets the element's `href` attribute to the url for\n          the `LinkComponent`'s targeted route.\n               If the `LinkComponent`'s `tagName` is changed to a value other\n          than `a`, this property will be ignored.\n               @property href\n          @private\n        */\n        href: (0, _metal.computed)('_currentRouterState', '_route', '_models', '_query', 'tagName', 'loading', 'loadingHref', function computeLinkToComponentHref() {\n          if (this.tagName !== 'a') {\n            return;\n          }\n\n          if (this.loading) {\n            return this.loadingHref;\n          }\n\n          var route = this._route,\n              models = this._models,\n              query = this._query,\n              routing = this._routing;\n\n          if (true\n          /* DEBUG */\n          ) {\n              /*\n               * Unfortunately, to get decent error messages, we need to do this.\n               * In some future state we should be able to use a \"feature flag\"\n               * which allows us to strip this without needing to call it twice.\n               *\n               * if (isDebugBuild()) {\n               *   // Do the useful debug thing, probably including try/catch.\n               * } else {\n               *   // Do the performant thing.\n               * }\n               */\n              try {\n                return routing.generateURL(route, models, query);\n              } catch (e) {\n                // tslint:disable-next-line:max-line-length\n                true && !false && (0, _debug.assert)(\"You attempted to generate a link for the \\\"\" + this.route + \"\\\" route, but did not \" + \"pass the models required for generating its dynamic segments. \" + e.message);\n              }\n            } else {\n            return routing.generateURL(route, models, query);\n          }\n        }),\n        loading: (0, _metal.computed)('_route', '_modelsAreLoaded', 'loadingClass', function computeLinkToComponentLoading() {\n          var route = this._route,\n              loaded = this._modelsAreLoaded;\n\n          if (!loaded || route === null || route === undefined) {\n            return this.loadingClass;\n          }\n        }),\n        _modelsAreLoaded: (0, _metal.computed)('_models', function computeLinkToComponentModelsAreLoaded() {\n          var models = this._models;\n\n          for (var i = 0; i < models.length; i++) {\n            var model = models[i];\n\n            if (model === null || model === undefined) {\n              return false;\n            }\n          }\n\n          return true;\n        }),\n\n        /**\n          The default href value to use while a link-to is loading.\n          Only applies when tagName is 'a'\n               @property loadingHref\n          @type String\n          @default #\n          @private\n        */\n        loadingHref: '#',\n        didReceiveAttrs: function () {\n          var disabledWhen = this.disabledWhen;\n\n          if (disabledWhen !== undefined) {\n            this.set('disabled', disabledWhen);\n          }\n\n          var params = this.params;\n\n          if (!params || params.length === 0) {\n            true && !!(this.route === UNDEFINED && this.model === UNDEFINED && this.models === UNDEFINED && this.query === UNDEFINED) && (0, _debug.assert)('You must provide at least one of the `@route`, `@model`, `@models` or `@query` argument to `<LinkTo>`.', !(this.route === UNDEFINED && this.model === UNDEFINED && this.models === UNDEFINED && this.query === UNDEFINED));\n\n            if (true\n            /* DEBUG */\n            && this.query === UNDEFINED) {\n              var models = this._models;\n              var lastModel = models.length > 0 && models[models.length - 1];\n              true && !!(lastModel && lastModel.isQueryParams) && (0, _debug.assert)('The `(query-params)` helper can only be used when invoking the `{{link-to}}` component.', !(lastModel && lastModel.isQueryParams));\n            }\n\n            return;\n          }\n\n          params = params.slice(); // Process the positional arguments, in order.\n          // 1. Inline link title comes first, if present.\n\n          if (!this[HAS_BLOCK]) {\n            this.set('linkTitle', params.shift());\n          } // 2. The last argument is possibly the `query` object.\n\n\n          var queryParams = params[params.length - 1];\n\n          if (queryParams && queryParams.isQueryParams) {\n            this.set('query', params.pop().values);\n          } else {\n            this.set('query', UNDEFINED);\n          } // 3. If there is a `route`, it is now at index 0.\n\n\n          if (params.length === 0) {\n            this.set('route', UNDEFINED);\n          } else {\n            this.set('route', params.shift());\n          } // 4. Any remaining indices (if any) are `models`.\n\n\n          this.set('model', UNDEFINED);\n          this.set('models', params);\n        }\n      });\n\n      LinkComponent.toString = function () {\n        return '@ember/routing/link-component';\n      };\n\n      LinkComponent.reopenClass({\n        positionalParams: 'params'\n      });\n    } else {\n    /**\n      The `{{link-to}}` component renders a link to the supplied\n      `routeName` passing an optionally supplied model to the\n      route as its `model` context of the route. The block\n      for `{{link-to}}` becomes the innerHTML of the rendered\n      element:\n         ```handlebars\n      {{#link-to 'photoGallery'}}\n        Great Hamster Photos\n      {{/link-to}}\n      ```\n         You can also use an inline form of `{{link-to}}` component by\n      passing the link text as the first argument\n      to the component:\n         ```handlebars\n      {{link-to 'Great Hamster Photos' 'photoGallery'}}\n      ```\n         Both will result in:\n         ```html\n      <a href=\"/hamster-photos\">\n        Great Hamster Photos\n      </a>\n      ```\n         ### Supplying a tagName\n      By default `{{link-to}}` renders an `<a>` element. This can\n      be overridden for a single use of `{{link-to}}` by supplying\n      a `tagName` option:\n         ```handlebars\n      {{#link-to 'photoGallery' tagName=\"li\"}}\n        Great Hamster Photos\n      {{/link-to}}\n      ```\n         ```html\n      <li>\n        Great Hamster Photos\n      </li>\n      ```\n         To override this option for your entire application, see\n      \"Overriding Application-wide Defaults\".\n         ### Disabling the `link-to` component\n      By default `{{link-to}}` is enabled.\n      any passed value to the `disabled` component property will disable\n      the `link-to` component.\n         static use: the `disabled` option:\n         ```handlebars\n      {{#link-to 'photoGallery' disabled=true}}\n        Great Hamster Photos\n      {{/link-to}}\n      ```\n         dynamic use: the `disabledWhen` option:\n         ```handlebars\n      {{#link-to 'photoGallery' disabledWhen=controller.someProperty}}\n        Great Hamster Photos\n      {{/link-to}}\n      ```\n         any truthy value passed to `disabled` will disable it except `undefined`.\n         See \"Overriding Application-wide Defaults\" for more.\n         ### Handling `href`\n      `{{link-to}}` will use your application's Router to\n      fill the element's `href` property with a url that\n      matches the path to the supplied `routeName` for your\n      router's configured `Location` scheme, which defaults\n      to HashLocation.\n         ### Handling current route\n      `{{link-to}}` will apply a CSS class name of 'active'\n      when the application's current route matches\n      the supplied routeName. For example, if the application's\n      current route is 'photoGallery.recent' the following\n      use of `{{link-to}}`:\n         ```handlebars\n      {{#link-to 'photoGallery.recent'}}\n        Great Hamster Photos\n      {{/link-to}}\n      ```\n         will result in\n         ```html\n      <a href=\"/hamster-photos/this-week\" class=\"active\">\n        Great Hamster Photos\n      </a>\n      ```\n         The CSS class name used for active classes can be customized\n      for a single use of `{{link-to}}` by passing an `activeClass`\n      option:\n         ```handlebars\n      {{#link-to 'photoGallery.recent' activeClass=\"current-url\"}}\n        Great Hamster Photos\n      {{/link-to}}\n      ```\n         ```html\n      <a href=\"/hamster-photos/this-week\" class=\"current-url\">\n        Great Hamster Photos\n      </a>\n      ```\n         To override this option for your entire application, see\n      \"Overriding Application-wide Defaults\".\n         ### Keeping a link active for other routes\n         If you need a link to be 'active' even when it doesn't match\n      the current route, you can use the `current-when` argument.\n         ```handlebars\n      {{#link-to 'photoGallery' current-when='photos'}}\n        Photo Gallery\n      {{/link-to}}\n      ```\n         This may be helpful for keeping links active for:\n         * non-nested routes that are logically related\n      * some secondary menu approaches\n      * 'top navigation' with 'sub navigation' scenarios\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         To match multiple routes 'space-separate' the routes:\n         ```handlebars\n      {{#link-to 'gallery' current-when='photos drawings paintings'}}\n        Art Gallery\n      {{/link-to}}\n      ```\n         ### Supplying a model\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         ```javascript\n      Router.map(function() {\n        this.route(\"photoGallery\", {path: \"hamster-photos/:photo_id\"});\n      });\n      ```\n         ```handlebars\n      {{#link-to 'photoGallery' aPhoto}}\n        {{aPhoto.title}}\n      {{/link-to}}\n      ```\n         ```html\n      <a href=\"/hamster-photos/42\">\n        Tomster\n      </a>\n      ```\n         ### Supplying multiple models\n      For deep-linking to route paths that contain multiple\n      dynamic segments, multiple model arguments can be used.\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         ```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      This argument will become the model context of the linked route:\n         ```handlebars\n      {{#link-to 'photoGallery.comment' aPhoto comment}}\n        {{comment.body}}\n      {{/link-to}}\n      ```\n         ```html\n      <a href=\"/hamster-photos/42/comments/718\">\n        A+++ would snuggle again.\n      </a>\n      ```\n         ### Supplying an explicit dynamic segment value\n      If you don't have a model object available to pass to `{{link-to}}`,\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         ```javascript\n      Router.map(function() {\n        this.route(\"photoGallery\", { path: \"hamster-photos/:photo_id\" });\n      });\n      ```\n         ```handlebars\n      {{#link-to 'photoGallery' aPhotoId}}\n        {{aPhoto.title}}\n      {{/link-to}}\n      ```\n         ```html\n      <a href=\"/hamster-photos/42\">\n        Tomster\n      </a>\n      ```\n         When transitioning into the linked route, the `model` hook will\n      be triggered with parameters including this passed identifier.\n         ### Allowing Default Action\n         By default the `{{link-to}}` component prevents the default browser action\n      by calling `preventDefault()` as this sort of action bubbling is normally\n      handled internally and we do not want to take the browser to a new URL (for\n      example).\n         If you need to override this behavior specify `preventDefault=false` in\n      your template:\n         ```handlebars\n      {{#link-to 'photoGallery' aPhotoId preventDefault=false}}\n        {{aPhotoId.title}}\n      {{/link-to}}\n      ```\n         ### Overriding attributes\n      You can override any given property of the `LinkComponent`\n      that is generated by the `{{link-to}}` component by passing\n      key/value pairs, like so:\n         ```handlebars\n      {{#link-to  aPhoto tagName='li' title='Following this link will change your life' classNames='pic sweet'}}\n        Uh-mazing!\n      {{/link-to}}\n      ```\n         See [LinkComponent](/api/ember/release/classes/LinkComponent) for a\n      complete list of overrideable properties. Be sure to also\n      check out inherited properties of `LinkComponent`.\n         ### Overriding Application-wide Defaults\n         ``{{link-to}}`` creates an instance of `LinkComponent` for rendering. To\n      override options for your entire application, export your customized\n      `LinkComponent` from `app/components/link-to.js` with the desired overrides:\n         ```javascript\n      // app/components/link-to.js\n      import LinkComponent from '@ember/routing/link-component';\n         export default LinkComponent.extend({\n        activeClass: \"is-active\",\n        tagName: 'li'\n      })\n      ```\n         It is also possible to override the default event in this manner:\n         ```javascript\n      import LinkComponent from '@ember/routing/link-component';\n         export default LinkComponent.extend({\n        eventName: 'customEventName'\n      });\n      ```\n         @method link-to\n      @for Ember.Templates.helpers\n      @param {String} routeName\n      @param {Object} [context]*\n      @param [options] {Object} Handlebars key/value pairs of options, you can override any property of Ember.LinkComponent\n      @return {String} HTML string\n      @see {LinkComponent}\n      @public\n    */\n\n    /**\n      @module @ember/routing\n    */\n\n    /**\n      `LinkComponent` renders an element whose `click` event triggers a\n      transition of the application's instance of `Router` to\n      a supplied route by name.\n         `LinkComponent` components are invoked with {{#link-to}}. Properties\n      of this class can be overridden with `reopen` to customize application-wide\n      behavior.\n         @class LinkComponent\n      @extends Component\n      @see {Ember.Templates.helpers.link-to}\n      @public\n    **/\n    var _EMPTY_QUERY_PARAMS = Object.freeze({\n      values: Object.freeze({})\n    });\n\n    LinkComponent = Component.extend({\n      layout: layout$1,\n      tagName: 'a',\n\n      /**\n        Used to determine when this `LinkComponent` is active.\n             @property current-when\n        @public\n      */\n      'current-when': null,\n\n      /**\n        Sets the `title` attribute of the `LinkComponent`'s HTML element.\n             @property title\n        @default null\n        @public\n      **/\n      title: null,\n\n      /**\n        Sets the `rel` attribute of the `LinkComponent`'s HTML element.\n             @property rel\n        @default null\n        @public\n      **/\n      rel: null,\n\n      /**\n        Sets the `tabindex` attribute of the `LinkComponent`'s HTML element.\n             @property tabindex\n        @default null\n        @public\n      **/\n      tabindex: null,\n\n      /**\n        Sets the `target` attribute of the `LinkComponent`'s HTML element.\n             @since 1.8.0\n        @property target\n        @default null\n        @public\n      **/\n      target: null,\n\n      /**\n        The CSS class to apply to `LinkComponent`'s element when its `active`\n        property is `true`.\n             @property activeClass\n        @type String\n        @default active\n        @public\n      **/\n      activeClass: 'active',\n\n      /**\n        The CSS class to apply to `LinkComponent`'s element when its `loading`\n        property is `true`.\n             @property loadingClass\n        @type String\n        @default loading\n        @private\n      **/\n      loadingClass: 'loading',\n\n      /**\n        The CSS class to apply to a `LinkComponent`'s element when its `disabled`\n        property is `true`.\n             @property disabledClass\n        @type String\n        @default disabled\n        @private\n      **/\n      disabledClass: 'disabled',\n\n      /**\n        Determines whether the `LinkComponent` will trigger routing via\n        the `replaceWith` routing strategy.\n             @property replace\n        @type Boolean\n        @default false\n        @public\n      **/\n      replace: false,\n\n      /**\n        By default the `{{link-to}}` component will bind to the `href` and\n        `title` attributes. It's discouraged that you override these defaults,\n        however you can push onto the array if needed.\n             @property attributeBindings\n        @type Array | String\n        @default ['title', 'rel', 'tabindex', 'target']\n        @public\n      */\n      attributeBindings: ['href', 'title', 'rel', 'tabindex', 'target'],\n\n      /**\n        By default the `{{link-to}}` component will bind to the `active`, `loading`,\n        and `disabled` classes. It is discouraged to override these directly.\n             @property classNameBindings\n        @type Array\n        @default ['active', 'loading', 'disabled', 'ember-transitioning-in', 'ember-transitioning-out']\n        @public\n      */\n      classNameBindings: ['active', 'loading', 'disabled', 'transitioningIn', 'transitioningOut'],\n\n      /**\n        By default the `{{link-to}}` component responds to the `click` event. You\n        can override this globally by setting this property to your custom\n        event name.\n             This is particularly useful on mobile when one wants to avoid the 300ms\n        click delay using some sort of custom `tap` 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      /**\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: function () {\n        this._super.apply(this, arguments); // Map desired event name to invoke function\n\n\n        var eventName = (0, _metal.get)(this, 'eventName');\n        this.on(eventName, this, this._invoke);\n      },\n      _routing: (0, _service.inject)('-routing'),\n\n      /**\n        Accessed as a classname binding to apply the `LinkComponent`'s `disabledClass`\n        CSS `class` to the element when the link is disabled.\n             When `true` interactions with the element will not trigger route changes.\n        @property disabled\n        @private\n      */\n      disabled: (0, _metal.computed)({\n        get: function (_key) {\n          // always returns false for `get` because (due to the `set` just below)\n          // the cached return value from the set will prevent this getter from _ever_\n          // being called after a set has occured\n          return false;\n        },\n        set: function (_key, value) {\n          this._isDisabled = value;\n          return value ? (0, _metal.get)(this, 'disabledClass') : false;\n        }\n      }),\n      _isActive: function (routerState) {\n        if ((0, _metal.get)(this, 'loading')) {\n          return false;\n        }\n\n        var currentWhen = (0, _metal.get)(this, 'current-when');\n\n        if (typeof currentWhen === 'boolean') {\n          return currentWhen;\n        }\n\n        var isCurrentWhenSpecified = Boolean(currentWhen);\n        currentWhen = currentWhen || (0, _metal.get)(this, 'qualifiedRouteName');\n        currentWhen = currentWhen.split(' ');\n        var routing = this._routing;\n        var models = (0, _metal.get)(this, 'models');\n        var resolvedQueryParams = (0, _metal.get)(this, 'resolvedQueryParams');\n\n        for (var i = 0; i < currentWhen.length; i++) {\n          if (routing.isActiveForRoute(models, resolvedQueryParams, currentWhen[i], routerState, isCurrentWhenSpecified)) {\n            return true;\n          }\n        }\n\n        return false;\n      },\n\n      /**\n        Accessed as a classname binding to apply the `LinkComponent`'s `activeClass`\n        CSS `class` to the element when the link is active.\n             A `LinkComponent` is considered active when its `currentWhen` property is `true`\n        or the application's current route is the route the `LinkComponent` would trigger\n        transitions into.\n             The `currentWhen` property can match against multiple routes by separating\n        route names using the ` ` (space) character.\n             @property active\n        @private\n      */\n      active: (0, _metal.computed)('activeClass', '_active', function computeLinkToComponentActiveClass() {\n        return this.get('_active') ? (0, _metal.get)(this, 'activeClass') : false;\n      }),\n      _active: (0, _metal.computed)('_routing.currentState', 'attrs.params', function computeLinkToComponentActive() {\n        var currentState = (0, _metal.get)(this, '_routing.currentState');\n\n        if (!currentState) {\n          return false;\n        }\n\n        return this._isActive(currentState);\n      }),\n      willBeActive: (0, _metal.computed)('_routing.targetState', function computeLinkToComponentWillBeActive() {\n        var routing = this._routing;\n        var targetState = (0, _metal.get)(routing, 'targetState');\n\n        if ((0, _metal.get)(routing, 'currentState') === targetState) {\n          return;\n        }\n\n        return this._isActive(targetState);\n      }),\n      transitioningIn: (0, _metal.computed)('active', 'willBeActive', function computeLinkToComponentTransitioningIn() {\n        if ((0, _metal.get)(this, 'willBeActive') === true && !(0, _metal.get)(this, '_active')) {\n          return 'ember-transitioning-in';\n        } else {\n          return false;\n        }\n      }),\n      transitioningOut: (0, _metal.computed)('active', 'willBeActive', function computeLinkToComponentTransitioningOut() {\n        if ((0, _metal.get)(this, 'willBeActive') === false && (0, _metal.get)(this, '_active')) {\n          return 'ember-transitioning-out';\n        } else {\n          return false;\n        }\n      }),\n\n      /**\n        Event handler that invokes the link, activating the associated route.\n             @method _invoke\n        @param {Event} event\n        @private\n      */\n      _invoke: function (event) {\n        if (!(0, _views.isSimpleClick)(event)) {\n          return true;\n        }\n\n        var preventDefault = (0, _metal.get)(this, 'preventDefault');\n        var targetAttribute = (0, _metal.get)(this, 'target');\n\n        if (preventDefault !== false && (!targetAttribute || targetAttribute === '_self')) {\n          event.preventDefault();\n        }\n\n        if ((0, _metal.get)(this, 'bubbles') === false) {\n          event.stopPropagation();\n        }\n\n        if (this._isDisabled) {\n          return false;\n        }\n\n        if ((0, _metal.get)(this, 'loading')) {\n          // tslint:disable-next-line:max-line-length\n          true && (0, _debug.warn)('This link-to is in an inactive loading state because at least one of its parameters presently has a null/undefined value, or the provided route name is invalid.', false, {\n            id: 'ember-glimmer.link-to.inactive-loading-state'\n          });\n          return false;\n        }\n\n        if (targetAttribute && targetAttribute !== '_self') {\n          return false;\n        }\n\n        var qualifiedRouteName = (0, _metal.get)(this, 'qualifiedRouteName');\n        var models = (0, _metal.get)(this, 'models');\n        var queryParams = (0, _metal.get)(this, 'queryParams.values');\n        var shouldReplace = (0, _metal.get)(this, 'replace');\n        var payload = {\n          queryParams: queryParams,\n          routeName: qualifiedRouteName\n        }; // tslint:disable-next-line:max-line-length\n\n        (0, _instrumentation.flaggedInstrument)('interaction.link-to', payload, this._generateTransition(payload, qualifiedRouteName, models, queryParams, shouldReplace));\n        return false;\n      },\n      _generateTransition: function (payload, qualifiedRouteName, models, queryParams, shouldReplace) {\n        var routing = this._routing;\n        return function () {\n          payload.transition = routing.transitionTo(qualifiedRouteName, models, queryParams, shouldReplace);\n        };\n      },\n      queryParams: _EMPTY_QUERY_PARAMS,\n      qualifiedRouteName: (0, _metal.computed)('targetRouteName', '_routing.currentState', function computeLinkToComponentQualifiedRouteName() {\n        var params = (0, _metal.get)(this, 'params');\n        var paramsLength = params.length;\n        var lastParam = params[paramsLength - 1];\n\n        if (lastParam && lastParam.isQueryParams) {\n          paramsLength--;\n        }\n\n        var onlyQueryParamsSupplied = this[HAS_BLOCK] ? paramsLength === 0 : paramsLength === 1;\n\n        if (onlyQueryParamsSupplied) {\n          return (0, _metal.get)(this, '_routing.currentRouteName');\n        }\n\n        return (0, _metal.get)(this, 'targetRouteName');\n      }),\n      resolvedQueryParams: (0, _metal.computed)('queryParams', function computeLinkToComponentResolvedQueryParams() {\n        var resolvedQueryParams = {};\n        var queryParams = (0, _metal.get)(this, 'queryParams');\n\n        if (queryParams !== _EMPTY_QUERY_PARAMS) {\n          var values = queryParams.values;\n          (0, _polyfills.assign)(resolvedQueryParams, values);\n        }\n\n        return resolvedQueryParams;\n      }),\n\n      /**\n        Sets the element's `href` attribute to the url for\n        the `LinkComponent`'s targeted route.\n             If the `LinkComponent`'s `tagName` is changed to a value other\n        than `a`, this property will be ignored.\n             @property href\n        @private\n      */\n      href: (0, _metal.computed)('models', 'qualifiedRouteName', function computeLinkToComponentHref() {\n        if ((0, _metal.get)(this, 'tagName') !== 'a') {\n          return;\n        }\n\n        var qualifiedRouteName = (0, _metal.get)(this, 'qualifiedRouteName');\n        var models = (0, _metal.get)(this, 'models');\n\n        if ((0, _metal.get)(this, 'loading')) {\n          return (0, _metal.get)(this, 'loadingHref');\n        }\n\n        var routing = this._routing;\n        var queryParams = (0, _metal.get)(this, 'queryParams.values');\n\n        if (true\n        /* DEBUG */\n        ) {\n            /*\n             * Unfortunately, to get decent error messages, we need to do this.\n             * In some future state we should be able to use a \"feature flag\"\n             * which allows us to strip this without needing to call it twice.\n             *\n             * if (isDebugBuild()) {\n             *   // Do the useful debug thing, probably including try/catch.\n             * } else {\n             *   // Do the performant thing.\n             * }\n             */\n            try {\n              routing.generateURL(qualifiedRouteName, models, queryParams);\n            } catch (e) {\n              // tslint:disable-next-line:max-line-length\n              true && !false && (0, _debug.assert)('You attempted to define a `{{link-to \"' + qualifiedRouteName + '\"}}` but did not pass the parameters required for generating its dynamic segments. ' + e.message);\n            }\n          }\n\n        return routing.generateURL(qualifiedRouteName, models, queryParams);\n      }),\n      loading: (0, _metal.computed)('_modelsAreLoaded', 'qualifiedRouteName', function computeLinkToComponentLoading() {\n        var qualifiedRouteName = (0, _metal.get)(this, 'qualifiedRouteName');\n        var modelsAreLoaded = (0, _metal.get)(this, '_modelsAreLoaded');\n\n        if (!modelsAreLoaded || qualifiedRouteName === null || qualifiedRouteName === undefined) {\n          return (0, _metal.get)(this, 'loadingClass');\n        }\n      }),\n      _modelsAreLoaded: (0, _metal.computed)('models', function computeLinkToComponentModelsAreLoaded() {\n        var models = (0, _metal.get)(this, 'models');\n\n        for (var i = 0; i < models.length; i++) {\n          var model = models[i];\n\n          if (model === null || model === undefined) {\n            return false;\n          }\n        }\n\n        return true;\n      }),\n\n      /**\n        The default href value to use while a link-to is loading.\n        Only applies when tagName is 'a'\n             @property loadingHref\n        @type String\n        @default #\n        @private\n      */\n      loadingHref: '#',\n      didReceiveAttrs: function () {\n        var queryParams;\n        var params = (0, _metal.get)(this, 'params');\n\n        if (params) {\n          // Do not mutate params in place\n          params = params.slice();\n        }\n\n        true && !(params && params.length > 0) && (0, _debug.assert)('You must provide one or more parameters to the `{{link-to}}` component.', params && params.length > 0);\n        var disabledWhen = (0, _metal.get)(this, 'disabledWhen');\n\n        if (disabledWhen !== undefined) {\n          this.set('disabled', disabledWhen);\n        } // Process the positional arguments, in order.\n        // 1. Inline link title comes first, if present.\n\n\n        if (!this[HAS_BLOCK]) {\n          this.set('linkTitle', params.shift());\n        } // 2. `targetRouteName` is now always at index 0.\n\n\n        this.set('targetRouteName', params[0]); // 3. The last argument (if still remaining) is the `queryParams` object.\n\n        var lastParam = params[params.length - 1];\n\n        if (lastParam && lastParam.isQueryParams) {\n          queryParams = params.pop();\n        } else {\n          queryParams = _EMPTY_QUERY_PARAMS;\n        }\n\n        this.set('queryParams', queryParams); // 4. Any remaining indices (excepting `targetRouteName` at 0) are `models`.\n\n        params.shift();\n        this.set('models', params);\n      }\n    });\n\n    LinkComponent.toString = function () {\n      return '@ember/routing/link-component';\n    };\n\n    LinkComponent.reopenClass({\n      positionalParams: 'params'\n    });\n  }\n\n  var LinkToComponent = LinkComponent; // @ts-check\n\n  _exports.LinkComponent = LinkToComponent;\n  var DebugStack;\n\n  if (true\n  /* DEBUG */\n  ) {\n      var Element = function Element(name) {\n        this.name = name;\n      };\n\n      var TemplateElement =\n      /*#__PURE__*/\n      function (_Element) {\n        (0, _emberBabel.inheritsLoose)(TemplateElement, _Element);\n\n        function TemplateElement() {\n          return _Element.apply(this, arguments) || this;\n        }\n\n        return TemplateElement;\n      }(Element);\n\n      var EngineElement =\n      /*#__PURE__*/\n      function (_Element2) {\n        (0, _emberBabel.inheritsLoose)(EngineElement, _Element2);\n\n        function EngineElement() {\n          return _Element2.apply(this, arguments) || this;\n        }\n\n        return EngineElement;\n      }(Element); // tslint:disable-next-line:no-shadowed-variable\n\n\n      DebugStack =\n      /*#__PURE__*/\n      function () {\n        function DebugStack() {\n          this._stack = [];\n        }\n\n        var _proto17 = DebugStack.prototype;\n\n        _proto17.push = function push(name) {\n          this._stack.push(new TemplateElement(name));\n        };\n\n        _proto17.pushEngine = function pushEngine(name) {\n          this._stack.push(new EngineElement(name));\n        };\n\n        _proto17.pop = function pop() {\n          var element = this._stack.pop();\n\n          if (element) {\n            return element.name;\n          }\n        };\n\n        _proto17.peek = function peek() {\n          var template = this._currentTemplate();\n\n          var engine = this._currentEngine();\n\n          if (engine) {\n            return \"\\\"\" + template + \"\\\" (in \\\"\" + engine + \"\\\")\";\n          } else if (template) {\n            return \"\\\"\" + template + \"\\\"\";\n          }\n        };\n\n        _proto17._currentTemplate = function _currentTemplate() {\n          return this._getCurrentByType(TemplateElement);\n        };\n\n        _proto17._currentEngine = function _currentEngine() {\n          return this._getCurrentByType(EngineElement);\n        };\n\n        _proto17._getCurrentByType = function _getCurrentByType(type) {\n          for (var i = this._stack.length; i >= 0; i--) {\n            var element = this._stack[i];\n\n            if (element instanceof type) {\n              return element.name;\n            }\n          }\n        };\n\n        return DebugStack;\n      }();\n    }\n\n  var DebugStack$1 = DebugStack;\n  /**\n  @module ember\n  */\n\n  /**\n    The `{{#each}}` helper loops over elements in a collection. It is an extension\n    of the base Handlebars `{{#each}}` helper.\n    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    ```javascript\n    var developers = [{ name: 'Yehuda' },{ name: 'Tom' }, { name: 'Paul' }];\n    ```\n  \n    ```handlebars\n    {{#each developers key=\"name\" as |person|}}\n      {{person.name}}\n      {{! `this` is whatever it was outside the #each }}\n    {{/each}}\n    ```\n  \n    The same rules apply to arrays of primitives.\n  \n    ```javascript\n    var developerNames = ['Yehuda', 'Tom', 'Paul']\n    ```\n  \n    ```handlebars\n    {{#each developerNames key=\"@index\" as |name|}}\n      {{name}}\n    {{/each}}\n    ```\n  \n    During iteration, the index of each item in the array is provided as a second block parameter.\n  \n    ```handlebars\n    <ul>\n      {{#each people 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    The `key` option is used to tell Ember how to determine if the array being\n    iterated over with `{{#each}}` has changed between renders. By helping Ember\n    detect that some elements in the array are the same, DOM elements can be\n    re-used, significantly improving rendering speed.\n  \n    For example, here's the `{{#each}}` helper with its `key` set to `id`:\n  \n    ```handlebars\n    {{#each model key=\"id\" as |item|}}\n    {{/each}}\n    ```\n  \n    When this `{{#each}}` re-renders, Ember will match up the previously rendered\n    items (and reorder the generated DOM elements) based on each item's `id`\n    property.\n    By default the item's own reference is used.\n  \n    ### {{else}} condition\n  \n    `{{#each}}` can have a matching `{{else}}`. The contents of this block will render\n    if the collection is empty.\n  \n    ```handlebars\n    {{#each developers as |person|}}\n      {{person.name}}\n    {{else}}\n      <p>Sorry, nobody is available for this task.</p>\n    {{/each}}\n    ```\n  \n    @method each\n    @for Ember.Templates.helpers\n    @public\n   */\n\n  /**\n    The `{{each-in}}` helper loops over properties on an object.\n  \n    For example, given a `user` object that looks like:\n  \n    ```javascript\n    {\n      \"name\": \"Shelly Sails\",\n      \"age\": 42\n    }\n    ```\n  \n    This template would display all properties on the `user`\n    object in a list:\n  \n    ```handlebars\n    <ul>\n    {{#each-in user as |key value|}}\n      <li>{{key}}: {{value}}</li>\n    {{/each-in}}\n    </ul>\n    ```\n  \n    Outputting their name and age.\n  \n    @method each-in\n    @for Ember.Templates.helpers\n    @public\n    @since 2.1.0\n  */\n\n  _exports.DebugStack = DebugStack$1;\n  var EACH_IN_REFERENCE = (0, _utils.symbol)('EACH_IN');\n\n  var EachInReference =\n  /*#__PURE__*/\n  function () {\n    function EachInReference(inner) {\n      this.inner = inner;\n      this.tag = inner.tag;\n      this[EACH_IN_REFERENCE] = true;\n    }\n\n    var _proto18 = EachInReference.prototype;\n\n    _proto18.value = function value() {\n      return this.inner.value();\n    };\n\n    _proto18.get = function get(key) {\n      return this.inner.get(key);\n    };\n\n    return EachInReference;\n  }();\n\n  function isEachIn(ref) {\n    return ref !== null && typeof ref === 'object' && ref[EACH_IN_REFERENCE];\n  }\n\n  function eachIn(_vm, args) {\n    return new EachInReference(args.positional.at(0));\n  }\n\n  var ITERATOR_KEY_GUID = 'be277757-bbbe-4620-9fcb-213ef433cca2';\n\n  function _iterableFor(ref, keyPath) {\n    if (isEachIn(ref)) {\n      return new EachInIterable(ref, keyPath || '@key');\n    } else {\n      return new EachIterable(ref, keyPath || '@identity');\n    }\n  }\n\n  var BoundedIterator =\n  /*#__PURE__*/\n  function () {\n    function BoundedIterator(length, keyFor) {\n      this.length = length;\n      this.keyFor = keyFor;\n      this.position = 0;\n    }\n\n    var _proto19 = BoundedIterator.prototype;\n\n    _proto19.isEmpty = function isEmpty() {\n      return false;\n    };\n\n    _proto19.memoFor = function memoFor(position) {\n      return position;\n    };\n\n    _proto19.next = function next() {\n      var length = this.length,\n          keyFor = this.keyFor,\n          position = this.position;\n\n      if (position >= length) {\n        return null;\n      }\n\n      var value = this.valueFor(position);\n      var memo = this.memoFor(position);\n      var key = keyFor(value, memo, position);\n      this.position++;\n      return {\n        key: key,\n        value: value,\n        memo: memo\n      };\n    };\n\n    return BoundedIterator;\n  }();\n\n  var ArrayIterator =\n  /*#__PURE__*/\n  function (_BoundedIterator) {\n    (0, _emberBabel.inheritsLoose)(ArrayIterator, _BoundedIterator);\n\n    function ArrayIterator(array, length, keyFor) {\n      var _this12;\n\n      _this12 = _BoundedIterator.call(this, length, keyFor) || this;\n      _this12.array = array;\n      return _this12;\n    }\n\n    ArrayIterator.from = function from(array, keyFor) {\n      var length = array.length;\n\n      if (length === 0) {\n        return EMPTY_ITERATOR;\n      } else {\n        return new this(array, length, keyFor);\n      }\n    };\n\n    ArrayIterator.fromForEachable = function fromForEachable(object, keyFor) {\n      var array = [];\n      object.forEach(function (item) {\n        return array.push(item);\n      });\n      return this.from(array, keyFor);\n    };\n\n    var _proto20 = ArrayIterator.prototype;\n\n    _proto20.valueFor = function valueFor(position) {\n      return this.array[position];\n    };\n\n    return ArrayIterator;\n  }(BoundedIterator);\n\n  var EmberArrayIterator =\n  /*#__PURE__*/\n  function (_BoundedIterator2) {\n    (0, _emberBabel.inheritsLoose)(EmberArrayIterator, _BoundedIterator2);\n\n    function EmberArrayIterator(array, length, keyFor) {\n      var _this13;\n\n      _this13 = _BoundedIterator2.call(this, length, keyFor) || this;\n      _this13.array = array;\n      return _this13;\n    }\n\n    EmberArrayIterator.from = function from(array, keyFor) {\n      var length = array.length;\n\n      if (length === 0) {\n        return EMPTY_ITERATOR;\n      } else {\n        return new this(array, length, keyFor);\n      }\n    };\n\n    var _proto21 = EmberArrayIterator.prototype;\n\n    _proto21.valueFor = function valueFor(position) {\n      return (0, _metal.objectAt)(this.array, position);\n    };\n\n    return EmberArrayIterator;\n  }(BoundedIterator);\n\n  var ObjectIterator =\n  /*#__PURE__*/\n  function (_BoundedIterator3) {\n    (0, _emberBabel.inheritsLoose)(ObjectIterator, _BoundedIterator3);\n\n    function ObjectIterator(keys, values, length, keyFor) {\n      var _this14;\n\n      _this14 = _BoundedIterator3.call(this, length, keyFor) || this;\n      _this14.keys = keys;\n      _this14.values = values;\n      return _this14;\n    }\n\n    ObjectIterator.fromIndexable = function fromIndexable(obj, keyFor) {\n      var keys = Object.keys(obj);\n      var length = keys.length;\n\n      if (length === 0) {\n        return EMPTY_ITERATOR;\n      } else {\n        var values = [];\n\n        for (var i = 0; i < length; i++) {\n          values.push((0, _metal.get)(obj, keys[i]));\n        }\n\n        return new this(keys, values, length, keyFor);\n      }\n    };\n\n    ObjectIterator.fromForEachable = function fromForEachable(obj, keyFor) {\n      var _arguments = arguments;\n      var keys = [];\n      var values = [];\n      var length = 0;\n      var isMapLike = false;\n      obj.forEach(function (value, key) {\n        isMapLike = isMapLike || _arguments.length >= 2;\n\n        if (isMapLike) {\n          keys.push(key);\n        }\n\n        values.push(value);\n        length++;\n      });\n\n      if (length === 0) {\n        return EMPTY_ITERATOR;\n      } else if (isMapLike) {\n        return new this(keys, values, length, keyFor);\n      } else {\n        return new ArrayIterator(values, length, keyFor);\n      }\n    };\n\n    var _proto22 = ObjectIterator.prototype;\n\n    _proto22.valueFor = function valueFor(position) {\n      return this.values[position];\n    };\n\n    _proto22.memoFor = function memoFor(position) {\n      return this.keys[position];\n    };\n\n    return ObjectIterator;\n  }(BoundedIterator);\n\n  var NativeIterator =\n  /*#__PURE__*/\n  function () {\n    function NativeIterator(iterable, result, keyFor) {\n      this.iterable = iterable;\n      this.result = result;\n      this.keyFor = keyFor;\n      this.position = 0;\n    }\n\n    NativeIterator.from = function from(iterable, keyFor) {\n      var iterator = iterable[Symbol.iterator]();\n      var result = iterator.next();\n      var value = result.value,\n          done = result.done;\n\n      if (done) {\n        return EMPTY_ITERATOR;\n      } else if (Array.isArray(value) && value.length === 2) {\n        return new this(iterator, result, keyFor);\n      } else {\n        return new ArrayLikeNativeIterator(iterator, result, keyFor);\n      }\n    };\n\n    var _proto23 = NativeIterator.prototype;\n\n    _proto23.isEmpty = function isEmpty() {\n      return false;\n    };\n\n    _proto23.next = function next() {\n      var iterable = this.iterable,\n          result = this.result,\n          position = this.position,\n          keyFor = this.keyFor;\n\n      if (result.done) {\n        return null;\n      }\n\n      var value = this.valueFor(result, position);\n      var memo = this.memoFor(result, position);\n      var key = keyFor(value, memo, position);\n      this.position++;\n      this.result = iterable.next();\n      return {\n        key: key,\n        value: value,\n        memo: memo\n      };\n    };\n\n    return NativeIterator;\n  }();\n\n  var ArrayLikeNativeIterator =\n  /*#__PURE__*/\n  function (_NativeIterator) {\n    (0, _emberBabel.inheritsLoose)(ArrayLikeNativeIterator, _NativeIterator);\n\n    function ArrayLikeNativeIterator() {\n      return _NativeIterator.apply(this, arguments) || this;\n    }\n\n    var _proto24 = ArrayLikeNativeIterator.prototype;\n\n    _proto24.valueFor = function valueFor(result) {\n      return result.value;\n    };\n\n    _proto24.memoFor = function memoFor(_result, position) {\n      return position;\n    };\n\n    return ArrayLikeNativeIterator;\n  }(NativeIterator);\n\n  var MapLikeNativeIterator =\n  /*#__PURE__*/\n  function (_NativeIterator2) {\n    (0, _emberBabel.inheritsLoose)(MapLikeNativeIterator, _NativeIterator2);\n\n    function MapLikeNativeIterator() {\n      return _NativeIterator2.apply(this, arguments) || this;\n    }\n\n    var _proto25 = MapLikeNativeIterator.prototype;\n\n    _proto25.valueFor = function valueFor(result) {\n      return result.value[1];\n    };\n\n    _proto25.memoFor = function memoFor(result) {\n      return result.value[0];\n    };\n\n    return MapLikeNativeIterator;\n  }(NativeIterator);\n\n  var EMPTY_ITERATOR = {\n    isEmpty: function () {\n      return true;\n    },\n    next: function () {\n      true && !false && (0, _debug.assert)('Cannot call next() on an empty iterator');\n      return null;\n    }\n  };\n\n  var EachInIterable =\n  /*#__PURE__*/\n  function () {\n    function EachInIterable(ref, keyPath) {\n      this.ref = ref;\n      this.keyPath = keyPath;\n      this.valueTag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n      this.tag = (0, _reference.combine)([ref.tag, this.valueTag]);\n    }\n\n    var _proto26 = EachInIterable.prototype;\n\n    _proto26.iterate = function iterate() {\n      var ref = this.ref,\n          valueTag = this.valueTag;\n      var iterable = ref.value();\n      var tag = (0, _metal.tagFor)(iterable);\n\n      if ((0, _utils.isProxy)(iterable)) {\n        // this is because the each-in doesn't actually get(proxy, 'key') but bypasses it\n        // and the proxy's tag is lazy updated on access\n        iterable = (0, _runtime._contentFor)(iterable);\n      }\n\n      valueTag.inner.update(tag);\n\n      if (!isIndexable(iterable)) {\n        return EMPTY_ITERATOR;\n      }\n\n      if (Array.isArray(iterable) || (0, _utils.isEmberArray)(iterable)) {\n        return ObjectIterator.fromIndexable(iterable, this.keyFor(true));\n      } else if (_utils.HAS_NATIVE_SYMBOL && isNativeIterable(iterable)) {\n        return MapLikeNativeIterator.from(iterable, this.keyFor());\n      } else if (hasForEach(iterable)) {\n        return ObjectIterator.fromForEachable(iterable, this.keyFor());\n      } else {\n        return ObjectIterator.fromIndexable(iterable, this.keyFor(true));\n      }\n    };\n\n    _proto26.valueReferenceFor = function valueReferenceFor(item) {\n      return new UpdatableReference(item.value);\n    };\n\n    _proto26.updateValueReference = function updateValueReference(ref, item) {\n      ref.update(item.value);\n    };\n\n    _proto26.memoReferenceFor = function memoReferenceFor(item) {\n      return new UpdatableReference(item.memo);\n    };\n\n    _proto26.updateMemoReference = function updateMemoReference(ref, item) {\n      ref.update(item.memo);\n    };\n\n    _proto26.keyFor = function keyFor() {\n      var hasUniqueKeys = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n      var keyPath = this.keyPath;\n\n      switch (keyPath) {\n        case '@key':\n          return hasUniqueKeys ? ObjectKey : Unique(MapKey);\n\n        case '@index':\n          return Index;\n\n        case '@identity':\n          return Unique(Identity);\n\n        default:\n          true && !(keyPath[0] !== '@') && (0, _debug.assert)(\"Invalid key: \" + keyPath, keyPath[0] !== '@');\n          return Unique(KeyPath(keyPath));\n      }\n    };\n\n    return EachInIterable;\n  }();\n\n  var EachIterable =\n  /*#__PURE__*/\n  function () {\n    function EachIterable(ref, keyPath) {\n      this.ref = ref;\n      this.keyPath = keyPath;\n      this.valueTag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n      this.tag = (0, _reference.combine)([ref.tag, this.valueTag]);\n    }\n\n    var _proto27 = EachIterable.prototype;\n\n    _proto27.iterate = function iterate() {\n      var ref = this.ref,\n          valueTag = this.valueTag;\n      var iterable = ref.value();\n      valueTag.inner.update((0, _metal.tagForProperty)(iterable, '[]'));\n\n      if (iterable === null || typeof iterable !== 'object') {\n        return EMPTY_ITERATOR;\n      }\n\n      var keyFor = this.keyFor();\n\n      if (Array.isArray(iterable)) {\n        return ArrayIterator.from(iterable, keyFor);\n      } else if ((0, _utils.isEmberArray)(iterable)) {\n        return EmberArrayIterator.from(iterable, keyFor);\n      } else if (_utils.HAS_NATIVE_SYMBOL && isNativeIterable(iterable)) {\n        return ArrayLikeNativeIterator.from(iterable, keyFor);\n      } else if (hasForEach(iterable)) {\n        return ArrayIterator.fromForEachable(iterable, keyFor);\n      } else {\n        return EMPTY_ITERATOR;\n      }\n    };\n\n    _proto27.valueReferenceFor = function valueReferenceFor(item) {\n      return new UpdatableReference(item.value);\n    };\n\n    _proto27.updateValueReference = function updateValueReference(ref, item) {\n      ref.update(item.value);\n    };\n\n    _proto27.memoReferenceFor = function memoReferenceFor(item) {\n      return new UpdatableReference(item.memo);\n    };\n\n    _proto27.updateMemoReference = function updateMemoReference(ref, item) {\n      ref.update(item.memo);\n    };\n\n    _proto27.keyFor = function keyFor() {\n      var keyPath = this.keyPath;\n\n      switch (keyPath) {\n        case '@index':\n          return Index;\n\n        case '@identity':\n          return Unique(Identity);\n\n        default:\n          true && !(keyPath[0] !== '@') && (0, _debug.assert)(\"Invalid key: \" + keyPath, keyPath[0] !== '@');\n          return Unique(KeyPath(keyPath));\n      }\n    };\n\n    return EachIterable;\n  }();\n\n  function hasForEach(value) {\n    return typeof value['forEach'] === 'function';\n  }\n\n  function isNativeIterable(value) {\n    return typeof value[Symbol.iterator] === 'function';\n  }\n\n  function isIndexable(value) {\n    return value !== null && (typeof value === 'object' || typeof value === 'function');\n  } // Position in an array is guarenteed to be unique\n\n\n  function Index(_value, _memo, position) {\n    return String(position);\n  } // Object.keys(...) is guarenteed to be strings and unique\n\n\n  function ObjectKey(_value, memo) {\n    return memo;\n  } // Map keys can be any objects\n\n\n  function MapKey(_value, memo) {\n    return Identity(memo);\n  }\n\n  function Identity(value) {\n    switch (typeof value) {\n      case 'string':\n        return value;\n\n      case 'number':\n        return String(value);\n\n      default:\n        return (0, _utils.guidFor)(value);\n    }\n  }\n\n  function KeyPath(keyPath) {\n    return function (value) {\n      return String((0, _metal.get)(value, keyPath));\n    };\n  }\n\n  function Unique(func) {\n    var seen = {};\n    return function (value, memo, position) {\n      var key = func(value, memo, position);\n      var count = seen[key];\n\n      if (count === undefined) {\n        seen[key] = 0;\n        return key;\n      } else {\n        seen[key] = ++count;\n        return \"\" + key + ITERATOR_KEY_GUID + count;\n      }\n    };\n  }\n  /**\n  @module @ember/template\n  */\n\n\n  var SafeString =\n  /*#__PURE__*/\n  function () {\n    function SafeString(string) {\n      this.string = string;\n    }\n\n    var _proto28 = SafeString.prototype;\n\n    _proto28.toString = function toString() {\n      return \"\" + this.string;\n    };\n\n    _proto28.toHTML = function toHTML() {\n      return this.toString();\n    };\n\n    return SafeString;\n  }();\n\n  _exports.SafeString = SafeString;\n  var escape = {\n    '&': '&amp;',\n    '<': '&lt;',\n    '>': '&gt;',\n    '\"': '&quot;',\n    \"'\": '&#x27;',\n    '`': '&#x60;',\n    '=': '&#x3D;'\n  };\n  var possible = /[&<>\"'`=]/;\n  var badChars = /[&<>\"'`=]/g;\n\n  function escapeChar(chr) {\n    return escape[chr];\n  }\n\n  function escapeExpression(string) {\n    if (typeof string !== 'string') {\n      // don't escape SafeStrings, since they're already safe\n      if (string && string.toHTML) {\n        return string.toHTML();\n      } else if (string === null || string === undefined) {\n        return '';\n      } else if (!string) {\n        return String(string);\n      } // Force a string conversion as this will be done by the append regardless and\n      // the regex test will do this transparently behind the scenes, causing issues if\n      // an object's to string has escaped characters in it.\n\n\n      string = String(string);\n    }\n\n    if (!possible.test(string)) {\n      return string;\n    }\n\n    return string.replace(badChars, escapeChar);\n  }\n  /**\n    Mark a string as safe for unescaped output with Ember templates. If you\n    return HTML from a helper, use this function to\n    ensure Ember's rendering layer does not escape the HTML.\n  \n    ```javascript\n    import { htmlSafe } from '@ember/template';\n  \n    htmlSafe('<div>someString</div>')\n    ```\n  \n    @method htmlSafe\n    @for @ember/template\n    @static\n    @return {SafeString} A string that will not be HTML escaped by Handlebars.\n    @public\n  */\n\n\n  function htmlSafe(str) {\n    if (str === null || str === undefined) {\n      str = '';\n    } else if (typeof str !== 'string') {\n      str = String(str);\n    }\n\n    return new SafeString(str);\n  }\n  /**\n    Detects if a string was decorated using `htmlSafe`.\n  \n    ```javascript\n    import { htmlSafe, isHTMLSafe } from '@ember/template';\n  \n    var plainString = 'plain string',\n        safeString = htmlSafe('<div>someValue</div>');\n  \n    isHTMLSafe(plainString); // false\n    isHTMLSafe(safeString);  // true\n    ```\n  \n    @method isHTMLSafe\n    @for @ember/template\n    @static\n    @return {Boolean} `true` if the string was decorated with `htmlSafe`, `false` otherwise.\n    @public\n  */\n\n\n  function isHTMLSafe(str) {\n    return str !== null && typeof str === 'object' && typeof str.toHTML === 'function';\n  }\n  /* globals module, URL */\n\n\n  var nodeURL;\n  var parsingNode;\n\n  function installProtocolForURL(environment) {\n    var protocol;\n\n    if (_browserEnvironment.hasDOM) {\n      protocol = browserProtocolForURL.call(environment, 'foobar:baz');\n    } // Test to see if our DOM implementation parses\n    // and normalizes URLs.\n\n\n    if (protocol === 'foobar:') {\n      // Swap in the method that doesn't do this test now that\n      // we know it works.\n      environment.protocolForURL = browserProtocolForURL;\n    } else if (typeof URL === 'object') {\n      // URL globally provided, likely from FastBoot's sandbox\n      nodeURL = URL;\n      environment.protocolForURL = nodeProtocolForURL;\n    } else if (typeof _nodeModule.require === 'function') {\n      // Otherwise, we need to fall back to our own URL parsing.\n      // Global `require` is shadowed by Ember's loader so we have to use the fully\n      // qualified `module.require`.\n      // tslint:disable-next-line:no-require-imports\n      nodeURL = (0, _nodeModule.require)(\"url\");\n      environment.protocolForURL = nodeProtocolForURL;\n    } else {\n      throw new Error('Could not find valid URL parsing mechanism for URL Sanitization');\n    }\n  }\n\n  function browserProtocolForURL(url) {\n    if (!parsingNode) {\n      parsingNode = document.createElement('a');\n    }\n\n    parsingNode.href = url;\n    return parsingNode.protocol;\n  }\n\n  function nodeProtocolForURL(url) {\n    var protocol = null;\n\n    if (typeof url === 'string') {\n      protocol = nodeURL.parse(url).protocol;\n    }\n\n    return protocol === null ? ':' : protocol;\n  }\n\n  var Environment$1 =\n  /*#__PURE__*/\n  function (_Environment) {\n    (0, _emberBabel.inheritsLoose)(Environment$1, _Environment);\n\n    function Environment$1(injections) {\n      var _this15;\n\n      _this15 = _Environment.call(this, injections) || this;\n      _this15.inTransaction = false;\n      _this15.owner = injections[_owner.OWNER];\n      _this15.isInteractive = _this15.owner.lookup('-environment:main').isInteractive; // can be removed once https://github.com/tildeio/glimmer/pull/305 lands\n\n      _this15.destroyedComponents = [];\n      installProtocolForURL((0, _emberBabel.assertThisInitialized)(_this15));\n\n      if (true\n      /* DEBUG */\n      ) {\n          _this15.debugStack = new DebugStack$1();\n        }\n\n      return _this15;\n    }\n\n    Environment$1.create = function create(options) {\n      return new this(options);\n    } // this gets clobbered by installPlatformSpecificProtocolForURL\n    // it really should just delegate to a platform specific injection\n    ;\n\n    var _proto29 = Environment$1.prototype;\n\n    _proto29.protocolForURL = function protocolForURL(s) {\n      return s;\n    };\n\n    _proto29.lookupComponent = function lookupComponent(name, meta) {\n      return (0, _views.lookupComponent)(meta.owner, name, meta);\n    };\n\n    _proto29.toConditionalReference = function toConditionalReference(reference) {\n      return ConditionalReference$1.create(reference);\n    };\n\n    _proto29.iterableFor = function iterableFor(ref, key) {\n      return _iterableFor(ref, key);\n    };\n\n    _proto29.scheduleInstallModifier = function scheduleInstallModifier(modifier, manager) {\n      if (this.isInteractive) {\n        _Environment.prototype.scheduleInstallModifier.call(this, modifier, manager);\n      }\n    };\n\n    _proto29.scheduleUpdateModifier = function scheduleUpdateModifier(modifier, manager) {\n      if (this.isInteractive) {\n        _Environment.prototype.scheduleUpdateModifier.call(this, modifier, manager);\n      }\n    };\n\n    _proto29.didDestroy = function didDestroy(destroyable) {\n      destroyable.destroy();\n    };\n\n    _proto29.begin = function begin() {\n      this.inTransaction = true;\n\n      _Environment.prototype.begin.call(this);\n    };\n\n    _proto29.commit = function commit() {\n      var destroyedComponents = this.destroyedComponents;\n      this.destroyedComponents = []; // components queued for destruction must be destroyed before firing\n      // `didCreate` to prevent errors when removing and adding a component\n      // with the same name (would throw an error when added to view registry)\n\n      for (var i = 0; i < destroyedComponents.length; i++) {\n        destroyedComponents[i].destroy();\n      }\n\n      try {\n        _Environment.prototype.commit.call(this);\n      } finally {\n        this.inTransaction = false;\n      }\n    };\n\n    return Environment$1;\n  }(_runtime2.Environment);\n\n  _exports.Environment = Environment$1;\n\n  if (true\n  /* DEBUG */\n  ) {\n      var StyleAttributeManager =\n      /*#__PURE__*/\n      function (_SimpleDynamicAttribu) {\n        (0, _emberBabel.inheritsLoose)(StyleAttributeManager, _SimpleDynamicAttribu);\n\n        function StyleAttributeManager() {\n          return _SimpleDynamicAttribu.apply(this, arguments) || this;\n        }\n\n        var _proto30 = StyleAttributeManager.prototype;\n\n        _proto30.set = function set(dom, value, env) {\n          true && (0, _debug.warn)((0, _views.constructStyleDeprecationMessage)(value), function () {\n            if (value === null || value === undefined || isHTMLSafe(value)) {\n              return true;\n            }\n\n            return false;\n          }(), {\n            id: 'ember-htmlbars.style-xss-warning'\n          });\n\n          _SimpleDynamicAttribu.prototype.set.call(this, dom, value, env);\n        };\n\n        _proto30.update = function update(value, env) {\n          true && (0, _debug.warn)((0, _views.constructStyleDeprecationMessage)(value), function () {\n            if (value === null || value === undefined || isHTMLSafe(value)) {\n              return true;\n            }\n\n            return false;\n          }(), {\n            id: 'ember-htmlbars.style-xss-warning'\n          });\n\n          _SimpleDynamicAttribu.prototype.update.call(this, value, env);\n        };\n\n        return StyleAttributeManager;\n      }(_runtime2.SimpleDynamicAttribute);\n\n      Environment$1.prototype.attributeFor = function (element, attribute, isTrusting, namespace) {\n        if (attribute === 'style' && !isTrusting) {\n          return new StyleAttributeManager({\n            element: element,\n            name: attribute,\n            namespace: namespace\n          });\n        }\n\n        return _runtime2.Environment.prototype.attributeFor.call(this, element, attribute, isTrusting, namespace);\n      };\n    } // implements the ComponentManager interface as defined in glimmer:\n  // tslint:disable-next-line:max-line-length\n  // https://github.com/glimmerjs/glimmer-vm/blob/v0.24.0-beta.4/packages/%40glimmer/runtime/lib/component/interfaces.ts#L21\n\n\n  var AbstractManager =\n  /*#__PURE__*/\n  function () {\n    function AbstractManager() {\n      this.debugStack = undefined;\n    }\n\n    var _proto31 = AbstractManager.prototype;\n\n    _proto31.prepareArgs = function prepareArgs(_state, _args) {\n      return null;\n    };\n\n    _proto31.didCreateElement = function didCreateElement(_component, _element, _operations) {} // noop\n    // inheritors should also call `this.debugStack.pop()` to\n    // ensure the rerendering assertion messages are properly\n    // maintained\n    ;\n\n    _proto31.didRenderLayout = function didRenderLayout(_component, _bounds) {// noop\n    };\n\n    _proto31.didCreate = function didCreate(_bucket) {} // noop\n    // inheritors should also call `this._pushToDebugStack`\n    // to ensure the rerendering assertion messages are\n    // properly maintained\n    ;\n\n    _proto31.update = function update(_bucket, _dynamicScope) {} // noop\n    // inheritors should also call `this.debugStack.pop()` to\n    // ensure the rerendering assertion messages are properly\n    // maintained\n    ;\n\n    _proto31.didUpdateLayout = function didUpdateLayout(_bucket, _bounds) {// noop\n    };\n\n    _proto31.didUpdate = function didUpdate(_bucket) {// noop\n    };\n\n    return AbstractManager;\n  }();\n\n  _exports.AbstractComponentManager = AbstractManager;\n\n  if (true\n  /* DEBUG */\n  ) {\n      AbstractManager.prototype._pushToDebugStack = function (name, environment) {\n        this.debugStack = environment.debugStack;\n        this.debugStack.push(name);\n      };\n\n      AbstractManager.prototype._pushEngineToDebugStack = function (name, environment) {\n        this.debugStack = environment.debugStack;\n        this.debugStack.pushEngine(name);\n      };\n    }\n\n  function instrumentationPayload(def) {\n    return {\n      object: def.name + \":\" + def.outlet\n    };\n  }\n\n  var CAPABILITIES = {\n    dynamicLayout: false,\n    dynamicTag: false,\n    prepareArgs: false,\n    createArgs: false,\n    attributeHook: false,\n    elementHook: false,\n    createCaller: true,\n    dynamicScope: true,\n    updateHook: false,\n    createInstance: true\n  };\n\n  var OutletComponentManager =\n  /*#__PURE__*/\n  function (_AbstractManager) {\n    (0, _emberBabel.inheritsLoose)(OutletComponentManager, _AbstractManager);\n\n    function OutletComponentManager() {\n      return _AbstractManager.apply(this, arguments) || this;\n    }\n\n    var _proto32 = OutletComponentManager.prototype;\n\n    _proto32.create = function create(environment, definition, _args, dynamicScope) {\n      if (true\n      /* DEBUG */\n      ) {\n          this._pushToDebugStack(\"template:\" + definition.template.referrer.moduleName, environment);\n        }\n\n      dynamicScope.outletState = definition.ref;\n      var controller = definition.controller;\n      var self = controller === undefined ? _runtime2.UNDEFINED_REFERENCE : new RootReference(controller);\n      return {\n        self: self,\n        finalize: (0, _instrumentation._instrumentStart)('render.outlet', instrumentationPayload, definition)\n      };\n    };\n\n    _proto32.getLayout = function getLayout(_ref, _resolver) {\n      var template = _ref.template; // The router has already resolved the template\n\n      var layout = template.asLayout();\n      return {\n        handle: layout.compile(),\n        symbolTable: layout.symbolTable\n      };\n    };\n\n    _proto32.getCapabilities = function getCapabilities() {\n      return CAPABILITIES;\n    };\n\n    _proto32.getSelf = function getSelf(_ref2) {\n      var self = _ref2.self;\n      return self;\n    };\n\n    _proto32.getTag = function getTag() {\n      // an outlet has no hooks\n      return _reference.CONSTANT_TAG;\n    };\n\n    _proto32.didRenderLayout = function didRenderLayout(state) {\n      state.finalize();\n\n      if (true\n      /* DEBUG */\n      ) {\n          this.debugStack.pop();\n        }\n    };\n\n    _proto32.getDestructor = function getDestructor() {\n      return null;\n    };\n\n    return OutletComponentManager;\n  }(AbstractManager);\n\n  var OUTLET_MANAGER = new OutletComponentManager();\n\n  var OutletComponentDefinition = function OutletComponentDefinition(state) {\n    var manager = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : OUTLET_MANAGER;\n    this.state = state;\n    this.manager = manager;\n  };\n\n  function createRootOutlet(outletView) {\n    if (_environment2.ENV._APPLICATION_TEMPLATE_WRAPPER) {\n      var WRAPPED_CAPABILITIES = (0, _polyfills.assign)({}, CAPABILITIES, {\n        dynamicTag: true,\n        elementHook: true\n      });\n\n      var WrappedOutletComponentManager =\n      /*#__PURE__*/\n      function (_OutletComponentManag) {\n        (0, _emberBabel.inheritsLoose)(WrappedOutletComponentManager, _OutletComponentManag);\n\n        function WrappedOutletComponentManager() {\n          return _OutletComponentManag.apply(this, arguments) || this;\n        }\n\n        var _proto33 = WrappedOutletComponentManager.prototype;\n\n        _proto33.getTagName = function getTagName(_component) {\n          return 'div';\n        };\n\n        _proto33.getLayout = function getLayout(state) {\n          // The router has already resolved the template\n          var template = state.template;\n          var layout = template.asWrappedLayout();\n          return {\n            handle: layout.compile(),\n            symbolTable: layout.symbolTable\n          };\n        };\n\n        _proto33.getCapabilities = function getCapabilities() {\n          return WRAPPED_CAPABILITIES;\n        };\n\n        _proto33.didCreateElement = function didCreateElement(component, element, _operations) {\n          // to add GUID id and class\n          element.setAttribute('class', 'ember-view');\n          element.setAttribute('id', (0, _utils.guidFor)(component));\n        };\n\n        return WrappedOutletComponentManager;\n      }(OutletComponentManager);\n\n      var WRAPPED_OUTLET_MANAGER = new WrappedOutletComponentManager();\n      return new OutletComponentDefinition(outletView.state, WRAPPED_OUTLET_MANAGER);\n    } else {\n      return new OutletComponentDefinition(outletView.state);\n    }\n  } // tslint:disable-next-line:no-empty\n\n\n  function NOOP() {}\n  /**\n    @module ember\n  */\n\n  /**\n    Represents the internal state of the component.\n  \n    @class ComponentStateBucket\n    @private\n  */\n\n\n  var ComponentStateBucket =\n  /*#__PURE__*/\n  function () {\n    function ComponentStateBucket(environment, component, args, finalizer, hasWrappedElement) {\n      this.environment = environment;\n      this.component = component;\n      this.args = args;\n      this.finalizer = finalizer;\n      this.hasWrappedElement = hasWrappedElement;\n      this.classRef = null;\n      this.classRef = null;\n      this.argsRevision = args === null ? 0 : args.tag.value();\n    }\n\n    var _proto34 = ComponentStateBucket.prototype;\n\n    _proto34.destroy = function destroy() {\n      var component = this.component,\n          environment = this.environment;\n\n      if (environment.isInteractive) {\n        component.trigger('willDestroyElement');\n        component.trigger('willClearRender');\n        var element = (0, _views.getViewElement)(component);\n\n        if (element) {\n          (0, _views.clearElementView)(element);\n          (0, _views.clearViewElement)(component);\n        }\n      }\n\n      environment.destroyedComponents.push(component);\n    };\n\n    _proto34.finalize = function finalize() {\n      var finalizer = this.finalizer;\n      finalizer();\n      this.finalizer = NOOP;\n    };\n\n    return ComponentStateBucket;\n  }();\n\n  function referenceForKey(component, key) {\n    return component[ROOT_REF].get(key);\n  }\n\n  function referenceForParts(component, parts) {\n    var isAttrs = parts[0] === 'attrs'; // TODO deprecate this\n\n    if (isAttrs) {\n      parts.shift();\n\n      if (parts.length === 1) {\n        return referenceForKey(component, parts[0]);\n      }\n    }\n\n    return referenceFromParts(component[ROOT_REF], parts);\n  } // TODO we should probably do this transform at build time\n\n\n  function wrapComponentClassAttribute(hash) {\n    if (hash === null) {\n      return;\n    }\n\n    var keys = hash[0],\n        values = hash[1];\n    var index = keys === null ? -1 : keys.indexOf('class');\n\n    if (index !== -1) {\n      var value = values[index];\n\n      if (!Array.isArray(value)) {\n        return;\n      }\n\n      var type = value[0];\n\n      if (type === _wireFormat.Ops.Get || type === _wireFormat.Ops.MaybeLocal) {\n        var path = value[value.length - 1];\n        var propName = path[path.length - 1];\n        values[index] = [_wireFormat.Ops.Helper, '-class', [value, propName], null];\n      }\n    }\n  }\n\n  var AttributeBinding = {\n    parse: function (microsyntax) {\n      var colonIndex = microsyntax.indexOf(':');\n\n      if (colonIndex === -1) {\n        true && !(microsyntax !== 'class') && (0, _debug.assert)('You cannot use class as an attributeBinding, use classNameBindings instead.', microsyntax !== 'class');\n        return [microsyntax, microsyntax, true];\n      } else {\n        var prop = microsyntax.substring(0, colonIndex);\n        var attribute = microsyntax.substring(colonIndex + 1);\n        true && !(attribute !== 'class') && (0, _debug.assert)('You cannot use class as an attributeBinding, use classNameBindings instead.', attribute !== 'class');\n        return [prop, attribute, false];\n      }\n    },\n    install: function (_element, component, parsed, operations) {\n      var prop = parsed[0],\n          attribute = parsed[1],\n          isSimple = parsed[2];\n\n      if (attribute === 'id') {\n        var elementId = (0, _metal.get)(component, prop);\n\n        if (elementId === undefined || elementId === null) {\n          elementId = component.elementId;\n        }\n\n        elementId = _runtime2.PrimitiveReference.create(elementId);\n        operations.setAttribute('id', elementId, true, null); // operations.addStaticAttribute(element, 'id', elementId);\n\n        return;\n      }\n\n      var isPath = prop.indexOf('.') > -1;\n      var reference = isPath ? referenceForParts(component, prop.split('.')) : referenceForKey(component, prop);\n      true && !!(isSimple && isPath) && (0, _debug.assert)(\"Illegal attributeBinding: '\" + prop + \"' is not a valid attribute name.\", !(isSimple && isPath));\n\n      if (attribute === 'style') {\n        reference = new StyleBindingReference(reference, referenceForKey(component, 'isVisible'));\n      }\n\n      operations.setAttribute(attribute, reference, false, null); // operations.addDynamicAttribute(element, attribute, reference, false);\n    }\n  };\n  var DISPLAY_NONE = 'display: none;';\n  var SAFE_DISPLAY_NONE = htmlSafe(DISPLAY_NONE);\n\n  var StyleBindingReference =\n  /*#__PURE__*/\n  function (_CachedReference) {\n    (0, _emberBabel.inheritsLoose)(StyleBindingReference, _CachedReference);\n\n    function StyleBindingReference(inner, isVisible) {\n      var _this16;\n\n      _this16 = _CachedReference.call(this) || this;\n      _this16.inner = inner;\n      _this16.isVisible = isVisible;\n      _this16.tag = (0, _reference.combine)([inner.tag, isVisible.tag]);\n      return _this16;\n    }\n\n    var _proto35 = StyleBindingReference.prototype;\n\n    _proto35.compute = function compute() {\n      var value = this.inner.value();\n      var isVisible = this.isVisible.value();\n\n      if (isVisible !== false) {\n        return value;\n      } else if (!value) {\n        return SAFE_DISPLAY_NONE;\n      } else {\n        var style = value + ' ' + DISPLAY_NONE;\n        return isHTMLSafe(value) ? htmlSafe(style) : style;\n      }\n    };\n\n    return StyleBindingReference;\n  }(_reference.CachedReference);\n\n  var IsVisibleBinding = {\n    install: function (_element, component, operations) {\n      operations.setAttribute('style', (0, _reference.map)(referenceForKey(component, 'isVisible'), this.mapStyleValue), false, null); // // the upstream type for addDynamicAttribute's `value` argument\n      // // appears to be incorrect. It is currently a Reference<string>, I\n      // // think it should be a Reference<string|null>.\n      // operations.addDynamicAttribute(element, 'style', ref as any as Reference<string>, false);\n    },\n    mapStyleValue: function (isVisible) {\n      return isVisible === false ? SAFE_DISPLAY_NONE : null;\n    }\n  };\n  var ClassNameBinding = {\n    install: function (_element, component, microsyntax, operations) {\n      var _microsyntax$split = microsyntax.split(':'),\n          prop = _microsyntax$split[0],\n          truthy = _microsyntax$split[1],\n          falsy = _microsyntax$split[2];\n\n      var isStatic = prop === '';\n\n      if (isStatic) {\n        operations.setAttribute('class', _runtime2.PrimitiveReference.create(truthy), true, null);\n      } else {\n        var isPath = prop.indexOf('.') > -1;\n        var parts = isPath ? prop.split('.') : [];\n        var value = isPath ? referenceForParts(component, parts) : referenceForKey(component, prop);\n        var ref;\n\n        if (truthy === undefined) {\n          ref = new SimpleClassNameBindingReference(value, isPath ? parts[parts.length - 1] : prop);\n        } else {\n          ref = new ColonClassNameBindingReference(value, truthy, falsy);\n        }\n\n        operations.setAttribute('class', ref, false, null); // // the upstream type for addDynamicAttribute's `value` argument\n        // // appears to be incorrect. It is currently a Reference<string>, I\n        // // think it should be a Reference<string|null>.\n        // operations.addDynamicAttribute(element, 'class', ref as any as Reference<string>, false);\n      }\n    }\n  };\n\n  var SimpleClassNameBindingReference =\n  /*#__PURE__*/\n  function (_CachedReference2) {\n    (0, _emberBabel.inheritsLoose)(SimpleClassNameBindingReference, _CachedReference2);\n\n    function SimpleClassNameBindingReference(inner, path) {\n      var _this17;\n\n      _this17 = _CachedReference2.call(this) || this;\n      _this17.inner = inner;\n      _this17.path = path;\n      _this17.tag = inner.tag;\n      _this17.inner = inner;\n      _this17.path = path;\n      _this17.dasherizedPath = null;\n      return _this17;\n    }\n\n    var _proto36 = SimpleClassNameBindingReference.prototype;\n\n    _proto36.compute = function compute() {\n      var value = this.inner.value();\n\n      if (value === true) {\n        var path = this.path,\n            dasherizedPath = this.dasherizedPath;\n        return dasherizedPath || (this.dasherizedPath = (0, _string.dasherize)(path));\n      } else if (value || value === 0) {\n        return String(value);\n      } else {\n        return null;\n      }\n    };\n\n    return SimpleClassNameBindingReference;\n  }(_reference.CachedReference);\n\n  var ColonClassNameBindingReference =\n  /*#__PURE__*/\n  function (_CachedReference3) {\n    (0, _emberBabel.inheritsLoose)(ColonClassNameBindingReference, _CachedReference3);\n\n    function ColonClassNameBindingReference(inner) {\n      var _this18;\n\n      var truthy = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n      var falsy = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n      _this18 = _CachedReference3.call(this) || this;\n      _this18.inner = inner;\n      _this18.truthy = truthy;\n      _this18.falsy = falsy;\n      _this18.tag = inner.tag;\n      return _this18;\n    }\n\n    var _proto37 = ColonClassNameBindingReference.prototype;\n\n    _proto37.compute = function compute() {\n      var inner = this.inner,\n          truthy = this.truthy,\n          falsy = this.falsy;\n      return inner.value() ? truthy : falsy;\n    };\n\n    return ColonClassNameBindingReference;\n  }(_reference.CachedReference); // ComponentArgs takes EvaluatedNamedArgs and converts them into the\n  // inputs needed by CurlyComponents (attrs and props, with mutable\n  // cells, etc).\n\n\n  function processComponentArgs(namedArgs) {\n    var keys = namedArgs.names;\n    var attrs = namedArgs.value();\n    var props = Object.create(null);\n    var args = Object.create(null);\n    props[ARGS] = args;\n\n    for (var i = 0; i < keys.length; i++) {\n      var name = keys[i];\n      var ref = namedArgs.get(name);\n      var value = attrs[name];\n\n      if (typeof value === 'function' && value[ACTION]) {\n        attrs[name] = value;\n      } else if (ref[UPDATE]) {\n        attrs[name] = new MutableCell(ref, value);\n      }\n\n      args[name] = ref;\n      props[name] = value;\n    }\n\n    props.attrs = attrs;\n    return props;\n  }\n\n  var REF = (0, _utils.symbol)('REF');\n\n  var MutableCell =\n  /*#__PURE__*/\n  function () {\n    function MutableCell(ref, value) {\n      this[_views.MUTABLE_CELL] = true;\n      this[REF] = ref;\n      this.value = value;\n    }\n\n    var _proto38 = MutableCell.prototype;\n\n    _proto38.update = function update(val) {\n      this[REF][UPDATE](val);\n    };\n\n    return MutableCell;\n  }();\n\n  function aliasIdToElementId(args, props) {\n    if (args.named.has('id')) {\n      // tslint:disable-next-line:max-line-length\n      true && !!args.named.has('elementId') && (0, _debug.assert)(\"You cannot invoke a component with both 'id' and 'elementId' at the same time.\", !args.named.has('elementId'));\n      props.elementId = props.id;\n    }\n  }\n\n  function isTemplateFactory(template) {\n    return typeof template.create === 'function';\n  } // We must traverse the attributeBindings in reverse keeping track of\n  // what has already been applied. This is essentially refining the concatenated\n  // properties applying right to left.\n\n\n  function applyAttributeBindings(element, attributeBindings, component, operations) {\n    var seen = [];\n    var i = attributeBindings.length - 1;\n\n    while (i !== -1) {\n      var binding = attributeBindings[i];\n      var parsed = AttributeBinding.parse(binding);\n      var attribute = parsed[1];\n\n      if (seen.indexOf(attribute) === -1) {\n        seen.push(attribute);\n        AttributeBinding.install(element, component, parsed, operations);\n      }\n\n      i--;\n    }\n\n    if (seen.indexOf('id') === -1) {\n      var id = component.elementId ? component.elementId : (0, _utils.guidFor)(component);\n      operations.setAttribute('id', _runtime2.PrimitiveReference.create(id), false, null);\n    }\n\n    if (seen.indexOf('style') === -1) {\n      IsVisibleBinding.install(element, component, operations);\n    }\n  }\n\n  var DEFAULT_LAYOUT = (0, _container.privatize)(_templateObject());\n  var EMPTY_POSITIONAL_ARGS = [];\n  (0, _debug.debugFreeze)(EMPTY_POSITIONAL_ARGS);\n\n  var CurlyComponentManager =\n  /*#__PURE__*/\n  function (_AbstractManager2) {\n    (0, _emberBabel.inheritsLoose)(CurlyComponentManager, _AbstractManager2);\n\n    function CurlyComponentManager() {\n      return _AbstractManager2.apply(this, arguments) || this;\n    }\n\n    var _proto39 = CurlyComponentManager.prototype;\n\n    _proto39.getLayout = function getLayout(state, _resolver) {\n      return {\n        // TODO fix\n        handle: state.handle,\n        symbolTable: state.symbolTable\n      };\n    };\n\n    _proto39.templateFor = function templateFor(component, resolver) {\n      var layout = component.layout,\n          layoutName = component.layoutName;\n      var owner = (0, _owner.getOwner)(component);\n\n      if (layout !== undefined) {\n        // This needs to be cached by template.id\n        if (isTemplateFactory(layout)) {\n          return resolver.createTemplate(layout, (0, _owner.getOwner)(component));\n        } else {\n          // we were provided an instance already\n          return layout;\n        }\n      }\n\n      if (layoutName) {\n        var _template = owner.lookup('template:' + layoutName);\n\n        if (_template) {\n          return _template;\n        }\n      }\n\n      return owner.lookup(DEFAULT_LAYOUT);\n    };\n\n    _proto39.getDynamicLayout = function getDynamicLayout(_ref3, resolver) {\n      var component = _ref3.component;\n      var template = this.templateFor(component, resolver);\n      var layout = template.asWrappedLayout();\n      return {\n        handle: layout.compile(),\n        symbolTable: layout.symbolTable\n      };\n    };\n\n    _proto39.getTagName = function getTagName(state) {\n      var component = state.component,\n          hasWrappedElement = state.hasWrappedElement;\n\n      if (!hasWrappedElement) {\n        return null;\n      }\n\n      return component && component.tagName || 'div';\n    };\n\n    _proto39.getCapabilities = function getCapabilities(state) {\n      return state.capabilities;\n    };\n\n    _proto39.prepareArgs = function prepareArgs(state, args) {\n      if (args.named.has('__ARGS__')) {\n        var __args__ = args.named.get('__ARGS__').value();\n\n        var prepared = {\n          positional: EMPTY_POSITIONAL_ARGS,\n          named: (0, _polyfills.assign)({}, args.named.capture().map, __args__)\n        };\n\n        if (true\n        /* DEBUG */\n        ) {\n            delete prepared.named.__ARGS__;\n          }\n\n        return prepared;\n      }\n\n      var positionalParams = state.ComponentClass.class.positionalParams; // early exits\n\n      if (positionalParams === undefined || positionalParams === null || args.positional.length === 0) {\n        return null;\n      }\n\n      var named;\n\n      if (typeof positionalParams === 'string') {\n        var _named;\n\n        true && !!args.named.has(positionalParams) && (0, _debug.assert)(\"You cannot specify positional parameters and the hash argument `\" + positionalParams + \"`.\", !args.named.has(positionalParams));\n        named = (_named = {}, _named[positionalParams] = args.positional.capture(), _named);\n        (0, _polyfills.assign)(named, args.named.capture().map);\n      } else if (Array.isArray(positionalParams) && positionalParams.length > 0) {\n        var count = Math.min(positionalParams.length, args.positional.length);\n        named = {};\n        (0, _polyfills.assign)(named, args.named.capture().map);\n\n        for (var i = 0; i < count; i++) {\n          var name = positionalParams[i];\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\n      return {\n        positional: _util.EMPTY_ARRAY,\n        named: named\n      };\n    }\n    /*\n     * This hook is responsible for actually instantiating the component instance.\n     * It also is where we perform additional bookkeeping to support legacy\n     * features like exposed by view mixins like ChildViewSupport, ActionSupport,\n     * etc.\n     */\n    ;\n\n    _proto39.create = function create(environment, state, args, dynamicScope, callerSelfRef, hasBlock) {\n      if (true\n      /* DEBUG */\n      ) {\n          this._pushToDebugStack(\"component:\" + state.name, environment);\n        } // Get the nearest concrete component instance from the scope. \"Virtual\"\n      // components will be skipped.\n\n\n      var parentView = dynamicScope.view; // Get the Ember.Component subclass to instantiate for this component.\n\n      var factory = state.ComponentClass; // Capture the arguments, which tells Glimmer to give us our own, stable\n      // copy of the Arguments object that is safe to hold on to between renders.\n\n      var capturedArgs = args.named.capture();\n      var props = processComponentArgs(capturedArgs); // Alias `id` argument to `elementId` property on the component instance.\n\n      aliasIdToElementId(args, props); // Set component instance's parentView property to point to nearest concrete\n      // component.\n\n      props.parentView = parentView; // Set whether this component was invoked with a block\n      // (`{{#my-component}}{{/my-component}}`) or without one\n      // (`{{my-component}}`).\n\n      props[HAS_BLOCK] = hasBlock; // Save the current `this` context of the template as the component's\n      // `_target`, so bubbled actions are routed to the right place.\n\n      props._target = callerSelfRef.value(); // static layout asserts CurriedDefinition\n\n      if (state.template) {\n        props.layout = state.template;\n      } // Now that we've built up all of the properties to set on the component instance,\n      // actually create it.\n\n\n      var component = factory.create(props);\n      var finalizer = (0, _instrumentation._instrumentStart)('render.component', initialRenderInstrumentDetails, component); // We become the new parentView for downstream components, so save our\n      // component off on the dynamic scope.\n\n      dynamicScope.view = component; // Unless we're the root component, we need to add ourselves to our parent\n      // component's childViews array.\n\n      if (parentView !== null && parentView !== undefined) {\n        (0, _views.addChildView)(parentView, component);\n      }\n\n      component.trigger('didReceiveAttrs');\n      var hasWrappedElement = component.tagName !== ''; // We usually do this in the `didCreateElement`, but that hook doesn't fire for tagless components\n\n      if (!hasWrappedElement) {\n        if (environment.isInteractive) {\n          component.trigger('willRender');\n        }\n\n        component._transitionTo('hasElement');\n\n        if (environment.isInteractive) {\n          component.trigger('willInsertElement');\n        }\n      } // Track additional lifecycle metadata about this component in a state bucket.\n      // Essentially we're saving off all the state we'll need in the future.\n\n\n      var bucket = new ComponentStateBucket(environment, component, capturedArgs, finalizer, hasWrappedElement);\n\n      if (args.named.has('class')) {\n        bucket.classRef = args.named.get('class');\n      }\n\n      if (true\n      /* DEBUG */\n      ) {\n          processComponentInitializationAssertions(component, props);\n        }\n\n      if (environment.isInteractive && hasWrappedElement) {\n        component.trigger('willRender');\n      }\n\n      return bucket;\n    };\n\n    _proto39.getSelf = function getSelf(_ref4) {\n      var component = _ref4.component;\n      return component[ROOT_REF];\n    };\n\n    _proto39.didCreateElement = function didCreateElement(_ref5, element, operations) {\n      var component = _ref5.component,\n          classRef = _ref5.classRef,\n          environment = _ref5.environment;\n      (0, _views.setViewElement)(component, element);\n      (0, _views.setElementView)(element, component);\n      var attributeBindings = component.attributeBindings,\n          classNames = component.classNames,\n          classNameBindings = component.classNameBindings;\n\n      if (attributeBindings && attributeBindings.length) {\n        applyAttributeBindings(element, attributeBindings, component, operations);\n      } else {\n        var id = component.elementId ? component.elementId : (0, _utils.guidFor)(component);\n        operations.setAttribute('id', _runtime2.PrimitiveReference.create(id), false, null);\n        IsVisibleBinding.install(element, component, operations);\n      }\n\n      if (classRef) {\n        var ref = new SimpleClassNameBindingReference(classRef, classRef['propertyKey']);\n        operations.setAttribute('class', ref, false, null);\n      }\n\n      if (classNames && classNames.length) {\n        classNames.forEach(function (name) {\n          operations.setAttribute('class', _runtime2.PrimitiveReference.create(name), false, null);\n        });\n      }\n\n      if (classNameBindings && classNameBindings.length) {\n        classNameBindings.forEach(function (binding) {\n          ClassNameBinding.install(element, component, binding, operations);\n        });\n      }\n\n      operations.setAttribute('class', _runtime2.PrimitiveReference.create('ember-view'), false, null);\n\n      if ('ariaRole' in component) {\n        operations.setAttribute('role', referenceForKey(component, 'ariaRole'), false, null);\n      }\n\n      component._transitionTo('hasElement');\n\n      if (environment.isInteractive) {\n        component.trigger('willInsertElement');\n      }\n    };\n\n    _proto39.didRenderLayout = function didRenderLayout(bucket, bounds) {\n      bucket.component[BOUNDS] = bounds;\n      bucket.finalize();\n\n      if (true\n      /* DEBUG */\n      ) {\n          this.debugStack.pop();\n        }\n    };\n\n    _proto39.getTag = function getTag(_ref6) {\n      var args = _ref6.args,\n          component = _ref6.component;\n      return args ? (0, _reference.combine)([args.tag, component[DIRTY_TAG]]) : component[DIRTY_TAG];\n    };\n\n    _proto39.didCreate = function didCreate(_ref7) {\n      var component = _ref7.component,\n          environment = _ref7.environment;\n\n      if (environment.isInteractive) {\n        component._transitionTo('inDOM');\n\n        component.trigger('didInsertElement');\n        component.trigger('didRender');\n      }\n    };\n\n    _proto39.update = function update(bucket) {\n      var component = bucket.component,\n          args = bucket.args,\n          argsRevision = bucket.argsRevision,\n          environment = bucket.environment;\n\n      if (true\n      /* DEBUG */\n      ) {\n          this._pushToDebugStack(component._debugContainerKey, environment);\n        }\n\n      bucket.finalizer = (0, _instrumentation._instrumentStart)('render.component', rerenderInstrumentDetails, component);\n\n      if (args && !args.tag.validate(argsRevision)) {\n        var props = processComponentArgs(args);\n        bucket.argsRevision = args.tag.value();\n        component[IS_DISPATCHING_ATTRS] = true;\n        component.setProperties(props);\n        component[IS_DISPATCHING_ATTRS] = false;\n        component.trigger('didUpdateAttrs');\n        component.trigger('didReceiveAttrs');\n      }\n\n      if (environment.isInteractive) {\n        component.trigger('willUpdate');\n        component.trigger('willRender');\n      }\n    };\n\n    _proto39.didUpdateLayout = function didUpdateLayout(bucket) {\n      bucket.finalize();\n\n      if (true\n      /* DEBUG */\n      ) {\n          this.debugStack.pop();\n        }\n    };\n\n    _proto39.didUpdate = function didUpdate(_ref8) {\n      var component = _ref8.component,\n          environment = _ref8.environment;\n\n      if (environment.isInteractive) {\n        component.trigger('didUpdate');\n        component.trigger('didRender');\n      }\n    };\n\n    _proto39.getDestructor = function getDestructor(stateBucket) {\n      return stateBucket;\n    };\n\n    return CurlyComponentManager;\n  }(AbstractManager);\n\n  function processComponentInitializationAssertions(component, props) {\n    true && !function () {\n      var classNameBindings = component.classNameBindings;\n\n      for (var i = 0; i < classNameBindings.length; i++) {\n        var binding = classNameBindings[i];\n\n        if (typeof binding !== 'string' || binding.length === 0) {\n          return false;\n        }\n      }\n\n      return true;\n    }() && (0, _debug.assert)(\"classNameBindings must be non-empty strings: \" + component, function () {\n      var classNameBindings = component.classNameBindings;\n\n      for (var i = 0; i < classNameBindings.length; i++) {\n        var binding = classNameBindings[i];\n\n        if (typeof binding !== 'string' || binding.length === 0) {\n          return false;\n        }\n      }\n\n      return true;\n    }());\n    true && !function () {\n      var classNameBindings = component.classNameBindings;\n\n      for (var i = 0; i < classNameBindings.length; i++) {\n        var binding = classNameBindings[i];\n\n        if (binding.split(' ').length > 1) {\n          return false;\n        }\n      }\n\n      return true;\n    }() && (0, _debug.assert)(\"classNameBindings must not have spaces in them: \" + component, function () {\n      var classNameBindings = component.classNameBindings;\n\n      for (var i = 0; i < classNameBindings.length; i++) {\n        var binding = classNameBindings[i];\n\n        if (binding.split(' ').length > 1) {\n          return false;\n        }\n      }\n\n      return true;\n    }());\n    true && !(component.tagName !== '' || !component.classNameBindings || component.classNameBindings.length === 0) && (0, _debug.assert)(\"You cannot use `classNameBindings` on a tag-less component: \" + component, component.tagName !== '' || !component.classNameBindings || component.classNameBindings.length === 0);\n    true && !(component.tagName !== '' || props.id === component.elementId || !component.elementId && component.elementId !== '') && (0, _debug.assert)(\"You cannot use `elementId` on a tag-less component: \" + component, component.tagName !== '' || props.id === component.elementId || !component.elementId && component.elementId !== '');\n    true && !(component.tagName !== '' || !component.attributeBindings || component.attributeBindings.length === 0) && (0, _debug.assert)(\"You cannot use `attributeBindings` on a tag-less component: \" + component, component.tagName !== '' || !component.attributeBindings || component.attributeBindings.length === 0);\n  }\n\n  function initialRenderInstrumentDetails(component) {\n    return component.instrumentDetails({\n      initialRender: true\n    });\n  }\n\n  function rerenderInstrumentDetails(component) {\n    return component.instrumentDetails({\n      initialRender: false\n    });\n  }\n\n  var CURLY_CAPABILITIES = {\n    dynamicLayout: true,\n    dynamicTag: true,\n    prepareArgs: true,\n    createArgs: true,\n    attributeHook: true,\n    elementHook: true,\n    createCaller: true,\n    dynamicScope: true,\n    updateHook: true,\n    createInstance: true\n  };\n  var CURLY_COMPONENT_MANAGER = new CurlyComponentManager();\n\n  var CurlyComponentDefinition = // tslint:disable-next-line:no-shadowed-variable\n  function CurlyComponentDefinition(name, ComponentClass, handle, template, args) {\n    this.name = name;\n    this.ComponentClass = ComponentClass;\n    this.handle = handle;\n    this.manager = CURLY_COMPONENT_MANAGER;\n    var layout = template && template.asLayout();\n    var symbolTable = layout ? layout.symbolTable : undefined;\n    this.symbolTable = symbolTable;\n    this.template = template;\n    this.args = args;\n    this.state = {\n      name: name,\n      ComponentClass: ComponentClass,\n      handle: handle,\n      template: template,\n      capabilities: CURLY_CAPABILITIES,\n      symbolTable: symbolTable\n    };\n  };\n\n  var RootComponentManager =\n  /*#__PURE__*/\n  function (_CurlyComponentManage) {\n    (0, _emberBabel.inheritsLoose)(RootComponentManager, _CurlyComponentManage);\n\n    function RootComponentManager(component) {\n      var _this19;\n\n      _this19 = _CurlyComponentManage.call(this) || this;\n      _this19.component = component;\n      return _this19;\n    }\n\n    var _proto40 = RootComponentManager.prototype;\n\n    _proto40.getLayout = function getLayout(_state, resolver) {\n      var template = this.templateFor(this.component, resolver);\n      var layout = template.asWrappedLayout();\n      return {\n        handle: layout.compile(),\n        symbolTable: layout.symbolTable\n      };\n    };\n\n    _proto40.create = function create(environment, _state, _args, dynamicScope) {\n      var component = this.component;\n\n      if (true\n      /* DEBUG */\n      ) {\n          this._pushToDebugStack(component._debugContainerKey, environment);\n        }\n\n      var finalizer = (0, _instrumentation._instrumentStart)('render.component', initialRenderInstrumentDetails, component);\n      dynamicScope.view = component;\n      var hasWrappedElement = component.tagName !== ''; // We usually do this in the `didCreateElement`, but that hook doesn't fire for tagless components\n\n      if (!hasWrappedElement) {\n        if (environment.isInteractive) {\n          component.trigger('willRender');\n        }\n\n        component._transitionTo('hasElement');\n\n        if (environment.isInteractive) {\n          component.trigger('willInsertElement');\n        }\n      }\n\n      if (true\n      /* DEBUG */\n      ) {\n          processComponentInitializationAssertions(component, {});\n        }\n\n      return new ComponentStateBucket(environment, component, null, finalizer, hasWrappedElement);\n    };\n\n    return RootComponentManager;\n  }(CurlyComponentManager); // ROOT is the top-level template it has nothing but one yield.\n  // it is supposed to have a dummy element\n\n\n  var ROOT_CAPABILITIES = {\n    dynamicLayout: false,\n    dynamicTag: true,\n    prepareArgs: false,\n    createArgs: false,\n    attributeHook: true,\n    elementHook: true,\n    createCaller: true,\n    dynamicScope: true,\n    updateHook: true,\n    createInstance: true\n  };\n\n  var RootComponentDefinition =\n  /*#__PURE__*/\n  function () {\n    function RootComponentDefinition(component) {\n      this.component = component;\n      var manager = new RootComponentManager(component);\n      this.manager = manager;\n\n      var factory = _container.FACTORY_FOR.get(component);\n\n      this.state = {\n        name: factory.fullName.slice(10),\n        capabilities: ROOT_CAPABILITIES,\n        ComponentClass: factory,\n        handle: null\n      };\n    }\n\n    var _proto41 = RootComponentDefinition.prototype;\n\n    _proto41.getTag = function getTag(_ref9) {\n      var component = _ref9.component;\n      return component[DIRTY_TAG];\n    };\n\n    return RootComponentDefinition;\n  }();\n\n  var DynamicScope =\n  /*#__PURE__*/\n  function () {\n    function DynamicScope(view, outletState) {\n      this.view = view;\n      this.outletState = outletState;\n    }\n\n    var _proto42 = DynamicScope.prototype;\n\n    _proto42.child = function child() {\n      return new DynamicScope(this.view, this.outletState);\n    };\n\n    _proto42.get = function get(key) {\n      // tslint:disable-next-line:max-line-length\n      true && !(key === 'outletState') && (0, _debug.assert)(\"Using `-get-dynamic-scope` is only supported for `outletState` (you used `\" + key + \"`).\", key === 'outletState');\n      return this.outletState;\n    };\n\n    _proto42.set = function set(key, value) {\n      // tslint:disable-next-line:max-line-length\n      true && !(key === 'outletState') && (0, _debug.assert)(\"Using `-with-dynamic-scope` is only supported for `outletState` (you used `\" + key + \"`).\", key === 'outletState');\n      this.outletState = value;\n      return value;\n    };\n\n    return DynamicScope;\n  }();\n\n  var RootState =\n  /*#__PURE__*/\n  function () {\n    function RootState(root, env, template, self, parentElement, dynamicScope, builder) {\n      var _this20 = this;\n\n      true && !(template !== undefined) && (0, _debug.assert)(\"You cannot render `\" + self.value() + \"` without a template.\", template !== undefined);\n      this.id = (0, _views.getViewId)(root);\n      this.env = env;\n      this.root = root;\n      this.result = undefined;\n      this.shouldReflush = false;\n      this.destroyed = false;\n      var options = this.options = {\n        alwaysRevalidate: false\n      };\n\n      this.render = function () {\n        var layout = template.asLayout();\n        var handle = layout.compile();\n        var iterator = (0, _runtime2.renderMain)(layout['compiler'].program, env, self, dynamicScope, builder(env, {\n          element: parentElement,\n          nextSibling: null\n        }), handle);\n        var iteratorResult;\n\n        do {\n          iteratorResult = iterator.next();\n        } while (!iteratorResult.done);\n\n        var result = _this20.result = iteratorResult.value; // override .render function after initial render\n\n        _this20.render = function () {\n          return result.rerender(options);\n        };\n      };\n    }\n\n    var _proto43 = RootState.prototype;\n\n    _proto43.isFor = function isFor(possibleRoot) {\n      return this.root === possibleRoot;\n    };\n\n    _proto43.destroy = function destroy() {\n      var result = this.result,\n          env = this.env;\n      this.destroyed = true;\n      this.env = undefined;\n      this.root = null;\n      this.result = undefined;\n      this.render = undefined;\n\n      if (result) {\n        /*\n         Handles these scenarios:\n                * When roots are removed during standard rendering process, a transaction exists already\n           `.begin()` / `.commit()` are not needed.\n         * When roots are being destroyed manually (`component.append(); component.destroy() case), no\n           transaction exists already.\n         * When roots are being destroyed during `Renderer#destroy`, no transaction exists\n                */\n        var needsTransaction = !env.inTransaction;\n\n        if (needsTransaction) {\n          env.begin();\n        }\n\n        try {\n          result.destroy();\n        } finally {\n          if (needsTransaction) {\n            env.commit();\n          }\n        }\n      }\n    };\n\n    return RootState;\n  }();\n\n  var renderers = [];\n\n  function _resetRenderers() {\n    renderers.length = 0;\n  }\n\n  function register(renderer) {\n    true && !(renderers.indexOf(renderer) === -1) && (0, _debug.assert)('Cannot register the same renderer twice', renderers.indexOf(renderer) === -1);\n    renderers.push(renderer);\n  }\n\n  function deregister(renderer) {\n    var index = renderers.indexOf(renderer);\n    true && !(index !== -1) && (0, _debug.assert)('Cannot deregister unknown unregistered renderer', index !== -1);\n    renderers.splice(index, 1);\n  }\n\n  function loopBegin() {\n    for (var i = 0; i < renderers.length; i++) {\n      renderers[i]._scheduleRevalidate();\n    }\n  }\n\n  function K() {\n    /* noop */\n  }\n\n  var renderSettledDeferred = null;\n  /*\n    Returns a promise which will resolve when rendering has settled. Settled in\n    this context is defined as when all of the tags in use are \"current\" (e.g.\n    `renderers.every(r => r._isValid())`). When this is checked at the _end_ of\n    the run loop, this essentially guarantees that all rendering is completed.\n  \n    @method renderSettled\n    @returns {Promise<void>} a promise which fulfills when rendering has settled\n  */\n\n  function renderSettled() {\n    if (renderSettledDeferred === null) {\n      renderSettledDeferred = _rsvp.default.defer(); // if there is no current runloop, the promise created above will not have\n      // a chance to resolve (because its resolved in backburner's \"end\" event)\n\n      if (!(0, _runloop.getCurrentRunLoop)()) {\n        // ensure a runloop has been kicked off\n        _runloop.backburner.schedule('actions', null, K);\n      }\n    }\n\n    return renderSettledDeferred.promise;\n  }\n\n  function resolveRenderPromise() {\n    if (renderSettledDeferred !== null) {\n      var resolve = renderSettledDeferred.resolve;\n      renderSettledDeferred = null;\n\n      _runloop.backburner.join(null, resolve);\n    }\n  }\n\n  var loops = 0;\n\n  function loopEnd() {\n    for (var i = 0; i < renderers.length; i++) {\n      if (!renderers[i]._isValid()) {\n        if (loops > _environment2.ENV._RERENDER_LOOP_LIMIT) {\n          loops = 0; // TODO: do something better\n\n          renderers[i].destroy();\n          throw new Error('infinite rendering invalidation detected');\n        }\n\n        loops++;\n        return _runloop.backburner.join(null, K);\n      }\n    }\n\n    loops = 0;\n    resolveRenderPromise();\n  }\n\n  _runloop.backburner.on('begin', loopBegin);\n\n  _runloop.backburner.on('end', loopEnd);\n\n  var Renderer =\n  /*#__PURE__*/\n  function () {\n    function Renderer(env, rootTemplate, viewRegistry) {\n      var destinedForDOM = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n      var builder = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : _runtime2.clientBuilder;\n      this._env = env;\n      this._rootTemplate = rootTemplate;\n      this._viewRegistry = viewRegistry;\n      this._destinedForDOM = destinedForDOM;\n      this._destroyed = false;\n      this._roots = [];\n      this._lastRevision = -1;\n      this._isRenderingRoots = false;\n      this._removedRoots = [];\n      this._builder = builder;\n    } // renderer HOOKS\n\n\n    var _proto44 = Renderer.prototype;\n\n    _proto44.appendOutletView = function appendOutletView(view, target) {\n      var definition = createRootOutlet(view);\n\n      this._appendDefinition(view, (0, _runtime2.curry)(definition), target);\n    };\n\n    _proto44.appendTo = function appendTo(view, target) {\n      var definition = new RootComponentDefinition(view);\n\n      this._appendDefinition(view, (0, _runtime2.curry)(definition), target);\n    };\n\n    _proto44._appendDefinition = function _appendDefinition(root, definition, target) {\n      var self = new UnboundReference(definition);\n      var dynamicScope = new DynamicScope(null, _runtime2.UNDEFINED_REFERENCE);\n      var rootState = new RootState(root, this._env, this._rootTemplate, self, target, dynamicScope, this._builder);\n\n      this._renderRoot(rootState);\n    };\n\n    _proto44.rerender = function rerender() {\n      this._scheduleRevalidate();\n    };\n\n    _proto44.register = function register(view) {\n      var id = (0, _views.getViewId)(view);\n      true && !!this._viewRegistry[id] && (0, _debug.assert)('Attempted to register a view with an id already in use: ' + id, !this._viewRegistry[id]);\n      this._viewRegistry[id] = view;\n    };\n\n    _proto44.unregister = function unregister(view) {\n      delete this._viewRegistry[(0, _views.getViewId)(view)];\n    };\n\n    _proto44.remove = function remove(view) {\n      view._transitionTo('destroying');\n\n      this.cleanupRootFor(view);\n\n      if (this._destinedForDOM) {\n        view.trigger('didDestroyElement');\n      }\n    };\n\n    _proto44.cleanupRootFor = function cleanupRootFor(view) {\n      // no need to cleanup roots if we have already been destroyed\n      if (this._destroyed) {\n        return;\n      }\n\n      var roots = this._roots; // traverse in reverse so we can remove items\n      // without mucking up the index\n\n      var i = this._roots.length;\n\n      while (i--) {\n        var root = roots[i];\n\n        if (root.isFor(view)) {\n          root.destroy();\n          roots.splice(i, 1);\n        }\n      }\n    };\n\n    _proto44.destroy = function destroy() {\n      if (this._destroyed) {\n        return;\n      }\n\n      this._destroyed = true;\n\n      this._clearAllRoots();\n    };\n\n    _proto44.getBounds = function getBounds(view) {\n      var bounds = view[BOUNDS];\n      var parentElement = bounds.parentElement();\n      var firstNode = bounds.firstNode();\n      var lastNode = bounds.lastNode();\n      return {\n        parentElement: parentElement,\n        firstNode: firstNode,\n        lastNode: lastNode\n      };\n    };\n\n    _proto44.createElement = function createElement(tagName) {\n      return this._env.getAppendOperations().createElement(tagName);\n    };\n\n    _proto44._renderRoot = function _renderRoot(root) {\n      var roots = this._roots;\n      roots.push(root);\n\n      if (roots.length === 1) {\n        register(this);\n      }\n\n      this._renderRootsTransaction();\n    };\n\n    _proto44._renderRoots = function _renderRoots() {\n      var roots = this._roots,\n          env = this._env,\n          removedRoots = this._removedRoots;\n      var globalShouldReflush = false;\n      var initialRootsLength;\n\n      do {\n        env.begin();\n\n        try {\n          // ensure that for the first iteration of the loop\n          // each root is processed\n          initialRootsLength = roots.length;\n          globalShouldReflush = false;\n\n          for (var i = 0; i < roots.length; i++) {\n            var root = roots[i];\n\n            if (root.destroyed) {\n              // add to the list of roots to be removed\n              // they will be removed from `this._roots` later\n              removedRoots.push(root); // skip over roots that have been marked as destroyed\n\n              continue;\n            }\n\n            var shouldReflush = root.shouldReflush; // when processing non-initial reflush loops,\n            // do not process more roots than needed\n\n            if (i >= initialRootsLength && !shouldReflush) {\n              continue;\n            }\n\n            root.options.alwaysRevalidate = shouldReflush; // track shouldReflush based on this roots render result\n\n            shouldReflush = root.shouldReflush = (0, _metal.runInTransaction)(root, 'render'); // globalShouldReflush should be `true` if *any* of\n            // the roots need to reflush\n\n            globalShouldReflush = globalShouldReflush || shouldReflush;\n          }\n\n          this._lastRevision = _reference.CURRENT_TAG.value();\n        } finally {\n          env.commit();\n        }\n      } while (globalShouldReflush || roots.length > initialRootsLength); // remove any roots that were destroyed during this transaction\n\n\n      while (removedRoots.length) {\n        var _root = removedRoots.pop();\n\n        var rootIndex = roots.indexOf(_root);\n        roots.splice(rootIndex, 1);\n      }\n\n      if (this._roots.length === 0) {\n        deregister(this);\n      }\n    };\n\n    _proto44._renderRootsTransaction = function _renderRootsTransaction() {\n      if (this._isRenderingRoots) {\n        // currently rendering roots, a new root was added and will\n        // be processed by the existing _renderRoots invocation\n        return;\n      } // used to prevent calling _renderRoots again (see above)\n      // while we are actively rendering roots\n\n\n      this._isRenderingRoots = true;\n      var completedWithoutError = false;\n\n      try {\n        this._renderRoots();\n\n        completedWithoutError = true;\n      } finally {\n        if (!completedWithoutError) {\n          this._lastRevision = _reference.CURRENT_TAG.value();\n\n          if (this._env.inTransaction === true) {\n            this._env.commit();\n          }\n        }\n\n        this._isRenderingRoots = false;\n      }\n    };\n\n    _proto44._clearAllRoots = function _clearAllRoots() {\n      var roots = this._roots;\n\n      for (var i = 0; i < roots.length; i++) {\n        var root = roots[i];\n        root.destroy();\n      }\n\n      this._removedRoots.length = 0;\n      this._roots = []; // if roots were present before destroying\n      // deregister this renderer instance\n\n      if (roots.length) {\n        deregister(this);\n      }\n    };\n\n    _proto44._scheduleRevalidate = function _scheduleRevalidate() {\n      _runloop.backburner.scheduleOnce('render', this, this._revalidate);\n    };\n\n    _proto44._isValid = function _isValid() {\n      return this._destroyed || this._roots.length === 0 || _reference.CURRENT_TAG.validate(this._lastRevision);\n    };\n\n    _proto44._revalidate = function _revalidate() {\n      if (this._isValid()) {\n        return;\n      }\n\n      this._renderRootsTransaction();\n    };\n\n    return Renderer;\n  }();\n\n  _exports.Renderer = Renderer;\n\n  var InertRenderer =\n  /*#__PURE__*/\n  function (_Renderer) {\n    (0, _emberBabel.inheritsLoose)(InertRenderer, _Renderer);\n\n    function InertRenderer() {\n      return _Renderer.apply(this, arguments) || this;\n    }\n\n    InertRenderer.create = function create(_ref10) {\n      var env = _ref10.env,\n          rootTemplate = _ref10.rootTemplate,\n          _viewRegistry = _ref10._viewRegistry,\n          builder = _ref10.builder;\n      return new this(env, rootTemplate, _viewRegistry, false, builder);\n    };\n\n    var _proto45 = InertRenderer.prototype;\n\n    _proto45.getElement = function getElement(_view) {\n      throw new Error('Accessing `this.element` is not allowed in non-interactive environments (such as FastBoot).');\n    };\n\n    return InertRenderer;\n  }(Renderer);\n\n  _exports.InertRenderer = InertRenderer;\n\n  var InteractiveRenderer =\n  /*#__PURE__*/\n  function (_Renderer2) {\n    (0, _emberBabel.inheritsLoose)(InteractiveRenderer, _Renderer2);\n\n    function InteractiveRenderer() {\n      return _Renderer2.apply(this, arguments) || this;\n    }\n\n    InteractiveRenderer.create = function create(_ref11) {\n      var env = _ref11.env,\n          rootTemplate = _ref11.rootTemplate,\n          _viewRegistry = _ref11._viewRegistry,\n          builder = _ref11.builder;\n      return new this(env, rootTemplate, _viewRegistry, true, builder);\n    };\n\n    var _proto46 = InteractiveRenderer.prototype;\n\n    _proto46.getElement = function getElement(view) {\n      return (0, _views.getViewElement)(view);\n    };\n\n    return InteractiveRenderer;\n  }(Renderer);\n\n  _exports.InteractiveRenderer = InteractiveRenderer;\n  var TEMPLATES = {};\n\n  function setTemplates(templates) {\n    TEMPLATES = templates;\n  }\n\n  function getTemplates() {\n    return TEMPLATES;\n  }\n\n  function getTemplate(name) {\n    if (TEMPLATES.hasOwnProperty(name)) {\n      return TEMPLATES[name];\n    }\n  }\n\n  function hasTemplate(name) {\n    return TEMPLATES.hasOwnProperty(name);\n  }\n\n  function setTemplate(name, template) {\n    return TEMPLATES[name] = template;\n  }\n\n  var InternalComponentDefinition = function InternalComponentDefinition(manager, ComponentClass, layout) {\n    this.manager = manager;\n    this.state = {\n      ComponentClass: ComponentClass,\n      layout: layout\n    };\n  };\n\n  var InternalManager =\n  /*#__PURE__*/\n  function (_AbstractManager3) {\n    (0, _emberBabel.inheritsLoose)(InternalManager, _AbstractManager3);\n\n    function InternalManager(owner) {\n      var _this21;\n\n      _this21 = _AbstractManager3.call(this) || this;\n      _this21.owner = owner;\n      return _this21;\n    }\n\n    var _proto47 = InternalManager.prototype;\n\n    _proto47.getLayout = function getLayout(_ref12) {\n      var _layout = _ref12.layout;\n\n      var layout = _layout.asLayout();\n\n      return {\n        handle: layout.compile(),\n        symbolTable: layout.symbolTable\n      };\n    };\n\n    return InternalManager;\n  }(AbstractManager);\n\n  var CAPABILITIES$1 = {\n    dynamicLayout: false,\n    dynamicTag: false,\n    prepareArgs: true,\n    createArgs: true,\n    attributeHook: false,\n    elementHook: false,\n    createCaller: true,\n    dynamicScope: false,\n    updateHook: true,\n    createInstance: true\n  };\n  var EMPTY_POSITIONAL_ARGS$1 = [];\n  (0, _debug.debugFreeze)(EMPTY_POSITIONAL_ARGS$1);\n\n  var InputComponentManager =\n  /*#__PURE__*/\n  function (_InternalManager) {\n    (0, _emberBabel.inheritsLoose)(InputComponentManager, _InternalManager);\n\n    function InputComponentManager() {\n      return _InternalManager.apply(this, arguments) || this;\n    }\n\n    var _proto48 = InputComponentManager.prototype;\n\n    _proto48.getCapabilities = function getCapabilities() {\n      return CAPABILITIES$1;\n    };\n\n    _proto48.prepareArgs = function prepareArgs(_state, args) {\n      true && !(args.positional.length === 0) && (0, _debug.assert)('The `<Input />` component does not take any positional arguments', args.positional.length === 0);\n      var __ARGS__ = args.named.capture().map;\n      return {\n        positional: EMPTY_POSITIONAL_ARGS$1,\n        named: {\n          __ARGS__: new RootReference(__ARGS__),\n          type: args.named.get('type')\n        }\n      };\n    };\n\n    _proto48.create = function create(_env, _ref13, args, _dynamicScope, caller) {\n      var ComponentClass = _ref13.ComponentClass;\n      true && !(0, _reference.isConst)(caller) && (0, _debug.assert)('caller must be const', (0, _reference.isConst)(caller));\n      var type = args.named.get('type');\n      var instance = ComponentClass.create({\n        caller: caller.value(),\n        type: type.value()\n      });\n      return {\n        type: type,\n        instance: instance\n      };\n    };\n\n    _proto48.getSelf = function getSelf(_ref14) {\n      var instance = _ref14.instance;\n      return new RootReference(instance);\n    };\n\n    _proto48.getTag = function getTag() {\n      return _reference.CONSTANT_TAG;\n    };\n\n    _proto48.update = function update(_ref15) {\n      var type = _ref15.type,\n          instance = _ref15.instance;\n      (0, _metal.set)(instance, 'type', type.value());\n    };\n\n    _proto48.getDestructor = function getDestructor(_ref16) {\n      var instance = _ref16.instance;\n      return instance;\n    };\n\n    return InputComponentManager;\n  }(InternalManager);\n\n  var InputComponentManagerFactory = function (owner) {\n    return new InputComponentManager(owner);\n  };\n\n  var MANAGERS = new WeakMap();\n  var getPrototypeOf = Object.getPrototypeOf;\n\n  function setManager(wrapper, obj) {\n    MANAGERS.set(obj, wrapper);\n    return obj;\n  }\n\n  function getManager(obj) {\n    var pointer = obj;\n\n    while (pointer !== undefined && pointer !== null) {\n      if (MANAGERS.has(pointer)) {\n        return MANAGERS.get(pointer);\n      }\n\n      pointer = getPrototypeOf(pointer);\n    }\n\n    return null;\n  }\n  /**\n  @module @ember/component\n  */\n\n\n  var Input;\n\n  if (true\n  /* EMBER_GLIMMER_ANGLE_BRACKET_BUILT_INS */\n  ) {\n      /**\n        See [Ember.Templates.components.Input](/api/ember/release/classes/Ember.Templates.components/methods/Input?anchor=Input).\n           @method input\n        @for Ember.Templates.helpers\n        @param {Hash} options\n        @public\n       */\n\n      /**\n        The `Input` component lets you create an HTML `<input>` element.\n           ```handlebars\n        <Input @value=\"987\" />\n        ```\n           creates an `<input>` element with `type=\"text\"` and value set to 987.\n           ### Text field\n           If no `type` argument is specified, a default of type 'text' is used.\n           ```handlebars\n        Search:\n        <Input @value={{this.searchWord}}>\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           ### Actions\n           The `Input` component takes a number of arguments with callbacks that are invoked in response to\n        user events.\n           * `enter`\n        * `insert-newline`\n        * `escape-press`\n        * `focus-in`\n        * `focus-out`\n        * `key-press`\n        * `key-up`\n           These callbacks are passed to `Input` like this:\n           ```handlebars\n        <Input @value={{this.searchWord}} @enter={{this.query}} />\n        ```\n           ### `<input>` HTML Attributes to Avoid\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           ```handlebars\n        <Input @type=\"text\" size=\"10\" />\n        ```\n           In this example, the `size` attribute will be applied to the underlying `<input>` element in the\n        outputted HTML.\n           However, there are a few attributes where you **must** use the `@` version.\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           ### Extending `TextField`\n           Internally, `<Input @type=\"text\" />` creates an instance of `TextField`, passing arguments from\n        the helper to `TextField`'s `create` method. Subclassing `TextField` is supported but not\n        recommended.\n           See [TextField](/api/ember/release/classes/TextField)\n           ### Checkbox\n           To create an `<input type=\"checkbox\">`:\n           ```handlebars\n        Emberize Everything:\n        <Input @type=\"checkbox\" @checked={{this.isEmberized}} name=\"isEmberized\" />\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           ### Extending `Checkbox`\n           Internally, `<Input @type=\"checkbox\" />` creates an instance of `Checkbox`. Subclassing\n        `TextField` is supported but not recommended.\n           See [Checkbox](/api/ember/release/classes/Checkbox)\n           @method Input\n        @for Ember.Templates.components\n        @see {TextField}\n        @see {Checkbox}\n        @param {Hash} options\n        @public\n      */\n      Input = _runtime.Object.extend({\n        isCheckbox: (0, _metal.computed)('type', function () {\n          return this.type === 'checkbox';\n        })\n      });\n      setManager({\n        factory: InputComponentManagerFactory,\n        internal: true,\n        type: 'component'\n      }, Input);\n\n      Input.toString = function () {\n        return '@ember/component/input';\n      };\n    }\n\n  var Input$1 = Input; ///<reference path=\"./simple-dom.d.ts\" />\n\n  /**\n  @module ember\n  */\n\n  /**\n    Calls [loc](/api/classes/Ember.String.html#method_loc) with the\n    provided string. This is a convenient way to localize text within a template.\n    For example:\n  \n    ```javascript\n    Ember.STRINGS = {\n      '_welcome_': 'Bonjour'\n    };\n    ```\n  \n    ```handlebars\n    <div class='message'>\n      {{loc '_welcome_'}}\n    </div>\n    ```\n  \n    ```html\n    <div class='message'>\n      Bonjour\n    </div>\n    ```\n  \n    See [String.loc](/api/ember/release/classes/String/methods/loc?anchor=loc) for how to\n    set up localized string references.\n  \n    @method loc\n    @for Ember.Templates.helpers\n    @param {String} str The string to format.\n    @see {String#loc}\n    @public\n  */\n\n  var loc$1 = helper(function (params) {\n    return _string.loc.apply(null, params\n    /* let the other side handle errors */\n    );\n  });\n\n  var CompileTimeLookup =\n  /*#__PURE__*/\n  function () {\n    function CompileTimeLookup(resolver) {\n      this.resolver = resolver;\n    }\n\n    var _proto49 = CompileTimeLookup.prototype;\n\n    _proto49.getCapabilities = function getCapabilities(handle) {\n      var definition = this.resolver.resolve(handle);\n      var manager = definition.manager,\n          state = definition.state;\n      return manager.getCapabilities(state);\n    };\n\n    _proto49.getLayout = function getLayout(handle) {\n      var _this$resolver$resolv = this.resolver.resolve(handle),\n          manager = _this$resolver$resolv.manager,\n          state = _this$resolver$resolv.state;\n\n      var capabilities = manager.getCapabilities(state);\n\n      if (capabilities.dynamicLayout) {\n        return null;\n      }\n\n      var invocation = manager.getLayout(state, this.resolver);\n      return {\n        // TODO: this seems weird, it already is compiled\n        compile: function () {\n          return invocation.handle;\n        },\n        symbolTable: invocation.symbolTable\n      };\n    };\n\n    _proto49.lookupHelper = function lookupHelper(name, referrer) {\n      return this.resolver.lookupHelper(name, referrer);\n    };\n\n    _proto49.lookupModifier = function lookupModifier(name, referrer) {\n      return this.resolver.lookupModifier(name, referrer);\n    };\n\n    _proto49.lookupComponentDefinition = function lookupComponentDefinition(name, referrer) {\n      return this.resolver.lookupComponentHandle(name, referrer);\n    };\n\n    _proto49.lookupPartial = function lookupPartial(name, referrer) {\n      return this.resolver.lookupPartial(name, referrer);\n    };\n\n    return CompileTimeLookup;\n  }();\n\n  var CAPABILITIES$2 = {\n    dynamicLayout: false,\n    dynamicTag: false,\n    prepareArgs: false,\n    createArgs: true,\n    attributeHook: false,\n    elementHook: false,\n    createCaller: false,\n    dynamicScope: true,\n    updateHook: true,\n    createInstance: true\n  };\n\n  function capabilities(managerAPI) {\n    var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n    true && !(managerAPI === '3.4') && (0, _debug.assert)('Invalid component manager compatibility specified', managerAPI === '3.4');\n    var updateHook = true;\n\n    if (false\n    /* EMBER_CUSTOM_COMPONENT_ARG_PROXY */\n    ) {\n        updateHook = 'updateHook' in options ? Boolean(options.updateHook) : true;\n      }\n\n    return {\n      asyncLifeCycleCallbacks: Boolean(options.asyncLifecycleCallbacks),\n      destructor: Boolean(options.destructor),\n      updateHook: updateHook\n    };\n  }\n\n  function hasAsyncLifeCycleCallbacks(delegate) {\n    return delegate.capabilities.asyncLifeCycleCallbacks;\n  }\n\n  function hasDestructors(delegate) {\n    return delegate.capabilities.destructor;\n  }\n  /**\n    The CustomComponentManager allows addons to provide custom component\n    implementations that integrate seamlessly into Ember. This is accomplished\n    through a delegate, registered with the custom component manager, which\n    implements a set of hooks that determine component behavior.\n  \n    To create a custom component manager, instantiate a new CustomComponentManager\n    class and pass the delegate as the first argument:\n  \n    ```js\n    let manager = new CustomComponentManager({\n      // ...delegate implementation...\n    });\n    ```\n  \n    ## Delegate Hooks\n  \n    Throughout the lifecycle of a component, the component manager will invoke\n    delegate hooks that are responsible for surfacing those lifecycle changes to\n    the end developer.\n  \n    * `create()` - invoked when a new instance of a component should be created\n    * `update()` - invoked when the arguments passed to a component change\n    * `getContext()` - returns the object that should be\n  */\n\n\n  var CustomComponentManager =\n  /*#__PURE__*/\n  function (_AbstractManager4) {\n    (0, _emberBabel.inheritsLoose)(CustomComponentManager, _AbstractManager4);\n\n    function CustomComponentManager() {\n      return _AbstractManager4.apply(this, arguments) || this;\n    }\n\n    var _proto50 = CustomComponentManager.prototype;\n\n    _proto50.create = function create(_env, definition, args) {\n      var delegate = definition.delegate;\n      var capturedArgs = args.capture();\n      var value;\n      var namedArgsProxy = {};\n\n      if (false\n      /* EMBER_CUSTOM_COMPONENT_ARG_PROXY */\n      ) {\n          if (_utils.HAS_NATIVE_PROXY) {\n            var handler = {\n              get: function (_target, prop) {\n                true && !(typeof prop === 'string') && (0, _debug.assert)('args can only be strings', typeof prop === 'string');\n                var ref = capturedArgs.named.get(prop);\n                (0, _metal.consume)(ref.tag);\n                return ref.value();\n              }\n            };\n\n            if (true\n            /* DEBUG */\n            ) {\n                handler.set = function (_target, prop) {\n                  true && !false && (0, _debug.assert)(\"You attempted to set \" + definition.ComponentClass.class + \"#\" + String(prop) + \" on a components arguments. Component arguments are immutable and cannot be updated directly, they always represent the values that are passed to your component. If you want to set default values, you should use a getter instead\");\n                  return false;\n                };\n              }\n\n            namedArgsProxy = new Proxy(namedArgsProxy, handler);\n          } else {\n            capturedArgs.named.names.forEach(function (name) {\n              Object.defineProperty(namedArgsProxy, name, {\n                get: function () {\n                  var ref = capturedArgs.named.get(name);\n                  (0, _metal.consume)(ref.tag);\n                  return ref.value();\n                }\n              });\n            });\n          }\n\n          value = {\n            named: namedArgsProxy,\n            positional: capturedArgs.positional.value()\n          };\n        } else {\n        value = capturedArgs.value();\n      }\n\n      var component = delegate.createComponent(definition.ComponentClass.class, value);\n      return new CustomComponentState(delegate, component, capturedArgs, namedArgsProxy);\n    };\n\n    _proto50.update = function update(_ref17) {\n      var delegate = _ref17.delegate,\n          component = _ref17.component,\n          args = _ref17.args,\n          namedArgsProxy = _ref17.namedArgsProxy;\n      var value;\n\n      if (false\n      /* EMBER_CUSTOM_COMPONENT_ARG_PROXY */\n      ) {\n          value = {\n            named: namedArgsProxy,\n            positional: args.positional.value()\n          };\n        } else {\n        value = args.value();\n      }\n\n      delegate.updateComponent(component, value);\n    };\n\n    _proto50.didCreate = function didCreate(_ref18) {\n      var delegate = _ref18.delegate,\n          component = _ref18.component;\n\n      if (hasAsyncLifeCycleCallbacks(delegate)) {\n        delegate.didCreateComponent(component);\n      }\n    };\n\n    _proto50.didUpdate = function didUpdate(_ref19) {\n      var delegate = _ref19.delegate,\n          component = _ref19.component;\n\n      if (hasAsyncLifeCycleCallbacks(delegate)) {\n        delegate.didUpdateComponent(component);\n      }\n    };\n\n    _proto50.getContext = function getContext(_ref20) {\n      var delegate = _ref20.delegate,\n          component = _ref20.component;\n      delegate.getContext(component);\n    };\n\n    _proto50.getSelf = function getSelf(_ref21) {\n      var delegate = _ref21.delegate,\n          component = _ref21.component;\n      return RootReference.create(delegate.getContext(component));\n    };\n\n    _proto50.getDestructor = function getDestructor(state) {\n      if (hasDestructors(state.delegate)) {\n        return state;\n      } else {\n        return null;\n      }\n    };\n\n    _proto50.getCapabilities = function getCapabilities(_ref22) {\n      var delegate = _ref22.delegate;\n      return (0, _polyfills.assign)({}, CAPABILITIES$2, {\n        updateHook: delegate.capabilities.updateHook\n      });\n    };\n\n    _proto50.getTag = function getTag(_ref23) {\n      var args = _ref23.args;\n      return args.tag;\n    };\n\n    _proto50.didRenderLayout = function didRenderLayout() {};\n\n    _proto50.getLayout = function getLayout(state) {\n      return {\n        handle: state.template.asLayout().compile(),\n        symbolTable: state.symbolTable\n      };\n    };\n\n    return CustomComponentManager;\n  }(AbstractManager);\n\n  var CUSTOM_COMPONENT_MANAGER = new CustomComponentManager();\n  /**\n   * Stores internal state about a component instance after it's been created.\n   */\n\n  var CustomComponentState =\n  /*#__PURE__*/\n  function () {\n    function CustomComponentState(delegate, component, args, namedArgsProxy) {\n      this.delegate = delegate;\n      this.component = component;\n      this.args = args;\n      this.namedArgsProxy = namedArgsProxy;\n    }\n\n    var _proto51 = CustomComponentState.prototype;\n\n    _proto51.destroy = function destroy() {\n      var delegate = this.delegate,\n          component = this.component;\n\n      if (hasDestructors(delegate)) {\n        delegate.destroyComponent(component);\n      }\n    };\n\n    return CustomComponentState;\n  }();\n\n  var CustomManagerDefinition = function CustomManagerDefinition(name, ComponentClass, delegate, template) {\n    this.name = name;\n    this.ComponentClass = ComponentClass;\n    this.delegate = delegate;\n    this.template = template;\n    this.manager = CUSTOM_COMPONENT_MANAGER;\n    var layout = template.asLayout();\n    var symbolTable = layout.symbolTable;\n    this.symbolTable = symbolTable;\n    this.state = {\n      name: name,\n      ComponentClass: ComponentClass,\n      template: template,\n      symbolTable: symbolTable,\n      delegate: delegate\n    };\n  };\n\n  var CAPABILITIES$3 = {\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: true\n  };\n\n  var TemplateOnlyComponentManager =\n  /*#__PURE__*/\n  function (_AbstractManager5) {\n    (0, _emberBabel.inheritsLoose)(TemplateOnlyComponentManager, _AbstractManager5);\n\n    function TemplateOnlyComponentManager() {\n      return _AbstractManager5.apply(this, arguments) || this;\n    }\n\n    var _proto52 = TemplateOnlyComponentManager.prototype;\n\n    _proto52.getLayout = function getLayout(template) {\n      var layout = template.asLayout();\n      return {\n        handle: layout.compile(),\n        symbolTable: layout.symbolTable\n      };\n    };\n\n    _proto52.getCapabilities = function getCapabilities() {\n      return CAPABILITIES$3;\n    };\n\n    _proto52.create = function create() {\n      return null;\n    };\n\n    _proto52.getSelf = function getSelf() {\n      return _runtime2.NULL_REFERENCE;\n    };\n\n    _proto52.getTag = function getTag() {\n      return _reference.CONSTANT_TAG;\n    };\n\n    _proto52.getDestructor = function getDestructor() {\n      return null;\n    };\n\n    return TemplateOnlyComponentManager;\n  }(AbstractManager);\n\n  var MANAGER = new TemplateOnlyComponentManager();\n\n  var TemplateOnlyComponentDefinition = function TemplateOnlyComponentDefinition(state) {\n    this.state = state;\n    this.manager = MANAGER;\n  };\n\n  var helper$1;\n\n  if (true\n  /* DEBUG */\n  ) {\n      var ComponentAssertionReference =\n      /*#__PURE__*/\n      function () {\n        function ComponentAssertionReference(component, message) {\n          this.component = component;\n          this.message = message;\n          this.tag = component.tag;\n        }\n\n        var _proto53 = ComponentAssertionReference.prototype;\n\n        _proto53.value = function value() {\n          var value = this.component.value();\n          true && !(typeof value !== 'string') && (0, _debug.assert)(this.message, typeof value !== 'string');\n          return value;\n        };\n\n        _proto53.get = function get(property) {\n          return this.component.get(property);\n        };\n\n        return ComponentAssertionReference;\n      }();\n\n      helper$1 = function (_vm, args) {\n        return new ComponentAssertionReference(args.positional.at(0), args.positional.at(1).value());\n      };\n    } else {\n    helper$1 = function (_vm, args) {\n      return args.positional.at(0);\n    };\n  }\n\n  var componentAssertionHelper = helper$1;\n\n  function classHelper(_ref24) {\n    var positional = _ref24.positional;\n    var path = positional.at(0);\n    var args = positional.length;\n    var value = path.value();\n\n    if (value === true) {\n      if (args > 1) {\n        return (0, _string.dasherize)(positional.at(1).value());\n      }\n\n      return null;\n    }\n\n    if (value === false) {\n      if (args > 2) {\n        return (0, _string.dasherize)(positional.at(2).value());\n      }\n\n      return null;\n    }\n\n    return value;\n  }\n\n  function classHelper$1(_vm, args) {\n    return new InternalHelperReference(classHelper, args.capture());\n  }\n\n  function inputTypeHelper(_ref25) {\n    var positional = _ref25.positional;\n    var type = positional.at(0).value();\n\n    if (type === 'checkbox') {\n      return '-checkbox';\n    }\n\n    return '-text-field';\n  }\n\n  function inputTypeHelper$1(_vm, args) {\n    return new InternalHelperReference(inputTypeHelper, args.capture());\n  }\n\n  function normalizeClass(_ref26) {\n    var positional = _ref26.positional;\n    var classNameParts = positional.at(0).value().split('.');\n    var className = classNameParts[classNameParts.length - 1];\n    var value = positional.at(1).value();\n\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  function normalizeClassHelper(_vm, args) {\n    return new InternalHelperReference(normalizeClass, args.capture());\n  }\n  /**\n  @module ember\n  */\n\n  /**\n    The `{{action}}` helper provides a way to pass triggers for behavior (usually\n    just a function) between components, and into components from controllers.\n  \n    ### Passing functions with the action helper\n  \n    There are three contexts an action helper can be used in. The first two\n    contexts to discuss are attribute context, and Handlebars value context.\n  \n    ```handlebars\n    {{! An example of attribute context }}\n    <div onclick={{action \"save\"}}></div>\n    {{! Examples of Handlebars value context }}\n    {{input on-input=(action \"save\")}}\n    {{yield (action \"refreshData\") andAnotherParam}}\n    ```\n  \n    In these contexts,\n    the helper is called a \"closure action\" helper. Its behavior is simple:\n    If passed a function name, read that function off the `actions` property\n    of the current context. Once that function is read, or immediately if a function was\n    passed, create a closure over that function and any arguments.\n    The resulting value of an action helper used this way is simply a function.\n  \n    For example, in the attribute context:\n  \n    ```handlebars\n    {{! An example of attribute context }}\n    <div onclick={{action \"save\"}}></div>\n    ```\n  \n    The resulting template render logic would be:\n  \n    ```js\n    var div = document.createElement('div');\n    var actionFunction = (function(context){\n      return function() {\n        return context.actions.save.apply(context, arguments);\n      };\n    })(context);\n    div.onclick = actionFunction;\n    ```\n  \n    Thus when the div is clicked, the action on that context is called.\n    Because the `actionFunction` is just a function, closure actions can be\n    passed between components and still execute in the correct context.\n  \n    Here is an example action handler on a component:\n  \n    ```app/components/my-component.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      actions: {\n        save() {\n          this.get('model').save();\n        }\n      }\n    });\n    ```\n  \n    Actions are always looked up on the `actions` property of the current context.\n    This avoids collisions in the naming of common actions, such as `destroy`.\n    Two options can be passed to the `action` helper when it is used in this way.\n  \n    * `target=someProperty` will look to `someProperty` instead of the current\n      context for the `actions` hash. This can be useful when targeting a\n      service for actions.\n    * `value=\"target.value\"` will read the path `target.value` off the first\n      argument to the action when it is called and rewrite the first argument\n      to be that value. This is useful when attaching actions to event listeners.\n  \n    ### Invoking an action\n  \n    Closure actions curry both their scope and any arguments. When invoked, any\n    additional arguments are added to the already curried list.\n    Actions should be invoked using the [sendAction](/api/ember/release/classes/Component/methods/sendAction?anchor=sendAction)\n    method. The first argument to `sendAction` is the action to be called, and\n    additional arguments are passed to the action function. This has interesting\n    properties combined with currying of arguments. For example:\n  \n    ```app/templates/components/my-component.hbs\n    {{input on-input=(action (action 'setName' model) value=\"target.value\")}}\n    ```\n  \n    ```app/components/my-component.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      actions: {\n        setName(model, name) {\n          model.set('name', name);\n        }\n      }\n    });\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 '@ember/component';\n  \n    export default Component.extend({\n      actions: {\n        setName(model, name) {\n          model.set('name', name);\n        }\n      }\n    });\n    ```\n  \n    ```handlebars\n    <MyInput @submit={{action 'setName' this.model}} />\n    ```\n    or\n    ```handlebars\n    {{my-input submit=(action 'setName' model)}}\n    ```\n  \n    ```app/components/my-component.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      click() {\n        // Note that model is not passed, it was curried in the template\n        this.sendAction('submit', 'bob');\n      }\n    });\n    ```\n  \n    ### Attaching actions to DOM elements\n  \n    The third context of the `{{action}}` helper can be called \"element space\".\n    For example:\n  \n    ```handlebars\n    {{! An example of element space }}\n    <div {{action \"save\"}}></div>\n    ```\n  \n    Used this way, the `{{action}}` helper provides a useful shortcut for\n    registering an HTML element in a template for a single DOM event and\n    forwarding that interaction to the template's context (controller or component).\n    If the context of a template is a controller, actions used this way will\n    bubble to routes when the controller does not implement the specified action.\n    Once an action hits a route, it will bubble through the route hierarchy.\n  \n    ### Event Propagation\n  \n    `{{action}}` helpers called in element space can control event bubbling. Note\n    that the closure style actions cannot.\n  \n    Events triggered through the action helper will automatically have\n    `.preventDefault()` called on them. You do not need to do so in your event\n    handlers. If you need to allow event propagation (to handle file inputs for\n    example) you can supply the `preventDefault=false` option to the `{{action}}` helper:\n  \n    ```handlebars\n    <div {{action \"sayHello\" preventDefault=false}}>\n      <input type=\"file\" />\n      <input type=\"checkbox\" />\n    </div>\n    ```\n  \n    To disable bubbling, pass `bubbles=false` to the helper:\n  \n    ```handlebars\n    <button {{action 'edit' post bubbles=false}}>Edit</button>\n    ```\n  \n    To disable bubbling with closure style actions you must create your own\n    wrapper helper that makes use of `event.stopPropagation()`:\n  \n    ```handlebars\n    <div onclick={{disable-bubbling (action \"sayHello\")}}>Hello</div>\n    ```\n  \n    ```app/helpers/disable-bubbling.js\n    import { helper } from '@ember/component/helper';\n  \n    export function disableBubbling([action]) {\n      return function(event) {\n        event.stopPropagation();\n        return action(event);\n      };\n    }\n    export default helper(disableBubbling);\n    ```\n  \n    If you need the default handler to trigger you should either register your\n    own event handler, or use event methods on your view class. See\n    [\"Responding to Browser Events\"](/api/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\"](/api/ember/release/classes/Component) for a list of\n    acceptable DOM event names.\n  \n    ### Specifying whitelisted modifier keys\n  \n    `{{action}}` helpers called in element space can specify modifier keys.\n    By default the `{{action}}` helper will ignore click events with pressed modifier\n    keys. You can supply an `allowedKeys` option to specify which keys should not be ignored.\n  \n    ```handlebars\n    <div {{action \"anActionName\" allowedKeys=\"alt\"}}>\n      click me\n    </div>\n    ```\n  \n    This way the action will fire when clicking with the alt key pressed down.\n    Alternatively, supply \"any\" to the `allowedKeys` option to accept any combination of modifier keys.\n  \n    ```handlebars\n    <div {{action \"anActionName\" allowedKeys=\"any\"}}>\n      click me with any key pressed\n    </div>\n    ```\n  \n    ### Specifying a Target\n  \n    A `target` option can be provided to the helper to change\n    which object will receive the method call. This option must be a path\n    to an object, accessible in the current context:\n  \n    ```app/templates/application.hbs\n    <div {{action \"anActionName\" target=someService}}>\n      click me\n    </div>\n    ```\n  \n    ```app/controllers/application.js\n    import Controller from '@ember/controller';\n    import { inject as service } from '@ember/service';\n  \n    export default Controller.extend({\n      someService: service()\n    });\n    ```\n  \n    @method action\n    @for Ember.Templates.helpers\n    @public\n  */\n\n\n  function action(_vm, args) {\n    var named = args.named,\n        positional = args.positional;\n    var capturedArgs = positional.capture(); // The first two argument slots are reserved.\n    // pos[0] is the context (or `this`)\n    // pos[1] is the action name or function\n    // Anything else is an action argument.\n\n    var _capturedArgs$referen = capturedArgs.references,\n        context = _capturedArgs$referen[0],\n        action = _capturedArgs$referen[1],\n        restArgs = _capturedArgs$referen.slice(2); // TODO: Is there a better way of doing this?\n\n\n    var debugKey = action.propertyKey;\n    var target = named.has('target') ? named.get('target') : context;\n    var processArgs = makeArgsProcessor(named.has('value') && named.get('value'), restArgs);\n    var fn;\n\n    if (typeof action[INVOKE] === 'function') {\n      fn = makeClosureAction(action, action, action[INVOKE], processArgs, debugKey);\n    } else if ((0, _reference.isConst)(target) && (0, _reference.isConst)(action)) {\n      fn = makeClosureAction(context.value(), target.value(), action.value(), processArgs, debugKey);\n    } else {\n      fn = makeDynamicClosureAction(context.value(), target, action, processArgs, debugKey);\n    }\n\n    fn[ACTION] = true;\n    return new UnboundReference(fn);\n  }\n\n  function NOOP$1(args) {\n    return args;\n  }\n\n  function makeArgsProcessor(valuePathRef, actionArgsRef) {\n    var mergeArgs;\n\n    if (actionArgsRef.length > 0) {\n      mergeArgs = function (args) {\n        return actionArgsRef.map(function (ref) {\n          return ref.value();\n        }).concat(args);\n      };\n    }\n\n    var readValue;\n\n    if (valuePathRef) {\n      readValue = function (args) {\n        var valuePath = valuePathRef.value();\n\n        if (valuePath && args.length > 0) {\n          args[0] = (0, _metal.get)(args[0], valuePath);\n        }\n\n        return args;\n      };\n    }\n\n    if (mergeArgs && readValue) {\n      return function (args) {\n        return readValue(mergeArgs(args));\n      };\n    } else {\n      return mergeArgs || readValue || NOOP$1;\n    }\n  }\n\n  function makeDynamicClosureAction(context, targetRef, actionRef, processArgs, debugKey) {\n    // We don't allow undefined/null values, so this creates a throw-away action to trigger the assertions\n    if (true\n    /* DEBUG */\n    ) {\n        makeClosureAction(context, targetRef.value(), actionRef.value(), processArgs, debugKey);\n      }\n\n    return function () {\n      return makeClosureAction(context, targetRef.value(), actionRef.value(), processArgs, debugKey).apply(void 0, arguments);\n    };\n  }\n\n  function makeClosureAction(context, target, action, processArgs, debugKey) {\n    var self;\n    var fn;\n    true && !(action !== undefined && action !== null) && (0, _debug.assert)(\"Action passed is null or undefined in (action) from \" + target + \".\", action !== undefined && action !== null);\n\n    if (typeof action[INVOKE] === 'function') {\n      self = action;\n      fn = action[INVOKE];\n    } else {\n      var typeofAction = typeof action;\n\n      if (typeofAction === 'string') {\n        self = target;\n        fn = target.actions && target.actions[action];\n        true && !fn && (0, _debug.assert)(\"An action named '\" + action + \"' was not found in \" + target, fn);\n      } else if (typeofAction === 'function') {\n        self = context;\n        fn = action;\n      } else {\n        // tslint:disable-next-line:max-line-length\n        true && !false && (0, _debug.assert)(\"An action could not be made for `\" + (debugKey || action) + \"` in \" + target + \". Please confirm that you are using either a quoted action name (i.e. `(action '\" + (debugKey || 'myAction') + \"')`) or a function available in \" + target + \".\", false);\n      }\n    }\n\n    return function () {\n      for (var _len = arguments.length, args = new Array(_len), _key2 = 0; _key2 < _len; _key2++) {\n        args[_key2] = arguments[_key2];\n      }\n\n      var payload = {\n        target: self,\n        args: args,\n        label: '@glimmer/closure-action'\n      };\n      return (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, function () {\n        return _runloop.join.apply(void 0, [self, fn].concat(processArgs(args)));\n      });\n    };\n  }\n  /**\n  @module ember\n  */\n\n  /**\n     Use the `{{array}}` helper to create an array to pass as an option to your\n     components.\n  \n     ```handlebars\n     <MyComponent @people={{array\n       'Tom Dade'\n       'Yehuda Katz'\n       this.myOtherPerson}}\n     />\n     ```\n      or\n     ```handlebars\n     {{my-component people=(array\n       'Tom Dade'\n       'Yehuda Katz'\n       this.myOtherPerson)\n     }}\n     ```\n  \n     Would result in an object such as:\n  \n     ```js\n     ['Tom Date', 'Yehuda Katz', this.get('myOtherPerson')]\n     ```\n  \n     Where the 3rd item in the array is bound to updates of the `myOtherPerson` property.\n  \n     @method array\n     @for Ember.Templates.helpers\n     @param {Array} options\n     @return {Array} Array\n     @since 3.8.0\n     @public\n   */\n\n\n  function array(_vm, args) {\n    return args.positional.capture();\n  }\n\n  var isEmpty = function (value) {\n    return value === null || value === undefined || typeof value.toString !== 'function';\n  };\n\n  var normalizeTextValue = function (value) {\n    if (isEmpty(value)) {\n      return '';\n    }\n\n    return String(value);\n  };\n  /**\n  @module ember\n  */\n\n  /**\n    Concatenates the given arguments into a string.\n  \n    Example:\n  \n    ```handlebars\n    {{some-component name=(concat firstName \" \" lastName)}}\n  \n    {{! would pass name=\"<first name value> <last name value>\" to the component}}\n    ```\n  \n    or for angle bracket invocation, you actually don't need concat at all.\n  \n    ```handlebars\n    <SomeComponent @name=\"{{firstName}} {{lastName}}\" />\n    ```\n  \n    @public\n    @method concat\n    @for Ember.Templates.helpers\n    @since 1.13.0\n  */\n\n\n  function concat(_ref27) {\n    var positional = _ref27.positional;\n    return positional.value().map(normalizeTextValue).join('');\n  }\n\n  function concat$1(_vm, args) {\n    return new InternalHelperReference(concat, args.capture());\n  }\n\n  function buildUntouchableThis(source) {\n    var context = null;\n\n    if (true\n    /* DEBUG */\n    && _utils.HAS_NATIVE_PROXY) {\n      var assertOnProperty = function (property) {\n        true && !false && (0, _debug.assert)(\"You accessed `this.\" + String(property) + \"` from a function passed to the \" + source + \", but the function itself was not bound to a valid `this` context. Consider updating to usage of `@action`.\");\n      };\n\n      context = new Proxy({}, {\n        get: function (_target, property) {\n          assertOnProperty(property);\n        },\n        set: function (_target, property) {\n          assertOnProperty(property);\n          return false;\n        },\n        has: function (_target, property) {\n          assertOnProperty(property);\n          return false;\n        }\n      });\n    }\n\n    return context;\n  }\n\n  var context = buildUntouchableThis('`fn` helper');\n  /**\n  @module ember\n  */\n\n  /**\n    The `fn` helper allows you to ensure a function that you are passing off\n    to another component, helper, or modifier has access to arguments that are\n    available in the template.\n  \n    For example, if you have an `each` helper looping over a number of items, you\n    may need to pass a function that expects to receive the item as an argument\n    to a component invoked within the loop. Here's how you could use the `fn`\n    helper to pass both the function and its arguments together:\n  \n      ```app/templates/components/items-listing.hbs\n    {{#each @items as |item|}}\n      <DisplayItem @item=item @select={{fn this.handleSelected item}} />\n    {{/each}}\n    ```\n  \n    ```app/components/items-list.js\n    import Component from '@glimmer/component';\n    import { action } from '@ember/object';\n  \n    export default class ItemsList extends Component {\n      @action\n      handleSelected(item) {\n        // ...snip...\n      }\n    }\n    ```\n  \n    In this case the `display-item` component will receive a normal function\n    that it can invoke. When it invokes the function, the `handleSelected`\n    function will receive the `item` and any arguments passed, thanks to the\n    `fn` helper.\n  \n    Let's take look at what that means in a couple circumstances:\n  \n    - When invoked as `this.args.select()` the `handleSelected` function will\n      receive the `item` from the loop as its first and only argument.\n    - When invoked as `this.args.selected('foo')` the `handleSelected` function\n      will receive the `item` from the loop as its first argument and the\n      string `'foo'` as its second argument.\n  \n    In the example above, we used `@action` to ensure that `handleSelected` is\n    properly bound to the `items-list`, but let's explore what happens if we\n    left out `@action`:\n  \n    ```app/components/items-list.js\n    import Component from '@glimmer/component';\n  \n    export default class ItemsList extends Component {\n      handleSelected(item) {\n        // ...snip...\n      }\n    }\n    ```\n  \n    In this example, when `handleSelected` is invoked inside the `display-item`\n    component, it will **not** have access to the component instance. In other\n    words, it will have no `this` context, so please make sure your functions\n    are bound (via `@action` or other means) before passing into `fn`!\n  \n    See also [partial application](https://en.wikipedia.org/wiki/Partial_application).\n  \n    @method fn\n    @for Ember.Templates.helpers\n    @public\n    @since 3.11.0\n  */\n\n  function fnHelper(_ref28) {\n    var positional = _ref28.positional;\n    var callbackRef = positional.at(0);\n\n    if (true\n    /* DEBUG */\n    && typeof callbackRef[INVOKE] !== 'function') {\n      var callback = callbackRef.value();\n      true && !(typeof callback === 'function') && (0, _debug.assert)(\"You must pass a function as the `fn` helpers first argument, you passed \" + callback, typeof callback === 'function');\n    }\n\n    return function () {\n      var _positional$value = positional.value(),\n          fn = _positional$value[0],\n          args = _positional$value.slice(1);\n\n      for (var _len2 = arguments.length, invocationArgs = new Array(_len2), _key3 = 0; _key3 < _len2; _key3++) {\n        invocationArgs[_key3] = arguments[_key3];\n      }\n\n      if (typeof callbackRef[INVOKE] === 'function') {\n        // references with the INVOKE symbol expect the function behind\n        // the symbol to be bound to the reference\n        return callbackRef[INVOKE].apply(callbackRef, args.concat(invocationArgs));\n      } else {\n        return fn['call'].apply(fn, [context].concat(args, invocationArgs));\n      }\n    };\n  }\n\n  function fn(_vm, args) {\n    return new InternalHelperReference(fnHelper, args.capture());\n  }\n  /**\n  @module ember\n  */\n\n  /**\n    Dynamically look up a property on an object. The second argument to `{{get}}`\n    should have a string value, although it can be bound.\n  \n    For example, these two usages are equivalent:\n  \n    ```handlebars\n    {{person.height}}\n    {{get person \"height\"}}\n    ```\n  \n    If there were several facts about a person, the `{{get}}` helper can dynamically\n    pick one:\n  \n    ```handlebars\n    {{get person 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    ```handlebars\n    {{get person factName}}\n    <button {{action (fn (mut factName)) \"height\"}}>Show height</button>\n    <button {{action (fn (mut factName)) \"weight\"}}>Show weight</button>\n    ```\n  \n    The `{{get}}` helper can also respect mutable values itself. For example:\n  \n    ```handlebars\n    {{input value=(mut (get person factName)) type=\"text\"}}\n    <button {{action (fn (mut factName)) \"height\"}}>Show height</button>\n    <button {{action (fn (mut factName)) \"weight\"}}>Show weight</button>\n    ```\n  \n    Would allow the user to swap what fact is being displayed, and also edit\n    that fact via a two-way mutable binding.\n  \n    @public\n    @method get\n    @for Ember.Templates.helpers\n    @since 2.1.0\n   */\n\n\n  function get$1(_vm, args) {\n    return GetHelperReference.create(args.positional.at(0), args.positional.at(1));\n  }\n\n  function referenceFromPath(source, path) {\n    var innerReference;\n\n    if (path === undefined || path === null || path === '') {\n      innerReference = _runtime2.NULL_REFERENCE;\n    } else if (typeof path === 'string' && path.indexOf('.') > -1) {\n      innerReference = referenceFromParts(source, path.split('.'));\n    } else {\n      innerReference = source.get(path);\n    }\n\n    return innerReference;\n  }\n\n  var GetHelperReference =\n  /*#__PURE__*/\n  function (_CachedReference$6) {\n    (0, _emberBabel.inheritsLoose)(GetHelperReference, _CachedReference$6);\n\n    GetHelperReference.create = function create(sourceReference, pathReference) {\n      if ((0, _reference.isConst)(pathReference)) {\n        var path = pathReference.value();\n        return referenceFromPath(sourceReference, path);\n      } else {\n        return new GetHelperReference(sourceReference, pathReference);\n      }\n    };\n\n    function GetHelperReference(sourceReference, pathReference) {\n      var _this22;\n\n      _this22 = _CachedReference$6.call(this) || this;\n      _this22.sourceReference = sourceReference;\n      _this22.pathReference = pathReference;\n      _this22.lastPath = null;\n      _this22.innerReference = _runtime2.NULL_REFERENCE;\n\n      var innerTag = _this22.innerTag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n\n      _this22.tag = (0, _reference.combine)([sourceReference.tag, pathReference.tag, innerTag]);\n      return _this22;\n    }\n\n    var _proto54 = GetHelperReference.prototype;\n\n    _proto54.compute = function compute() {\n      var lastPath = this.lastPath,\n          innerReference = this.innerReference,\n          innerTag = this.innerTag;\n      var path = this.pathReference.value();\n\n      if (path !== lastPath) {\n        innerReference = referenceFromPath(this.sourceReference, path);\n        innerTag.inner.update(innerReference.tag);\n        this.innerReference = innerReference;\n        this.lastPath = path;\n      }\n\n      return innerReference.value();\n    };\n\n    _proto54[UPDATE] = function (value) {\n      (0, _metal.set)(this.sourceReference.value(), this.pathReference.value(), value);\n    };\n\n    return GetHelperReference;\n  }(CachedReference$1);\n  /**\n  @module ember\n  */\n\n  /**\n     Use the `{{hash}}` helper to create a hash to pass as an option to your\n     components. This is specially useful for contextual components where you can\n     just yield a hash:\n  \n     ```handlebars\n     {{yield (hash\n        name='Sarah'\n        title=office\n     )}}\n     ```\n  \n     Would result in an object such as:\n  \n     ```js\n     { name: 'Sarah', title: this.get('office') }\n     ```\n  \n     Where the `title` is bound to updates of the `office` property.\n  \n     Note that the hash is an empty object with no prototype chain, therefore\n     common methods like `toString` are not available in the resulting hash.\n     If you need to use such a method, you can use the `call` or `apply`\n     approach:\n  \n     ```js\n     function toString(obj) {\n       return Object.prototype.toString.apply(obj);\n     }\n     ```\n  \n     @method hash\n     @for Ember.Templates.helpers\n     @param {Object} options\n     @return {Object} Hash\n     @since 2.3.0\n     @public\n   */\n\n\n  function hash(_vm, args) {\n    return args.named.capture();\n  }\n  /**\n  @module ember\n  */\n\n\n  var ConditionalHelperReference =\n  /*#__PURE__*/\n  function (_CachedReference$7) {\n    (0, _emberBabel.inheritsLoose)(ConditionalHelperReference, _CachedReference$7);\n\n    ConditionalHelperReference.create = function create(_condRef, truthyRef, falsyRef) {\n      var condRef = ConditionalReference$1.create(_condRef);\n\n      if ((0, _reference.isConst)(condRef)) {\n        return condRef.value() ? truthyRef : falsyRef;\n      } else {\n        return new ConditionalHelperReference(condRef, truthyRef, falsyRef);\n      }\n    };\n\n    function ConditionalHelperReference(cond, truthy, falsy) {\n      var _this23;\n\n      _this23 = _CachedReference$7.call(this) || this;\n      _this23.branchTag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n      _this23.tag = (0, _reference.combine)([cond.tag, _this23.branchTag]);\n      _this23.cond = cond;\n      _this23.truthy = truthy;\n      _this23.falsy = falsy;\n      return _this23;\n    }\n\n    var _proto55 = ConditionalHelperReference.prototype;\n\n    _proto55.compute = function compute() {\n      var branch = this.cond.value() ? this.truthy : this.falsy;\n      this.branchTag.inner.update(branch.tag);\n      return branch.value();\n    };\n\n    return ConditionalHelperReference;\n  }(CachedReference$1);\n  /**\n    The `if` helper allows you to conditionally render one of two branches,\n    depending on the \"truthiness\" of a property.\n    For example the following values are all falsey: `false`, `undefined`, `null`, `\"\"`, `0`, `NaN` or an empty array.\n  \n    This helper has two forms, block and inline.\n  \n    ## Block form\n  \n    You can use the block form of `if` to conditionally render a section of the template.\n  \n    To use it, pass the conditional value to the `if` helper,\n    using the block form to wrap the section of template you want to conditionally render.\n    Like so:\n  \n    ```handlebars\n    {{! will not render if foo is falsey}}\n    {{#if foo}}\n      Welcome to the {{foo.bar}}\n    {{/if}}\n    ```\n  \n    You can also specify a template to show if the property is falsey by using\n    the `else` helper.\n  \n    ```handlebars\n    {{! is it raining outside?}}\n    {{#if isRaining}}\n      Yes, grab an umbrella!\n    {{else}}\n      No, it's lovely outside!\n    {{/if}}\n    ```\n  \n    You are also able to combine `else` and `if` helpers to create more complex\n    conditional logic.\n  \n    ```handlebars\n    {{#if isMorning}}\n      Good morning\n    {{else if isAfternoon}}\n      Good afternoon\n    {{else}}\n      Good night\n    {{/if}}\n    ```\n  \n    ## Inline form\n  \n    The inline `if` helper conditionally renders a single property or string.\n  \n    In this form, the `if` helper receives three arguments, the conditional value,\n    the value to render when truthy, and the value to render when falsey.\n  \n    For example, if `useLongGreeting` is truthy, the following:\n  \n    ```handlebars\n    {{if useLongGreeting \"Hello\" \"Hi\"}} Alex\n    ```\n  \n    Will render:\n  \n    ```html\n    Hello Alex\n    ```\n  \n    ### Nested `if`\n  \n    You can use the `if` helper inside another helper as a nested helper:\n  \n    ```handlebars\n    <SomeComponent @height={{if isBig \"100\" \"10\"}} />\n    ```\n  \n    or\n  \n    ```handlebars\n    {{some-component height=(if isBig \"100\" \"10\")}}\n    ```\n  \n    One detail to keep in mind is that both branches of the `if` helper will be evaluated,\n    so if you have `{{if condition \"foo\" (expensive-operation \"bar\")`,\n    `expensive-operation` will always calculate.\n  \n    @method if\n    @for Ember.Templates.helpers\n    @public\n  */\n\n\n  function inlineIf(_vm, _ref29) {\n    var positional = _ref29.positional;\n    true && !(positional.length === 3 || positional.length === 2) && (0, _debug.assert)('The inline form of the `if` helper expects two or three arguments, e.g. ' + '`{{if trialExpired \"Expired\" expiryDate}}`.', positional.length === 3 || positional.length === 2);\n    return ConditionalHelperReference.create(positional.at(0), positional.at(1), positional.at(2));\n  }\n  /**\n    The `unless` helper is the inverse of the `if` helper. It displays if a value\n    is falsey (\"not true\" or \"is false\"). Example values that will display with\n    `unless`: `false`, `undefined`, `null`, `\"\"`, `0`, `NaN` or an empty array.\n  \n    ## Inline form\n  \n    The inline `unless` helper conditionally renders a single property or string.\n    This helper acts like a ternary operator. If the first property is falsy,\n    the second argument will be displayed, otherwise, the third argument will be\n    displayed\n  \n    For example, if `useLongGreeting` is false below:\n  \n    ```handlebars\n    {{unless useLongGreeting \"Hi\" \"Hello\"}} Ben\n    ```\n  \n    Then it will display:\n  \n    ```html\n    Hi\n    ```\n  \n    You can use the `unless` helper inside another helper as a subexpression.\n    If isBig is not true, it will set the height to 10:\n  \n    ```handlebars\n    {{! If isBig is not true, it will set the height to 10.}}\n    <SomeComponent @height={{unless isBig \"10\" \"100\"}} />\n    ```\n  \n    or\n  \n    ```handlebars\n    {{some-component height=(unless isBig \"10\" \"100\")}}\n    ```\n  \n    ## Block form\n  \n    Like the `if` helper, `unless` helper also has a block form.\n  \n    ```handlebars\n    {{! If greetings are found, the text below will not render.}}\n    {{#unless greetings}}\n      No greetings were found. Why not set one?\n    {{/unless}}\n    ```\n  \n    You can also use an `else` helper with the `unless` block. The\n    `else` will display if the value is truthy.\n  \n    ```handlebars\n    {{! Is the user logged in?}}\n    {{#unless userData}}\n      Please login.\n    {{else}}\n      Welcome back!\n    {{/unless}}\n    ```\n  \n    If `userData` is false, undefined, null, or empty in the above example,\n    then it will render:\n  \n    ```html\n    Please login.\n    ```\n  \n    @method unless\n    @for Ember.Templates.helpers\n    @public\n  */\n\n\n  function inlineUnless(_vm, _ref30) {\n    var positional = _ref30.positional;\n    true && !(positional.length === 3 || positional.length === 2) && (0, _debug.assert)('The inline form of the `unless` helper expects two or three arguments, e.g. ' + '`{{unless isFirstLogin \"Welcome back!\"}}`.', positional.length === 3 || positional.length === 2);\n    return ConditionalHelperReference.create(positional.at(0), positional.at(2), positional.at(1));\n  }\n  /**\n  @module ember\n  */\n\n  /**\n    `log` allows you to output the value of variables in the current rendering\n    context. `log` also accepts primitive types such as strings or numbers.\n  \n    ```handlebars\n    {{log \"myVariable:\" myVariable }}\n    ```\n  \n    @method log\n    @for Ember.Templates.helpers\n    @param {Array} params\n    @public\n  */\n\n\n  function log(_ref31) {\n    var _console;\n\n    var positional = _ref31.positional;\n    /* eslint-disable no-console */\n\n    (_console = console).log.apply(_console, positional.value());\n    /* eslint-enable no-console */\n\n  }\n\n  function log$1(_vm, args) {\n    return new InternalHelperReference(log, args.capture());\n  }\n  /**\n  @module ember\n  */\n\n  /**\n    The `mut` helper lets you __clearly specify__ that a child `Component` can update the\n    (mutable) value passed to it, which will __change the value of the parent component__.\n  \n    To specify that a parameter is mutable, when invoking the child `Component`:\n  \n    ```handlebars\n    <MyChild @childClickCount={{fn (mut totalClicks)}} />\n    ```\n  \n     or\n  \n    ```handlebars\n    {{my-child childClickCount=(mut totalClicks)}}\n    ```\n  \n    The child `Component` can then modify the parent's value just by modifying its own\n    property:\n  \n    ```javascript\n    // my-child.js\n    export default Component.extend({\n      click() {\n        this.incrementProperty('childClickCount');\n      }\n    });\n    ```\n  \n    Note that for curly components (`{{my-component}}`) the bindings are already mutable,\n    making the `mut` unnecessary.\n  \n    Additionally, the `mut` helper can be combined with the `fn` helper to\n    mutate a value. For example:\n  \n    ```handlebars\n    <MyChild @childClickCount={{this.totalClicks}} @click-count-change={{fn (mut totalClicks))}} />\n    ```\n  \n    or\n  \n    ```handlebars\n    {{my-child childClickCount=totalClicks click-count-change=(fn (mut totalClicks))}}\n    ```\n  \n    The child `Component` would invoke the function with the new click value:\n  \n    ```javascript\n    // my-child.js\n    export default Component.extend({\n      click() {\n        this.get('click-count-change')(this.get('childClickCount') + 1);\n      }\n    });\n    ```\n  \n    The `mut` helper changes the `totalClicks` value to what was provided as the `fn` argument.\n  \n    The `mut` helper, when used with `fn`, will return a function that\n    sets the value passed to `mut` to its first argument. As an example, we can create a\n    button that increments a value passing the value directly to the `fn`:\n  \n    ```handlebars\n    {{! inc helper is not provided by Ember }}\n    <button onclick={{fn (mut count) (inc count)}}>\n      Increment count\n    </button>\n    ```\n  \n    You can also use the `value` option:\n  \n    ```handlebars\n    <input value={{name}} oninput={{fn (mut name) value=\"target.value\"}}>\n    ```\n  \n    @method mut\n    @param {Object} [attr] the \"two-way\" attribute that can be modified.\n    @for Ember.Templates.helpers\n    @public\n  */\n\n\n  var MUT_REFERENCE = (0, _utils.symbol)('MUT');\n  var SOURCE = (0, _utils.symbol)('SOURCE');\n\n  function isMut(ref) {\n    return ref && ref[MUT_REFERENCE];\n  }\n\n  function unMut(ref) {\n    return ref[SOURCE] || ref;\n  }\n\n  function mut(_vm, args) {\n    var rawRef = args.positional.at(0);\n\n    if (isMut(rawRef)) {\n      return rawRef;\n    } // TODO: Improve this error message. This covers at least two distinct\n    // cases:\n    //\n    // 1. (mut \"not a path\") – passing a literal, result from a helper\n    //    invocation, etc\n    //\n    // 2. (mut receivedValue) – passing a value received from the caller\n    //    that was originally derived from a literal, result from a helper\n    //    invocation, etc\n    //\n    // This message is alright for the first case, but could be quite\n    // confusing for the second case.\n\n\n    true && !rawRef[UPDATE] && (0, _debug.assert)('You can only pass a path to mut', rawRef[UPDATE]);\n    var wrappedRef = Object.create(rawRef);\n    wrappedRef[SOURCE] = rawRef;\n    wrappedRef[INVOKE] = rawRef[UPDATE];\n    wrappedRef[MUT_REFERENCE] = true;\n    return wrappedRef;\n  }\n  /**\n  @module ember\n  */\n\n  /**\n    This is a helper to be used in conjunction with the link-to helper.\n    It will supply url query parameters to the target route.\n  \n    Example\n  \n    ```handlebars\n    {{#link-to 'posts' (query-params direction=\"asc\")}}Sort{{/link-to}}\n    ```\n  \n    @method query-params\n    @for Ember.Templates.helpers\n    @param {Object} hash takes a hash of query parameters\n    @return {Object} A `QueryParams` object for `{{link-to}}`\n    @public\n  */\n\n\n  function queryParams(_ref32) {\n    var positional = _ref32.positional,\n        named = _ref32.named; // tslint:disable-next-line:max-line-length\n\n    true && !(positional.value().length === 0) && (0, _debug.assert)(\"The `query-params` helper only accepts hash parameters, e.g. (query-params queryParamPropertyName='foo') as opposed to just (query-params 'foo')\", positional.value().length === 0);\n    return new _routing.QueryParams((0, _polyfills.assign)({}, named.value()));\n  }\n\n  function queryParams$1(_vm, args) {\n    return new InternalHelperReference(queryParams, args.capture());\n  }\n  /**\n    The `readonly` helper let's you specify that a binding is one-way only,\n    instead of two-way.\n    When you pass a `readonly` binding from an outer context (e.g. parent component),\n    to to an inner context (e.g. child component), you are saying that changing that\n    property in the inner context does not change the value in the outer context.\n  \n    To specify that a binding is read-only, when invoking the child `Component`:\n  \n    ```app/components/my-parent.js\n    export default Component.extend({\n      totalClicks: 3\n    });\n    ```\n  \n    ```app/templates/components/my-parent.hbs\n    {{log totalClicks}} // -> 3\n    <MyChild @childClickCount={{readonly totalClicks}} />\n    ```\n    ```\n    {{my-child childClickCount=(readonly totalClicks)}}\n    ```\n  \n    Now, when you update `childClickCount`:\n  \n    ```app/components/my-child.js\n    export default Component.extend({\n      click() {\n        this.incrementProperty('childClickCount');\n      }\n    });\n    ```\n  \n    The value updates in the child component, but not the parent component:\n  \n    ```app/templates/components/my-child.hbs\n    {{log childClickCount}} //-> 4\n    ```\n  \n    ```app/templates/components/my-parent.hbs\n    {{log totalClicks}} //-> 3\n    <MyChild @childClickCount={{readonly totalClicks}} />\n    ```\n    or\n    ```app/templates/components/my-parent.hbs\n    {{log totalClicks}} //-> 3\n    {{my-child childClickCount=(readonly totalClicks)}}\n    ```\n  \n    ### Objects and Arrays\n  \n    When passing a property that is a complex object (e.g. object, array) instead of a primitive object (e.g. number, string),\n    only the reference to the object is protected using the readonly helper.\n    This means that you can change properties of the object both on the parent component, as well as the child component.\n    The `readonly` binding behaves similar to the `const` keyword in JavaScript.\n  \n    Let's look at an example:\n  \n    First let's set up the parent component:\n  \n    ```app/components/my-parent.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      clicks: null,\n  \n      init() {\n        this._super(...arguments);\n        this.set('clicks', { total: 3 });\n      }\n    });\n    ```\n  \n    ```app/templates/components/my-parent.hbs\n    {{log clicks.total}} //-> 3\n    <MyChild @childClicks={{readonly clicks}} />\n    ```\n    ```app/templates/components/my-parent.hbs\n    {{log clicks.total}} //-> 3\n    {{my-child childClicks=(readonly clicks)}}\n    ```\n  \n    Now, if you update the `total` property of `childClicks`:\n  \n    ```app/components/my-child.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      click() {\n        this.get('clicks').incrementProperty('total');\n      }\n    });\n    ```\n  \n    You will see the following happen:\n  \n    ```app/templates/components/my-parent.hbs\n    {{log clicks.total}} //-> 4\n    <MyChild @childClicks={{readonly clicks}} />\n    ```\n    or\n    ```app/templates/components/my-parent.hbs\n    {{log clicks.total}} //-> 4\n    {{my-child childClicks=(readonly clicks)}}\n    ```\n  \n    ```app/templates/components/my-child.hbs\n    {{log childClicks.total}} //-> 4\n    ```\n  \n    @method readonly\n    @param {Object} [attr] the read-only attribute.\n    @for Ember.Templates.helpers\n    @private\n  */\n\n\n  function readonly(_vm, args) {\n    var ref = unMut(args.positional.at(0));\n    return new ReadonlyReference(ref);\n  }\n  /**\n  @module ember\n  */\n\n  /**\n    The `{{unbound}}` helper disconnects the one-way binding of a property,\n    essentially freezing its value at the moment of rendering. For example,\n    in this example the display of the variable `name` will not change even\n    if it is set with a new value:\n  \n    ```handlebars\n    {{unbound 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 name)}}\n    {{! You can use any helper, including unbound, in a nested expression }}\n    {{capitalize (unbound name)}}\n    ```\n  \n    The `unbound` helper only accepts a single argument, and it return an\n    unbound value.\n  \n    @method unbound\n    @for Ember.Templates.helpers\n    @public\n  */\n\n\n  function unbound(_vm, args) {\n    true && !(args.positional.length === 1 && args.named.length === 0) && (0, _debug.assert)('unbound helper cannot be called with multiple params or hash params', args.positional.length === 1 && args.named.length === 0);\n    return UnboundReference.create(args.positional.at(0).value());\n  }\n\n  var MODIFIERS = ['alt', 'shift', 'meta', 'ctrl'];\n  var POINTER_EVENT_TYPE_REGEX = /^click|mouse|touch/;\n\n  function isAllowedEvent(event, allowedKeys) {\n    if (allowedKeys === null || allowedKeys === undefined) {\n      if (POINTER_EVENT_TYPE_REGEX.test(event.type)) {\n        return (0, _views.isSimpleClick)(event);\n      } else {\n        allowedKeys = '';\n      }\n    }\n\n    if (allowedKeys.indexOf('any') >= 0) {\n      return true;\n    }\n\n    for (var i = 0; i < MODIFIERS.length; i++) {\n      if (event[MODIFIERS[i] + 'Key'] && allowedKeys.indexOf(MODIFIERS[i]) === -1) {\n        return false;\n      }\n    }\n\n    return true;\n  }\n\n  var ActionHelper = {\n    // registeredActions is re-exported for compatibility with older plugins\n    // that were using this undocumented API.\n    registeredActions: _views.ActionManager.registeredActions,\n    registerAction: function (actionState) {\n      var actionId = actionState.actionId;\n      _views.ActionManager.registeredActions[actionId] = actionState;\n      return actionId;\n    },\n    unregisterAction: function (actionState) {\n      var actionId = actionState.actionId;\n      delete _views.ActionManager.registeredActions[actionId];\n    }\n  };\n\n  var ActionState =\n  /*#__PURE__*/\n  function () {\n    function ActionState(element, actionId, actionName, actionArgs, namedArgs, positionalArgs, implicitTarget, dom, tag) {\n      this.element = element;\n      this.actionId = actionId;\n      this.actionName = actionName;\n      this.actionArgs = actionArgs;\n      this.namedArgs = namedArgs;\n      this.positional = positionalArgs;\n      this.implicitTarget = implicitTarget;\n      this.dom = dom;\n      this.eventName = this.getEventName();\n      this.tag = tag;\n    }\n\n    var _proto56 = ActionState.prototype;\n\n    _proto56.getEventName = function getEventName() {\n      return this.namedArgs.get('on').value() || 'click';\n    };\n\n    _proto56.getActionArgs = function getActionArgs() {\n      var result = new Array(this.actionArgs.length);\n\n      for (var i = 0; i < this.actionArgs.length; i++) {\n        result[i] = this.actionArgs[i].value();\n      }\n\n      return result;\n    };\n\n    _proto56.getTarget = function getTarget() {\n      var implicitTarget = this.implicitTarget,\n          namedArgs = this.namedArgs;\n      var target;\n\n      if (namedArgs.has('target')) {\n        target = namedArgs.get('target').value();\n      } else {\n        target = implicitTarget.value();\n      }\n\n      return target;\n    };\n\n    _proto56.handler = function handler(event) {\n      var _this24 = this;\n\n      var actionName = this.actionName,\n          namedArgs = this.namedArgs;\n      var bubbles = namedArgs.get('bubbles');\n      var preventDefault = namedArgs.get('preventDefault');\n      var allowedKeys = namedArgs.get('allowedKeys');\n      var target = this.getTarget();\n      var shouldBubble = bubbles.value() !== false;\n\n      if (!isAllowedEvent(event, allowedKeys.value())) {\n        return true;\n      }\n\n      if (preventDefault.value() !== false) {\n        event.preventDefault();\n      }\n\n      if (!shouldBubble) {\n        event.stopPropagation();\n      }\n\n      (0, _runloop.join)(function () {\n        var args = _this24.getActionArgs();\n\n        var payload = {\n          args: args,\n          target: target,\n          name: null\n        };\n\n        if (typeof actionName[INVOKE] === 'function') {\n          (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, function () {\n            actionName[INVOKE].apply(actionName, args);\n          });\n          return;\n        }\n\n        if (typeof actionName === 'function') {\n          (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, function () {\n            actionName.apply(target, args);\n          });\n          return;\n        }\n\n        payload.name = actionName;\n\n        if (target.send) {\n          (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, function () {\n            target.send.apply(target, [actionName].concat(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, function () {\n            target[actionName].apply(target, args);\n          });\n        }\n      });\n      return shouldBubble;\n    };\n\n    _proto56.destroy = function destroy() {\n      ActionHelper.unregisterAction(this);\n    };\n\n    return ActionState;\n  }(); // implements ModifierManager<Action>\n\n\n  var ActionModifierManager =\n  /*#__PURE__*/\n  function () {\n    function ActionModifierManager() {}\n\n    var _proto57 = ActionModifierManager.prototype;\n\n    _proto57.create = function create(element, _state, args, _dynamicScope, dom) {\n      var _args$capture = args.capture(),\n          named = _args$capture.named,\n          positional = _args$capture.positional,\n          tag = _args$capture.tag;\n\n      var implicitTarget;\n      var actionName;\n      var actionNameRef;\n\n      if (positional.length > 1) {\n        implicitTarget = positional.at(0);\n        actionNameRef = positional.at(1);\n\n        if (actionNameRef[INVOKE]) {\n          actionName = actionNameRef;\n        } else {\n          var actionLabel = actionNameRef.propertyKey;\n          actionName = actionNameRef.value();\n          true && !(typeof actionName === 'string' || typeof actionName === 'function') && (0, _debug.assert)('You specified a quoteless path, `' + actionLabel + '`, to the ' + '{{action}} helper which did not resolve to an action name (a ' + 'string). Perhaps you meant to use a quoted actionName? (e.g. ' + '{{action \"' + actionLabel + '\"}}).', typeof actionName === 'string' || typeof actionName === 'function');\n        }\n      }\n\n      var actionArgs = []; // The first two arguments are (1) `this` and (2) the action name.\n      // Everything else is a param.\n\n      for (var i = 2; i < positional.length; i++) {\n        actionArgs.push(positional.at(i));\n      }\n\n      var actionId = (0, _utils.uuid)();\n      return new ActionState(element, actionId, actionName, actionArgs, named, positional, implicitTarget, dom, tag);\n    };\n\n    _proto57.install = function install(actionState) {\n      var dom = actionState.dom,\n          element = actionState.element,\n          actionId = actionState.actionId;\n      ActionHelper.registerAction(actionState);\n      dom.setAttribute(element, 'data-ember-action', '');\n      dom.setAttribute(element, \"data-ember-action-\" + actionId, actionId);\n    };\n\n    _proto57.update = function update(actionState) {\n      var positional = actionState.positional;\n      var actionNameRef = positional.at(1);\n\n      if (!actionNameRef[INVOKE]) {\n        actionState.actionName = actionNameRef.value();\n      }\n\n      actionState.eventName = actionState.getEventName();\n    };\n\n    _proto57.getTag = function getTag(actionState) {\n      return actionState.tag;\n    };\n\n    _proto57.getDestructor = function getDestructor(modifier) {\n      return modifier;\n    };\n\n    return ActionModifierManager;\n  }(); // Currently there are no capabilities for modifiers\n\n\n  function capabilities$1(_managerAPI, _optionalFeatures) {\n    return {};\n  }\n\n  var CustomModifierDefinition = function CustomModifierDefinition(name, ModifierClass, delegate, isInteractive) {\n    this.name = name;\n    this.ModifierClass = ModifierClass;\n    this.delegate = delegate;\n    this.state = {\n      ModifierClass: ModifierClass,\n      name: name,\n      delegate: delegate\n    };\n    this.manager = isInteractive ? CUSTOM_INTERACTIVE_MODIFIER_MANAGER : CUSTOM_NON_INTERACTIVE_MODIFIER_MANAGER;\n  };\n\n  var CustomModifierState =\n  /*#__PURE__*/\n  function () {\n    function CustomModifierState(element, delegate, modifier, args) {\n      this.element = element;\n      this.delegate = delegate;\n      this.modifier = modifier;\n      this.args = args;\n    }\n\n    var _proto58 = CustomModifierState.prototype;\n\n    _proto58.destroy = function destroy() {\n      var delegate = this.delegate,\n          modifier = this.modifier,\n          args = this.args;\n      delegate.destroyModifier(modifier, args.value());\n    };\n\n    return CustomModifierState;\n  }();\n  /**\n    The CustomModifierManager allows addons to provide custom modifier\n    implementations that integrate seamlessly into Ember. This is accomplished\n    through a delegate, registered with the custom modifier manager, which\n    implements a set of hooks that determine modifier behavior.\n    To create a custom modifier manager, instantiate a new CustomModifierManager\n    class and pass the delegate as the first argument:\n  \n    ```js\n    let manager = new CustomModifierManager({\n      // ...delegate implementation...\n    });\n    ```\n  \n    ## Delegate Hooks\n  \n    Throughout the lifecycle of a modifier, the modifier manager will invoke\n    delegate hooks that are responsible for surfacing those lifecycle changes to\n    the end developer.\n    * `createModifier()` - invoked when a new instance of a modifier should be created\n    * `installModifier()` - invoked when the modifier is installed on the element\n    * `updateModifier()` - invoked when the arguments passed to a modifier change\n    * `destroyModifier()` - invoked when the modifier is about to be destroyed\n  */\n\n\n  var InteractiveCustomModifierManager =\n  /*#__PURE__*/\n  function () {\n    function InteractiveCustomModifierManager() {}\n\n    var _proto59 = InteractiveCustomModifierManager.prototype;\n\n    _proto59.create = function create(element, definition, args) {\n      var capturedArgs = args.capture();\n      var instance = definition.delegate.createModifier(definition.ModifierClass, capturedArgs.value());\n      return new CustomModifierState(element, definition.delegate, instance, capturedArgs);\n    };\n\n    _proto59.getTag = function getTag(_ref33) {\n      var args = _ref33.args;\n      return args.tag;\n    };\n\n    _proto59.install = function install(state) {\n      var element = state.element,\n          args = state.args,\n          delegate = state.delegate,\n          modifier = state.modifier;\n      delegate.installModifier(modifier, element, args.value());\n    };\n\n    _proto59.update = function update(state) {\n      var args = state.args,\n          delegate = state.delegate,\n          modifier = state.modifier;\n      delegate.updateModifier(modifier, args.value());\n    };\n\n    _proto59.getDestructor = function getDestructor(state) {\n      return state;\n    };\n\n    return InteractiveCustomModifierManager;\n  }();\n\n  var NonInteractiveCustomModifierManager =\n  /*#__PURE__*/\n  function () {\n    function NonInteractiveCustomModifierManager() {}\n\n    var _proto60 = NonInteractiveCustomModifierManager.prototype;\n\n    _proto60.create = function create() {\n      return null;\n    };\n\n    _proto60.getTag = function getTag() {\n      return _reference.CONSTANT_TAG;\n    };\n\n    _proto60.install = function install() {};\n\n    _proto60.update = function update() {};\n\n    _proto60.getDestructor = function getDestructor() {\n      return null;\n    };\n\n    return NonInteractiveCustomModifierManager;\n  }();\n\n  var CUSTOM_INTERACTIVE_MODIFIER_MANAGER = new InteractiveCustomModifierManager();\n  var CUSTOM_NON_INTERACTIVE_MODIFIER_MANAGER = new NonInteractiveCustomModifierManager();\n  var untouchableContext = buildUntouchableThis('`on` modifier');\n  /**\n  @module ember\n  */\n\n  /*\n    Internet Explorer 11 does not support `once` and also does not support\n    passing `eventOptions`. In some situations it then throws a weird script\n    error, like:\n  \n    ```\n    Could not complete the operation due to error 80020101\n    ```\n  \n    This flag determines, whether `{ once: true }` and thus also event options in\n    general are supported.\n  */\n\n  var SUPPORTS_EVENT_OPTIONS = function () {\n    try {\n      var div = document.createElement('div');\n      var counter = 0;\n      div.addEventListener('click', function () {\n        return counter++;\n      }, {\n        once: true\n      });\n      var event;\n\n      if (typeof Event === 'function') {\n        event = new Event('click');\n      } else {\n        event = document.createEvent('Event');\n        event.initEvent('click', true, true);\n      }\n\n      div.dispatchEvent(event);\n      div.dispatchEvent(event);\n      return counter === 1;\n    } catch (error) {\n      return false;\n    }\n  }();\n\n  var OnModifierState =\n  /*#__PURE__*/\n  function () {\n    function OnModifierState(element, args) {\n      this.shouldUpdate = true;\n      this.element = element;\n      this.args = args;\n      this.tag = args.tag;\n    }\n\n    var _proto61 = OnModifierState.prototype;\n\n    _proto61.updateFromArgs = function updateFromArgs() {\n      var args = this.args;\n\n      var _args$named$value = args.named.value(),\n          once = _args$named$value.once,\n          passive = _args$named$value.passive,\n          capture = _args$named$value.capture;\n\n      if (once !== this.once) {\n        this.once = once;\n        this.shouldUpdate = true;\n      }\n\n      if (passive !== this.passive) {\n        this.passive = passive;\n        this.shouldUpdate = true;\n      }\n\n      if (capture !== this.capture) {\n        this.capture = capture;\n        this.shouldUpdate = true;\n      }\n\n      var options;\n\n      if (once || passive || capture) {\n        options = this.options = {\n          once: once,\n          passive: passive,\n          capture: capture\n        };\n      } else {\n        this.options = undefined;\n      }\n\n      true && !(args.positional.at(0) !== undefined && typeof args.positional.at(0).value() === 'string') && (0, _debug.assert)('You must pass a valid DOM event name as the first argument to the `on` modifier', args.positional.at(0) !== undefined && typeof args.positional.at(0).value() === 'string');\n      var eventName = args.positional.at(0).value();\n\n      if (eventName !== this.eventName) {\n        this.eventName = eventName;\n        this.shouldUpdate = true;\n      }\n\n      true && !(args.positional.at(1) !== undefined && typeof args.positional.at(1).value() === 'function') && (0, _debug.assert)('You must pass a function as the second argument to the `on` modifier', args.positional.at(1) !== undefined && typeof args.positional.at(1).value() === 'function');\n      var userProvidedCallback = args.positional.at(1).value();\n\n      if (userProvidedCallback !== this.userProvidedCallback) {\n        this.userProvidedCallback = userProvidedCallback;\n        this.shouldUpdate = true;\n      }\n\n      true && !(args.positional.length === 2) && (0, _debug.assert)(\"You can only pass two positional arguments (event name and callback) to the `on` modifier, but you provided \" + args.positional.length + \". Consider using the `fn` helper to provide additional arguments to the `on` callback.\", args.positional.length === 2);\n      var needsCustomCallback = SUPPORTS_EVENT_OPTIONS === false && once ||\n      /* needs manual once implementation */\n      true\n      /* DEBUG */\n      && passive\n      /* needs passive enforcement */\n      ;\n\n      if (this.shouldUpdate) {\n        if (needsCustomCallback) {\n          var callback = this.callback = function (event) {\n            if (true\n            /* DEBUG */\n            && passive) {\n              event.preventDefault = function () {\n                true && !false && (0, _debug.assert)(\"You marked this listener as 'passive', meaning that you must not call 'event.preventDefault()': \\n\\n\" + userProvidedCallback);\n              };\n            }\n\n            if (!SUPPORTS_EVENT_OPTIONS && once) {\n              removeEventListener(this, eventName, callback, options);\n            }\n\n            return userProvidedCallback.call(untouchableContext, event);\n          };\n        } else if (true\n        /* DEBUG */\n        ) {\n            // prevent the callback from being bound to the element\n            this.callback = userProvidedCallback.bind(untouchableContext);\n          } else {\n          this.callback = userProvidedCallback;\n        }\n      }\n    };\n\n    _proto61.destroy = function destroy() {\n      var element = this.element,\n          eventName = this.eventName,\n          callback = this.callback,\n          options = this.options;\n      removeEventListener(element, eventName, callback, options);\n    };\n\n    return OnModifierState;\n  }();\n\n  var adds = 0;\n  var removes = 0;\n\n  function removeEventListener(element, eventName, callback, options) {\n    removes++;\n\n    if (SUPPORTS_EVENT_OPTIONS) {\n      // when options are supported, use them across the board\n      element.removeEventListener(eventName, callback, options);\n    } else if (options !== undefined && options.capture) {\n      // used only in the following case:\n      //\n      // `{ once: true | false, passive: true | false, capture: true }\n      //\n      // `once` is handled via a custom callback that removes after first\n      // invocation so we only care about capture here as a boolean\n      element.removeEventListener(eventName, callback, true);\n    } else {\n      // used only in the following cases:\n      //\n      // * where there is no options\n      // * `{ once: true | false, passive: true | false, capture: false }\n      element.removeEventListener(eventName, callback);\n    }\n  }\n\n  function addEventListener(element, eventName, callback, options) {\n    adds++;\n\n    if (SUPPORTS_EVENT_OPTIONS) {\n      // when options are supported, use them across the board\n      element.addEventListener(eventName, callback, options);\n    } else if (options !== undefined && options.capture) {\n      // used only in the following case:\n      //\n      // `{ once: true | false, passive: true | false, capture: true }\n      //\n      // `once` is handled via a custom callback that removes after first\n      // invocation so we only care about capture here as a boolean\n      element.addEventListener(eventName, callback, true);\n    } else {\n      // used only in the following cases:\n      //\n      // * where there is no options\n      // * `{ once: true | false, passive: true | false, capture: false }\n      element.addEventListener(eventName, callback);\n    }\n  }\n  /**\n    The `{{on}}` modifier lets you easily add event listeners (it uses\n    [EventTarget.addEventListener](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)\n    internally).\n  \n    For example, if you'd like to run a function on your component when a `<button>`\n    in the components template is clicked you might do something like:\n  \n    ```app/templates/components/like-post.hbs\n    <button {{on 'click' this.saveLike}}>Like this post!</button>\n    ```\n  \n    ```app/components/like-post.js\n    import Component from '@glimmer/component';\n    import { action } from '@ember/object';\n  \n    export default class LikePostComponent extends Component {\n      @action\n      saveLike() {\n        // someone likes your post!\n        // better send a request off to your server...\n      }\n    }\n    ```\n  \n    ### Arguments\n  \n    `{{on}}` accepts two positional arguments, and a few named arguments.\n  \n    The positional arguments are:\n  \n    - `event` -- the name to use when calling `addEventListener`\n    - `callback` -- the function to be passed to `addEventListener`\n  \n    The named arguments are:\n  \n    - capture -- a `true` value indicates that events of this type will be dispatched\n      to the registered listener before being dispatched to any EventTarget beneath it\n      in the DOM tree.\n    - once -- indicates that the listener should be invoked at most once after being\n      added. If true, the listener would be automatically removed when invoked.\n    - passive -- if `true`, indicates that the function specified by listener will never\n      call preventDefault(). If a passive listener does call preventDefault(), the user\n      agent will do nothing other than generate a console warning. See\n      [Improving scrolling performance with passive listeners](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Improving_scrolling_performance_with_passive_listeners)\n      to learn more.\n  \n    The callback function passed to `{{on}}` will receive any arguments that are passed\n    to the event handler. Most commonly this would be the `event` itself.\n  \n    If you would like to pass additional arguments to the function you should use\n    the `{{fn}}` helper.\n  \n    For example, in our example case above if you'd like to pass in the post that\n    was being liked when the button is clicked you could do something like:\n  \n    ```app/templates/components/like-post.js\n    <button {{on 'click' (fn this.saveLike @post)}}>Like this post!</button>\n    ```\n  \n    In this case, the `saveLike` function will receive two arguments: the click event\n    and the value of `@post`.\n  \n    ### Function Context\n  \n    In the example above, we used `@action` to ensure that `likePost` is\n    properly bound to the `items-list`, but let's explore what happens if we\n    left out `@action`:\n  \n    ```app/components/like-post.js\n    import Component from '@glimmer/component';\n  \n    export default class LikePostComponent extends Component {\n      saveLike() {\n        // ...snip...\n      }\n    }\n    ```\n  \n    In this example, when the button is clicked `saveLike` will be invoked,\n    it will **not** have access to the component instance. In other\n    words, it will have no `this` context, so please make sure your functions\n    are bound (via `@action` or other means) before passing into `on`!\n  \n    @method on\n    @for Ember.Templates.helpers\n    @public\n    @since 3.11.0\n  */\n\n\n  var OnModifierManager =\n  /*#__PURE__*/\n  function () {\n    function OnModifierManager(isInteractive) {\n      this.SUPPORTS_EVENT_OPTIONS = SUPPORTS_EVENT_OPTIONS;\n      this.isInteractive = isInteractive;\n    }\n\n    var _proto62 = OnModifierManager.prototype;\n\n    _proto62.create = function create(element, _state, args) {\n      if (!this.isInteractive) {\n        return null;\n      }\n\n      var capturedArgs = args.capture();\n      return new OnModifierState(element, capturedArgs);\n    };\n\n    _proto62.getTag = function getTag(state) {\n      if (state === null) {\n        return _reference.CONSTANT_TAG;\n      }\n\n      return state.tag;\n    };\n\n    _proto62.install = function install(state) {\n      if (state === null) {\n        return;\n      }\n\n      state.updateFromArgs();\n      var element = state.element,\n          eventName = state.eventName,\n          callback = state.callback,\n          options = state.options;\n      addEventListener(element, eventName, callback, options);\n      state.shouldUpdate = false;\n    };\n\n    _proto62.update = function update(state) {\n      if (state === null) {\n        return;\n      } // stash prior state for el.removeEventListener\n\n\n      var element = state.element,\n          eventName = state.eventName,\n          callback = state.callback,\n          options = state.options;\n      state.updateFromArgs();\n\n      if (!state.shouldUpdate) {\n        return;\n      } // use prior state values for removal\n\n\n      removeEventListener(element, eventName, callback, options); // read updated values from the state object\n\n      addEventListener(state.element, state.eventName, state.callback, state.options);\n      state.shouldUpdate = false;\n    };\n\n    _proto62.getDestructor = function getDestructor(state) {\n      return state;\n    };\n\n    (0, _emberBabel.createClass)(OnModifierManager, [{\n      key: \"counters\",\n      get: function () {\n        return {\n          adds: adds,\n          removes: removes\n        };\n      }\n    }]);\n    return OnModifierManager;\n  }();\n\n  function hashToArgs(hash) {\n    if (hash === null) return null;\n    var names = hash[0].map(function (key) {\n      return \"@\" + key;\n    });\n    return [names, hash[1]];\n  }\n\n  var inputMacro;\n\n  if (true\n  /* EMBER_GLIMMER_ANGLE_BRACKET_BUILT_INS */\n  ) {\n      if (true\n      /* DEBUG */\n      ) {\n          inputMacro = function () {\n            throw (0, _util.unreachable)();\n          };\n        }\n    } else {\n    /**\n      The `{{input}}` helper lets you create an HTML `<input />` component.\n      It causes a `TextField` component to be rendered.  For more info,\n      see the [TextField](/api/ember/release/classes/TextField) docs and\n      the [templates guide](https://guides.emberjs.com/release/templates/input-helpers/).\n         ```handlebars\n      {{input value=\"987\"}}\n      ```\n         renders as:\n         ```HTML\n      <input type=\"text\" value=\"987\" />\n      ```\n         ### Text field\n         If no `type` option is specified, a default of type 'text' is used.\n      Many of the standard HTML attributes may be passed to this helper.\n      <table>\n        <tr><td>`readonly`</td><td>`required`</td><td>`autofocus`</td></tr>\n        <tr><td>`value`</td><td>`placeholder`</td><td>`disabled`</td></tr>\n        <tr><td>`size`</td><td>`tabindex`</td><td>`maxlength`</td></tr>\n        <tr><td>`name`</td><td>`min`</td><td>`max`</td></tr>\n        <tr><td>`pattern`</td><td>`accept`</td><td>`autocomplete`</td></tr>\n        <tr><td>`autosave`</td><td>`formaction`</td><td>`formenctype`</td></tr>\n        <tr><td>`formmethod`</td><td>`formnovalidate`</td><td>`formtarget`</td></tr>\n        <tr><td>`height`</td><td>`inputmode`</td><td>`multiple`</td></tr>\n        <tr><td>`step`</td><td>`width`</td><td>`form`</td></tr>\n        <tr><td>`selectionDirection`</td><td>`spellcheck`</td><td>&nbsp;</td></tr>\n      </table>\n      When set to a quoted string, these values will be directly applied to the HTML\n      element. When left unquoted, these values will be bound to a property on the\n      template's current rendering context (most typically a controller instance).\n      A very common use of this helper is to bind the `value` of an input to an Object's attribute:\n         ```handlebars\n      Search:\n      {{input value=searchWord}}\n      ```\n         In this example, the initial value in the `<input />` will be set to the value of `searchWord`.\n      If the user changes the text, the value of `searchWord` will also be updated.\n         ### Actions\n         The helper can send multiple actions based on user events.\n      The action property defines the action which is sent when\n      the user presses the return key.\n         ```handlebars\n      {{input action=\"submit\"}}\n      ```\n         The helper allows some user events to send actions.\n         * `enter`\n      * `insert-newline`\n      * `escape-press`\n      * `focus-in`\n      * `focus-out`\n      * `key-press`\n      * `key-up`\n         For example, if you desire an action to be sent when the input is blurred,\n      you only need to setup the action name to the event name property.\n         ```handlebars\n      {{input focus-out=\"alertMessage\"}}\n      ```\n      See more about [Text Support Actions](/api/ember/release/classes/TextField)\n         ### Extending `TextField`\n         Internally, `{{input type=\"text\"}}` creates an instance of `TextField`, passing\n      arguments from the helper to `TextField`'s `create` method. You can extend the\n      capabilities of text inputs in your applications by reopening this class. For example,\n      if you are building a Bootstrap project where `data-*` attributes are used, you\n      can add one to the `TextField`'s `attributeBindings` property:\n         ```javascript\n      import TextField from '@ember/component/text-field';\n      TextField.reopen({\n        attributeBindings: ['data-error']\n      });\n      ```\n         Keep in mind when writing `TextField` subclasses that `TextField`\n      itself extends `Component`. Expect isolated component semantics, not\n      legacy 1.x view semantics (like `controller` being present).\n      See more about [Ember components](/api/ember/release/classes/Component)\n         ### Checkbox\n         Checkboxes are special forms of the `{{input}}` helper.  To create a `<checkbox />`:\n         ```handlebars\n      Emberize Everything:\n      {{input type=\"checkbox\" name=\"isEmberized\" checked=isEmberized}}\n      ```\n         This will bind checked state of this checkbox to the value of `isEmberized`  -- if either one changes,\n      it will be reflected in the other.\n         The following HTML attributes can be set via the helper:\n         * `checked`\n      * `disabled`\n      * `tabindex`\n      * `indeterminate`\n      * `name`\n      * `autofocus`\n      * `form`\n         ### Extending `Checkbox`\n         Internally, `{{input type=\"checkbox\"}}` creates an instance of `Checkbox`, passing\n      arguments from the helper to `Checkbox`'s `create` method. You can extend the\n      capablilties of checkbox inputs in your applications by reopening this class. For example,\n      if you wanted to add a css class to all checkboxes in your application:\n         ```javascript\n      import Checkbox from '@ember/component/checkbox';\n         Checkbox.reopen({\n        classNames: ['my-app-checkbox']\n      });\n      ```\n         @method input\n      @for Ember.Templates.helpers\n      @param {Hash} options\n      @public\n    */\n    var buildSyntax = function buildSyntax(type, params, hash, builder) {\n      var definition = builder.compiler['resolver'].lookupComponentDefinition(type, builder.referrer);\n      builder.component.static(definition, [params, hashToArgs(hash), null, null]);\n      return true;\n    };\n\n    inputMacro = function inputMacro(_name, params, hash, builder) {\n      if (params === null) {\n        params = [];\n      }\n\n      if (hash !== null) {\n        var keys = hash[0];\n        var values = hash[1];\n        var typeIndex = keys.indexOf('type');\n\n        if (typeIndex > -1) {\n          var typeArg = values[typeIndex];\n\n          if (Array.isArray(typeArg)) {\n            // there is an AST plugin that converts this to an expression\n            // it really should just compile in the component call too.\n            var inputTypeExpr = params[0];\n            builder.dynamicComponent(inputTypeExpr, null, params.slice(1), hash, true, null, null);\n            return true;\n          }\n\n          if (typeArg === 'checkbox') {\n            true && !(keys.indexOf('value') === -1) && (0, _debug.assert)(\"`{{input type='checkbox' value=...}}` is not supported; \" + \"please use `{{input type='checkbox' checked=...}}` instead.\", keys.indexOf('value') === -1);\n            wrapComponentClassAttribute(hash);\n            return buildSyntax('-checkbox', params, hash, builder);\n          }\n        }\n      }\n\n      return buildSyntax('-text-field', params, hash, builder);\n    };\n  }\n  /**\n  @module ember\n  */\n\n  /**\n      The `let` helper receives one or more positional arguments and yields\n      them out as block params.\n  \n      This allows the developer to introduce shorter names for certain computations\n      in the template.\n  \n      This is especially useful if you are passing properties to a component\n      that receives a lot of options and you want to clean up the invocation.\n  \n      For the following example, the template receives a `post` object with\n      `content` and `title` properties.\n  \n      We are going to call the `my-post` component, passing a title which is\n      the title of the post suffixed with the name of the blog, the content\n      of the post, and a series of options defined in-place.\n  \n      ```handlebars\n      {{#let\n          (concat post.title ' | The Ember.js Blog')\n          post.content\n          (hash\n            theme=\"high-contrast\"\n            enableComments=true\n          )\n          as |title content options|\n      }}\n        <MyPost @title={{title}} @content={{content}} @options={{options}} />\n      {{/let}}\n    ```\n   or\n    ```handlebars\n      {{#let\n          (concat post.title ' | The Ember.js Blog')\n          post.content\n          (hash\n            theme=\"high-contrast\"\n            enableComments=true\n          )\n          as |title content options|\n      }}\n        {{my-post title=title content=content options=options}}\n      {{/let}}\n    ```\n  \n    @method let\n    @for Ember.Templates.helpers\n    @public\n  */\n\n\n  function blockLetMacro(params, _hash, template, _inverse, builder) {\n    if (template !== null) {\n      if (params !== null) {\n        builder.compileParams(params);\n        builder.invokeStaticBlock(template, params.length);\n      } else {\n        builder.invokeStatic(template);\n      }\n    }\n\n    return true;\n  }\n\n  var CAPABILITIES$4 = {\n    dynamicLayout: true,\n    dynamicTag: false,\n    prepareArgs: false,\n    createArgs: false,\n    attributeHook: false,\n    elementHook: false,\n    createCaller: true,\n    dynamicScope: true,\n    updateHook: true,\n    createInstance: true\n  };\n\n  var MountManager =\n  /*#__PURE__*/\n  function (_AbstractManager6) {\n    (0, _emberBabel.inheritsLoose)(MountManager, _AbstractManager6);\n\n    function MountManager() {\n      return _AbstractManager6.apply(this, arguments) || this;\n    }\n\n    var _proto63 = MountManager.prototype;\n\n    _proto63.getDynamicLayout = function getDynamicLayout(state, _) {\n      var template = state.engine.lookup('template:application');\n      var layout = template.asLayout();\n      return {\n        handle: layout.compile(),\n        symbolTable: layout.symbolTable\n      };\n    };\n\n    _proto63.getCapabilities = function getCapabilities() {\n      return CAPABILITIES$4;\n    };\n\n    _proto63.create = function create(environment, state) {\n      if (true\n      /* DEBUG */\n      ) {\n          this._pushEngineToDebugStack(\"engine:\" + state.name, environment);\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\n\n      var engine = environment.owner.buildChildEngineInstance(state.name);\n      engine.boot();\n      var applicationFactory = engine.factoryFor(\"controller:application\");\n      var controllerFactory = applicationFactory || (0, _routing.generateControllerFactory)(engine, 'application');\n      var controller;\n      var self;\n      var bucket;\n      var tag;\n      var modelRef = state.modelRef;\n\n      if (modelRef === undefined) {\n        controller = controllerFactory.create();\n        self = new RootReference(controller);\n        tag = _reference.CONSTANT_TAG;\n        bucket = {\n          engine: engine,\n          controller: controller,\n          self: self,\n          tag: tag\n        };\n      } else {\n        var model = modelRef.value();\n        var modelRev = modelRef.tag.value();\n        controller = controllerFactory.create({\n          model: model\n        });\n        self = new RootReference(controller);\n        tag = modelRef.tag;\n        bucket = {\n          engine: engine,\n          controller: controller,\n          self: self,\n          tag: tag,\n          modelRef: modelRef,\n          modelRev: modelRev\n        };\n      }\n\n      return bucket;\n    };\n\n    _proto63.getSelf = function getSelf(_ref34) {\n      var self = _ref34.self;\n      return self;\n    };\n\n    _proto63.getTag = function getTag(state) {\n      return state.tag;\n    };\n\n    _proto63.getDestructor = function getDestructor(_ref35) {\n      var engine = _ref35.engine;\n      return engine;\n    };\n\n    _proto63.didRenderLayout = function didRenderLayout() {\n      if (true\n      /* DEBUG */\n      ) {\n          this.debugStack.pop();\n        }\n    };\n\n    _proto63.update = function update(bucket) {\n      var controller = bucket.controller,\n          modelRef = bucket.modelRef,\n          modelRev = bucket.modelRev;\n\n      if (!modelRef.tag.validate(modelRev)) {\n        var model = modelRef.value();\n        bucket.modelRev = modelRef.tag.value();\n        controller.set('model', model);\n      }\n    };\n\n    return MountManager;\n  }(AbstractManager);\n\n  var MOUNT_MANAGER = new MountManager();\n\n  var MountDefinition = function MountDefinition(name, modelRef) {\n    this.manager = MOUNT_MANAGER;\n    this.state = {\n      name: name,\n      modelRef: modelRef\n    };\n  };\n\n  function mountHelper(vm, args) {\n    var env = vm.env;\n    var nameRef = args.positional.at(0);\n    var modelRef = args.named.has('model') ? args.named.get('model') : undefined;\n    return new DynamicEngineReference(nameRef, env, modelRef);\n  }\n  /**\n    The `{{mount}}` helper lets you embed a routeless engine in a template.\n    Mounting an engine will cause an instance to be booted and its `application`\n    template to be rendered.\n  \n    For example, the following template mounts the `ember-chat` engine:\n  \n    ```handlebars\n    {{! application.hbs }}\n    {{mount \"ember-chat\"}}\n    ```\n  \n    Additionally, you can also pass in a `model` argument that will be\n    set as the engines model. This can be an existing object:\n  \n    ```\n    <div>\n      {{mount 'admin' model=userSettings}}\n    </div>\n    ```\n  \n    Or an inline `hash`, and you can even pass components:\n  \n    ```\n    <div>\n      <h1>Application template!</h1>\n      {{mount 'admin' model=(hash\n          title='Secret Admin'\n          signInButton=(component 'sign-in-button')\n      )}}\n    </div>\n    ```\n  \n    @method mount\n    @param {String} name Name of the engine to mount.\n    @param {Object} [model] Object that will be set as\n                            the model of the engine.\n    @for Ember.Templates.helpers\n    @public\n  */\n\n\n  function mountMacro(_name, params, hash, builder) {\n    true && !(params.length === 1) && (0, _debug.assert)('You can only pass a single positional argument to the {{mount}} helper, e.g. {{mount \"chat-engine\"}}.', params.length === 1);\n    var expr = [_wireFormat.Ops.Helper, '-mount', params || [], hash];\n    builder.dynamicComponent(expr, null, [], null, false, null, null);\n    return true;\n  }\n\n  var DynamicEngineReference =\n  /*#__PURE__*/\n  function () {\n    function DynamicEngineReference(nameRef, env, modelRef) {\n      this.tag = nameRef.tag;\n      this.nameRef = nameRef;\n      this.modelRef = modelRef;\n      this.env = env;\n      this._lastName = null;\n      this._lastDef = null;\n    }\n\n    var _proto64 = DynamicEngineReference.prototype;\n\n    _proto64.value = function value() {\n      var env = this.env,\n          nameRef = this.nameRef,\n          modelRef = this.modelRef;\n      var name = nameRef.value();\n\n      if (typeof name === 'string') {\n        if (this._lastName === name) {\n          return this._lastDef;\n        }\n\n        true && !env.owner.hasRegistration(\"engine:\" + name) && (0, _debug.assert)(\"You used `{{mount '\" + name + \"'}}`, but the engine '\" + name + \"' can not be found.\", env.owner.hasRegistration(\"engine:\" + name));\n\n        if (!env.owner.hasRegistration(\"engine:\" + name)) {\n          return null;\n        }\n\n        this._lastName = name;\n        this._lastDef = (0, _runtime2.curry)(new MountDefinition(name, modelRef));\n        return this._lastDef;\n      } else {\n        true && !(name === null || name === undefined) && (0, _debug.assert)(\"Invalid engine name '\" + name + \"' specified, engine name must be either a string, null or undefined.\", name === null || name === undefined);\n        this._lastDef = null;\n        this._lastName = null;\n        return null;\n      }\n    };\n\n    _proto64.get = function get() {\n      return _runtime2.UNDEFINED_REFERENCE;\n    };\n\n    return DynamicEngineReference;\n  }();\n  /**\n   * Represents the root outlet.\n   */\n\n\n  var RootOutletReference =\n  /*#__PURE__*/\n  function () {\n    function RootOutletReference(outletState) {\n      this.outletState = outletState;\n      this.tag = _reference.DirtyableTag.create();\n    }\n\n    var _proto65 = RootOutletReference.prototype;\n\n    _proto65.get = function get(key) {\n      return new PathReference(this, key);\n    };\n\n    _proto65.value = function value() {\n      return this.outletState;\n    };\n\n    _proto65.update = function update(state) {\n      this.outletState.outlets.main = state;\n      this.tag.inner.dirty();\n    };\n\n    return RootOutletReference;\n  }();\n  /**\n   * Represents the connected outlet.\n   */\n\n\n  var OutletReference =\n  /*#__PURE__*/\n  function () {\n    function OutletReference(parentStateRef, outletNameRef) {\n      this.parentStateRef = parentStateRef;\n      this.outletNameRef = outletNameRef;\n      this.tag = (0, _reference.combine)([parentStateRef.tag, outletNameRef.tag]);\n    }\n\n    var _proto66 = OutletReference.prototype;\n\n    _proto66.value = function value() {\n      var outletState = this.parentStateRef.value();\n      var outlets = outletState === undefined ? undefined : outletState.outlets;\n      return outlets === undefined ? undefined : outlets[this.outletNameRef.value()];\n    };\n\n    _proto66.get = function get(key) {\n      return new PathReference(this, key);\n    };\n\n    return OutletReference;\n  }();\n  /**\n   * Outlet state is dirtied from root.\n   * This just using the parent tag for dirtiness.\n   */\n\n\n  var PathReference =\n  /*#__PURE__*/\n  function () {\n    function PathReference(parent, key) {\n      this.parent = parent;\n      this.key = key;\n      this.tag = parent.tag;\n    }\n\n    var _proto67 = PathReference.prototype;\n\n    _proto67.get = function get(key) {\n      return new PathReference(this, key);\n    };\n\n    _proto67.value = function value() {\n      var parent = this.parent.value();\n      return parent && parent[this.key];\n    };\n\n    return PathReference;\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    ```handlebars\n    {{! app/templates/application.hbs }}\n    <!-- header content goes here, and will always display -->\n    <MyHeader />\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    <!-- footer content goes here, and will always display -->\n    <MyFooter />\n    ```\n  \n    You may also specify a name for the `{{outlet}}`, which is useful when using more than one\n    `{{outlet}}` in a template:\n  \n    ```handlebars\n    {{outlet \"menu\"}}\n    {{outlet \"sidebar\"}}\n    {{outlet \"main\"}}\n    ```\n  \n    Your routes can then render into a specific one of these `outlet`s by specifying the `outlet`\n    attribute in your `renderTemplate` function:\n  \n    ```app/routes/menu.js\n    import Route from '@ember/routing/route';\n  \n    export default Route.extend({\n      renderTemplate() {\n        this.render({ outlet: 'menu' });\n      }\n    });\n    ```\n  \n    See the [routing guide](https://guides.emberjs.com/release/routing/rendering-a-template/) for more\n    information on how your `route` interacts with the `{{outlet}}` helper.\n    Note: Your content __will not render__ if there isn't an `{{outlet}}` for it.\n  \n    @method outlet\n    @param {String} [name]\n    @for Ember.Templates.helpers\n    @public\n  */\n\n\n  function outletHelper(vm, args) {\n    var scope = vm.dynamicScope();\n    var nameRef;\n\n    if (args.positional.length === 0) {\n      nameRef = new _reference.ConstReference('main');\n    } else {\n      nameRef = args.positional.at(0);\n    }\n\n    return new OutletComponentReference(new OutletReference(scope.outletState, nameRef));\n  }\n\n  function outletMacro(_name, params, hash, builder) {\n    var expr = [_wireFormat.Ops.Helper, '-outlet', params || [], hash];\n    builder.dynamicComponent(expr, null, [], null, false, null, null);\n    return true;\n  }\n\n  var OutletComponentReference =\n  /*#__PURE__*/\n  function () {\n    function OutletComponentReference(outletRef) {\n      this.outletRef = outletRef;\n      this.definition = null;\n      this.lastState = null; // The router always dirties the root state.\n\n      this.tag = outletRef.tag;\n    }\n\n    var _proto68 = OutletComponentReference.prototype;\n\n    _proto68.value = function value() {\n      var state = stateFor(this.outletRef);\n\n      if (validate(state, this.lastState)) {\n        return this.definition;\n      }\n\n      this.lastState = state;\n      var definition = null;\n\n      if (state !== null) {\n        definition = (0, _runtime2.curry)(new OutletComponentDefinition(state));\n      }\n\n      return this.definition = definition;\n    };\n\n    _proto68.get = function get(_key) {\n      return _runtime2.UNDEFINED_REFERENCE;\n    };\n\n    return OutletComponentReference;\n  }();\n\n  function stateFor(ref) {\n    var outlet = ref.value();\n    if (outlet === undefined) return null;\n    var render = outlet.render;\n    if (render === undefined) return null;\n    var template = render.template;\n    if (template === undefined) return null;\n    return {\n      ref: ref,\n      name: render.name,\n      outlet: render.outlet,\n      template: template,\n      controller: render.controller\n    };\n  }\n\n  function validate(state, lastState) {\n    if (state === null) {\n      return lastState === null;\n    }\n\n    if (lastState === null) {\n      return false;\n    }\n\n    return state.template === lastState.template && state.controller === lastState.controller;\n  }\n\n  var textAreaMacro;\n\n  if (true\n  /* EMBER_GLIMMER_ANGLE_BRACKET_BUILT_INS */\n  ) {\n      if (true\n      /* DEBUG */\n      ) {\n          textAreaMacro = function () {\n            throw (0, _util.unreachable)();\n          };\n        }\n    } else {\n    textAreaMacro = function textAreaMacro(_name, params, hash, builder) {\n      var definition = builder.compiler['resolver'].lookupComponentDefinition('-text-area', builder.referrer);\n      wrapComponentClassAttribute(hash);\n      builder.component.static(definition, [params || [], hashToArgs(hash), null, null]);\n      return true;\n    };\n  }\n\n  function refineInlineSyntax(name, params, hash, builder) {\n    true && !!(builder.compiler['resolver']['resolver']['builtInHelpers'][name] && builder.referrer.owner.hasRegistration(\"helper:\" + name)) && (0, _debug.assert)(\"You attempted to overwrite the built-in helper \\\"\" + name + \"\\\" which is not allowed. Please rename the helper.\", !(builder.compiler['resolver']['resolver']['builtInHelpers'][name] && builder.referrer.owner.hasRegistration(\"helper:\" + name)));\n\n    if (!true\n    /* EMBER_GLIMMER_ANGLE_BRACKET_BUILT_INS */\n    && name.indexOf('-') === -1) {\n      return false;\n    }\n\n    var handle = builder.compiler['resolver'].lookupComponentDefinition(name, builder.referrer);\n\n    if (handle !== null) {\n      builder.component.static(handle, [params === null ? [] : params, hashToArgs(hash), null, null]);\n      return true;\n    }\n\n    return false;\n  }\n\n  function refineBlockSyntax(name, params, hash, template, inverse, builder) {\n    if (!true\n    /* EMBER_GLIMMER_ANGLE_BRACKET_BUILT_INS */\n    && name.indexOf('-') === -1) {\n      return false;\n    }\n\n    var handle = builder.compiler['resolver'].lookupComponentDefinition(name, builder.referrer);\n\n    if (handle !== null) {\n      wrapComponentClassAttribute(hash);\n      builder.component.static(handle, [params, hashToArgs(hash), template, inverse]);\n      return true;\n    }\n\n    true && !builder.referrer.owner.hasRegistration(\"helper:\" + name) && (0, _debug.assert)(\"A component or helper named \\\"\" + name + \"\\\" could not be found\", builder.referrer.owner.hasRegistration(\"helper:\" + name));\n    true && !!function () {\n      var resolver = builder.compiler['resolver']['resolver'];\n      var _builder$referrer = builder.referrer,\n          owner = _builder$referrer.owner,\n          moduleName = _builder$referrer.moduleName;\n\n      if (name === 'component' || resolver['builtInHelpers'][name]) {\n        return true;\n      }\n\n      var options = {\n        source: \"template:\" + moduleName\n      };\n      return owner.hasRegistration(\"helper:\" + name, options) || owner.hasRegistration(\"helper:\" + name);\n    }() && (0, _debug.assert)(\"Helpers may not be used in the block form, for example {{#\" + name + \"}}{{/\" + name + \"}}. Please use a component, or alternatively use the helper in combination with a built-in Ember helper, for example {{#if (\" + name + \")}}{{/if}}.\", !function () {\n      var resolver = builder.compiler['resolver']['resolver'];\n      var _builder$referrer = builder.referrer,\n          owner = _builder$referrer.owner,\n          moduleName = _builder$referrer.moduleName;\n\n      if (name === 'component' || resolver['builtInHelpers'][name]) {\n        return true;\n      }\n\n      var options = {\n        source: \"template:\" + moduleName\n      };\n      return owner.hasRegistration(\"helper:\" + name, options) || owner.hasRegistration(\"helper:\" + name);\n    }());\n    return false;\n  }\n\n  var experimentalMacros = []; // This is a private API to allow for experimental macros\n  // to be created in user space. Registering a macro should\n  // should be done in an initializer.\n\n  _exports._experimentalMacros = experimentalMacros;\n\n  function registerMacros(macro) {\n    experimentalMacros.push(macro);\n  }\n\n  function populateMacros(macros) {\n    var inlines = macros.inlines,\n        blocks = macros.blocks;\n    inlines.add('outlet', outletMacro);\n    inlines.add('mount', mountMacro);\n\n    if (!true\n    /* EMBER_GLIMMER_ANGLE_BRACKET_BUILT_INS */\n    ) {\n        inlines.add('input', inputMacro);\n        inlines.add('textarea', textAreaMacro);\n      }\n\n    inlines.addMissing(refineInlineSyntax);\n    blocks.add('let', blockLetMacro);\n    blocks.addMissing(refineBlockSyntax);\n\n    for (var i = 0; i < experimentalMacros.length; i++) {\n      var macro = experimentalMacros[i];\n      macro(blocks, inlines);\n    }\n\n    return {\n      blocks: blocks,\n      inlines: inlines\n    };\n  }\n\n  function setModifierManager(factory, obj) {\n    return setManager({\n      factory: factory,\n      internal: false,\n      type: 'modifier'\n    }, obj);\n  }\n\n  function getModifierManager(obj) {\n    var wrapper = getManager(obj);\n\n    if (wrapper && !wrapper.internal && wrapper.type === 'modifier') {\n      return wrapper.factory;\n    } else {\n      return undefined;\n    }\n  }\n\n  function instrumentationPayload$1(name) {\n    return {\n      object: \"component:\" + name\n    };\n  }\n\n  function makeOptions(moduleName, namespace) {\n    return {\n      source: moduleName !== undefined ? \"template:\" + moduleName : undefined,\n      namespace: namespace\n    };\n  }\n\n  var BUILTINS_HELPERS = {\n    if: inlineIf,\n    action: action,\n    array: array,\n    concat: concat$1,\n    get: get$1,\n    hash: hash,\n    log: log$1,\n    mut: mut,\n    'query-params': queryParams$1,\n    readonly: readonly,\n    unbound: unbound,\n    unless: inlineUnless,\n    '-class': classHelper$1,\n    '-each-in': eachIn,\n    '-input-type': inputTypeHelper$1,\n    '-normalize-class': normalizeClassHelper,\n    '-get-dynamic-var': _runtime2.getDynamicVar,\n    '-mount': mountHelper,\n    '-outlet': outletHelper,\n    '-assert-implicit-component-helper-argument': componentAssertionHelper,\n    fn: undefined\n  };\n\n  if (true\n  /* EMBER_GLIMMER_FN_HELPER */\n  ) {\n      BUILTINS_HELPERS.fn = fn;\n    }\n\n  var RuntimeResolver =\n  /*#__PURE__*/\n  function () {\n    function RuntimeResolver(isInteractive) {\n      this.handles = [undefined];\n      this.objToHandle = new WeakMap();\n      this.builtInHelpers = BUILTINS_HELPERS; // supports directly imported late bound layouts on component.prototype.layout\n\n      this.templateCache = new Map();\n      this.componentDefinitionCache = new Map();\n      this.customManagerCache = new Map();\n      this.templateCacheHits = 0;\n      this.templateCacheMisses = 0;\n      this.componentDefinitionCount = 0;\n      this.helperDefinitionCount = 0;\n      var macros = new _opcodeCompiler.Macros();\n      populateMacros(macros);\n      this.compiler = new _opcodeCompiler.LazyCompiler(new CompileTimeLookup(this), this, macros);\n      this.isInteractive = isInteractive;\n      this.builtInModifiers = {\n        action: {\n          manager: new ActionModifierManager(),\n          state: null\n        }\n      };\n\n      if (true\n      /* EMBER_GLIMMER_ON_MODIFIER */\n      ) {\n          this.builtInModifiers.on = {\n            manager: new OnModifierManager(isInteractive),\n            state: null\n          };\n        }\n    }\n    /***  IRuntimeResolver ***/\n\n    /**\n     * public componentDefHandleCount = 0;\n     * Called while executing Append Op.PushDynamicComponentManager if string\n     */\n\n\n    var _proto69 = RuntimeResolver.prototype;\n\n    _proto69.lookupComponentDefinition = function lookupComponentDefinition(name, meta) {\n      var handle = this.lookupComponentHandle(name, meta);\n\n      if (handle === null) {\n        true && !false && (0, _debug.assert)(\"Could not find component named \\\"\" + name + \"\\\" (no component or template with that name was found)\");\n        return null;\n      }\n\n      return this.resolve(handle);\n    };\n\n    _proto69.lookupComponentHandle = function lookupComponentHandle(name, meta) {\n      var nextHandle = this.handles.length;\n      var handle = this.handle(this._lookupComponentDefinition(name, meta));\n      true && !!(true\n      /* EMBER_GLIMMER_ANGLE_BRACKET_BUILT_INS */\n      && name === 'text-area' && handle === null) && (0, _debug.assert)('Could not find component `<TextArea />` (did you mean `<Textarea />`?)', !(true && name === 'text-area' && handle === null));\n\n      if (nextHandle === handle) {\n        this.componentDefinitionCount++;\n      }\n\n      return handle;\n    }\n    /**\n     * Called by RuntimeConstants to lookup unresolved handles.\n     */\n    ;\n\n    _proto69.resolve = function resolve(handle) {\n      return this.handles[handle];\n    } // End IRuntimeResolver\n\n    /**\n     * Called by CompileTimeLookup compiling Unknown or Helper OpCode\n     */\n    ;\n\n    _proto69.lookupHelper = function lookupHelper(name, meta) {\n      var nextHandle = this.handles.length;\n\n      var helper$$1 = this._lookupHelper(name, meta);\n\n      if (helper$$1 !== null) {\n        var handle = this.handle(helper$$1);\n\n        if (nextHandle === handle) {\n          this.helperDefinitionCount++;\n        }\n\n        return handle;\n      }\n\n      return null;\n    }\n    /**\n     * Called by CompileTimeLookup compiling the\n     */\n    ;\n\n    _proto69.lookupModifier = function lookupModifier(name, meta) {\n      return this.handle(this._lookupModifier(name, meta));\n    }\n    /**\n     * Called by CompileTimeLookup to lookup partial\n     */\n    ;\n\n    _proto69.lookupPartial = function lookupPartial(name, meta) {\n      var partial = this._lookupPartial(name, meta);\n\n      return this.handle(partial);\n    } // end CompileTimeLookup\n\n    /**\n     * Creates a template with injections from a directly imported template factory.\n     * @param templateFactory the directly imported template factory.\n     * @param owner the owner the template instance would belong to if resolved\n     */\n    ;\n\n    _proto69.createTemplate = function createTemplate(factory, owner) {\n      var cache = this.templateCache.get(owner);\n      var template;\n\n      if (cache === undefined) {\n        cache = new Map();\n        this.templateCache.set(owner, cache);\n      } else {\n        template = cache.get(factory);\n      }\n\n      if (template === undefined) {\n        var compiler = this.compiler;\n        var injections = {\n          compiler: compiler\n        };\n        (0, _owner.setOwner)(injections, owner);\n        template = factory.create(injections);\n        cache.set(factory, template);\n        this.templateCacheMisses++;\n      } else {\n        this.templateCacheHits++;\n      }\n\n      return template;\n    } // needed for lazy compile time lookup\n    ;\n\n    _proto69.handle = function handle(obj) {\n      if (obj === undefined || obj === null) {\n        return null;\n      }\n\n      var handle = this.objToHandle.get(obj);\n\n      if (handle === undefined) {\n        handle = this.handles.push(obj) - 1;\n        this.objToHandle.set(obj, handle);\n      }\n\n      return handle;\n    };\n\n    _proto69._lookupHelper = function _lookupHelper(_name, meta) {\n      var helper$$1 = this.builtInHelpers[_name];\n\n      if (helper$$1 !== undefined) {\n        return helper$$1;\n      }\n\n      var owner = meta.owner,\n          moduleName = meta.moduleName;\n      var name = _name;\n      var namespace = undefined;\n\n      if (false\n      /* EMBER_MODULE_UNIFICATION */\n      ) {\n          var parsed = this._parseNameForNamespace(_name);\n\n          name = parsed.name;\n          namespace = parsed.namespace;\n        }\n\n      var options = makeOptions(moduleName, namespace);\n      var factory = owner.factoryFor(\"helper:\" + name, options) || owner.factoryFor(\"helper:\" + name);\n\n      if (!isHelperFactory(factory)) {\n        return null;\n      }\n\n      return function (vm, args) {\n        var helper$$1 = factory.create();\n\n        if (isSimpleHelper(helper$$1)) {\n          return SimpleHelperReference.create(helper$$1.compute, args.capture());\n        }\n\n        vm.newDestroyable(helper$$1);\n        return ClassBasedHelperReference.create(helper$$1, args.capture());\n      };\n    };\n\n    _proto69._lookupPartial = function _lookupPartial(name, meta) {\n      var template = (0, _views.lookupPartial)(name, meta.owner);\n\n      if (template) {\n        return new _opcodeCompiler.PartialDefinition(name, template);\n      } else {\n        throw new Error(name + \" is not a partial\");\n      }\n    };\n\n    _proto69._lookupModifier = function _lookupModifier(name, meta) {\n      var builtin = this.builtInModifiers[name];\n\n      if (builtin === undefined) {\n        var owner = meta.owner;\n        var modifier = owner.factoryFor(\"modifier:\" + name);\n\n        if (modifier !== undefined) {\n          var managerFactory = getModifierManager(modifier.class);\n          var manager = managerFactory(owner);\n          return new CustomModifierDefinition(name, modifier, manager, this.isInteractive);\n        }\n      }\n\n      return builtin;\n    };\n\n    _proto69._parseNameForNamespace = function _parseNameForNamespace(_name) {\n      var name = _name;\n      var namespace = undefined;\n\n      var namespaceDelimiterOffset = _name.indexOf('::');\n\n      if (namespaceDelimiterOffset !== -1) {\n        name = _name.slice(namespaceDelimiterOffset + 2);\n        namespace = _name.slice(0, namespaceDelimiterOffset);\n      }\n\n      return {\n        name: name,\n        namespace: namespace\n      };\n    };\n\n    _proto69._lookupComponentDefinition = function _lookupComponentDefinition(_name, _ref36) {\n      var moduleName = _ref36.moduleName,\n          owner = _ref36.owner;\n      true && !(true\n      /* EMBER_GLIMMER_ANGLE_BRACKET_BUILT_INS */\n      || _name !== 'textarea') && (0, _debug.assert)('Invoking `{{textarea}}` using angle bracket syntax or `component` helper is not yet supported.', true || _name !== 'textarea');\n      true && !(true\n      /* EMBER_GLIMMER_ANGLE_BRACKET_BUILT_INS */\n      || _name !== 'input') && (0, _debug.assert)('Invoking `{{input}}` using angle bracket syntax or `component` helper is not yet supported.', true || _name !== 'input');\n      var name = _name;\n      var namespace = undefined;\n\n      if (false\n      /* EMBER_MODULE_UNIFICATION */\n      ) {\n          var parsed = this._parseNameForNamespace(_name);\n\n          name = parsed.name;\n          namespace = parsed.namespace;\n        }\n\n      var _lookupComponent2 = (0, _views.lookupComponent)(owner, name, makeOptions(moduleName, namespace)),\n          layout = _lookupComponent2.layout,\n          component = _lookupComponent2.component;\n\n      var key = component === undefined ? layout : component;\n\n      if (key === undefined) {\n        return null;\n      }\n\n      var cachedComponentDefinition = this.componentDefinitionCache.get(key);\n\n      if (cachedComponentDefinition !== undefined) {\n        return cachedComponentDefinition;\n      }\n\n      var finalizer = (0, _instrumentation._instrumentStart)('render.getComponentDefinition', instrumentationPayload$1, name);\n      var definition = null;\n\n      if (layout !== undefined && component === undefined && _environment2.ENV._TEMPLATE_ONLY_GLIMMER_COMPONENTS) {\n        definition = new TemplateOnlyComponentDefinition(layout);\n      }\n\n      if (component !== undefined && component.class !== undefined) {\n        var wrapper = getManager(component.class);\n\n        if (wrapper && wrapper.type === 'component') {\n          var factory = wrapper.factory;\n\n          if (wrapper.internal) {\n            true && !(layout !== undefined) && (0, _debug.assert)(\"missing layout for internal component \" + name, layout !== undefined);\n            definition = new InternalComponentDefinition(factory(owner), component.class, layout);\n          } else {\n            definition = new CustomManagerDefinition(name, component, factory(owner), layout || owner.lookup((0, _container.privatize)(_templateObject2())));\n          }\n        }\n      }\n\n      if (definition === null) {\n        definition = new CurlyComponentDefinition(name, component || owner.factoryFor((0, _container.privatize)(_templateObject3())), null, layout // TODO fix type\n        );\n      }\n\n      finalizer();\n      this.componentDefinitionCache.set(key, definition);\n      return definition;\n    };\n\n    _proto69._lookupComponentManager = function _lookupComponentManager(owner, managerId) {\n      if (this.customManagerCache.has(managerId)) {\n        return this.customManagerCache.get(managerId);\n      }\n\n      var delegate = owner.lookup(\"component-manager:\" + managerId);\n      this.customManagerCache.set(managerId, delegate);\n      return delegate;\n    };\n\n    return RuntimeResolver;\n  }(); // factory for DI\n\n\n  var TemplateCompiler = {\n    create: function (_ref37) {\n      var environment = _ref37.environment;\n      return new RuntimeResolver(environment.isInteractive).compiler;\n    }\n  };\n  var ComponentTemplate = template({\n    \"id\": \"chfQcH83\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[14,1]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/component.hbs\"\n    }\n  });\n  var InputTemplate = template({\n    \"id\": \"NWZzLSII\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Checkbox\\\",\\\"TextField\\\",\\\"@__ARGS__\\\",\\\"&attrs\\\"],\\\"statements\\\":[[4,\\\"let\\\",[[28,\\\"component\\\",[\\\"-checkbox\\\"],null],[28,\\\"component\\\",[\\\"-text-field\\\"],null]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[23,0,[\\\"isCheckbox\\\"]]],null,{\\\"statements\\\":[[6,[23,1,[]],[[13,4]],[[\\\"@target\\\",\\\"@__ARGS__\\\"],[[23,0,[\\\"caller\\\"]],[23,3,[]]]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[23,2,[]],[[13,4]],[[\\\"@target\\\",\\\"@__ARGS__\\\"],[[23,0,[\\\"caller\\\"]],[23,3,[]]]]]],\\\"parameters\\\":[]}]],\\\"parameters\\\":[1,2]},null]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/input.hbs\"\n    }\n  });\n  var OutletTemplate = template({\n    \"id\": \"ffAL6HDl\",\n    \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[22,\\\"outlet\\\"],false]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/outlet.hbs\"\n    }\n  });\n  var TOP_LEVEL_NAME = '-top-level';\n  var TOP_LEVEL_OUTLET = 'main';\n\n  var OutletView =\n  /*#__PURE__*/\n  function () {\n    function OutletView(_environment, renderer, owner, template) {\n      this._environment = _environment;\n      this.renderer = renderer;\n      this.owner = owner;\n      this.template = template;\n      var ref = this.ref = new RootOutletReference({\n        outlets: {\n          main: undefined\n        },\n        render: {\n          owner: owner,\n          into: undefined,\n          outlet: TOP_LEVEL_OUTLET,\n          name: TOP_LEVEL_NAME,\n          controller: undefined,\n          template: template\n        }\n      });\n      this.state = {\n        ref: ref,\n        name: TOP_LEVEL_NAME,\n        outlet: TOP_LEVEL_OUTLET,\n        template: template,\n        controller: undefined\n      };\n    }\n\n    OutletView.extend = function extend(injections) {\n      return (\n        /*#__PURE__*/\n        function (_OutletView) {\n          (0, _emberBabel.inheritsLoose)(_class, _OutletView);\n\n          function _class() {\n            return _OutletView.apply(this, arguments) || this;\n          }\n\n          _class.create = function create(options) {\n            if (options) {\n              return _OutletView.create.call(this, (0, _polyfills.assign)({}, injections, options));\n            } else {\n              return _OutletView.create.call(this, injections);\n            }\n          };\n\n          return _class;\n        }(OutletView)\n      );\n    };\n\n    OutletView.reopenClass = function reopenClass(injections) {\n      (0, _polyfills.assign)(this, injections);\n    };\n\n    OutletView.create = function create(options) {\n      var _environment = options._environment,\n          renderer = options.renderer,\n          template = options.template;\n      var owner = options[_owner.OWNER];\n      return new OutletView(_environment, renderer, owner, template);\n    };\n\n    var _proto70 = OutletView.prototype;\n\n    _proto70.appendTo = function appendTo(selector) {\n      var target;\n\n      if (this._environment.hasDOM) {\n        target = typeof selector === 'string' ? document.querySelector(selector) : selector;\n      } else {\n        target = selector;\n      }\n\n      (0, _runloop.schedule)('render', this.renderer, 'appendOutletView', this, target);\n    };\n\n    _proto70.rerender = function rerender() {\n      /**/\n    };\n\n    _proto70.setOutletState = function setOutletState(state) {\n      this.ref.update(state);\n    };\n\n    _proto70.destroy = function destroy() {\n      /**/\n    };\n\n    return OutletView;\n  }();\n\n  _exports.OutletView = OutletView;\n\n  function setupApplicationRegistry(registry) {\n    registry.injection('service:-glimmer-environment', 'appendOperations', 'service:-dom-tree-construction');\n    registry.injection('renderer', 'env', 'service:-glimmer-environment'); // because we are using injections we can't use instantiate false\n    // we need to use bind() to copy the function so factory for\n    // association won't leak\n\n    registry.register('service:-dom-builder', {\n      create: function (_ref38) {\n        var bootOptions = _ref38.bootOptions;\n        var _renderMode = bootOptions._renderMode;\n\n        switch (_renderMode) {\n          case 'serialize':\n            return _node.serializeBuilder.bind(null);\n\n          case 'rehydrate':\n            return _runtime2.rehydrationBuilder.bind(null);\n\n          default:\n            return _runtime2.clientBuilder.bind(null);\n        }\n      }\n    });\n    registry.injection('service:-dom-builder', 'bootOptions', '-environment:main');\n    registry.injection('renderer', 'builder', 'service:-dom-builder');\n    registry.register((0, _container.privatize)(_templateObject4()), RootTemplate);\n    registry.injection('renderer', 'rootTemplate', (0, _container.privatize)(_templateObject5()));\n    registry.register('renderer:-dom', InteractiveRenderer);\n    registry.register('renderer:-inert', InertRenderer);\n\n    if (_browserEnvironment.hasDOM) {\n      registry.injection('service:-glimmer-environment', 'updateOperations', 'service:-dom-changes');\n    }\n\n    registry.register('service:-dom-changes', {\n      create: function (_ref39) {\n        var document = _ref39.document;\n        return new _runtime2.DOMChanges(document);\n      }\n    });\n    registry.register('service:-dom-tree-construction', {\n      create: function (_ref40) {\n        var document = _ref40.document;\n        var Implementation = _browserEnvironment.hasDOM ? _runtime2.DOMTreeConstruction : _node.NodeDOMTreeConstruction;\n        return new Implementation(document);\n      }\n    });\n  }\n\n  function setupEngineRegistry(registry) {\n    registry.register('view:-outlet', OutletView);\n    registry.register('template:-outlet', OutletTemplate);\n    registry.injection('view:-outlet', 'template', 'template:-outlet');\n    registry.injection('service:-dom-changes', 'document', 'service:-document');\n    registry.injection('service:-dom-tree-construction', 'document', 'service:-document');\n    registry.register((0, _container.privatize)(_templateObject6()), ComponentTemplate);\n    registry.register('service:-glimmer-environment', Environment$1);\n    registry.register((0, _container.privatize)(_templateObject7()), TemplateCompiler);\n    registry.injection((0, _container.privatize)(_templateObject8()), 'environment', '-environment:main');\n    registry.injection('template', 'compiler', (0, _container.privatize)(_templateObject9()));\n    registry.optionsForType('helper', {\n      instantiate: false\n    });\n    registry.register('helper:loc', loc$1);\n    registry.register('component:-text-field', TextField);\n    registry.register('component:-checkbox', Checkbox);\n    registry.register('component:link-to', LinkToComponent);\n\n    if (true\n    /* EMBER_GLIMMER_ANGLE_BRACKET_BUILT_INS */\n    ) {\n        registry.register('component:input', Input$1);\n        registry.register('template:components/input', InputTemplate);\n        registry.register('component:textarea', TextArea);\n      } else {\n      registry.register('component:-text-area', TextArea);\n    }\n\n    if (!_environment2.ENV._TEMPLATE_ONLY_GLIMMER_COMPONENTS) {\n      registry.register((0, _container.privatize)(_templateObject10()), Component);\n    }\n  }\n\n  function setComponentManager(stringOrFunction, obj) {\n    var factory;\n\n    if (_deprecatedFeatures.COMPONENT_MANAGER_STRING_LOOKUP && typeof stringOrFunction === 'string') {\n      true && !false && (0, _debug.deprecate)('Passing the name of the component manager to \"setupComponentManager\" is deprecated. Please pass a function that produces an instance of the manager.', false, {\n        id: 'deprecate-string-based-component-manager',\n        until: '4.0.0',\n        url: 'https://emberjs.com/deprecations/v3.x/#toc_component-manager-string-lookup'\n      });\n\n      factory = function (owner) {\n        return owner.lookup(\"component-manager:\" + stringOrFunction);\n      };\n    } else {\n      factory = stringOrFunction;\n    }\n\n    return setManager({\n      factory: factory,\n      internal: false,\n      type: 'component'\n    }, obj);\n  }\n\n  function getComponentManager(obj) {\n    var wrapper = getManager(obj);\n\n    if (wrapper && !wrapper.internal && wrapper.type === 'component') {\n      return wrapper.factory;\n    } else {\n      return undefined;\n    }\n  }\n  /**\n    [Glimmer](https://github.com/tildeio/glimmer) is a templating engine used by Ember.js that is compatible with a subset of the [Handlebars](http://handlebarsjs.com/) syntax.\n  \n    ### Showing a property\n  \n    Templates manage the flow of an application's UI, and display state (through\n    the DOM) to a user. For example, given a component with the property \"name\",\n    that component's template can use the name in several ways:\n  \n    ```app/components/person-profile.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      name: 'Jill'\n    });\n    ```\n  \n    ```app/templates/components/person-profile.hbs\n    {{name}}\n    <div>{{name}}</div>\n    <span data-name={{name}}></span>\n    ```\n  \n    Any time the \"name\" property on the component changes, the DOM will be\n    updated.\n  \n    Properties can be chained as well:\n  \n    ```handlebars\n    {{aUserModel.name}}\n    <div>{{listOfUsers.firstObject.name}}</div>\n    ```\n  \n    ### Using Ember helpers\n  \n    When content is passed in mustaches `{{}}`, Ember will first try to find a helper\n    or component with that name. For example, the `if` helper:\n  \n    ```handlebars\n    {{if name \"I have a name\" \"I have no name\"}}\n    <span data-has-name={{if name true}}></span>\n    ```\n  \n    The returned value is placed where the `{{}}` is called. The above style is\n    called \"inline\". A second style of helper usage is called \"block\". For example:\n  \n    ```handlebars\n    {{#if name}}\n    I have a name\n    {{else}}\n    I have no name\n    {{/if}}\n    ```\n  \n    The block form of helpers allows you to control how the UI is created based\n    on the values of properties.\n    A third form of helper is called \"nested\". For example here the concat\n    helper will add \" Doe\" to a displayed name if the person has no last name:\n  \n    ```handlebars\n    <span data-name={{concat firstName (\n    if lastName (concat \" \" lastName) \"Doe\"\n    )}}></span>\n    ```\n  \n    Ember's built-in helpers are described under the [Ember.Templates.helpers](/api/ember/release/classes/Ember.Templates.helpers)\n    namespace. Documentation on creating custom helpers can be found under\n    [Helper](/api/classes/Ember.Helper.html).\n  \n    ### Invoking a Component\n  \n    Ember components represent state to the UI of an application. Further\n    reading on components can be found under [Component](/api/ember/release/classes/Component).\n  \n    @module @ember/component\n    @main @ember/component\n    @public\n   */\n\n});","enifed(\"@ember/-internals/meta/index\", [\"exports\", \"@ember/-internals/meta/lib/meta\"], function (_exports, _meta) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"counters\", {\n    enumerable: true,\n    get: function () {\n      return _meta.counters;\n    }\n  });\n  Object.defineProperty(_exports, \"deleteMeta\", {\n    enumerable: true,\n    get: function () {\n      return _meta.deleteMeta;\n    }\n  });\n  Object.defineProperty(_exports, \"Meta\", {\n    enumerable: true,\n    get: function () {\n      return _meta.Meta;\n    }\n  });\n  Object.defineProperty(_exports, \"meta\", {\n    enumerable: true,\n    get: function () {\n      return _meta.meta;\n    }\n  });\n  Object.defineProperty(_exports, \"peekMeta\", {\n    enumerable: true,\n    get: function () {\n      return _meta.peekMeta;\n    }\n  });\n  Object.defineProperty(_exports, \"setMeta\", {\n    enumerable: true,\n    get: function () {\n      return _meta.setMeta;\n    }\n  });\n  Object.defineProperty(_exports, \"UNDEFINED\", {\n    enumerable: true,\n    get: function () {\n      return _meta.UNDEFINED;\n    }\n  });\n});","enifed(\"@ember/-internals/meta/lib/meta\", [\"exports\", \"ember-babel\", \"@ember/-internals/utils\", \"@ember/debug\"], function (_exports, _emberBabel, _utils, _debug) {\n  \"use strict\";\n\n  _exports.setMeta = setMeta;\n  _exports.peekMeta = peekMeta;\n  _exports.deleteMeta = deleteMeta;\n  _exports.counters = _exports.meta = _exports.Meta = _exports.UNDEFINED = void 0;\n  var objectPrototype = Object.prototype;\n  var counters;\n  _exports.counters = counters;\n\n  if (true\n  /* DEBUG */\n  ) {\n      _exports.counters = counters = {\n        peekCalls: 0,\n        peekPrototypeWalks: 0,\n        setCalls: 0,\n        deleteCalls: 0,\n        metaCalls: 0,\n        metaInstantiated: 0,\n        matchingListenersCalls: 0,\n        observerEventsCalls: 0,\n        addToListenersCalls: 0,\n        removeFromListenersCalls: 0,\n        removeAllListenersCalls: 0,\n        listenersInherited: 0,\n        listenersFlattened: 0,\n        parentListenersUsed: 0,\n        flattenedListenersCalls: 0,\n        reopensAfterFlatten: 0,\n        readableLazyChainsCalls: 0,\n        writableLazyChainsCalls: 0\n      };\n    }\n  /**\n  @module ember\n  */\n\n\n  var UNDEFINED = (0, _utils.symbol)('undefined');\n  _exports.UNDEFINED = UNDEFINED;\n  var currentListenerVersion = 1;\n\n  var Meta =\n  /*#__PURE__*/\n  function () {\n    function Meta(obj) {\n      this._listenersVersion = 1;\n      this._inheritedEnd = -1;\n      this._flattenedVersion = 0;\n\n      if (true\n      /* DEBUG */\n      ) {\n          counters.metaInstantiated++;\n          this._values = undefined;\n        }\n\n      this._parent = undefined;\n      this._descriptors = undefined;\n      this._watching = undefined;\n      this._mixins = undefined;\n      this._deps = undefined;\n      this._chainWatchers = undefined;\n      this._chains = undefined;\n      this._tag = undefined;\n      this._tags = undefined; // initial value for all flags right now is false\n      // see FLAGS const for detailed list of flags used\n\n      this._flags = 0\n      /* NONE */\n      ; // used only internally\n\n      this.source = obj;\n      this.proto = obj.constructor === undefined ? undefined : obj.constructor.prototype;\n      this._listeners = undefined;\n    }\n\n    var _proto = Meta.prototype;\n\n    _proto.setInitializing = function setInitializing() {\n      this._flags |= 8\n      /* INITIALIZING */\n      ;\n    };\n\n    _proto.unsetInitializing = function unsetInitializing() {\n      this._flags ^= 8\n      /* INITIALIZING */\n      ;\n    };\n\n    _proto.isInitializing = function isInitializing() {\n      return this._hasFlag(8\n      /* INITIALIZING */\n      );\n    };\n\n    _proto.isPrototypeMeta = function isPrototypeMeta(obj) {\n      return this.proto === this.source && this.source === obj;\n    };\n\n    _proto.destroy = function destroy() {\n      if (this.isMetaDestroyed()) {\n        return;\n      }\n\n      this.setMetaDestroyed(); // remove chainWatchers to remove circular references that would prevent GC\n\n      var chains = this.readableChains();\n\n      if (chains !== undefined) {\n        chains.destroy();\n      }\n    };\n\n    _proto.isSourceDestroying = function isSourceDestroying() {\n      return this._hasFlag(1\n      /* SOURCE_DESTROYING */\n      );\n    };\n\n    _proto.setSourceDestroying = function setSourceDestroying() {\n      this._flags |= 1\n      /* SOURCE_DESTROYING */\n      ;\n    };\n\n    _proto.isSourceDestroyed = function isSourceDestroyed() {\n      return this._hasFlag(2\n      /* SOURCE_DESTROYED */\n      );\n    };\n\n    _proto.setSourceDestroyed = function setSourceDestroyed() {\n      this._flags |= 2\n      /* SOURCE_DESTROYED */\n      ;\n    };\n\n    _proto.isMetaDestroyed = function isMetaDestroyed() {\n      return this._hasFlag(4\n      /* META_DESTROYED */\n      );\n    };\n\n    _proto.setMetaDestroyed = function setMetaDestroyed() {\n      this._flags |= 4\n      /* META_DESTROYED */\n      ;\n    };\n\n    _proto._hasFlag = function _hasFlag(flag) {\n      return (this._flags & flag) === flag;\n    };\n\n    _proto._getOrCreateOwnMap = function _getOrCreateOwnMap(key) {\n      return this[key] || (this[key] = Object.create(null));\n    };\n\n    _proto._getOrCreateOwnSet = function _getOrCreateOwnSet(key) {\n      return this[key] || (this[key] = new Set());\n    };\n\n    _proto._findInherited1 = function _findInherited1(key) {\n      var pointer = this;\n\n      while (pointer !== null) {\n        var map = pointer[key];\n\n        if (map !== undefined) {\n          return map;\n        }\n\n        pointer = pointer.parent;\n      }\n    };\n\n    _proto._findInherited2 = function _findInherited2(key, subkey) {\n      var pointer = this;\n\n      while (pointer !== null) {\n        var map = pointer[key];\n\n        if (map !== undefined) {\n          var value = map[subkey];\n\n          if (value !== undefined) {\n            return value;\n          }\n        }\n\n        pointer = pointer.parent;\n      }\n    };\n\n    _proto._findInherited3 = function _findInherited3(key, subkey, subsubkey) {\n      var pointer = this;\n\n      while (pointer !== null) {\n        var map = pointer[key];\n\n        if (map !== undefined) {\n          var submap = map[subkey];\n\n          if (submap !== undefined) {\n            var value = submap[subsubkey];\n\n            if (value !== undefined) {\n              return value;\n            }\n          }\n        }\n\n        pointer = pointer.parent;\n      }\n    };\n\n    _proto._findInheritedMap = function _findInheritedMap(key, subkey) {\n      var pointer = this;\n\n      while (pointer !== null) {\n        var map = pointer[key];\n\n        if (map !== undefined) {\n          var value = map.get(subkey);\n\n          if (value !== undefined) {\n            return value;\n          }\n        }\n\n        pointer = pointer.parent;\n      }\n    };\n\n    _proto._hasInInheritedSet = function _hasInInheritedSet(key, value) {\n      var pointer = this;\n\n      while (pointer !== null) {\n        var set = pointer[key];\n\n        if (set !== undefined && set.has(value)) {\n          return true;\n        }\n\n        pointer = pointer.parent;\n      }\n\n      return false;\n    } // Implements a member that provides a lazily created map of maps,\n    // with inheritance at both levels.\n    ;\n\n    _proto.writeDeps = function writeDeps(subkey, itemkey, count) {\n      true && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? \"Cannot modify dependent keys for `\" + itemkey + \"` on `\" + (0, _utils.toString)(this.source) + \"` after it has been destroyed.\" : '', !this.isMetaDestroyed());\n\n      var outerMap = this._getOrCreateOwnMap('_deps');\n\n      var innerMap = outerMap[subkey];\n\n      if (innerMap === undefined) {\n        innerMap = outerMap[subkey] = Object.create(null);\n      }\n\n      innerMap[itemkey] = count;\n    };\n\n    _proto.peekDeps = function peekDeps(subkey, itemkey) {\n      var val = this._findInherited3('_deps', subkey, itemkey);\n\n      return val === undefined ? 0 : val;\n    };\n\n    _proto.hasDeps = function hasDeps(subkey) {\n      var val = this._findInherited2('_deps', subkey);\n\n      return val !== undefined;\n    };\n\n    _proto.forEachInDeps = function forEachInDeps(subkey, fn) {\n      var pointer = this;\n      var seen;\n\n      while (pointer !== null) {\n        var map = pointer._deps;\n\n        if (map !== undefined) {\n          var innerMap = map[subkey];\n\n          if (innerMap !== undefined) {\n            seen = seen === undefined ? new Set() : seen;\n\n            for (var innerKey in innerMap) {\n              if (!seen.has(innerKey)) {\n                seen.add(innerKey);\n\n                if (innerMap[innerKey] > 0) {\n                  fn(innerKey);\n                }\n              }\n            }\n          }\n        }\n\n        pointer = pointer.parent;\n      }\n    };\n\n    _proto.writableTags = function writableTags() {\n      return this._getOrCreateOwnMap('_tags');\n    };\n\n    _proto.readableTags = function readableTags() {\n      return this._tags;\n    };\n\n    _proto.writableTag = function writableTag(create) {\n      true && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? \"Cannot create a new tag for `\" + (0, _utils.toString)(this.source) + \"` after it has been destroyed.\" : '', !this.isMetaDestroyed());\n      var ret = this._tag;\n\n      if (ret === undefined) {\n        ret = this._tag = create(this.source);\n      }\n\n      return ret;\n    };\n\n    _proto.readableTag = function readableTag() {\n      return this._tag;\n    };\n\n    _proto.writableLazyChainsFor = function writableLazyChainsFor(key) {\n      if (true\n      /* DEBUG */\n      ) {\n          counters.writableLazyChainsCalls++;\n        }\n\n      var lazyChains = this._getOrCreateOwnMap('_lazyChains');\n\n      if (!(key in lazyChains)) {\n        lazyChains[key] = [];\n      }\n\n      return lazyChains[key];\n    };\n\n    _proto.readableLazyChainsFor = function readableLazyChainsFor(key) {\n      if (true\n      /* DEBUG */\n      ) {\n          counters.readableLazyChainsCalls++;\n        }\n\n      var lazyChains = this._lazyChains;\n\n      if (lazyChains !== undefined) {\n        return lazyChains[key];\n      }\n    };\n\n    _proto.writableChainWatchers = function writableChainWatchers(create) {\n      true && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? \"Cannot create a new chain watcher for `\" + (0, _utils.toString)(this.source) + \"` after it has been destroyed.\" : '', !this.isMetaDestroyed());\n      var ret = this._chainWatchers;\n\n      if (ret === undefined) {\n        ret = this._chainWatchers = create(this.source);\n      }\n\n      return ret;\n    };\n\n    _proto.readableChainWatchers = function readableChainWatchers() {\n      return this._chainWatchers;\n    };\n\n    _proto.writableChains = function writableChains(create) {\n      true && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? \"Cannot create a new chains for `\" + (0, _utils.toString)(this.source) + \"` after it has been destroyed.\" : '', !this.isMetaDestroyed());\n      var ret = this._chains;\n\n      if (ret === undefined) {\n        this._chains = ret = create(this.source);\n        var parent = this.parent;\n\n        if (parent !== null) {\n          var parentChains = parent.writableChains(create);\n          parentChains.copyTo(ret);\n        }\n      }\n\n      return ret;\n    };\n\n    _proto.readableChains = function readableChains() {\n      return this._findInherited1('_chains');\n    };\n\n    _proto.writeWatching = function writeWatching(subkey, value) {\n      true && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? \"Cannot update watchers for `\" + subkey + \"` on `\" + (0, _utils.toString)(this.source) + \"` after it has been destroyed.\" : '', !this.isMetaDestroyed());\n\n      var map = this._getOrCreateOwnMap('_watching');\n\n      map[subkey] = value;\n    };\n\n    _proto.peekWatching = function peekWatching(subkey) {\n      var count = this._findInherited2('_watching', subkey);\n\n      return count === undefined ? 0 : count;\n    };\n\n    _proto.addMixin = function addMixin(mixin) {\n      true && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? \"Cannot add mixins of `\" + (0, _utils.toString)(mixin) + \"` on `\" + (0, _utils.toString)(this.source) + \"` call addMixin after it has been destroyed.\" : '', !this.isMetaDestroyed());\n\n      var set = this._getOrCreateOwnSet('_mixins');\n\n      set.add(mixin);\n    };\n\n    _proto.hasMixin = function hasMixin(mixin) {\n      return this._hasInInheritedSet('_mixins', mixin);\n    };\n\n    _proto.forEachMixins = function forEachMixins(fn) {\n      var pointer = this;\n      var seen;\n\n      while (pointer !== null) {\n        var set = pointer._mixins;\n\n        if (set !== undefined) {\n          seen = seen === undefined ? new Set() : seen; // TODO cleanup typing here\n\n          set.forEach(function (mixin) {\n            if (!seen.has(mixin)) {\n              seen.add(mixin);\n              fn(mixin);\n            }\n          });\n        }\n\n        pointer = pointer.parent;\n      }\n    };\n\n    _proto.writeDescriptors = function writeDescriptors(subkey, value) {\n      true && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? \"Cannot update descriptors for `\" + subkey + \"` on `\" + (0, _utils.toString)(this.source) + \"` after it has been destroyed.\" : '', !this.isMetaDestroyed());\n      var map = this._descriptors || (this._descriptors = new Map());\n      map.set(subkey, value);\n    };\n\n    _proto.peekDescriptors = function peekDescriptors(subkey) {\n      var possibleDesc = this._findInheritedMap('_descriptors', subkey);\n\n      return possibleDesc === UNDEFINED ? undefined : possibleDesc;\n    };\n\n    _proto.removeDescriptors = function removeDescriptors(subkey) {\n      this.writeDescriptors(subkey, UNDEFINED);\n    };\n\n    _proto.forEachDescriptors = function forEachDescriptors(fn) {\n      var pointer = this;\n      var seen;\n\n      while (pointer !== null) {\n        var map = pointer._descriptors;\n\n        if (map !== undefined) {\n          seen = seen === undefined ? new Set() : seen;\n          map.forEach(function (value, key) {\n            if (!seen.has(key)) {\n              seen.add(key);\n\n              if (value !== UNDEFINED) {\n                fn(key, value);\n              }\n            }\n          });\n        }\n\n        pointer = pointer.parent;\n      }\n    };\n\n    _proto.addToListeners = function addToListeners(eventName, target, method, once) {\n      if (true\n      /* DEBUG */\n      ) {\n          counters.addToListenersCalls++;\n        }\n\n      this.pushListener(eventName, target, method, once ? 1\n      /* ONCE */\n      : 0\n      /* ADD */\n      );\n    };\n\n    _proto.removeFromListeners = function removeFromListeners(eventName, target, method) {\n      if (true\n      /* DEBUG */\n      ) {\n          counters.removeFromListenersCalls++;\n        }\n\n      this.pushListener(eventName, target, method, 2\n      /* REMOVE */\n      );\n    };\n\n    _proto.pushListener = function pushListener(event, target, method, kind) {\n      var listeners = this.writableListeners();\n      var i = indexOfListener(listeners, event, target, method); // remove if found listener was inherited\n\n      if (i !== -1 && i < this._inheritedEnd) {\n        listeners.splice(i, 1);\n        this._inheritedEnd--;\n        i = -1;\n      } // if not found, push. Note that we must always push if a listener is not\n      // found, even in the case of a function listener remove, because we may be\n      // attempting to add or remove listeners _before_ flattening has occured.\n\n\n      if (i === -1) {\n        true && !!(this.isPrototypeMeta(this.source) && typeof method === 'function') && (0, _debug.assert)('You cannot add function listeners to prototypes. Convert the listener to a string listener, or add it to the instance instead.', !(this.isPrototypeMeta(this.source) && typeof method === 'function'));\n        true && !!(!this.isPrototypeMeta(this.source) && typeof method === 'function' && kind === 2\n        /* REMOVE */\n        ) && (0, _debug.assert)('You attempted to remove a function listener which did not exist on the instance, which means you may have attempted to remove it before it was added.', !(!this.isPrototypeMeta(this.source) && typeof method === 'function' && kind === 2));\n        listeners.push({\n          event: event,\n          target: target,\n          method: method,\n          kind: kind\n        });\n      } else {\n        var listener = listeners[i]; // If the listener is our own listener and we are trying to remove it, we\n        // want to splice it out entirely so we don't hold onto a reference.\n\n        if (kind === 2\n        /* REMOVE */\n        && listener.kind !== 2\n        /* REMOVE */\n        ) {\n            listeners.splice(i, 1);\n          } else {\n          // update own listener\n          listener.kind = kind;\n        }\n      }\n    };\n\n    _proto.writableListeners = function writableListeners() {\n      // Check if we need to invalidate and reflatten. We need to do this if we\n      // have already flattened (flattened version is the current version) and\n      // we are either writing to a prototype meta OR we have never inherited, and\n      // may have cached the parent's listeners.\n      if (this._flattenedVersion === currentListenerVersion && (this.source === this.proto || this._inheritedEnd === -1)) {\n        if (true\n        /* DEBUG */\n        ) {\n            counters.reopensAfterFlatten++;\n          }\n\n        currentListenerVersion++;\n      } // Inherited end has not been set, then we have never created our own\n      // listeners, but may have cached the parent's\n\n\n      if (this._inheritedEnd === -1) {\n        this._inheritedEnd = 0;\n        this._listeners = [];\n      }\n\n      return this._listeners;\n    }\n    /**\n      Flattening is based on a global revision counter. If the revision has\n      bumped it means that somewhere in a class inheritance chain something has\n      changed, so we need to reflatten everything. This can only happen if:\n         1. A meta has been flattened (listener has been called)\n      2. The meta is a prototype meta with children who have inherited its\n         listeners\n      3. A new listener is subsequently added to the meta (e.g. via `.reopen()`)\n         This is a very rare occurence, so while the counter is global it shouldn't\n      be updated very often in practice.\n    */\n    ;\n\n    _proto.flattenedListeners = function flattenedListeners() {\n      if (true\n      /* DEBUG */\n      ) {\n          counters.flattenedListenersCalls++;\n        }\n\n      if (this._flattenedVersion < currentListenerVersion) {\n        if (true\n        /* DEBUG */\n        ) {\n            counters.listenersFlattened++;\n          }\n\n        var parent = this.parent;\n\n        if (parent !== null) {\n          // compute\n          var parentListeners = parent.flattenedListeners();\n\n          if (parentListeners !== undefined) {\n            if (this._listeners === undefined) {\n              // If this instance doesn't have any of its own listeners (writableListeners\n              // has never been called) then we don't need to do any flattening, return\n              // the parent's listeners instead.\n              if (true\n              /* DEBUG */\n              ) {\n                  counters.parentListenersUsed++;\n                }\n\n              this._listeners = parentListeners;\n            } else {\n              var listeners = this._listeners;\n\n              if (this._inheritedEnd > 0) {\n                listeners.splice(0, this._inheritedEnd);\n                this._inheritedEnd = 0;\n              }\n\n              for (var i = 0; i < parentListeners.length; i++) {\n                var listener = parentListeners[i];\n                var index = indexOfListener(listeners, listener.event, listener.target, listener.method);\n\n                if (index === -1) {\n                  if (true\n                  /* DEBUG */\n                  ) {\n                      counters.listenersInherited++;\n                    }\n\n                  listeners.unshift(listener);\n                  this._inheritedEnd++;\n                }\n              }\n            }\n          }\n        }\n\n        this._flattenedVersion = currentListenerVersion;\n      }\n\n      return this._listeners;\n    };\n\n    _proto.matchingListeners = function matchingListeners(eventName) {\n      var listeners = this.flattenedListeners();\n      var result;\n\n      if (true\n      /* DEBUG */\n      ) {\n          counters.matchingListenersCalls++;\n        }\n\n      if (listeners !== undefined) {\n        for (var index = 0; index < listeners.length; index++) {\n          var listener = listeners[index]; // REMOVE listeners are placeholders that tell us not to\n          // inherit, so they never match. Only ADD and ONCE can match.\n\n          if (listener.event === eventName && (listener.kind === 0\n          /* ADD */\n          || listener.kind === 1\n          /* ONCE */\n          )) {\n            if (result === undefined) {\n              // we create this array only after we've found a listener that\n              // matches to avoid allocations when no matches are found.\n              result = [];\n            }\n\n            result.push(listener.target, listener.method, listener.kind === 1\n            /* ONCE */\n            );\n          }\n        }\n      }\n\n      return result;\n    };\n\n    _proto.observerEvents = function observerEvents() {\n      var listeners = this.flattenedListeners();\n      var result;\n\n      if (true\n      /* DEBUG */\n      ) {\n          counters.observerEventsCalls++;\n        }\n\n      if (listeners !== undefined) {\n        for (var index = 0; index < listeners.length; index++) {\n          var listener = listeners[index]; // REMOVE listeners are placeholders that tell us not to\n          // inherit, so they never match. Only ADD and ONCE can match.\n\n          if ((listener.kind === 0\n          /* ADD */\n          || listener.kind === 1\n          /* ONCE */\n          ) && listener.event.indexOf(':change') !== -1) {\n            if (result === undefined) {\n              // we create this array only after we've found a listener that\n              // matches to avoid allocations when no matches are found.\n              result = [];\n            }\n\n            result.push(listener.event);\n          }\n        }\n      }\n\n      return result;\n    };\n\n    (0, _emberBabel.createClass)(Meta, [{\n      key: \"parent\",\n      get: function () {\n        var parent = this._parent;\n\n        if (parent === undefined) {\n          var proto = getPrototypeOf(this.source);\n          this._parent = parent = proto === null || proto === objectPrototype ? null : meta(proto);\n        }\n\n        return parent;\n      }\n    }]);\n    return Meta;\n  }();\n\n  _exports.Meta = Meta;\n\n  if (true\n  /* DEBUG */\n  ) {\n      Meta.prototype.writeValues = function (subkey, value) {\n        true && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? \"Cannot set the value of `\" + subkey + \"` on `\" + (0, _utils.toString)(this.source) + \"` after it has been destroyed.\" : '', !this.isMetaDestroyed());\n\n        var map = this._getOrCreateOwnMap('_values');\n\n        map[subkey] = value;\n      };\n\n      Meta.prototype.peekValues = function (subkey) {\n        return this._findInherited2('_values', subkey);\n      };\n\n      Meta.prototype.deleteFromValues = function (subkey) {\n        delete this._getOrCreateOwnMap('_values')[subkey];\n      };\n\n      Meta.prototype.readInheritedValue = function (key, subkey) {\n        var internalKey = \"_\" + key;\n        var pointer = this;\n\n        while (pointer !== null) {\n          var map = pointer[internalKey];\n\n          if (map !== undefined) {\n            var value = map[subkey];\n\n            if (value !== undefined || subkey in map) {\n              return value;\n            }\n          }\n\n          pointer = pointer.parent;\n        }\n\n        return UNDEFINED;\n      };\n\n      Meta.prototype.writeValue = function (obj, key, value) {\n        var descriptor = (0, _utils.lookupDescriptor)(obj, key);\n        var isMandatorySetter = descriptor !== null && descriptor.set && descriptor.set.isMandatorySetter;\n\n        if (isMandatorySetter) {\n          this.writeValues(key, value);\n        } else {\n          obj[key] = value;\n        }\n      };\n    }\n\n  var getPrototypeOf = Object.getPrototypeOf;\n  var metaStore = new WeakMap();\n\n  function setMeta(obj, meta) {\n    true && !(obj !== null) && (0, _debug.assert)('Cannot call `setMeta` on null', obj !== null);\n    true && !(obj !== undefined) && (0, _debug.assert)('Cannot call `setMeta` on undefined', obj !== undefined);\n    true && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)(\"Cannot call `setMeta` on \" + typeof obj, typeof obj === 'object' || typeof obj === 'function');\n\n    if (true\n    /* DEBUG */\n    ) {\n        counters.setCalls++;\n      }\n\n    metaStore.set(obj, meta);\n  }\n\n  function peekMeta(obj) {\n    true && !(obj !== null) && (0, _debug.assert)('Cannot call `peekMeta` on null', obj !== null);\n    true && !(obj !== undefined) && (0, _debug.assert)('Cannot call `peekMeta` on undefined', obj !== undefined);\n    true && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)(\"Cannot call `peekMeta` on \" + typeof obj, typeof obj === 'object' || typeof obj === 'function');\n\n    if (true\n    /* DEBUG */\n    ) {\n        counters.peekCalls++;\n      }\n\n    var meta = metaStore.get(obj);\n\n    if (meta !== undefined) {\n      return meta;\n    }\n\n    var pointer = getPrototypeOf(obj);\n\n    while (pointer !== null) {\n      if (true\n      /* DEBUG */\n      ) {\n          counters.peekPrototypeWalks++;\n        }\n\n      meta = metaStore.get(pointer);\n\n      if (meta !== undefined) {\n        if (meta.proto !== pointer) {\n          // The meta was a prototype meta which was not marked as initializing.\n          // This can happen when a prototype chain was created manually via\n          // Object.create() and the source object does not have a constructor.\n          meta.proto = pointer;\n        }\n\n        return meta;\n      }\n\n      pointer = getPrototypeOf(pointer);\n    }\n\n    return null;\n  }\n  /**\n    Tears down the meta on an object so that it can be garbage collected.\n    Multiple calls will have no effect.\n  \n    @method deleteMeta\n    @for Ember\n    @param {Object} obj  the object to destroy\n    @return {void}\n    @private\n  */\n\n\n  function deleteMeta(obj) {\n    true && !(obj !== null) && (0, _debug.assert)('Cannot call `deleteMeta` on null', obj !== null);\n    true && !(obj !== undefined) && (0, _debug.assert)('Cannot call `deleteMeta` on undefined', obj !== undefined);\n    true && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)(\"Cannot call `deleteMeta` on \" + typeof obj, typeof obj === 'object' || typeof obj === 'function');\n\n    if (true\n    /* DEBUG */\n    ) {\n        counters.deleteCalls++;\n      }\n\n    var meta = peekMeta(obj);\n\n    if (meta !== null) {\n      meta.destroy();\n    }\n  }\n  /**\n    Retrieves the meta hash for an object. If `writable` is true ensures the\n    hash is writable for this object as well.\n  \n    The meta object contains information about computed property descriptors as\n    well as any watched properties and other information. You generally will\n    not access this information directly but instead work with higher level\n    methods that manipulate this hash indirectly.\n  \n    @method meta\n    @for Ember\n    @private\n  \n    @param {Object} obj The object to retrieve meta for\n    @param {Boolean} [writable=true] Pass `false` if you do not intend to modify\n      the meta hash, allowing the method to avoid making an unnecessary copy.\n    @return {Object} the meta hash for an object\n  */\n\n\n  var meta = function meta(obj) {\n    true && !(obj !== null) && (0, _debug.assert)('Cannot call `meta` on null', obj !== null);\n    true && !(obj !== undefined) && (0, _debug.assert)('Cannot call `meta` on undefined', obj !== undefined);\n    true && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)(\"Cannot call `meta` on \" + typeof obj, typeof obj === 'object' || typeof obj === 'function');\n\n    if (true\n    /* DEBUG */\n    ) {\n        counters.metaCalls++;\n      }\n\n    var maybeMeta = peekMeta(obj); // remove this code, in-favor of explicit parent\n\n    if (maybeMeta !== null && maybeMeta.source === obj) {\n      return maybeMeta;\n    }\n\n    var newMeta = new Meta(obj);\n    setMeta(obj, newMeta);\n    return newMeta;\n  };\n\n  _exports.meta = meta;\n\n  if (true\n  /* DEBUG */\n  ) {\n      meta._counters = counters;\n    }\n\n  function indexOfListener(listeners, event, target, method) {\n    for (var i = listeners.length - 1; i >= 0; i--) {\n      var listener = listeners[i];\n\n      if (listener.event === event && listener.target === target && listener.method === method) {\n        return i;\n      }\n    }\n\n    return -1;\n  }\n});","enifed(\"@ember/-internals/metal\", [\"exports\", \"ember-babel\", \"@ember/polyfills\", \"@ember/-internals/meta\", \"@ember/debug\", \"@ember/-internals/utils\", \"@ember/runloop\", \"@glimmer/reference\", \"@ember/error\", \"ember/version\", \"@ember/-internals/environment\", \"@ember/deprecated-features\", \"@ember/-internals/owner\"], function (_exports, _emberBabel, _polyfills, _meta2, _debug, _utils, _runloop, _reference, _error, _version, _environment, _deprecatedFeatures, _owner) {\n  \"use strict\";\n\n  _exports.computed = computed;\n  _exports.isComputed = isComputed;\n  _exports.getCacheFor = getCacheFor;\n  _exports.getCachedValueFor = getCachedValueFor;\n  _exports.peekCacheFor = peekCacheFor;\n  _exports.alias = alias;\n  _exports.deprecateProperty = deprecateProperty;\n  _exports._getPath = _getPath;\n  _exports.get = _get2;\n  _exports.getWithDefault = getWithDefault;\n  _exports.set = _set2;\n  _exports.trySet = trySet;\n  _exports.objectAt = objectAt;\n  _exports.replace = replace;\n  _exports.replaceInNativeArray = replaceInNativeArray;\n  _exports.addArrayObserver = addArrayObserver;\n  _exports.removeArrayObserver = removeArrayObserver;\n  _exports.arrayContentWillChange = arrayContentWillChange;\n  _exports.arrayContentDidChange = arrayContentDidChange;\n  _exports.eachProxyFor = eachProxyFor;\n  _exports.eachProxyArrayWillChange = eachProxyArrayWillChange;\n  _exports.eachProxyArrayDidChange = eachProxyArrayDidChange;\n  _exports.addListener = addListener;\n  _exports.hasListeners = hasListeners;\n  _exports.on = on;\n  _exports.removeListener = removeListener;\n  _exports.sendEvent = sendEvent;\n  _exports.isNone = isNone;\n  _exports.isEmpty = isEmpty;\n  _exports.isBlank = isBlank;\n  _exports.isPresent = isPresent;\n  _exports.beginPropertyChanges = beginPropertyChanges;\n  _exports.changeProperties = changeProperties;\n  _exports.endPropertyChanges = endPropertyChanges;\n  _exports.notifyPropertyChange = notifyPropertyChange;\n  _exports.overrideChains = overrideChains;\n  _exports.defineProperty = defineProperty;\n  _exports.isElementDescriptor = isElementDescriptor;\n  _exports.nativeDescDecorator = nativeDescDecorator;\n  _exports.descriptorForDecorator = descriptorForDecorator;\n  _exports.descriptorForProperty = descriptorForProperty;\n  _exports.isClassicDecorator = isClassicDecorator;\n  _exports.setClassicDecorator = setClassicDecorator;\n  _exports.watchKey = watchKey;\n  _exports.unwatchKey = unwatchKey;\n  _exports.finishChains = finishChains;\n  _exports.removeChainWatcher = removeChainWatcher;\n  _exports.getChainTagsForKey = getChainTagsForKey;\n  _exports.watchPath = watchPath;\n  _exports.unwatchPath = unwatchPath;\n  _exports.isWatching = isWatching;\n  _exports.unwatch = unwatch;\n  _exports.watch = watch;\n  _exports.watcherCount = watcherCount;\n  _exports.getProperties = getProperties;\n  _exports.setProperties = setProperties;\n  _exports.expandProperties = expandProperties;\n  _exports.addObserver = addObserver;\n  _exports.activateObserver = activateObserver;\n  _exports.removeObserver = removeObserver;\n  _exports.flushInvalidActiveObservers = flushInvalidActiveObservers;\n  _exports.mixin = mixin;\n  _exports.observer = observer;\n  _exports.applyMixin = applyMixin;\n  _exports.inject = inject;\n  _exports.tagForProperty = tagForProperty;\n  _exports.tagFor = tagFor;\n  _exports.markObjectAsDirty = markObjectAsDirty;\n  _exports.consume = consume;\n  _exports.tracked = tracked;\n  _exports.track = track;\n  _exports.addNamespace = addNamespace;\n  _exports.classToString = classToString;\n  _exports.findNamespace = findNamespace;\n  _exports.findNamespaces = findNamespaces;\n  _exports.processNamespace = processNamespace;\n  _exports.processAllNamespaces = processAllNamespaces;\n  _exports.removeNamespace = removeNamespace;\n  _exports.isNamespaceSearchDisabled = isSearchDisabled;\n  _exports.setNamespaceSearchDisabled = setSearchDisabled;\n  _exports.NAMESPACES_BY_ID = _exports.NAMESPACES = _exports.Tracker = _exports.assertNotRendered = _exports.didRender = _exports.runInTransaction = _exports.UNKNOWN_PROPERTY_TAG = _exports.DEBUG_INJECTION_FUNCTIONS = _exports.aliasMethod = _exports.Mixin = _exports.Libraries = _exports.libraries = _exports.ChainNode = _exports.PROPERTY_DID_CHANGE = _exports.PROXY_CONTENT = _exports.ComputedProperty = _exports._globalsComputed = void 0;\n  var COMPUTED_PROPERTY_CACHED_VALUES = new WeakMap();\n  var COMPUTED_PROPERTY_LAST_REVISION = false\n  /* EMBER_METAL_TRACKED_PROPERTIES */\n  ? new WeakMap() : undefined;\n  /**\n    Returns the cached value for a property, if one exists.\n    This can be useful for peeking at the value of a computed\n    property that is generated lazily, without accidentally causing\n    it to be created.\n  \n    @method cacheFor\n    @static\n    @for @ember/object/internals\n    @param {Object} obj the object whose property you want to check\n    @param {String} key the name of the property whose cached value you want\n      to return\n    @return {Object} the cached value\n    @public\n  */\n\n  function getCacheFor(obj) {\n    var cache = COMPUTED_PROPERTY_CACHED_VALUES.get(obj);\n\n    if (cache === undefined) {\n      cache = new Map();\n      COMPUTED_PROPERTY_CACHED_VALUES.set(obj, cache);\n    }\n\n    return cache;\n  }\n\n  function getCachedValueFor(obj, key) {\n    var cache = COMPUTED_PROPERTY_CACHED_VALUES.get(obj);\n\n    if (cache !== undefined) {\n      return cache.get(key);\n    }\n  }\n\n  var setLastRevisionFor;\n  var getLastRevisionFor;\n\n  if (false\n  /* EMBER_METAL_TRACKED_PROPERTIES */\n  ) {\n      setLastRevisionFor = function (obj, key, revision) {\n        var cache = COMPUTED_PROPERTY_LAST_REVISION.get(obj);\n\n        if (cache === undefined) {\n          cache = new Map();\n          COMPUTED_PROPERTY_LAST_REVISION.set(obj, cache);\n        }\n\n        cache.set(key, revision);\n      };\n\n      getLastRevisionFor = function (obj, key) {\n        var cache = COMPUTED_PROPERTY_LAST_REVISION.get(obj);\n\n        if (cache === undefined) {\n          return 0;\n        } else {\n          var revision = cache.get(key);\n          return revision === undefined ? 0 : revision;\n        }\n      };\n    }\n\n  function peekCacheFor(obj) {\n    return COMPUTED_PROPERTY_CACHED_VALUES.get(obj);\n  }\n\n  var DECORATOR_DESCRIPTOR_MAP = new WeakMap();\n  /**\n    Returns the CP descriptor assocaited with `obj` and `keyName`, if any.\n  \n    @method descriptorForProperty\n    @param {Object} obj the object to check\n    @param {String} keyName the key to check\n    @return {Descriptor}\n    @private\n  */\n\n  function descriptorForProperty(obj, keyName, _meta) {\n    true && !(obj !== null) && (0, _debug.assert)('Cannot call `descriptorForProperty` on null', obj !== null);\n    true && !(obj !== undefined) && (0, _debug.assert)('Cannot call `descriptorForProperty` on undefined', obj !== undefined);\n    true && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)(\"Cannot call `descriptorForProperty` on \" + typeof obj, typeof obj === 'object' || typeof obj === 'function');\n    var meta$$1 = _meta === undefined ? (0, _meta2.peekMeta)(obj) : _meta;\n\n    if (meta$$1 !== null) {\n      return meta$$1.peekDescriptors(keyName);\n    }\n  }\n\n  function descriptorForDecorator(dec) {\n    return DECORATOR_DESCRIPTOR_MAP.get(dec);\n  }\n  /**\n    Check whether a value is a decorator\n  \n    @method isClassicDecorator\n    @param {any} possibleDesc the value to check\n    @return {boolean}\n    @private\n  */\n\n\n  function isClassicDecorator(dec) {\n    return dec !== null && dec !== undefined && DECORATOR_DESCRIPTOR_MAP.has(dec);\n  }\n  /**\n    Set a value as a decorator\n  \n    @method setClassicDecorator\n    @param {function} decorator the value to mark as a decorator\n    @private\n  */\n\n\n  function setClassicDecorator(dec) {\n    var value = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n    DECORATOR_DESCRIPTOR_MAP.set(dec, value);\n  }\n\n  var firstDotIndexCache = new _utils.Cache(1000, function (key) {\n    return key.indexOf('.');\n  });\n\n  function isPath(path) {\n    return typeof path === 'string' && firstDotIndexCache.get(path) !== -1;\n  }\n\n  var UNKNOWN_PROPERTY_TAG = (0, _utils.symbol)('UNKNOWN_PROPERTY_TAG');\n  _exports.UNKNOWN_PROPERTY_TAG = UNKNOWN_PROPERTY_TAG;\n\n  function makeTag() {\n    return _reference.DirtyableTag.create();\n  }\n\n  function tagForProperty(object, propertyKey, _meta) {\n    var objectType = typeof object;\n\n    if (objectType !== 'function' && (objectType !== 'object' || object === null)) {\n      return _reference.CONSTANT_TAG;\n    }\n\n    var meta$$1 = _meta === undefined ? (0, _meta2.meta)(object) : _meta;\n\n    if (false\n    /* EMBER_METAL_TRACKED_PROPERTIES */\n    ) {\n        if (!(propertyKey in object) && typeof object[UNKNOWN_PROPERTY_TAG] === 'function') {\n          return object[UNKNOWN_PROPERTY_TAG](propertyKey);\n        }\n      } else if ((0, _utils.isProxy)(object)) {\n      return tagFor(object, meta$$1);\n    }\n\n    var tags = meta$$1.writableTags();\n    var tag = tags[propertyKey];\n\n    if (tag) {\n      return tag;\n    }\n\n    if (false\n    /* EMBER_METAL_TRACKED_PROPERTIES */\n    ) {\n        var pair = (0, _reference.combine)([makeTag(), _reference.UpdatableTag.create(_reference.CONSTANT_TAG)]);\n\n        if (true\n        /* DEBUG */\n        ) {\n            if (false\n            /* EMBER_METAL_TRACKED_PROPERTIES */\n            ) {\n                (0, _utils.setupMandatorySetter)(object, propertyKey);\n              }\n\n            pair._propertyKey = propertyKey;\n          }\n\n        return tags[propertyKey] = pair;\n      } else {\n      return tags[propertyKey] = makeTag();\n    }\n  }\n\n  function tagFor(object, _meta) {\n    if (typeof object === 'object' && object !== null) {\n      var meta$$1 = _meta === undefined ? (0, _meta2.meta)(object) : _meta;\n\n      if (!meta$$1.isMetaDestroyed()) {\n        return meta$$1.writableTag(makeTag);\n      }\n    }\n\n    return _reference.CONSTANT_TAG;\n  }\n\n  var dirty;\n  var update;\n\n  if (false\n  /* EMBER_METAL_TRACKED_PROPERTIES */\n  ) {\n      dirty = function (tag) {\n        tag.inner.first.inner.dirty();\n      };\n\n      update = function (outer, inner) {\n        outer.inner.lastChecked = 0;\n        outer.inner.second.inner.update(inner);\n      };\n    } else {\n    dirty = function (tag) {\n      tag.inner.dirty();\n    };\n  }\n\n  function markObjectAsDirty(obj, propertyKey, _meta) {\n    var meta$$1 = _meta === undefined ? (0, _meta2.meta)(obj) : _meta;\n    var objectTag = meta$$1.readableTag();\n\n    if (objectTag !== undefined) {\n      if ((0, _utils.isProxy)(obj)) {\n        objectTag.inner.first.inner.dirty();\n      } else {\n        objectTag.inner.dirty();\n      }\n    }\n\n    var tags = meta$$1.readableTags();\n    var propertyTag = tags !== undefined ? tags[propertyKey] : undefined;\n\n    if (propertyTag !== undefined) {\n      dirty(propertyTag);\n    }\n\n    if (objectTag !== undefined || propertyTag !== undefined) {\n      ensureRunloop();\n    }\n  }\n\n  function ensureRunloop() {\n    _runloop.backburner.ensureInstance();\n  }\n\n  var AFTER_OBSERVERS = ':change';\n\n  function changeEvent(keyName) {\n    return keyName + AFTER_OBSERVERS;\n  }\n  /**\n  @module @ember/object\n  */\n\n  /*\n    The event system uses a series of nested hashes to store listeners on an\n    object. When a listener is registered, or when an event arrives, these\n    hashes are consulted to determine which target and action pair to invoke.\n  \n    The hashes are stored in the object's meta hash, and look like this:\n  \n        // Object's meta hash\n        {\n          listeners: {       // variable name: `listenerSet`\n            \"foo:change\": [ // variable name: `actions`\n              target, method, once\n            ]\n          }\n        }\n  \n  */\n\n  /**\n    Add an event listener\n  \n    @method addListener\n    @static\n    @for @ember/object/events\n    @param obj\n    @param {String} eventName\n    @param {Object|Function} target A target object or a function\n    @param {Function|String} method A function or the name of a function to be called on `target`\n    @param {Boolean} once A flag whether a function should only be called once\n    @public\n  */\n\n\n  function addListener(obj, eventName, target, method, once) {\n    true && !(Boolean(obj) && Boolean(eventName)) && (0, _debug.assert)('You must pass at least an object and event name to addListener', Boolean(obj) && Boolean(eventName));\n\n    if (!method && 'function' === typeof target) {\n      method = target;\n      target = null;\n    }\n\n    (0, _meta2.meta)(obj).addToListeners(eventName, target, method, once === true);\n  }\n  /**\n    Remove an event listener\n  \n    Arguments should match those passed to `addListener`.\n  \n    @method removeListener\n    @static\n    @for @ember/object/events\n    @param obj\n    @param {String} eventName\n    @param {Object|Function} target A target object or a function\n    @param {Function|String} method A function or the name of a function to be called on `target`\n    @public\n  */\n\n\n  function removeListener(obj, eventName, targetOrFunction, functionOrName) {\n    true && !(Boolean(obj) && Boolean(eventName) && (typeof targetOrFunction === 'function' || typeof targetOrFunction === 'object' && Boolean(functionOrName))) && (0, _debug.assert)('You must pass at least an object, event name, and method or target and method/method name to removeListener', Boolean(obj) && Boolean(eventName) && (typeof targetOrFunction === 'function' || typeof targetOrFunction === 'object' && Boolean(functionOrName)));\n    var target, method;\n\n    if (typeof targetOrFunction === 'object') {\n      target = targetOrFunction;\n      method = functionOrName;\n    } else {\n      target = null;\n      method = targetOrFunction;\n    }\n\n    var m = (0, _meta2.meta)(obj);\n    m.removeFromListeners(eventName, target, method);\n  }\n  /**\n    Send an event. The execution of suspended listeners\n    is skipped, and once listeners are removed. A listener without\n    a target is executed on the passed object. If an array of actions\n    is not passed, the actions stored on the passed object are invoked.\n  \n    @method sendEvent\n    @static\n    @for @ember/object/events\n    @param obj\n    @param {String} eventName\n    @param {Array} params Optional parameters for each listener.\n    @return {Boolean} if the event was delivered to one or more actions\n    @public\n  */\n\n\n  function sendEvent(obj, eventName, params, actions, _meta) {\n    if (actions === undefined) {\n      var meta$$1 = _meta === undefined ? (0, _meta2.peekMeta)(obj) : _meta;\n      actions = typeof meta$$1 === 'object' && meta$$1 !== null ? meta$$1.matchingListeners(eventName) : undefined;\n    }\n\n    if (actions === undefined || actions.length === 0) {\n      return false;\n    }\n\n    for (var i = actions.length - 3; i >= 0; i -= 3) {\n      // looping in reverse for once listeners\n      var target = actions[i];\n      var method = actions[i + 1];\n      var once = actions[i + 2];\n\n      if (!method) {\n        continue;\n      }\n\n      if (once) {\n        removeListener(obj, eventName, target, method);\n      }\n\n      if (!target) {\n        target = obj;\n      }\n\n      if ('string' === typeof method) {\n        method = target[method];\n      }\n\n      method.apply(target, params);\n    }\n\n    return true;\n  }\n  /**\n    @private\n    @method hasListeners\n    @static\n    @for @ember/object/events\n    @param obj\n    @param {String} eventName\n    @return {Boolean} if `obj` has listeners for event `eventName`\n  */\n\n\n  function hasListeners(obj, eventName) {\n    var meta$$1 = (0, _meta2.peekMeta)(obj);\n\n    if (meta$$1 === null) {\n      return false;\n    }\n\n    var matched = meta$$1.matchingListeners(eventName);\n    return matched !== undefined && matched.length > 0;\n  }\n  /**\n    Define a property as a function that should be executed when\n    a specified event or events are triggered.\n  \n    ``` javascript\n    import EmberObject from '@ember/object';\n    import { on } from '@ember/object/evented';\n    import { sendEvent } from '@ember/object/events';\n  \n    let Job = EmberObject.extend({\n      logCompleted: on('completed', function() {\n        console.log('Job completed!');\n      })\n    });\n  \n    let job = Job.create();\n  \n    sendEvent(job, 'completed'); // Logs 'Job completed!'\n   ```\n  \n    @method on\n    @static\n    @for @ember/object/evented\n    @param {String} eventNames*\n    @param {Function} func\n    @return {Function} the listener function, passed as last argument to on(...)\n    @public\n  */\n\n\n  function on() {\n    for (var _len = arguments.length, args = new Array(_len), _key2 = 0; _key2 < _len; _key2++) {\n      args[_key2] = arguments[_key2];\n    }\n\n    var func = args.pop();\n    var events = args;\n    true && !(typeof func === 'function') && (0, _debug.assert)('on expects function as last argument', typeof func === 'function');\n    true && !(events.length > 0 && events.every(function (p) {\n      return typeof p === 'string' && p.length > 0;\n    })) && (0, _debug.assert)('on called without valid event names', events.length > 0 && events.every(function (p) {\n      return typeof p === 'string' && p.length > 0;\n    }));\n    (0, _utils.setListeners)(func, events);\n    return func;\n  }\n  /**\n    ObserverSet is a data structure used to keep track of observers\n    that have been deferred.\n  \n    It ensures that observers are called in the same order that they\n    were initially triggered.\n  \n    It also ensures that observers for any object-key pairs are called\n    only once, even if they were triggered multiple times while\n    deferred. In this case, the order that the observer is called in\n    will depend on the first time the observer was triggered.\n  \n    @private\n    @class ObserverSet\n  */\n\n\n  var ObserverSet =\n  /*#__PURE__*/\n  function () {\n    function ObserverSet() {\n      this.added = new Map();\n      this.queue = [];\n    }\n\n    var _proto = ObserverSet.prototype;\n\n    _proto.add = function add(object, key, event) {\n      var keys = this.added.get(object);\n\n      if (keys === undefined) {\n        keys = new Set();\n        this.added.set(object, keys);\n      }\n\n      if (!keys.has(key)) {\n        this.queue.push(object, key, event);\n        keys.add(key);\n      }\n    };\n\n    _proto.flush = function flush() {\n      // The queue is saved off to support nested flushes.\n      var queue = this.queue;\n      this.added.clear();\n      this.queue = [];\n\n      for (var i = 0; i < queue.length; i += 3) {\n        var object = queue[i];\n        var key = queue[i + 1];\n        var event = queue[i + 2];\n\n        if (object.isDestroying || object.isDestroyed) {\n          continue;\n        }\n\n        sendEvent(object, event, [object, key]);\n      }\n    };\n\n    return ObserverSet;\n  }();\n\n  var runInTransaction;\n  _exports.runInTransaction = runInTransaction;\n  var didRender;\n  _exports.didRender = didRender;\n  var assertNotRendered; // detect-backtracking-rerender by default is debug build only\n\n  _exports.assertNotRendered = assertNotRendered;\n\n  if (true\n  /* DEBUG */\n  ) {\n      // there are 2 states\n      // DEBUG\n      // tracks lastRef and lastRenderedIn per rendered object and key during a transaction\n      // release everything via normal weakmap semantics by just derefencing the weakmap\n      // RELEASE\n      // tracks transactionId per rendered object and key during a transaction\n      // release everything via normal weakmap semantics by just derefencing the weakmap\n      var TransactionRunner =\n      /*#__PURE__*/\n      function () {\n        function TransactionRunner() {\n          this.transactionId = 0;\n          this.inTransaction = false;\n          this.shouldReflush = false;\n          this.weakMap = new WeakMap();\n\n          if (true\n          /* DEBUG */\n          ) {\n              // track templates\n              this.debugStack = undefined;\n            }\n        }\n\n        var _proto2 = TransactionRunner.prototype;\n\n        _proto2.runInTransaction = function runInTransaction(context$$1, methodName) {\n          this.before(context$$1);\n\n          try {\n            context$$1[methodName]();\n          } finally {\n            this.after();\n          }\n\n          return this.shouldReflush;\n        };\n\n        _proto2.didRender = function didRender(object, key, reference) {\n          if (!this.inTransaction) {\n            return;\n          }\n\n          if (true\n          /* DEBUG */\n          ) {\n              this.setKey(object, key, {\n                lastRef: reference,\n                lastRenderedIn: this.debugStack.peek()\n              });\n            } else {\n            this.setKey(object, key, this.transactionId);\n          }\n        };\n\n        _proto2.assertNotRendered = function assertNotRendered(object, key) {\n          if (!this.inTransaction) {\n            return;\n          }\n\n          if (this.hasRendered(object, key)) {\n            if (true\n            /* DEBUG */\n            ) {\n                var _this$getKey = this.getKey(object, key),\n                    lastRef = _this$getKey.lastRef,\n                    lastRenderedIn = _this$getKey.lastRenderedIn;\n\n                var currentlyIn = this.debugStack.peek();\n                var parts = [];\n                var label;\n\n                if (lastRef !== undefined) {\n                  while (lastRef && lastRef.propertyKey) {\n                    parts.unshift(lastRef.propertyKey);\n                    lastRef = lastRef.parentReference;\n                  }\n\n                  label = parts.join('.');\n                } else {\n                  label = 'the same value';\n                }\n\n                true && !false && (0, _debug.assert)(\"You modified \\\"\" + label + \"\\\" twice on \" + object + \" in a single render. It was rendered in \" + lastRenderedIn + \" and modified in \" + currentlyIn + \". This was unreliable and slow in Ember 1.x and is no longer supported. See https://github.com/emberjs/ember.js/issues/13948 for more details.\", false);\n              }\n\n            this.shouldReflush = true;\n          }\n        };\n\n        _proto2.hasRendered = function hasRendered(object, key) {\n          if (!this.inTransaction) {\n            return false;\n          }\n\n          if (true\n          /* DEBUG */\n          ) {\n              return this.getKey(object, key) !== undefined;\n            }\n\n          return this.getKey(object, key) === this.transactionId;\n        };\n\n        _proto2.before = function before(context$$1) {\n          this.inTransaction = true;\n          this.shouldReflush = false;\n\n          if (true\n          /* DEBUG */\n          ) {\n              this.debugStack = context$$1.env.debugStack;\n            }\n        };\n\n        _proto2.after = function after() {\n          this.transactionId++;\n          this.inTransaction = false;\n\n          if (true\n          /* DEBUG */\n          ) {\n              this.debugStack = undefined;\n            }\n\n          this.clearObjectMap();\n        };\n\n        _proto2.createMap = function createMap(object) {\n          var map = Object.create(null);\n          this.weakMap.set(object, map);\n          return map;\n        };\n\n        _proto2.getOrCreateMap = function getOrCreateMap(object) {\n          var map = this.weakMap.get(object);\n\n          if (map === undefined) {\n            map = this.createMap(object);\n          }\n\n          return map;\n        };\n\n        _proto2.setKey = function setKey(object, key, value) {\n          var map = this.getOrCreateMap(object);\n          map[key] = value;\n        };\n\n        _proto2.getKey = function getKey(object, key) {\n          var map = this.weakMap.get(object);\n\n          if (map !== undefined) {\n            return map[key];\n          }\n        };\n\n        _proto2.clearObjectMap = function clearObjectMap() {\n          this.weakMap = new WeakMap();\n        };\n\n        return TransactionRunner;\n      }();\n\n      var runner = new TransactionRunner();\n\n      _exports.runInTransaction = runInTransaction = function () {\n        return runner.runInTransaction.apply(runner, arguments);\n      };\n\n      _exports.didRender = didRender = function () {\n        return runner.didRender.apply(runner, arguments);\n      };\n\n      _exports.assertNotRendered = assertNotRendered = function () {\n        return runner.assertNotRendered.apply(runner, arguments);\n      };\n    } else {\n    // in production do nothing to detect reflushes\n    _exports.runInTransaction = runInTransaction = function (context$$1, methodName) {\n      context$$1[methodName]();\n      return false;\n    };\n  }\n  /**\n   @module ember\n   @private\n   */\n\n\n  var PROPERTY_DID_CHANGE = (0, _utils.symbol)('PROPERTY_DID_CHANGE');\n  _exports.PROPERTY_DID_CHANGE = PROPERTY_DID_CHANGE;\n  var observerSet = new ObserverSet();\n  var deferred = 0;\n  /**\n    This function is called just after an object property has changed.\n    It will notify any observers and clear caches among other things.\n  \n    Normally you will not need to call this method directly but if for some\n    reason you can't directly watch a property you can invoke this method\n    manually.\n  \n    @method notifyPropertyChange\n    @for @ember/object\n    @param {Object} obj The object with the property that will change\n    @param {String} keyName The property key (or path) that will change.\n    @param {Meta} meta The objects meta.\n    @return {void}\n    @since 3.1.0\n    @public\n  */\n\n  function notifyPropertyChange(obj, keyName, _meta) {\n    var meta$$1 = _meta === undefined ? (0, _meta2.peekMeta)(obj) : _meta;\n\n    if (meta$$1 !== null && (meta$$1.isInitializing() || meta$$1.isPrototypeMeta(obj))) {\n      return;\n    }\n\n    if (!false\n    /* EMBER_METAL_TRACKED_PROPERTIES */\n    ) {\n        var possibleDesc = descriptorForProperty(obj, keyName, meta$$1);\n\n        if (possibleDesc !== undefined && typeof possibleDesc.didChange === 'function') {\n          possibleDesc.didChange(obj, keyName);\n        }\n\n        if (meta$$1 !== null && meta$$1.peekWatching(keyName) > 0) {\n          dependentKeysDidChange(obj, keyName, meta$$1);\n          chainsDidChange(obj, keyName, meta$$1);\n          notifyObservers(obj, keyName, meta$$1);\n        }\n      }\n\n    if (meta$$1 !== null) {\n      markObjectAsDirty(obj, keyName, meta$$1);\n    }\n\n    if (PROPERTY_DID_CHANGE in obj) {\n      obj[PROPERTY_DID_CHANGE](keyName);\n    }\n\n    if (true\n    /* DEBUG */\n    ) {\n        assertNotRendered(obj, keyName);\n      }\n  }\n\n  var SEEN_MAP = new Map();\n  var IS_TOP_SEEN_MAP = true; // called whenever a property has just changed to update dependent keys\n\n  function dependentKeysDidChange(obj, depKey, meta$$1) {\n    if (meta$$1.isSourceDestroying() || !meta$$1.hasDeps(depKey)) {\n      return;\n    }\n\n    var seen = SEEN_MAP;\n    var isTop = IS_TOP_SEEN_MAP;\n\n    if (isTop) {\n      IS_TOP_SEEN_MAP = false;\n    }\n\n    iterDeps(notifyPropertyChange, obj, depKey, seen, meta$$1);\n\n    if (isTop) {\n      SEEN_MAP.clear();\n      IS_TOP_SEEN_MAP = true;\n    }\n  }\n\n  function iterDeps(method, obj, depKey, seen, meta$$1) {\n    var current = seen.get(obj);\n\n    if (current === undefined) {\n      current = new Set();\n      seen.set(obj, current);\n    }\n\n    if (current.has(depKey)) {\n      return;\n    }\n\n    var possibleDesc;\n    meta$$1.forEachInDeps(depKey, function (key) {\n      possibleDesc = descriptorForProperty(obj, key, meta$$1);\n\n      if (possibleDesc !== undefined && possibleDesc._suspended === obj) {\n        return;\n      }\n\n      method(obj, key, meta$$1);\n    });\n  }\n\n  function chainsDidChange(_obj, keyName, meta$$1) {\n    var chainWatchers = meta$$1.readableChainWatchers();\n\n    if (chainWatchers !== undefined) {\n      chainWatchers.notify(keyName, true, notifyPropertyChange);\n    }\n  }\n\n  function overrideChains(_obj, keyName, meta$$1) {\n    var chainWatchers = meta$$1.readableChainWatchers();\n\n    if (chainWatchers !== undefined) {\n      chainWatchers.revalidate(keyName);\n    }\n  }\n  /**\n    @method beginPropertyChanges\n    @chainable\n    @private\n  */\n\n\n  function beginPropertyChanges() {\n    deferred++;\n  }\n  /**\n    @method endPropertyChanges\n    @private\n  */\n\n\n  function endPropertyChanges() {\n    deferred--;\n\n    if (deferred <= 0) {\n      observerSet.flush();\n    }\n  }\n  /**\n    Make a series of property changes together in an\n    exception-safe way.\n  \n    ```javascript\n    Ember.changeProperties(function() {\n      obj1.set('foo', mayBlowUpWhenSet);\n      obj2.set('bar', baz);\n    });\n    ```\n  \n    @method changeProperties\n    @param {Function} callback\n    @private\n  */\n\n\n  function changeProperties(callback) {\n    beginPropertyChanges();\n\n    try {\n      callback();\n    } finally {\n      endPropertyChanges();\n    }\n  }\n\n  function notifyObservers(obj, keyName, meta$$1) {\n    if (meta$$1.isSourceDestroying()) {\n      return;\n    }\n\n    var eventName = changeEvent(keyName);\n\n    if (deferred > 0) {\n      observerSet.add(obj, keyName, eventName);\n    } else {\n      sendEvent(obj, eventName, [obj, keyName]);\n    }\n  }\n  /**\n  @module @ember/object\n  */\n  // ..........................................................\n  // DEFINING PROPERTIES API\n  //\n\n\n  function MANDATORY_SETTER_FUNCTION(name) {\n    function SETTER_FUNCTION(value) {\n      var m = (0, _meta2.peekMeta)(this);\n\n      if (m.isInitializing() || m.isPrototypeMeta(this)) {\n        m.writeValues(name, value);\n      } else {\n        true && !false && (0, _debug.assert)(\"You must use set() to set the `\" + name + \"` property (of \" + this + \") to `\" + value + \"`.\", false);\n      }\n    }\n\n    return (0, _polyfills.assign)(SETTER_FUNCTION, {\n      isMandatorySetter: true\n    });\n  }\n\n  function DEFAULT_GETTER_FUNCTION(name) {\n    return function GETTER_FUNCTION() {\n      var meta$$1 = (0, _meta2.peekMeta)(this);\n\n      if (meta$$1 !== null) {\n        return meta$$1.peekValues(name);\n      }\n    };\n  }\n\n  function INHERITING_GETTER_FUNCTION(name) {\n    function IGETTER_FUNCTION() {\n      var meta$$1 = (0, _meta2.peekMeta)(this);\n      var val;\n\n      if (meta$$1 !== null) {\n        val = meta$$1.readInheritedValue('values', name);\n\n        if (val === _meta2.UNDEFINED) {\n          var proto = Object.getPrototypeOf(this);\n          return proto === null ? undefined : proto[name];\n        }\n      }\n\n      return val;\n    }\n\n    return (0, _polyfills.assign)(IGETTER_FUNCTION, {\n      isInheritingGetter: true\n    });\n  }\n  /**\n    NOTE: This is a low-level method used by other parts of the API. You almost\n    never want to call this method directly. Instead you should use\n    `mixin()` to define new properties.\n  \n    Defines a property on an object. This method works much like the ES5\n    `Object.defineProperty()` method except that it can also accept computed\n    properties and other special descriptors.\n  \n    Normally this method takes only three parameters. However if you pass an\n    instance of `Descriptor` as the third param then you can pass an\n    optional value as the fourth parameter. This is often more efficient than\n    creating new descriptor hashes for each property.\n  \n    ## Examples\n  \n    ```javascript\n    import { defineProperty, computed } from '@ember/object';\n  \n    // ES5 compatible mode\n    defineProperty(contact, 'firstName', {\n      writable: true,\n      configurable: false,\n      enumerable: true,\n      value: 'Charles'\n    });\n  \n    // define a simple property\n    defineProperty(contact, 'lastName', undefined, 'Jolley');\n  \n    // define a computed property\n    defineProperty(contact, 'fullName', computed('firstName', 'lastName', function() {\n      return this.firstName+' '+this.lastName;\n    }));\n    ```\n  \n    @public\n    @method defineProperty\n    @static\n    @for @ember/object\n    @param {Object} obj the object to define this property on. This may be a prototype.\n    @param {String} keyName the name of the property\n    @param {Descriptor} [desc] an instance of `Descriptor` (typically a\n      computed property) or an ES5 descriptor.\n      You must provide this or `data` but not both.\n    @param {*} [data] something other than a descriptor, that will\n      become the explicit value of this property.\n  */\n\n\n  function defineProperty(obj, keyName, desc, data, meta$$1) {\n    if (meta$$1 === undefined) {\n      meta$$1 = (0, _meta2.meta)(obj);\n    }\n\n    var watching = meta$$1.peekWatching(keyName) > 0;\n    var previousDesc = descriptorForProperty(obj, keyName, meta$$1);\n    var wasDescriptor = previousDesc !== undefined;\n\n    if (wasDescriptor) {\n      previousDesc.teardown(obj, keyName, meta$$1);\n    } // used to track if the the property being defined be enumerable\n\n\n    var enumerable = true; // Ember.NativeArray is a normal Ember.Mixin that we mix into `Array.prototype` when prototype extensions are enabled\n    // mutating a native object prototype like this should _not_ result in enumerable properties being added (or we have significant\n    // issues with things like deep equality checks from test frameworks, or things like jQuery.extend(true, [], [])).\n    //\n    // this is a hack, and we should stop mutating the array prototype by default 😫\n\n    if (obj === Array.prototype) {\n      enumerable = false;\n    }\n\n    var value;\n\n    if (isClassicDecorator(desc)) {\n      var propertyDesc;\n\n      if (true\n      /* DEBUG */\n      ) {\n          propertyDesc = desc(obj, keyName, undefined, meta$$1, true);\n        } else {\n        propertyDesc = desc(obj, keyName, undefined, meta$$1);\n      }\n\n      Object.defineProperty(obj, keyName, propertyDesc); // pass the decorator function forward for backwards compat\n\n      value = desc;\n    } else if (desc === undefined || desc === null) {\n      value = data;\n\n      if (true\n      /* DEBUG */\n      && watching) {\n        meta$$1.writeValues(keyName, data);\n        var defaultDescriptor = {\n          configurable: true,\n          enumerable: enumerable,\n          set: MANDATORY_SETTER_FUNCTION(keyName),\n          get: DEFAULT_GETTER_FUNCTION(keyName)\n        };\n        Object.defineProperty(obj, keyName, defaultDescriptor);\n      } else if (wasDescriptor || enumerable === false) {\n        Object.defineProperty(obj, keyName, {\n          configurable: true,\n          enumerable: enumerable,\n          writable: true,\n          value: value\n        });\n      } else {\n        if (false\n        /* EMBER_METAL_TRACKED_PROPERTIES */\n        && true\n        /* DEBUG */\n        ) {\n            (0, _utils.setWithMandatorySetter)(obj, keyName, data);\n          } else {\n          obj[keyName] = data;\n        }\n      }\n    } else {\n      value = desc; // fallback to ES5\n\n      Object.defineProperty(obj, keyName, desc);\n    } // if key is being watched, override chains that\n    // were initialized with the prototype\n\n\n    if (watching) {\n      overrideChains(obj, keyName, meta$$1);\n    } // The `value` passed to the `didDefineProperty` hook is\n    // either the descriptor or data, whichever was passed.\n\n\n    if (typeof obj.didDefineProperty === 'function') {\n      obj.didDefineProperty(obj, keyName, value);\n    }\n  }\n\n  var handleMandatorySetter;\n\n  function watchKey(obj, keyName, _meta) {\n    var meta$$1 = _meta === undefined ? (0, _meta2.meta)(obj) : _meta;\n    var count = meta$$1.peekWatching(keyName);\n    meta$$1.writeWatching(keyName, count + 1);\n\n    if (count === 0) {\n      // activate watching first time\n      var possibleDesc = descriptorForProperty(obj, keyName, meta$$1);\n\n      if (possibleDesc !== undefined && possibleDesc.willWatch !== undefined) {\n        possibleDesc.willWatch(obj, keyName, meta$$1);\n      }\n\n      if (!false\n      /* EMBER_METAL_TRACKED_PROPERTIES */\n      ) {\n          if (typeof obj.willWatchProperty === 'function') {\n            obj.willWatchProperty(keyName);\n          }\n        }\n\n      if (true\n      /* DEBUG */\n      ) {\n          // NOTE: this is dropped for prod + minified builds\n          handleMandatorySetter(meta$$1, obj, keyName);\n        }\n    }\n  }\n\n  if (true\n  /* DEBUG */\n  ) {\n      var _hasOwnProperty = function (obj, key) {\n        return Object.prototype.hasOwnProperty.call(obj, key);\n      };\n\n      var _propertyIsEnumerable = function (obj, key) {\n        return Object.prototype.propertyIsEnumerable.call(obj, key);\n      }; // Future traveler, although this code looks scary. It merely exists in\n      // development to aid in development asertions. Production builds of\n      // ember strip this entire block out\n\n\n      handleMandatorySetter = function handleMandatorySetter(m, obj, keyName) {\n        var descriptor = (0, _utils.lookupDescriptor)(obj, keyName);\n        var hasDescriptor = descriptor !== null;\n        var possibleDesc = hasDescriptor && descriptor.value;\n\n        if (isClassicDecorator(possibleDesc)) {\n          return;\n        }\n\n        var configurable = hasDescriptor ? descriptor.configurable : true;\n        var isWritable = hasDescriptor ? descriptor.writable : true;\n        var hasValue = hasDescriptor ? 'value' in descriptor : true; // this x in Y deopts, so keeping it in this function is better;\n\n        if (configurable && isWritable && hasValue && keyName in obj) {\n          var desc = {\n            configurable: true,\n            set: MANDATORY_SETTER_FUNCTION(keyName),\n            enumerable: _propertyIsEnumerable(obj, keyName),\n            get: undefined\n          };\n\n          if (_hasOwnProperty(obj, keyName)) {\n            m.writeValues(keyName, obj[keyName]);\n            desc.get = DEFAULT_GETTER_FUNCTION(keyName);\n          } else {\n            desc.get = INHERITING_GETTER_FUNCTION(keyName);\n          }\n\n          Object.defineProperty(obj, keyName, desc);\n        }\n      };\n    }\n\n  function unwatchKey(obj, keyName, _meta) {\n    var meta$$1 = _meta === undefined ? (0, _meta2.peekMeta)(obj) : _meta; // do nothing of this object has already been destroyed\n\n    if (meta$$1 === null || meta$$1.isSourceDestroyed()) {\n      return;\n    }\n\n    var count = meta$$1.peekWatching(keyName);\n\n    if (count === 1) {\n      meta$$1.writeWatching(keyName, 0);\n      var possibleDesc = descriptorForProperty(obj, keyName, meta$$1);\n      var isDescriptor = possibleDesc !== undefined;\n\n      if (isDescriptor && possibleDesc.didUnwatch !== undefined) {\n        possibleDesc.didUnwatch(obj, keyName, meta$$1);\n      }\n\n      if (typeof obj.didUnwatchProperty === 'function') {\n        obj.didUnwatchProperty(keyName);\n      }\n\n      if (true\n      /* DEBUG */\n      ) {\n          // It is true, the following code looks quite WAT. But have no fear, It\n          // exists purely to improve development ergonomics and is removed from\n          // ember.min.js and ember.prod.js builds.\n          //\n          // Some further context: Once a property is watched by ember, bypassing `set`\n          // for mutation, will bypass observation. This code exists to assert when\n          // that occurs, and attempt to provide more helpful feedback. The alternative\n          // is tricky to debug partially observable properties.\n          if (!isDescriptor && keyName in obj) {\n            var maybeMandatoryDescriptor = (0, _utils.lookupDescriptor)(obj, keyName);\n\n            if (maybeMandatoryDescriptor && maybeMandatoryDescriptor.set && maybeMandatoryDescriptor.set.isMandatorySetter) {\n              if (maybeMandatoryDescriptor.get && maybeMandatoryDescriptor.get.isInheritingGetter) {\n                var possibleValue = meta$$1.readInheritedValue('values', keyName);\n\n                if (possibleValue === _meta2.UNDEFINED) {\n                  delete obj[keyName];\n                  return;\n                }\n              }\n\n              Object.defineProperty(obj, keyName, {\n                configurable: true,\n                enumerable: Object.prototype.propertyIsEnumerable.call(obj, keyName),\n                writable: true,\n                value: meta$$1.peekValues(keyName)\n              });\n              meta$$1.deleteFromValues(keyName);\n            }\n          }\n        }\n    } else if (count > 1) {\n      meta$$1.writeWatching(keyName, count - 1);\n    }\n  }\n\n  var EACH_PROXIES = new WeakMap();\n\n  function eachProxyArrayWillChange(array, idx, removedCnt, addedCnt) {\n    var eachProxy = EACH_PROXIES.get(array);\n\n    if (eachProxy !== undefined) {\n      eachProxy.arrayWillChange(array, idx, removedCnt, addedCnt);\n    }\n  }\n\n  function eachProxyArrayDidChange(array, idx, removedCnt, addedCnt) {\n    var eachProxy = EACH_PROXIES.get(array);\n\n    if (eachProxy !== undefined) {\n      eachProxy.arrayDidChange(array, idx, removedCnt, addedCnt);\n    }\n  }\n\n  function arrayContentWillChange(array, startIdx, removeAmt, addAmt) {\n    // if no args are passed assume everything changes\n    if (startIdx === undefined) {\n      startIdx = 0;\n      removeAmt = addAmt = -1;\n    } else {\n      if (removeAmt === undefined) {\n        removeAmt = -1;\n      }\n\n      if (addAmt === undefined) {\n        addAmt = -1;\n      }\n    }\n\n    if (!false\n    /* EMBER_METAL_TRACKED_PROPERTIES */\n    ) {\n        eachProxyArrayWillChange(array, startIdx, removeAmt, addAmt);\n      }\n\n    sendEvent(array, '@array:before', [array, startIdx, removeAmt, addAmt]);\n    return array;\n  }\n\n  function arrayContentDidChange(array, startIdx, removeAmt, addAmt) {\n    // if no args are passed assume everything changes\n    if (startIdx === undefined) {\n      startIdx = 0;\n      removeAmt = addAmt = -1;\n    } else {\n      if (removeAmt === undefined) {\n        removeAmt = -1;\n      }\n\n      if (addAmt === undefined) {\n        addAmt = -1;\n      }\n    }\n\n    var meta$$1 = (0, _meta2.peekMeta)(array);\n\n    if (addAmt < 0 || removeAmt < 0 || addAmt - removeAmt !== 0) {\n      notifyPropertyChange(array, 'length', meta$$1);\n    }\n\n    notifyPropertyChange(array, '[]', meta$$1);\n\n    if (!false\n    /* EMBER_METAL_TRACKED_PROPERTIES */\n    ) {\n        eachProxyArrayDidChange(array, startIdx, removeAmt, addAmt);\n      }\n\n    sendEvent(array, '@array:change', [array, startIdx, removeAmt, addAmt]);\n    var cache = peekCacheFor(array);\n\n    if (cache !== undefined) {\n      var length = array.length;\n      var addedAmount = addAmt === -1 ? 0 : addAmt;\n      var removedAmount = removeAmt === -1 ? 0 : removeAmt;\n      var delta = addedAmount - removedAmount;\n      var previousLength = length - delta;\n      var normalStartIdx = startIdx < 0 ? previousLength + startIdx : startIdx;\n\n      if (cache.has('firstObject') && normalStartIdx === 0) {\n        notifyPropertyChange(array, 'firstObject', meta$$1);\n      }\n\n      if (cache.has('lastObject')) {\n        var previousLastIndex = previousLength - 1;\n        var lastAffectedIndex = normalStartIdx + removedAmount;\n\n        if (previousLastIndex < lastAffectedIndex) {\n          notifyPropertyChange(array, 'lastObject', meta$$1);\n        }\n      }\n    }\n\n    return array;\n  }\n\n  var EMPTY_ARRAY = Object.freeze([]);\n\n  function objectAt(array, index) {\n    if (Array.isArray(array)) {\n      return array[index];\n    } else {\n      return array.objectAt(index);\n    }\n  }\n\n  function replace(array, start, deleteCount) {\n    var items = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : EMPTY_ARRAY;\n\n    if (Array.isArray(array)) {\n      replaceInNativeArray(array, start, deleteCount, items);\n    } else {\n      array.replace(start, deleteCount, items);\n    }\n  }\n\n  var CHUNK_SIZE = 60000; // To avoid overflowing the stack, we splice up to CHUNK_SIZE items at a time.\n  // See https://code.google.com/p/chromium/issues/detail?id=56588 for more details.\n\n  function replaceInNativeArray(array, start, deleteCount, items) {\n    arrayContentWillChange(array, start, deleteCount, items.length);\n\n    if (items.length <= CHUNK_SIZE) {\n      array.splice.apply(array, [start, deleteCount].concat(items));\n    } else {\n      array.splice(start, deleteCount);\n\n      for (var i = 0; i < items.length; i += CHUNK_SIZE) {\n        var chunk = items.slice(i, i + CHUNK_SIZE);\n        array.splice.apply(array, [start + i, 0].concat(chunk));\n      }\n    }\n\n    arrayContentDidChange(array, start, deleteCount, items.length);\n  }\n\n  function arrayObserversHelper(obj, target, opts, operation, notify) {\n    var willChange = opts && opts.willChange || 'arrayWillChange';\n    var didChange = opts && opts.didChange || 'arrayDidChange';\n\n    var hasObservers = _get2(obj, 'hasArrayObservers');\n\n    operation(obj, '@array:before', target, willChange);\n    operation(obj, '@array:change', target, didChange);\n\n    if (hasObservers === notify) {\n      notifyPropertyChange(obj, 'hasArrayObservers');\n    }\n\n    return obj;\n  }\n\n  function addArrayObserver(array, target, opts) {\n    return arrayObserversHelper(array, target, opts, addListener, false);\n  }\n\n  function removeArrayObserver(array, target, opts) {\n    return arrayObserversHelper(array, target, opts, removeListener, true);\n  }\n\n  var ACTIVE_OBSERVERS = new Map();\n  /**\n  @module @ember/object\n  */\n\n  /**\n    @method addObserver\n    @static\n    @for @ember/object/observers\n    @param obj\n    @param {String} path\n    @param {Object|Function} target\n    @param {Function|String} [method]\n    @public\n  */\n\n  function addObserver(obj, path, target, method) {\n    var eventName = changeEvent(path);\n    addListener(obj, eventName, target, method);\n\n    if (false\n    /* EMBER_METAL_TRACKED_PROPERTIES */\n    ) {\n        var meta$$1 = (0, _meta2.peekMeta)(obj);\n\n        if (meta$$1 === null || !(meta$$1.isPrototypeMeta(obj) || meta$$1.isInitializing())) {\n          activateObserver(obj, eventName);\n        }\n      } else {\n      watch(obj, path);\n    }\n  }\n  /**\n    @method removeObserver\n    @static\n    @for @ember/object/observers\n    @param obj\n    @param {String} path\n    @param {Object|Function} target\n    @param {Function|String} [method]\n    @public\n  */\n\n\n  function removeObserver(obj, path, target, method) {\n    var eventName = changeEvent(path);\n\n    if (false\n    /* EMBER_METAL_TRACKED_PROPERTIES */\n    ) {\n        var meta$$1 = (0, _meta2.peekMeta)(obj);\n\n        if (meta$$1 === null || !(meta$$1.isPrototypeMeta(obj) || meta$$1.isInitializing())) {\n          deactivateObserver(obj, eventName);\n        }\n      } else {\n      unwatch(obj, path);\n    }\n\n    removeListener(obj, eventName, target, method);\n  }\n\n  function getOrCreateActiveObserversFor(target) {\n    if (!ACTIVE_OBSERVERS.has(target)) {\n      ACTIVE_OBSERVERS.set(target, new Map());\n    }\n\n    return ACTIVE_OBSERVERS.get(target);\n  }\n\n  function activateObserver(target, eventName) {\n    var activeObservers = getOrCreateActiveObserversFor(target);\n\n    if (activeObservers.has(eventName)) {\n      activeObservers.get(eventName).count++;\n    } else {\n      var _eventName$split = eventName.split(':'),\n          path = _eventName$split[0];\n\n      var tag = getChainTagsForKey(target, path);\n      activeObservers.set(eventName, {\n        count: 1,\n        path: path,\n        tag: tag,\n        lastRevision: tag.value()\n      });\n    }\n  }\n\n  function deactivateObserver(target, eventName) {\n    var activeObservers = ACTIVE_OBSERVERS.get(target);\n\n    if (activeObservers !== undefined) {\n      var _observer = activeObservers.get(eventName);\n\n      _observer.count--;\n\n      if (_observer.count === 0) {\n        activeObservers.delete(eventName);\n\n        if (activeObservers.size === 0) {\n          ACTIVE_OBSERVERS.delete(target);\n        }\n      }\n    }\n  }\n  /**\n   * Primarily used for cases where we are redefining a class, e.g. mixins/reopen\n   * being applied later. Revalidates all the observers, resetting their tags.\n   *\n   * @private\n   * @param target\n   */\n\n\n  function revalidateObservers(target) {\n    if (!ACTIVE_OBSERVERS.has(target)) {\n      return;\n    }\n\n    ACTIVE_OBSERVERS.get(target).forEach(function (observer) {\n      observer.tag = getChainTagsForKey(target, observer.path);\n      observer.lastRevision = observer.tag.value();\n    });\n  }\n\n  var lastKnownRevision = 0;\n\n  function flushInvalidActiveObservers() {\n    var shouldSchedule = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n\n    if (lastKnownRevision === _reference.CURRENT_TAG.value()) {\n      return;\n    }\n\n    lastKnownRevision = _reference.CURRENT_TAG.value();\n    ACTIVE_OBSERVERS.forEach(function (activeObservers, target) {\n      var meta$$1 = (0, _meta2.peekMeta)(target);\n\n      if (meta$$1 && (meta$$1.isSourceDestroying() || meta$$1.isMetaDestroyed())) {\n        ACTIVE_OBSERVERS.delete(target);\n        return;\n      }\n\n      activeObservers.forEach(function (observer, eventName) {\n        if (!observer.tag.validate(observer.lastRevision)) {\n          var sendObserver = function () {\n            try {\n              sendEvent(target, eventName, [target, observer.path]);\n            } finally {\n              observer.tag = getChainTagsForKey(target, observer.path);\n              observer.lastRevision = observer.tag.value();\n            }\n          };\n\n          if (shouldSchedule) {\n            (0, _runloop.schedule)('actions', sendObserver);\n          } else {\n            // TODO: we need to schedule eagerly in exactly one location (_internalReset),\n            // for query params. We should get rid of this ASAP\n            sendObserver();\n          }\n        }\n      });\n    });\n  }\n\n  function eachProxyFor(array) {\n    var eachProxy = EACH_PROXIES.get(array);\n\n    if (eachProxy === undefined) {\n      eachProxy = new EachProxy(array);\n      EACH_PROXIES.set(array, eachProxy);\n    }\n\n    return eachProxy;\n  }\n\n  var EachProxy =\n  /*#__PURE__*/\n  function () {\n    function EachProxy(content) {\n      this._content = content;\n      this._keys = undefined;\n      (0, _meta2.meta)(this);\n    } // ..........................................................\n    // ARRAY CHANGES\n    // Invokes whenever the content array itself changes.\n\n\n    var _proto3 = EachProxy.prototype;\n\n    _proto3.arrayWillChange = function arrayWillChange(content, idx, removedCnt\n    /*, addedCnt */\n    ) {\n      // eslint-disable-line no-unused-vars\n      var keys = this._keys;\n\n      if (!keys) {\n        return;\n      }\n\n      var lim = removedCnt > 0 ? idx + removedCnt : -1;\n\n      if (lim > 0) {\n        for (var key in keys) {\n          removeObserverForContentKey(content, key, this, idx, lim);\n        }\n      }\n    };\n\n    _proto3.arrayDidChange = function arrayDidChange(content, idx, _removedCnt, addedCnt) {\n      var keys = this._keys;\n\n      if (!keys) {\n        return;\n      }\n\n      var lim = addedCnt > 0 ? idx + addedCnt : -1;\n      var meta$$1 = (0, _meta2.peekMeta)(this);\n\n      for (var key in keys) {\n        if (lim > 0) {\n          addObserverForContentKey(content, key, this, idx, lim);\n        }\n\n        notifyPropertyChange(this, key, meta$$1);\n      }\n    } // ..........................................................\n    // LISTEN FOR NEW OBSERVERS AND OTHER EVENT LISTENERS\n    // Start monitoring keys based on who is listening...\n    ;\n\n    _proto3.willWatchProperty = function willWatchProperty(property) {\n      this.beginObservingContentKey(property);\n    };\n\n    _proto3.didUnwatchProperty = function didUnwatchProperty(property) {\n      this.stopObservingContentKey(property);\n    } // ..........................................................\n    // CONTENT KEY OBSERVING\n    // Actual watch keys on the source content.\n    ;\n\n    _proto3.beginObservingContentKey = function beginObservingContentKey(keyName) {\n      var keys = this._keys;\n\n      if (keys === undefined) {\n        keys = this._keys = Object.create(null);\n      }\n\n      if (!keys[keyName]) {\n        keys[keyName] = 1;\n        var content = this._content;\n        var len = content.length;\n        addObserverForContentKey(content, keyName, this, 0, len);\n      } else {\n        keys[keyName]++;\n      }\n    };\n\n    _proto3.stopObservingContentKey = function stopObservingContentKey(keyName) {\n      var keys = this._keys;\n\n      if (keys !== undefined && keys[keyName] > 0 && --keys[keyName] <= 0) {\n        var content = this._content;\n        var len = content.length;\n        removeObserverForContentKey(content, keyName, this, 0, len);\n      }\n    };\n\n    _proto3.contentKeyDidChange = function contentKeyDidChange(_obj, keyName) {\n      notifyPropertyChange(this, keyName);\n    };\n\n    return EachProxy;\n  }();\n\n  function addObserverForContentKey(content, keyName, proxy, idx, loc) {\n    while (--loc >= idx) {\n      var item = objectAt(content, loc);\n\n      if (item) {\n        true && !(typeof item === 'object') && (0, _debug.assert)(\"When using @each to observe the array `\" + content.toString() + \"`, the array must return an object\", typeof item === 'object');\n        addObserver(item, keyName, proxy, 'contentKeyDidChange');\n      }\n    }\n  }\n\n  function removeObserverForContentKey(content, keyName, proxy, idx, loc) {\n    while (--loc >= idx) {\n      var item = objectAt(content, loc);\n\n      if (item) {\n        removeObserver(item, keyName, proxy, 'contentKeyDidChange');\n      }\n    }\n  }\n\n  function isObject(obj) {\n    return typeof obj === 'object' && obj !== null;\n  }\n\n  function isVolatile(obj, keyName, meta$$1) {\n    var desc = descriptorForProperty(obj, keyName, meta$$1);\n    return !(desc !== undefined && desc._volatile === false);\n  }\n\n  var ChainWatchers =\n  /*#__PURE__*/\n  function () {\n    function ChainWatchers() {\n      // chain nodes that reference a key in this obj by key\n      // we only create ChainWatchers when we are going to add them\n      // so create this upfront\n      this.chains = Object.create(null);\n    }\n\n    var _proto4 = ChainWatchers.prototype;\n\n    _proto4.add = function add(key, node) {\n      var nodes = this.chains[key];\n\n      if (nodes === undefined) {\n        this.chains[key] = [node];\n      } else {\n        nodes.push(node);\n      }\n    };\n\n    _proto4.remove = function remove(key, node) {\n      var nodes = this.chains[key];\n\n      if (nodes !== undefined) {\n        for (var i = 0; i < nodes.length; i++) {\n          if (nodes[i] === node) {\n            nodes.splice(i, 1);\n            break;\n          }\n        }\n      }\n    };\n\n    _proto4.has = function has(key, node) {\n      var nodes = this.chains[key];\n\n      if (nodes !== undefined) {\n        for (var i = 0; i < nodes.length; i++) {\n          if (nodes[i] === node) {\n            return true;\n          }\n        }\n      }\n\n      return false;\n    };\n\n    _proto4.revalidateAll = function revalidateAll() {\n      for (var key in this.chains) {\n        this.notify(key, true, undefined);\n      }\n    };\n\n    _proto4.revalidate = function revalidate(key) {\n      this.notify(key, true, undefined);\n    } // key: the string key that is part of a path changed\n    // revalidate: boolean; the chains that are watching this value should revalidate\n    // callback: function that will be called with the object and path that\n    //           will be/are invalidated by this key change, depending on\n    //           whether the revalidate flag is passed\n    ;\n\n    _proto4.notify = function notify(key, revalidate, callback) {\n      var nodes = this.chains[key];\n\n      if (nodes === undefined || nodes.length === 0) {\n        return;\n      }\n\n      var affected = undefined;\n\n      if (callback !== undefined) {\n        affected = [];\n      }\n\n      for (var i = 0; i < nodes.length; i++) {\n        nodes[i].notify(revalidate, affected);\n      }\n\n      if (callback === undefined) {\n        return;\n      } // we gather callbacks so we don't notify them during revalidation\n\n\n      for (var _i = 0; _i < affected.length; _i += 2) {\n        var obj = affected[_i];\n        var path = affected[_i + 1];\n        callback(obj, path);\n      }\n    };\n\n    return ChainWatchers;\n  }();\n\n  function makeChainWatcher() {\n    return new ChainWatchers();\n  }\n\n  function makeChainNode(obj) {\n    return new ChainNode(null, null, obj);\n  }\n\n  function addChainWatcher(obj, keyName, node) {\n    var m = (0, _meta2.meta)(obj);\n    m.writableChainWatchers(makeChainWatcher).add(keyName, node);\n    watchKey(obj, keyName, m);\n  }\n\n  function removeChainWatcher(obj, keyName, node, _meta) {\n    if (!isObject(obj)) {\n      return;\n    }\n\n    var meta$$1 = _meta === undefined ? (0, _meta2.peekMeta)(obj) : _meta;\n\n    if (meta$$1 === null || meta$$1.isSourceDestroying() || meta$$1.isMetaDestroyed() || meta$$1.readableChainWatchers() === undefined) {\n      return;\n    } // make meta writable\n\n\n    meta$$1 = (0, _meta2.meta)(obj);\n    meta$$1.readableChainWatchers().remove(keyName, node);\n    unwatchKey(obj, keyName, meta$$1);\n  }\n\n  var NODE_STACK = [];\n\n  function destroyRoot(root) {\n    pushChildren(root);\n\n    while (NODE_STACK.length > 0) {\n      var node = NODE_STACK.pop();\n      pushChildren(node);\n      destroyOne(node);\n    }\n  }\n\n  function destroyOne(node) {\n    if (node.isWatching) {\n      removeChainWatcher(node.object, node.key, node);\n      node.isWatching = false;\n    }\n  }\n\n  function pushChildren(node) {\n    var nodes = node.chains;\n\n    if (nodes !== undefined) {\n      for (var key in nodes) {\n        if (nodes[key] !== undefined) {\n          NODE_STACK.push(nodes[key]);\n        }\n      }\n    }\n  } // A ChainNode watches a single key on an object. If you provide a starting\n  // value for the key then the node won't actually watch it. For a root node\n  // pass null for parent and key and object for value.\n\n\n  var ChainNode =\n  /*#__PURE__*/\n  function () {\n    function ChainNode(parent, key, value) {\n      this.paths = undefined;\n      this.isWatching = false;\n      this.chains = undefined;\n      this.object = undefined;\n      this.count = 0;\n      this.parent = parent;\n      this.key = key;\n      this.content = value; // It is false for the root of a chain (because we have no parent)\n\n      var isWatching = this.isWatching = parent !== null;\n\n      if (isWatching) {\n        var parentValue = parent.value();\n\n        if (isObject(parentValue)) {\n          this.object = parentValue;\n          addChainWatcher(parentValue, key, this);\n        }\n      }\n    }\n\n    var _proto5 = ChainNode.prototype;\n\n    _proto5.value = function value() {\n      if (this.content === undefined && this.isWatching) {\n        var obj = this.parent.value();\n        this.content = lazyGet(obj, this.key);\n      }\n\n      return this.content;\n    };\n\n    _proto5.destroy = function destroy() {\n      // check if root\n      if (this.parent === null) {\n        destroyRoot(this);\n      } else {\n        destroyOne(this);\n      }\n    } // copies a top level object only\n    ;\n\n    _proto5.copyTo = function copyTo(target) {\n      var paths = this.paths;\n\n      if (paths !== undefined) {\n        var path;\n\n        for (path in paths) {\n          if (paths[path] > 0) {\n            target.add(path);\n          }\n        }\n      }\n    } // called on the root node of a chain to setup watchers on the specified\n    // path.\n    ;\n\n    _proto5.add = function add(path) {\n      var paths = this.paths || (this.paths = {});\n      paths[path] = (paths[path] || 0) + 1;\n      var tails = path.split('.');\n      this.chain(tails.shift(), tails);\n    } // called on the root node of a chain to teardown watcher on the specified\n    // path\n    ;\n\n    _proto5.remove = function remove(path) {\n      var paths = this.paths;\n\n      if (paths === undefined) {\n        return;\n      }\n\n      if (paths[path] > 0) {\n        paths[path]--;\n      }\n\n      var tails = path.split('.');\n      this.unchain(tails.shift(), tails);\n    };\n\n    _proto5.chain = function chain(key, tails) {\n      var chains = this.chains;\n\n      if (chains === undefined) {\n        chains = this.chains = Object.create(null);\n      }\n\n      var node = chains[key];\n\n      if (node === undefined) {\n        node = chains[key] = new ChainNode(this, key, undefined);\n      }\n\n      node.count++; // count chains...\n      // chain rest of path if there is one\n\n      if (tails.length > 0) {\n        node.chain(tails.shift(), tails);\n      }\n    };\n\n    _proto5.unchain = function unchain(key, tails) {\n      var chains = this.chains;\n      var node = chains[key]; // unchain rest of path first...\n\n      if (tails.length > 0) {\n        node.unchain(tails.shift(), tails);\n      } // delete node if needed.\n\n\n      node.count--;\n\n      if (node.count <= 0) {\n        chains[node.key] = undefined;\n        node.destroy();\n      }\n    };\n\n    _proto5.notify = function notify(revalidate, affected) {\n      if (revalidate && this.isWatching) {\n        var parentValue = this.parent.value();\n\n        if (parentValue !== this.object) {\n          removeChainWatcher(this.object, this.key, this);\n\n          if (isObject(parentValue)) {\n            this.object = parentValue;\n            addChainWatcher(parentValue, this.key, this);\n          } else {\n            this.object = undefined;\n          }\n        }\n\n        this.content = undefined;\n      } // then notify chains...\n\n\n      var chains = this.chains;\n\n      if (chains !== undefined) {\n        var node;\n\n        for (var key in chains) {\n          node = chains[key];\n\n          if (node !== undefined) {\n            node.notify(revalidate, affected);\n          }\n        }\n      }\n\n      if (affected !== undefined && this.parent !== null) {\n        this.parent.populateAffected(this.key, 1, affected);\n      }\n    };\n\n    _proto5.populateAffected = function populateAffected(path, depth, affected) {\n      if (this.key) {\n        path = this.key + \".\" + path;\n      }\n\n      if (this.parent !== null) {\n        this.parent.populateAffected(path, depth + 1, affected);\n      } else if (depth > 1) {\n        affected.push(this.value(), path);\n      }\n    };\n\n    return ChainNode;\n  }();\n\n  _exports.ChainNode = ChainNode;\n\n  function lazyGet(obj, key) {\n    if (!isObject(obj)) {\n      return;\n    }\n\n    var meta$$1 = (0, _meta2.peekMeta)(obj); // check if object meant only to be a prototype\n\n    if (meta$$1 !== null && meta$$1.proto === obj) {\n      return;\n    } // Use `get` if the return value is an EachProxy or an uncacheable value.\n\n\n    if (key === '@each') {\n      return eachProxyFor(obj);\n    } else if (isVolatile(obj, key, meta$$1)) {\n      return _get2(obj, key); // Otherwise attempt to get the cached value of the computed property\n    } else {\n      return getCachedValueFor(obj, key);\n    }\n  }\n\n  function finishChains(meta$$1) {\n    // finish any current chains node watchers that reference obj\n    var chainWatchers = meta$$1.readableChainWatchers();\n\n    if (chainWatchers !== undefined) {\n      chainWatchers.revalidateAll();\n    } // ensure that if we have inherited any chains they have been\n    // copied onto our own meta.\n\n\n    if (meta$$1.readableChains() !== undefined) {\n      meta$$1.writableChains(makeChainNode);\n    }\n  }\n\n  function watchPath(obj, keyPath, meta$$1) {\n    var m = meta$$1 === undefined ? (0, _meta2.meta)(obj) : meta$$1;\n    var counter = m.peekWatching(keyPath);\n    m.writeWatching(keyPath, counter + 1);\n\n    if (counter === 0) {\n      // activate watching first time\n      m.writableChains(makeChainNode).add(keyPath);\n    }\n  }\n\n  function unwatchPath(obj, keyPath, meta$$1) {\n    var m = meta$$1 === undefined ? (0, _meta2.peekMeta)(obj) : meta$$1;\n\n    if (m === null) {\n      return;\n    }\n\n    var counter = m.peekWatching(keyPath);\n\n    if (counter > 0) {\n      m.writeWatching(keyPath, counter - 1);\n\n      if (counter === 1) {\n        m.writableChains(makeChainNode).remove(keyPath);\n      }\n    }\n  }\n  /**\n  @module ember\n  */\n\n  /**\n    Starts watching a property on an object. Whenever the property changes,\n    invokes `Ember.notifyPropertyChange`. This is the primitive used by observers\n    and dependent keys; usually you will never call this method directly but instead\n    use higher level methods like `addObserver()`.\n  \n    @private\n    @method watch\n    @for Ember\n    @param obj\n    @param {String} keyPath\n    @param {Object} meta\n  */\n\n\n  function watch(obj, keyPath, meta$$1) {\n    if (isPath(keyPath)) {\n      watchPath(obj, keyPath, meta$$1);\n    } else {\n      watchKey(obj, keyPath, meta$$1);\n    }\n  }\n\n  function isWatching(obj, key) {\n    return watcherCount(obj, key) > 0;\n  }\n\n  function watcherCount(obj, key) {\n    var meta$$1 = (0, _meta2.peekMeta)(obj);\n    return meta$$1 !== null && meta$$1.peekWatching(key) || 0;\n  }\n  /**\n    Stops watching a property on an object. Usually you will never call this method directly but instead\n    use higher level methods like `removeObserver()`.\n  \n    @private\n    @method unwatch\n    @for Ember\n    @param obj\n    @param {String} keyPath\n    @param {Object} meta\n  */\n\n\n  function unwatch(obj, keyPath, meta$$1) {\n    if (isPath(keyPath)) {\n      unwatchPath(obj, keyPath, meta$$1);\n    } else {\n      unwatchKey(obj, keyPath, meta$$1);\n    }\n  }\n\n  function isElementDescriptor(args) {\n    var maybeTarget = args[0],\n        maybeKey = args[1],\n        maybeDesc = args[2];\n    return (// Ensure we have the right number of args\n      args.length === 3 && ( // Make sure the target is a class or object (prototype)\n      typeof maybeTarget === 'function' || typeof maybeTarget === 'object' && maybeTarget !== null) && // Make sure the key is a string\n      typeof maybeKey === 'string' && ( // Make sure the descriptor is the right shape\n      typeof maybeDesc === 'object' && maybeDesc !== null && 'enumerable' in maybeDesc && 'configurable' in maybeDesc || // TS compatibility\n      maybeDesc === undefined)\n    );\n  } // ..........................................................\n  // DEPENDENT KEYS\n  //\n\n\n  function addDependentKeys(desc, obj, keyName, meta$$1) {\n    // the descriptor has a list of dependent keys, so\n    // add all of its dependent keys.\n    var depKeys = desc._dependentKeys;\n\n    if (depKeys === null || depKeys === undefined) {\n      return;\n    }\n\n    for (var idx = 0; idx < depKeys.length; idx++) {\n      var depKey = depKeys[idx]; // Increment the number of times depKey depends on keyName.\n\n      meta$$1.writeDeps(depKey, keyName, meta$$1.peekDeps(depKey, keyName) + 1); // Watch the depKey\n\n      watch(obj, depKey, meta$$1);\n    }\n  }\n\n  function removeDependentKeys(desc, obj, keyName, meta$$1) {\n    // the descriptor has a list of dependent keys, so\n    // remove all of its dependent keys.\n    var depKeys = desc._dependentKeys;\n\n    if (depKeys === null || depKeys === undefined) {\n      return;\n    }\n\n    for (var idx = 0; idx < depKeys.length; idx++) {\n      var depKey = depKeys[idx]; // Decrement the number of times depKey depends on keyName.\n\n      meta$$1.writeDeps(depKey, keyName, meta$$1.peekDeps(depKey, keyName) - 1); // Unwatch the depKey\n\n      unwatch(obj, depKey, meta$$1);\n    }\n  }\n\n  function nativeDescDecorator(propertyDesc) {\n    var decorator = function () {\n      return propertyDesc;\n    };\n\n    setClassicDecorator(decorator);\n    return decorator;\n  }\n  /**\n    Objects of this type can implement an interface to respond to requests to\n    get and set. The default implementation handles simple properties.\n  \n    @class Descriptor\n    @private\n  */\n\n\n  var ComputedDescriptor =\n  /*#__PURE__*/\n  function () {\n    function ComputedDescriptor() {\n      this.enumerable = true;\n      this.configurable = true;\n      this._dependentKeys = undefined;\n      this._meta = undefined;\n    }\n\n    var _proto6 = ComputedDescriptor.prototype;\n\n    _proto6.setup = function setup(_obj, keyName, _propertyDesc, meta$$1) {\n      meta$$1.writeDescriptors(keyName, this);\n    };\n\n    _proto6.teardown = function teardown(_obj, keyName, meta$$1) {\n      meta$$1.removeDescriptors(keyName);\n    };\n\n    return ComputedDescriptor;\n  }();\n\n  function DESCRIPTOR_GETTER_FUNCTION(name, descriptor) {\n    return function CPGETTER_FUNCTION() {\n      return descriptor.get(this, name);\n    };\n  }\n\n  function DESCRIPTOR_SETTER_FUNCTION(name, descriptor) {\n    return function CPSETTER_FUNCTION(value) {\n      return descriptor.set(this, name, value);\n    };\n  }\n\n  function makeComputedDecorator(desc, DecoratorClass) {\n    var decorator = function COMPUTED_DECORATOR(target, key, propertyDesc, maybeMeta, isClassicDecorator$$1) {\n      true && !(true\n      /* EMBER_NATIVE_DECORATOR_SUPPORT */\n      || isClassicDecorator$$1) && (0, _debug.assert)('Native decorators are not enabled without the EMBER_NATIVE_DECORATOR_SUPPORT flag', true || isClassicDecorator$$1);\n      true && !(isClassicDecorator$$1 || !propertyDesc || !propertyDesc.get || propertyDesc.get.toString().indexOf('CPGETTER_FUNCTION') === -1) && (0, _debug.assert)(\"Only one computed property decorator can be applied to a class field or accessor, but '\" + key + \"' was decorated twice. You may have added the decorator to both a getter and setter, which is unecessary.\", isClassicDecorator$$1 || !propertyDesc || !propertyDesc.get || propertyDesc.get.toString().indexOf('CPGETTER_FUNCTION') === -1);\n      var meta$$1 = arguments.length === 3 ? (0, _meta2.meta)(target) : maybeMeta;\n      desc.setup(target, key, propertyDesc, meta$$1);\n      var computedDesc = {\n        enumerable: desc.enumerable,\n        configurable: desc.configurable,\n        get: DESCRIPTOR_GETTER_FUNCTION(key, desc)\n      };\n\n      if (false\n      /* EMBER_METAL_TRACKED_PROPERTIES */\n      ) {\n          computedDesc.set = DESCRIPTOR_SETTER_FUNCTION(key, desc);\n        }\n\n      return computedDesc;\n    };\n\n    setClassicDecorator(decorator, desc);\n    Object.setPrototypeOf(decorator, DecoratorClass.prototype);\n    return decorator;\n  } // For some reason TS can't infer that these two functions are compatible-ish,\n  // so we need to corece the type\n\n\n  var symbol$1 = _utils.HAS_NATIVE_SYMBOL ? Symbol : _utils.symbol;\n  /**\n    An object that that tracks @tracked properties that were consumed.\n  \n    @private\n  */\n\n  var Tracker =\n  /*#__PURE__*/\n  function () {\n    function Tracker() {\n      this.tags = new Set();\n      this.last = null;\n    }\n\n    var _proto7 = Tracker.prototype;\n\n    _proto7.add = function add(tag) {\n      this.tags.add(tag);\n      this.last = tag;\n    };\n\n    _proto7.combine = function combine() {\n      if (this.tags.size === 0) {\n        return _reference.CONSTANT_TAG;\n      } else if (this.tags.size === 1) {\n        return this.last;\n      } else {\n        var tags = [];\n        this.tags.forEach(function (tag) {\n          return tags.push(tag);\n        });\n        return (0, _reference.combine)(tags);\n      }\n    };\n\n    (0, _emberBabel.createClass)(Tracker, [{\n      key: \"size\",\n      get: function () {\n        return this.tags.size;\n      }\n    }]);\n    return Tracker;\n  }();\n\n  _exports.Tracker = Tracker;\n\n  function tracked() {\n    for (var _len2 = arguments.length, args = new Array(_len2), _key3 = 0; _key3 < _len2; _key3++) {\n      args[_key3] = arguments[_key3];\n    }\n\n    true && !!(isElementDescriptor(args.slice(0, 3)) && args.length === 5 && args[4] === true) && (0, _debug.assert)(\"@tracked can only be used directly as a native decorator. If you're using tracked in classic classes, add parenthesis to call it like a function: tracked()\", !(isElementDescriptor(args.slice(0, 3)) && args.length === 5 && args[4] === true));\n\n    if (!isElementDescriptor(args)) {\n      var propertyDesc = args[0];\n      true && !(args.length === 0 || typeof propertyDesc === 'object' && propertyDesc !== null) && (0, _debug.assert)(\"tracked() may only receive an options object containing 'value' or 'initializer', received \" + propertyDesc, args.length === 0 || typeof propertyDesc === 'object' && propertyDesc !== null);\n\n      if (true\n      /* DEBUG */\n      && propertyDesc) {\n        var keys = Object.keys(propertyDesc);\n        true && !(keys.length <= 1 && (keys[0] === undefined || keys[0] === 'value' || keys[0] === 'initializer')) && (0, _debug.assert)(\"The options object passed to tracked() may only contain a 'value' or 'initializer' property, not both. Received: [\" + keys + \"]\", keys.length <= 1 && (keys[0] === undefined || keys[0] === 'value' || keys[0] === 'initializer'));\n        true && !(!('initializer' in propertyDesc) || typeof propertyDesc.initializer === 'function') && (0, _debug.assert)(\"The initializer passed to tracked must be a function. Received \" + propertyDesc.initializer, !('initializer' in propertyDesc) || typeof propertyDesc.initializer === 'function');\n      }\n\n      var initializer = propertyDesc ? propertyDesc.initializer : undefined;\n      var value = propertyDesc ? propertyDesc.value : undefined;\n\n      var decorator = function (target, key, _desc, _meta, isClassicDecorator$$1) {\n        true && !isClassicDecorator$$1 && (0, _debug.assert)(\"You attempted to set a default value for \" + key + \" with the @tracked({ value: 'default' }) syntax. You can only use this syntax with classic classes. For native classes, you can use class initializers: @tracked field = 'default';\", isClassicDecorator$$1);\n        var fieldDesc = {\n          initializer: initializer || function () {\n            return value;\n          }\n        };\n        return descriptorForField([target, key, fieldDesc]);\n      };\n\n      setClassicDecorator(decorator);\n      return decorator;\n    }\n\n    true && !Boolean(true\n    /* EMBER_NATIVE_DECORATOR_SUPPORT */\n    ) && (0, _debug.assert)('Native decorators are not enabled without the EMBER_NATIVE_DECORATOR_SUPPORT flag', Boolean(true));\n    return descriptorForField(args);\n  }\n\n  if (true\n  /* DEBUG */\n  ) {\n      // Normally this isn't a classic decorator, but we want to throw a helpful\n      // error in development so we need it to treat it like one\n      setClassicDecorator(tracked);\n    }\n\n  function descriptorForField(_ref) {\n    var _target = _ref[0],\n        key = _ref[1],\n        desc = _ref[2];\n    true && !(!desc || !desc.value && !desc.get && !desc.set) && (0, _debug.assert)(\"You attempted to use @tracked on \" + key + \", but that element is not a class field. @tracked is only usable on class fields. Native getters and setters will autotrack add any tracked fields they encounter, so there is no need mark getters and setters with @tracked.\", !desc || !desc.value && !desc.get && !desc.set);\n    var initializer = desc ? desc.initializer : undefined;\n    var secretKey = symbol$1(key);\n    return {\n      enumerable: true,\n      configurable: true,\n      get: function () {\n        var propertyTag = tagForProperty(this, key);\n        if (CURRENT_TRACKER) CURRENT_TRACKER.add(propertyTag); // If the field has never been initialized, we should initialize it\n\n        if (!(secretKey in this)) {\n          this[secretKey] = typeof initializer === 'function' ? initializer.call(this) : undefined;\n        }\n\n        var value = this[secretKey]; // Add the tag of the returned value if it is an array, since arrays\n        // should always cause updates if they are consumed and then changed\n\n        if (Array.isArray(value) || (0, _utils.isEmberArray)(value)) {\n          update(propertyTag, tagForProperty(value, '[]'));\n        }\n\n        return this[secretKey];\n      },\n      set: function (newValue) {\n        markObjectAsDirty(this, key);\n        this[secretKey] = newValue;\n\n        if (propertyDidChange !== null) {\n          propertyDidChange();\n        }\n      }\n    };\n  }\n  /**\n    @private\n  \n    Whenever a tracked computed property is entered, the current tracker is\n    saved off and a new tracker is replaced.\n  \n    Any tracked properties consumed are added to the current tracker.\n  \n    When a tracked computed property is exited, the tracker's tags are\n    combined and added to the parent tracker.\n  \n    The consequence is that each tracked computed property has a tag\n    that corresponds to the tracked properties consumed inside of\n    itself, including child tracked computed properties.\n  */\n\n\n  var CURRENT_TRACKER = null;\n\n  function track(callback) {\n    var parent = CURRENT_TRACKER;\n    var current = new Tracker();\n    CURRENT_TRACKER = current;\n\n    try {\n      callback();\n    } finally {\n      CURRENT_TRACKER = parent;\n    }\n\n    return current.combine();\n  }\n\n  function consume(tag) {\n    if (CURRENT_TRACKER !== null) {\n      CURRENT_TRACKER.add(tag);\n    }\n  }\n\n  function isTracking() {\n    return CURRENT_TRACKER !== null;\n  }\n\n  var propertyDidChange = null;\n  /**\n  @module @ember/object\n  */\n\n  var PROXY_CONTENT = (0, _utils.symbol)('PROXY_CONTENT');\n  _exports.PROXY_CONTENT = PROXY_CONTENT;\n  var getPossibleMandatoryProxyValue;\n\n  if (true\n  /* DEBUG */\n  && _utils.HAS_NATIVE_PROXY) {\n    getPossibleMandatoryProxyValue = function getPossibleMandatoryProxyValue(obj, keyName) {\n      var content = obj[PROXY_CONTENT];\n\n      if (content === undefined) {\n        return obj[keyName];\n      } else {\n        /* global Reflect */\n        return Reflect.get(content, keyName, obj);\n      }\n    };\n  } // ..........................................................\n  // GET AND SET\n  //\n  // If we are on a platform that supports accessors we can use those.\n  // Otherwise simulate accessors by looking up the property directly on the\n  // object.\n\n  /**\n    Gets the value of a property on an object. If the property is computed,\n    the function will be invoked. If the property is not defined but the\n    object implements the `unknownProperty` method then that will be invoked.\n  \n    ```javascript\n    import { get } from '@ember/object';\n    get(obj, \"name\");\n    ```\n  \n    If you plan to run on IE8 and older browsers then you should use this\n    method anytime you want to retrieve a property on an object that you don't\n    know for sure is private. (Properties beginning with an underscore '_'\n    are considered private.)\n  \n    On all newer browsers, you only need to use this method to retrieve\n    properties if the property might not be defined on the object and you want\n    to respect the `unknownProperty` handler. Otherwise you can ignore this\n    method.\n  \n    Note that if the object itself is `undefined`, this method will throw\n    an error.\n  \n    @method get\n    @for @ember/object\n    @static\n    @param {Object} obj The object to retrieve from.\n    @param {String} keyName The property key to retrieve\n    @return {Object} the property value or `null`.\n    @public\n  */\n\n\n  function _get2(obj, keyName) {\n    true && !(arguments.length === 2) && (0, _debug.assert)(\"Get must be called with two arguments; an object and a property key\", arguments.length === 2);\n    true && !(obj !== undefined && obj !== null) && (0, _debug.assert)(\"Cannot call get with '\" + keyName + \"' on an undefined object.\", obj !== undefined && obj !== null);\n    true && !(typeof keyName === 'string' || typeof keyName === 'number' && !isNaN(keyName)) && (0, _debug.assert)(\"The key provided to get must be a string or number, you passed \" + keyName, typeof keyName === 'string' || typeof keyName === 'number' && !isNaN(keyName));\n    true && !(typeof keyName !== 'string' || keyName.lastIndexOf('this.', 0) !== 0) && (0, _debug.assert)(\"'this' in paths is not supported\", typeof keyName !== 'string' || keyName.lastIndexOf('this.', 0) !== 0);\n    var type = typeof obj;\n    var isObject = type === 'object';\n    var isFunction = type === 'function';\n    var isObjectLike = isObject || isFunction;\n\n    if (isPath(keyName)) {\n      return isObjectLike ? _getPath(obj, keyName) : undefined;\n    }\n\n    var value;\n\n    if (isObjectLike) {\n      var tracking = isTracking();\n\n      if (false\n      /* EMBER_METAL_TRACKED_PROPERTIES */\n      ) {\n          if (tracking) {\n            consume(tagForProperty(obj, keyName));\n          }\n        }\n\n      var descriptor = descriptorForProperty(obj, keyName);\n\n      if (descriptor !== undefined) {\n        return descriptor.get(obj, keyName);\n      }\n\n      if (true\n      /* DEBUG */\n      && _utils.HAS_NATIVE_PROXY) {\n        value = getPossibleMandatoryProxyValue(obj, keyName);\n      } else {\n        value = obj[keyName];\n      } // Add the tag of the returned value if it is an array, since arrays\n      // should always cause updates if they are consumed and then changed\n\n\n      if (false\n      /* EMBER_METAL_TRACKED_PROPERTIES */\n      && tracking && (Array.isArray(value) || (0, _utils.isEmberArray)(value))) {\n        consume(tagForProperty(value, '[]'));\n      }\n    } else {\n      value = obj[keyName];\n    }\n\n    if (value === undefined) {\n      if (isObject && !(keyName in obj) && typeof obj.unknownProperty === 'function') {\n        return obj.unknownProperty(keyName);\n      }\n    }\n\n    return value;\n  }\n\n  function _getPath(root, path) {\n    var obj = root;\n    var parts = typeof path === 'string' ? path.split('.') : path;\n\n    for (var i = 0; i < parts.length; i++) {\n      if (obj === undefined || obj === null || obj.isDestroyed) {\n        return undefined;\n      }\n\n      obj = _get2(obj, parts[i]);\n    }\n\n    return obj;\n  }\n  /**\n    Retrieves the value of a property from an Object, or a default value in the\n    case that the property returns `undefined`.\n  \n    ```javascript\n    import { getWithDefault } from '@ember/object';\n    getWithDefault(person, 'lastName', 'Doe');\n    ```\n  \n    @method getWithDefault\n    @for @ember/object\n    @static\n    @param {Object} obj The object to retrieve from.\n    @param {String} keyName The name of the property to retrieve\n    @param {Object} defaultValue The value to return if the property value is undefined\n    @return {Object} The property value or the defaultValue.\n    @public\n  */\n\n\n  function getWithDefault(root, key, defaultValue) {\n    var value = _get2(root, key);\n\n    if (value === undefined) {\n      return defaultValue;\n    }\n\n    return value;\n  }\n\n  function finishLazyChains(obj, key, value) {\n    var meta$$1 = (0, _meta2.peekMeta)(obj);\n    var lazyTags = meta$$1 !== null ? meta$$1.readableLazyChainsFor(key) : undefined;\n\n    if (lazyTags === undefined) {\n      return;\n    }\n\n    if (value === null || typeof value !== 'object' && typeof value !== 'function') {\n      lazyTags.clear();\n      return;\n    }\n\n    while (lazyTags.length > 0) {\n      var _lazyTags$pop = lazyTags.pop(),\n          path = _lazyTags$pop[0],\n          tag = _lazyTags$pop[1];\n\n      tag.inner.update(getChainTagsForKey(value, path));\n    }\n  }\n\n  function getChainTagsForKeys(obj, keys) {\n    var chainTags = [];\n\n    for (var i = 0; i < keys.length; i++) {\n      chainTags.push(getChainTagsForKey(obj, keys[i]));\n    }\n\n    return (0, _reference.combine)(chainTags);\n  }\n\n  function getChainTagsForKey(obj, key) {\n    var chainTags = [];\n    var current = obj;\n    var segments = key.split('.'); // prevent closures\n\n    var segment, descriptor;\n\n    while (segments.length > 0) {\n      segment = segments.shift();\n\n      if (segment === '@each' && segments.length > 0) {\n        true && !(Array.isArray(current) || (0, _utils.isEmberArray)(current)) && (0, _debug.assert)(\"When using @each, the value you are attempting to watch must be an array, was: \" + current.toString(), Array.isArray(current) || (0, _utils.isEmberArray)(current));\n        segment = segments.shift(); // Push the tags for each item's property\n\n        var tags = current.map(function (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          return tagForProperty(item, segment);\n        }); // Push the tag for the array length itself\n\n        chainTags.push.apply(chainTags, tags.concat([tagForProperty(current, '[]')])); // There shouldn't be any more segments after an `@each`, so break\n\n        true && !(segments.length === 0) && (0, _debug.assert)(\"When using @each, you can only chain one property level deep\", segments.length === 0);\n        break;\n      }\n\n      var propertyTag = tagForProperty(current, segment);\n      chainTags.push(propertyTag);\n      descriptor = descriptorForProperty(current, segment);\n\n      if (descriptor === undefined) {\n        // TODO: Assert that current[segment] isn't an undecorated, non-MANDATORY_SETTER getter\n        if (!(segment in current) && typeof current.unknownProperty === 'function') {\n          current = current.unknownProperty(segment);\n        } else {\n          current = current[segment];\n        }\n      } else {\n        var lastRevision = getLastRevisionFor(current, segment);\n\n        if (propertyTag.validate(lastRevision)) {\n          if (typeof descriptor.altKey === 'string') {\n            // it's an alias, so just get the altkey without tracking\n            track(function () {\n              current = _get2(obj, descriptor.altKey);\n            });\n          } else {\n            current = peekCacheFor(current).get(segment);\n          }\n        } else if (segments.length > 0) {\n          var placeholderTag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n\n          (0, _meta2.meta)(current).writableLazyChainsFor(segment).push([segments.join('.'), placeholderTag]);\n          chainTags.push(placeholderTag);\n          break;\n        }\n      }\n\n      var currentType = typeof current;\n\n      if (current === null || currentType !== 'object' && currentType !== 'function') {\n        // we've hit the end of the chain for now, break out\n        break;\n      }\n    }\n\n    return (0, _reference.combine)(chainTags);\n  }\n  /**\n  @module @ember/object\n  */\n\n\n  var END_WITH_EACH_REGEX = /\\.@each$/;\n  /**\n    Expands `pattern`, invoking `callback` for each expansion.\n  \n    The only pattern supported is brace-expansion, anything else will be passed\n    once to `callback` directly.\n  \n    Example\n  \n    ```js\n    import { expandProperties } from '@ember/object/computed';\n  \n    function echo(arg){ console.log(arg); }\n  \n    expandProperties('foo.bar', echo);              //=> 'foo.bar'\n    expandProperties('{foo,bar}', echo);            //=> 'foo', 'bar'\n    expandProperties('foo.{bar,baz}', echo);        //=> 'foo.bar', 'foo.baz'\n    expandProperties('{foo,bar}.baz', echo);        //=> 'foo.baz', 'bar.baz'\n    expandProperties('foo.{bar,baz}.[]', echo)      //=> 'foo.bar.[]', 'foo.baz.[]'\n    expandProperties('{foo,bar}.{spam,eggs}', echo) //=> 'foo.spam', 'foo.eggs', 'bar.spam', 'bar.eggs'\n    expandProperties('{foo}.bar.{baz}')             //=> 'foo.bar.baz'\n    ```\n  \n    @method expandProperties\n    @static\n    @for @ember/object/computed\n    @public\n    @param {String} pattern The property pattern to expand.\n    @param {Function} callback The callback to invoke.  It is invoked once per\n    expansion, and is passed the expansion.\n  */\n\n  function expandProperties(pattern, callback) {\n    true && !(typeof pattern === 'string') && (0, _debug.assert)(\"A computed property key must be a string, you passed \" + typeof pattern + \" \" + pattern, typeof pattern === 'string');\n    true && !(pattern.indexOf(' ') === -1) && (0, _debug.assert)('Brace expanded properties cannot contain spaces, e.g. \"user.{firstName, lastName}\" should be \"user.{firstName,lastName}\"', pattern.indexOf(' ') === -1); // regex to look for double open, double close, or unclosed braces\n\n    true && !(pattern.match(/\\{[^}{]*\\{|\\}[^}{]*\\}|\\{[^}]*$/g) === null) && (0, _debug.assert)(\"Brace expanded properties have to be balanced and cannot be nested, pattern: \" + pattern, pattern.match(/\\{[^}{]*\\{|\\}[^}{]*\\}|\\{[^}]*$/g) === null);\n    var start = pattern.indexOf('{');\n\n    if (start < 0) {\n      callback(pattern.replace(END_WITH_EACH_REGEX, '.[]'));\n    } else {\n      dive('', pattern, start, callback);\n    }\n  }\n\n  function dive(prefix, pattern, start, callback) {\n    var end = pattern.indexOf('}'),\n        i = 0,\n        newStart,\n        arrayLength;\n    var tempArr = pattern.substring(start + 1, end).split(',');\n    var after = pattern.substring(end + 1);\n    prefix = prefix + pattern.substring(0, start);\n    arrayLength = tempArr.length;\n\n    while (i < arrayLength) {\n      newStart = after.indexOf('{');\n\n      if (newStart < 0) {\n        callback((prefix + tempArr[i++] + after).replace(END_WITH_EACH_REGEX, '.[]'));\n      } else {\n        dive(prefix + tempArr[i++], after, newStart, callback);\n      }\n    }\n  }\n\n  var setWithMandatorySetter$1;\n  var makeEnumerable;\n  /**\n   @module @ember/object\n  */\n\n  /**\n    Sets the value of a property on an object, respecting computed properties\n    and notifying observers and other listeners of the change.\n    If the specified property is not defined on the object and the object\n    implements the `setUnknownProperty` method, then instead of setting the\n    value of the property on the object, its `setUnknownProperty` handler\n    will be invoked with the two parameters `keyName` and `value`.\n  \n    ```javascript\n    import { set } from '@ember/object';\n    set(obj, \"name\", value);\n    ```\n  \n    @method set\n    @static\n    @for @ember/object\n    @param {Object} obj The object to modify.\n    @param {String} keyName The property key to set\n    @param {Object} value The value to set\n    @return {Object} the passed value.\n    @public\n  */\n\n  function _set2(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\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;\n    }\n\n    if (isPath(keyName)) {\n      return setPath(obj, keyName, value, tolerant);\n    }\n\n    var meta$$1 = (0, _meta2.peekMeta)(obj);\n    var descriptor = descriptorForProperty(obj, keyName, meta$$1);\n\n    if (descriptor !== undefined) {\n      descriptor.set(obj, keyName, value);\n      return value;\n    }\n\n    var currentValue;\n\n    if (true\n    /* DEBUG */\n    && _utils.HAS_NATIVE_PROXY) {\n      currentValue = getPossibleMandatoryProxyValue(obj, keyName);\n    } else {\n      currentValue = obj[keyName];\n    }\n\n    if (currentValue === undefined && 'object' === typeof obj && !(keyName in obj) && typeof obj.setUnknownProperty === 'function') {\n      /* unknown property */\n      obj.setUnknownProperty(keyName, value);\n    } else {\n      if (true\n      /* DEBUG */\n      ) {\n          if (false\n          /* EMBER_METAL_TRACKED_PROPERTIES */\n          ) {\n              (0, _utils.setWithMandatorySetter)(obj, keyName, value);\n            } else {\n            setWithMandatorySetter$1(obj, keyName, value, meta$$1);\n          }\n        } else {\n        obj[keyName] = value;\n      }\n\n      if (currentValue !== value) {\n        notifyPropertyChange(obj, keyName, meta$$1);\n      }\n    }\n\n    return value;\n  }\n\n  if (true\n  /* DEBUG */\n  ) {\n      setWithMandatorySetter$1 = function (obj, keyName, value, meta$$1) {\n        if (meta$$1 !== null && meta$$1.peekWatching(keyName) > 0) {\n          makeEnumerable(obj, keyName);\n          meta$$1.writeValue(obj, keyName, value);\n        } else {\n          obj[keyName] = value;\n        }\n      };\n\n      makeEnumerable = function (obj, key) {\n        var desc = (0, _utils.lookupDescriptor)(obj, key);\n\n        if (desc !== null && desc.set !== undefined && desc.set.isMandatorySetter) {\n          desc.enumerable = true;\n          Object.defineProperty(obj, key, desc);\n        }\n      };\n    }\n\n  function setPath(root, path, value, tolerant) {\n    var parts = path.split('.');\n    var keyName = parts.pop();\n    true && !(keyName.trim().length > 0) && (0, _debug.assert)('Property set failed: You passed an empty path', keyName.trim().length > 0);\n\n    var newRoot = _getPath(root, parts);\n\n    if (newRoot !== null && newRoot !== undefined) {\n      return _set2(newRoot, keyName, value);\n    } else if (!tolerant) {\n      throw new _error.default(\"Property set failed: object in path \\\"\" + parts.join('.') + \"\\\" could not be found.\");\n    }\n  }\n  /**\n    Error-tolerant form of `set`. Will not blow up if any part of the\n    chain is `undefined`, `null`, or destroyed.\n  \n    This is primarily used when syncing bindings, which may try to update after\n    an object has been destroyed.\n  \n    ```javascript\n    import { trySet } from '@ember/object';\n  \n    let obj = { name: \"Zoey\" };\n    trySet(obj, \"contacts.twitter\", \"@emberjs\");\n    ```\n  \n    @method trySet\n    @static\n    @for @ember/object\n    @param {Object} root The object to modify.\n    @param {String} path The property path to set\n    @param {Object} value The value to set\n    @public\n  */\n\n\n  function trySet(root, path, value) {\n    return _set2(root, path, value, true);\n  }\n  /**\n  @module @ember/object\n  */\n\n\n  var DEEP_EACH_REGEX = /\\.@each\\.[^.]+\\./;\n\n  function noop() {}\n  /**\n    `@computed` is a decorator that turns a JavaScript getter and setter into a\n    computed property, which is a _cached, trackable value_. By default the getter\n    will only be called once and the result will be cached. You can specify\n    various properties that your computed property depends on. This will force the\n    cached result to be cleared if the dependencies are modified, and lazily recomputed the next time something asks for it.\n  \n    In the following example we decorate a getter - `fullName` -  by calling\n    `computed` with the property dependencies (`firstName` and `lastName`) as\n    arguments. The `fullName` getter will be called once (regardless of how many\n    times it is accessed) as long as its dependencies do not change. Once\n    `firstName` or `lastName` are updated any future calls to `fullName` will\n    incorporate the new values, and any watchers of the value such as templates\n    will be updated:\n  \n    ```javascript\n    import { computed, set } from '@ember/object';\n  \n    class Person {\n      constructor(firstName, lastName) {\n        set(this, 'firstName', firstName);\n        set(this, 'lastName', lastName);\n      }\n  \n      @computed('firstName', 'lastName')\n      get fullName() {\n        return `${this.firstName} ${this.lastName}`;\n      }\n    });\n  \n    let tom = new Person('Tom', 'Dale');\n  \n    tom.fullName; // 'Tom Dale'\n    ```\n  \n    You can also provide a setter, which will be used when updating the computed\n    property. Ember's `set` function must be used to update the property\n    since it will also notify observers of the property:\n  \n    ```javascript\n    import { computed, set } from '@ember/object';\n  \n    class Person {\n      constructor(firstName, lastName) {\n        set(this, 'firstName', firstName);\n        set(this, 'lastName', lastName);\n      }\n  \n      @computed('firstName', 'lastName')\n      get fullName() {\n        return `${this.firstName} ${this.lastName}`;\n      }\n  \n      set fullName(value) {\n        let [firstName, lastName] = value.split(' ');\n  \n        set(this, 'firstName', firstName);\n        set(this, 'lastName', lastName);\n      }\n    });\n  \n    let person = new Person();\n  \n    set(person, 'fullName', 'Peter Wagenet');\n    person.firstName; // 'Peter'\n    person.lastName;  // 'Wagenet'\n    ```\n  \n    You can also pass a getter function or object with `get` and `set` functions\n    as the last argument to the computed decorator. This allows you to define\n    computed property _macros_:\n  \n    ```js\n    import { computed } from '@ember/object';\n  \n    function join(...keys) {\n      return computed(...keys, function() {\n        return keys.map(key => this[key]).join(' ');\n      });\n    }\n  \n    class Person {\n      @join('firstName', 'lastName')\n      fullName;\n    }\n    ```\n  \n    Note that when defined this way, getters and setters receive the _key_ of the\n    property they are decorating as the first argument. Setters receive the value\n    they are setting to as the second argument instead. Additionally, setters must\n    _return_ the value that should be cached:\n  \n    ```javascript\n    import { computed, set } from '@ember/object';\n  \n    function fullNameMacro(firstNameKey, lastNameKey) {\n      @computed(firstNameKey, lastNameKey, {\n        get() {\n          return `${this[firstNameKey]} ${this[lastNameKey]}`;\n        }\n  \n        set(key, value) {\n          let [firstName, lastName] = value.split(' ');\n  \n          set(this, firstNameKey, firstName);\n          set(this, lastNameKey, lastName);\n  \n          return value;\n        }\n      });\n    }\n  \n    class Person {\n      constructor(firstName, lastName) {\n        set(this, 'firstName', firstName);\n        set(this, 'lastName', lastName);\n      }\n  \n      @fullNameMacro fullName;\n    });\n  \n    let person = new Person();\n  \n    set(person, 'fullName', 'Peter Wagenet');\n    person.firstName; // 'Peter'\n    person.lastName;  // 'Wagenet'\n    ```\n  \n    Computed properties can also be used in classic classes. To do this, we\n    provide the getter and setter as the last argument like we would for a macro,\n    and we assign it to a property on the class definition. This is an _anonymous_\n    computed macro:\n  \n    ```javascript\n    import EmberObject, { computed, set } from '@ember/object';\n  \n    let Person = EmberObject.extend({\n      // these will be supplied by `create`\n      firstName: null,\n      lastName: null,\n  \n      fullName: computed('firstName', 'lastName', {\n        get() {\n          return `${this.firstName} ${this.lastName}`;\n        }\n  \n        set(key, value) {\n          let [firstName, lastName] = value.split(' ');\n  \n          set(this, 'firstName', firstName);\n          set(this, 'lastName', lastName);\n  \n          return value;\n        }\n      })\n    });\n  \n    let tom = Person.create({\n      firstName: 'Tom',\n      lastName: 'Dale'\n    });\n  \n    tom.get('fullName') // 'Tom Dale'\n    ```\n  \n    You can overwrite computed property without setters with a normal property (no\n    longer computed) that won't change if dependencies change. You can also mark\n    computed property as `.readOnly()` and block all attempts to set it.\n  \n    ```javascript\n    import { computed, set } from '@ember/object';\n  \n    class Person {\n      constructor(firstName, lastName) {\n        set(this, 'firstName', firstName);\n        set(this, 'lastName', lastName);\n      }\n  \n      @computed('firstName', 'lastName').readOnly()\n      get fullName() {\n        return `${this.firstName} ${this.lastName}`;\n      }\n    });\n  \n    let person = new Person();\n    person.set('fullName', 'Peter Wagenet'); // Uncaught Error: Cannot set read-only property \"fullName\" on object: <(...):emberXXX>\n    ```\n  \n    Additional resources:\n    - [Decorators RFC](https://github.com/emberjs/rfcs/blob/master/text/0408-decorators.md)\n    - [New CP syntax RFC](https://github.com/emberjs/rfcs/blob/master/text/0011-improved-cp-syntax.md)\n    - [New computed syntax explained in \"Ember 1.12 released\" ](https://emberjs.com/blog/2015/05/13/ember-1-12-released.html#toc_new-computed-syntax)\n  \n    @class ComputedProperty\n    @public\n  */\n\n\n  var ComputedProperty =\n  /*#__PURE__*/\n  function (_ComputedDescriptor) {\n    (0, _emberBabel.inheritsLoose)(ComputedProperty, _ComputedDescriptor);\n\n    function ComputedProperty(args) {\n      var _this;\n\n      _this = _ComputedDescriptor.call(this) || this;\n      _this._volatile = false;\n      _this._readOnly = false;\n      _this._suspended = undefined;\n      _this._hasConfig = false;\n      _this._getter = undefined;\n      _this._setter = undefined;\n      var maybeConfig = args[args.length - 1];\n\n      if (typeof maybeConfig === 'function' || maybeConfig !== null && typeof maybeConfig === 'object') {\n        _this._hasConfig = true;\n        var config = args.pop();\n\n        if (typeof config === 'function') {\n          true && !!isClassicDecorator(config) && (0, _debug.assert)(\"You attempted to pass a computed property instance to computed(). Computed property instances are decorator functions, and cannot be passed to computed() because they cannot be turned into decorators twice\", !isClassicDecorator(config));\n          _this._getter = config;\n        } else {\n          var objectConfig = config;\n          true && !(typeof objectConfig === 'object' && !Array.isArray(objectConfig)) && (0, _debug.assert)('computed expects a function or an object as last argument.', typeof objectConfig === 'object' && !Array.isArray(objectConfig));\n          true && !Object.keys(objectConfig).every(function (key) {\n            return key === 'get' || key === 'set';\n          }) && (0, _debug.assert)('Config object passed to computed can only contain `get` and `set` keys.', Object.keys(objectConfig).every(function (key) {\n            return key === 'get' || key === 'set';\n          }));\n          true && !(Boolean(objectConfig.get) || Boolean(objectConfig.set)) && (0, _debug.assert)('Computed properties must receive a getter or a setter, you passed none.', Boolean(objectConfig.get) || Boolean(objectConfig.set));\n          _this._getter = objectConfig.get || noop;\n          _this._setter = objectConfig.set;\n        }\n      }\n\n      if (args.length > 0) {\n        var _this2;\n\n        (_this2 = _this)._property.apply(_this2, args);\n      }\n\n      return _this;\n    }\n\n    var _proto8 = ComputedProperty.prototype;\n\n    _proto8.setup = function setup(obj, keyName, propertyDesc, meta$$1) {\n      _ComputedDescriptor.prototype.setup.call(this, obj, keyName, propertyDesc, meta$$1);\n\n      true && !!(propertyDesc && typeof propertyDesc.value === 'function') && (0, _debug.assert)(\"@computed can only be used on accessors or fields, attempted to use it with \" + keyName + \" but that was a method. Try converting it to a getter (e.g. `get \" + keyName + \"() {}`)\", !(propertyDesc && typeof propertyDesc.value === 'function'));\n      true && !(!propertyDesc || !propertyDesc.initializer) && (0, _debug.assert)(\"@computed can only be used on empty fields. \" + keyName + \" has an initial value (e.g. `\" + keyName + \" = someValue`)\", !propertyDesc || !propertyDesc.initializer);\n      true && !!(this._hasConfig && propertyDesc && (typeof propertyDesc.get === 'function' || typeof propertyDesc.set === 'function')) && (0, _debug.assert)(\"Attempted to apply a computed property that already has a getter/setter to a \" + keyName + \", but it is a method or an accessor. If you passed @computed a function or getter/setter (e.g. `@computed({ get() { ... } })`), then it must be applied to a field\", !(this._hasConfig && propertyDesc && (typeof propertyDesc.get === 'function' || typeof propertyDesc.set === 'function')));\n\n      if (this._hasConfig === false) {\n        true && !(propertyDesc && (typeof propertyDesc.get === 'function' || typeof propertyDesc.set === 'function')) && (0, _debug.assert)(\"Attempted to use @computed on \" + keyName + \", but it did not have a getter or a setter. You must either pass a get a function or getter/setter to @computed directly (e.g. `@computed({ get() { ... } })`) or apply @computed directly to a getter/setter\", propertyDesc && (typeof propertyDesc.get === 'function' || typeof propertyDesc.set === 'function'));\n        var _get = propertyDesc.get,\n            set$$1 = propertyDesc.set;\n\n        if (_get !== undefined) {\n          this._getter = _get;\n        }\n\n        if (set$$1 !== undefined) {\n          this._setter = function setterWrapper(_key, value) {\n            var ret = set$$1.call(this, value);\n\n            if (_get !== undefined) {\n              return typeof ret === 'undefined' ? _get.call(this) : ret;\n            }\n\n            return ret;\n          };\n        }\n      }\n    }\n    /**\n      Call on a computed property to set it into non-cached mode. When in this\n      mode the computed property will not automatically cache the return value.\n      It also does not automatically fire any change events. You must manually notify\n      any changes if you want to observe this property.\n      Dependency keys have no effect on volatile properties as they are for cache\n      invalidation and notification when cached value is invalidated.\n      ```javascript\n      import EmberObject, { computed } from '@ember/object';\n      let outsideService = EmberObject.extend({\n        value: computed(function() {\n          return OutsideService.getValue();\n        }).volatile()\n      }).create();\n      ```\n      @method volatile\n      @return {ComputedProperty} this\n      @chainable\n      @public\n    */\n    ;\n\n    _proto8.volatile = function volatile() {\n      true && !false && (0, _debug.deprecate)('Setting a computed property as volatile has been deprecated. Instead, consider using a native getter with native class syntax.', false, {\n        id: 'computed-property.volatile',\n        until: '4.0.0',\n        url: 'https://emberjs.com/deprecations/v3.x#toc_computed-property-volatile'\n      });\n      this._volatile = true;\n    }\n    /**\n      Call on a computed property to set it into read-only mode. When in this\n      mode the computed property will throw an error when set.\n      ```javascript\n      import EmberObject, { computed } from '@ember/object';\n      let Person = EmberObject.extend({\n        guid: computed(function() {\n          return 'guid-guid-guid';\n        }).readOnly()\n      });\n      let person = Person.create();\n      person.set('guid', 'new-guid'); // will throw an exception\n      ```\n      @method readOnly\n      @return {ComputedProperty} this\n      @chainable\n      @public\n    */\n    ;\n\n    _proto8.readOnly = function readOnly() {\n      this._readOnly = true;\n      true && !!(this._readOnly && this._setter && this._setter !== this._getter) && (0, _debug.assert)('Computed properties that define a setter using the new syntax cannot be read-only', !(this._readOnly && this._setter && this._setter !== this._getter));\n    }\n    /**\n      Sets the dependent keys on this computed property. Pass any number of\n      arguments containing key paths that this computed property depends on.\n      ```javascript\n      import EmberObject, { computed } from '@ember/object';\n      let President = EmberObject.extend({\n        fullName: computed('firstName', 'lastName', function() {\n          return this.get('firstName') + ' ' + this.get('lastName');\n          // Tell Ember that this computed property depends on firstName\n          // and lastName\n        })\n      });\n      let president = President.create({\n        firstName: 'Barack',\n        lastName: 'Obama'\n      });\n      president.get('fullName'); // 'Barack Obama'\n      ```\n      @method property\n      @param {String} path* zero or more property paths\n      @return {ComputedProperty} this\n      @chainable\n      @public\n    */\n    ;\n\n    _proto8.property = function property() {\n      true && !false && (0, _debug.deprecate)('Setting dependency keys using the `.property()` modifier has been deprecated. Pass the dependency keys directly to computed as arguments instead. If you are using `.property()` on a computed property macro, consider refactoring your macro to receive additional dependent keys in its initial declaration.', false, {\n        id: 'computed-property.property',\n        until: '4.0.0',\n        url: 'https://emberjs.com/deprecations/v3.x#toc_computed-property-property'\n      });\n\n      this._property.apply(this, arguments);\n    };\n\n    _proto8._property = function _property() {\n      var args = [];\n\n      function addArg(property) {\n        true && (0, _debug.warn)(\"Dependent keys containing @each only work one level deep. \" + (\"You used the key \\\"\" + property + \"\\\" which is invalid. \") + \"Please create an intermediary computed property.\", DEEP_EACH_REGEX.test(property) === false, {\n          id: 'ember-metal.computed-deep-each'\n        });\n        args.push(property);\n      }\n\n      for (var i = 0; i < arguments.length; i++) {\n        expandProperties(i < 0 || arguments.length <= i ? undefined : arguments[i], addArg);\n      }\n\n      this._dependentKeys = args;\n    }\n    /**\n      In some cases, you may want to annotate computed properties with additional\n      metadata about how they function or what values they operate on. For example,\n      computed property functions may close over variables that are then no longer\n      available for introspection.\n      You can pass a hash of these values to a computed property like this:\n      ```\n      import { computed } from '@ember/object';\n      import Person from 'my-app/utils/person';\n      person: computed(function() {\n        let personId = this.get('personId');\n        return Person.create({ id: personId });\n      }).meta({ type: Person })\n      ```\n      The hash that you pass to the `meta()` function will be saved on the\n      computed property descriptor under the `_meta` key. Ember runtime\n      exposes a public API for retrieving these values from classes,\n      via the `metaForProperty()` function.\n      @method meta\n      @param {Object} meta\n      @chainable\n      @public\n    */\n    // invalidate cache when CP key changes\n    ;\n\n    _proto8.didChange = function didChange(obj, keyName) {\n      // _suspended is set via a CP.set to ensure we don't clear\n      // the cached value set by the setter\n      if (this._volatile || this._suspended === obj) {\n        return;\n      } // don't create objects just to invalidate\n\n\n      var meta$$1 = (0, _meta2.peekMeta)(obj);\n\n      if (meta$$1 === null || meta$$1.source !== obj) {\n        return;\n      }\n\n      var cache = peekCacheFor(obj);\n\n      if (cache !== undefined && cache.delete(keyName)) {\n        removeDependentKeys(this, obj, keyName, meta$$1);\n      }\n    };\n\n    _proto8.get = function get(obj, keyName) {\n      var _this3 = this;\n\n      if (this._volatile) {\n        return this._getter.call(obj, keyName);\n      }\n\n      var cache = getCacheFor(obj);\n      var propertyTag;\n\n      if (false\n      /* EMBER_METAL_TRACKED_PROPERTIES */\n      ) {\n          propertyTag = tagForProperty(obj, keyName);\n\n          if (cache.has(keyName)) {\n            var lastRevision = getLastRevisionFor(obj, keyName);\n\n            if (propertyTag.validate(lastRevision)) {\n              return cache.get(keyName);\n            }\n          }\n        } else {\n        if (cache.has(keyName)) {\n          return cache.get(keyName);\n        }\n      }\n\n      var ret;\n\n      if (false\n      /* EMBER_METAL_TRACKED_PROPERTIES */\n      ) {\n          true && !!(0, _meta2.meta)(obj).isMetaDestroyed() && (0, _debug.assert)(\"Attempted to access the computed \" + obj + \".\" + keyName + \" on a destroyed object, which is not allowed\", !(0, _meta2.meta)(obj).isMetaDestroyed()); // Create a tracker that absorbs any trackable actions inside the CP\n\n          var tag = track(function () {\n            ret = _this3._getter.call(obj, keyName);\n          });\n          finishLazyChains(obj, keyName, ret);\n          var upstreamTags = [];\n\n          if (this._auto === true) {\n            upstreamTags.push(tag);\n          }\n\n          if (this._dependentKeys !== undefined) {\n            upstreamTags.push(getChainTagsForKeys(obj, this._dependentKeys));\n          }\n\n          if (upstreamTags.length > 0) {\n            update(propertyTag, (0, _reference.combine)(upstreamTags));\n          }\n\n          setLastRevisionFor(obj, keyName, propertyTag.value());\n          consume(propertyTag); // Add the tag of the returned value if it is an array, since arrays\n          // should always cause updates if they are consumed and then changed\n\n          if (Array.isArray(ret) || (0, _utils.isEmberArray)(ret)) {\n            consume(tagForProperty(ret, '[]'));\n          }\n        } else {\n        ret = this._getter.call(obj, keyName);\n      }\n\n      cache.set(keyName, ret);\n\n      if (!false\n      /* EMBER_METAL_TRACKED_PROPERTIES */\n      ) {\n          var meta$$1 = (0, _meta2.meta)(obj);\n          var chainWatchers = meta$$1.readableChainWatchers();\n\n          if (chainWatchers !== undefined) {\n            chainWatchers.revalidate(keyName);\n          }\n\n          addDependentKeys(this, obj, keyName, meta$$1);\n        }\n\n      return ret;\n    };\n\n    _proto8.set = function set(obj, keyName, value) {\n      if (this._readOnly) {\n        this._throwReadOnlyError(obj, keyName);\n      }\n\n      if (!this._setter) {\n        return this.clobberSet(obj, keyName, value);\n      }\n\n      if (this._volatile) {\n        return this.volatileSet(obj, keyName, value);\n      }\n\n      if (false\n      /* EMBER_METAL_TRACKED_PROPERTIES */\n      ) {\n          var ret = this._set(obj, keyName, value);\n\n          finishLazyChains(obj, keyName, ret);\n          var propertyTag = tagForProperty(obj, keyName);\n\n          if (this._dependentKeys !== undefined) {\n            update(propertyTag, getChainTagsForKeys(obj, this._dependentKeys));\n          }\n\n          setLastRevisionFor(obj, keyName, propertyTag.value());\n          return ret;\n        } else {\n        return this.setWithSuspend(obj, keyName, value);\n      }\n    };\n\n    _proto8._throwReadOnlyError = function _throwReadOnlyError(obj, keyName) {\n      throw new _error.default(\"Cannot set read-only property \\\"\" + keyName + \"\\\" on object: \" + (0, _utils.inspect)(obj));\n    };\n\n    _proto8.clobberSet = function clobberSet(obj, keyName, value) {\n      true && !false && (0, _debug.deprecate)(\"The \" + (0, _utils.toString)(obj) + \"#\" + keyName + \" computed property was just overriden. This removes the computed property and replaces it with a plain value, and has been deprecated. If you want this behavior, consider defining a setter which does it manually.\", false, {\n        id: 'computed-property.override',\n        until: '4.0.0',\n        url: 'https://emberjs.com/deprecations/v3.x#toc_computed-property-override'\n      });\n      var cachedValue = getCachedValueFor(obj, keyName);\n      defineProperty(obj, keyName, null, cachedValue);\n\n      _set2(obj, keyName, value);\n\n      return value;\n    };\n\n    _proto8.volatileSet = function volatileSet(obj, keyName, value) {\n      return this._setter.call(obj, keyName, value);\n    };\n\n    _proto8.setWithSuspend = function setWithSuspend(obj, keyName, value) {\n      var oldSuspended = this._suspended;\n      this._suspended = obj;\n\n      try {\n        return this._set(obj, keyName, value);\n      } finally {\n        this._suspended = oldSuspended;\n      }\n    };\n\n    _proto8._set = function _set(obj, keyName, value) {\n      var cache = getCacheFor(obj);\n      var hadCachedValue = cache.has(keyName);\n      var cachedValue = cache.get(keyName);\n\n      var ret = this._setter.call(obj, keyName, value, cachedValue); // allows setter to return the same value that is cached already\n\n\n      if (hadCachedValue && cachedValue === ret) {\n        return ret;\n      }\n\n      var meta$$1 = (0, _meta2.meta)(obj);\n\n      if (!false\n      /* EMBER_METAL_TRACKED_PROPERTIES */\n      && !hadCachedValue) {\n        addDependentKeys(this, obj, keyName, meta$$1);\n      }\n\n      cache.set(keyName, ret);\n      notifyPropertyChange(obj, keyName, meta$$1);\n      return ret;\n    }\n    /* called before property is overridden */\n    ;\n\n    _proto8.teardown = function teardown(obj, keyName, meta$$1) {\n      if (!this._volatile) {\n        var cache = peekCacheFor(obj);\n\n        if (cache !== undefined && cache.delete(keyName)) {\n          removeDependentKeys(this, obj, keyName, meta$$1);\n        }\n      }\n\n      _ComputedDescriptor.prototype.teardown.call(this, obj, keyName, meta$$1);\n    };\n\n    return ComputedProperty;\n  }(ComputedDescriptor);\n\n  _exports.ComputedProperty = ComputedProperty;\n\n  if (false\n  /* EMBER_METAL_TRACKED_PROPERTIES */\n  ) {\n      ComputedProperty.prototype.auto = function () {\n        this._auto = true;\n      };\n    } // TODO: This class can be svelted once `meta` has been deprecated\n\n\n  var ComputedDecoratorImpl =\n  /*#__PURE__*/\n  function (_Function) {\n    (0, _emberBabel.inheritsLoose)(ComputedDecoratorImpl, _Function);\n\n    function ComputedDecoratorImpl() {\n      return _Function.apply(this, arguments) || this;\n    }\n\n    var _proto9 = ComputedDecoratorImpl.prototype;\n\n    _proto9.readOnly = function readOnly() {\n      descriptorForDecorator(this).readOnly();\n      return this;\n    };\n\n    _proto9.volatile = function volatile() {\n      descriptorForDecorator(this).volatile();\n      return this;\n    };\n\n    _proto9.property = function property() {\n      var _descriptorForDecorat;\n\n      (_descriptorForDecorat = descriptorForDecorator(this)).property.apply(_descriptorForDecorat, arguments);\n\n      return this;\n    };\n\n    _proto9.meta = function meta(meta$$1) {\n      var prop = descriptorForDecorator(this);\n\n      if (arguments.length === 0) {\n        return prop._meta || {};\n      } else {\n        prop._meta = meta$$1;\n        return this;\n      }\n    } // TODO: Remove this when we can provide alternatives in the ecosystem to\n    // addons such as ember-macro-helpers that use it.\n    ;\n\n    (0, _emberBabel.createClass)(ComputedDecoratorImpl, [{\n      key: \"_getter\",\n      get: function () {\n        return descriptorForDecorator(this)._getter;\n      } // TODO: Refactor this, this is an internal API only\n\n    }, {\n      key: \"enumerable\",\n      set: function (value) {\n        descriptorForDecorator(this).enumerable = value;\n      }\n    }]);\n    return ComputedDecoratorImpl;\n  }((0, _emberBabel.wrapNativeSuper)(Function));\n\n  function computed() {\n    for (var _len3 = arguments.length, args = new Array(_len3), _key4 = 0; _key4 < _len3; _key4++) {\n      args[_key4] = arguments[_key4];\n    }\n\n    true && !!(isElementDescriptor(args.slice(0, 3)) && args.length === 5 && args[4] === true) && (0, _debug.assert)(\"@computed can only be used directly as a native decorator. If you're using tracked in classic classes, add parenthesis to call it like a function: computed()\", !(isElementDescriptor(args.slice(0, 3)) && args.length === 5 && args[4] === true));\n\n    if (isElementDescriptor(args)) {\n      true && !Boolean(true\n      /* EMBER_NATIVE_DECORATOR_SUPPORT */\n      ) && (0, _debug.assert)('Native decorators are not enabled without the EMBER_NATIVE_DECORATOR_SUPPORT flag. If you are using computed in a classic class, add parenthesis to it: computed()', Boolean(true));\n      var decorator = makeComputedDecorator(new ComputedProperty([]), ComputedDecoratorImpl);\n      return decorator(args[0], args[1], args[2]);\n    }\n\n    return makeComputedDecorator(new ComputedProperty(args), ComputedDecoratorImpl);\n  }\n  /**\n    Allows checking if a given property on an object is a computed property. For the most part,\n    this doesn't matter (you would normally just access the property directly and use its value),\n    but for some tooling specific scenarios (e.g. the ember-inspector) it is important to\n    differentiate if a property is a computed property or a \"normal\" property.\n  \n    This will work on either a class's prototype or an instance itself.\n  \n    @static\n    @method isComputed\n    @for @ember/debug\n    @private\n   */\n\n\n  function isComputed(obj, key) {\n    return Boolean(descriptorForProperty(obj, key));\n  }\n\n  var _globalsComputed = computed.bind(null);\n\n  _exports._globalsComputed = _globalsComputed;\n  var CONSUMED = Object.freeze({});\n\n  function alias(altKey) {\n    true && !!isElementDescriptor(Array.prototype.slice.call(arguments)) && (0, _debug.assert)('You attempted to use @alias as a decorator directly, but it requires a `altKey` parameter', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n    return makeComputedDecorator(new AliasedProperty(altKey), AliasDecoratorImpl);\n  } // TODO: This class can be svelted once `meta` has been deprecated\n\n\n  var AliasDecoratorImpl =\n  /*#__PURE__*/\n  function (_Function2) {\n    (0, _emberBabel.inheritsLoose)(AliasDecoratorImpl, _Function2);\n\n    function AliasDecoratorImpl() {\n      return _Function2.apply(this, arguments) || this;\n    }\n\n    var _proto10 = AliasDecoratorImpl.prototype;\n\n    _proto10.readOnly = function readOnly() {\n      descriptorForDecorator(this).readOnly();\n      return this;\n    };\n\n    _proto10.oneWay = function oneWay() {\n      descriptorForDecorator(this).oneWay();\n      return this;\n    };\n\n    _proto10.meta = function meta(meta$$1) {\n      var prop = descriptorForDecorator(this);\n\n      if (arguments.length === 0) {\n        return prop._meta || {};\n      } else {\n        prop._meta = meta$$1;\n      }\n    };\n\n    return AliasDecoratorImpl;\n  }((0, _emberBabel.wrapNativeSuper)(Function));\n\n  var AliasedProperty =\n  /*#__PURE__*/\n  function (_ComputedDescriptor2) {\n    (0, _emberBabel.inheritsLoose)(AliasedProperty, _ComputedDescriptor2);\n\n    function AliasedProperty(altKey) {\n      var _this4;\n\n      _this4 = _ComputedDescriptor2.call(this) || this;\n      _this4.altKey = altKey;\n\n      if (!false\n      /* EMBER_METAL_TRACKED_PROPERTIES */\n      ) {\n          _this4._dependentKeys = [altKey];\n        }\n\n      return _this4;\n    }\n\n    var _proto11 = AliasedProperty.prototype;\n\n    _proto11.setup = function setup(obj, keyName, propertyDesc, meta$$1) {\n      true && !(this.altKey !== keyName) && (0, _debug.assert)(\"Setting alias '\" + keyName + \"' on self\", this.altKey !== keyName);\n\n      _ComputedDescriptor2.prototype.setup.call(this, obj, keyName, propertyDesc, meta$$1);\n\n      if (!false\n      /* EMBER_METAL_TRACKED_PROPERTIES */\n      && meta$$1.peekWatching(keyName) > 0) {\n        this.consume(obj, keyName, meta$$1);\n      }\n    };\n\n    _proto11.teardown = function teardown(obj, keyName, meta$$1) {\n      if (!false\n      /* EMBER_METAL_TRACKED_PROPERTIES */\n      ) {\n          this.unconsume(obj, keyName, meta$$1);\n        }\n\n      _ComputedDescriptor2.prototype.teardown.call(this, obj, keyName, meta$$1);\n    };\n\n    _proto11.willWatch = function willWatch(obj, keyName, meta$$1) {\n      if (!false\n      /* EMBER_METAL_TRACKED_PROPERTIES */\n      ) {\n          this.consume(obj, keyName, meta$$1);\n        }\n    };\n\n    _proto11.get = function get(obj, keyName) {\n      var _this5 = this;\n\n      var ret;\n\n      if (false\n      /* EMBER_METAL_TRACKED_PROPERTIES */\n      ) {\n          var propertyTag = tagForProperty(obj, keyName); // We don't use the tag since CPs are not automatic, we just want to avoid\n          // anything tracking while we get the altKey\n\n          track(function () {\n            ret = _get2(obj, _this5.altKey);\n          });\n          var altPropertyTag = getChainTagsForKey(obj, this.altKey);\n          update(propertyTag, altPropertyTag);\n          consume(propertyTag);\n          finishLazyChains(obj, keyName, ret);\n          setLastRevisionFor(obj, keyName, propertyTag.value());\n        } else {\n        ret = _get2(obj, this.altKey);\n        this.consume(obj, keyName, (0, _meta2.meta)(obj));\n      }\n\n      return ret;\n    };\n\n    _proto11.unconsume = function unconsume(obj, keyName, meta$$1) {\n      var wasConsumed = getCachedValueFor(obj, keyName) === CONSUMED;\n\n      if (wasConsumed || meta$$1.peekWatching(keyName) > 0) {\n        removeDependentKeys(this, obj, keyName, meta$$1);\n      }\n\n      if (wasConsumed) {\n        getCacheFor(obj).delete(keyName);\n      }\n    };\n\n    _proto11.consume = function consume(obj, keyName, meta$$1) {\n      var cache = getCacheFor(obj);\n\n      if (cache.get(keyName) !== CONSUMED) {\n        cache.set(keyName, CONSUMED);\n        addDependentKeys(this, obj, keyName, meta$$1);\n      }\n    };\n\n    _proto11.set = function set(obj, _keyName, value) {\n      return _set2(obj, this.altKey, value);\n    };\n\n    _proto11.readOnly = function readOnly() {\n      this.set = AliasedProperty_readOnlySet;\n    };\n\n    _proto11.oneWay = function oneWay() {\n      this.set = AliasedProperty_oneWaySet;\n    };\n\n    return AliasedProperty;\n  }(ComputedDescriptor);\n\n  function AliasedProperty_readOnlySet(obj, keyName) {\n    // eslint-disable-line no-unused-vars\n    throw new _error.default(\"Cannot set read-only property '\" + keyName + \"' on object: \" + (0, _utils.inspect)(obj));\n  }\n\n  function AliasedProperty_oneWaySet(obj, keyName, value) {\n    defineProperty(obj, keyName, null);\n    return _set2(obj, keyName, value);\n  }\n  /**\n  @module ember\n  */\n\n  /**\n    Used internally to allow changing properties in a backwards compatible way, and print a helpful\n    deprecation warning.\n  \n    @method deprecateProperty\n    @param {Object} object The object to add the deprecated property to.\n    @param {String} deprecatedKey The property to add (and print deprecation warnings upon accessing).\n    @param {String} newKey The property that will be aliased.\n    @private\n    @since 1.7.0\n  */\n\n\n  function deprecateProperty(object, deprecatedKey, newKey, options) {\n    function _deprecate() {\n      true && !false && (0, _debug.deprecate)(\"Usage of `\" + deprecatedKey + \"` is deprecated, use `\" + newKey + \"` instead.\", false, options);\n    }\n\n    Object.defineProperty(object, deprecatedKey, {\n      configurable: true,\n      enumerable: false,\n      set: function (value) {\n        _deprecate();\n\n        _set2(this, newKey, value);\n      },\n      get: function () {\n        _deprecate();\n\n        return _get2(this, newKey);\n      }\n    });\n  }\n  /**\n   @module @ember/utils\n  */\n\n  /**\n    Returns true if the passed value is null or undefined. This avoids errors\n    from JSLint complaining about use of ==, which can be technically\n    confusing.\n  \n    ```javascript\n    isNone();              // true\n    isNone(null);          // true\n    isNone(undefined);     // true\n    isNone('');            // false\n    isNone([]);            // false\n    isNone(function() {}); // false\n    ```\n  \n    @method isNone\n    @static\n    @for @ember/utils\n    @param {Object} obj Value to test\n    @return {Boolean}\n    @public\n  */\n\n\n  function isNone(obj) {\n    return obj === null || obj === undefined;\n  }\n  /**\n   @module @ember/utils\n  */\n\n  /**\n    Verifies that a value is `null` or `undefined`, an empty string, or an empty\n    array.\n  \n    Constrains the rules on `isNone` by returning true for empty strings and\n    empty arrays.\n  \n    If the value is an object with a `size` property of type number, it is used\n    to check emptiness.\n  \n    ```javascript\n    isEmpty();                 // true\n    isEmpty(null);             // true\n    isEmpty(undefined);        // true\n    isEmpty('');               // true\n    isEmpty([]);               // true\n    isEmpty({ size: 0});       // true\n    isEmpty({});               // false\n    isEmpty('Adam Hawkins');   // false\n    isEmpty([0,1,2]);          // false\n    isEmpty('\\n\\t');           // false\n    isEmpty('  ');             // false\n    isEmpty({ size: 1 })       // false\n    isEmpty({ size: () => 0 }) // false\n    ```\n  \n    @method isEmpty\n    @static\n    @for @ember/utils\n    @param {Object} obj Value to test\n    @return {Boolean}\n    @public\n  */\n\n\n  function isEmpty(obj) {\n    var none = obj === null || obj === undefined;\n\n    if (none) {\n      return none;\n    }\n\n    if (typeof obj.size === 'number') {\n      return !obj.size;\n    }\n\n    var objectType = typeof obj;\n\n    if (objectType === 'object') {\n      var size = _get2(obj, 'size');\n\n      if (typeof size === 'number') {\n        return !size;\n      }\n    }\n\n    if (typeof obj.length === 'number' && objectType !== 'function') {\n      return !obj.length;\n    }\n\n    if (objectType === 'object') {\n      var length = _get2(obj, 'length');\n\n      if (typeof length === 'number') {\n        return !length;\n      }\n    }\n\n    return false;\n  }\n  /**\n   @module @ember/utils\n  */\n\n  /**\n    A value is blank if it is empty or a whitespace string.\n  \n    ```javascript\n    import { isBlank } from '@ember/utils';\n  \n    isBlank();                // true\n    isBlank(null);            // true\n    isBlank(undefined);       // true\n    isBlank('');              // true\n    isBlank([]);              // true\n    isBlank('\\n\\t');          // true\n    isBlank('  ');            // true\n    isBlank({});              // false\n    isBlank('\\n\\t Hello');    // false\n    isBlank('Hello world');   // false\n    isBlank([1,2,3]);         // false\n    ```\n  \n    @method isBlank\n    @static\n    @for @ember/utils\n    @param {Object} obj Value to test\n    @return {Boolean}\n    @since 1.5.0\n    @public\n  */\n\n\n  function isBlank(obj) {\n    return isEmpty(obj) || typeof obj === 'string' && /\\S/.test(obj) === false;\n  }\n  /**\n   @module @ember/utils\n  */\n\n  /**\n    A value is present if it not `isBlank`.\n  \n    ```javascript\n    isPresent();                // false\n    isPresent(null);            // false\n    isPresent(undefined);       // false\n    isPresent('');              // false\n    isPresent('  ');            // false\n    isPresent('\\n\\t');          // false\n    isPresent([]);              // false\n    isPresent({ length: 0 });   // false\n    isPresent(false);           // true\n    isPresent(true);            // true\n    isPresent('string');        // true\n    isPresent(0);               // true\n    isPresent(function() {});   // true\n    isPresent({});              // true\n    isPresent('\\n\\t Hello');    // true\n    isPresent([1, 2, 3]);       // true\n    ```\n  \n    @method isPresent\n    @static\n    @for @ember/utils\n    @param {Object} obj Value to test\n    @return {Boolean}\n    @since 1.8.0\n    @public\n  */\n\n\n  function isPresent(obj) {\n    return !isBlank(obj);\n  }\n  /**\n   @module ember\n  */\n\n  /**\n    Helper class that allows you to register your library with Ember.\n  \n    Singleton created at `Ember.libraries`.\n  \n    @class Libraries\n    @constructor\n    @private\n  */\n\n\n  var Libraries =\n  /*#__PURE__*/\n  function () {\n    function Libraries() {\n      this._registry = [];\n      this._coreLibIndex = 0;\n    }\n\n    var _proto12 = Libraries.prototype;\n\n    _proto12._getLibraryByName = function _getLibraryByName(name) {\n      var libs = this._registry;\n      var count = libs.length;\n\n      for (var i = 0; i < count; i++) {\n        if (libs[i].name === name) {\n          return libs[i];\n        }\n      }\n\n      return undefined;\n    };\n\n    _proto12.register = function register(name, version, isCoreLibrary) {\n      var index = this._registry.length;\n\n      if (!this._getLibraryByName(name)) {\n        if (isCoreLibrary) {\n          index = this._coreLibIndex++;\n        }\n\n        this._registry.splice(index, 0, {\n          name: name,\n          version: version\n        });\n      } else {\n        true && (0, _debug.warn)(\"Library \\\"\" + name + \"\\\" is already registered with Ember.\", false, {\n          id: 'ember-metal.libraries-register'\n        });\n      }\n    };\n\n    _proto12.registerCoreLibrary = function registerCoreLibrary(name, version) {\n      this.register(name, version, true);\n    };\n\n    _proto12.deRegister = function deRegister(name) {\n      var lib = this._getLibraryByName(name);\n\n      var index;\n\n      if (lib) {\n        index = this._registry.indexOf(lib);\n\n        this._registry.splice(index, 1);\n      }\n    };\n\n    return Libraries;\n  }();\n\n  _exports.Libraries = Libraries;\n\n  if (false\n  /* EMBER_LIBRARIES_ISREGISTERED */\n  ) {\n      Libraries.prototype.isRegistered = function (name) {\n        return Boolean(this._getLibraryByName(name));\n      };\n    }\n\n  if (true\n  /* DEBUG */\n  ) {\n      Libraries.prototype.logVersions = function () {\n        var libs = this._registry;\n        var nameLengths = libs.map(function (item) {\n          return _get2(item, 'name.length');\n        });\n        var maxNameLength = Math.max.apply(null, nameLengths);\n        (0, _debug.debug)('-------------------------------');\n\n        for (var i = 0; i < libs.length; i++) {\n          var lib = libs[i];\n          var spaces = new Array(maxNameLength - lib.name.length + 1).join(' ');\n          (0, _debug.debug)([lib.name, spaces, ' : ', lib.version].join(''));\n        }\n\n        (0, _debug.debug)('-------------------------------');\n      };\n    }\n\n  var LIBRARIES = new Libraries();\n  _exports.libraries = LIBRARIES;\n  LIBRARIES.registerCoreLibrary('Ember', _version.default);\n  /**\n   @module @ember/object\n  */\n\n  /**\n    To get multiple properties at once, call `getProperties`\n    with an object followed by a list of strings or an array:\n  \n    ```javascript\n    import { getProperties } from '@ember/object';\n  \n    getProperties(record, 'firstName', 'lastName', 'zipCode');\n    // { firstName: 'John', lastName: 'Doe', zipCode: '10011' }\n    ```\n  \n    is equivalent to:\n  \n    ```javascript\n    import { getProperties } from '@ember/object';\n  \n    getProperties(record, ['firstName', 'lastName', 'zipCode']);\n    // { firstName: 'John', lastName: 'Doe', zipCode: '10011' }\n    ```\n  \n    @method getProperties\n    @static\n    @for @ember/object\n    @param {Object} obj\n    @param {String...|Array} list of keys to get\n    @return {Object}\n    @public\n  */\n\n  function getProperties(obj, keys) {\n    var ret = {};\n    var propertyNames = arguments;\n    var i = 1;\n\n    if (arguments.length === 2 && Array.isArray(keys)) {\n      i = 0;\n      propertyNames = arguments[1];\n    }\n\n    for (; i < propertyNames.length; i++) {\n      ret[propertyNames[i]] = _get2(obj, propertyNames[i]);\n    }\n\n    return ret;\n  }\n  /**\n   @module @ember/object\n  */\n\n  /**\n    Set a list of properties on an object. These properties are set inside\n    a single `beginPropertyChanges` and `endPropertyChanges` batch, so\n    observers will be buffered.\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    let anObject = EmberObject.create();\n  \n    anObject.setProperties({\n      firstName: 'Stanley',\n      lastName: 'Stuart',\n      age: 21\n    });\n    ```\n  \n    @method setProperties\n    @static\n    @for @ember/object\n    @param obj\n    @param {Object} properties\n    @return properties\n    @public\n  */\n\n\n  function setProperties(obj, properties) {\n    if (properties === null || typeof properties !== 'object') {\n      return properties;\n    }\n\n    changeProperties(function () {\n      var props = Object.keys(properties);\n      var propertyName;\n\n      for (var i = 0; i < props.length; i++) {\n        propertyName = props[i];\n\n        _set2(obj, propertyName, properties[propertyName]);\n      }\n    });\n    return properties;\n  } // TODO, this only depends on context, otherwise it could be in utils\n  // move into its own package\n  // it is needed by Mixin for classToString\n  // maybe move it into environment\n\n\n  var hasOwnProperty = Object.prototype.hasOwnProperty;\n  var searchDisabled = false;\n  var flags = {\n    _set: 0,\n    _unprocessedNamespaces: false,\n\n    get unprocessedNamespaces() {\n      return this._unprocessedNamespaces;\n    },\n\n    set unprocessedNamespaces(v) {\n      this._set++;\n      this._unprocessedNamespaces = v;\n    }\n\n  };\n  var unprocessedMixins = false;\n  var NAMESPACES = [];\n  _exports.NAMESPACES = NAMESPACES;\n  var NAMESPACES_BY_ID = Object.create(null);\n  _exports.NAMESPACES_BY_ID = NAMESPACES_BY_ID;\n\n  function addNamespace(namespace) {\n    flags.unprocessedNamespaces = true;\n    NAMESPACES.push(namespace);\n  }\n\n  function removeNamespace(namespace) {\n    var name = (0, _utils.getName)(namespace);\n    delete NAMESPACES_BY_ID[name];\n    NAMESPACES.splice(NAMESPACES.indexOf(namespace), 1);\n\n    if (name in _environment.context.lookup && namespace === _environment.context.lookup[name]) {\n      _environment.context.lookup[name] = undefined;\n    }\n  }\n\n  function findNamespaces() {\n    if (!flags.unprocessedNamespaces) {\n      return;\n    }\n\n    var lookup = _environment.context.lookup;\n    var keys = Object.keys(lookup);\n\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i]; // Only process entities that start with uppercase A-Z\n\n      if (!isUppercase(key.charCodeAt(0))) {\n        continue;\n      }\n\n      var obj = tryIsNamespace(lookup, key);\n\n      if (obj) {\n        (0, _utils.setName)(obj, key);\n      }\n    }\n  }\n\n  function findNamespace(name) {\n    if (!searchDisabled) {\n      processAllNamespaces();\n    }\n\n    return NAMESPACES_BY_ID[name];\n  }\n\n  function processNamespace(namespace) {\n    _processNamespace([namespace.toString()], namespace, new Set());\n  }\n\n  function processAllNamespaces() {\n    var unprocessedNamespaces = flags.unprocessedNamespaces;\n\n    if (unprocessedNamespaces) {\n      findNamespaces();\n      flags.unprocessedNamespaces = false;\n    }\n\n    if (unprocessedNamespaces || unprocessedMixins) {\n      var namespaces = NAMESPACES;\n\n      for (var i = 0; i < namespaces.length; i++) {\n        processNamespace(namespaces[i]);\n      }\n\n      unprocessedMixins = false;\n    }\n  }\n\n  function classToString() {\n    var name = (0, _utils.getName)(this);\n\n    if (name !== void 0) {\n      return name;\n    }\n\n    name = calculateToString(this);\n    (0, _utils.setName)(this, name);\n    return name;\n  }\n\n  function isSearchDisabled() {\n    return searchDisabled;\n  }\n\n  function setSearchDisabled(flag) {\n    searchDisabled = Boolean(flag);\n  }\n\n  function setUnprocessedMixins() {\n    unprocessedMixins = true;\n  }\n\n  function _processNamespace(paths, root, seen) {\n    var idx = paths.length;\n    var id = paths.join('.');\n    NAMESPACES_BY_ID[id] = root;\n    (0, _utils.setName)(root, id); // Loop over all of the keys in the namespace, looking for classes\n\n    for (var key in root) {\n      if (!hasOwnProperty.call(root, key)) {\n        continue;\n      }\n\n      var obj = root[key]; // If we are processing the `Ember` namespace, for example, the\n      // `paths` will start with `[\"Ember\"]`. Every iteration through\n      // the loop will update the **second** element of this list with\n      // the key, so processing `Ember.View` will make the Array\n      // `['Ember', 'View']`.\n\n      paths[idx] = key; // If we have found an unprocessed class\n\n      if (obj && obj.toString === classToString && (0, _utils.getName)(obj) === void 0) {\n        // Replace the class' `toString` with the dot-separated path\n        (0, _utils.setName)(obj, paths.join('.')); // Support nested namespaces\n      } else if (obj && obj.isNamespace) {\n        // Skip aliased namespaces\n        if (seen.has(obj)) {\n          continue;\n        }\n\n        seen.add(obj); // Process the child namespace\n\n        _processNamespace(paths, obj, seen);\n      }\n    }\n\n    paths.length = idx; // cut out last item\n  }\n\n  function isUppercase(code) {\n    return code >= 65 && code <= 90 // A\n    ; // Z\n  }\n\n  function tryIsNamespace(lookup, prop) {\n    try {\n      var obj = lookup[prop];\n      return (obj !== null && typeof obj === 'object' || typeof obj === 'function') && obj.isNamespace && obj;\n    } catch (e) {// continue\n    }\n  }\n\n  function calculateToString(target) {\n    var str;\n\n    if (!searchDisabled) {\n      processAllNamespaces();\n      str = (0, _utils.getName)(target);\n\n      if (str !== void 0) {\n        return str;\n      }\n\n      var superclass = target;\n\n      do {\n        superclass = Object.getPrototypeOf(superclass);\n\n        if (superclass === Function.prototype || superclass === Object.prototype) {\n          break;\n        }\n\n        str = (0, _utils.getName)(target);\n\n        if (str !== void 0) {\n          str = \"(subclass of \" + str + \")\";\n          break;\n        }\n      } while (str === void 0);\n    }\n\n    return str || '(unknown)';\n  }\n  /**\n  @module @ember/object\n  */\n\n\n  var a_concat = Array.prototype.concat;\n  var isArray = Array.isArray;\n\n  function isMethod(obj) {\n    return 'function' === typeof obj && obj.isMethod !== false && obj !== Boolean && obj !== Object && obj !== Number && obj !== Array && obj !== Date && obj !== String;\n  }\n\n  function isAccessor(desc) {\n    return typeof desc.get === 'function' || typeof desc.set === 'function';\n  }\n\n  function extractAccessors(properties) {\n    if (properties !== undefined) {\n      var descriptors = (0, _utils.getOwnPropertyDescriptors)(properties);\n      var keys = Object.keys(descriptors);\n      var hasAccessors = keys.some(function (key) {\n        return isAccessor(descriptors[key]);\n      });\n\n      if (hasAccessors) {\n        var extracted = {};\n        keys.forEach(function (key) {\n          var descriptor = descriptors[key];\n\n          if (isAccessor(descriptor)) {\n            extracted[key] = nativeDescDecorator(descriptor);\n          } else {\n            extracted[key] = properties[key];\n          }\n        });\n        return extracted;\n      }\n    }\n\n    return properties;\n  }\n\n  var CONTINUE = {};\n\n  function mixinProperties(mixinsMeta, mixin) {\n    if (mixin instanceof Mixin) {\n      if (mixinsMeta.hasMixin(mixin)) {\n        return CONTINUE;\n      }\n\n      mixinsMeta.addMixin(mixin);\n      return mixin.properties;\n    } else {\n      return mixin; // apply anonymous mixin properties\n    }\n  }\n\n  function concatenatedMixinProperties(concatProp, props, values, base) {\n    // reset before adding each new mixin to pickup concats from previous\n    var concats = values[concatProp] || base[concatProp];\n\n    if (props[concatProp]) {\n      concats = concats ? a_concat.call(concats, props[concatProp]) : props[concatProp];\n    }\n\n    return concats;\n  }\n\n  function giveDecoratorSuper(meta$$1, key, decorator, values, descs, base) {\n    var property = descriptorForDecorator(decorator);\n    var superProperty;\n\n    if (!(property instanceof ComputedProperty) || property._getter === undefined) {\n      return decorator;\n    } // Computed properties override methods, and do not call super to them\n\n\n    if (values[key] === undefined) {\n      // Find the original descriptor in a parent mixin\n      superProperty = descriptorForDecorator(descs[key]);\n    } // If we didn't find the original descriptor in a parent mixin, find\n    // it on the original object.\n\n\n    if (!superProperty) {\n      superProperty = descriptorForProperty(base, key, meta$$1);\n    }\n\n    if (superProperty === undefined || !(superProperty instanceof ComputedProperty)) {\n      return decorator;\n    }\n\n    var get = (0, _utils.wrap)(property._getter, superProperty._getter);\n    var set;\n\n    if (superProperty._setter) {\n      if (property._setter) {\n        set = (0, _utils.wrap)(property._setter, superProperty._setter);\n      } else {\n        // If the super property has a setter, we default to using it no matter what.\n        // This is clearly very broken and weird, but it's what was here so we have\n        // to keep it until the next major at least.\n        //\n        // TODO: Add a deprecation here.\n        set = superProperty._setter;\n      }\n    } else {\n      set = property._setter;\n    } // only create a new CP if we must\n\n\n    if (get !== property._getter || set !== property._setter) {\n      // Since multiple mixins may inherit from the same parent, we need\n      // to clone the computed property so that other mixins do not receive\n      // the wrapped version.\n      var newProperty = Object.create(property);\n      newProperty._getter = get;\n      newProperty._setter = set;\n      return makeComputedDecorator(newProperty, ComputedProperty);\n    }\n\n    return decorator;\n  }\n\n  function giveMethodSuper(obj, key, method, values, descs) {\n    // Methods overwrite computed properties, and do not call super to them.\n    if (descs[key] !== undefined) {\n      return method;\n    } // Find the original method in a parent mixin\n\n\n    var superMethod = values[key]; // If we didn't find the original value in a parent mixin, find it in\n    // the original object\n\n    if (superMethod === undefined && descriptorForProperty(obj, key) === undefined) {\n      superMethod = obj[key];\n    } // Only wrap the new method if the original method was a function\n\n\n    if (typeof superMethod === 'function') {\n      return (0, _utils.wrap)(method, superMethod);\n    }\n\n    return method;\n  }\n\n  function applyConcatenatedProperties(obj, key, value, values) {\n    var baseValue = values[key] || obj[key];\n    var ret = (0, _utils.makeArray)(baseValue).concat((0, _utils.makeArray)(value));\n\n    if (true\n    /* DEBUG */\n    ) {\n        // it is possible to use concatenatedProperties with strings (which cannot be frozen)\n        // only freeze objects...\n        if (typeof ret === 'object' && ret !== null) {\n          // prevent mutating `concatenatedProperties` array after it is applied\n          Object.freeze(ret);\n        }\n      }\n\n    return ret;\n  }\n\n  function applyMergedProperties(obj, key, value, values) {\n    var baseValue = values[key] || obj[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\n    if (!baseValue) {\n      return value;\n    }\n\n    var newBase = (0, _polyfills.assign)({}, baseValue);\n    var hasFunction = false;\n\n    for (var prop in value) {\n      if (!value.hasOwnProperty(prop)) {\n        continue;\n      }\n\n      var propValue = value[prop];\n\n      if (isMethod(propValue)) {\n        // TODO: support for Computed Properties, etc?\n        hasFunction = true;\n        newBase[prop] = giveMethodSuper(obj, prop, propValue, baseValue, {});\n      } else {\n        newBase[prop] = propValue;\n      }\n    }\n\n    if (hasFunction) {\n      newBase._super = _utils.ROOT;\n    }\n\n    return newBase;\n  }\n\n  function addNormalizedProperty(base, key, value, meta$$1, descs, values, concats, mergings) {\n    if (isClassicDecorator(value)) {\n      // Wrap descriptor function to implement _super() if needed\n      descs[key] = giveDecoratorSuper(meta$$1, key, value, values, descs, base);\n      values[key] = undefined;\n    } else {\n      if (concats && concats.indexOf(key) >= 0 || key === 'concatenatedProperties' || key === 'mergedProperties') {\n        value = applyConcatenatedProperties(base, key, value, values);\n      } else if (mergings && mergings.indexOf(key) > -1) {\n        value = applyMergedProperties(base, key, value, values);\n      } else if (isMethod(value)) {\n        value = giveMethodSuper(base, key, value, values, descs);\n      }\n\n      descs[key] = undefined;\n      values[key] = value;\n    }\n  }\n\n  function mergeMixins(mixins, meta$$1, descs, values, base, keys) {\n    var currentMixin, props, key, concats, mergings;\n\n    function removeKeys(keyName) {\n      delete descs[keyName];\n      delete values[keyName];\n    }\n\n    for (var i = 0; i < mixins.length; i++) {\n      currentMixin = mixins[i];\n      true && !(typeof currentMixin === 'object' && currentMixin !== null && Object.prototype.toString.call(currentMixin) !== '[object Array]') && (0, _debug.assert)(\"Expected hash or Mixin instance, got \" + Object.prototype.toString.call(currentMixin), typeof currentMixin === 'object' && currentMixin !== null && Object.prototype.toString.call(currentMixin) !== '[object Array]');\n      props = mixinProperties(meta$$1, currentMixin);\n\n      if (props === CONTINUE) {\n        continue;\n      }\n\n      if (props) {\n        // remove willMergeMixin after 3.4 as it was used for _actions\n        if (base.willMergeMixin) {\n          base.willMergeMixin(props);\n        }\n\n        concats = concatenatedMixinProperties('concatenatedProperties', props, values, base);\n        mergings = concatenatedMixinProperties('mergedProperties', props, values, base);\n\n        for (key in props) {\n          if (!props.hasOwnProperty(key)) {\n            continue;\n          }\n\n          keys.push(key);\n          addNormalizedProperty(base, key, props[key], meta$$1, descs, values, concats, mergings);\n        } // manually copy toString() because some JS engines do not enumerate it\n\n\n        if (props.hasOwnProperty('toString')) {\n          base.toString = props.toString;\n        }\n      } else if (currentMixin.mixins) {\n        mergeMixins(currentMixin.mixins, meta$$1, descs, values, base, keys);\n\n        if (currentMixin._without) {\n          currentMixin._without.forEach(removeKeys);\n        }\n      }\n    }\n  }\n\n  var followMethodAlias;\n\n  if (_deprecatedFeatures.ALIAS_METHOD) {\n    followMethodAlias = function (obj, alias, descs, values) {\n      var altKey = alias.methodName;\n      var possibleDesc;\n      var desc = descs[altKey];\n      var value = values[altKey];\n\n      if (desc !== undefined || value !== undefined) {// do nothing\n      } else if ((possibleDesc = descriptorForProperty(obj, altKey)) !== undefined) {\n        desc = possibleDesc;\n        value = undefined;\n      } else {\n        desc = undefined;\n        value = obj[altKey];\n      }\n\n      return {\n        desc: desc,\n        value: value\n      };\n    };\n  }\n\n  function updateObserversAndListeners(obj, key, paths, updateMethod) {\n    if (paths) {\n      for (var i = 0; i < paths.length; i++) {\n        updateMethod(obj, paths[i], null, key);\n      }\n    }\n  }\n\n  function replaceObserversAndListeners(obj, key, prev, next) {\n    if (typeof prev === 'function') {\n      updateObserversAndListeners(obj, key, (0, _utils.getObservers)(prev), removeObserver);\n      updateObserversAndListeners(obj, key, (0, _utils.getListeners)(prev), removeListener);\n    }\n\n    if (typeof next === 'function') {\n      updateObserversAndListeners(obj, key, (0, _utils.getObservers)(next), addObserver);\n      updateObserversAndListeners(obj, key, (0, _utils.getListeners)(next), addListener);\n    }\n  }\n\n  function applyMixin(obj, mixins) {\n    var descs = {};\n    var values = {};\n    var meta$$1 = (0, _meta2.meta)(obj);\n    var keys = [];\n    var key, value, desc;\n    obj._super = _utils.ROOT; // Go through all mixins and hashes passed in, and:\n    //\n    // * Handle concatenated properties\n    // * Handle merged properties\n    // * Set up _super wrapping if necessary\n    // * Set up computed property descriptors\n    // * Copying `toString` in broken browsers\n\n    mergeMixins(mixins, meta$$1, descs, values, obj, keys);\n\n    for (var i = 0; i < keys.length; i++) {\n      key = keys[i];\n\n      if (key === 'constructor' || !values.hasOwnProperty(key)) {\n        continue;\n      }\n\n      desc = descs[key];\n      value = values[key];\n\n      if (_deprecatedFeatures.ALIAS_METHOD) {\n        while (value && value instanceof AliasImpl) {\n          var followed = followMethodAlias(obj, value, descs, values);\n          desc = followed.desc;\n          value = followed.value;\n        }\n      }\n\n      if (desc === undefined && value === undefined) {\n        continue;\n      }\n\n      if (descriptorForProperty(obj, key) !== undefined) {\n        replaceObserversAndListeners(obj, key, null, value);\n      } else {\n        replaceObserversAndListeners(obj, key, obj[key], value);\n      }\n\n      defineProperty(obj, key, desc, value, meta$$1);\n    }\n\n    if (false\n    /* EMBER_METAL_TRACKED_PROPERTIES */\n    ) {\n        if (!meta$$1.isPrototypeMeta(obj)) {\n          revalidateObservers(obj);\n        }\n      }\n\n    return obj;\n  }\n  /**\n    @method mixin\n    @param obj\n    @param mixins*\n    @return obj\n    @private\n  */\n\n\n  function mixin(obj) {\n    for (var _len4 = arguments.length, args = new Array(_len4 > 1 ? _len4 - 1 : 0), _key5 = 1; _key5 < _len4; _key5++) {\n      args[_key5 - 1] = arguments[_key5];\n    }\n\n    applyMixin(obj, args);\n    return obj;\n  }\n  /**\n    The `Mixin` class allows you to create mixins, whose properties can be\n    added to other classes. For instance,\n  \n    ```javascript\n    import Mixin from '@ember/object/mixin';\n  \n    const EditableMixin = Mixin.create({\n      edit() {\n        console.log('starting to edit');\n        this.set('isEditing', true);\n      },\n      isEditing: false\n    });\n    ```\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import EditableMixin from '../mixins/editable';\n  \n    // Mix mixins into classes by passing them as the first arguments to\n    // `.extend.`\n    const Comment = EmberObject.extend(EditableMixin, {\n      post: null\n    });\n  \n    let comment = Comment.create({\n      post: somePost\n    });\n  \n    comment.edit(); // outputs 'starting to edit'\n    ```\n  \n    Note that Mixins are created with `Mixin.create`, not\n    `Mixin.extend`.\n  \n    Note that mixins extend a constructor's prototype so arrays and object literals\n    defined as properties will be shared amongst objects that implement the mixin.\n    If you want to define a property in a mixin that is not shared, you can define\n    it either as a computed property or have it be created on initialization of the object.\n  \n    ```javascript\n    // filters array will be shared amongst any object implementing mixin\n    import Mixin from '@ember/object/mixin';\n    import { A } from '@ember/array';\n  \n    const FilterableMixin = Mixin.create({\n      filters: A()\n    });\n    ```\n  \n    ```javascript\n    import Mixin from '@ember/object/mixin';\n    import { A } from '@ember/array';\n    import { computed } from '@ember/object';\n  \n    // filters will be a separate array for every object implementing the mixin\n    const FilterableMixin = Mixin.create({\n      filters: computed(function() {\n        return A();\n      })\n    });\n    ```\n  \n    ```javascript\n    import Mixin from '@ember/object/mixin';\n    import { A } from '@ember/array';\n  \n    // filters will be created as a separate array during the object's initialization\n    const Filterable = Mixin.create({\n      filters: null,\n  \n      init() {\n        this._super(...arguments);\n        this.set(\"filters\", A());\n      }\n    });\n    ```\n  \n    @class Mixin\n    @public\n  */\n\n\n  var Mixin =\n  /*#__PURE__*/\n  function () {\n    function Mixin(mixins, properties) {\n      this.properties = extractAccessors(properties);\n      this.mixins = buildMixinsArray(mixins);\n      this.ownerConstructor = undefined;\n      this._without = undefined;\n\n      if (true\n      /* DEBUG */\n      ) {\n          this[_utils.NAME_KEY] = undefined;\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\n          (0, _utils.guidFor)(this);\n          Object.seal(this);\n        }\n    }\n    /**\n      @method create\n      @for @ember/object/mixin\n      @static\n      @param arguments*\n      @public\n    */\n\n\n    Mixin.create = function create() {\n      // ES6TODO: this relies on a global state?\n      setUnprocessedMixins();\n      var M = this;\n\n      for (var _len5 = arguments.length, args = new Array(_len5), _key6 = 0; _key6 < _len5; _key6++) {\n        args[_key6] = arguments[_key6];\n      }\n\n      return new M(args, undefined);\n    } // returns the mixins currently applied to the specified object\n    // TODO: Make `mixin`\n    ;\n\n    Mixin.mixins = function mixins(obj) {\n      var meta$$1 = (0, _meta2.peekMeta)(obj);\n      var ret = [];\n\n      if (meta$$1 === null) {\n        return ret;\n      }\n\n      meta$$1.forEachMixins(function (currentMixin) {\n        // skip primitive mixins since these are always anonymous\n        if (!currentMixin.properties) {\n          ret.push(currentMixin);\n        }\n      });\n      return ret;\n    }\n    /**\n      @method reopen\n      @param arguments*\n      @private\n    */\n    ;\n\n    var _proto13 = Mixin.prototype;\n\n    _proto13.reopen = function reopen() {\n      for (var _len6 = arguments.length, args = new Array(_len6), _key7 = 0; _key7 < _len6; _key7++) {\n        args[_key7] = arguments[_key7];\n      }\n\n      if (args.length === 0) {\n        return;\n      }\n\n      if (this.properties) {\n        var currentMixin = new Mixin(undefined, this.properties);\n        this.properties = undefined;\n        this.mixins = [currentMixin];\n      } else if (!this.mixins) {\n        this.mixins = [];\n      }\n\n      this.mixins = this.mixins.concat(buildMixinsArray(args));\n      return this;\n    }\n    /**\n      @method apply\n      @param obj\n      @return applied object\n      @private\n    */\n    ;\n\n    _proto13.apply = function apply(obj) {\n      return applyMixin(obj, [this]);\n    };\n\n    _proto13.applyPartial = function applyPartial(obj) {\n      return applyMixin(obj, [this]);\n    }\n    /**\n      @method detect\n      @param obj\n      @return {Boolean}\n      @private\n    */\n    ;\n\n    _proto13.detect = function detect(obj) {\n      if (typeof obj !== 'object' || obj === null) {\n        return false;\n      }\n\n      if (obj instanceof Mixin) {\n        return _detect(obj, this);\n      }\n\n      var meta$$1 = (0, _meta2.peekMeta)(obj);\n\n      if (meta$$1 === null) {\n        return false;\n      }\n\n      return meta$$1.hasMixin(this);\n    };\n\n    _proto13.without = function without() {\n      var ret = new Mixin([this]);\n\n      for (var _len7 = arguments.length, args = new Array(_len7), _key8 = 0; _key8 < _len7; _key8++) {\n        args[_key8] = arguments[_key8];\n      }\n\n      ret._without = args;\n      return ret;\n    };\n\n    _proto13.keys = function keys() {\n      return _keys(this);\n    };\n\n    _proto13.toString = function toString() {\n      return '(unknown mixin)';\n    };\n\n    return Mixin;\n  }();\n\n  _exports.Mixin = Mixin;\n\n  function buildMixinsArray(mixins) {\n    var length = mixins && mixins.length || 0;\n    var m = undefined;\n\n    if (length > 0) {\n      m = new Array(length);\n\n      for (var i = 0; i < length; i++) {\n        var x = mixins[i];\n        true && !(typeof x === 'object' && x !== null && Object.prototype.toString.call(x) !== '[object Array]') && (0, _debug.assert)(\"Expected hash or Mixin instance, got \" + Object.prototype.toString.call(x), typeof x === 'object' && x !== null && Object.prototype.toString.call(x) !== '[object Array]');\n\n        if (x instanceof Mixin) {\n          m[i] = x;\n        } else {\n          m[i] = new Mixin(undefined, x);\n        }\n      }\n    }\n\n    return m;\n  }\n\n  Mixin.prototype.toString = classToString;\n\n  if (true\n  /* DEBUG */\n  ) {\n      Mixin.prototype[_utils.NAME_KEY] = undefined;\n      Object.seal(Mixin.prototype);\n    }\n\n  function _detect(curMixin, targetMixin) {\n    var seen = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : new Set();\n\n    if (seen.has(curMixin)) {\n      return false;\n    }\n\n    seen.add(curMixin);\n\n    if (curMixin === targetMixin) {\n      return true;\n    }\n\n    var mixins = curMixin.mixins;\n\n    if (mixins) {\n      return mixins.some(function (mixin) {\n        return _detect(mixin, targetMixin, seen);\n      });\n    }\n\n    return false;\n  }\n\n  function _keys(mixin) {\n    var ret = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : new Set();\n    var seen = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : new Set();\n\n    if (seen.has(mixin)) {\n      return;\n    }\n\n    seen.add(mixin);\n\n    if (mixin.properties) {\n      var props = Object.keys(mixin.properties);\n\n      for (var i = 0; i < props.length; i++) {\n        ret.add(props[i]);\n      }\n    } else if (mixin.mixins) {\n      mixin.mixins.forEach(function (x) {\n        return _keys(x, ret, seen);\n      });\n    }\n\n    return ret;\n  }\n\n  var AliasImpl;\n\n  if (_deprecatedFeatures.ALIAS_METHOD) {\n    AliasImpl = function AliasImpl(methodName) {\n      this.methodName = methodName;\n    };\n  }\n  /**\n    Makes a method available via an additional name.\n  \n    ```app/utils/person.js\n    import EmberObject, {\n      aliasMethod\n    } from '@ember/object';\n  \n    export default EmberObject.extend({\n      name() {\n        return 'Tomhuda Katzdale';\n      },\n      moniker: aliasMethod('name')\n    });\n    ```\n  \n    ```javascript\n    let goodGuy = Person.create();\n  \n    goodGuy.name();    // 'Tomhuda Katzdale'\n    goodGuy.moniker(); // 'Tomhuda Katzdale'\n    ```\n  \n    @method aliasMethod\n    @static\n    @deprecated Use a shared utility method instead\n    @for @ember/object\n    @param {String} methodName name of the method to alias\n    @public\n  */\n\n\n  var aliasMethod;\n  _exports.aliasMethod = aliasMethod;\n\n  if (_deprecatedFeatures.ALIAS_METHOD) {\n    _exports.aliasMethod = aliasMethod = function aliasMethod(methodName) {\n      true && !false && (0, _debug.deprecate)(\"You attempted to alias '\" + methodName + \", but aliasMethod has been deprecated. Consider extracting the method into a shared utility function.\", false, {\n        id: 'object.alias-method',\n        until: '4.0.0',\n        url: 'https://emberjs.com/deprecations/v3.x#toc_object-alias-method'\n      });\n      return new AliasImpl(methodName);\n    };\n  } // ..........................................................\n  // OBSERVER HELPER\n  //\n\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\n\n  function observer() {\n    for (var _len8 = arguments.length, args = new Array(_len8), _key9 = 0; _key9 < _len8; _key9++) {\n      args[_key9] = arguments[_key9];\n    }\n\n    var func = args.pop();\n    var _paths = args;\n    true && !(typeof func === 'function') && (0, _debug.assert)('observer called without a function', typeof func === 'function');\n    true && !(_paths.length > 0 && _paths.every(function (p) {\n      return typeof p === 'string' && Boolean(p.length);\n    })) && (0, _debug.assert)('observer called without valid path', _paths.length > 0 && _paths.every(function (p) {\n      return typeof p === 'string' && Boolean(p.length);\n    }));\n    var paths = [];\n\n    var addWatchedProperty = function (path) {\n      return paths.push(path);\n    };\n\n    for (var i = 0; i < _paths.length; ++i) {\n      expandProperties(_paths[i], addWatchedProperty);\n    }\n\n    (0, _utils.setObservers)(func, paths);\n    return func;\n  }\n\n  var DEBUG_INJECTION_FUNCTIONS;\n  _exports.DEBUG_INJECTION_FUNCTIONS = DEBUG_INJECTION_FUNCTIONS;\n\n  if (true\n  /* DEBUG */\n  ) {\n      _exports.DEBUG_INJECTION_FUNCTIONS = DEBUG_INJECTION_FUNCTIONS = new WeakMap();\n    }\n\n  function inject(type) {\n    true && !(typeof type === 'string') && (0, _debug.assert)('a string type must be provided to inject', typeof type === 'string');\n\n    for (var _len9 = arguments.length, args = new Array(_len9 > 1 ? _len9 - 1 : 0), _key10 = 1; _key10 < _len9; _key10++) {\n      args[_key10 - 1] = arguments[_key10];\n    }\n\n    var calledAsDecorator = isElementDescriptor(args);\n    var source, namespace;\n    var name = calledAsDecorator ? undefined : args[0];\n    var options = calledAsDecorator ? undefined : args[1];\n\n    if (false\n    /* EMBER_MODULE_UNIFICATION */\n    ) {\n        source = options ? options.source : undefined;\n        namespace = undefined;\n\n        if (name !== undefined) {\n          var namespaceDelimiterOffset = name.indexOf('::');\n\n          if (namespaceDelimiterOffset !== -1) {\n            namespace = name.slice(0, namespaceDelimiterOffset);\n            name = name.slice(namespaceDelimiterOffset + 2);\n          }\n        }\n      }\n\n    var getInjection = function (propertyName) {\n      var owner = (0, _owner.getOwner)(this) || this.container; // fallback to `container` for backwards compat\n\n      true && !Boolean(owner) && (0, _debug.assert)(\"Attempting to lookup an injected property on an object without a container, ensure that the object was instantiated via a container.\", Boolean(owner));\n      return owner.lookup(type + \":\" + (name || propertyName), {\n        source: source,\n        namespace: namespace\n      });\n    };\n\n    if (true\n    /* DEBUG */\n    ) {\n        DEBUG_INJECTION_FUNCTIONS.set(getInjection, {\n          namespace: namespace,\n          source: source,\n          type: type,\n          name: name\n        });\n      }\n\n    var decorator = computed({\n      get: getInjection,\n      set: function (keyName, value) {\n        defineProperty(this, keyName, null, value);\n      }\n    });\n\n    if (calledAsDecorator) {\n      true && !Boolean(true\n      /* EMBER_NATIVE_DECORATOR_SUPPORT */\n      ) && (0, _debug.assert)('Native decorators are not enabled without the EMBER_NATIVE_DECORATOR_SUPPORT flag. If you are using inject in a classic class, add parenthesis to it: inject()', Boolean(true));\n      return decorator(args[0], args[1], args[2]);\n    } else {\n      return decorator;\n    }\n  }\n});","enifed(\"@ember/-internals/owner/index\", [\"exports\", \"@ember/-internals/utils\"], function (_exports, _utils) {\n  \"use strict\";\n\n  _exports.getOwner = getOwner;\n  _exports.setOwner = setOwner;\n  _exports.OWNER = void 0;\n\n  /**\n  @module @ember/application\n  */\n  var OWNER = (0, _utils.symbol)('OWNER');\n  /**\n    Framework objects in an Ember application (components, services, routes, etc.)\n    are created via a factory and dependency injection system. Each of these\n    objects is the responsibility of an \"owner\", which handled its\n    instantiation and manages its lifetime.\n  \n    `getOwner` fetches the owner object responsible for an instance. This can\n    be used to lookup or resolve other class instances, or register new factories\n    into the owner.\n  \n    For example, this component dynamically looks up a service based on the\n    `audioType` passed as an attribute:\n  \n    ```app/components/play-audio.js\n    import Component from '@ember/component';\n    import { computed } from '@ember/object';\n    import { getOwner } from '@ember/application';\n  \n    // Usage:\n    //\n    //   {{play-audio audioType=model.audioType audioFile=model.file}}\n    //\n    export default Component.extend({\n      audioService: computed('audioType', function() {\n        let owner = getOwner(this);\n        return owner.lookup(`service:${this.get('audioType')}`);\n      }),\n  \n      click() {\n        let player = this.get('audioService');\n        player.play(this.get('audioFile'));\n      }\n    });\n    ```\n  \n    @method getOwner\n    @static\n    @for @ember/application\n    @param {Object} object An object with an owner.\n    @return {Object} An owner object.\n    @since 2.3.0\n    @public\n  */\n\n  _exports.OWNER = OWNER;\n\n  function getOwner(object) {\n    return object[OWNER];\n  }\n  /**\n    `setOwner` forces a new owner on a given object instance. This is primarily\n    useful in some testing cases.\n  \n    @method setOwner\n    @static\n    @for @ember/application\n    @param {Object} object An object instance.\n    @param {Object} object The new owner object of the object instance.\n    @since 2.3.0\n    @public\n  */\n\n\n  function setOwner(object, owner) {\n    object[OWNER] = owner;\n  }\n});","enifed(\"@ember/-internals/routing/index\", [\"exports\", \"@ember/-internals/routing/lib/ext/controller\", \"@ember/-internals/routing/lib/location/api\", \"@ember/-internals/routing/lib/location/none_location\", \"@ember/-internals/routing/lib/location/hash_location\", \"@ember/-internals/routing/lib/location/history_location\", \"@ember/-internals/routing/lib/location/auto_location\", \"@ember/-internals/routing/lib/system/generate_controller\", \"@ember/-internals/routing/lib/system/controller_for\", \"@ember/-internals/routing/lib/system/dsl\", \"@ember/-internals/routing/lib/system/router\", \"@ember/-internals/routing/lib/system/route\", \"@ember/-internals/routing/lib/system/query_params\", \"@ember/-internals/routing/lib/services/routing\", \"@ember/-internals/routing/lib/services/router\", \"@ember/-internals/routing/lib/system/cache\"], function (_exports, _controller, _api, _none_location, _hash_location, _history_location, _auto_location, _generate_controller, _controller_for, _dsl, _router, _route, _query_params, _routing, _router2, _cache) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"Location\", {\n    enumerable: true,\n    get: function () {\n      return _api.default;\n    }\n  });\n  Object.defineProperty(_exports, \"NoneLocation\", {\n    enumerable: true,\n    get: function () {\n      return _none_location.default;\n    }\n  });\n  Object.defineProperty(_exports, \"HashLocation\", {\n    enumerable: true,\n    get: function () {\n      return _hash_location.default;\n    }\n  });\n  Object.defineProperty(_exports, \"HistoryLocation\", {\n    enumerable: true,\n    get: function () {\n      return _history_location.default;\n    }\n  });\n  Object.defineProperty(_exports, \"AutoLocation\", {\n    enumerable: true,\n    get: function () {\n      return _auto_location.default;\n    }\n  });\n  Object.defineProperty(_exports, \"generateController\", {\n    enumerable: true,\n    get: function () {\n      return _generate_controller.default;\n    }\n  });\n  Object.defineProperty(_exports, \"generateControllerFactory\", {\n    enumerable: true,\n    get: function () {\n      return _generate_controller.generateControllerFactory;\n    }\n  });\n  Object.defineProperty(_exports, \"controllerFor\", {\n    enumerable: true,\n    get: function () {\n      return _controller_for.default;\n    }\n  });\n  Object.defineProperty(_exports, \"RouterDSL\", {\n    enumerable: true,\n    get: function () {\n      return _dsl.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Router\", {\n    enumerable: true,\n    get: function () {\n      return _router.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Route\", {\n    enumerable: true,\n    get: function () {\n      return _route.default;\n    }\n  });\n  Object.defineProperty(_exports, \"QueryParams\", {\n    enumerable: true,\n    get: function () {\n      return _query_params.default;\n    }\n  });\n  Object.defineProperty(_exports, \"RoutingService\", {\n    enumerable: true,\n    get: function () {\n      return _routing.default;\n    }\n  });\n  Object.defineProperty(_exports, \"RouterService\", {\n    enumerable: true,\n    get: function () {\n      return _router2.default;\n    }\n  });\n  Object.defineProperty(_exports, \"BucketCache\", {\n    enumerable: true,\n    get: function () {\n      return _cache.default;\n    }\n  });\n});","enifed(\"@ember/-internals/routing/lib/ext/controller\", [\"exports\", \"@ember/-internals/metal\", \"@ember/controller/lib/controller_mixin\", \"@ember/-internals/routing/lib/utils\"], function (_exports, _metal, _controller_mixin, _utils) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n  _controller_mixin.default.reopen({\n    concatenatedProperties: ['queryParams'],\n\n    /**\n      Defines which query parameters the controller accepts.\n      If you give the names `['category','page']` it will bind\n      the values of these query parameters to the variables\n      `this.category` and `this.page`.\n      By default, Ember coerces query parameter values using `toggleProperty`.\n      This behavior may lead to unexpected results.\n      Available queryParam types: `boolean`, `number`, `array`.\n      If query param type not specified, it will be `string`.\n      To explicitly configure a query parameter property so it coerces as expected, you must define a type property:\n      ```javascript\n        queryParams: [{\n          category: {\n            type: 'boolean'\n          }\n        }]\n      ```\n      @for Ember.ControllerMixin\n      @property queryParams\n      @public\n    */\n    queryParams: null,\n\n    /**\n     This property is updated to various different callback functions depending on\n     the current \"state\" of the backing route. It is used by\n     `Controller.prototype._qpChanged`.\n        The methods backing each state can be found in the `Route.prototype._qp` computed\n     property return value (the `.states` property). The current values are listed here for\n     the sanity of future travelers:\n        * `inactive` - This state is used when this controller instance is not part of the active\n       route hierarchy. Set in `Route.prototype._reset` (a `router.js` microlib hook) and\n       `Route.prototype.actions.finalizeQueryParamChange`.\n     * `active` - This state is used when this controller instance is part of the active\n       route hierarchy. Set in `Route.prototype.actions.finalizeQueryParamChange`.\n     * `allowOverrides` - This state is used in `Route.prototype.setup` (`route.js` microlib hook).\n         @method _qpDelegate\n      @private\n    */\n    _qpDelegate: null,\n\n    /**\n     During `Route#setup` observers are created to invoke this method\n     when any of the query params declared in `Controller#queryParams` property\n     are changed.\n        When invoked this method uses the currently active query param update delegate\n     (see `Controller.prototype._qpDelegate` for details) and invokes it with\n     the QP key/value being changed.\n         @method _qpChanged\n      @private\n    */\n    _qpChanged: function (controller, _prop) {\n      var dotIndex = _prop.indexOf('.[]');\n\n      var prop = dotIndex === -1 ? _prop : _prop.slice(0, dotIndex);\n      var delegate = controller._qpDelegate;\n      var value = (0, _metal.get)(controller, prop);\n      delegate(prop, value);\n    },\n\n    /**\n      Transition the application into another route. The route may\n      be either a single route or route path:\n         ```javascript\n      aController.transitionToRoute('blogPosts');\n      aController.transitionToRoute('blogPosts.recentEntries');\n      ```\n         Optionally supply a model for the route in question. The model\n      will be serialized into the URL using the `serialize` hook of\n      the route:\n         ```javascript\n      aController.transitionToRoute('blogPost', aPost);\n      ```\n         If a literal is passed (such as a number or a string), it will\n      be treated as an identifier instead. In this case, the `model`\n      hook of the route will be triggered:\n         ```javascript\n      aController.transitionToRoute('blogPost', 1);\n      ```\n         Multiple models will be applied last to first recursively up the\n      route tree.\n         ```app/router.js\n      Router.map(function() {\n        this.route('blogPost', { path: ':blogPostId' }, function() {\n          this.route('blogComment', { path: ':blogCommentId', resetNamespace: true });\n        });\n      });\n      ```\n         ```javascript\n      aController.transitionToRoute('blogComment', aPost, aComment);\n      aController.transitionToRoute('blogComment', 1, 13);\n      ```\n         It is also possible to pass a URL (a string that starts with a\n      `/`).\n         ```javascript\n      aController.transitionToRoute('/');\n      aController.transitionToRoute('/blog/post/1/comment/13');\n      aController.transitionToRoute('/blog/posts?sort=title');\n      ```\n         An options hash with a `queryParams` property may be provided as\n      the final argument to add query parameters to the destination URL.\n         ```javascript\n      aController.transitionToRoute('blogPost', 1, {\n        queryParams: { showComments: 'true' }\n      });\n         // if you just want to transition the query parameters without changing the route\n      aController.transitionToRoute({ queryParams: { sort: 'date' } });\n      ```\n         See also [replaceRoute](/api/ember/release/classes/Ember.ControllerMixin/methods/replaceRoute?anchor=replaceRoute).\n         @param {String} name the name of the route or a URL\n      @param {...Object} models the model(s) or identifier(s) to be used\n        while transitioning to the route.\n      @param {Object} [options] optional hash with a queryParams property\n        containing a mapping of query parameters\n      @for Ember.ControllerMixin\n      @method transitionToRoute\n      @public\n    */\n    transitionToRoute: function () {\n      // target may be either another controller or a router\n      var target = (0, _metal.get)(this, 'target');\n      var method = target.transitionToRoute || target.transitionTo;\n\n      for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n\n      return method.apply(target, (0, _utils.prefixRouteNameArg)(this, args));\n    },\n\n    /**\n      Transition into another route while replacing the current URL, if possible.\n      This will replace the current history entry instead of adding a new one.\n      Beside that, it is identical to `transitionToRoute` in all other respects.\n         ```javascript\n      aController.replaceRoute('blogPosts');\n      aController.replaceRoute('blogPosts.recentEntries');\n      ```\n         Optionally supply a model for the route in question. The model\n      will be serialized into the URL using the `serialize` hook of\n      the route:\n         ```javascript\n      aController.replaceRoute('blogPost', aPost);\n      ```\n         If a literal is passed (such as a number or a string), it will\n      be treated as an identifier instead. In this case, the `model`\n      hook of the route will be triggered:\n         ```javascript\n      aController.replaceRoute('blogPost', 1);\n      ```\n         Multiple models will be applied last to first recursively up the\n      route tree.\n         ```app/router.js\n      Router.map(function() {\n        this.route('blogPost', { path: ':blogPostId' }, function() {\n          this.route('blogComment', { path: ':blogCommentId', resetNamespace: true });\n        });\n      });\n      ```\n         ```\n      aController.replaceRoute('blogComment', aPost, aComment);\n      aController.replaceRoute('blogComment', 1, 13);\n      ```\n         It is also possible to pass a URL (a string that starts with a\n      `/`).\n         ```javascript\n      aController.replaceRoute('/');\n      aController.replaceRoute('/blog/post/1/comment/13');\n      ```\n         @param {String} name the name of the route or a URL\n      @param {...Object} models the model(s) or identifier(s) to be used\n      while transitioning to the route.\n      @for Ember.ControllerMixin\n      @method replaceRoute\n      @public\n    */\n    replaceRoute: function () {\n      // target may be either another controller or a router\n      var target = (0, _metal.get)(this, 'target');\n      var method = target.replaceRoute || target.replaceWith;\n\n      for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n        args[_key2] = arguments[_key2];\n      }\n\n      return method.apply(target, (0, _utils.prefixRouteNameArg)(this, args));\n    }\n  });\n\n  var _default = _controller_mixin.default;\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/routing/lib/location/api\", [\"exports\", \"@ember/-internals/browser-environment\", \"@ember/debug\"], function (_exports, _browserEnvironment, _debug) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n  @module @ember/routing\n  */\n\n  /**\n    Location returns an instance of the correct implementation of\n    the `location` API.\n  \n    ## Implementations\n  \n    You can pass an implementation name (`hash`, `history`, `none`, `auto`) to force a\n    particular implementation to be used in your application.\n  \n    See [HashLocation](/api/ember/release/classes/HashLocation).\n    See [HistoryLocation](/api/ember/release/classes/HistoryLocation).\n    See [NoneLocation](/api/ember/release/classes/NoneLocation).\n    See [AutoLocation](/api/ember/release/classes/AutoLocation).\n  \n    ## Location API\n  \n    Each location implementation must provide the following methods:\n  \n    * implementation: returns the string name used to reference the implementation.\n    * getURL: returns the current URL.\n    * setURL(path): sets the current URL.\n    * replaceURL(path): replace the current URL (optional).\n    * onUpdateURL(callback): triggers the callback when the URL changes.\n    * formatURL(url): formats `url` to be placed into `href` attribute.\n    * detect() (optional): instructs the location to do any feature detection\n        necessary. If the location needs to redirect to a different URL, it\n        can cancel routing by setting the `cancelRouterSetup` property on itself\n        to `false`.\n  \n    Calling setURL or replaceURL will not trigger onUpdateURL callbacks.\n  \n    ## Custom implementation\n  \n    Ember scans `app/locations/*` for extending the Location API.\n  \n    Example:\n  \n    ```javascript\n    import HistoryLocation from '@ember/routing/history-location';\n  \n    export default class MyHistory {\n      implementation: 'my-custom-history',\n      constructor() {\n        this._history = HistoryLocation.create(...arguments);\n      }\n      create() {\n        return new this(...arguments);\n      }\n      pushState(path) {\n         this._history.pushState(path);\n      }\n    }\n    ```\n  \n    @class Location\n    @private\n  */\n  var _default = {\n    /**\n     This is deprecated in favor of using the container to lookup the location\n     implementation as desired.\n        For example:\n        ```javascript\n     // Given a location registered as follows:\n     container.register('location:history-test', HistoryTestLocation);\n        // You could create a new instance via:\n     container.lookup('location:history-test');\n     ```\n         @method create\n      @param {Object} options\n      @return {Object} an instance of an implementation of the `location` API\n      @deprecated Use the container to lookup the location implementation that you\n      need.\n      @private\n    */\n    create: function (options) {\n      var implementation = options && options.implementation;\n      true && !Boolean(implementation) && (0, _debug.assert)(\"Location.create: you must specify a 'implementation' option\", Boolean(implementation));\n      var implementationClass = this.implementations[implementation];\n      true && !Boolean(implementationClass) && (0, _debug.assert)(\"Location.create: \" + implementation + \" is not a valid implementation\", Boolean(implementationClass));\n      return implementationClass.create.apply(implementationClass, arguments);\n    },\n    implementations: {},\n    _location: _browserEnvironment.location\n  };\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/routing/lib/location/auto_location\", [\"exports\", \"ember-babel\", \"@ember/-internals/browser-environment\", \"@ember/-internals/metal\", \"@ember/-internals/owner\", \"@ember/-internals/runtime\", \"@ember/-internals/utils\", \"@ember/debug\", \"@ember/-internals/routing/lib/location/util\"], function (_exports, _emberBabel, _browserEnvironment, _metal, _owner, _runtime, _utils, _debug, _util) {\n  \"use strict\";\n\n  _exports.getHistoryPath = getHistoryPath;\n  _exports.getHashPath = getHashPath;\n  _exports.default = void 0;\n\n  /**\n  @module @ember/routing\n  */\n\n  /**\n    AutoLocation will select the best location option based off browser\n    support with the priority order: history, hash, none.\n  \n    Clean pushState paths accessed by hashchange-only browsers will be redirected\n    to the hash-equivalent and vice versa so future transitions are consistent.\n  \n    Keep in mind that since some of your users will use `HistoryLocation`, your\n    server must serve the Ember app at all the routes you define.\n  \n    Browsers that support the `history` API will use `HistoryLocation`, those that\n    do not, but still support the `hashchange` event will use `HashLocation`, and\n    in the rare case neither is supported will use `NoneLocation`.\n  \n    Example:\n  \n    ```app/router.js\n    Router.map(function() {\n      this.route('posts', function() {\n        this.route('new');\n      });\n    });\n  \n    Router.reopen({\n      location: 'auto'\n    });\n    ```\n  \n    This will result in a posts.new url of `/posts/new` for modern browsers that\n    support the `history` api or `/#/posts/new` for older ones, like Internet\n    Explorer 9 and below.\n  \n    When a user visits a link to your application, they will be automatically\n    upgraded or downgraded to the appropriate `Location` class, with the URL\n    transformed accordingly, if needed.\n  \n    Keep in mind that since some of your users will use `HistoryLocation`, your\n    server must serve the Ember app at all the routes you define.\n  \n    @class AutoLocation\n    @static\n    @protected\n  */\n  var AutoLocation =\n  /*#__PURE__*/\n  function (_EmberObject) {\n    (0, _emberBabel.inheritsLoose)(AutoLocation, _EmberObject);\n\n    function AutoLocation() {\n      var _this;\n\n      _this = _EmberObject.apply(this, arguments) || this;\n      _this.implementation = 'auto';\n      return _this;\n    }\n    /**\n     Called by the router to instruct the location to do any feature detection\n     necessary. In the case of AutoLocation, we detect whether to use history\n     or hash concrete implementations.\n        @private\n    */\n\n\n    var _proto = AutoLocation.prototype;\n\n    _proto.detect = function detect() {\n      var rootURL = this.rootURL;\n      true && !(rootURL.charAt(rootURL.length - 1) === '/') && (0, _debug.assert)('rootURL must end with a trailing forward slash e.g. \"/app/\"', rootURL.charAt(rootURL.length - 1) === '/');\n      var implementation = detectImplementation({\n        location: this.location,\n        history: this.history,\n        userAgent: this.userAgent,\n        rootURL: rootURL,\n        documentMode: this.documentMode,\n        global: this.global\n      });\n\n      if (implementation === false) {\n        (0, _metal.set)(this, 'cancelRouterSetup', true);\n        implementation = 'none';\n      }\n\n      var concrete = (0, _owner.getOwner)(this).lookup(\"location:\" + implementation);\n      (0, _metal.set)(concrete, 'rootURL', rootURL);\n      true && !Boolean(concrete) && (0, _debug.assert)(\"Could not find location '\" + implementation + \"'.\", Boolean(concrete));\n      (0, _metal.set)(this, 'concreteImplementation', concrete);\n    };\n\n    _proto.willDestroy = function willDestroy() {\n      var concreteImplementation = (0, _metal.get)(this, 'concreteImplementation');\n\n      if (concreteImplementation) {\n        concreteImplementation.destroy();\n      }\n    };\n\n    return AutoLocation;\n  }(_runtime.Object);\n\n  _exports.default = AutoLocation;\n  AutoLocation.reopen({\n    /**\n      @private\n         Will be pre-pended to path upon state change.\n         @since 1.5.1\n      @property rootURL\n      @default '/'\n    */\n    rootURL: '/',\n    initState: delegateToConcreteImplementation('initState'),\n    getURL: delegateToConcreteImplementation('getURL'),\n    setURL: delegateToConcreteImplementation('setURL'),\n    replaceURL: delegateToConcreteImplementation('replaceURL'),\n    onUpdateURL: delegateToConcreteImplementation('onUpdateURL'),\n    formatURL: delegateToConcreteImplementation('formatURL'),\n\n    /**\n      @private\n         The browser's `location` object. This is typically equivalent to\n      `window.location`, but may be overridden for testing.\n         @property location\n      @default environment.location\n    */\n    location: _browserEnvironment.location,\n\n    /**\n      @private\n         The browser's `history` object. This is typically equivalent to\n      `window.history`, but may be overridden for testing.\n         @since 1.5.1\n      @property history\n      @default environment.history\n    */\n    history: _browserEnvironment.history,\n\n    /**\n     @private\n        The user agent's global variable. In browsers, this will be `window`.\n        @since 1.11\n     @property global\n     @default window\n    */\n    global: _browserEnvironment.window,\n\n    /**\n      @private\n         The browser's `userAgent`. This is typically equivalent to\n      `navigator.userAgent`, but may be overridden for testing.\n         @since 1.5.1\n      @property userAgent\n      @default environment.history\n    */\n    userAgent: _browserEnvironment.userAgent,\n\n    /**\n      @private\n         This property is used by the router to know whether to cancel the routing\n      setup process, which is needed while we redirect the browser.\n         @since 1.5.1\n      @property cancelRouterSetup\n      @default false\n    */\n    cancelRouterSetup: false\n  });\n\n  function delegateToConcreteImplementation(methodName) {\n    return function () {\n      var concreteImplementation = (0, _metal.get)(this, 'concreteImplementation');\n      true && !Boolean(concreteImplementation) && (0, _debug.assert)(\"AutoLocation's detect() method should be called before calling any other hooks.\", Boolean(concreteImplementation));\n\n      for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n\n      return (0, _utils.tryInvoke)(concreteImplementation, methodName, args);\n    };\n  }\n\n  function detectImplementation(options) {\n    var location = options.location,\n        userAgent = options.userAgent,\n        history = options.history,\n        documentMode = options.documentMode,\n        global = options.global,\n        rootURL = options.rootURL;\n    var implementation = 'none';\n    var cancelRouterSetup = false;\n    var currentPath = (0, _util.getFullPath)(location);\n\n    if ((0, _util.supportsHistory)(userAgent, history)) {\n      var historyPath = getHistoryPath(rootURL, location); // If the browser supports history and we have a history path, we can use\n      // the history location with no redirects.\n\n      if (currentPath === historyPath) {\n        implementation = 'history';\n      } else if (currentPath.substr(0, 2) === '/#') {\n        history.replaceState({\n          path: historyPath\n        }, '', historyPath);\n        implementation = 'history';\n      } else {\n        cancelRouterSetup = true;\n        (0, _util.replacePath)(location, historyPath);\n      }\n    } else if ((0, _util.supportsHashChange)(documentMode, global)) {\n      var hashPath = getHashPath(rootURL, location); // Be sure we're using a hashed path, otherwise let's switch over it to so\n      // we start off clean and consistent. We'll count an index path with no\n      // hash as \"good enough\" as well.\n\n      if (currentPath === hashPath || currentPath === '/' && hashPath === '/#/') {\n        implementation = 'hash';\n      } else {\n        // Our URL isn't in the expected hash-supported format, so we want to\n        // cancel the router setup and replace the URL to start off clean\n        cancelRouterSetup = true;\n        (0, _util.replacePath)(location, hashPath);\n      }\n    }\n\n    if (cancelRouterSetup) {\n      return false;\n    }\n\n    return implementation;\n  }\n  /**\n    @private\n  \n    Returns the current path as it should appear for HistoryLocation supported\n    browsers. This may very well differ from the real current path (e.g. if it\n    starts off as a hashed URL)\n  */\n\n\n  function getHistoryPath(rootURL, location) {\n    var path = (0, _util.getPath)(location);\n    var hash = (0, _util.getHash)(location);\n    var query = (0, _util.getQuery)(location);\n    var rootURLIndex = path.indexOf(rootURL);\n    var routeHash, hashParts;\n    true && !(rootURLIndex === 0) && (0, _debug.assert)(\"Path \" + path + \" does not start with the provided rootURL \" + rootURL, rootURLIndex === 0); // By convention, Ember.js routes using HashLocation are required to start\n    // with `#/`. Anything else should NOT be considered a route and should\n    // be passed straight through, without transformation.\n\n    if (hash.substr(0, 2) === '#/') {\n      // There could be extra hash segments after the route\n      hashParts = hash.substr(1).split('#'); // The first one is always the route url\n\n      routeHash = hashParts.shift(); // If the path already has a trailing slash, remove the one\n      // from the hashed route so we don't double up.\n\n      if (path.charAt(path.length - 1) === '/') {\n        routeHash = routeHash.substr(1);\n      } // This is the \"expected\" final order\n\n\n      path += routeHash + query;\n\n      if (hashParts.length) {\n        path += \"#\" + hashParts.join('#');\n      }\n    } else {\n      path += query + hash;\n    }\n\n    return path;\n  }\n  /**\n    @private\n  \n    Returns the current path as it should appear for HashLocation supported\n    browsers. This may very well differ from the real current path.\n  \n    @method _getHashPath\n  */\n\n\n  function getHashPath(rootURL, location) {\n    var path = rootURL;\n    var historyPath = getHistoryPath(rootURL, location);\n    var routePath = historyPath.substr(rootURL.length);\n\n    if (routePath !== '') {\n      if (routePath[0] !== '/') {\n        routePath = \"/\" + routePath;\n      }\n\n      path += \"#\" + routePath;\n    }\n\n    return path;\n  }\n});","enifed(\"@ember/-internals/routing/lib/location/hash_location\", [\"exports\", \"ember-babel\", \"@ember/-internals/metal\", \"@ember/runloop\", \"@ember/-internals/runtime\", \"@ember/-internals/routing/lib/location/util\"], function (_exports, _emberBabel, _metal, _runloop, _runtime, _util) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n  @module @ember/routing\n  */\n\n  /**\n    `HashLocation` implements the location API using the browser's\n    hash. At present, it relies on a `hashchange` event existing in the\n    browser.\n  \n    Using `HashLocation` results in URLs with a `#` (hash sign) separating the\n    server side URL portion of the URL from the portion that is used by Ember.\n  \n    Example:\n  \n    ```app/router.js\n    Router.map(function() {\n      this.route('posts', function() {\n        this.route('new');\n      });\n    });\n  \n    Router.reopen({\n      location: 'hash'\n    });\n    ```\n  \n    This will result in a posts.new url of `/#/posts/new`.\n  \n    @class HashLocation\n    @extends EmberObject\n    @protected\n  */\n  var HashLocation =\n  /*#__PURE__*/\n  function (_EmberObject) {\n    (0, _emberBabel.inheritsLoose)(HashLocation, _EmberObject);\n\n    function HashLocation() {\n      var _this;\n\n      _this = _EmberObject.apply(this, arguments) || this;\n      _this.implementation = 'hash';\n      return _this;\n    }\n\n    var _proto = HashLocation.prototype;\n\n    _proto.init = function init() {\n      (0, _metal.set)(this, 'location', (0, _metal.get)(this, '_location') || window.location);\n      this._hashchangeHandler = undefined;\n    }\n    /**\n      @private\n         Returns normalized location.hash\n         @since 1.5.1\n      @method getHash\n    */\n    ;\n\n    _proto.getHash = function getHash() {\n      return (0, _util.getHash)((0, _metal.get)(this, 'location'));\n    }\n    /**\n      Returns the normalized URL, constructed from `location.hash`.\n         e.g. `#/foo` => `/foo` as well as `#/foo#bar` => `/foo#bar`.\n         By convention, hashed paths must begin with a forward slash, otherwise they\n      are not treated as a path so we can distinguish intent.\n         @private\n      @method getURL\n    */\n    ;\n\n    _proto.getURL = function getURL() {\n      var originalPath = this.getHash().substr(1);\n      var outPath = originalPath;\n\n      if (outPath[0] !== '/') {\n        outPath = '/'; // Only add the # if the path isn't empty.\n        // We do NOT want `/#` since the ampersand\n        // is only included (conventionally) when\n        // the location.hash has a value\n\n        if (originalPath) {\n          outPath += \"#\" + originalPath;\n        }\n      }\n\n      return outPath;\n    }\n    /**\n      Set the `location.hash` and remembers what was set. This prevents\n      `onUpdateURL` callbacks from triggering when the hash was set by\n      `HashLocation`.\n         @private\n      @method setURL\n      @param path {String}\n    */\n    ;\n\n    _proto.setURL = function setURL(path) {\n      (0, _metal.get)(this, 'location').hash = path;\n      (0, _metal.set)(this, 'lastSetURL', path);\n    }\n    /**\n      Uses location.replace to update the url without a page reload\n      or history modification.\n         @private\n      @method replaceURL\n      @param path {String}\n    */\n    ;\n\n    _proto.replaceURL = function replaceURL(path) {\n      (0, _metal.get)(this, 'location').replace(\"#\" + path);\n      (0, _metal.set)(this, 'lastSetURL', path);\n    }\n    /**\n      Register a callback to be invoked when the hash changes. These\n      callbacks will execute when the user presses the back or forward\n      button, but not after `setURL` is invoked.\n         @private\n      @method onUpdateURL\n      @param callback {Function}\n    */\n    ;\n\n    _proto.onUpdateURL = function onUpdateURL(callback) {\n      this._removeEventListener();\n\n      this._hashchangeHandler = (0, _runloop.bind)(this, function () {\n        var path = this.getURL();\n\n        if ((0, _metal.get)(this, 'lastSetURL') === path) {\n          return;\n        }\n\n        (0, _metal.set)(this, 'lastSetURL', null);\n        callback(path);\n      });\n      window.addEventListener('hashchange', this._hashchangeHandler);\n    }\n    /**\n      Given a URL, formats it to be placed into the page as part\n      of an element's `href` attribute.\n         This is used, for example, when using the {{action}} helper\n      to generate a URL based on an event.\n         @private\n      @method formatURL\n      @param url {String}\n    */\n    ;\n\n    _proto.formatURL = function formatURL(url) {\n      return \"#\" + url;\n    }\n    /**\n      Cleans up the HashLocation event listener.\n         @private\n      @method willDestroy\n    */\n    ;\n\n    _proto.willDestroy = function willDestroy() {\n      this._removeEventListener();\n    };\n\n    _proto._removeEventListener = function _removeEventListener() {\n      if (this._hashchangeHandler) {\n        window.removeEventListener('hashchange', this._hashchangeHandler);\n      }\n    };\n\n    return HashLocation;\n  }(_runtime.Object);\n\n  _exports.default = HashLocation;\n});","enifed(\"@ember/-internals/routing/lib/location/history_location\", [\"exports\", \"ember-babel\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\", \"@ember/-internals/routing/lib/location/util\"], function (_exports, _emberBabel, _metal, _runtime, _util) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n  @module @ember/routing\n  */\n  var popstateFired = false;\n\n  function _uuid() {\n    return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\n      var r, v;\n      r = Math.random() * 16 | 0;\n      v = c === 'x' ? r : r & 3 | 8;\n      return v.toString(16);\n    });\n  }\n  /**\n    HistoryLocation implements the location API using the browser's\n    history.pushState API.\n  \n    Using `HistoryLocation` results in URLs that are indistinguishable from a\n    standard URL. This relies upon the browser's `history` API.\n  \n    Example:\n  \n    ```app/router.js\n    Router.map(function() {\n      this.route('posts', function() {\n        this.route('new');\n      });\n    });\n  \n    Router.reopen({\n      location: 'history'\n    });\n    ```\n  \n    This will result in a posts.new url of `/posts/new`.\n  \n    Keep in mind that your server must serve the Ember app at all the routes you\n    define.\n  \n    @class HistoryLocation\n    @extends EmberObject\n    @protected\n  */\n\n\n  var HistoryLocation =\n  /*#__PURE__*/\n  function (_EmberObject) {\n    (0, _emberBabel.inheritsLoose)(HistoryLocation, _EmberObject);\n\n    function HistoryLocation() {\n      var _this;\n\n      _this = _EmberObject.apply(this, arguments) || this;\n      _this.implementation = 'history';\n      /**\n        Will be pre-pended to path upon state change\n               @property rootURL\n        @default '/'\n        @private\n      */\n\n      _this.rootURL = '/';\n      return _this;\n    }\n    /**\n      @private\n         Returns normalized location.hash\n         @method getHash\n    */\n\n\n    var _proto = HistoryLocation.prototype;\n\n    _proto.getHash = function getHash() {\n      return (0, _util.getHash)((0, _metal.get)(this, 'location'));\n    };\n\n    _proto.init = function init() {\n      this._super.apply(this, arguments);\n\n      var base = document.querySelector('base');\n      var baseURL = '';\n\n      if (base) {\n        baseURL = base.getAttribute('href');\n      }\n\n      (0, _metal.set)(this, 'baseURL', baseURL);\n      (0, _metal.set)(this, 'location', (0, _metal.get)(this, 'location') || window.location);\n      this._popstateHandler = undefined;\n    }\n    /**\n      Used to set state on first call to setURL\n         @private\n      @method initState\n    */\n    ;\n\n    _proto.initState = function initState() {\n      var history = (0, _metal.get)(this, 'history') || window.history;\n      (0, _metal.set)(this, 'history', history);\n\n      if (history && 'state' in history) {\n        this.supportsHistory = true;\n      }\n\n      var state = this.getState();\n      var path = this.formatURL(this.getURL());\n\n      if (state && state.path === path) {\n        // preserve existing state\n        // used for webkit workaround, since there will be no initial popstate event\n        this._previousURL = this.getURL();\n      } else {\n        this.replaceState(path);\n      }\n    }\n    /**\n      Returns the current `location.pathname` without `rootURL` or `baseURL`\n         @private\n      @method getURL\n      @return url {String}\n    */\n    ;\n\n    _proto.getURL = function getURL() {\n      var location = (0, _metal.get)(this, 'location');\n      var path = location.pathname;\n      var rootURL = (0, _metal.get)(this, 'rootURL');\n      var baseURL = (0, _metal.get)(this, 'baseURL'); // remove trailing slashes if they exists\n\n      rootURL = rootURL.replace(/\\/$/, '');\n      baseURL = baseURL.replace(/\\/$/, ''); // remove baseURL and rootURL from start of path\n\n      var url = path.replace(new RegExp(\"^\" + baseURL + \"(?=/|$)\"), '').replace(new RegExp(\"^\" + rootURL + \"(?=/|$)\"), '').replace(/\\/\\/$/g, '/'); // remove extra slashes\n\n      var search = location.search || '';\n      url += search + this.getHash();\n      return url;\n    }\n    /**\n      Uses `history.pushState` to update the url without a page reload.\n         @private\n      @method setURL\n      @param path {String}\n    */\n    ;\n\n    _proto.setURL = function setURL(path) {\n      var state = this.getState();\n      path = this.formatURL(path);\n\n      if (!state || state.path !== path) {\n        this.pushState(path);\n      }\n    }\n    /**\n      Uses `history.replaceState` to update the url without a page reload\n      or history modification.\n         @private\n      @method replaceURL\n      @param path {String}\n    */\n    ;\n\n    _proto.replaceURL = function replaceURL(path) {\n      var state = this.getState();\n      path = this.formatURL(path);\n\n      if (!state || state.path !== path) {\n        this.replaceState(path);\n      }\n    }\n    /**\n      Get the current `history.state`. Checks for if a polyfill is\n      required and if so fetches this._historyState. The state returned\n      from getState may be null if an iframe has changed a window's\n      history.\n         The object returned will contain a `path` for the given state as well\n      as a unique state `id`. The state index will allow the app to distinguish\n      between two states with similar paths but should be unique from one another.\n         @private\n      @method getState\n      @return state {Object}\n    */\n    ;\n\n    _proto.getState = function getState() {\n      if (this.supportsHistory) {\n        return (0, _metal.get)(this, 'history').state;\n      }\n\n      return this._historyState;\n    }\n    /**\n     Pushes a new state.\n        @private\n     @method pushState\n     @param path {String}\n    */\n    ;\n\n    _proto.pushState = function pushState(path) {\n      var state = {\n        path: path,\n        uuid: _uuid()\n      };\n      (0, _metal.get)(this, 'history').pushState(state, null, path);\n      this._historyState = state; // used for webkit workaround\n\n      this._previousURL = this.getURL();\n    }\n    /**\n     Replaces the current state.\n        @private\n     @method replaceState\n     @param path {String}\n    */\n    ;\n\n    _proto.replaceState = function replaceState(path) {\n      var state = {\n        path: path,\n        uuid: _uuid()\n      };\n      (0, _metal.get)(this, 'history').replaceState(state, null, path);\n      this._historyState = state; // used for webkit workaround\n\n      this._previousURL = this.getURL();\n    }\n    /**\n      Register a callback to be invoked whenever the browser\n      history changes, including using forward and back buttons.\n         @private\n      @method onUpdateURL\n      @param callback {Function}\n    */\n    ;\n\n    _proto.onUpdateURL = function onUpdateURL(callback) {\n      var _this2 = this;\n\n      this._removeEventListener();\n\n      this._popstateHandler = function () {\n        // Ignore initial page load popstate event in Chrome\n        if (!popstateFired) {\n          popstateFired = true;\n\n          if (_this2.getURL() === _this2._previousURL) {\n            return;\n          }\n        }\n\n        callback(_this2.getURL());\n      };\n\n      window.addEventListener('popstate', this._popstateHandler);\n    }\n    /**\n      Used when using `{{action}}` helper.  The url is always appended to the rootURL.\n         @private\n      @method formatURL\n      @param url {String}\n      @return formatted url {String}\n    */\n    ;\n\n    _proto.formatURL = function formatURL(url) {\n      var rootURL = (0, _metal.get)(this, 'rootURL');\n      var baseURL = (0, _metal.get)(this, 'baseURL');\n\n      if (url !== '') {\n        // remove trailing slashes if they exists\n        rootURL = rootURL.replace(/\\/$/, '');\n        baseURL = baseURL.replace(/\\/$/, '');\n      } else if (baseURL[0] === '/' && rootURL[0] === '/') {\n        // if baseURL and rootURL both start with a slash\n        // ... remove trailing slash from baseURL if it exists\n        baseURL = baseURL.replace(/\\/$/, '');\n      }\n\n      return baseURL + rootURL + url;\n    }\n    /**\n      Cleans up the HistoryLocation event listener.\n         @private\n      @method willDestroy\n    */\n    ;\n\n    _proto.willDestroy = function willDestroy() {\n      this._removeEventListener();\n    };\n\n    _proto._removeEventListener = function _removeEventListener() {\n      if (this._popstateHandler) {\n        window.removeEventListener('popstate', this._popstateHandler);\n      }\n    };\n\n    return HistoryLocation;\n  }(_runtime.Object);\n\n  _exports.default = HistoryLocation;\n});","enifed(\"@ember/-internals/routing/lib/location/none_location\", [\"exports\", \"ember-babel\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\", \"@ember/debug\"], function (_exports, _emberBabel, _metal, _runtime, _debug) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n  @module @ember/routing\n  */\n\n  /**\n    NoneLocation does not interact with the browser. It is useful for\n    testing, or when you need to manage state with your Router, but temporarily\n    don't want it to muck with the URL (for example when you embed your\n    application in a larger page).\n  \n    Using `NoneLocation` causes Ember to not store the applications URL state\n    in the actual URL. This is generally used for testing purposes, and is one\n    of the changes made when calling `App.setupForTesting()`.\n  \n    @class NoneLocation\n    @extends EmberObject\n    @protected\n  */\n  var NoneLocation =\n  /*#__PURE__*/\n  function (_EmberObject) {\n    (0, _emberBabel.inheritsLoose)(NoneLocation, _EmberObject);\n\n    function NoneLocation() {\n      var _this;\n\n      _this = _EmberObject.apply(this, arguments) || this;\n      _this.implementation = 'none';\n      return _this;\n    }\n\n    var _proto = NoneLocation.prototype;\n\n    _proto.detect = function detect() {\n      var rootURL = this.rootURL;\n      true && !(rootURL.charAt(rootURL.length - 1) === '/') && (0, _debug.assert)('rootURL must end with a trailing forward slash e.g. \"/app/\"', rootURL.charAt(rootURL.length - 1) === '/');\n    }\n    /**\n      Returns the current path without `rootURL`.\n         @private\n      @method getURL\n      @return {String} path\n    */\n    ;\n\n    _proto.getURL = function getURL() {\n      var path = (0, _metal.get)(this, 'path');\n      var rootURL = (0, _metal.get)(this, 'rootURL'); // remove trailing slashes if they exists\n\n      rootURL = rootURL.replace(/\\/$/, ''); // remove rootURL from url\n\n      return path.replace(new RegExp(\"^\" + rootURL + \"(?=/|$)\"), '');\n    }\n    /**\n      Set the path and remembers what was set. Using this method\n      to change the path will not invoke the `updateURL` callback.\n         @private\n      @method setURL\n      @param path {String}\n    */\n    ;\n\n    _proto.setURL = function setURL(path) {\n      (0, _metal.set)(this, 'path', path);\n    }\n    /**\n      Register a callback to be invoked when the path changes. These\n      callbacks will execute when the user presses the back or forward\n      button, but not after `setURL` is invoked.\n         @private\n      @method onUpdateURL\n      @param callback {Function}\n    */\n    ;\n\n    _proto.onUpdateURL = function onUpdateURL(callback) {\n      this.updateCallback = callback;\n    }\n    /**\n      Sets the path and calls the `updateURL` callback.\n         @private\n      @method handleURL\n      @param url {String}\n    */\n    ;\n\n    _proto.handleURL = function handleURL(url) {\n      (0, _metal.set)(this, 'path', url);\n      this.updateCallback(url);\n    }\n    /**\n      Given a URL, formats it to be placed into the page as part\n      of an element's `href` attribute.\n         This is used, for example, when using the {{action}} helper\n      to generate a URL based on an event.\n         @private\n      @method formatURL\n      @param url {String}\n      @return {String} url\n    */\n    ;\n\n    _proto.formatURL = function formatURL(url) {\n      var rootURL = (0, _metal.get)(this, 'rootURL');\n\n      if (url !== '') {\n        // remove trailing slashes if they exists\n        rootURL = rootURL.replace(/\\/$/, '');\n      }\n\n      return rootURL + url;\n    };\n\n    return NoneLocation;\n  }(_runtime.Object);\n\n  _exports.default = NoneLocation;\n  NoneLocation.reopen({\n    path: '',\n\n    /**\n      Will be pre-pended to path.\n         @private\n      @property rootURL\n      @default '/'\n    */\n    rootURL: '/'\n  });\n});","enifed(\"@ember/-internals/routing/lib/location/util\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.getPath = getPath;\n  _exports.getQuery = getQuery;\n  _exports.getHash = getHash;\n  _exports.getFullPath = getFullPath;\n  _exports.getOrigin = getOrigin;\n  _exports.supportsHashChange = supportsHashChange;\n  _exports.supportsHistory = supportsHistory;\n  _exports.replacePath = replacePath;\n\n  /**\n    @private\n  \n    Returns the current `location.pathname`, normalized for IE inconsistencies.\n  */\n  function getPath(location) {\n    var pathname = location.pathname; // Various versions of IE/Opera don't always return a leading slash\n\n    if (pathname[0] !== '/') {\n      pathname = \"/\" + pathname;\n    }\n\n    return pathname;\n  }\n  /**\n    @private\n  \n    Returns the current `location.search`.\n  */\n\n\n  function getQuery(location) {\n    return location.search;\n  }\n  /**\n    @private\n  \n    Returns the hash or empty string\n  */\n\n\n  function getHash(location) {\n    if (location.hash !== undefined) {\n      return location.hash.substr(0);\n    }\n\n    return '';\n  }\n\n  function getFullPath(location) {\n    return getPath(location) + getQuery(location) + getHash(location);\n  }\n\n  function getOrigin(location) {\n    var origin = location.origin; // Older browsers, especially IE, don't have origin\n\n    if (!origin) {\n      origin = location.protocol + \"//\" + location.hostname;\n\n      if (location.port) {\n        origin += \":\" + location.port;\n      }\n    }\n\n    return origin;\n  }\n  /*\n    `documentMode` only exist in Internet Explorer, and it's tested because IE8 running in\n    IE7 compatibility mode claims to support `onhashchange` but actually does not.\n  \n    `global` is an object that may have an `onhashchange` property.\n  \n    @private\n    @function supportsHashChange\n  */\n\n\n  function supportsHashChange(documentMode, global) {\n    return global && 'onhashchange' in global && (documentMode === undefined || documentMode > 7);\n  }\n  /*\n    `userAgent` is a user agent string. We use user agent testing here, because\n    the stock Android browser is known to have buggy versions of the History API,\n    in some Android versions.\n  \n    @private\n    @function supportsHistory\n  */\n\n\n  function supportsHistory(userAgent, history) {\n    // Boosted from Modernizr: https://github.com/Modernizr/Modernizr/blob/master/feature-detects/history.js\n    // The stock browser on Android 2.2 & 2.3, and 4.0.x returns positive on history support\n    // Unfortunately support is really buggy and there is no clean way to detect\n    // these bugs, so we fall back to a user agent sniff :(\n    // We only want Android 2 and 4.0, stock browser, and not Chrome which identifies\n    // itself as 'Mobile Safari' as well, nor Windows Phone.\n    if ((userAgent.indexOf('Android 2.') !== -1 || userAgent.indexOf('Android 4.0') !== -1) && userAgent.indexOf('Mobile Safari') !== -1 && userAgent.indexOf('Chrome') === -1 && userAgent.indexOf('Windows Phone') === -1) {\n      return false;\n    }\n\n    return Boolean(history && 'pushState' in history);\n  }\n  /**\n    Replaces the current location, making sure we explicitly include the origin\n    to prevent redirecting to a different origin.\n  \n    @private\n  */\n\n\n  function replacePath(location, path) {\n    location.replace(getOrigin(location) + path);\n  }\n});","enifed(\"@ember/-internals/routing/lib/services/router\", [\"exports\", \"ember-babel\", \"@ember/-internals/runtime\", \"@ember/debug\", \"@ember/object/computed\", \"@ember/service\", \"@ember/-internals/routing/lib/utils\"], function (_exports, _emberBabel, _runtime, _debug, _computed, _service, _utils) {\n  \"use strict\";\n\n  _exports.default = void 0;\n  var freezeRouteInfo;\n\n  if (true\n  /* DEBUG */\n  ) {\n      freezeRouteInfo = function (transition) {\n        if (transition.from !== null && !Object.isFrozen(transition.from)) {\n          Object.freeze(transition.from);\n        }\n\n        if (transition.to !== null && !Object.isFrozen(transition.to)) {\n          Object.freeze(transition.to);\n        }\n      };\n    }\n\n  function cleanURL(url, rootURL) {\n    if (rootURL === '/') {\n      return url;\n    }\n\n    return url.substr(rootURL.length, url.length);\n  }\n  /**\n     The Router service is the public API that provides access to the router.\n  \n     The immediate benefit of the Router service is that you can inject it into components,\n     giving them a friendly way to initiate transitions and ask questions about the current\n     global router state.\n  \n     In this example, the Router service is injected into a component to initiate a transition\n     to a dedicated route:\n     ```javascript\n     import Component from '@ember/component';\n     import { inject as service } from '@ember/service';\n  \n     export default Component.extend({\n       router: service(),\n  \n       actions: {\n         next() {\n           this.get('router').transitionTo('other.route');\n         }\n       }\n     });\n     ```\n  \n     Like any service, it can also be injected into helpers, routes, etc.\n  \n     @public\n     @extends Service\n     @class RouterService\n   */\n\n\n  var RouterService =\n  /*#__PURE__*/\n  function (_Service) {\n    (0, _emberBabel.inheritsLoose)(RouterService, _Service);\n\n    function RouterService() {\n      return _Service.apply(this, arguments) || this;\n    }\n\n    var _proto = RouterService.prototype;\n\n    _proto.init = function init() {\n      var _this = this;\n\n      _Service.prototype.init.apply(this, arguments);\n\n      this._router.on('routeWillChange', function (transition) {\n        if (true\n        /* DEBUG */\n        ) {\n            freezeRouteInfo(transition);\n          }\n\n        _this.trigger('routeWillChange', transition);\n      });\n\n      this._router.on('routeDidChange', function (transition) {\n        if (true\n        /* DEBUG */\n        ) {\n            freezeRouteInfo(transition);\n          }\n\n        _this.trigger('routeDidChange', transition);\n      });\n    }\n    /**\n       Transition the application into another route. The route may\n       be either a single route or route path:\n          See [transitionTo](/api/ember/release/classes/Route/methods/transitionTo?anchor=transitionTo) for more info.\n          Calling `transitionTo` from the Router service will cause default query parameter values to be included in the URL.\n       This behavior is different from calling `transitionTo` on a route or `transitionToRoute` on a controller.\n       See the [Router Service RFC](https://github.com/emberjs/rfcs/blob/master/text/0095-router-service.md#query-parameter-semantics) for more info.\n          @method transitionTo\n       @param {String} routeNameOrUrl the name of the route or a URL\n       @param {...Object} models the model(s) or identifier(s) to be used while\n         transitioning to the route.\n       @param {Object} [options] optional hash with a queryParams property\n         containing a mapping of query parameters\n       @return {Transition} the transition object associated with this\n         attempted transition\n       @public\n     */\n    ;\n\n    _proto.transitionTo = function transitionTo() {\n      for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n\n      if ((0, _utils.resemblesURL)(args[0])) {\n        return this._router._doURLTransition('transitionTo', args[0]);\n      }\n\n      var _extractRouteArgs = (0, _utils.extractRouteArgs)(args),\n          routeName = _extractRouteArgs.routeName,\n          models = _extractRouteArgs.models,\n          queryParams = _extractRouteArgs.queryParams;\n\n      var transition = this._router._doTransition(routeName, models, queryParams, true);\n\n      transition['_keepDefaultQueryParamValues'] = true;\n      return transition;\n    }\n    /**\n       Transition into another route while replacing the current URL, if possible.\n       The route may be either a single route or route path:\n          See [replaceWith](/api/ember/release/classes/Route/methods/replaceWith?anchor=replaceWith) for more info.\n          Calling `replaceWith` from the Router service will cause default query parameter values to be included in the URL.\n       This behavior is different from calling `replaceWith` on a route.\n       See the [Router Service RFC](https://github.com/emberjs/rfcs/blob/master/text/0095-router-service.md#query-parameter-semantics) for more info.\n          @method replaceWith\n       @param {String} routeNameOrUrl the name of the route or a URL\n       @param {...Object} models the model(s) or identifier(s) to be used while\n         transitioning to the route.\n       @param {Object} [options] optional hash with a queryParams property\n         containing a mapping of query parameters\n       @return {Transition} the transition object associated with this\n         attempted transition\n       @public\n     */\n    ;\n\n    _proto.replaceWith = function replaceWith()\n    /* routeNameOrUrl, ...models, options */\n    {\n      return this.transitionTo.apply(this, arguments).method('replace');\n    }\n    /**\n      Generate a URL based on the supplied route name and optionally a model. The\n      URL is returned as a string that can be used for any purpose.\n         In this example, the URL for the `author.books` route for a given author\n      is copied to the clipboard.\n         ```app/components/copy-link.js\n      import Component from '@ember/component';\n      import {inject as service} from '@ember/service';\n         export default Component.extend({\n        router: service('router'),\n        clipboard: service('clipboard')\n           // Provided in the template\n        // { id: 'tomster', name: 'Tomster' }\n        author: null,\n           copyBooksURL() {\n          if (this.author) {\n            const url = this.router.urlFor('author.books', this.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/components/copy-link.js\n      import Component from '@ember/component';\n      import {inject as service} from '@ember/service';\n         export default Component.extend({\n        router: service('router'),\n        clipboard: service('clipboard')\n           // Provided in the template\n        // { id: 'tomster', name: 'Tomster' }\n        author: null,\n           copyOnlyEmberBooksURL() {\n          if (this.author) {\n            const url = this.router.urlFor('author.books', this.author, {\n              queryParams: { filter: 'emberjs' }\n            });\n            this.clipboard.set(url);\n            // Clipboard now has /author/tomster/books?filter=emberjs\n          }\n        }\n      });\n      ```\n          @method urlFor\n       @param {String} routeName the name of the route\n       @param {...Object} models the model(s) or identifier(s) to be used while\n         transitioning to the route.\n       @param {Object} [options] optional hash with a queryParams property\n         containing a mapping of query parameters\n       @return {String} the string representing the generated URL\n       @public\n     */\n    ;\n\n    _proto.urlFor = function urlFor(routeName) {\n      var _this$_router;\n\n      for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n        args[_key2 - 1] = arguments[_key2];\n      }\n\n      return (_this$_router = this._router).generate.apply(_this$_router, [routeName].concat(args));\n    }\n    /**\n       Determines whether a route is active.\n          @method isActive\n       @param {String} routeName the name of the route\n       @param {...Object} models the model(s) or identifier(s) to be used while\n         transitioning to the route.\n       @param {Object} [options] optional hash with a queryParams property\n         containing a mapping of query parameters\n       @return {boolean} true if the provided routeName/models/queryParams are active\n       @public\n     */\n    ;\n\n    _proto.isActive = function isActive() {\n      for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n        args[_key3] = arguments[_key3];\n      }\n\n      var _extractRouteArgs2 = (0, _utils.extractRouteArgs)(args),\n          routeName = _extractRouteArgs2.routeName,\n          models = _extractRouteArgs2.models,\n          queryParams = _extractRouteArgs2.queryParams;\n\n      var routerMicrolib = this._router._routerMicrolib;\n\n      if (!routerMicrolib.isActiveIntent(routeName, models)) {\n        return false;\n      }\n\n      var hasQueryParams = Object.keys(queryParams).length > 0;\n\n      if (hasQueryParams) {\n        this._router._prepareQueryParams(routeName, models, queryParams, true\n        /* fromRouterService */\n        );\n\n        return (0, _utils.shallowEqual)(queryParams, routerMicrolib.state.queryParams);\n      }\n\n      return true;\n    }\n    /**\n       Takes a string URL and returns a `RouteInfo` for the leafmost route represented\n       by the URL. Returns `null` if the URL is not recognized. This method expects to\n       receive the actual URL as seen by the browser including the app's `rootURL`.\n           @method recognize\n        @param {String} url\n        @public\n      */\n    ;\n\n    _proto.recognize = function recognize(url) {\n      true && !(url.indexOf(this.rootURL) === 0) && (0, _debug.assert)(\"You must pass a url that begins with the application's rootURL \\\"\" + this.rootURL + \"\\\"\", url.indexOf(this.rootURL) === 0);\n      var internalURL = cleanURL(url, this.rootURL);\n      return this._router._routerMicrolib.recognize(internalURL);\n    }\n    /**\n      Takes a string URL and returns a promise that resolves to a\n      `RouteInfoWithAttributes` for the leafmost route represented by the URL.\n      The promise rejects if the URL is not recognized or an unhandled exception\n      is encountered. This method expects to receive the actual URL as seen by\n      the browser including the app's `rootURL`.\n           @method recognizeAndLoad\n        @param {String} url\n        @public\n     */\n    ;\n\n    _proto.recognizeAndLoad = function recognizeAndLoad(url) {\n      true && !(url.indexOf(this.rootURL) === 0) && (0, _debug.assert)(\"You must pass a url that begins with the application's rootURL \\\"\" + this.rootURL + \"\\\"\", url.indexOf(this.rootURL) === 0);\n      var internalURL = cleanURL(url, this.rootURL);\n      return this._router._routerMicrolib.recognizeAndLoad(internalURL);\n    };\n\n    return RouterService;\n  }(_service.default);\n\n  _exports.default = RouterService;\n  RouterService.reopen(_runtime.Evented, {\n    /**\n       Name of the current route.\n          This property represents the logical name of the route,\n       which is comma separated.\n       For the following router:\n          ```app/router.js\n       Router.map(function() {\n         this.route('about');\n         this.route('blog', function () {\n           this.route('post', { path: ':post_id' });\n         });\n       });\n       ```\n          It will return:\n          * `index` when you visit `/`\n       * `about` when you visit `/about`\n       * `blog.index` when you visit `/blog`\n       * `blog.post` when you visit `/blog/some-post-id`\n          @property currentRouteName\n       @type String\n       @public\n     */\n    currentRouteName: (0, _computed.readOnly)('_router.currentRouteName'),\n\n    /**\n       Current URL for the application.\n         This property represents the URL path for this route.\n      For the following router:\n          ```app/router.js\n       Router.map(function() {\n         this.route('about');\n         this.route('blog', function () {\n           this.route('post', { path: ':post_id' });\n         });\n       });\n       ```\n          It will return:\n          * `/` when you visit `/`\n       * `/about` when you visit `/about`\n       * `/blog` when you visit `/blog`\n       * `/blog/some-post-id` when you visit `/blog/some-post-id`\n          @property currentURL\n       @type String\n       @public\n     */\n    currentURL: (0, _computed.readOnly)('_router.currentURL'),\n\n    /**\n      The `location` property determines the type of URLs your\n      application will use.\n         The following location types are currently available:\n      * `auto`\n      * `hash`\n      * `history`\n      * `none`\n         You can pass a location type to force a particular `location` API\n      implementation to be used in your application. For example, to set\n      the `history` type:\n         ```config/environment.js\n      'use strict';\n         module.exports = function(environment) {\n        let ENV = {\n          modulePrefix: 'router-service',\n          environment,\n          rootURL: '/',\n          locationType: 'history',\n          ...\n        }\n      }\n      ```\n         @property location\n      @default 'hash'\n      @see {Location}\n      @public\n    */\n    location: (0, _computed.readOnly)('_router.location'),\n\n    /**\n      The `rootURL` property represents the URL of the root of\n      the application, '/' by default.\n      This prefix is assumed on all routes defined on this app.\n         If you change the `rootURL` in your environment configuration\n      like so:\n         ```config/environment.js\n      'use strict';\n         module.exports = function(environment) {\n        let ENV = {\n          modulePrefix: 'router-service',\n          environment,\n          rootURL: '/my-root',\n        …\n        }\n      ]\n      ```\n         This property will return `/my-root`.\n         @property rootURL\n      @default '/'\n      @public\n    */\n    rootURL: (0, _computed.readOnly)('_router.rootURL'),\n\n    /**\n      The `currentRoute` property contains metadata about the current leaf route.\n      It returns a `RouteInfo` object that has information like the route name,\n      params, query params and more.\n         See [RouteInfo](/ember/release/classes/RouteInfo) for more info.\n         This property is guaranteed to change whenever a route transition\n      happens (even when that transition only changes parameters\n      and doesn't change the active route).\n         Usage example:\n      ```app/components/header.js\n        import Component from '@ember/component';\n        import { inject as service } from '@ember/service';\n        import { computed } from '@ember/object';\n           export default Component.extend({\n          router: service(),\n             isChildRoute: computed.notEmpty('router.currentRoute.child')\n        });\n      ```\n          @property currentRoute\n       @type RouteInfo\n       @public\n     */\n    currentRoute: (0, _computed.readOnly)('_router.currentRoute')\n  });\n});","enifed(\"@ember/-internals/routing/lib/services/routing\", [\"exports\", \"ember-babel\", \"@ember/object/computed\", \"@ember/polyfills\", \"@ember/service\"], function (_exports, _emberBabel, _computed, _polyfills, _service) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n\n  /**\n    The Routing service is used by LinkComponent, and provides facilities for\n    the component/view layer to interact with the router.\n  \n    This is a private service for internal usage only. For public usage,\n    refer to the `Router` service.\n  \n    @private\n    @class RoutingService\n  */\n  var RoutingService =\n  /*#__PURE__*/\n  function (_Service) {\n    (0, _emberBabel.inheritsLoose)(RoutingService, _Service);\n\n    function RoutingService() {\n      return _Service.apply(this, arguments) || this;\n    }\n\n    var _proto = RoutingService.prototype;\n\n    _proto.hasRoute = function hasRoute(routeName) {\n      return this.router.hasRoute(routeName);\n    };\n\n    _proto.transitionTo = function transitionTo(routeName, models, queryParams, shouldReplace) {\n      var transition = this.router._doTransition(routeName, models, queryParams);\n\n      if (shouldReplace) {\n        transition.method('replace');\n      }\n\n      return transition;\n    };\n\n    _proto.normalizeQueryParams = function normalizeQueryParams(routeName, models, queryParams) {\n      this.router._prepareQueryParams(routeName, models, queryParams);\n    };\n\n    _proto.generateURL = function generateURL(routeName, models, queryParams) {\n      var router = this.router; // return early when the router microlib is not present, which is the case for {{link-to}} in integration tests\n\n      if (!router._routerMicrolib) {\n        return;\n      }\n\n      var visibleQueryParams = {};\n\n      if (queryParams) {\n        (0, _polyfills.assign)(visibleQueryParams, queryParams);\n        this.normalizeQueryParams(routeName, models, visibleQueryParams);\n      }\n\n      return router.generate.apply(router, [routeName].concat(models, [{\n        queryParams: visibleQueryParams\n      }]));\n    };\n\n    _proto.isActiveForRoute = function isActiveForRoute(contexts, queryParams, routeName, routerState, isCurrentWhenSpecified) {\n      var handlers = this.router._routerMicrolib.recognizer.handlersFor(routeName);\n\n      var leafName = handlers[handlers.length - 1].handler;\n      var maximumContexts = numberOfContextsAcceptedByHandler(routeName, handlers); // NOTE: any ugliness in the calculation of activeness is largely\n      // due to the fact that we support automatic normalizing of\n      // `resource` -> `resource.index`, even though there might be\n      // dynamic segments / query params defined on `resource.index`\n      // which complicates (and makes somewhat ambiguous) the calculation\n      // of activeness for links that link to `resource` instead of\n      // directly to `resource.index`.\n      // if we don't have enough contexts revert back to full route name\n      // this is because the leaf route will use one of the contexts\n\n      if (contexts.length > maximumContexts) {\n        routeName = leafName;\n      }\n\n      return routerState.isActiveIntent(routeName, contexts, queryParams, !isCurrentWhenSpecified);\n    };\n\n    return RoutingService;\n  }(_service.default);\n\n  _exports.default = RoutingService;\n  RoutingService.reopen({\n    targetState: (0, _computed.readOnly)('router.targetState'),\n    currentState: (0, _computed.readOnly)('router.currentState'),\n    currentRouteName: (0, _computed.readOnly)('router.currentRouteName'),\n    currentPath: (0, _computed.readOnly)('router.currentPath')\n  });\n\n  function numberOfContextsAcceptedByHandler(handlerName, handlerInfos) {\n    var req = 0;\n\n    for (var i = 0; i < handlerInfos.length; i++) {\n      req += handlerInfos[i].names.length;\n\n      if (handlerInfos[i].handler === handlerName) {\n        break;\n      }\n    }\n\n    return req;\n  }\n});","enifed(\"@ember/-internals/routing/lib/system/cache\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n    A two-tiered cache with support for fallback values when doing lookups.\n    Uses \"buckets\" and then \"keys\" to cache values.\n  \n    @private\n    @class BucketCache\n  */\n  var BucketCache =\n  /*#__PURE__*/\n  function () {\n    function BucketCache() {\n      this.cache = new Map();\n    }\n\n    var _proto = BucketCache.prototype;\n\n    _proto.has = function has(bucketKey) {\n      return this.cache.has(bucketKey);\n    };\n\n    _proto.stash = function stash(bucketKey, key, value) {\n      var bucket = this.cache.get(bucketKey);\n\n      if (bucket === undefined) {\n        bucket = new Map();\n        this.cache.set(bucketKey, bucket);\n      }\n\n      bucket.set(key, value);\n    };\n\n    _proto.lookup = function lookup(bucketKey, prop, defaultValue) {\n      if (!this.has(bucketKey)) {\n        return defaultValue;\n      }\n\n      var bucket = this.cache.get(bucketKey);\n\n      if (bucket.has(prop)) {\n        return bucket.get(prop);\n      } else {\n        return defaultValue;\n      }\n    };\n\n    return BucketCache;\n  }();\n\n  _exports.default = BucketCache;\n});","enifed(\"@ember/-internals/routing/lib/system/controller_for\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.default = controllerFor;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Finds a controller instance.\n  \n    @for Ember\n    @method controllerFor\n    @private\n  */\n  function controllerFor(container, controllerName, lookupOptions) {\n    return container.lookup(\"controller:\" + controllerName, lookupOptions);\n  }\n});","enifed(\"@ember/-internals/routing/lib/system/dsl\", [\"exports\", \"@ember/debug\", \"@ember/polyfills\"], function (_exports, _debug, _polyfills) {\n  \"use strict\";\n\n  _exports.default = void 0;\n  var uuid = 0;\n\n  function isCallback(value) {\n    return typeof value === 'function';\n  }\n\n  function isOptions(value) {\n    return value !== null && typeof value === 'object';\n  }\n\n  var DSLImpl =\n  /*#__PURE__*/\n  function () {\n    function DSLImpl() {\n      var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n      var options = arguments.length > 1 ? arguments[1] : undefined;\n      this.explicitIndex = false;\n      this.parent = name;\n      this.enableLoadingSubstates = Boolean(options && options.enableLoadingSubstates);\n      this.matches = [];\n      this.options = options;\n    }\n\n    var _proto = DSLImpl.prototype;\n\n    _proto.route = function route(name, _options, _callback) {\n      var options;\n      var callback = null;\n      var dummyErrorRoute = \"/_unused_dummy_error_path_route_\" + name + \"/:error\";\n\n      if (isCallback(_options)) {\n        true && !(arguments.length === 2) && (0, _debug.assert)('Unexpected arguments', arguments.length === 2);\n        options = {};\n        callback = _options;\n      } else if (isCallback(_callback)) {\n        true && !(arguments.length === 3) && (0, _debug.assert)('Unexpected arguments', arguments.length === 3);\n        true && !isOptions(_options) && (0, _debug.assert)('Unexpected arguments', isOptions(_options));\n        options = _options;\n        callback = _callback;\n      } else {\n        options = _options || {};\n      }\n\n      true && !function () {\n        if (options.overrideNameAssertion === true) {\n          return true;\n        }\n\n        return ['basic', 'application'].indexOf(name) === -1;\n      }() && (0, _debug.assert)(\"'\" + name + \"' cannot be used as a route name.\", function () {\n        if (options.overrideNameAssertion === true) {\n          return true;\n        }\n\n        return ['basic', 'application'].indexOf(name) === -1;\n      }());\n      true && !(name.indexOf(':') === -1) && (0, _debug.assert)(\"'\" + name + \"' is not a valid route name. It cannot contain a ':'. You may want to use the 'path' option instead.\", name.indexOf(':') === -1);\n\n      if (this.enableLoadingSubstates) {\n        createRoute(this, name + \"_loading\", {\n          resetNamespace: options.resetNamespace\n        });\n        createRoute(this, name + \"_error\", {\n          resetNamespace: options.resetNamespace,\n          path: dummyErrorRoute\n        });\n      }\n\n      if (callback) {\n        var fullName = getFullName(this, name, options.resetNamespace);\n        var dsl = new DSLImpl(fullName, this.options);\n        createRoute(dsl, 'loading');\n        createRoute(dsl, 'error', {\n          path: dummyErrorRoute\n        });\n        callback.call(dsl);\n        createRoute(this, name, options, dsl.generate());\n      } else {\n        createRoute(this, name, options);\n      }\n    }\n    /* eslint-enable no-dupe-class-members */\n    ;\n\n    _proto.push = function push(url, name, callback, serialize) {\n      var parts = name.split('.');\n\n      if (this.options.engineInfo) {\n        var localFullName = name.slice(this.options.engineInfo.fullName.length + 1);\n        var routeInfo = (0, _polyfills.assign)({\n          localFullName: localFullName\n        }, this.options.engineInfo);\n\n        if (serialize) {\n          routeInfo.serializeMethod = serialize;\n        }\n\n        this.options.addRouteForEngine(name, routeInfo);\n      } else if (serialize) {\n        throw new Error(\"Defining a route serializer on route '\" + name + \"' outside an Engine is not allowed.\");\n      }\n\n      if (url === '' || url === '/' || parts[parts.length - 1] === 'index') {\n        this.explicitIndex = true;\n      }\n\n      this.matches.push(url, name, callback);\n    };\n\n    _proto.generate = function generate() {\n      var dslMatches = this.matches;\n\n      if (!this.explicitIndex) {\n        this.route('index', {\n          path: '/'\n        });\n      }\n\n      return function (match) {\n        for (var i = 0; i < dslMatches.length; i += 3) {\n          match(dslMatches[i]).to(dslMatches[i + 1], dslMatches[i + 2]);\n        }\n      };\n    };\n\n    _proto.mount = function mount(_name) {\n      var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      var engineRouteMap = this.options.resolveRouteMap(_name);\n      var name = _name;\n\n      if (options.as) {\n        name = options.as;\n      }\n\n      var fullName = getFullName(this, name, options.resetNamespace);\n      var engineInfo = {\n        name: _name,\n        instanceId: uuid++,\n        mountPoint: fullName,\n        fullName: fullName\n      };\n      var path = options.path;\n\n      if (typeof path !== 'string') {\n        path = \"/\" + name;\n      }\n\n      var callback;\n      var dummyErrorRoute = \"/_unused_dummy_error_path_route_\" + name + \"/:error\";\n\n      if (engineRouteMap) {\n        var shouldResetEngineInfo = false;\n        var oldEngineInfo = this.options.engineInfo;\n\n        if (oldEngineInfo) {\n          shouldResetEngineInfo = true;\n          this.options.engineInfo = engineInfo;\n        }\n\n        var optionsForChild = (0, _polyfills.assign)({\n          engineInfo: engineInfo\n        }, this.options);\n        var childDSL = new DSLImpl(fullName, optionsForChild);\n        createRoute(childDSL, 'loading');\n        createRoute(childDSL, 'error', {\n          path: dummyErrorRoute\n        });\n        engineRouteMap.class.call(childDSL);\n        callback = childDSL.generate();\n\n        if (shouldResetEngineInfo) {\n          this.options.engineInfo = oldEngineInfo;\n        }\n      }\n\n      var localFullName = 'application';\n      var routeInfo = (0, _polyfills.assign)({\n        localFullName: localFullName\n      }, engineInfo);\n\n      if (this.enableLoadingSubstates) {\n        // These values are important to register the loading routes under their\n        // proper names for the Router and within the Engine's registry.\n        var substateName = name + \"_loading\";\n        var _localFullName = \"application_loading\";\n\n        var _routeInfo = (0, _polyfills.assign)({\n          localFullName: _localFullName\n        }, engineInfo);\n\n        createRoute(this, substateName, {\n          resetNamespace: options.resetNamespace\n        });\n        this.options.addRouteForEngine(substateName, _routeInfo);\n        substateName = name + \"_error\";\n        _localFullName = \"application_error\";\n        _routeInfo = (0, _polyfills.assign)({\n          localFullName: _localFullName\n        }, engineInfo);\n        createRoute(this, substateName, {\n          resetNamespace: options.resetNamespace,\n          path: dummyErrorRoute\n        });\n        this.options.addRouteForEngine(substateName, _routeInfo);\n      }\n\n      this.options.addRouteForEngine(fullName, routeInfo);\n      this.push(path, fullName, callback);\n    };\n\n    return DSLImpl;\n  }();\n\n  _exports.default = DSLImpl;\n\n  function canNest(dsl) {\n    return dsl.parent !== 'application';\n  }\n\n  function getFullName(dsl, name, resetNamespace) {\n    if (canNest(dsl) && resetNamespace !== true) {\n      return dsl.parent + \".\" + name;\n    } else {\n      return name;\n    }\n  }\n\n  function createRoute(dsl, name) {\n    var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n    var callback = arguments.length > 3 ? arguments[3] : undefined;\n    var fullName = getFullName(dsl, name, options.resetNamespace);\n\n    if (typeof options.path !== 'string') {\n      options.path = \"/\" + name;\n    }\n\n    dsl.push(options.path, fullName, callback, options.serialize);\n  }\n});","enifed(\"@ember/-internals/routing/lib/system/engines\", [], function () {\n  \"use strict\";\n});","enifed(\"@ember/-internals/routing/lib/system/generate_controller\", [\"exports\", \"@ember/-internals/metal\", \"@ember/debug\"], function (_exports, _metal, _debug) {\n  \"use strict\";\n\n  _exports.generateControllerFactory = generateControllerFactory;\n  _exports.default = generateController;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Generates a controller factory\n  \n    @for Ember\n    @method generateControllerFactory\n    @private\n  */\n  function generateControllerFactory(owner, controllerName) {\n    var Factory = owner.factoryFor('controller:basic').class;\n    Factory = Factory.extend({\n      toString: function () {\n        return \"(generated \" + controllerName + \" controller)\";\n      }\n    });\n    var fullName = \"controller:\" + controllerName;\n    owner.register(fullName, Factory);\n    return owner.factoryFor(fullName);\n  }\n  /**\n    Generates and instantiates a controller extending from `controller:basic`\n    if present, or `Controller` if not.\n  \n    @for Ember\n    @method generateController\n    @private\n    @since 1.3.0\n  */\n\n\n  function generateController(owner, controllerName) {\n    generateControllerFactory(owner, controllerName);\n    var fullName = \"controller:\" + controllerName;\n    var instance = owner.lookup(fullName);\n\n    if (true\n    /* DEBUG */\n    ) {\n        if ((0, _metal.get)(instance, 'namespace.LOG_ACTIVE_GENERATION')) {\n          (0, _debug.info)(\"generated -> \" + fullName, {\n            fullName: fullName\n          });\n        }\n      }\n\n    return instance;\n  }\n});","enifed(\"@ember/-internals/routing/lib/system/query_params\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  var QueryParams = function QueryParams() {\n    var values = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n    this.isQueryParams = true;\n    this.values = values;\n  };\n\n  _exports.default = QueryParams;\n});","enifed(\"@ember/-internals/routing/lib/system/route-info\", [], function () {\n  \"use strict\";\n  /**\n    A `RouteInfoWithAttributes` is an object that contains\n    metadata, including the resolved value from the routes\n    `model` hook. Like `RouteInfo`, a `RouteInfoWithAttributes`\n    represents a specific route within a Transition.\n    It is read-only and internally immutable. It is also not\n    observable, because a Transition instance is never\n    changed after creation.\n  \n    @class RouteInfoWithAttributes\n    @public\n  */\n\n  /**\n    The dot-separated, fully-qualified name of the\n    route, like \"people.index\".\n    @property {String} name\n    @public\n  */\n\n  /**\n    The final segment of the fully-qualified name of\n    the route, like \"index\"\n    @property {String} localName\n    @public\n  */\n\n  /**\n    The values of the route's parameters. These are the\n    same params that are received as arguments to the\n    route's model hook. Contains only the parameters\n    valid for this route, if any (params for parent or\n    child routes are not merged).\n    @property {Object} params\n    @public\n  */\n\n  /**\n    The ordered list of the names of the params\n    required for this route. It will contain the same\n    strings as `Object.keys(params)`, but here the order\n    is significant. This allows users to correctly pass\n    params into routes programmatically.\n    @property {Array} paramNames\n    @public\n  */\n\n  /**\n    The values of any queryParams on this route.\n    @property {Object} queryParams\n    @public\n  */\n\n  /**\n    This is the resolved return value from the\n    route's model hook.\n    @property {Object|Array|String} attributes\n    @public\n  */\n\n  /**\n    Will contain the result `Route#buildRouteInfoMetadata`\n    for the corresponding Route.\n    @property {Any} metadata\n    @category EMBER_ROUTING_BUILD_ROUTEINFO_METADATA\n    @public\n  */\n\n  /**\n    A reference to the parent route's RouteInfo.\n    This can be used to traverse upward to the topmost\n    `RouteInfo`.\n    @property {RouteInfo|null} parent\n    @public\n  */\n\n  /**\n    A reference to the child route's RouteInfo.\n    This can be used to traverse downward to the\n    leafmost `RouteInfo`.\n    @property {RouteInfo|null} child\n    @public\n  */\n\n  /**\n    Allows you to traverse through the linked list\n    of `RouteInfo`s from the topmost to leafmost.\n    Returns the first `RouteInfo` in the linked list\n    for which the callback returns true.\n  \n      This method is similar to the `find()` method\n      defined in ECMAScript 2015.\n  \n      The callback method you provide should have the\n      following signature (all parameters are optional):\n  \n      ```javascript\n      function(item, index, array);\n      ```\n  \n      - `item` is the current item in the iteration.\n      - `index` is the current index in the iteration.\n      - `array` is the array itself.\n  \n      It should return the `true` to include the item in\n      the results, `false` otherwise.\n  \n      Note that in addition to a callback, you can also\n      pass an optional target object that will be set as\n      `this` on the context.\n  \n    @method find\n    @param {Function} callback the callback to execute\n    @param {Object} [target*] optional target to use\n    @returns {Object} Found item or undefined\n    @public\n  */\n\n  /**\n    A RouteInfo is an object that contains metadata\n    about a specific route within a Transition. It is\n    read-only and internally immutable. It is also not\n    observable, because a Transition instance is never\n    changed after creation.\n  \n    @class RouteInfo\n    @public\n  */\n\n  /**\n    The dot-separated, fully-qualified name of the\n    route, like \"people.index\".\n    @property {String} name\n    @public\n  */\n\n  /**\n    The final segment of the fully-qualified name of\n    the route, like \"index\"\n    @property {String} localName\n    @public\n  */\n\n  /**\n    The values of the route's parameters. These are the\n    same params that are received as arguments to the\n    route's `model` hook. Contains only the parameters\n    valid for this route, if any (params for parent or\n    child routes are not merged).\n    @property {Object} params\n    @public\n  */\n\n  /**\n    The ordered list of the names of the params\n    required for this route. It will contain the same\n    strings as Object.keys(params), but here the order\n    is significant. This allows users to correctly pass\n    params into routes programmatically.\n    @property {Array} paramNames\n    @public\n  */\n\n  /**\n    The values of any queryParams on this route.\n    @property {Object} queryParams\n    @public\n  */\n\n  /**\n    A reference to the parent route's `RouteInfo`.\n    This can be used to traverse upward to the topmost\n    `RouteInfo`.\n    @property {RouteInfo|null} parent\n    @public\n  */\n\n  /**\n    A reference to the child route's `RouteInfo`.\n    This can be used to traverse downward to the\n    leafmost `RouteInfo`.\n    @property {RouteInfo|null} child\n    @public\n  */\n\n  /**\n    Allows you to traverse through the linked list\n    of `RouteInfo`s from the topmost to leafmost.\n    Returns the first `RouteInfo` in the linked list\n    for which the callback returns true.\n  \n      This method is similar to the `find()` method\n      defined in ECMAScript 2015.\n  \n      The callback method you provide should have the\n      following signature (all parameters are optional):\n  \n      ```javascript\n      function(item, index, array);\n      ```\n  \n      - `item` is the current item in the iteration.\n      - `index` is the current index in the iteration.\n      - `array` is the array itself.\n  \n      It should return the `true` to include the item in\n      the results, `false` otherwise.\n  \n      Note that in addition to a callback, you can also\n      pass an optional target object that will be set as\n      `this` on the context.\n  \n    @method find\n    @param {Function} callback the callback to execute\n    @param {Object} [target*] optional target to use\n    @returns {Object} Found item or undefined\n    @public\n  */\n});","enifed(\"@ember/-internals/routing/lib/system/route\", [\"exports\", \"@ember/polyfills\", \"ember-babel\", \"@ember/-internals/metal\", \"@ember/-internals/owner\", \"@ember/-internals/runtime\", \"@ember/debug\", \"@ember/deprecated-features\", \"@ember/runloop\", \"@ember/string\", \"router_js\", \"@ember/-internals/routing/lib/utils\", \"@ember/-internals/routing/lib/system/generate_controller\"], function (_exports, _polyfills, _emberBabel, _metal, _owner, _runtime, _debug, _deprecatedFeatures, _runloop, _string, _router_js, _utils, _generate_controller) {\n  \"use strict\";\n\n  _exports.defaultSerialize = defaultSerialize;\n  _exports.hasDefaultSerialize = hasDefaultSerialize;\n  _exports.default = _exports.ROUTER_EVENT_DEPRECATIONS = void 0;\n\n  function defaultSerialize(model, params) {\n    if (params.length < 1 || !model) {\n      return;\n    }\n\n    var object = {};\n\n    if (params.length === 1) {\n      var name = params[0];\n\n      if (name in model) {\n        object[name] = (0, _metal.get)(model, name);\n      } else if (/_id$/.test(name)) {\n        object[name] = (0, _metal.get)(model, 'id');\n      }\n    } else {\n      object = (0, _metal.getProperties)(model, params);\n    }\n\n    return object;\n  }\n\n  function hasDefaultSerialize(route) {\n    return route.serialize === defaultSerialize;\n  }\n  /**\n  @module @ember/routing\n  */\n\n  /**\n    The `Route` class is used to define individual routes. Refer to\n    the [routing guide](https://guides.emberjs.com/release/routing/) for documentation.\n  \n    @class Route\n    @extends EmberObject\n    @uses ActionHandler\n    @uses Evented\n    @since 1.0.0\n    @public\n  */\n\n\n  var Route =\n  /*#__PURE__*/\n  function (_EmberObject) {\n    (0, _emberBabel.inheritsLoose)(Route, _EmberObject);\n\n    function Route() {\n      var _this;\n\n      _this = _EmberObject.apply(this, arguments) || this;\n      _this.context = {};\n      return _this;\n    }\n    /**\n      The name of the route, dot-delimited.\n         For example, a route found at `app/routes/posts/post.js` will have\n      a `routeName` of `posts.post`.\n         @property routeName\n      @for Route\n      @type String\n      @since 1.0.0\n      @public\n    */\n\n    /**\n      The name of the route, dot-delimited, including the engine prefix\n      if applicable.\n         For example, a route found at `addon/routes/posts/post.js` within an\n      engine named `admin` will have a `fullRouteName` of `admin.posts.post`.\n         @property fullRouteName\n      @for Route\n      @type String\n      @since 2.10.0\n      @public\n    */\n\n    /**\n      Sets the name for this route, including a fully resolved name for routes\n      inside engines.\n         @private\n      @method _setRouteName\n      @param {String} name\n    */\n\n\n    var _proto = Route.prototype;\n\n    _proto._setRouteName = function _setRouteName(name) {\n      this.routeName = name;\n      this.fullRouteName = getEngineRouteName((0, _owner.getOwner)(this), name);\n    }\n    /**\n      @private\n         @method _stashNames\n    */\n    ;\n\n    _proto._stashNames = function _stashNames(routeInfo, dynamicParent) {\n      if (this._names) {\n        return;\n      }\n\n      var names = this._names = routeInfo['_names'];\n\n      if (!names.length) {\n        routeInfo = dynamicParent;\n        names = routeInfo && routeInfo['_names'] || [];\n      }\n\n      var qps = (0, _metal.get)(this, '_qp.qps');\n      var namePaths = new Array(names.length);\n\n      for (var a = 0; a < names.length; ++a) {\n        namePaths[a] = routeInfo.name + \".\" + names[a];\n      }\n\n      for (var i = 0; i < qps.length; ++i) {\n        var qp = qps[i];\n\n        if (qp.scope === 'model') {\n          qp.parts = namePaths;\n        }\n      }\n    }\n    /**\n      @private\n         @property _activeQPChanged\n    */\n    ;\n\n    _proto._activeQPChanged = function _activeQPChanged(qp, value) {\n      this._router._activeQPChanged(qp.scopedPropertyName, value);\n    }\n    /**\n      @private\n      @method _updatingQPChanged\n    */\n    ;\n\n    _proto._updatingQPChanged = function _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 Route.extend({\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 Route.extend({\n        queryParams: {\n          interestQp: { refreshModel: true }\n        },\n           model() {\n          return this.paramsFor('member');\n        }\n      });\n      ```\n         If we visit `/turing/maths?memberQp=member&interestQp=interest` the model for\n      the `member.interest` route is a hash with:\n         * `name`: `turing`\n      * `memberQp`: `member`\n         @method paramsFor\n      @param {String} name\n      @return {Object} hash containing the parameters of the route `name`\n      @since 1.4.0\n      @public\n    */\n    ;\n\n    _proto.paramsFor = function paramsFor(name) {\n      var _this2 = this;\n\n      var route = (0, _owner.getOwner)(this).lookup(\"route:\" + name);\n\n      if (!route) {\n        return {};\n      }\n\n      var transition = this._router._routerMicrolib.activeTransition;\n      var state = transition ? transition[_router_js.STATE_SYMBOL] : this._router._routerMicrolib.state;\n      var fullName = route.fullRouteName;\n      var params = (0, _polyfills.assign)({}, state.params[fullName]);\n      var queryParams = getQueryParamsFor(route, state);\n      return Object.keys(queryParams).reduce(function (params, key) {\n        true && !!params[key] && (0, _debug.assert)(\"The route '\" + _this2.routeName + \"' has both a dynamic segment and query param with name '\" + key + \"'. Please rename one to avoid collisions.\", !params[key]);\n        params[key] = queryParams[key];\n        return params;\n      }, params);\n    }\n    /**\n      Serializes the query parameter key\n         @method serializeQueryParamKey\n      @param {String} controllerPropertyName\n      @private\n    */\n    ;\n\n    _proto.serializeQueryParamKey = function serializeQueryParamKey(controllerPropertyName) {\n      return controllerPropertyName;\n    }\n    /**\n      Serializes value of the query parameter based on defaultValueType\n         @method serializeQueryParam\n      @param {Object} value\n      @param {String} urlKey\n      @param {String} defaultValueType\n      @private\n    */\n    ;\n\n    _proto.serializeQueryParam = function serializeQueryParam(value, _urlKey, defaultValueType) {\n      // urlKey isn't used here, but anyone overriding\n      // can use it to provide serialization specific\n      // to a certain query param.\n      return this._router._serializeQueryParam(value, defaultValueType);\n    }\n    /**\n      Deserializes value of the query parameter based on defaultValueType\n         @method deserializeQueryParam\n      @param {Object} value\n      @param {String} urlKey\n      @param {String} defaultValueType\n      @private\n    */\n    ;\n\n    _proto.deserializeQueryParam = function deserializeQueryParam(value, _urlKey, defaultValueType) {\n      // urlKey isn't used here, but anyone overriding\n      // can use it to provide deserialization specific\n      // to a certain query param.\n      return this._router._deserializeQueryParam(value, defaultValueType);\n    }\n    /**\n      @private\n         @property _optionsForQueryParam\n    */\n    ;\n\n    _proto._optionsForQueryParam = function _optionsForQueryParam(qp) {\n      return (0, _metal.get)(this, \"queryParams.\" + qp.urlKey) || (0, _metal.get)(this, \"queryParams.\" + qp.prop) || {};\n    }\n    /**\n      A hook you can use to reset controller values either when the model\n      changes or the route is exiting.\n         ```app/routes/articles.js\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        resetController(controller, isExiting, transition) {\n          if (isExiting && transition.targetName !== 'error') {\n            controller.set('page', 1);\n          }\n        }\n      });\n      ```\n         @method resetController\n      @param {Controller} controller instance\n      @param {Boolean} isExiting\n      @param {Object} transition\n      @since 1.7.0\n      @public\n    */\n    ;\n\n    _proto.resetController = function resetController(_controller, _isExiting, _transition) {\n      return this;\n    }\n    /**\n      @private\n         @method exit\n    */\n    ;\n\n    _proto.exit = function exit() {\n      this.deactivate();\n      this.trigger('deactivate');\n      this.teardownViews();\n    }\n    /**\n      @private\n         @method _internalReset\n      @since 3.6.0\n    */\n    ;\n\n    _proto._internalReset = function _internalReset(isExiting, transition) {\n      var controller = this.controller;\n      controller._qpDelegate = (0, _metal.get)(this, '_qp.states.inactive');\n      this.resetController(controller, isExiting, transition); // TODO: Once tags are enabled by default, we should refactor QP changes to\n      // use autotracking. This will likely be a large refactor, and for now we\n      // just need to trigger observers eagerly.\n\n      if (false\n      /* EMBER_METAL_TRACKED_PROPERTIES */\n      ) {\n          (0, _metal.flushInvalidActiveObservers)(false);\n        }\n    }\n    /**\n      @private\n         @method enter\n    */\n    ;\n\n    _proto.enter = function enter() {\n      this.connections = [];\n      this.activate();\n      this.trigger('activate');\n    }\n    /**\n      The `willTransition` action is fired at the beginning of any\n      attempted transition with a `Transition` object as the sole\n      argument. This action can be used for aborting, redirecting,\n      or decorating the transition from the currently active routes.\n         A good example is preventing navigation when a form is\n      half-filled out:\n         ```app/routes/contact-form.js\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        actions: {\n          willTransition(transition) {\n            if (this.controller.get('userHasEnteredData')) {\n              this.controller.displayNavigationConfirm();\n              transition.abort();\n            }\n          }\n        }\n      });\n      ```\n         You can also redirect elsewhere by calling\n      `this.transitionTo('elsewhere')` from within `willTransition`.\n      Note that `willTransition` will not be fired for the\n      redirecting `transitionTo`, since `willTransition` doesn't\n      fire when there is already a transition underway. If you want\n      subsequent `willTransition` actions to fire for the redirecting\n      transition, you must first explicitly call\n      `transition.abort()`.\n         To allow the `willTransition` event to continue bubbling to the parent\n      route, use `return true;`. When the `willTransition` method has a\n      return value of `true` then the parent route's `willTransition` method\n      will be fired, enabling \"bubbling\" behavior for the event.\n         @event willTransition\n      @param {Transition} transition\n      @since 1.0.0\n      @public\n    */\n\n    /**\n      The `didTransition` action is fired after a transition has\n      successfully been completed. This occurs after the normal model\n      hooks (`beforeModel`, `model`, `afterModel`, `setupController`)\n      have resolved. The `didTransition` action has no arguments,\n      however, it can be useful for tracking page views or resetting\n      state on the controller.\n         ```app/routes/login.js\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        actions: {\n          didTransition() {\n            this.controller.get('errors.base').clear();\n            return true; // Bubble the didTransition event\n          }\n        }\n      });\n      ```\n         @event didTransition\n      @since 1.2.0\n      @public\n    */\n\n    /**\n      The `loading` action is fired on the route when a route's `model`\n      hook returns a promise that is not already resolved. The current\n      `Transition` object is the first parameter and the route that\n      triggered the loading event is the second parameter.\n         ```app/routes/application.js\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        actions: {\n          loading(transition, route) {\n            let controller = this.controllerFor('foo');\n            controller.set('currentlyLoading', true);\n               transition.finally(function() {\n              controller.set('currentlyLoading', false);\n            });\n          }\n        }\n      });\n      ```\n         @event loading\n      @param {Transition} transition\n      @param {Route} route The route that triggered the loading event\n      @since 1.2.0\n      @public\n    */\n\n    /**\n      When attempting to transition into a route, any of the hooks\n      may return a promise that rejects, at which point an `error`\n      action will be fired on the partially-entered routes, allowing\n      for per-route error handling logic, or shared error handling\n      logic defined on a parent route.\n         Here is an example of an error handler that will be invoked\n      for rejected promises from the various hooks on the route,\n      as well as any unhandled errors from child routes:\n         ```app/routes/admin.js\n      import { reject } from 'rsvp';\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        beforeModel() {\n          return reject('bad things!');\n        },\n           actions: {\n          error(error, transition) {\n            // Assuming we got here due to the error in `beforeModel`,\n            // we can expect that error === \"bad things!\",\n            // but a promise model rejecting would also\n            // call this hook, as would any errors encountered\n            // in `afterModel`.\n               // The `error` hook is also provided the failed\n            // `transition`, which can be stored and later\n            // `.retry()`d if desired.\n               this.transitionTo('login');\n          }\n        }\n      });\n      ```\n         `error` actions that bubble up all the way to `ApplicationRoute`\n      will fire a default error handler that logs the error. You can\n      specify your own global default error handler by overriding the\n      `error` handler on `ApplicationRoute`:\n         ```app/routes/application.js\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        actions: {\n          error(error, transition) {\n            this.controllerFor('banner').displayError(error.message);\n          }\n        }\n      });\n      ```\n      @event error\n      @param {Error} error\n      @param {Transition} transition\n      @since 1.0.0\n      @public\n    */\n\n    /**\n      This event is triggered when the router enters the route. It is\n      not executed when the model for the route changes.\n         ```app/routes/application.js\n      import { on } from '@ember/object/evented';\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        collectAnalytics: on('activate', function(){\n          collectAnalytics();\n        })\n      });\n      ```\n         @event activate\n      @since 1.9.0\n      @public\n    */\n\n    /**\n      This event is triggered when the router completely exits this\n      route. It is not executed when the model for the route changes.\n         ```app/routes/index.js\n      import { on } from '@ember/object/evented';\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        trackPageLeaveAnalytics: on('deactivate', function(){\n          trackPageLeaveAnalytics();\n        })\n      });\n      ```\n         @event deactivate\n      @since 1.9.0\n      @public\n    */\n\n    /**\n      This hook is executed when the router completely exits this route. It is\n      not executed when the model for the route changes.\n         @method deactivate\n      @since 1.0.0\n      @public\n    */\n    ;\n\n    _proto.deactivate = function deactivate() {}\n    /**\n      This hook is executed when the router enters the route. It is not executed\n      when the model for the route changes.\n         @method activate\n      @since 1.0.0\n      @public\n    */\n    ;\n\n    _proto.activate = function activate() {}\n    /**\n      Transition the application into another route. The route may\n      be either a single route or route path:\n         ```javascript\n      this.transitionTo('blogPosts');\n      this.transitionTo('blogPosts.recentEntries');\n      ```\n         Optionally supply a model for the route in question. The model\n      will be serialized into the URL using the `serialize` hook of\n      the route:\n         ```javascript\n      this.transitionTo('blogPost', aPost);\n      ```\n         If a literal is passed (such as a number or a string), it will\n      be treated as an identifier instead. In this case, the `model`\n      hook of the route will be triggered:\n         ```javascript\n      this.transitionTo('blogPost', 1);\n      ```\n         Multiple models will be applied last to first recursively up the\n      route tree.\n         ```app/routes.js\n      // ...\n         Router.map(function() {\n        this.route('blogPost', { path:':blogPostId' }, function() {\n          this.route('blogComment', { path: ':blogCommentId' });\n        });\n      });\n         export default Router;\n      ```\n         ```javascript\n      this.transitionTo('blogComment', aPost, aComment);\n      this.transitionTo('blogComment', 1, 13);\n      ```\n         It is also possible to pass a URL (a string that starts with a\n      `/`).\n         ```javascript\n      this.transitionTo('/');\n      this.transitionTo('/blog/post/1/comment/13');\n      this.transitionTo('/blog/posts?sort=title');\n      ```\n         An options hash with a `queryParams` property may be provided as\n      the final argument to add query parameters to the destination URL.\n         ```javascript\n      this.transitionTo('blogPost', 1, {\n        queryParams: { showComments: 'true' }\n      });\n         // if you just want to transition the query parameters without changing the route\n      this.transitionTo({ queryParams: { sort: 'date' } });\n      ```\n         See also [replaceWith](#method_replaceWith).\n         Simple Transition Example\n         ```app/routes.js\n      // ...\n         Router.map(function() {\n        this.route('index');\n        this.route('secret');\n        this.route('fourOhFour', { path: '*:' });\n      });\n         export default Router;\n      ```\n         ```app/routes/index.js\n      import Route from '@ember/routing/route';\n         export Route.extend({\n        actions: {\n          moveToSecret(context) {\n            if (authorized()) {\n              this.transitionTo('secret', context);\n            } else {\n              this.transitionTo('fourOhFour');\n            }\n          }\n        }\n      });\n      ```\n         Transition to a nested route\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('articles', { path: '/articles' }, function() {\n          this.route('new');\n        });\n      });\n         export default Router;\n      ```\n         ```app/routes/index.js\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        actions: {\n          transitionToNewArticle() {\n            this.transitionTo('articles.new');\n          }\n        }\n      });\n      ```\n         Multiple Models Example\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('index');\n           this.route('breakfast', { path: ':breakfastId' }, function() {\n          this.route('cereal', { path: ':cerealId' });\n        });\n      });\n         export default Router;\n      ```\n         ```app/routes/index.js\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        actions: {\n          moveToChocolateCereal() {\n            let cereal = { cerealId: 'ChocolateYumminess' };\n            let breakfast = { breakfastId: 'CerealAndMilk' };\n               this.transitionTo('breakfast.cereal', breakfast, cereal);\n          }\n        }\n      });\n      ```\n         Nested Route with Query String Example\n         ```app/routes.js\n      // ...\n         Router.map(function() {\n        this.route('fruits', function() {\n          this.route('apples');\n        });\n      });\n         export default Router;\n      ```\n         ```app/routes/index.js\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        actions: {\n          transitionToApples() {\n            this.transitionTo('fruits.apples', { queryParams: { color: 'red' } });\n          }\n        }\n      });\n      ```\n         @method transitionTo\n      @param {String} name the name of the route or a URL\n      @param {...Object} models the model(s) or identifier(s) to be used while\n        transitioning to the route.\n      @param {Object} [options] optional hash with a queryParams property\n        containing a mapping of query parameters\n      @return {Transition} the transition object associated with this\n        attempted transition\n      @since 1.0.0\n      @public\n    */\n    ;\n\n    _proto.transitionTo = function transitionTo() {\n      var _this$_router;\n\n      for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      } // eslint-disable-line no-unused-vars\n\n\n      return (_this$_router = this._router).transitionTo.apply(_this$_router, (0, _utils.prefixRouteNameArg)(this, args));\n    }\n    /**\n      Perform a synchronous transition into another route without attempting\n      to resolve promises, update the URL, or abort any currently active\n      asynchronous transitions (i.e. regular transitions caused by\n      `transitionTo` or URL changes).\n         This method is handy for performing intermediate transitions on the\n      way to a final destination route, and is called internally by the\n      default implementations of the `error` and `loading` handlers.\n         @method intermediateTransitionTo\n      @param {String} name the name of the route\n      @param {...Object} models the model(s) to be used while transitioning\n      to the route.\n      @since 1.2.0\n      @public\n     */\n    ;\n\n    _proto.intermediateTransitionTo = function intermediateTransitionTo() {\n      var _this$_router2;\n\n      for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n        args[_key2] = arguments[_key2];\n      }\n\n      var _prefixRouteNameArg = (0, _utils.prefixRouteNameArg)(this, args),\n          name = _prefixRouteNameArg[0],\n          preparedArgs = _prefixRouteNameArg.slice(1);\n\n      (_this$_router2 = this._router).intermediateTransitionTo.apply(_this$_router2, [name].concat(preparedArgs));\n    }\n    /**\n      Refresh the model on this route and any child routes, firing the\n      `beforeModel`, `model`, and `afterModel` hooks in a similar fashion\n      to how routes are entered when transitioning in from other route.\n      The current route params (e.g. `article_id`) will be passed in\n      to the respective model hooks, and if a different model is returned,\n      `setupController` and associated route hooks will re-fire as well.\n         An example usage of this method is re-querying the server for the\n      latest information using the same parameters as when the route\n      was first entered.\n         Note that this will cause `model` hooks to fire even on routes\n      that were provided a model object when the route was initially\n      entered.\n         @method refresh\n      @return {Transition} the transition object associated with this\n        attempted transition\n      @since 1.4.0\n      @public\n     */\n    ;\n\n    _proto.refresh = function refresh() {\n      return this._router._routerMicrolib.refresh(this);\n    }\n    /**\n      Transition into another route while replacing the current URL, if possible.\n      This will replace the current history entry instead of adding a new one.\n      Beside that, it is identical to `transitionTo` in all other respects. See\n      'transitionTo' for additional information regarding multiple models.\n         Example\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('index');\n        this.route('secret');\n      });\n         export default Router;\n      ```\n         ```app/routes/secret.js\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        afterModel() {\n          if (!authorized()){\n            this.replaceWith('index');\n          }\n        }\n      });\n      ```\n         @method replaceWith\n      @param {String} name the name of the route or a URL\n      @param {...Object} models the model(s) or identifier(s) to be used while\n        transitioning to the route.\n      @param {Object} [options] optional hash with a queryParams property\n        containing a mapping of query parameters\n      @return {Transition} the transition object associated with this\n        attempted transition\n      @since 1.0.0\n      @public\n    */\n    ;\n\n    _proto.replaceWith = function replaceWith() {\n      var _this$_router3;\n\n      for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n        args[_key3] = arguments[_key3];\n      }\n\n      return (_this$_router3 = this._router).replaceWith.apply(_this$_router3, (0, _utils.prefixRouteNameArg)(this, args));\n    }\n    /**\n      This hook is the entry point for router.js\n         @private\n      @method setup\n    */\n    ;\n\n    _proto.setup = function setup(context, transition) {\n      var controllerName = this.controllerName || this.routeName;\n      var definedController = this.controllerFor(controllerName, true);\n      var controller;\n\n      if (definedController) {\n        controller = definedController;\n      } else {\n        controller = this.generateController(controllerName);\n      } // Assign the route's controller so that it can more easily be\n      // referenced in action handlers. Side effects. Side effects everywhere.\n\n\n      if (!this.controller) {\n        var qp = (0, _metal.get)(this, '_qp');\n        var propNames = qp !== undefined ? (0, _metal.get)(qp, 'propertyNames') : [];\n        addQueryParamsObservers(controller, propNames);\n        this.controller = controller;\n      }\n\n      var queryParams = (0, _metal.get)(this, '_qp');\n      var states = queryParams.states;\n      controller._qpDelegate = states.allowOverrides;\n\n      if (transition) {\n        // Update the model dep values used to calculate cache keys.\n        (0, _utils.stashParamNames)(this._router, transition[_router_js.STATE_SYMBOL].routeInfos);\n        var cache = this._bucketCache;\n        var params = transition[_router_js.PARAMS_SYMBOL];\n        var allParams = queryParams.propertyNames;\n        allParams.forEach(function (prop) {\n          var aQp = queryParams.map[prop];\n          aQp.values = params;\n          var cacheKey = (0, _utils.calculateCacheKey)(aQp.route.fullRouteName, aQp.parts, aQp.values);\n          var value = cache.lookup(cacheKey, prop, aQp.undecoratedDefaultValue);\n          (0, _metal.set)(controller, prop, value);\n        });\n        var qpValues = getQueryParamsFor(this, transition[_router_js.STATE_SYMBOL]);\n        (0, _metal.setProperties)(controller, qpValues);\n      }\n\n      this.setupController(controller, context, transition);\n\n      if (this._environment.options.shouldRender) {\n        this.renderTemplate(controller, context);\n      } // TODO: Once tags are enabled by default, we should refactor QP changes to\n      // use autotracking. This will likely be a large refactor, and for now we\n      // just need to trigger observers eagerly.\n\n\n      if (false\n      /* EMBER_METAL_TRACKED_PROPERTIES */\n      ) {\n          (0, _metal.flushInvalidActiveObservers)(false);\n        }\n    }\n    /*\n      Called when a query parameter for this route changes, regardless of whether the route\n      is currently part of the active route hierarchy. This will update the query parameter's\n      value in the cache so if this route becomes active, the cache value has been updated.\n    */\n    ;\n\n    _proto._qpChanged = function _qpChanged(prop, value, qp) {\n      if (!qp) {\n        return;\n      } // Update model-dep cache\n\n\n      var cache = this._bucketCache;\n      var cacheKey = (0, _utils.calculateCacheKey)(qp.route.fullRouteName, qp.parts, qp.values);\n      cache.stash(cacheKey, prop, value);\n    }\n    /**\n      This hook is the first of the route entry validation hooks\n      called when an attempt is made to transition into a route\n      or one of its children. It is called before `model` and\n      `afterModel`, and is appropriate for cases when:\n         1) A decision can be made to redirect elsewhere without\n         needing to resolve the model first.\n      2) Any async operations need to occur first before the\n         model is attempted to be resolved.\n         This hook is provided the current `transition` attempt\n      as a parameter, which can be used to `.abort()` the transition,\n      save it for a later `.retry()`, or retrieve values set\n      on it from a previous hook. You can also just call\n      `this.transitionTo` to another route to implicitly\n      abort the `transition`.\n         You can return a promise from this hook to pause the\n      transition until the promise resolves (or rejects). This could\n      be useful, for instance, for retrieving async code from\n      the server that is required to enter a route.\n         @method beforeModel\n      @param {Transition} transition\n      @return {any | Promise<any>} if the value returned from this hook is\n        a promise, the transition will pause until the transition\n        resolves. Otherwise, non-promise return values are not\n        utilized in any way.\n      @since 1.0.0\n      @public\n    */\n    ;\n\n    _proto.beforeModel = function beforeModel() {}\n    /**\n      This hook is called after this route's model has resolved.\n      It follows identical async/promise semantics to `beforeModel`\n      but is provided the route's resolved model in addition to\n      the `transition`, and is therefore suited to performing\n      logic that can only take place after the model has already\n      resolved.\n         ```app/routes/posts.js\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        afterModel(posts, transition) {\n          if (posts.get('length') === 1) {\n            this.transitionTo('post.show', posts.get('firstObject'));\n          }\n        }\n      });\n      ```\n         Refer to documentation for `beforeModel` for a description\n      of transition-pausing semantics when a promise is returned\n      from this hook.\n         @method afterModel\n      @param {Object} resolvedModel the value returned from `model`,\n        or its resolved value if it was a promise\n      @param {Transition} transition\n      @return {any | Promise<any>} if the value returned from this hook is\n        a promise, the transition will pause until the transition\n        resolves. Otherwise, non-promise return values are not\n        utilized in any way.\n      @since 1.0.0\n      @public\n     */\n    ;\n\n    _proto.afterModel = function afterModel() {}\n    /**\n      A hook you can implement to optionally redirect to another route.\n         If you call `this.transitionTo` from inside of this hook, this route\n      will not be entered in favor of the other hook.\n         `redirect` and `afterModel` behave very similarly and are\n      called almost at the same time, but they have an important\n      distinction in the case that, from one of these hooks, a\n      redirect into a child route of this route occurs: redirects\n      from `afterModel` essentially invalidate the current attempt\n      to enter this route, and will result in this route's `beforeModel`,\n      `model`, and `afterModel` hooks being fired again within\n      the new, redirecting transition. Redirects that occur within\n      the `redirect` hook, on the other hand, will _not_ cause\n      these hooks to be fired again the second time around; in\n      other words, by the time the `redirect` hook has been called,\n      both the resolved model and attempted entry into this route\n      are considered to be fully validated.\n         @method redirect\n      @param {Object} model the model for this route\n      @param {Transition} transition the transition object associated with the current transition\n      @since 1.0.0\n      @public\n    */\n    ;\n\n    _proto.redirect = function redirect() {}\n    /**\n      Called when the context is changed by router.js.\n         @private\n      @method contextDidChange\n    */\n    ;\n\n    _proto.contextDidChange = function contextDidChange() {\n      this.currentModel = this.context;\n    }\n    /**\n      A hook you can implement to convert the URL into the model for\n      this route.\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('post', { path: '/posts/:post_id' });\n      });\n         export default Router;\n      ```\n         The model for the `post` route is `store.findRecord('post', params.post_id)`.\n         By default, if your route has a dynamic segment ending in `_id`:\n         * The model class is determined from the segment (`post_id`'s\n        class is `App.Post`)\n      * The find method is called on the model class with the value of\n        the dynamic segment.\n         Note that for routes with dynamic segments, this hook is not always\n      executed. If the route is entered through a transition (e.g. when\n      using the `link-to` Handlebars helper or the `transitionTo` method\n      of routes), and a model context is already provided this hook\n      is not called.\n         A model context does not include a primitive string or number,\n      which does cause the model hook to be called.\n         Routes without dynamic segments will always execute the model hook.\n         ```javascript\n      // no dynamic segment, model hook always called\n      this.transitionTo('posts');\n         // model passed in, so model hook not called\n      thePost = store.findRecord('post', 1);\n      this.transitionTo('post', thePost);\n         // integer passed in, model hook is called\n      this.transitionTo('post', 1);\n         // model id passed in, model hook is called\n      // useful for forcing the hook to execute\n      thePost = store.findRecord('post', 1);\n      this.transitionTo('post', thePost.id);\n      ```\n         This hook follows the asynchronous/promise semantics\n      described in the documentation for `beforeModel`. In particular,\n      if a promise returned from `model` fails, the error will be\n      handled by the `error` hook on `Route`.\n         Example\n         ```app/routes/post.js\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        model(params) {\n          return this.store.findRecord('post', params.post_id);\n        }\n      });\n      ```\n         @method model\n      @param {Object} params the parameters extracted from the URL\n      @param {Transition} transition\n      @return {any | Promise<any>} the model for this route. If\n        a promise is returned, the transition will pause until\n        the promise resolves, and the resolved value of the promise\n        will be used as the model for this route.\n      @since 1.0.0\n      @public\n    */\n    ;\n\n    _proto.model = function model(params, transition) {\n      var name, sawParams, value;\n      var queryParams = (0, _metal.get)(this, '_qp.map');\n\n      for (var prop in params) {\n        if (prop === 'queryParams' || queryParams && prop in queryParams) {\n          continue;\n        }\n\n        var match = prop.match(/^(.*)_id$/);\n\n        if (match !== null) {\n          name = match[1];\n          value = params[prop];\n        }\n\n        sawParams = true;\n      }\n\n      if (!name) {\n        if (sawParams) {\n          return (0, _polyfills.assign)({}, params);\n        } else {\n          if (transition.resolveIndex < 1) {\n            return;\n          }\n\n          return transition[_router_js.STATE_SYMBOL].routeInfos[transition.resolveIndex - 1].context;\n        }\n      }\n\n      return this.findModel(name, value);\n    }\n    /**\n      @private\n      @method deserialize\n      @param {Object} params the parameters extracted from the URL\n      @param {Transition} transition\n      @return {any | Promise<any>} the model for this route.\n         Router.js hook.\n     */\n    ;\n\n    _proto.deserialize = function deserialize(_params, transition) {\n      return this.model(this._paramsFor(this.routeName, _params), transition);\n    }\n    /**\n         @method findModel\n      @param {String} type the model type\n      @param {Object} value the value passed to find\n      @private\n    */\n    ;\n\n    _proto.findModel = function findModel() {\n      var _get;\n\n      return (_get = (0, _metal.get)(this, 'store')).find.apply(_get, arguments);\n    }\n    /**\n      A hook you can use to setup the controller for the current route.\n         This method is called with the controller for the current route and the\n      model supplied by the `model` hook.\n         By default, the `setupController` hook sets the `model` property of\n      the controller to the specified `model` when it is not `undefined`.\n         If you implement the `setupController` hook in your Route, it will\n      prevent this default behavior. If you want to preserve that behavior\n      when implementing your `setupController` function, make sure to call\n      `_super`:\n         ```app/routes/photos.js\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        model() {\n          return this.store.findAll('photo');\n        },\n           setupController(controller, model) {\n          // Call _super for default behavior\n          this._super(controller, model);\n          // Implement your custom setup after\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         For the `post` route, a controller named `App.PostController` would\n      be used if it is defined. If it is not defined, a basic `Controller`\n      instance would be used.\n         Example\n         ```app/routes/post.js\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        setupController(controller, model) {\n          controller.set('model', model);\n        }\n      });\n      ```\n         @method setupController\n      @param {Controller} controller instance\n      @param {Object} model\n      @since 1.0.0\n      @public\n    */\n    ;\n\n    _proto.setupController = function setupController(controller, context, _transition) {\n      // eslint-disable-line no-unused-vars\n      if (controller && context !== undefined) {\n        (0, _metal.set)(controller, 'model', context);\n      }\n    }\n    /**\n      Returns the controller of the current route, or a parent (or any ancestor)\n      route in a route hierarchy.\n         The controller instance must already have been created, either through entering the\n      associated route or using `generateController`.\n         ```app/routes/post.js\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        setupController(controller, post) {\n          this._super(controller, post);\n          this.controllerFor('posts').set('currentPost', post);\n        }\n      });\n      ```\n         @method controllerFor\n      @param {String} name the name of the route or controller\n      @return {Controller}\n      @since 1.0.0\n      @public\n    */\n    ;\n\n    _proto.controllerFor = function controllerFor(name, _skipAssert) {\n      var owner = (0, _owner.getOwner)(this);\n      var route = owner.lookup(\"route:\" + name);\n      var controller;\n\n      if (route && route.controllerName) {\n        name = route.controllerName;\n      }\n\n      controller = owner.lookup(\"controller:\" + name); // NOTE: We're specifically checking that skipAssert is true, because according\n      //   to the old API the second parameter was model. We do not want people who\n      //   passed a model to skip the assertion.\n\n      true && !(Boolean(controller) || _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.\", Boolean(controller) || _skipAssert === true);\n      return controller;\n    }\n    /**\n      Generates a controller for a route.\n         Example\n         ```app/routes/post.js\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        setupController(controller, post) {\n          this._super(controller, post);\n          this.generateController('posts');\n        }\n      });\n      ```\n         @method generateController\n      @param {String} name the name of the controller\n      @private\n    */\n    ;\n\n    _proto.generateController = function generateController(name) {\n      var owner = (0, _owner.getOwner)(this);\n      return (0, _generate_controller.default)(owner, name);\n    }\n    /**\n      Returns the resolved model of a parent (or any ancestor) route\n      in a route hierarchy.  During a transition, all routes\n      must resolve a model object, and if a route\n      needs access to a parent route's model in order to\n      resolve a model (or just reuse the model from a parent),\n      it can call `this.modelFor(theNameOfParentRoute)` to\n      retrieve it. If the ancestor route's model was a promise,\n      its resolved result is returned.\n         Example\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('post', { path: '/posts/:post_id' }, function() {\n          this.route('comments');\n        });\n      });\n         export default Router;\n      ```\n         ```app/routes/post/comments.js\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        model() {\n          let post = this.modelFor('post');\n          return post.get('comments');\n        }\n      });\n      ```\n         @method modelFor\n      @param {String} name the name of the route\n      @return {Object} the model object\n      @since 1.0.0\n      @public\n    */\n    ;\n\n    _proto.modelFor = function modelFor(_name) {\n      var name;\n      var owner = (0, _owner.getOwner)(this);\n      var transition = this._router && this._router._routerMicrolib ? this._router._routerMicrolib.activeTransition : undefined; // Only change the route name when there is an active transition.\n      // Otherwise, use the passed in route name.\n\n      if (owner.routable && transition !== undefined) {\n        name = getEngineRouteName(owner, _name);\n      } else {\n        name = _name;\n      }\n\n      var route = owner.lookup(\"route:\" + name); // If we are mid-transition, we want to try and look up\n      // resolved parent contexts on the current transitionEvent.\n\n      if (transition !== undefined && transition !== null) {\n        var modelLookupName = route && route.routeName || name;\n\n        if (transition.resolvedModels.hasOwnProperty(modelLookupName)) {\n          return transition.resolvedModels[modelLookupName];\n        }\n      }\n\n      return route && route.currentModel;\n    }\n    /**\n      A hook you can use to render the template for the current route.\n         This method is called with the controller for the current route and the\n      model supplied by the `model` hook. By default, it renders the route's\n      template, configured with the controller for the route.\n         This method can be overridden to set up and render additional or\n      alternative templates.\n         ```app/routes/posts.js\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        renderTemplate(controller, model) {\n          let favController = this.controllerFor('favoritePost');\n             // Render the `favoritePost` template into\n          // the outlet `posts`, and display the `favoritePost`\n          // controller.\n          this.render('favoritePost', {\n            outlet: 'posts',\n            controller: favController\n          });\n        }\n      });\n      ```\n         @method renderTemplate\n      @param {Object} controller the route's controller\n      @param {Object} model the route's model\n      @since 1.0.0\n      @public\n    */\n    ;\n\n    _proto.renderTemplate = function renderTemplate(_controller, _model) {\n      // eslint-disable-line no-unused-vars\n      this.render();\n    }\n    /**\n      `render` is used to render a template into a region of another template\n      (indicated by an `{{outlet}}`). `render` is used both during the entry\n      phase of routing (via the `renderTemplate` hook) and later in response to\n      user interaction.\n         For example, given the following minimal router and templates:\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('photos');\n      });\n         export default Router;\n      ```\n         ```handlebars\n      <!-- application.hbs -->\n      <div class='something-in-the-app-hbs'>\n        {{outlet \"anOutletName\"}}\n      </div>\n      ```\n         ```handlebars\n      <!-- photos.hbs -->\n      <h1>Photos</h1>\n      ```\n         You can render `photos.hbs` into the `\"anOutletName\"` outlet of\n      `application.hbs` by calling `render`:\n         ```app/routes/post.js\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        renderTemplate() {\n          this.render('photos', {\n            into: 'application',\n            outlet: 'anOutletName'\n          })\n        }\n      });\n      ```\n         `render` additionally allows you to supply which `controller` and\n      `model` objects should be loaded and associated with the rendered template.\n         ```app/routes/posts.js\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        renderTemplate(controller, model){\n          this.render('posts', {    // the template to render, referenced by name\n            into: 'application',    // the template to render into, referenced by name\n            outlet: 'anOutletName', // the outlet inside `options.into` to render into.\n            controller: 'someControllerName', // the controller to use for this template, referenced by name\n            model: model            // the model to set on `options.controller`.\n          })\n        }\n      });\n      ```\n         The string values provided for the template name, and controller\n      will eventually pass through to the resolver for lookup. See\n      Resolver for how these are mapped to JavaScript objects in your\n      application. The template to render into needs to be related to  either the\n      current route or one of its ancestors.\n         Not all options need to be passed to `render`. Default values will be used\n      based on the name of the route specified in the router or the Route's\n      `controllerName` and `templateName` properties.\n         For example:\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('index');\n        this.route('post', { path: '/posts/:post_id' });\n      });\n         export default Router;\n      ```\n         ```app/routes/post.js\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        renderTemplate() {\n          this.render(); // all defaults apply\n        }\n      });\n      ```\n         The name of the route, defined by the router, is `post`.\n         The following equivalent default options will be applied when\n      the Route calls `render`:\n         ```javascript\n      this.render('post', {  // the template name associated with 'post' Route\n        into: 'application', // the parent route to 'post' Route\n        outlet: 'main',      // {{outlet}} and {{outlet 'main'}} are synonymous,\n        controller: 'post',  // the controller associated with the 'post' Route\n      })\n      ```\n         By default the controller's `model` will be the route's model, so it does not\n      need to be passed unless you wish to change which model is being used.\n         @method render\n      @param {String} name the name of the template to render\n      @param {Object} [options] the options\n      @param {String} [options.into] the template to render into,\n                      referenced by name. Defaults to the parent template\n      @param {String} [options.outlet] the outlet inside `options.into` to render into.\n                      Defaults to 'main'\n      @param {String|Object} [options.controller] the controller to use for this template,\n                      referenced by name or as a controller instance. Defaults to the Route's paired controller\n      @param {Object} [options.model] the model object to set on `options.controller`.\n                      Defaults to the return value of the Route's model hook\n      @since 1.0.0\n      @public\n    */\n    ;\n\n    _proto.render = function render(_name, options) {\n      var name;\n      var isDefaultRender = arguments.length === 0;\n\n      if (!isDefaultRender) {\n        if (typeof _name === 'object' && !options) {\n          name = this.templateName || this.routeName;\n          options = _name;\n        } else {\n          true && !!(0, _metal.isEmpty)(_name) && (0, _debug.assert)('The name in the given arguments is undefined or empty string', !(0, _metal.isEmpty)(_name));\n          name = _name;\n        }\n      }\n\n      var renderOptions = buildRenderOptions(this, isDefaultRender, name, options);\n      this.connections.push(renderOptions);\n      (0, _runloop.once)(this._router, '_setOutlets');\n    }\n    /**\n      Disconnects a view that has been rendered into an outlet.\n         You may pass any or all of the following options to `disconnectOutlet`:\n         * `outlet`: the name of the outlet to clear (default: 'main')\n      * `parentView`: the name of the view containing the outlet to clear\n         (default: the view rendered by the parent route)\n         Example:\n         ```app/routes/application.js\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        actions: {\n          showModal(evt) {\n            this.render(evt.modalName, {\n              outlet: 'modal',\n              into: 'application'\n            });\n          },\n             hideModal(evt) {\n            this.disconnectOutlet({\n              outlet: 'modal',\n              parentView: 'application'\n            });\n          }\n        }\n      });\n      ```\n         Alternatively, you can pass the `outlet` name directly as a string.\n         Example:\n         ```app/routes/application.js\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        actions: {\n          showModal(evt) {\n            // ...\n          },\n          hideModal(evt) {\n            this.disconnectOutlet('modal');\n          }\n        }\n      });\n          ```\n         @method disconnectOutlet\n      @param {Object|String} options the options hash or outlet name\n      @since 1.0.0\n      @public\n    */\n    ;\n\n    _proto.disconnectOutlet = function disconnectOutlet(options) {\n      var outletName;\n      var parentView;\n\n      if (options) {\n        if (typeof options === 'string') {\n          outletName = options;\n        } else {\n          outletName = options.outlet;\n          parentView = options.parentView ? options.parentView.replace(/\\//g, '.') : undefined;\n          true && !!('outlet' in options && options.outlet === undefined) && (0, _debug.assert)('You passed undefined as the outlet name.', !('outlet' in options && options.outlet === undefined));\n        }\n      }\n\n      outletName = outletName || 'main';\n\n      this._disconnectOutlet(outletName, parentView);\n\n      var routeInfos = this._router._routerMicrolib.currentRouteInfos;\n\n      for (var i = 0; i < routeInfos.length; i++) {\n        // This non-local state munging is sadly necessary to maintain\n        // backward compatibility with our existing semantics, which allow\n        // any route to disconnectOutlet things originally rendered by any\n        // other route. This should all get cut in 2.0.\n        routeInfos[i].route._disconnectOutlet(outletName, parentView);\n      }\n    };\n\n    _proto._disconnectOutlet = function _disconnectOutlet(outletName, parentView) {\n      var parent = parentRoute(this);\n\n      if (parent && parentView === parent.routeName) {\n        parentView = undefined;\n      }\n\n      for (var i = 0; i < this.connections.length; i++) {\n        var connection = this.connections[i];\n\n        if (connection.outlet === outletName && connection.into === parentView) {\n          // This neuters the disconnected outlet such that it doesn't\n          // render anything, but it leaves an entry in the outlet\n          // hierarchy so that any existing other renders that target it\n          // don't suddenly blow up. They will still stick themselves\n          // into its outlets, which won't render anywhere. All of this\n          // statefulness should get the machete in 2.0.\n          this.connections[i] = {\n            owner: connection.owner,\n            into: connection.into,\n            outlet: connection.outlet,\n            name: connection.name,\n            controller: undefined,\n            template: undefined\n          };\n          (0, _runloop.once)(this._router, '_setOutlets');\n        }\n      }\n    };\n\n    _proto.willDestroy = function willDestroy() {\n      this.teardownViews();\n    }\n    /**\n      @private\n         @method teardownViews\n    */\n    ;\n\n    _proto.teardownViews = function teardownViews() {\n      if (this.connections && this.connections.length > 0) {\n        this.connections = [];\n        (0, _runloop.once)(this._router, '_setOutlets');\n      }\n    };\n\n    return Route;\n  }(_runtime.Object);\n\n  Route.reopenClass({\n    isRouteFactory: true\n  });\n\n  function parentRoute(route) {\n    var routeInfo = routeInfoFor(route, route._router._routerMicrolib.state.routeInfos, -1);\n    return routeInfo && routeInfo.route;\n  }\n\n  function routeInfoFor(route, routeInfos) {\n    var offset = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n\n    if (!routeInfos) {\n      return;\n    }\n\n    var current;\n\n    for (var i = 0; i < routeInfos.length; i++) {\n      current = routeInfos[i].route;\n\n      if (current === route) {\n        return routeInfos[i + offset];\n      }\n    }\n\n    return;\n  }\n\n  function buildRenderOptions(route, isDefaultRender, _name, options) {\n    true && !(isDefaultRender || !(options && 'outlet' in options && options.outlet === undefined)) && (0, _debug.assert)('You passed undefined as the outlet name.', isDefaultRender || !(options && 'outlet' in options && options.outlet === undefined));\n    var owner = (0, _owner.getOwner)(route);\n    var name, templateName, into, outlet, controller, model;\n\n    if (options) {\n      into = options.into && options.into.replace(/\\//g, '.');\n      outlet = options.outlet;\n      controller = options.controller;\n      model = options.model;\n    }\n\n    outlet = outlet || 'main';\n\n    if (isDefaultRender) {\n      name = route.routeName;\n      templateName = route.templateName || name;\n    } else {\n      name = _name.replace(/\\//g, '.');\n      templateName = name;\n    }\n\n    if (!controller) {\n      if (isDefaultRender) {\n        controller = route.controllerName || owner.lookup(\"controller:\" + name);\n      } else {\n        controller = owner.lookup(\"controller:\" + name) || route.controllerName || route.routeName;\n      }\n    }\n\n    if (typeof controller === 'string') {\n      var controllerName = controller;\n      controller = owner.lookup(\"controller:\" + controllerName);\n      true && !(isDefaultRender || Boolean(controller)) && (0, _debug.assert)(\"You passed `controller: '\" + controllerName + \"'` into the `render` method, but no such controller could be found.\", isDefaultRender || Boolean(controller));\n    }\n\n    if (model) {\n      controller.set('model', model);\n    }\n\n    var template = owner.lookup(\"template:\" + templateName);\n    true && !(isDefaultRender || Boolean(template)) && (0, _debug.assert)(\"Could not find \\\"\" + templateName + \"\\\" template, view, or component.\", isDefaultRender || Boolean(template));\n    var parent;\n\n    if (into && (parent = parentRoute(route)) && into === parent.routeName) {\n      into = undefined;\n    }\n\n    var renderOptions = {\n      owner: owner,\n      into: into,\n      outlet: outlet,\n      name: name,\n      controller: controller,\n      template: template || route._topLevelViewTemplate\n    };\n\n    if (true\n    /* DEBUG */\n    ) {\n        var LOG_VIEW_LOOKUPS = (0, _metal.get)(route._router, 'namespace.LOG_VIEW_LOOKUPS');\n\n        if (LOG_VIEW_LOOKUPS && !template) {\n          (0, _debug.info)(\"Could not find \\\"\" + name + \"\\\" template. Nothing will be rendered\", {\n            fullName: \"template:\" + name\n          });\n        }\n      }\n\n    return renderOptions;\n  }\n\n  function getFullQueryParams(router, state) {\n    if (state['fullQueryParams']) {\n      return state['fullQueryParams'];\n    }\n\n    state['fullQueryParams'] = {};\n    (0, _polyfills.assign)(state['fullQueryParams'], state.queryParams);\n\n    router._deserializeQueryParams(state.routeInfos, state['fullQueryParams']);\n\n    return state['fullQueryParams'];\n  }\n\n  function getQueryParamsFor(route, state) {\n    state['queryParamsFor'] = state['queryParamsFor'] || {};\n    var name = route.fullRouteName;\n\n    if (state['queryParamsFor'][name]) {\n      return state['queryParamsFor'][name];\n    }\n\n    var fullQueryParams = getFullQueryParams(route._router, state);\n    var params = state['queryParamsFor'][name] = {}; // Copy over all the query params for this route/controller into params hash.\n\n    var qps = (0, _metal.get)(route, '_qp.qps');\n\n    for (var i = 0; i < qps.length; ++i) {\n      // Put deserialized qp on params hash.\n      var qp = qps[i];\n      var qpValueWasPassedIn = qp.prop in fullQueryParams;\n      params[qp.prop] = qpValueWasPassedIn ? fullQueryParams[qp.prop] : copyDefaultValue(qp.defaultValue);\n    }\n\n    return params;\n  }\n\n  function copyDefaultValue(value) {\n    if (Array.isArray(value)) {\n      return (0, _runtime.A)(value.slice());\n    }\n\n    return value;\n  }\n  /*\n    Merges all query parameters from a controller with those from\n    a route, returning a new object and avoiding any mutations to\n    the existing objects.\n  */\n\n\n  function mergeEachQueryParams(controllerQP, routeQP) {\n    var qps = {};\n    var keysAlreadyMergedOrSkippable = {\n      defaultValue: true,\n      type: true,\n      scope: true,\n      as: true\n    }; // first loop over all controller qps, merging them with any matching route qps\n    // into a new empty object to avoid mutating.\n\n    for (var cqpName in controllerQP) {\n      if (!controllerQP.hasOwnProperty(cqpName)) {\n        continue;\n      }\n\n      var newControllerParameterConfiguration = {};\n      (0, _polyfills.assign)(newControllerParameterConfiguration, controllerQP[cqpName], routeQP[cqpName]);\n      qps[cqpName] = newControllerParameterConfiguration; // allows us to skip this QP when we check route QPs.\n\n      keysAlreadyMergedOrSkippable[cqpName] = true;\n    } // loop over all route qps, skipping those that were merged in the first pass\n    // because they also appear in controller qps\n\n\n    for (var rqpName in routeQP) {\n      if (!routeQP.hasOwnProperty(rqpName) || keysAlreadyMergedOrSkippable[rqpName]) {\n        continue;\n      }\n\n      var newRouteParameterConfiguration = {};\n      (0, _polyfills.assign)(newRouteParameterConfiguration, routeQP[rqpName], controllerQP[rqpName]);\n      qps[rqpName] = newRouteParameterConfiguration;\n    }\n\n    return qps;\n  }\n\n  function addQueryParamsObservers(controller, propNames) {\n    propNames.forEach(function (prop) {\n      controller.addObserver(prop + \".[]\", controller, controller._qpChanged);\n    });\n  }\n\n  function getEngineRouteName(engine, routeName) {\n    if (engine.routable) {\n      var prefix = engine.mountPoint;\n\n      if (routeName === 'application') {\n        return prefix;\n      } else {\n        return prefix + \".\" + routeName;\n      }\n    }\n\n    return routeName;\n  }\n  /**\n      A hook you can implement to convert the route's model into parameters\n      for the URL.\n  \n      ```app/router.js\n      // ...\n  \n      Router.map(function() {\n        this.route('post', { path: '/posts/:post_id' });\n      });\n  \n      ```\n  \n      ```app/routes/post.js\n      import $ from 'jquery';\n      import Route from '@ember/routing/route';\n  \n      export default Route.extend({\n        model(params) {\n          // the server returns `{ id: 12 }`\n          return $.getJSON('/posts/' + params.post_id);\n        },\n  \n        serialize(model) {\n          // this will make the URL `/posts/12`\n          return { post_id: model.id };\n        }\n      });\n      ```\n  \n      The default `serialize` method will insert the model's `id` into the\n      route's dynamic segment (in this case, `:post_id`) if the segment contains '_id'.\n      If the route has multiple dynamic segments or does not contain '_id', `serialize`\n      will return `getProperties(model, params)`\n  \n      This method is called when `transitionTo` is called with a context\n      in order to populate the URL.\n  \n      @method serialize\n      @param {Object} model the routes model\n      @param {Array} params an Array of parameter names for the current\n        route (in the example, `['post_id']`.\n      @return {Object} the serialized parameters\n      @since 1.0.0\n      @public\n    */\n\n\n  Route.prototype.serialize = defaultSerialize;\n  Route.reopen(_runtime.ActionHandler, _runtime.Evented, {\n    mergedProperties: ['queryParams'],\n\n    /**\n      Configuration hash for this route's queryParams. The possible\n      configuration options and their defaults are as follows\n      (assuming a query param whose controller property is `page`):\n         ```javascript\n      queryParams: {\n        page: {\n          // By default, controller query param properties don't\n          // cause a full transition when they are changed, but\n          // rather only cause the URL to update. Setting\n          // `refreshModel` to true will cause an \"in-place\"\n          // transition to occur, whereby the model hooks for\n          // this route (and any child routes) will re-fire, allowing\n          // you to reload models (e.g., from the server) using the\n          // updated query param values.\n          refreshModel: false,\n             // By default, changes to controller query param properties\n          // cause the URL to update via `pushState`, which means an\n          // item will be added to the browser's history, allowing\n          // you to use the back button to restore the app to the\n          // previous state before the query param property was changed.\n          // Setting `replace` to true will use `replaceState` (or its\n          // hash location equivalent), which causes no browser history\n          // item to be added. This options name and default value are\n          // the same as the `link-to` helper's `replace` option.\n          replace: false,\n             // By default, the query param URL key is the same name as\n          // the controller property name. Use `as` to specify a\n          // different URL key.\n          as: 'page'\n        }\n      }\n      ```\n         @property queryParams\n      @for Route\n      @type Object\n      @since 1.6.0\n      @public\n    */\n    queryParams: {},\n\n    /**\n      The name of the template to use by default when rendering this routes\n      template.\n         ```app/routes/posts/list.js\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        templateName: 'posts/list'\n      });\n      ```\n         ```app/routes/posts/index.js\n      import PostsList from '../posts/list';\n         export default PostsList.extend();\n      ```\n         ```app/routes/posts/archived.js\n      import PostsList from '../posts/list';\n         export default PostsList.extend();\n      ```\n         @property templateName\n      @type String\n      @default null\n      @since 1.4.0\n      @public\n    */\n    templateName: null,\n\n    /**\n      @private\n         @property _names\n    */\n    _names: null,\n\n    /**\n      The name of the controller to associate with this route.\n         By default, Ember will lookup a route's controller that matches the name\n      of the route (i.e. `posts.new`). However,\n      if you would like to define a specific controller to use, you can do so\n      using this property.\n         This is useful in many ways, as the controller specified will be:\n         * passed to the `setupController` method.\n      * used as the controller for the template being rendered by the route.\n      * returned from a call to `controllerFor` for the route.\n         @property controllerName\n      @type String\n      @default null\n      @since 1.4.0\n      @public\n    */\n    controllerName: null,\n\n    /**\n      Store property provides a hook for data persistence libraries to inject themselves.\n         By default, this store property provides the exact same functionality previously\n      in the model hook.\n         Currently, the required interface is:\n         `store.find(modelName, findArguments)`\n         @property store\n      @type {Object}\n      @private\n    */\n    store: (0, _metal.computed)({\n      get: function () {\n        var owner = (0, _owner.getOwner)(this);\n        var routeName = this.routeName;\n        var namespace = (0, _metal.get)(this, '_router.namespace');\n        return {\n          find: function (name, value) {\n            var modelClass = owner.factoryFor(\"model:\" + name);\n            true && !Boolean(modelClass) && (0, _debug.assert)(\"You used the dynamic segment \" + name + \"_id in your route \" + routeName + \", but \" + namespace + \".\" + (0, _string.classify)(name) + \" did not exist and you did not override your route's `model` hook.\", Boolean(modelClass));\n\n            if (!modelClass) {\n              return;\n            }\n\n            modelClass = modelClass.class;\n            true && !(typeof modelClass.find === 'function') && (0, _debug.assert)((0, _string.classify)(name) + \" has no method `find`.\", typeof modelClass.find === 'function');\n            return modelClass.find(value);\n          }\n        };\n      },\n      set: function (key, value) {\n        (0, _metal.defineProperty)(this, key, null, value);\n      }\n    }),\n\n    /**\n        @private\n           @property _qp\n      */\n    _qp: (0, _metal.computed)(function () {\n      var _this3 = this;\n\n      var combinedQueryParameterConfiguration;\n      var controllerName = this.controllerName || this.routeName;\n      var owner = (0, _owner.getOwner)(this);\n      var controller = owner.lookup(\"controller:\" + controllerName);\n      var queryParameterConfiguraton = (0, _metal.get)(this, 'queryParams');\n      var hasRouterDefinedQueryParams = Object.keys(queryParameterConfiguraton).length > 0;\n\n      if (controller) {\n        // the developer has authored a controller class in their application for\n        // this route find its query params and normalize their object shape them\n        // merge in the query params for the route. As a mergedProperty,\n        // Route#queryParams is always at least `{}`\n        var controllerDefinedQueryParameterConfiguration = (0, _metal.get)(controller, 'queryParams') || {};\n        var normalizedControllerQueryParameterConfiguration = (0, _utils.normalizeControllerQueryParams)(controllerDefinedQueryParameterConfiguration);\n        combinedQueryParameterConfiguration = mergeEachQueryParams(normalizedControllerQueryParameterConfiguration, queryParameterConfiguraton);\n      } else if (hasRouterDefinedQueryParams) {\n        // the developer has not defined a controller but *has* supplied route query params.\n        // Generate a class for them so we can later insert default values\n        controller = (0, _generate_controller.default)(owner, controllerName);\n        combinedQueryParameterConfiguration = queryParameterConfiguraton;\n      }\n\n      var qps = [];\n      var map = {};\n      var propertyNames = [];\n\n      for (var propName in combinedQueryParameterConfiguration) {\n        if (!combinedQueryParameterConfiguration.hasOwnProperty(propName)) {\n          continue;\n        } // to support the dubious feature of using unknownProperty\n        // on queryParams configuration\n\n\n        if (propName === 'unknownProperty' || propName === '_super') {\n          // possible todo: issue deprecation warning?\n          continue;\n        }\n\n        var desc = combinedQueryParameterConfiguration[propName];\n        var scope = desc.scope || 'model';\n        var parts = void 0;\n\n        if (scope === 'controller') {\n          parts = [];\n        }\n\n        var urlKey = desc.as || this.serializeQueryParamKey(propName);\n        var defaultValue = (0, _metal.get)(controller, propName);\n        defaultValue = copyDefaultValue(defaultValue);\n        var type = desc.type || (0, _runtime.typeOf)(defaultValue);\n        var defaultValueSerialized = this.serializeQueryParam(defaultValue, urlKey, type);\n        var scopedPropertyName = controllerName + \":\" + propName;\n        var qp = {\n          undecoratedDefaultValue: (0, _metal.get)(controller, propName),\n          defaultValue: defaultValue,\n          serializedDefaultValue: defaultValueSerialized,\n          serializedValue: defaultValueSerialized,\n          type: type,\n          urlKey: urlKey,\n          prop: propName,\n          scopedPropertyName: scopedPropertyName,\n          controllerName: controllerName,\n          route: this,\n          parts: parts,\n          values: null,\n          scope: scope\n        };\n        map[propName] = map[urlKey] = map[scopedPropertyName] = qp;\n        qps.push(qp);\n        propertyNames.push(propName);\n      }\n\n      return {\n        qps: qps,\n        map: map,\n        propertyNames: 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: function (prop, value) {\n            var qp = map[prop];\n\n            _this3._qpChanged(prop, value, qp);\n          },\n\n          /*\n            Called when a query parameter changes in the URL, this route cares\n            about that query parameter, and the route is currently\n            in the active route hierarchy.\n          */\n          active: function (prop, value) {\n            var qp = map[prop];\n\n            _this3._qpChanged(prop, value, qp);\n\n            return _this3._activeQPChanged(qp, value);\n          },\n\n          /*\n            Called when a value of a query parameter this route handles changes in a controller\n            and the route is currently in the active route hierarchy.\n          */\n          allowOverrides: function (prop, value) {\n            var qp = map[prop];\n\n            _this3._qpChanged(prop, value, qp);\n\n            return _this3._updatingQPChanged(qp);\n          }\n        }\n      };\n    }),\n\n    /**\n      Sends an action to the router, which will delegate it to the currently\n      active route hierarchy per the bubbling rules explained under `actions`.\n         Example\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('index');\n      });\n         export default Router;\n      ```\n         ```app/routes/application.js\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        actions: {\n          track(arg) {\n            console.log(arg, 'was clicked');\n          }\n        }\n      });\n      ```\n         ```app/routes/index.js\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        actions: {\n          trackIfDebug(arg) {\n            if (debug) {\n              this.send('track', arg);\n            }\n          }\n        }\n      });\n      ```\n         @method send\n      @param {String} name the name of the action to trigger\n      @param {...*} args\n      @since 1.0.0\n      @public\n    */\n    send: function () {\n      for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n        args[_key4] = arguments[_key4];\n      }\n\n      true && !(!this.isDestroying && !this.isDestroyed) && (0, _debug.assert)(\"Attempted to call .send() with the action '\" + args[0] + \"' on the destroyed route '\" + this.routeName + \"'.\", !this.isDestroying && !this.isDestroyed);\n\n      if (this._router && this._router._routerMicrolib || !(0, _debug.isTesting)()) {\n        var _this$_router4;\n\n        (_this$_router4 = this._router).send.apply(_this$_router4, args);\n      } else {\n        var name = args.shift();\n        var action = this.actions[name];\n\n        if (action) {\n          return action.apply(this, args);\n        }\n      }\n    },\n\n    /**\n      The controller associated with this route.\n         Example\n         ```app/routes/form.js\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        actions: {\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      ```\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: function (changed, _totalPresent, removed) {\n        var qpMap = (0, _metal.get)(this, '_qp').map;\n        var totalChanged = Object.keys(changed).concat(Object.keys(removed));\n\n        for (var i = 0; i < totalChanged.length; ++i) {\n          var qp = qpMap[totalChanged[i]];\n\n          if (qp && (0, _metal.get)(this._optionsForQueryParam(qp), 'refreshModel') && this._router.currentState) {\n            this.refresh();\n            break;\n          }\n        }\n\n        return true;\n      },\n      finalizeQueryParamChange: function (params, finalParams, transition) {\n        if (this.fullRouteName !== 'application') {\n          return true;\n        } // Transition object is absent for intermediate transitions.\n\n\n        if (!transition) {\n          return;\n        }\n\n        var routeInfos = transition[_router_js.STATE_SYMBOL].routeInfos;\n        var router = this._router;\n\n        var qpMeta = router._queryParamsFor(routeInfos);\n\n        var changes = router._qpUpdates;\n        var replaceUrl;\n        (0, _utils.stashParamNames)(router, routeInfos);\n\n        for (var i = 0; i < qpMeta.qps.length; ++i) {\n          var qp = qpMeta.qps[i];\n          var route = qp.route;\n          var controller = route.controller;\n          var presentKey = qp.urlKey in params && qp.urlKey; // Do a reverse lookup to see if the changed query\n          // param URL key corresponds to a QP property on\n          // this controller.\n\n          var value = void 0,\n              svalue = void 0;\n\n          if (changes.has(qp.urlKey)) {\n            // Value updated in/before setupController\n            value = (0, _metal.get)(controller, qp.prop);\n            svalue = route.serializeQueryParam(value, qp.urlKey, qp.type);\n          } else {\n            if (presentKey) {\n              svalue = params[presentKey];\n\n              if (svalue !== undefined) {\n                value = route.deserializeQueryParam(svalue, qp.urlKey, qp.type);\n              }\n            } else {\n              // No QP provided; use default value.\n              svalue = qp.serializedDefaultValue;\n              value = copyDefaultValue(qp.defaultValue);\n            }\n          }\n\n          controller._qpDelegate = (0, _metal.get)(route, '_qp.states.inactive');\n          var thisQueryParamChanged = svalue !== qp.serializedValue;\n\n          if (thisQueryParamChanged) {\n            if (transition.queryParamsOnly && replaceUrl !== false) {\n              var options = route._optionsForQueryParam(qp);\n\n              var replaceConfigValue = (0, _metal.get)(options, 'replace');\n\n              if (replaceConfigValue) {\n                replaceUrl = true;\n              } else if (replaceConfigValue === false) {\n                // Explicit pushState wins over any other replaceStates.\n                replaceUrl = false;\n              }\n            }\n\n            (0, _metal.set)(controller, qp.prop, value);\n          } // Stash current serialized value of controller.\n\n\n          qp.serializedValue = svalue;\n          var thisQueryParamHasDefaultValue = qp.serializedDefaultValue === svalue;\n\n          if (!thisQueryParamHasDefaultValue || transition._keepDefaultQueryParamValues) {\n            finalParams.push({\n              value: svalue,\n              visible: true,\n              key: presentKey || qp.urlKey\n            });\n          }\n        }\n\n        if (replaceUrl) {\n          transition.method('replace');\n        }\n\n        qpMeta.qps.forEach(function (qp) {\n          var routeQpMeta = (0, _metal.get)(qp.route, '_qp');\n          var finalizedController = qp.route.controller;\n          finalizedController._qpDelegate = (0, _metal.get)(routeQpMeta, 'states.active');\n        });\n\n        router._qpUpdates.clear();\n\n        return;\n      }\n    }\n  });\n  var ROUTER_EVENT_DEPRECATIONS;\n  _exports.ROUTER_EVENT_DEPRECATIONS = ROUTER_EVENT_DEPRECATIONS;\n\n  if (_deprecatedFeatures.ROUTER_EVENTS) {\n    _exports.ROUTER_EVENT_DEPRECATIONS = ROUTER_EVENT_DEPRECATIONS = {\n      on: function (name) {\n        this._super.apply(this, arguments);\n\n        var hasDidTransition = name === 'didTransition';\n        var hasWillTransition = name === 'willTransition';\n\n        if (hasDidTransition) {\n          true && !false && (0, _debug.deprecate)('You attempted to listen to the \"didTransition\" event which is deprecated. Please inject the router service and listen to the \"routeDidChange\" event.', false, {\n            id: 'deprecate-router-events',\n            until: '4.0.0',\n            url: 'https://emberjs.com/deprecations/v3.x#toc_deprecate-router-events'\n          });\n        }\n\n        if (hasWillTransition) {\n          true && !false && (0, _debug.deprecate)('You attempted to listen to the \"willTransition\" event which is deprecated. Please inject the router service and listen to the \"routeWillChange\" event.', false, {\n            id: 'deprecate-router-events',\n            until: '4.0.0',\n            url: 'https://emberjs.com/deprecations/v3.x#toc_deprecate-router-events'\n          });\n        }\n      }\n    };\n    Route.reopen(ROUTER_EVENT_DEPRECATIONS, {\n      _paramsFor: function (routeName, params) {\n        var transition = this._router._routerMicrolib.activeTransition;\n\n        if (transition !== undefined) {\n          return this.paramsFor(routeName);\n        }\n\n        return params;\n      }\n    });\n  }\n\n  if (true\n  /* EMBER_ROUTING_BUILD_ROUTEINFO_METADATA */\n  ) {\n      Route.reopen({\n        /**\n          Allows you to produce custom metadata for the route.\n          The return value of this method will be attatched to\n          its corresponding RouteInfoWithAttributes obejct.\n               Example\n               ```app/routes/posts/index.js\n          import Route from '@ember/routing/route';\n               export default Route.extend({\n            buildRouteInfoMetadata() {\n              return { title: 'Posts Page' }\n            }\n          });\n          ```\n          ```app/routes/application.js\n          import Route from '@ember/routing/route';\n          import { inject as service } from '@ember/service';\n               export default Route.extend({\n            router: service('router'),\n            init() {\n              this._super(...arguments);\n              this.router.on('routeDidChange', transition => {\n                document.title = transition.to.metadata.title;\n                // would update document's title to \"Posts Page\"\n              });\n            }\n          });\n          ```\n               @return any\n          @category EMBER_ROUTING_BUILD_ROUTEINFO_METADATA\n         */\n        buildRouteInfoMetadata: function () {}\n      });\n    }\n\n  if (true\n  /* EMBER_FRAMEWORK_OBJECT_OWNER_ARGUMENT */\n  ) {\n      (0, _runtime.setFrameworkClass)(Route);\n    }\n\n  var _default = Route;\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/routing/lib/system/router\", [\"exports\", \"ember-babel\", \"@ember/-internals/metal\", \"@ember/-internals/owner\", \"@ember/-internals/runtime\", \"@ember/debug\", \"@ember/deprecated-features\", \"@ember/error\", \"@ember/polyfills\", \"@ember/runloop\", \"@ember/-internals/routing/lib/location/api\", \"@ember/-internals/routing/lib/utils\", \"@ember/-internals/routing/lib/system/dsl\", \"@ember/-internals/routing/lib/system/route\", \"@ember/-internals/routing/lib/system/router_state\", \"router_js\"], function (_exports, _emberBabel, _metal, _owner, _runtime, _debug, _deprecatedFeatures, _error2, _polyfills, _runloop, _api, _utils, _dsl, _route, _router_state, _router_js) {\n  \"use strict\";\n\n  _exports.triggerEvent = _triggerEvent;\n  _exports.default = void 0;\n\n  function defaultDidTransition(infos) {\n    updatePaths(this);\n\n    this._cancelSlowTransitionTimer();\n\n    this.notifyPropertyChange('url');\n    this.set('currentState', this.targetState); // Put this in the runloop so url will be accurate. Seems\n    // less surprising than didTransition being out of sync.\n\n    (0, _runloop.once)(this, this.trigger, 'didTransition');\n\n    if (true\n    /* DEBUG */\n    ) {\n        if ((0, _metal.get)(this, 'namespace').LOG_TRANSITIONS) {\n          // eslint-disable-next-line no-console\n          console.log(\"Transitioned into '\" + EmberRouter._routePath(infos) + \"'\");\n        }\n      }\n  }\n\n  function defaultWillTransition(oldInfos, newInfos, transition) {\n    (0, _runloop.once)(this, this.trigger, 'willTransition', transition);\n\n    if (true\n    /* DEBUG */\n    ) {\n        if ((0, _metal.get)(this, 'namespace').LOG_TRANSITIONS) {\n          // eslint-disable-next-line no-console\n          console.log(\"Preparing to transition from '\" + EmberRouter._routePath(oldInfos) + \"' to '\" + EmberRouter._routePath(newInfos) + \"'\");\n        }\n      }\n  }\n\n  function K() {\n    return this;\n  }\n\n  var slice = Array.prototype.slice;\n  /**\n    The `EmberRouter` class manages the application state and URLs. Refer to\n    the [routing guide](https://guides.emberjs.com/release/routing/) for documentation.\n  \n    @class EmberRouter\n    @extends EmberObject\n    @uses Evented\n    @public\n  */\n\n  var EmberRouter =\n  /*#__PURE__*/\n  function (_EmberObject) {\n    (0, _emberBabel.inheritsLoose)(EmberRouter, _EmberObject);\n\n    function EmberRouter() {\n      var _this;\n\n      _this = _EmberObject.apply(this, arguments) || this;\n      _this.currentURL = null;\n      _this.currentRouteName = null;\n      _this.currentPath = null;\n      _this.currentRoute = null;\n      _this._qpCache = Object.create(null);\n      _this._qpUpdates = new Set();\n      _this._handledErrors = new Set();\n      _this._engineInstances = Object.create(null);\n      _this._engineInfoByRoute = Object.create(null);\n      _this.currentState = null;\n      _this.targetState = null;\n\n      _this._resetQueuedQueryParameterChanges();\n\n      return _this;\n    }\n\n    var _proto = EmberRouter.prototype;\n\n    _proto._initRouterJs = function _initRouterJs() {\n      var location = (0, _metal.get)(this, 'location');\n      var router = this;\n      var owner = (0, _owner.getOwner)(this);\n      var seen = Object.create(null);\n\n      var PrivateRouter =\n      /*#__PURE__*/\n      function (_Router) {\n        (0, _emberBabel.inheritsLoose)(PrivateRouter, _Router);\n\n        function PrivateRouter() {\n          return _Router.apply(this, arguments) || this;\n        }\n\n        var _proto2 = PrivateRouter.prototype;\n\n        _proto2.getRoute = function getRoute(name) {\n          var routeName = name;\n          var routeOwner = owner;\n          var engineInfo = router._engineInfoByRoute[routeName];\n\n          if (engineInfo) {\n            var engineInstance = router._getEngineInstance(engineInfo);\n\n            routeOwner = engineInstance;\n            routeName = engineInfo.localFullName;\n          }\n\n          var fullRouteName = \"route:\" + routeName;\n          var route = routeOwner.lookup(fullRouteName);\n\n          if (seen[name]) {\n            return route;\n          }\n\n          seen[name] = true;\n\n          if (!route) {\n            var DefaultRoute = routeOwner.factoryFor('route:basic').class;\n            routeOwner.register(fullRouteName, DefaultRoute.extend());\n            route = routeOwner.lookup(fullRouteName);\n\n            if (true\n            /* DEBUG */\n            ) {\n                if ((0, _metal.get)(router, 'namespace.LOG_ACTIVE_GENERATION')) {\n                  (0, _debug.info)(\"generated -> \" + fullRouteName, {\n                    fullName: fullRouteName\n                  });\n                }\n              }\n          }\n\n          route._setRouteName(routeName);\n\n          if (engineInfo && !(0, _route.hasDefaultSerialize)(route)) {\n            throw new Error('Defining a custom serialize method on an Engine route is not supported.');\n          }\n\n          return route;\n        };\n\n        _proto2.getSerializer = function getSerializer(name) {\n          var engineInfo = router._engineInfoByRoute[name]; // If this is not an Engine route, we fall back to the handler for serialization\n\n          if (!engineInfo) {\n            return;\n          }\n\n          return engineInfo.serializeMethod || _route.defaultSerialize;\n        };\n\n        _proto2.updateURL = function updateURL(path) {\n          (0, _runloop.once)(function () {\n            location.setURL(path);\n            (0, _metal.set)(router, 'currentURL', path);\n          });\n        };\n\n        _proto2.didTransition = function didTransition(infos) {\n          if (_deprecatedFeatures.ROUTER_EVENTS) {\n            if (router.didTransition !== defaultDidTransition) {\n              true && !false && (0, _debug.deprecate)('You attempted to override the \"didTransition\" method which is deprecated. Please inject the router service and listen to the \"routeDidChange\" event.', false, {\n                id: 'deprecate-router-events',\n                until: '4.0.0',\n                url: 'https://emberjs.com/deprecations/v3.x#toc_deprecate-router-events'\n              });\n            }\n          }\n\n          router.didTransition(infos);\n        };\n\n        _proto2.willTransition = function willTransition(oldInfos, newInfos, transition) {\n          if (_deprecatedFeatures.ROUTER_EVENTS) {\n            if (router.willTransition !== defaultWillTransition) {\n              true && !false && (0, _debug.deprecate)('You attempted to override the \"willTransition\" method which is deprecated. Please inject the router service and listen to the \"routeWillChange\" event.', false, {\n                id: 'deprecate-router-events',\n                until: '4.0.0',\n                url: 'https://emberjs.com/deprecations/v3.x#toc_deprecate-router-events'\n              });\n            }\n          }\n\n          router.willTransition(oldInfos, newInfos, transition);\n        };\n\n        _proto2.triggerEvent = function triggerEvent(routeInfos, ignoreFailure, name, args) {\n          return _triggerEvent.bind(router)(routeInfos, ignoreFailure, name, args);\n        };\n\n        _proto2.routeWillChange = function routeWillChange(transition) {\n          router.trigger('routeWillChange', transition);\n        };\n\n        _proto2.routeDidChange = function routeDidChange(transition) {\n          router.set('currentRoute', transition.to);\n          (0, _runloop.once)(function () {\n            router.trigger('routeDidChange', transition);\n          });\n        };\n\n        _proto2.transitionDidError = function transitionDidError(error, transition) {\n          if (error.wasAborted || transition.isAborted) {\n            // If the error was a transition erorr or the transition aborted\n            // log the abort.\n            return (0, _router_js.logAbort)(transition);\n          } else {\n            // Otherwise trigger the \"error\" event to attempt an intermediate\n            // transition into an error substate\n            transition.trigger(false, 'error', error.error, transition, error.route);\n\n            if (router._isErrorHandled(error.error)) {\n              // If we handled the error with a substate just roll the state back on\n              // the transition and send the \"routeDidChange\" event for landing on\n              // the error substate and return the error.\n              transition.rollback();\n              this.routeDidChange(transition);\n              return error.error;\n            } else {\n              // If it was not handled, abort the transition completely and return\n              // the error.\n              transition.abort();\n              return error.error;\n            }\n          }\n        };\n\n        _proto2._triggerWillChangeContext = function _triggerWillChangeContext() {\n          return router;\n        };\n\n        _proto2._triggerWillLeave = function _triggerWillLeave() {\n          return router;\n        };\n\n        _proto2.replaceURL = function replaceURL(url) {\n          if (location.replaceURL) {\n            var doReplaceURL = function () {\n              location.replaceURL(url);\n              (0, _metal.set)(router, 'currentURL', url);\n            };\n\n            (0, _runloop.once)(doReplaceURL);\n          } else {\n            this.updateURL(url);\n          }\n        };\n\n        return PrivateRouter;\n      }(_router_js.default);\n\n      var routerMicrolib = this._routerMicrolib = new PrivateRouter();\n      var dslCallbacks = this.constructor.dslCallbacks || [K];\n\n      var dsl = this._buildDSL();\n\n      dsl.route('application', {\n        path: '/',\n        resetNamespace: true,\n        overrideNameAssertion: true\n      }, function () {\n        for (var i = 0; i < dslCallbacks.length; i++) {\n          dslCallbacks[i].call(this);\n        }\n      });\n\n      if (true\n      /* DEBUG */\n      ) {\n          if ((0, _metal.get)(this, 'namespace.LOG_TRANSITIONS_INTERNAL')) {\n            routerMicrolib.log = console.log.bind(console); // eslint-disable-line no-console\n          }\n        }\n\n      routerMicrolib.map(dsl.generate());\n    };\n\n    _proto._buildDSL = function _buildDSL() {\n      var enableLoadingSubstates = this._hasModuleBasedResolver();\n\n      var router = this;\n      var owner = (0, _owner.getOwner)(this);\n      var options = {\n        enableLoadingSubstates: enableLoadingSubstates,\n        resolveRouteMap: function (name) {\n          return owner.factoryFor(\"route-map:\" + name);\n        },\n        addRouteForEngine: function (name, engineInfo) {\n          if (!router._engineInfoByRoute[name]) {\n            router._engineInfoByRoute[name] = engineInfo;\n          }\n        }\n      };\n      return new _dsl.default(null, options);\n    }\n    /*\n      Resets all pending query parameter changes.\n      Called after transitioning to a new route\n      based on query parameter changes.\n    */\n    ;\n\n    _proto._resetQueuedQueryParameterChanges = function _resetQueuedQueryParameterChanges() {\n      this._queuedQPChanges = {};\n    };\n\n    _proto._hasModuleBasedResolver = function _hasModuleBasedResolver() {\n      var owner = (0, _owner.getOwner)(this);\n\n      if (!owner) {\n        return false;\n      }\n\n      var resolver = (0, _metal.get)(owner, 'application.__registry__.resolver.moduleBasedResolver');\n      return Boolean(resolver);\n    }\n    /**\n      Initializes the current router instance and sets up the change handling\n      event listeners used by the instances `location` implementation.\n         A property named `initialURL` will be used to determine the initial URL.\n      If no value is found `/` will be used.\n         @method startRouting\n      @private\n    */\n    ;\n\n    _proto.startRouting = function startRouting() {\n      var initialURL = (0, _metal.get)(this, 'initialURL');\n\n      if (this.setupRouter()) {\n        if (initialURL === undefined) {\n          initialURL = (0, _metal.get)(this, 'location').getURL();\n        }\n\n        var initialTransition = this.handleURL(initialURL);\n\n        if (initialTransition && initialTransition.error) {\n          throw initialTransition.error;\n        }\n      }\n    };\n\n    _proto.setupRouter = function setupRouter() {\n      var _this2 = this;\n\n      this._setupLocation();\n\n      var location = (0, _metal.get)(this, 'location'); // Allow the Location class to cancel the router setup while it refreshes\n      // the page\n\n      if ((0, _metal.get)(location, 'cancelRouterSetup')) {\n        return false;\n      }\n\n      this._initRouterJs();\n\n      location.onUpdateURL(function (url) {\n        _this2.handleURL(url);\n      });\n      return true;\n    };\n\n    _proto._setOutlets = function _setOutlets() {\n      // This is triggered async during Route#willDestroy.\n      // If the router is also being destroyed we do not want to\n      // to create another this._toplevelView (and leak the renderer)\n      if (this.isDestroying || this.isDestroyed) {\n        return;\n      }\n\n      var routeInfos = this._routerMicrolib.currentRouteInfos;\n      var route;\n      var defaultParentState;\n      var liveRoutes = null;\n\n      if (!routeInfos) {\n        return;\n      }\n\n      for (var i = 0; i < routeInfos.length; i++) {\n        route = routeInfos[i].route;\n        var connections = route.connections;\n        var ownState = void 0;\n\n        for (var j = 0; j < connections.length; j++) {\n          var appended = appendLiveRoute(liveRoutes, defaultParentState, connections[j]);\n          liveRoutes = appended.liveRoutes;\n\n          if (appended.ownState.render.name === route.routeName || appended.ownState.render.outlet === 'main') {\n            ownState = appended.ownState;\n          }\n        }\n\n        if (connections.length === 0) {\n          ownState = representEmptyRoute(liveRoutes, defaultParentState, route);\n        }\n\n        defaultParentState = ownState;\n      } // when a transitionTo happens after the validation phase\n      // during the initial transition _setOutlets is called\n      // when no routes are active. However, it will get called\n      // again with the correct values during the next turn of\n      // the runloop\n\n\n      if (!liveRoutes) {\n        return;\n      }\n\n      if (!this._toplevelView) {\n        var owner = (0, _owner.getOwner)(this);\n        var OutletView = owner.factoryFor('view:-outlet');\n        this._toplevelView = OutletView.create();\n\n        this._toplevelView.setOutletState(liveRoutes);\n\n        var instance = owner.lookup('-application-instance:main');\n        instance.didCreateRootView(this._toplevelView);\n      } else {\n        this._toplevelView.setOutletState(liveRoutes);\n      }\n    };\n\n    _proto.handleURL = function handleURL(url) {\n      // Until we have an ember-idiomatic way of accessing #hashes, we need to\n      // remove it because router.js doesn't know how to handle it.\n      var _url = url.split(/#(.+)?/)[0];\n      return this._doURLTransition('handleURL', _url);\n    };\n\n    _proto._doURLTransition = function _doURLTransition(routerJsMethod, url) {\n      var transition = this._routerMicrolib[routerJsMethod](url || '/');\n\n      didBeginTransition(transition, this);\n      return transition;\n    }\n    /**\n      Transition the application into another route. The route may\n      be either a single route or route path:\n         See [transitionTo](/api/ember/release/classes/Route/methods/transitionTo?anchor=transitionTo) for more info.\n         @method transitionTo\n      @param {String} name the name of the route or a URL\n      @param {...Object} models the model(s) or identifier(s) to be used while\n        transitioning to the route.\n      @param {Object} [options] optional hash with a queryParams property\n        containing a mapping of query parameters\n      @return {Transition} the transition object associated with this\n        attempted transition\n      @public\n    */\n    ;\n\n    _proto.transitionTo = function transitionTo() {\n      for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n\n      if ((0, _utils.resemblesURL)(args[0])) {\n        true && !(!this.isDestroying && !this.isDestroyed) && (0, _debug.assert)(\"A transition was attempted from '\" + this.currentRouteName + \"' to '\" + args[0] + \"' but the application instance has already been destroyed.\", !this.isDestroying && !this.isDestroyed);\n        return this._doURLTransition('transitionTo', args[0]);\n      }\n\n      var _extractRouteArgs = (0, _utils.extractRouteArgs)(args),\n          routeName = _extractRouteArgs.routeName,\n          models = _extractRouteArgs.models,\n          queryParams = _extractRouteArgs.queryParams;\n\n      true && !(!this.isDestroying && !this.isDestroyed) && (0, _debug.assert)(\"A transition was attempted from '\" + this.currentRouteName + \"' to '\" + routeName + \"' but the application instance has already been destroyed.\", !this.isDestroying && !this.isDestroyed);\n      return this._doTransition(routeName, models, queryParams);\n    };\n\n    _proto.intermediateTransitionTo = function intermediateTransitionTo(name) {\n      var _this$_routerMicrolib;\n\n      for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n        args[_key2 - 1] = arguments[_key2];\n      }\n\n      (_this$_routerMicrolib = this._routerMicrolib).intermediateTransitionTo.apply(_this$_routerMicrolib, [name].concat(args));\n\n      updatePaths(this);\n\n      if (true\n      /* DEBUG */\n      ) {\n          var infos = this._routerMicrolib.currentRouteInfos;\n\n          if ((0, _metal.get)(this, 'namespace').LOG_TRANSITIONS) {\n            // eslint-disable-next-line no-console\n            console.log(\"Intermediate-transitioned into '\" + EmberRouter._routePath(infos) + \"'\");\n          }\n        }\n    };\n\n    _proto.replaceWith = function replaceWith() {\n      return this.transitionTo.apply(this, arguments).method('replace');\n    };\n\n    _proto.generate = function generate(name) {\n      var _this$_routerMicrolib2;\n\n      for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {\n        args[_key3 - 1] = arguments[_key3];\n      }\n\n      var url = (_this$_routerMicrolib2 = this._routerMicrolib).generate.apply(_this$_routerMicrolib2, [name].concat(args));\n\n      return this.location.formatURL(url);\n    }\n    /**\n      Determines if the supplied route is currently active.\n         @method isActive\n      @param routeName\n      @return {Boolean}\n      @private\n    */\n    ;\n\n    _proto.isActive = function isActive(routeName) {\n      return this._routerMicrolib.isActive(routeName);\n    }\n    /**\n      An alternative form of `isActive` that doesn't require\n      manual concatenation of the arguments into a single\n      array.\n         @method isActiveIntent\n      @param routeName\n      @param models\n      @param queryParams\n      @return {Boolean}\n      @private\n      @since 1.7.0\n    */\n    ;\n\n    _proto.isActiveIntent = function isActiveIntent(routeName, models, queryParams) {\n      return this.currentState.isActiveIntent(routeName, models, queryParams);\n    };\n\n    _proto.send = function send(name) {\n      var _this$_routerMicrolib3;\n\n      for (var _len4 = arguments.length, args = new Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {\n        args[_key4 - 1] = arguments[_key4];\n      }\n      /*name, context*/\n\n\n      (_this$_routerMicrolib3 = this._routerMicrolib).trigger.apply(_this$_routerMicrolib3, [name].concat(args));\n    }\n    /**\n      Does this router instance have the given route.\n         @method hasRoute\n      @return {Boolean}\n      @private\n    */\n    ;\n\n    _proto.hasRoute = function hasRoute(route) {\n      return this._routerMicrolib.hasRoute(route);\n    }\n    /**\n      Resets the state of the router by clearing the current route\n      handlers and deactivating them.\n         @private\n      @method reset\n     */\n    ;\n\n    _proto.reset = function reset() {\n      if (this._routerMicrolib) {\n        this._routerMicrolib.reset();\n      }\n    };\n\n    _proto.willDestroy = function willDestroy() {\n      if (this._toplevelView) {\n        this._toplevelView.destroy();\n\n        this._toplevelView = null;\n      }\n\n      this._super.apply(this, arguments);\n\n      this.reset();\n      var instances = this._engineInstances;\n\n      for (var name in instances) {\n        for (var id in instances[name]) {\n          (0, _runloop.run)(instances[name][id], 'destroy');\n        }\n      }\n    }\n    /*\n      Called when an active route's query parameter has changed.\n      These changes are batched into a runloop run and trigger\n      a single transition.\n    */\n    ;\n\n    _proto._activeQPChanged = function _activeQPChanged(queryParameterName, newValue) {\n      this._queuedQPChanges[queryParameterName] = newValue;\n      (0, _runloop.once)(this, this._fireQueryParamTransition);\n    };\n\n    _proto._updatingQPChanged = function _updatingQPChanged(queryParameterName) {\n      this._qpUpdates.add(queryParameterName);\n    }\n    /*\n      Triggers a transition to a route based on query parameter changes.\n      This is called once per runloop, to batch changes.\n         e.g.\n         if these methods are called in succession:\n      this._activeQPChanged('foo', '10');\n        // results in _queuedQPChanges = { foo: '10' }\n      this._activeQPChanged('bar', false);\n        // results in _queuedQPChanges = { foo: '10', bar: false }\n         _queuedQPChanges will represent both of these changes\n      and the transition using `transitionTo` will be triggered\n      once.\n    */\n    ;\n\n    _proto._fireQueryParamTransition = function _fireQueryParamTransition() {\n      this.transitionTo({\n        queryParams: this._queuedQPChanges\n      });\n\n      this._resetQueuedQueryParameterChanges();\n    };\n\n    _proto._setupLocation = function _setupLocation() {\n      var location = this.location;\n      var rootURL = this.rootURL;\n      var owner = (0, _owner.getOwner)(this);\n\n      if ('string' === typeof location && owner) {\n        var resolvedLocation = owner.lookup(\"location:\" + location);\n\n        if (resolvedLocation !== undefined) {\n          location = (0, _metal.set)(this, 'location', resolvedLocation);\n        } else {\n          // Allow for deprecated registration of custom location API's\n          var options = {\n            implementation: location\n          };\n          location = (0, _metal.set)(this, 'location', _api.default.create(options));\n        }\n      }\n\n      if (location !== null && typeof location === 'object') {\n        if (rootURL) {\n          (0, _metal.set)(location, 'rootURL', rootURL);\n        } // Allow the location to do any feature detection, such as AutoLocation\n        // detecting history support. This gives it a chance to set its\n        // `cancelRouterSetup` property which aborts routing.\n\n\n        if (typeof location.detect === 'function') {\n          location.detect();\n        } // ensure that initState is called AFTER the rootURL is set on\n        // the location instance\n\n\n        if (typeof location.initState === 'function') {\n          location.initState();\n        }\n      }\n    }\n    /**\n      Serializes the given query params according to their QP meta information.\n         @private\n      @method _serializeQueryParams\n      @param {Arrray<RouteInfo>} routeInfos\n      @param {Object} queryParams\n      @return {Void}\n    */\n    ;\n\n    _proto._serializeQueryParams = function _serializeQueryParams(routeInfos, queryParams) {\n      var _this3 = this;\n\n      forEachQueryParam(this, routeInfos, queryParams, function (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] = _this3._serializeQueryParam(value, (0, _runtime.typeOf)(value));\n        }\n      });\n    }\n    /**\n      Serializes the value of a query parameter based on a type\n         @private\n      @method _serializeQueryParam\n      @param {Object} value\n      @param {String} type\n    */\n    ;\n\n    _proto._serializeQueryParam = function _serializeQueryParam(value, type) {\n      if (value === null || value === undefined) {\n        return value;\n      } else if (type === 'array') {\n        return JSON.stringify(value);\n      }\n\n      return \"\" + value;\n    }\n    /**\n      Deserializes the given query params according to their QP meta information.\n         @private\n      @method _deserializeQueryParams\n      @param {Array<RouteInfo>} routeInfos\n      @param {Object} queryParams\n      @return {Void}\n    */\n    ;\n\n    _proto._deserializeQueryParams = function _deserializeQueryParams(routeInfos, queryParams) {\n      forEachQueryParam(this, routeInfos, queryParams, function (key, value, qp) {\n        // If we don't have QP meta info for a given key, then we do nothing\n        // because all values will be treated as strings\n        if (qp) {\n          delete queryParams[key];\n          queryParams[qp.prop] = qp.route.deserializeQueryParam(value, qp.urlKey, qp.type);\n        }\n      });\n    }\n    /**\n      Deserializes the value of a query parameter based on a default type\n         @private\n      @method _deserializeQueryParam\n      @param {Object} value\n      @param {String} defaultType\n    */\n    ;\n\n    _proto._deserializeQueryParam = function _deserializeQueryParam(value, defaultType) {\n      if (value === null || value === undefined) {\n        return value;\n      } else if (defaultType === 'boolean') {\n        return value === 'true';\n      } else if (defaultType === 'number') {\n        return Number(value).valueOf();\n      } else if (defaultType === 'array') {\n        return (0, _runtime.A)(JSON.parse(value));\n      }\n\n      return value;\n    }\n    /**\n      Removes (prunes) any query params with default values from the given QP\n      object. Default values are determined from the QP meta information per key.\n         @private\n      @method _pruneDefaultQueryParamValues\n      @param {Array<RouteInfo>} routeInfos\n      @param {Object} queryParams\n      @return {Void}\n    */\n    ;\n\n    _proto._pruneDefaultQueryParamValues = function _pruneDefaultQueryParamValues(routeInfos, queryParams) {\n      var qps = this._queryParamsFor(routeInfos);\n\n      for (var key in queryParams) {\n        var qp = qps.map[key];\n\n        if (qp && qp.serializedDefaultValue === queryParams[key]) {\n          delete queryParams[key];\n        }\n      }\n    };\n\n    _proto._doTransition = function _doTransition(_targetRouteName, models, _queryParams, _keepDefaultQueryParamValues) {\n      var _this$_routerMicrolib4;\n\n      var targetRouteName = _targetRouteName || (0, _utils.getActiveTargetName)(this._routerMicrolib);\n\n      true && !(Boolean(targetRouteName) && this._routerMicrolib.hasRoute(targetRouteName)) && (0, _debug.assert)(\"The route \" + targetRouteName + \" was not found\", Boolean(targetRouteName) && this._routerMicrolib.hasRoute(targetRouteName));\n      var queryParams = {};\n\n      this._processActiveTransitionQueryParams(targetRouteName, models, queryParams, _queryParams);\n\n      (0, _polyfills.assign)(queryParams, _queryParams);\n\n      this._prepareQueryParams(targetRouteName, models, queryParams, Boolean(_keepDefaultQueryParamValues));\n\n      var transition = (_this$_routerMicrolib4 = this._routerMicrolib).transitionTo.apply(_this$_routerMicrolib4, [targetRouteName].concat(models, [{\n        queryParams: queryParams\n      }]));\n\n      didBeginTransition(transition, this);\n      return transition;\n    };\n\n    _proto._processActiveTransitionQueryParams = function _processActiveTransitionQueryParams(targetRouteName, models, queryParams, _queryParams) {\n      // merge in any queryParams from the active transition which could include\n      // queryParams from the url on initial load.\n      if (!this._routerMicrolib.activeTransition) {\n        return;\n      }\n\n      var unchangedQPs = {};\n      var qpUpdates = this._qpUpdates;\n      var params = this._routerMicrolib.activeTransition[_router_js.QUERY_PARAMS_SYMBOL];\n\n      for (var key in params) {\n        if (!qpUpdates.has(key)) {\n          unchangedQPs[key] = params[key];\n        }\n      } // We need to fully scope queryParams so that we can create one object\n      // that represents both passed-in queryParams and ones that aren't changed\n      // from the active transition.\n\n\n      this._fullyScopeQueryParams(targetRouteName, models, _queryParams);\n\n      this._fullyScopeQueryParams(targetRouteName, models, unchangedQPs);\n\n      (0, _polyfills.assign)(queryParams, unchangedQPs);\n    }\n    /**\n      Prepares the query params for a URL or Transition. Restores any undefined QP\n      keys/values, serializes all values, and then prunes any default values.\n         @private\n      @method _prepareQueryParams\n      @param {String} targetRouteName\n      @param {Array<Object>} models\n      @param {Object} queryParams\n      @param {boolean} keepDefaultQueryParamValues\n      @return {Void}\n    */\n    ;\n\n    _proto._prepareQueryParams = function _prepareQueryParams(targetRouteName, models, queryParams, _fromRouterService) {\n      var state = calculatePostTransitionState(this, targetRouteName, models);\n\n      this._hydrateUnsuppliedQueryParams(state, queryParams, Boolean(_fromRouterService));\n\n      this._serializeQueryParams(state.routeInfos, queryParams);\n\n      if (!_fromRouterService) {\n        this._pruneDefaultQueryParamValues(state.routeInfos, queryParams);\n      }\n    }\n    /**\n      Returns the meta information for the query params of a given route. This\n      will be overridden to allow support for lazy routes.\n         @private\n      @method _getQPMeta\n      @param {RouteInfo} routeInfo\n      @return {Object}\n    */\n    ;\n\n    _proto._getQPMeta = function _getQPMeta(routeInfo) {\n      var route = routeInfo.route;\n      return route && (0, _metal.get)(route, '_qp');\n    }\n    /**\n      Returns a merged query params meta object for a given set of routeInfos.\n      Useful for knowing what query params are available for a given route hierarchy.\n         @private\n      @method _queryParamsFor\n      @param {Array<RouteInfo>} routeInfos\n      @return {Object}\n     */\n    ;\n\n    _proto._queryParamsFor = function _queryParamsFor(routeInfos) {\n      var routeInfoLength = routeInfos.length;\n      var leafRouteName = routeInfos[routeInfoLength - 1].name;\n      var cached = this._qpCache[leafRouteName];\n\n      if (cached !== undefined) {\n        return cached;\n      }\n\n      var shouldCache = true;\n      var map = {};\n      var qps = [];\n      var qpsByUrlKey = true\n      /* DEBUG */\n      ? {} : null;\n      var qpMeta;\n      var qp;\n      var urlKey;\n      var qpOther;\n\n      for (var i = 0; i < routeInfoLength; ++i) {\n        qpMeta = this._getQPMeta(routeInfos[i]);\n\n        if (!qpMeta) {\n          shouldCache = false;\n          continue;\n        } // Loop over each QP to make sure we don't have any collisions by urlKey\n\n\n        for (var _i = 0; _i < qpMeta.qps.length; _i++) {\n          qp = qpMeta.qps[_i];\n\n          if (true\n          /* DEBUG */\n          ) {\n              urlKey = qp.urlKey;\n              qpOther = qpsByUrlKey[urlKey];\n\n              if (qpOther && qpOther.controllerName !== qp.controllerName) {\n                true && !false && (0, _debug.assert)(\"You're not allowed to have more than one controller property map to the same query param key, but both `\" + qpOther.scopedPropertyName + \"` and `\" + qp.scopedPropertyName + \"` map to `\" + urlKey + \"`. You can fix this by mapping one of the controller properties to a different query param key via the `as` config option, e.g. `\" + qpOther.prop + \": { as: 'other-\" + qpOther.prop + \"' }`\", false);\n              }\n\n              qpsByUrlKey[urlKey] = qp;\n            }\n\n          qps.push(qp);\n        }\n\n        (0, _polyfills.assign)(map, qpMeta.map);\n      }\n\n      var finalQPMeta = {\n        qps: qps,\n        map: map\n      };\n\n      if (shouldCache) {\n        this._qpCache[leafRouteName] = finalQPMeta;\n      }\n\n      return finalQPMeta;\n    }\n    /**\n      Maps all query param keys to their fully scoped property name of the form\n      `controllerName:propName`.\n         @private\n      @method _fullyScopeQueryParams\n      @param {String} leafRouteName\n      @param {Array<Object>} contexts\n      @param {Object} queryParams\n      @return {Void}\n    */\n    ;\n\n    _proto._fullyScopeQueryParams = function _fullyScopeQueryParams(leafRouteName, contexts, queryParams) {\n      var state = calculatePostTransitionState(this, leafRouteName, contexts);\n      var routeInfos = state.routeInfos;\n      var qpMeta;\n\n      for (var i = 0, len = routeInfos.length; i < len; ++i) {\n        qpMeta = this._getQPMeta(routeInfos[i]);\n\n        if (!qpMeta) {\n          continue;\n        }\n\n        var qp = void 0;\n        var presentProp = void 0;\n\n        for (var j = 0, qpLen = qpMeta.qps.length; j < qpLen; ++j) {\n          qp = qpMeta.qps[j];\n          presentProp = qp.prop in queryParams && qp.prop || qp.scopedPropertyName in queryParams && qp.scopedPropertyName || qp.urlKey in queryParams && qp.urlKey;\n\n          if (presentProp) {\n            if (presentProp !== qp.scopedPropertyName) {\n              queryParams[qp.scopedPropertyName] = queryParams[presentProp];\n              delete queryParams[presentProp];\n            }\n          }\n        }\n      }\n    }\n    /**\n      Hydrates (adds/restores) any query params that have pre-existing values into\n      the given queryParams hash. This is what allows query params to be \"sticky\"\n      and restore their last known values for their scope.\n         @private\n      @method _hydrateUnsuppliedQueryParams\n      @param {TransitionState} state\n      @param {Object} queryParams\n      @return {Void}\n    */\n    ;\n\n    _proto._hydrateUnsuppliedQueryParams = function _hydrateUnsuppliedQueryParams(state, queryParams, _fromRouterService) {\n      var routeInfos = state.routeInfos;\n      var appCache = this._bucketCache;\n      var qpMeta;\n      var qp;\n      var presentProp;\n\n      for (var i = 0; i < routeInfos.length; ++i) {\n        qpMeta = this._getQPMeta(routeInfos[i]);\n\n        if (!qpMeta) {\n          continue;\n        }\n\n        for (var j = 0, qpLen = qpMeta.qps.length; j < qpLen; ++j) {\n          qp = qpMeta.qps[j];\n          presentProp = qp.prop in queryParams && qp.prop || qp.scopedPropertyName in queryParams && qp.scopedPropertyName || qp.urlKey in queryParams && qp.urlKey;\n          true && !function () {\n            if (qp.urlKey === presentProp) {\n              return true;\n            }\n\n            if (_fromRouterService && presentProp !== false) {\n              return false;\n            }\n\n            return true;\n          }() && (0, _debug.assert)(\"You passed the `\" + presentProp + \"` query parameter during a transition into \" + qp.route.routeName + \", please update to \" + qp.urlKey, function () {\n            if (qp.urlKey === presentProp) {\n              return true;\n            }\n\n            if (_fromRouterService && presentProp !== false) {\n              return false;\n            }\n\n            return true;\n          }());\n\n          if (presentProp) {\n            if (presentProp !== qp.scopedPropertyName) {\n              queryParams[qp.scopedPropertyName] = queryParams[presentProp];\n              delete queryParams[presentProp];\n            }\n          } else {\n            var cacheKey = (0, _utils.calculateCacheKey)(qp.route.fullRouteName, qp.parts, state.params);\n            queryParams[qp.scopedPropertyName] = appCache.lookup(cacheKey, qp.prop, qp.defaultValue);\n          }\n        }\n      }\n    };\n\n    _proto._scheduleLoadingEvent = function _scheduleLoadingEvent(transition, originRoute) {\n      this._cancelSlowTransitionTimer();\n\n      this._slowTransitionTimer = (0, _runloop.scheduleOnce)('routerTransitions', this, '_handleSlowTransition', transition, originRoute);\n    };\n\n    _proto._handleSlowTransition = function _handleSlowTransition(transition, originRoute) {\n      if (!this._routerMicrolib.activeTransition) {\n        // Don't fire an event if we've since moved on from\n        // the transition that put us in a loading state.\n        return;\n      }\n\n      var targetState = new _router_state.default(this, this._routerMicrolib, this._routerMicrolib.activeTransition[_router_js.STATE_SYMBOL]);\n      this.set('targetState', targetState);\n      transition.trigger(true, 'loading', transition, originRoute);\n    };\n\n    _proto._cancelSlowTransitionTimer = function _cancelSlowTransitionTimer() {\n      if (this._slowTransitionTimer) {\n        (0, _runloop.cancel)(this._slowTransitionTimer);\n      }\n\n      this._slowTransitionTimer = null;\n    } // These three helper functions are used to ensure errors aren't\n    // re-raised if they're handled in a route's error action.\n    ;\n\n    _proto._markErrorAsHandled = function _markErrorAsHandled(error) {\n      this._handledErrors.add(error);\n    };\n\n    _proto._isErrorHandled = function _isErrorHandled(error) {\n      return this._handledErrors.has(error);\n    };\n\n    _proto._clearHandledError = function _clearHandledError(error) {\n      this._handledErrors.delete(error);\n    };\n\n    _proto._getEngineInstance = function _getEngineInstance(_ref) {\n      var name = _ref.name,\n          instanceId = _ref.instanceId,\n          mountPoint = _ref.mountPoint;\n      var engineInstances = this._engineInstances;\n\n      if (!engineInstances[name]) {\n        engineInstances[name] = Object.create(null);\n      }\n\n      var engineInstance = engineInstances[name][instanceId];\n\n      if (!engineInstance) {\n        var owner = (0, _owner.getOwner)(this);\n        true && !owner.hasRegistration(\"engine:\" + name) && (0, _debug.assert)(\"You attempted to mount the engine '\" + name + \"' in your router map, but the engine can not be found.\", owner.hasRegistration(\"engine:\" + name));\n        engineInstance = owner.buildChildEngineInstance(name, {\n          routable: true,\n          mountPoint: mountPoint\n        });\n        engineInstance.boot();\n        engineInstances[name][instanceId] = engineInstance;\n      }\n\n      return engineInstance;\n    };\n\n    return EmberRouter;\n  }(_runtime.Object);\n  /*\n    Helper function for iterating over routes in a set of routeInfos that are\n    at or above the given origin route. Example: if `originRoute` === 'foo.bar'\n    and the routeInfos given were for 'foo.bar.baz', then the given callback\n    will be invoked with the routes for 'foo.bar', 'foo', and 'application'\n    individually.\n  \n    If the callback returns anything other than `true`, then iteration will stop.\n  \n    @private\n    @param {Route} originRoute\n    @param {Array<RouteInfo>} routeInfos\n    @param {Function} callback\n    @return {Void}\n   */\n\n\n  function forEachRouteAbove(routeInfos, callback) {\n    for (var i = routeInfos.length - 1; i >= 0; --i) {\n      var routeInfo = routeInfos[i];\n      var route = routeInfo.route; // routeInfo.handler being `undefined` generally means either:\n      //\n      // 1. an error occurred during creation of the route in question\n      // 2. the route is across an async boundary (e.g. within an engine)\n      //\n      // In both of these cases, we cannot invoke the callback on that specific\n      // route, because it just doesn't exist...\n\n      if (route === undefined) {\n        continue;\n      }\n\n      if (callback(route, routeInfo) !== true) {\n        return;\n      }\n    }\n  } // These get invoked when an action bubbles above ApplicationRoute\n  // and are not meant to be overridable.\n\n\n  var defaultActionHandlers = {\n    willResolveModel: function (_routeInfos, transition, originRoute) {\n      this._scheduleLoadingEvent(transition, originRoute);\n    },\n    // Attempt to find an appropriate error route or substate to enter.\n    error: function (routeInfos, error, transition) {\n      var router = this;\n      var routeInfoWithError = routeInfos[routeInfos.length - 1];\n      forEachRouteAbove(routeInfos, function (route, routeInfo) {\n        // We don't check the leaf most routeInfo since that would\n        // technically be below where we're at in the route hierarchy.\n        if (routeInfo !== routeInfoWithError) {\n          // Check for the existence of an 'error' route.\n          var errorRouteName = findRouteStateName(route, 'error');\n\n          if (errorRouteName) {\n            router._markErrorAsHandled(error);\n\n            router.intermediateTransitionTo(errorRouteName, error);\n            return false;\n          }\n        } // Check for an 'error' substate route\n\n\n        var errorSubstateName = findRouteSubstateName(route, 'error');\n\n        if (errorSubstateName) {\n          router._markErrorAsHandled(error);\n\n          router.intermediateTransitionTo(errorSubstateName, error);\n          return false;\n        }\n\n        return true;\n      });\n      logError(error, \"Error while processing route: \" + transition.targetName);\n    },\n    // Attempt to find an appropriate loading route or substate to enter.\n    loading: function (routeInfos, transition) {\n      var router = this;\n      var routeInfoWithSlowLoading = routeInfos[routeInfos.length - 1];\n      forEachRouteAbove(routeInfos, function (route, routeInfo) {\n        // We don't check the leaf most routeInfos since that would\n        // technically be below where we're at in the route hierarchy.\n        if (routeInfo !== routeInfoWithSlowLoading) {\n          // Check for the existence of a 'loading' route.\n          var loadingRouteName = findRouteStateName(route, 'loading');\n\n          if (loadingRouteName) {\n            router.intermediateTransitionTo(loadingRouteName);\n            return false;\n          }\n        } // Check for loading substate\n\n\n        var loadingSubstateName = findRouteSubstateName(route, 'loading');\n\n        if (loadingSubstateName) {\n          router.intermediateTransitionTo(loadingSubstateName);\n          return false;\n        } // Don't bubble above pivot route.\n\n\n        return transition.pivotHandler !== route;\n      });\n    }\n  };\n\n  function logError(_error, initialMessage) {\n    var _console;\n\n    var errorArgs = [];\n    var error;\n\n    if (_error && typeof _error === 'object' && typeof _error.errorThrown === 'object') {\n      error = _error.errorThrown;\n    } else {\n      error = _error;\n    }\n\n    if (initialMessage) {\n      errorArgs.push(initialMessage);\n    }\n\n    if (error) {\n      if (error.message) {\n        errorArgs.push(error.message);\n      }\n\n      if (error.stack) {\n        errorArgs.push(error.stack);\n      }\n\n      if (typeof error === 'string') {\n        errorArgs.push(error);\n      }\n    }\n\n    (_console = console).error.apply(_console, errorArgs); //eslint-disable-line no-console\n\n  }\n  /**\n    Finds the name of the substate route if it exists for the given route. A\n    substate route is of the form `route_state`, such as `foo_loading`.\n  \n    @private\n    @param {Route} route\n    @param {String} state\n    @return {String}\n  */\n\n\n  function findRouteSubstateName(route, state) {\n    var owner = (0, _owner.getOwner)(route);\n    var routeName = route.routeName,\n        fullRouteName = route.fullRouteName,\n        router = route._router;\n    var substateName = routeName + \"_\" + state;\n    var substateNameFull = fullRouteName + \"_\" + state;\n    return routeHasBeenDefined(owner, router, substateName, substateNameFull) ? substateNameFull : '';\n  }\n  /**\n    Finds the name of the state route if it exists for the given route. A state\n    route is of the form `route.state`, such as `foo.loading`. Properly Handles\n    `application` named routes.\n  \n    @private\n    @param {Route} route\n    @param {String} state\n    @return {String}\n  */\n\n\n  function findRouteStateName(route, state) {\n    var owner = (0, _owner.getOwner)(route);\n    var routeName = route.routeName,\n        fullRouteName = route.fullRouteName,\n        router = route._router;\n    var stateName = routeName === 'application' ? state : routeName + \".\" + state;\n    var stateNameFull = fullRouteName === 'application' ? state : fullRouteName + \".\" + state;\n    return routeHasBeenDefined(owner, router, stateName, stateNameFull) ? stateNameFull : '';\n  }\n  /**\n    Determines whether or not a route has been defined by checking that the route\n    is in the Router's map and the owner has a registration for that route.\n  \n    @private\n    @param {Owner} owner\n    @param {Router} router\n    @param {String} localName\n    @param {String} fullName\n    @return {Boolean}\n  */\n\n\n  function routeHasBeenDefined(owner, router, localName, fullName) {\n    var routerHasRoute = router.hasRoute(fullName);\n    var ownerHasRoute = owner.hasRegistration(\"template:\" + localName) || owner.hasRegistration(\"route:\" + localName);\n    return routerHasRoute && ownerHasRoute;\n  }\n\n  function _triggerEvent(routeInfos, ignoreFailure, name, args) {\n    if (!routeInfos) {\n      if (ignoreFailure) {\n        return;\n      }\n\n      throw new _error2.default(\"Can't trigger action '\" + name + \"' because your app hasn't finished transitioning into its first route. To trigger an action on destination routes during a transition, you can call `.send()` on the `Transition` object passed to the `model/beforeModel/afterModel` hooks.\");\n    }\n\n    var eventWasHandled = false;\n    var routeInfo, handler, actionHandler;\n\n    for (var i = routeInfos.length - 1; i >= 0; i--) {\n      routeInfo = routeInfos[i];\n      handler = routeInfo.route;\n      actionHandler = handler && handler.actions && handler.actions[name];\n\n      if (actionHandler) {\n        if (actionHandler.apply(handler, args) === true) {\n          eventWasHandled = true;\n        } else {\n          // Should only hit here if a non-bubbling error action is triggered on a route.\n          if (name === 'error') {\n            handler._router._markErrorAsHandled(args[0]);\n          }\n\n          return;\n        }\n      }\n    }\n\n    var defaultHandler = defaultActionHandlers[name];\n\n    if (defaultHandler) {\n      defaultHandler.apply(this, [routeInfos].concat(args));\n      return;\n    }\n\n    if (!eventWasHandled && !ignoreFailure) {\n      throw new _error2.default(\"Nothing handled the action '\" + name + \"'. If you did handle the action, this error can be caused by returning true from an action handler in a controller, causing the action to bubble.\");\n    }\n  }\n\n  function calculatePostTransitionState(emberRouter, leafRouteName, contexts) {\n    var state = emberRouter._routerMicrolib.applyIntent(leafRouteName, contexts);\n\n    var routeInfos = state.routeInfos,\n        params = state.params;\n\n    for (var i = 0; i < routeInfos.length; ++i) {\n      var routeInfo = routeInfos[i]; // If the routeInfo is not resolved, we serialize the context into params\n\n      if (!routeInfo.isResolved) {\n        params[routeInfo.name] = routeInfo.serialize(routeInfo.context);\n      } else {\n        params[routeInfo.name] = routeInfo.params;\n      }\n    }\n\n    return state;\n  }\n\n  function updatePaths(router) {\n    var infos = router._routerMicrolib.currentRouteInfos;\n\n    if (infos.length === 0) {\n      return;\n    }\n\n    var path = EmberRouter._routePath(infos);\n\n    var currentRouteName = infos[infos.length - 1].name;\n    var currentURL = router.get('location').getURL();\n    (0, _metal.set)(router, 'currentPath', path);\n    (0, _metal.set)(router, 'currentRouteName', currentRouteName);\n    (0, _metal.set)(router, 'currentURL', currentURL);\n    var appController = (0, _owner.getOwner)(router).lookup('controller:application');\n\n    if (!appController) {\n      // appController might not exist when top-level loading/error\n      // substates have been entered since ApplicationRoute hasn't\n      // actually been entered at that point.\n      return;\n    }\n\n    if (_deprecatedFeatures.APP_CTRL_ROUTER_PROPS) {\n      if (!('currentPath' in appController)) {\n        Object.defineProperty(appController, 'currentPath', {\n          get: function () {\n            true && !false && (0, _debug.deprecate)('Accessing `currentPath` on `controller:application` is deprecated, use the `currentPath` property on `service:router` instead.', false, {\n              id: 'application-controller.router-properties',\n              until: '4.0.0',\n              url: 'https://emberjs.com/deprecations/v3.x#toc_application-controller-router-properties'\n            });\n            return (0, _metal.get)(router, 'currentPath');\n          }\n        });\n      }\n\n      (0, _metal.notifyPropertyChange)(appController, 'currentPath');\n\n      if (!('currentRouteName' in appController)) {\n        Object.defineProperty(appController, 'currentRouteName', {\n          get: function () {\n            true && !false && (0, _debug.deprecate)('Accessing `currentRouteName` on `controller:application` is deprecated, use the `currentRouteName` property on `service:router` instead.', false, {\n              id: 'application-controller.router-properties',\n              until: '4.0.0',\n              url: 'https://emberjs.com/deprecations/v3.x#toc_application-controller-router-properties'\n            });\n            return (0, _metal.get)(router, 'currentRouteName');\n          }\n        });\n      }\n\n      (0, _metal.notifyPropertyChange)(appController, 'currentRouteName');\n    }\n  }\n\n  EmberRouter.reopenClass({\n    /**\n      The `Router.map` function allows you to define mappings from URLs to routes\n      in your application. These mappings are defined within the\n      supplied callback function using `this.route`.\n         The first parameter is the name of the route which is used by default as the\n      path name as well.\n         The second parameter is the optional options hash. Available options are:\n           * `path`: allows you to provide your own path as well as mark dynamic\n          segments.\n        * `resetNamespace`: false by default; when nesting routes, ember will\n          combine the route names to form the fully-qualified route name, which is\n          used with `{{link-to}}` or manually transitioning to routes. Setting\n          `resetNamespace: true` will cause the route not to inherit from its\n          parent route's names. This is handy for preventing extremely long route names.\n          Keep in mind that the actual URL path behavior is still retained.\n         The third parameter is a function, which can be used to nest routes.\n      Nested routes, by default, will have the parent route tree's route name and\n      path prepended to it's own.\n         ```app/router.js\n      Router.map(function(){\n        this.route('post', { path: '/post/:post_id' }, function() {\n          this.route('edit');\n          this.route('comments', { resetNamespace: true }, function() {\n            this.route('new');\n          });\n        });\n      });\n      ```\n         @method map\n      @param callback\n      @public\n    */\n    map: function (callback) {\n      if (!this.dslCallbacks) {\n        this.dslCallbacks = [];\n        this.reopenClass({\n          dslCallbacks: this.dslCallbacks\n        });\n      }\n\n      this.dslCallbacks.push(callback);\n      return this;\n    },\n    _routePath: function (routeInfos) {\n      var path = []; // We have to handle coalescing resource names that\n      // are prefixed with their parent's names, e.g.\n      // ['foo', 'foo.bar.baz'] => 'foo.bar.baz', not 'foo.foo.bar.baz'\n\n      function intersectionMatches(a1, a2) {\n        for (var i = 0; i < a1.length; ++i) {\n          if (a1[i] !== a2[i]) {\n            return false;\n          }\n        }\n\n        return true;\n      }\n\n      var name, nameParts, oldNameParts;\n\n      for (var i = 1; i < routeInfos.length; i++) {\n        name = routeInfos[i].name;\n        nameParts = name.split('.');\n        oldNameParts = slice.call(path);\n\n        while (oldNameParts.length) {\n          if (intersectionMatches(oldNameParts, nameParts)) {\n            break;\n          }\n\n          oldNameParts.shift();\n        }\n\n        path.push.apply(path, nameParts.slice(oldNameParts.length));\n      }\n\n      return path.join('.');\n    }\n  });\n\n  function didBeginTransition(transition, router) {\n    var routerState = new _router_state.default(router, router._routerMicrolib, transition[_router_js.STATE_SYMBOL]);\n\n    if (!router.currentState) {\n      router.set('currentState', routerState);\n    }\n\n    router.set('targetState', routerState);\n    transition.promise = transition.catch(function (error) {\n      if (router._isErrorHandled(error)) {\n        router._clearHandledError(error);\n      } else {\n        throw error;\n      }\n    }, 'Transition Error');\n  }\n\n  function forEachQueryParam(router, routeInfos, queryParams, callback) {\n    var qpCache = router._queryParamsFor(routeInfos);\n\n    for (var key in queryParams) {\n      if (!queryParams.hasOwnProperty(key)) {\n        continue;\n      }\n\n      var value = queryParams[key];\n      var qp = qpCache.map[key];\n      callback(key, value, qp);\n    }\n  }\n\n  function findLiveRoute(liveRoutes, name) {\n    if (!liveRoutes) {\n      return;\n    }\n\n    var stack = [liveRoutes];\n\n    while (stack.length > 0) {\n      var test = stack.shift();\n\n      if (test.render.name === name) {\n        return test;\n      }\n\n      var outlets = test.outlets;\n\n      for (var outletName in outlets) {\n        stack.push(outlets[outletName]);\n      }\n    }\n\n    return;\n  }\n\n  function appendLiveRoute(liveRoutes, defaultParentState, renderOptions) {\n    var target;\n    var myState = {\n      render: renderOptions,\n      outlets: Object.create(null),\n      wasUsed: false\n    };\n\n    if (renderOptions.into) {\n      target = findLiveRoute(liveRoutes, renderOptions.into);\n    } else {\n      target = defaultParentState;\n    }\n\n    if (target) {\n      (0, _metal.set)(target.outlets, renderOptions.outlet, myState);\n    } else {\n      liveRoutes = myState;\n    }\n\n    return {\n      liveRoutes: liveRoutes,\n      ownState: myState\n    };\n  }\n\n  function representEmptyRoute(liveRoutes, defaultParentState, route) {\n    // the route didn't render anything\n    var alreadyAppended = findLiveRoute(liveRoutes, route.routeName);\n\n    if (alreadyAppended) {\n      // But some other route has already rendered our default\n      // template, so that becomes the default target for any\n      // children we may have.\n      return alreadyAppended;\n    } else {\n      // Create an entry to represent our default template name,\n      // just so other routes can target it and inherit its place\n      // in the outlet hierarchy.\n      defaultParentState.outlets.main = {\n        render: {\n          name: route.routeName,\n          outlet: 'main'\n        },\n        outlets: {}\n      };\n      return defaultParentState;\n    }\n  }\n\n  EmberRouter.reopen(_runtime.Evented, {\n    /**\n      Handles updating the paths and notifying any listeners of the URL\n      change.\n         Triggers the router level `didTransition` hook.\n         For example, to notify google analytics when the route changes,\n      you could use this hook.  (Note: requires also including GA scripts, etc.)\n         ```javascript\n      import config from './config/environment';\n      import EmberRouter from '@ember/routing/router';\n      import { inject as service } from '@ember/service';\n         let Router = EmberRouter.extend({\n        location: config.locationType,\n           router: service(),\n           didTransition: function() {\n          this._super(...arguments);\n             ga('send', 'pageview', {\n            page: this.router.currentURL,\n            title: this.router.currentRouteName,\n          });\n        }\n      });\n      ```\n         @method didTransition\n      @public\n      @since 1.2.0\n    */\n    didTransition: defaultDidTransition,\n\n    /**\n      Handles notifying any listeners of an impending URL\n      change.\n         Triggers the router level `willTransition` hook.\n         @method willTransition\n      @public\n      @since 1.11.0\n    */\n    willTransition: defaultWillTransition,\n\n    /**\n     Represents the URL of the root of the application, often '/'. This prefix is\n     assumed on all routes defined on this router.\n        @property rootURL\n     @default '/'\n     @public\n    */\n    rootURL: '/',\n\n    /**\n     The `location` property determines the type of URL's that your\n     application will use.\n        The following location types are currently available:\n        * `history` - use the browser's history API to make the URLs look just like any standard URL\n     * `hash` - use `#` to separate the server part of the URL from the Ember part: `/blog/#/posts/new`\n     * `none` - do not store the Ember URL in the actual browser URL (mainly used for testing)\n     * `auto` - use the best option based on browser capabilities: `history` if possible, then `hash` if possible, otherwise `none`\n        This value is defaulted to `auto` by the `locationType` setting of `/config/environment.js`\n        @property location\n     @default 'hash'\n     @see {Location}\n     @public\n    */\n    location: 'hash',\n\n    /**\n     Represents the current URL.\n        @property url\n     @type {String}\n     @private\n    */\n    url: (0, _metal.computed)(function () {\n      return (0, _metal.get)(this, 'location').getURL();\n    })\n  });\n\n  if (_deprecatedFeatures.ROUTER_EVENTS) {\n    EmberRouter.reopen(_route.ROUTER_EVENT_DEPRECATIONS);\n  }\n\n  var _default = EmberRouter;\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/routing/lib/system/router_state\", [\"exports\", \"@ember/polyfills\", \"@ember/-internals/routing/lib/utils\"], function (_exports, _polyfills, _utils) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  var RouterState =\n  /*#__PURE__*/\n  function () {\n    function RouterState(emberRouter, router, routerJsState) {\n      this.emberRouter = emberRouter;\n      this.router = router;\n      this.routerJsState = routerJsState;\n    }\n\n    var _proto = RouterState.prototype;\n\n    _proto.isActiveIntent = function isActiveIntent(routeName, models, queryParams, queryParamsMustMatch) {\n      var state = this.routerJsState;\n\n      if (!this.router.isActiveIntent(routeName, models, undefined, state)) {\n        return false;\n      }\n\n      if (queryParamsMustMatch && Object.keys(queryParams).length > 0) {\n        var visibleQueryParams = (0, _polyfills.assign)({}, queryParams);\n\n        this.emberRouter._prepareQueryParams(routeName, models, visibleQueryParams);\n\n        return (0, _utils.shallowEqual)(visibleQueryParams, state.queryParams);\n      }\n\n      return true;\n    };\n\n    return RouterState;\n  }();\n\n  _exports.default = RouterState;\n});","enifed(\"@ember/-internals/routing/lib/system/transition\", [], function () {\n  \"use strict\";\n  /**\n    A Transition is a thennable (a promise-like object) that represents\n    an attempt to transition to another route. It can be aborted, either\n    explicitly via `abort` or by attempting another transition while a\n    previous one is still underway. An aborted transition can also\n    be `retry()`d later.\n  \n    @class Transition\n    @public\n  */\n\n  /**\n    The Transition's internal promise. Calling `.then` on this property\n    is that same as calling `.then` on the Transition object itself, but\n    this property is exposed for when you want to pass around a\n    Transition's promise, but not the Transition object itself, since\n    Transition object can be externally `abort`ed, while the promise\n    cannot.\n  \n    @property promise\n    @type {Object}\n    @public\n    */\n\n  /**\n    Custom state can be stored on a Transition's `data` object.\n    This can be useful for decorating a Transition within an earlier\n    hook and shared with a later hook. Properties set on `data` will\n    be copied to new transitions generated by calling `retry` on this\n    transition.\n  \n    @property data\n    @type {Object}\n    @public\n  */\n\n  /**\n    A standard promise hook that resolves if the transition\n    succeeds and rejects if it fails/redirects/aborts.\n  \n    Forwards to the internal `promise` property which you can\n    use in situations where you want to pass around a thennable,\n    but not the Transition itself.\n  \n    @method then\n    @param {Function} onFulfilled\n    @param {Function} onRejected\n    @param {String} label optional string for labeling the promise.\n    Useful for tooling.\n    @return {Promise}\n    @public\n  */\n\n  /**\n  \n    Forwards to the internal `promise` property which you can\n    use in situations where you want to pass around a thennable,\n    but not the Transition itself.\n  \n    @method catch\n    @param {Function} onRejection\n    @param {String} label optional string for labeling the promise.\n    Useful for tooling.\n    @return {Promise}\n    @public\n  */\n\n  /**\n  \n    Forwards to the internal `promise` property which you can\n    use in situations where you want to pass around a thennable,\n    but not the Transition itself.\n  \n    @method finally\n    @param {Function} callback\n    @param {String} label optional string for labeling the promise.\n    Useful for tooling.\n    @return {Promise}\n    @public\n  */\n\n  /**\n    Aborts the Transition. Note you can also implicitly abort a transition\n    by initiating another transition while a previous one is underway.\n  \n    @method abort\n    @return {Transition} this transition\n    @public\n  */\n\n  /**\n  \n    Retries a previously-aborted transition (making sure to abort the\n    transition if it's still active). Returns a new transition that\n    represents the new attempt to transition.\n  \n    @method retry\n    @return {Transition} new transition\n    @public\n    */\n\n  /**\n  \n    Sets the URL-changing method to be employed at the end of a\n    successful transition. By default, a new Transition will just\n    use `updateURL`, but passing 'replace' to this method will\n    cause the URL to update using 'replaceWith' instead. Omitting\n    a parameter will disable the URL change, allowing for transitions\n    that don't update the URL at completion (this is also used for\n    handleURL, since the URL has already changed before the\n    transition took place).\n  \n    @method method\n    @param {String} method the type of URL-changing method to use\n      at the end of a transition. Accepted values are 'replace',\n      falsy values, or any other non-falsy value (which is\n      interpreted as an updateURL transition).\n  \n    @return {Transition} this transition\n    @public\n  */\n\n  /**\n  \n    Fires an event on the current list of resolved/resolving\n    handlers within this transition. Useful for firing events\n    on route hierarchies that haven't fully been entered yet.\n  \n    Note: This method is also aliased as `send`\n  \n    @method trigger\n    @param {Boolean} [ignoreFailure=false] a boolean specifying whether unhandled events throw an error\n    @param {String} name the name of the event to fire\n    @public\n  */\n\n  /**\n   * This property is a `RouteInfo` object that represents\n   * where the router is transitioning to. It's important\n   * to note that a `RouteInfo` is a linked list and this\n   * property represents the leafmost route.\n   * @property {RouteInfo|RouteInfoWithAttributes} to\n   * @public\n   */\n\n  /**\n   * This property is a `RouteInfo` object that represents\n   * where transition originated from. It's important\n   * to note that a `RouteInfo` is a linked list and this\n   * property represents the head node of the list.\n   * In the case of an initial render, `from` will be set to\n   * `null`.\n   * @property {RouteInfoWithAttributes} from\n   * @public\n   */\n\n  /**\n    Transitions are aborted and their promises rejected\n    when redirects occur; this method returns a promise\n    that will follow any redirects that occur and fulfill\n    with the value fulfilled by any redirecting transitions\n    that occur.\n  \n    @method followRedirects\n    @return {Promise} a promise that fulfills with the same\n      value that the final redirecting transition fulfills with\n    @public\n  */\n});","enifed(\"@ember/-internals/routing/lib/utils\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/owner\", \"@ember/error\", \"@ember/polyfills\", \"router_js\"], function (_exports, _metal, _owner, _error, _polyfills, _router_js) {\n  \"use strict\";\n\n  _exports.extractRouteArgs = extractRouteArgs;\n  _exports.getActiveTargetName = getActiveTargetName;\n  _exports.stashParamNames = stashParamNames;\n  _exports.calculateCacheKey = calculateCacheKey;\n  _exports.normalizeControllerQueryParams = normalizeControllerQueryParams;\n  _exports.resemblesURL = resemblesURL;\n  _exports.prefixRouteNameArg = prefixRouteNameArg;\n  _exports.shallowEqual = shallowEqual;\n  var ALL_PERIODS_REGEX = /\\./g;\n\n  function extractRouteArgs(args) {\n    args = args.slice();\n    var possibleQueryParams = args[args.length - 1];\n    var queryParams;\n\n    if (possibleQueryParams && possibleQueryParams.hasOwnProperty('queryParams')) {\n      queryParams = args.pop().queryParams;\n    } else {\n      queryParams = {};\n    }\n\n    var routeName = args.shift();\n    return {\n      routeName: routeName,\n      models: args,\n      queryParams: queryParams\n    };\n  }\n\n  function getActiveTargetName(router) {\n    var routeInfos = router.activeTransition ? router.activeTransition[_router_js.STATE_SYMBOL].routeInfos : router.state.routeInfos;\n    return routeInfos[routeInfos.length - 1].name;\n  }\n\n  function stashParamNames(router, routeInfos) {\n    if (routeInfos['_namesStashed']) {\n      return;\n    } // This helper exists because router.js/route-recognizer.js awkwardly\n    // keeps separate a routeInfo's list of parameter names depending\n    // on whether a URL transition or named transition is happening.\n    // Hopefully we can remove this in the future.\n\n\n    var targetRouteName = routeInfos[routeInfos.length - 1].name;\n\n    var recogHandlers = router._routerMicrolib.recognizer.handlersFor(targetRouteName);\n\n    var dynamicParent;\n\n    for (var i = 0; i < routeInfos.length; ++i) {\n      var routeInfo = routeInfos[i];\n      var names = recogHandlers[i].names;\n\n      if (names.length) {\n        dynamicParent = routeInfo;\n      }\n\n      routeInfo['_names'] = names;\n      var route = routeInfo.route;\n\n      route._stashNames(routeInfo, dynamicParent);\n    }\n\n    routeInfos['_namesStashed'] = true;\n  }\n\n  function _calculateCacheValuePrefix(prefix, part) {\n    // calculates the dot separated sections from prefix that are also\n    // at the start of part - which gives us the route name\n    // given : prefix = site.article.comments, part = site.article.id\n    //      - returns: site.article (use get(values[site.article], 'id') to get the dynamic part - used below)\n    // given : prefix = site.article, part = site.article.id\n    //      - returns: site.article. (use get(values[site.article], 'id') to get the dynamic part - used below)\n    var prefixParts = prefix.split('.');\n    var currPrefix = '';\n\n    for (var i = 0; i < prefixParts.length; i++) {\n      var currPart = prefixParts.slice(0, i + 1).join('.');\n\n      if (part.indexOf(currPart) !== 0) {\n        break;\n      }\n\n      currPrefix = currPart;\n    }\n\n    return currPrefix;\n  }\n  /*\n    Stolen from Controller\n  */\n\n\n  function calculateCacheKey(prefix) {\n    var parts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n    var values = arguments.length > 2 ? arguments[2] : undefined;\n    var suffixes = '';\n\n    for (var i = 0; i < parts.length; ++i) {\n      var part = parts[i];\n\n      var cacheValuePrefix = _calculateCacheValuePrefix(prefix, part);\n\n      var value = void 0;\n\n      if (values) {\n        if (cacheValuePrefix && cacheValuePrefix in values) {\n          var partRemovedPrefix = part.indexOf(cacheValuePrefix) === 0 ? part.substr(cacheValuePrefix.length + 1) : part;\n          value = (0, _metal.get)(values[cacheValuePrefix], partRemovedPrefix);\n        } else {\n          value = (0, _metal.get)(values, part);\n        }\n      }\n\n      suffixes += \"::\" + part + \":\" + value;\n    }\n\n    return prefix + suffixes.replace(ALL_PERIODS_REGEX, '-');\n  }\n  /*\n    Controller-defined query parameters can come in three shapes:\n  \n    Array\n      queryParams: ['foo', 'bar']\n    Array of simple objects where value is an alias\n      queryParams: [\n        {\n          'foo': 'rename_foo_to_this'\n        },\n        {\n          'bar': 'call_bar_this_instead'\n        }\n      ]\n    Array of fully defined objects\n      queryParams: [\n        {\n          'foo': {\n            as: 'rename_foo_to_this'\n          },\n        }\n        {\n          'bar': {\n            as: 'call_bar_this_instead',\n            scope: 'controller'\n          }\n        }\n      ]\n  \n    This helper normalizes all three possible styles into the\n    'Array of fully defined objects' style.\n  */\n\n\n  function normalizeControllerQueryParams(queryParams) {\n    var qpMap = {};\n\n    for (var i = 0; i < queryParams.length; ++i) {\n      accumulateQueryParamDescriptors(queryParams[i], qpMap);\n    }\n\n    return qpMap;\n  }\n\n  function accumulateQueryParamDescriptors(_desc, accum) {\n    var desc = _desc;\n    var tmp;\n\n    if (typeof desc === 'string') {\n      tmp = {};\n      tmp[desc] = {\n        as: null\n      };\n      desc = tmp;\n    }\n\n    for (var key in desc) {\n      if (!desc.hasOwnProperty(key)) {\n        return;\n      }\n\n      var singleDesc = desc[key];\n\n      if (typeof singleDesc === 'string') {\n        singleDesc = {\n          as: singleDesc\n        };\n      }\n\n      tmp = accum[key] || {\n        as: null,\n        scope: 'model'\n      };\n      (0, _polyfills.assign)(tmp, singleDesc);\n      accum[key] = tmp;\n    }\n  }\n  /*\n    Check if a routeName resembles a url instead\n  \n    @private\n  */\n\n\n  function resemblesURL(str) {\n    return typeof str === 'string' && (str === '' || str[0] === '/');\n  }\n  /*\n    Returns an arguments array where the route name arg is prefixed based on the mount point\n  \n    @private\n  */\n\n\n  function prefixRouteNameArg(route, args) {\n    var routeName = args[0];\n    var owner = (0, _owner.getOwner)(route);\n    var prefix = owner.mountPoint; // only alter the routeName if it's actually referencing a route.\n\n    if (owner.routable && typeof routeName === 'string') {\n      if (resemblesURL(routeName)) {\n        throw new _error.default('Programmatic transitions by URL cannot be used within an Engine. Please use the route name instead.');\n      } else {\n        routeName = prefix + \".\" + routeName;\n        args[0] = routeName;\n      }\n    }\n\n    return args;\n  }\n\n  function shallowEqual(a, b) {\n    var k;\n    var aCount = 0;\n    var bCount = 0;\n\n    for (k in a) {\n      if (a.hasOwnProperty(k)) {\n        if (a[k] !== b[k]) {\n          return false;\n        }\n\n        aCount++;\n      }\n    }\n\n    for (k in b) {\n      if (b.hasOwnProperty(k)) {\n        bCount++;\n      }\n    }\n\n    return aCount === bCount;\n  }\n});","enifed(\"@ember/-internals/runtime/index\", [\"exports\", \"@ember/-internals/runtime/lib/system/object\", \"@ember/-internals/runtime/lib/mixins/registry_proxy\", \"@ember/-internals/runtime/lib/mixins/container_proxy\", \"@ember/-internals/runtime/lib/copy\", \"@ember/-internals/runtime/lib/compare\", \"@ember/-internals/runtime/lib/is-equal\", \"@ember/-internals/runtime/lib/mixins/array\", \"@ember/-internals/runtime/lib/mixins/comparable\", \"@ember/-internals/runtime/lib/system/namespace\", \"@ember/-internals/runtime/lib/system/array_proxy\", \"@ember/-internals/runtime/lib/system/object_proxy\", \"@ember/-internals/runtime/lib/system/core_object\", \"@ember/-internals/runtime/lib/mixins/action_handler\", \"@ember/-internals/runtime/lib/mixins/copyable\", \"@ember/-internals/runtime/lib/mixins/enumerable\", \"@ember/-internals/runtime/lib/mixins/-proxy\", \"@ember/-internals/runtime/lib/mixins/observable\", \"@ember/-internals/runtime/lib/mixins/mutable_enumerable\", \"@ember/-internals/runtime/lib/mixins/target_action_support\", \"@ember/-internals/runtime/lib/mixins/evented\", \"@ember/-internals/runtime/lib/mixins/promise_proxy\", \"@ember/-internals/runtime/lib/ext/rsvp\", \"@ember/-internals/runtime/lib/type-of\", \"@ember/-internals/runtime/lib/ext/function\"], function (_exports, _object, _registry_proxy, _container_proxy, _copy, _compare, _isEqual, _array, _comparable, _namespace, _array_proxy, _object_proxy, _core_object, _action_handler, _copyable, _enumerable, _proxy, _observable, _mutable_enumerable, _target_action_support, _evented, _promise_proxy, _rsvp, _typeOf, _function) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"Object\", {\n    enumerable: true,\n    get: function () {\n      return _object.default;\n    }\n  });\n  Object.defineProperty(_exports, \"FrameworkObject\", {\n    enumerable: true,\n    get: function () {\n      return _object.FrameworkObject;\n    }\n  });\n  Object.defineProperty(_exports, \"RegistryProxyMixin\", {\n    enumerable: true,\n    get: function () {\n      return _registry_proxy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ContainerProxyMixin\", {\n    enumerable: true,\n    get: function () {\n      return _container_proxy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"copy\", {\n    enumerable: true,\n    get: function () {\n      return _copy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"compare\", {\n    enumerable: true,\n    get: function () {\n      return _compare.default;\n    }\n  });\n  Object.defineProperty(_exports, \"isEqual\", {\n    enumerable: true,\n    get: function () {\n      return _isEqual.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Array\", {\n    enumerable: true,\n    get: function () {\n      return _array.default;\n    }\n  });\n  Object.defineProperty(_exports, \"NativeArray\", {\n    enumerable: true,\n    get: function () {\n      return _array.NativeArray;\n    }\n  });\n  Object.defineProperty(_exports, \"A\", {\n    enumerable: true,\n    get: function () {\n      return _array.A;\n    }\n  });\n  Object.defineProperty(_exports, \"MutableArray\", {\n    enumerable: true,\n    get: function () {\n      return _array.MutableArray;\n    }\n  });\n  Object.defineProperty(_exports, \"removeAt\", {\n    enumerable: true,\n    get: function () {\n      return _array.removeAt;\n    }\n  });\n  Object.defineProperty(_exports, \"uniqBy\", {\n    enumerable: true,\n    get: function () {\n      return _array.uniqBy;\n    }\n  });\n  Object.defineProperty(_exports, \"isArray\", {\n    enumerable: true,\n    get: function () {\n      return _array.isArray;\n    }\n  });\n  Object.defineProperty(_exports, \"Comparable\", {\n    enumerable: true,\n    get: function () {\n      return _comparable.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Namespace\", {\n    enumerable: true,\n    get: function () {\n      return _namespace.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ArrayProxy\", {\n    enumerable: true,\n    get: function () {\n      return _array_proxy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ObjectProxy\", {\n    enumerable: true,\n    get: function () {\n      return _object_proxy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"CoreObject\", {\n    enumerable: true,\n    get: function () {\n      return _core_object.default;\n    }\n  });\n  Object.defineProperty(_exports, \"setFrameworkClass\", {\n    enumerable: true,\n    get: function () {\n      return _core_object.setFrameworkClass;\n    }\n  });\n  Object.defineProperty(_exports, \"ActionHandler\", {\n    enumerable: true,\n    get: function () {\n      return _action_handler.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Copyable\", {\n    enumerable: true,\n    get: function () {\n      return _copyable.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Enumerable\", {\n    enumerable: true,\n    get: function () {\n      return _enumerable.default;\n    }\n  });\n  Object.defineProperty(_exports, \"_ProxyMixin\", {\n    enumerable: true,\n    get: function () {\n      return _proxy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"_contentFor\", {\n    enumerable: true,\n    get: function () {\n      return _proxy.contentFor;\n    }\n  });\n  Object.defineProperty(_exports, \"Observable\", {\n    enumerable: true,\n    get: function () {\n      return _observable.default;\n    }\n  });\n  Object.defineProperty(_exports, \"MutableEnumerable\", {\n    enumerable: true,\n    get: function () {\n      return _mutable_enumerable.default;\n    }\n  });\n  Object.defineProperty(_exports, \"TargetActionSupport\", {\n    enumerable: true,\n    get: function () {\n      return _target_action_support.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Evented\", {\n    enumerable: true,\n    get: function () {\n      return _evented.default;\n    }\n  });\n  Object.defineProperty(_exports, \"PromiseProxyMixin\", {\n    enumerable: true,\n    get: function () {\n      return _promise_proxy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"RSVP\", {\n    enumerable: true,\n    get: function () {\n      return _rsvp.default;\n    }\n  });\n  Object.defineProperty(_exports, \"onerrorDefault\", {\n    enumerable: true,\n    get: function () {\n      return _rsvp.onerrorDefault;\n    }\n  });\n  Object.defineProperty(_exports, \"typeOf\", {\n    enumerable: true,\n    get: function () {\n      return _typeOf.typeOf;\n    }\n  });\n});","enifed(\"@ember/-internals/runtime/lib/compare\", [\"exports\", \"@ember/-internals/runtime/lib/type-of\", \"@ember/-internals/runtime/lib/mixins/comparable\"], function (_exports, _typeOf, _comparable) {\n  \"use strict\";\n\n  _exports.default = compare;\n  var TYPE_ORDER = {\n    undefined: 0,\n    null: 1,\n    boolean: 2,\n    number: 3,\n    string: 4,\n    array: 5,\n    object: 6,\n    instance: 7,\n    function: 8,\n    class: 9,\n    date: 10\n  }; //\n  // the spaceship operator\n  //\n  //                      `. ___\n  //                     __,' __`.                _..----....____\n  //         __...--.'``;.   ,.   ;``--..__     .'    ,-._    _.-'\n  //   _..-''-------'   `'   `'   `'     O ``-''._   (,;') _,'\n  // ,'________________                          \\`-._`-','\n  //  `._              ```````````------...___   '-.._'-:\n  //     ```--.._      ,.                     ````--...__\\-.\n  //             `.--. `-` \"INFINITY IS LESS     ____    |  |`\n  //               `. `.   THAN BEYOND\"        ,'`````.  ;  ;`\n  //                 `._`.        __________   `.      \\'__/`\n  //                    `-:._____/______/___/____`.     \\  `\n  //                                |       `._    `.    \\\n  //                                `._________`-.   `.   `.___\n  //                                              SSt  `------'`\n\n  function spaceship(a, b) {\n    var diff = a - b;\n    return (diff > 0) - (diff < 0);\n  }\n  /**\n   @module @ember/utils\n  */\n\n  /**\n   Compares two javascript values and returns:\n  \n    - -1 if the first is smaller than the second,\n    - 0 if both are equal,\n    - 1 if the first is greater than the second.\n  \n    ```javascript\n    import { compare } from '@ember/utils';\n  \n    compare('hello', 'hello');  // 0\n    compare('abc', 'dfg');      // -1\n    compare(2, 1);              // 1\n    ```\n  \n   If the types of the two objects are different precedence occurs in the\n   following order, with types earlier in the list considered `<` types\n   later in the list:\n  \n    - undefined\n    - null\n    - boolean\n    - number\n    - string\n    - array\n    - object\n    - instance\n    - function\n    - class\n    - date\n  \n    ```javascript\n    import { compare } from '@ember/utils';\n  \n    compare('hello', 50);       // 1\n    compare(50, 'hello');       // -1\n    ```\n  \n   @method compare\n   @for @ember/utils\n   @static\n   @param {Object} v First value to compare\n   @param {Object} w Second value to compare\n   @return {Number} -1 if v < w, 0 if v = w and 1 if v > w.\n   @public\n  */\n\n\n  function compare(v, w) {\n    if (v === w) {\n      return 0;\n    }\n\n    var type1 = (0, _typeOf.typeOf)(v);\n    var type2 = (0, _typeOf.typeOf)(w);\n\n    if (type1 === 'instance' && _comparable.default.detect(v) && v.constructor.compare) {\n      return v.constructor.compare(v, w);\n    }\n\n    if (type2 === 'instance' && _comparable.default.detect(w) && w.constructor.compare) {\n      return w.constructor.compare(w, v) * -1;\n    }\n\n    var res = spaceship(TYPE_ORDER[type1], TYPE_ORDER[type2]);\n\n    if (res !== 0) {\n      return res;\n    } // types are equal - so we have to check values now\n\n\n    switch (type1) {\n      case 'boolean':\n      case 'number':\n        return spaceship(v, w);\n\n      case 'string':\n        return spaceship(v.localeCompare(w), 0);\n\n      case 'array':\n        {\n          var vLen = v.length;\n          var wLen = w.length;\n          var len = Math.min(vLen, wLen);\n\n          for (var i = 0; i < len; i++) {\n            var r = compare(v[i], w[i]);\n\n            if (r !== 0) {\n              return r;\n            }\n          } // all elements are equal now\n          // shorter array should be ordered first\n\n\n          return spaceship(vLen, wLen);\n        }\n\n      case 'instance':\n        if (_comparable.default.detect(v)) {\n          return v.compare(v, w);\n        }\n\n        return 0;\n\n      case 'date':\n        return spaceship(v.getTime(), w.getTime());\n\n      default:\n        return 0;\n    }\n  }\n});","enifed(\"@ember/-internals/runtime/lib/copy\", [\"exports\", \"@ember/debug\", \"@ember/-internals/runtime/lib/system/object\", \"@ember/-internals/runtime/lib/mixins/copyable\"], function (_exports, _debug, _object, _copyable) {\n  \"use strict\";\n\n  _exports.default = copy;\n\n  /**\n   @module @ember/object\n  */\n  function _copy(obj, deep, seen, copies) {\n    // primitive data types are immutable, just return them.\n    if (typeof obj !== 'object' || obj === null) {\n      return obj;\n    }\n\n    var ret, loc; // avoid cyclical loops\n\n    if (deep && (loc = seen.indexOf(obj)) >= 0) {\n      return copies[loc];\n    }\n\n    if (deep) {\n      seen.push(obj);\n    } // IMPORTANT: this specific test will detect a native array only. Any other\n    // object will need to implement Copyable.\n\n\n    if (Array.isArray(obj)) {\n      ret = obj.slice();\n\n      if (deep) {\n        copies.push(ret);\n        loc = ret.length;\n\n        while (--loc >= 0) {\n          ret[loc] = _copy(ret[loc], deep, seen, copies);\n        }\n      }\n    } else if (_copyable.default.detect(obj)) {\n      ret = obj.copy(deep, seen, copies);\n\n      if (deep) {\n        copies.push(ret);\n      }\n    } else if (obj instanceof Date) {\n      ret = new Date(obj.getTime());\n\n      if (deep) {\n        copies.push(ret);\n      }\n    } else {\n      true && !(!(obj instanceof _object.default) || _copyable.default.detect(obj)) && (0, _debug.assert)('Cannot clone an EmberObject that does not implement Copyable', !(obj instanceof _object.default) || _copyable.default.detect(obj));\n      ret = {};\n\n      if (deep) {\n        copies.push(ret);\n      }\n\n      var key;\n\n      for (key in obj) {\n        // support Null prototype\n        if (!Object.prototype.hasOwnProperty.call(obj, key)) {\n          continue;\n        } // Prevents browsers that don't respect non-enumerability from\n        // copying internal Ember properties\n\n\n        if (key.substring(0, 2) === '__') {\n          continue;\n        }\n\n        ret[key] = deep ? _copy(obj[key], deep, seen, copies) : obj[key];\n      }\n    }\n\n    return ret;\n  }\n  /**\n    Creates a shallow copy of the passed object. A deep copy of the object is\n    returned if the optional `deep` argument is `true`.\n  \n    If the passed object implements the `Copyable` interface, then this\n    function will delegate to the object's `copy()` method and return the\n    result. See `Copyable` for further details.\n  \n    For primitive values (which are immutable in JavaScript), the passed object\n    is simply returned.\n  \n    @method copy\n    @deprecated Use 'ember-copy' addon instead\n    @static\n    @for @ember/object/internals\n    @param {Object} obj The object to clone\n    @param {Boolean} [deep=false] If true, a deep copy of the object is made.\n    @return {Object} The copied object\n    @public\n  */\n\n\n  function copy(obj, deep) {\n    true && !false && (0, _debug.deprecate)('Use ember-copy addon instead of copy method and Copyable mixin.', false, {\n      id: 'ember-runtime.deprecate-copy-copyable',\n      until: '4.0.0',\n      url: 'https://emberjs.com/deprecations/v3.x/#toc_ember-runtime-deprecate-copy-copyable'\n    }); // fast paths\n\n    if ('object' !== typeof obj || obj === null) {\n      return obj; // can't copy primitives\n    }\n\n    if (!Array.isArray(obj) && _copyable.default.detect(obj)) {\n      return obj.copy(deep);\n    }\n\n    return _copy(obj, deep, deep ? [] : null, deep ? [] : null);\n  }\n});","enifed(\"@ember/-internals/runtime/lib/ext/function\", [\"@ember/-internals/environment\", \"@ember/-internals/metal\", \"@ember/debug\", \"@ember/deprecated-features\"], function (_environment, _metal, _debug, _deprecatedFeatures) {\n  \"use strict\";\n\n  /**\n  @module ember\n  */\n  if (_deprecatedFeatures.FUNCTION_PROTOTYPE_EXTENSIONS && _environment.ENV.EXTEND_PROTOTYPES.Function) {\n    Object.defineProperties(Function.prototype, {\n      /**\n        The `property` extension of Javascript's Function prototype is available\n        when `EmberENV.EXTEND_PROTOTYPES` or `EmberENV.EXTEND_PROTOTYPES.Function` is\n        `true`, which is the default.\n         Computed properties allow you to treat a function like a property:\n         ```app/utils/president.js\n        import EmberObject from '@ember/object';\n         export default EmberObject.extend({\n          firstName: '',\n          lastName:  '',\n           fullName: function() {\n            return this.get('firstName') + ' ' + this.get('lastName');\n          }.property() // Call this flag to mark the function as a property\n        });\n        ```\n         ```javascript\n        let president = President.create({\n          firstName: 'Barack',\n          lastName: 'Obama'\n        });\n         president.get('fullName'); // 'Barack Obama'\n        ```\n         Treating a function like a property is useful because they can work with\n        bindings, just like any other property.\n         Many computed properties have dependencies on other properties. For\n        example, in the above example, the `fullName` property depends on\n        `firstName` and `lastName` to determine its value. You can tell Ember\n        about these dependencies like this:\n         ```app/utils/president.js\n        import EmberObject from '@ember/object';\n         export default EmberObject.extend({\n          firstName: '',\n          lastName:  '',\n           fullName: function() {\n            return this.get('firstName') + ' ' + this.get('lastName');\n             // Tell Ember.js that this computed property depends on firstName\n            // and lastName\n          }.property('firstName', 'lastName')\n        });\n        ```\n         Make sure you list these dependencies so Ember knows when to update\n        bindings that connect to a computed property. Changing a dependency\n        will not immediately trigger an update of the computed property, but\n        will instead clear the cache so that it is updated when the next `get`\n        is called on the property.\n         See [ComputedProperty](/api/ember/release/classes/ComputedProperty), [@ember/object/computed](/api/ember/release/classes/@ember%2Fobject%2Fcomputed).\n         @method property\n        @for Function\n        @public\n      */\n      property: {\n        configurable: true,\n        enumerable: false,\n        writable: true,\n        value: function () {\n          true && !false && (0, _debug.deprecate)(\"Function prototype extensions have been deprecated, please migrate from function(){}.property('bar') to computed('bar', function() {}).\", false, {\n            id: 'function-prototype-extensions.property',\n            until: '4.0.0',\n            url: 'https://deprecations.emberjs.com/v3.x#toc_function-prototype-extensions-property'\n          });\n          return _metal.computed.apply(void 0, Array.prototype.slice.call(arguments).concat([this]));\n        }\n      },\n\n      /**\n        The `observes` extension of Javascript's Function prototype is available\n        when `EmberENV.EXTEND_PROTOTYPES` or `EmberENV.EXTEND_PROTOTYPES.Function` is\n        true, which is the default.\n         You can observe property changes simply by adding the `observes`\n        call to the end of your method declarations in classes that you write.\n        For example:\n         ```javascript\n        import EmberObject from '@ember/object';\n         EmberObject.extend({\n          valueObserver: function() {\n            // Executes whenever the \"value\" property changes\n          }.observes('value')\n        });\n        ```\n         In the future this method may become asynchronous.\n         See `observer`.\n         @method observes\n        @for Function\n        @public\n      */\n      observes: {\n        configurable: true,\n        enumerable: false,\n        writable: true,\n        value: function () {\n          true && !false && (0, _debug.deprecate)(\"Function prototype extensions have been deprecated, please migrate from function(){}.observes('foo') to observer('foo', function() {}).\", false, {\n            id: 'function-prototype-extensions.observes',\n            until: '4.0.0',\n            url: 'https://deprecations.emberjs.com/v3.x#toc_function-prototype-extensions-observes'\n          });\n          return _metal.observer.apply(void 0, Array.prototype.slice.call(arguments).concat([this]));\n        }\n      },\n\n      /**\n        The `on` extension of Javascript's Function prototype is available\n        when `EmberENV.EXTEND_PROTOTYPES` or `EmberENV.EXTEND_PROTOTYPES.Function` is\n        true, which is the default.\n         You can listen for events simply by adding the `on` call to the end of\n        your method declarations in classes or mixins that you write. For example:\n         ```javascript\n        import Mixin from '@ember/mixin';\n         Mixin.create({\n          doSomethingWithElement: function() {\n            // Executes whenever the \"didInsertElement\" event fires\n          }.on('didInsertElement')\n        });\n        ```\n         See `@ember/object/evented/on`.\n         @method on\n        @for Function\n        @public\n      */\n      on: {\n        configurable: true,\n        enumerable: false,\n        writable: true,\n        value: function () {\n          true && !false && (0, _debug.deprecate)(\"Function prototype extensions have been deprecated, please migrate from function(){}.on('foo') to on('foo', function() {}).\", false, {\n            id: 'function-prototype-extensions.on',\n            until: '4.0.0',\n            url: 'https://deprecations.emberjs.com/v3.x#toc_function-prototype-extensions-on'\n          });\n          return _metal.on.apply(void 0, Array.prototype.slice.call(arguments).concat([this]));\n        }\n      }\n    });\n  }\n});","enifed(\"@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  _exports.onerrorDefault = onerrorDefault;\n  _exports.default = void 0;\n  RSVP.configure('async', function (callback, promise) {\n    _runloop.backburner.schedule('actions', null, callback, promise);\n  });\n  RSVP.configure('after', function (cb) {\n    _runloop.backburner.schedule(_runloop._rsvpErrorQueue, null, cb);\n  });\n  RSVP.on('error', onerrorDefault);\n\n  function onerrorDefault(reason) {\n    var error = errorFor(reason);\n\n    if (error) {\n      var overrideDispatch = (0, _errorHandling.getDispatchOverride)();\n\n      if (overrideDispatch) {\n        overrideDispatch(error);\n      } else {\n        throw error;\n      }\n    }\n  }\n\n  function errorFor(reason) {\n    if (!reason) return;\n\n    if (reason.errorThrown) {\n      return unwrapErrorThrown(reason);\n    }\n\n    if (reason.name === 'UnrecognizedURLError') {\n      true && !false && (0, _debug.assert)(\"The URL '\" + reason.message + \"' did not match any routes in your application\", false);\n      return;\n    }\n\n    if (reason.name === 'TransitionAborted') {\n      return;\n    }\n\n    return reason;\n  }\n\n  function unwrapErrorThrown(reason) {\n    var error = reason.errorThrown;\n\n    if (typeof error === 'string') {\n      error = new Error(error);\n    }\n\n    Object.defineProperty(error, '__reason_with_error_thrown__', {\n      value: reason,\n      enumerable: false\n    });\n    return error;\n  }\n\n  var _default = RSVP;\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/runtime/lib/is-equal\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.default = isEqual;\n\n  /**\n   @module @ember/utils\n  */\n\n  /**\n    Compares two objects, returning true if they are equal.\n  \n    ```javascript\n    import { isEqual } from '@ember/utils';\n  \n    isEqual('hello', 'hello');                   // true\n    isEqual(1, 2);                               // false\n    ```\n  \n    `isEqual` is a more specific comparison than a triple equal comparison.\n    It will call the `isEqual` instance method on the objects being\n    compared, allowing finer control over when objects should be considered\n    equal to each other.\n  \n    ```javascript\n    import { isEqual } from '@ember/utils';\n    import EmberObject from '@ember/object';\n  \n    let Person = EmberObject.extend({\n      isEqual(other) { return this.ssn == other.ssn; }\n    });\n  \n    let personA = Person.create({name: 'Muhammad Ali', ssn: '123-45-6789'});\n    let personB = Person.create({name: 'Cassius Clay', ssn: '123-45-6789'});\n  \n    isEqual(personA, personB); // true\n    ```\n  \n    Due to the expense of array comparisons, collections will never be equal to\n    each other even if each of their items are equal to each other.\n  \n    ```javascript\n    import { isEqual } from '@ember/utils';\n  \n    isEqual([4, 2], [4, 2]);                     // false\n    ```\n  \n    @method isEqual\n    @for @ember/utils\n    @static\n    @param {Object} a first object to compare\n    @param {Object} b second object to compare\n    @return {Boolean}\n    @public\n  */\n  function isEqual(a, b) {\n    if (a && typeof a.isEqual === 'function') {\n      return a.isEqual(b);\n    }\n\n    if (a instanceof Date && b instanceof Date) {\n      return a.getTime() === b.getTime();\n    }\n\n    return a === b;\n  }\n});","enifed(\"@ember/-internals/runtime/lib/mixins/-proxy\", [\"exports\", \"@glimmer/reference\", \"@ember/-internals/meta\", \"@ember/-internals/metal\", \"@ember/-internals/utils\", \"@ember/debug\"], function (_exports, _reference, _meta, _metal, _utils, _debug) {\n  \"use strict\";\n\n  _exports.contentFor = contentFor;\n  _exports.default = void 0;\n\n  var _Mixin$create;\n  /**\n  @module ember\n  */\n\n\n  function contentFor(proxy, m) {\n    var content = (0, _metal.get)(proxy, 'content');\n    var tag = (m === undefined ? (0, _meta.meta)(proxy) : m).readableTag();\n\n    if (tag !== undefined) {\n      tag.inner.second.inner.update((0, _metal.tagFor)(content));\n    }\n\n    return content;\n  }\n  /**\n    `Ember.ProxyMixin` forwards all properties not defined by the proxy itself\n    to a proxied `content` object.  See ObjectProxy for more details.\n  \n    @class ProxyMixin\n    @namespace Ember\n    @private\n  */\n\n\n  var _default = _metal.Mixin.create((_Mixin$create = {\n    /**\n      The object whose properties will be forwarded.\n       @property content\n      @type {unknown}\n      @default null\n      @public\n    */\n    content: null,\n    init: function () {\n      this._super.apply(this, arguments);\n\n      (0, _utils.setProxy)(this);\n      var m = (0, _meta.meta)(this);\n      m.writableTag(function () {\n        return (0, _reference.combine)([_reference.DirtyableTag.create(), _reference.UpdatableTag.create(_reference.CONSTANT_TAG)]);\n      });\n    },\n    willDestroy: function () {\n      this.set('content', null);\n\n      this._super.apply(this, arguments);\n    },\n    isTruthy: (0, _metal.computed)('content', function () {\n      return Boolean((0, _metal.get)(this, 'content'));\n    }),\n    willWatchProperty: function (key) {\n      if (!false\n      /* EMBER_METAL_TRACKED_PROPERTIES */\n      ) {\n          var contentKey = \"content.\" + key;\n          (0, _metal.addObserver)(this, contentKey, null, '_contentPropertyDidChange');\n        }\n    },\n    didUnwatchProperty: function (key) {\n      if (!false\n      /* EMBER_METAL_TRACKED_PROPERTIES */\n      ) {\n          var contentKey = \"content.\" + key;\n          (0, _metal.removeObserver)(this, contentKey, null, '_contentPropertyDidChange');\n        }\n    },\n    _contentPropertyDidChange: function (content, contentKey) {\n      var key = contentKey.slice(8); // remove \"content.\"\n\n      if (key in this) {\n        return;\n      } // if shadowed in proxy\n\n\n      (0, _metal.notifyPropertyChange)(this, key);\n    }\n  }, _Mixin$create[_metal.UNKNOWN_PROPERTY_TAG] = function (key) {\n    return (0, _metal.getChainTagsForKey)(this, \"content.\" + key);\n  }, _Mixin$create.unknownProperty = function (key) {\n    var content = contentFor(this);\n\n    if (content) {\n      return (0, _metal.get)(content, key);\n    }\n  }, _Mixin$create.setUnknownProperty = function (key, value) {\n    var m = (0, _meta.meta)(this);\n\n    if (m.isInitializing() || m.isPrototypeMeta(this)) {\n      // if marked as prototype or object is initializing then just\n      // defineProperty rather than delegate\n      (0, _metal.defineProperty)(this, key, null, value);\n      return value;\n    }\n\n    var content = contentFor(this, m);\n    true && !content && (0, _debug.assert)(\"Cannot delegate set('\" + key + \"', \" + value + \") to the 'content' property of object proxy \" + this + \": its 'content' is undefined.\", content);\n    return (0, _metal.set)(content, key, value);\n  }, _Mixin$create));\n\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/runtime/lib/mixins/action_handler\", [\"exports\", \"@ember/-internals/metal\", \"@ember/debug\"], function (_exports, _metal, _debug) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n\n  /**\n    `Ember.ActionHandler` is available on some familiar classes including\n    `Route`, `Component`, and `Controller`.\n    (Internally the mixin is used by `Ember.CoreView`, `Ember.ControllerMixin`,\n    and `Route` and available to the above classes through\n    inheritance.)\n  \n    @class ActionHandler\n    @namespace Ember\n    @private\n  */\n  var ActionHandler = _metal.Mixin.create({\n    mergedProperties: ['actions'],\n\n    /**\n      The collection of functions, keyed by name, available on this\n      `ActionHandler` as action targets.\n       These functions will be invoked when a matching `{{action}}` is triggered\n      from within a template and the application's current route is this route.\n       Actions can also be invoked from other parts of your application\n      via `ActionHandler#send`.\n       The `actions` hash will inherit action handlers from\n      the `actions` hash defined on extended parent classes\n      or mixins rather than just replace the entire hash, e.g.:\n       ```app/mixins/can-display-banner.js\n      import Mixin from '@ember/mixin';\n       export default Mixin.create({\n        actions: {\n          displayBanner(msg) {\n            // ...\n          }\n        }\n      });\n      ```\n       ```app/routes/welcome.js\n      import Route from '@ember/routing/route';\n      import CanDisplayBanner from '../mixins/can-display-banner';\n       export default Route.extend(CanDisplayBanner, {\n        actions: {\n          playMusic() {\n            // ...\n          }\n        }\n      });\n       // `WelcomeRoute`, when active, will be able to respond\n      // to both actions, since the actions hash is merged rather\n      // then replaced when extending mixins / parent classes.\n      this.send('displayBanner');\n      this.send('playMusic');\n      ```\n       Within a Controller, Route or Component's action handler,\n      the value of the `this` context is the Controller, Route or\n      Component object:\n       ```app/routes/song.js\n      import Route from '@ember/routing/route';\n       export default Route.extend({\n        actions: {\n          myAction() {\n            this.controllerFor(\"song\");\n            this.transitionTo(\"other.route\");\n            ...\n          }\n        }\n      });\n      ```\n       It is also possible to call `this._super(...arguments)` from within an\n      action handler if it overrides a handler defined on a parent\n      class or mixin:\n       Take for example the following routes:\n       ```app/mixins/debug-route.js\n      import Mixin from '@ember/mixin';\n       export default Mixin.create({\n        actions: {\n          debugRouteInformation() {\n            console.debug(\"It's a-me, console.debug!\");\n          }\n        }\n      });\n      ```\n       ```app/routes/annoying-debug.js\n      import Route from '@ember/routing/route';\n      import DebugRoute from '../mixins/debug-route';\n       export default Route.extend(DebugRoute, {\n        actions: {\n          debugRouteInformation() {\n            // also call the debugRouteInformation of mixed in DebugRoute\n            this._super(...arguments);\n             // show additional annoyance\n            window.alert(...);\n          }\n        }\n      });\n      ```\n       ## Bubbling\n       By default, an action will stop bubbling once a handler defined\n      on the `actions` hash handles it. To continue bubbling the action,\n      you must return `true` from the handler:\n       ```app/router.js\n      Router.map(function() {\n        this.route(\"album\", function() {\n          this.route(\"song\");\n        });\n      });\n      ```\n       ```app/routes/album.js\n      import Route from '@ember/routing/route';\n       export default Route.extend({\n        actions: {\n          startPlaying: function() {\n          }\n        }\n      });\n      ```\n       ```app/routes/album-song.js\n      import Route from '@ember/routing/route';\n       export default Route.extend({\n        actions: {\n          startPlaying() {\n            // ...\n             if (actionShouldAlsoBeTriggeredOnParentRoute) {\n              return true;\n            }\n          }\n        }\n      });\n      ```\n       @property actions\n      @type Object\n      @default null\n      @public\n    */\n\n    /**\n      Triggers a named action on the `ActionHandler`. Any parameters\n      supplied after the `actionName` string will be passed as arguments\n      to the action target function.\n       If the `ActionHandler` has its `target` property set, actions may\n      bubble to the `target`. Bubbling happens when an `actionName` can\n      not be found in the `ActionHandler`'s `actions` hash or if the\n      action target function returns `true`.\n       Example\n       ```app/routes/welcome.js\n      import Route from '@ember/routing/route';\n       export default Route.extend({\n        actions: {\n          playTheme() {\n            this.send('playMusic', 'theme.mp3');\n          },\n          playMusic(track) {\n            // ...\n          }\n        }\n      });\n      ```\n       @method send\n      @param {String} actionName The action to trigger\n      @param {*} context a context to send with the action\n      @public\n    */\n    send: function (actionName) {\n      for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n        args[_key - 1] = arguments[_key];\n      }\n\n      true && !(!this.isDestroying && !this.isDestroyed) && (0, _debug.assert)(\"Attempted to call .send() with the action '\" + actionName + \"' on the destroyed object '\" + this + \"'.\", !this.isDestroying && !this.isDestroyed);\n\n      if (this.actions && this.actions[actionName]) {\n        var shouldBubble = this.actions[actionName].apply(this, args) === true;\n\n        if (!shouldBubble) {\n          return;\n        }\n      }\n\n      var target = (0, _metal.get)(this, 'target');\n\n      if (target) {\n        true && !(typeof target.send === 'function') && (0, _debug.assert)(\"The `target` for \" + this + \" (\" + target + \") does not have a `send` method\", typeof target.send === 'function');\n        target.send.apply(target, arguments);\n      }\n    }\n  });\n\n  var _default = ActionHandler;\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/runtime/lib/mixins/array\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/utils\", \"@ember/debug\", \"@ember/-internals/runtime/lib/mixins/enumerable\", \"@ember/-internals/runtime/lib/compare\", \"@ember/-internals/environment\", \"@ember/-internals/runtime/lib/mixins/observable\", \"@ember/-internals/runtime/lib/mixins/mutable_enumerable\", \"@ember/-internals/runtime/lib/type-of\"], function (_exports, _metal, _utils, _debug, _enumerable, _compare, _environment, _observable, _mutable_enumerable, _typeOf) {\n  \"use strict\";\n\n  _exports.uniqBy = uniqBy;\n  _exports.removeAt = removeAt;\n  _exports.isArray = isArray;\n  _exports.default = _exports.MutableArray = _exports.NativeArray = _exports.A = void 0;\n\n  var _Mixin$create, _NativeArray;\n  /**\n  @module @ember/array\n  */\n\n\n  var EMPTY_ARRAY = Object.freeze([]);\n\n  var identityFunction = function (item) {\n    return item;\n  };\n\n  function uniqBy(array) {\n    var key = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : identityFunction;\n    true && !isArray(array) && (0, _debug.assert)(\"first argument passed to `uniqBy` should be array\", isArray(array));\n    var ret = A();\n    var seen = new Set();\n    var getter = typeof key === 'function' ? key : function (item) {\n      return (0, _metal.get)(item, key);\n    };\n    array.forEach(function (item) {\n      var val = getter(item);\n\n      if (!seen.has(val)) {\n        seen.add(val);\n        ret.push(item);\n      }\n    });\n    return ret;\n  }\n\n  function iter(key, value) {\n    var valueProvided = arguments.length === 2;\n    return valueProvided ? function (item) {\n      return value === (0, _metal.get)(item, key);\n    } : function (item) {\n      return Boolean((0, _metal.get)(item, key));\n    };\n  }\n\n  function findIndex(array, predicate, startAt) {\n    var len = array.length;\n\n    for (var index = startAt; index < len; index++) {\n      var item = (0, _metal.objectAt)(array, index);\n\n      if (predicate(item, index, array)) {\n        return index;\n      }\n    }\n\n    return -1;\n  }\n\n  function find(array, callback, target) {\n    var predicate = callback.bind(target);\n    var index = findIndex(array, predicate, 0);\n    return index === -1 ? undefined : (0, _metal.objectAt)(array, index);\n  }\n\n  function any(array, callback, target) {\n    var predicate = callback.bind(target);\n    return findIndex(array, predicate, 0) !== -1;\n  }\n\n  function every(array, callback, target) {\n    var cb = callback.bind(target);\n\n    var predicate = function (item, index, array) {\n      return !cb(item, index, array);\n    };\n\n    return findIndex(array, predicate, 0) === -1;\n  }\n\n  function indexOf(array, val) {\n    var startAt = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n    var withNaNCheck = arguments.length > 3 ? arguments[3] : undefined;\n    var len = array.length;\n\n    if (startAt < 0) {\n      startAt += len;\n    } // SameValueZero comparison (NaN !== NaN)\n\n\n    var predicate = withNaNCheck && val !== val ? function (item) {\n      return item !== item;\n    } : function (item) {\n      return item === val;\n    };\n    return findIndex(array, predicate, startAt);\n  }\n\n  function removeAt(array, index) {\n    var len = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n    true && !(index > -1 && index < array.length) && (0, _debug.assert)(\"`removeAt` index provided is out of range\", index > -1 && index < array.length);\n    (0, _metal.replace)(array, index, len, EMPTY_ARRAY);\n    return array;\n  }\n\n  function insertAt(array, index, item) {\n    true && !(index > -1 && index <= array.length) && (0, _debug.assert)(\"`insertAt` index provided is out of range\", index > -1 && index <= array.length);\n    (0, _metal.replace)(array, index, 0, [item]);\n    return item;\n  }\n  /**\n    Returns true if the passed object is an array or Array-like.\n  \n    Objects are considered Array-like if any of the following are true:\n  \n      - the object is a native Array\n      - the object has an objectAt property\n      - the object is an Object, and has a length property\n  \n    Unlike `typeOf` this method returns true even if the passed object is\n    not formally an array but appears to be array-like (i.e. implements `Array`)\n  \n    ```javascript\n    import { isArray } from '@ember/array';\n    import ArrayProxy from '@ember/array/proxy';\n  \n    isArray();                                      // false\n    isArray([]);                                    // true\n    isArray(ArrayProxy.create({ content: [] }));    // true\n    ```\n  \n    @method isArray\n    @static\n    @for @ember/array\n    @param {Object} obj The object to test\n    @return {Boolean} true if the passed object is an array or Array-like\n    @public\n  */\n\n\n  function isArray(_obj) {\n    var obj = _obj;\n\n    if (true\n    /* DEBUG */\n    && _utils.HAS_NATIVE_PROXY && typeof _obj === 'object' && _obj !== null) {\n      var possibleProxyContent = _obj[_metal.PROXY_CONTENT];\n\n      if (possibleProxyContent !== undefined) {\n        obj = possibleProxyContent;\n      }\n    }\n\n    if (!obj || obj.setInterval) {\n      return false;\n    }\n\n    if (Array.isArray(obj) || ArrayMixin.detect(obj)) {\n      return true;\n    }\n\n    var type = (0, _typeOf.typeOf)(obj);\n\n    if ('array' === type) {\n      return true;\n    }\n\n    var length = obj.length;\n\n    if (typeof length === 'number' && length === length && 'object' === type) {\n      return true;\n    }\n\n    return false;\n  }\n  /*\n    This allows us to define computed properties that are not enumerable.\n    The primary reason this is important is that when `NativeArray` is\n    applied to `Array.prototype` we need to ensure that we do not add _any_\n    new enumerable properties.\n  */\n\n\n  function nonEnumerableComputed() {\n    var property = _metal.computed.apply(void 0, arguments);\n\n    property.enumerable = false;\n    return property;\n  }\n\n  function mapBy(key) {\n    return this.map(function (next) {\n      return (0, _metal.get)(next, key);\n    });\n  } // ..........................................................\n  // ARRAY\n  //\n\n  /**\n    This mixin implements Observer-friendly Array-like behavior. It is not a\n    concrete implementation, but it can be used up by other classes that want\n    to appear like arrays.\n  \n    For example, ArrayProxy is a concrete classes that can\n    be instantiated to implement array-like behavior. Both of these classes use\n    the Array Mixin by way of the MutableArray mixin, which allows observable\n    changes to be made to the underlying array.\n  \n    This mixin defines methods specifically for collections that provide\n    index-ordered access to their contents. When you are designing code that\n    needs to accept any kind of Array-like object, you should use these methods\n    instead of Array primitives because these will properly notify observers of\n    changes to the array.\n  \n    Although these methods are efficient, they do add a layer of indirection to\n    your application so it is a good idea to use them only when you need the\n    flexibility of using both true JavaScript arrays and \"virtual\" arrays such\n    as controllers and collections.\n  \n    You can use the methods defined in this module to access and modify array\n    contents in a KVO-friendly way. You can also be notified whenever the\n    membership of an array changes by using `.observes('myArray.[]')`.\n  \n    To support `EmberArray` in your own class, you must override two\n    primitives to use it: `length()` and `objectAt()`.\n  \n    @class EmberArray\n    @uses Enumerable\n    @since Ember 0.9.0\n    @public\n  */\n\n\n  var ArrayMixin = _metal.Mixin.create(_enumerable.default, (_Mixin$create = {}, _Mixin$create[_utils.EMBER_ARRAY] = true, _Mixin$create.objectsAt = function (indexes) {\n    var _this = this;\n\n    return indexes.map(function (idx) {\n      return (0, _metal.objectAt)(_this, idx);\n    });\n  }, _Mixin$create['[]'] = nonEnumerableComputed({\n    get: function () {\n      return this;\n    },\n    set: function (key, value) {\n      this.replace(0, this.length, value);\n      return this;\n    }\n  }), _Mixin$create.firstObject = nonEnumerableComputed(function () {\n    return (0, _metal.objectAt)(this, 0);\n  }).readOnly(), _Mixin$create.lastObject = nonEnumerableComputed(function () {\n    return (0, _metal.objectAt)(this, this.length - 1);\n  }).readOnly(), _Mixin$create.slice = function () {\n    var beginIndex = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n    var endIndex = arguments.length > 1 ? arguments[1] : undefined;\n    var ret = A();\n    var length = this.length;\n\n    if (beginIndex < 0) {\n      beginIndex = length + beginIndex;\n    }\n\n    if (endIndex === undefined || endIndex > length) {\n      endIndex = length;\n    } else if (endIndex < 0) {\n      endIndex = length + endIndex;\n    }\n\n    while (beginIndex < endIndex) {\n      ret[ret.length] = (0, _metal.objectAt)(this, beginIndex++);\n    }\n\n    return ret;\n  }, _Mixin$create.indexOf = function (object, startAt) {\n    return indexOf(this, object, startAt, false);\n  }, _Mixin$create.lastIndexOf = function (object, startAt) {\n    var len = this.length;\n\n    if (startAt === undefined || startAt >= len) {\n      startAt = len - 1;\n    }\n\n    if (startAt < 0) {\n      startAt += len;\n    }\n\n    for (var idx = startAt; idx >= 0; idx--) {\n      if ((0, _metal.objectAt)(this, idx) === object) {\n        return idx;\n      }\n    }\n\n    return -1;\n  }, _Mixin$create.addArrayObserver = function (target, opts) {\n    return (0, _metal.addArrayObserver)(this, target, opts);\n  }, _Mixin$create.removeArrayObserver = function (target, opts) {\n    return (0, _metal.removeArrayObserver)(this, target, opts);\n  }, _Mixin$create.hasArrayObservers = nonEnumerableComputed(function () {\n    return (0, _metal.hasListeners)(this, '@array:change') || (0, _metal.hasListeners)(this, '@array:before');\n  }), _Mixin$create.arrayContentWillChange = function (startIdx, removeAmt, addAmt) {\n    return (0, _metal.arrayContentWillChange)(this, startIdx, removeAmt, addAmt);\n  }, _Mixin$create.arrayContentDidChange = function (startIdx, removeAmt, addAmt) {\n    return (0, _metal.arrayContentDidChange)(this, startIdx, removeAmt, addAmt);\n  }, _Mixin$create.forEach = function (callback) {\n    var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n    true && !(typeof callback === 'function') && (0, _debug.assert)('`forEach` expects a function as first argument.', typeof callback === 'function');\n    var length = this.length;\n\n    for (var index = 0; index < length; index++) {\n      var item = this.objectAt(index);\n      callback.call(target, item, index, this);\n    }\n\n    return this;\n  }, _Mixin$create.getEach = mapBy, _Mixin$create.setEach = function (key, value) {\n    return this.forEach(function (item) {\n      return (0, _metal.set)(item, key, value);\n    });\n  }, _Mixin$create.map = function (callback) {\n    var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n    true && !(typeof callback === 'function') && (0, _debug.assert)('`map` expects a function as first argument.', typeof callback === 'function');\n    var ret = A();\n    this.forEach(function (x, idx, i) {\n      return ret[idx] = callback.call(target, x, idx, i);\n    });\n    return ret;\n  }, _Mixin$create.mapBy = mapBy, _Mixin$create.filter = function (callback) {\n    var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n    true && !(typeof callback === 'function') && (0, _debug.assert)('`filter` expects a function as first argument.', typeof callback === 'function');\n    var ret = A();\n    this.forEach(function (x, idx, i) {\n      if (callback.call(target, x, idx, i)) {\n        ret.push(x);\n      }\n    });\n    return ret;\n  }, _Mixin$create.reject = function (callback) {\n    var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n    true && !(typeof callback === 'function') && (0, _debug.assert)('`reject` expects a function as first argument.', typeof callback === 'function');\n    return this.filter(function () {\n      return !callback.apply(target, arguments);\n    });\n  }, _Mixin$create.filterBy = function () {\n    return this.filter(iter.apply(void 0, arguments));\n  }, _Mixin$create.rejectBy = function () {\n    return this.reject(iter.apply(void 0, arguments));\n  }, _Mixin$create.find = function (callback) {\n    var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 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  }, _Mixin$create.findBy = function () {\n    return find(this, iter.apply(void 0, arguments));\n  }, _Mixin$create.every = function (callback) {\n    var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 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  }, _Mixin$create.isEvery = function () {\n    return every(this, iter.apply(void 0, arguments));\n  }, _Mixin$create.any = function (callback) {\n    var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 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  }, _Mixin$create.isAny = function () {\n    return any(this, iter.apply(void 0, arguments));\n  }, _Mixin$create.reduce = function (callback, initialValue) {\n    true && !(typeof callback === 'function') && (0, _debug.assert)('`reduce` expects a function as first argument.', typeof callback === 'function');\n    var ret = initialValue;\n    this.forEach(function (item, i) {\n      ret = callback(ret, item, i, this);\n    }, this);\n    return ret;\n  }, _Mixin$create.invoke = function (methodName) {\n    for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n      args[_key - 1] = arguments[_key];\n    }\n\n    var ret = A();\n    this.forEach(function (item) {\n      return ret.push((0, _utils.tryInvoke)(item, methodName, args));\n    });\n    return ret;\n  }, _Mixin$create.toArray = function () {\n    return this.map(function (item) {\n      return item;\n    });\n  }, _Mixin$create.compact = function () {\n    return this.filter(function (value) {\n      return value != null;\n    });\n  }, _Mixin$create.includes = function (object, startAt) {\n    return indexOf(this, object, startAt, true) !== -1;\n  }, _Mixin$create.sortBy = function () {\n    var sortKeys = arguments;\n    return this.toArray().sort(function (a, b) {\n      for (var i = 0; i < sortKeys.length; i++) {\n        var key = sortKeys[i];\n        var propA = (0, _metal.get)(a, key);\n        var propB = (0, _metal.get)(b, key); // return 1 or -1 else continue to the next sortKey\n\n        var compareValue = (0, _compare.default)(propA, propB);\n\n        if (compareValue) {\n          return compareValue;\n        }\n      }\n\n      return 0;\n    });\n  }, _Mixin$create.uniq = function () {\n    return uniqBy(this);\n  }, _Mixin$create.uniqBy = function (key) {\n    return uniqBy(this, key);\n  }, _Mixin$create.without = function (value) {\n    if (!this.includes(value)) {\n      return this; // nothing to do\n    } // SameValueZero comparison (NaN !== NaN)\n\n\n    var predicate = value === value ? function (item) {\n      return item !== value;\n    } : function (item) {\n      return item === item;\n    };\n    return this.filter(predicate);\n  }, _Mixin$create));\n  /**\n    This mixin defines the API for modifying array-like objects. These methods\n    can be applied only to a collection that keeps its items in an ordered set.\n    It builds upon the Array mixin and adds methods to modify the array.\n    One concrete implementations of this class include ArrayProxy.\n  \n    It is important to use the methods in this class to modify arrays so that\n    changes are observable. This allows the binding system in Ember to function\n    correctly.\n  \n  \n    Note that an Array can change even if it does not implement this mixin.\n    For example, one might implement a SparseArray that cannot be directly\n    modified, but if its underlying enumerable changes, it will change also.\n  \n    @class MutableArray\n    @uses EmberArray\n    @uses MutableEnumerable\n    @public\n  */\n\n\n  var MutableArray = _metal.Mixin.create(ArrayMixin, _mutable_enumerable.default, {\n    /**\n      __Required.__ You must implement this method to apply this mixin.\n       This is one of the primitives you must implement to support `Array`.\n      You should replace amt objects started at idx with the objects in the\n      passed array. You should also call `this.arrayContentDidChange()`\n       Note that this method is expected to validate the type(s) of objects that it expects.\n       @method replace\n      @param {Number} idx Starting index in the array to replace. If\n        idx >= length, then append to the end of the array.\n      @param {Number} amt Number of elements that should be removed from\n        the array, starting at *idx*.\n      @param {EmberArray} objects An array of zero or more objects that should be\n        inserted into the array at *idx*\n      @public\n    */\n\n    /**\n      Remove all elements from the array. This is useful if you\n      want to reuse an existing array without having to recreate it.\n       ```javascript\n      let colors = ['red', 'green', 'blue'];\n       colors.length;  // 3\n      colors.clear(); // []\n      colors.length;  // 0\n      ```\n       @method clear\n      @return {Array} An empty Array.\n      @public\n    */\n    clear: function () {\n      var len = this.length;\n\n      if (len === 0) {\n        return this;\n      }\n\n      this.replace(0, len, EMPTY_ARRAY);\n      return this;\n    },\n\n    /**\n      This will use the primitive `replace()` method to insert an object at the\n      specified index.\n       ```javascript\n      let colors = ['red', 'green', 'blue'];\n       colors.insertAt(2, 'yellow');  // ['red', 'green', 'yellow', 'blue']\n      colors.insertAt(5, 'orange');  // Error: Index out of range\n      ```\n       @method insertAt\n      @param {Number} idx index of insert the object at.\n      @param {Object} object object to insert\n      @return {EmberArray} receiver\n      @public\n    */\n    insertAt: function (idx, object) {\n      insertAt(this, idx, object);\n      return this;\n    },\n\n    /**\n      Remove an object at the specified index using the `replace()` primitive\n      method. You can pass either a single index, or a start and a length.\n       If you pass a start and length that is beyond the\n      length this method will throw an assertion.\n       ```javascript\n      let colors = ['red', 'green', 'blue', 'yellow', 'orange'];\n       colors.removeAt(0);     // ['green', 'blue', 'yellow', 'orange']\n      colors.removeAt(2, 2);  // ['green', 'blue']\n      colors.removeAt(4, 2);  // Error: Index out of range\n      ```\n       @method removeAt\n      @param {Number} start index, start of range\n      @param {Number} len length of passing range\n      @return {EmberArray} receiver\n      @public\n    */\n    removeAt: function (start, len) {\n      return removeAt(this, start, len);\n    },\n\n    /**\n      Push the object onto the end of the array. Works just like `push()` but it\n      is KVO-compliant.\n       ```javascript\n      let colors = ['red', 'green'];\n       colors.pushObject('black');     // ['red', 'green', 'black']\n      colors.pushObject(['yellow']);  // ['red', 'green', ['yellow']]\n      ```\n       @method pushObject\n      @param {*} obj object to push\n      @return object same object passed as a param\n      @public\n    */\n    pushObject: function (obj) {\n      return insertAt(this, this.length, obj);\n    },\n\n    /**\n      Add the objects in the passed array to the end of the array. Defers\n      notifying observers of the change until all objects are added.\n       ```javascript\n      let colors = ['red'];\n       colors.pushObjects(['yellow', 'orange']);  // ['red', 'yellow', 'orange']\n      ```\n       @method pushObjects\n      @param {EmberArray} objects the objects to add\n      @return {EmberArray} receiver\n      @public\n    */\n    pushObjects: function (objects) {\n      this.replace(this.length, 0, objects);\n      return this;\n    },\n\n    /**\n      Pop object from array or nil if none are left. Works just like `pop()` but\n      it is KVO-compliant.\n       ```javascript\n      let colors = ['red', 'green', 'blue'];\n       colors.popObject();   // 'blue'\n      console.log(colors);  // ['red', 'green']\n      ```\n       @method popObject\n      @return object\n      @public\n    */\n    popObject: function () {\n      var len = this.length;\n\n      if (len === 0) {\n        return null;\n      }\n\n      var ret = (0, _metal.objectAt)(this, len - 1);\n      this.removeAt(len - 1, 1);\n      return ret;\n    },\n\n    /**\n      Shift an object from start of array or nil if none are left. Works just\n      like `shift()` but it is KVO-compliant.\n       ```javascript\n      let colors = ['red', 'green', 'blue'];\n       colors.shiftObject();  // 'red'\n      console.log(colors);   // ['green', 'blue']\n      ```\n       @method shiftObject\n      @return object\n      @public\n    */\n    shiftObject: function () {\n      if (this.length === 0) {\n        return null;\n      }\n\n      var ret = (0, _metal.objectAt)(this, 0);\n      this.removeAt(0);\n      return ret;\n    },\n\n    /**\n      Unshift an object to start of array. Works just like `unshift()` but it is\n      KVO-compliant.\n       ```javascript\n      let colors = ['red'];\n       colors.unshiftObject('yellow');    // ['yellow', 'red']\n      colors.unshiftObject(['black']);   // [['black'], 'yellow', 'red']\n      ```\n       @method unshiftObject\n      @param {*} obj object to unshift\n      @return object same object passed as a param\n      @public\n    */\n    unshiftObject: function (obj) {\n      return insertAt(this, 0, obj);\n    },\n\n    /**\n      Adds the named objects to the beginning of the array. Defers notifying\n      observers until all objects have been added.\n       ```javascript\n      let colors = ['red'];\n       colors.unshiftObjects(['black', 'white']);   // ['black', 'white', 'red']\n      colors.unshiftObjects('yellow'); // Type Error: 'undefined' is not a function\n      ```\n       @method unshiftObjects\n      @param {Enumberable} objects the objects to add\n      @return {EmberArray} receiver\n      @public\n    */\n    unshiftObjects: function (objects) {\n      this.replace(0, 0, objects);\n      return this;\n    },\n\n    /**\n      Reverse objects in the array. Works just like `reverse()` but it is\n      KVO-compliant.\n       @method reverseObjects\n      @return {EmberArray} receiver\n       @public\n    */\n    reverseObjects: function () {\n      var len = this.length;\n\n      if (len === 0) {\n        return this;\n      }\n\n      var objects = this.toArray().reverse();\n      this.replace(0, len, objects);\n      return this;\n    },\n\n    /**\n      Replace all the receiver's content with content of the argument.\n      If argument is an empty array receiver will be cleared.\n       ```javascript\n      let colors = ['red', 'green', 'blue'];\n       colors.setObjects(['black', 'white']);  // ['black', 'white']\n      colors.setObjects([]);                  // []\n      ```\n       @method setObjects\n      @param {EmberArray} objects array whose content will be used for replacing\n          the content of the receiver\n      @return {EmberArray} receiver with the new content\n      @public\n    */\n    setObjects: function (objects) {\n      if (objects.length === 0) {\n        return this.clear();\n      }\n\n      var len = this.length;\n      this.replace(0, len, objects);\n      return this;\n    },\n\n    /**\n      Remove all occurrences of an object in the array.\n       ```javascript\n      let cities = ['Chicago', 'Berlin', 'Lima', 'Chicago'];\n       cities.removeObject('Chicago');  // ['Berlin', 'Lima']\n      cities.removeObject('Lima');     // ['Berlin']\n      cities.removeObject('Tokyo')     // ['Berlin']\n      ```\n       @method removeObject\n      @param {*} obj object to remove\n      @return {EmberArray} receiver\n      @public\n    */\n    removeObject: function (obj) {\n      var loc = this.length || 0;\n\n      while (--loc >= 0) {\n        var curObject = (0, _metal.objectAt)(this, loc);\n\n        if (curObject === obj) {\n          this.removeAt(loc);\n        }\n      }\n\n      return this;\n    },\n\n    /**\n      Removes each object in the passed array from the receiver.\n       @method removeObjects\n      @param {EmberArray} objects the objects to remove\n      @return {EmberArray} receiver\n      @public\n    */\n    removeObjects: function (objects) {\n      (0, _metal.beginPropertyChanges)();\n\n      for (var i = objects.length - 1; i >= 0; i--) {\n        this.removeObject(objects[i]);\n      }\n\n      (0, _metal.endPropertyChanges)();\n      return this;\n    },\n\n    /**\n      Push the object onto the end of the array if it is not already\n      present in the array.\n       ```javascript\n      let cities = ['Chicago', 'Berlin'];\n       cities.addObject('Lima');    // ['Chicago', 'Berlin', 'Lima']\n      cities.addObject('Berlin');  // ['Chicago', 'Berlin', 'Lima']\n      ```\n       @method addObject\n      @param {*} obj object to add, if not already present\n      @return {EmberArray} receiver\n      @public\n    */\n    addObject: function (obj) {\n      var included = this.includes(obj);\n\n      if (!included) {\n        this.pushObject(obj);\n      }\n\n      return this;\n    },\n\n    /**\n      Adds each object in the passed array to the receiver.\n       @method addObjects\n      @param {EmberArray} objects the objects to add.\n      @return {EmberArray} receiver\n      @public\n    */\n    addObjects: function (objects) {\n      var _this2 = this;\n\n      (0, _metal.beginPropertyChanges)();\n      objects.forEach(function (obj) {\n        return _this2.addObject(obj);\n      });\n      (0, _metal.endPropertyChanges)();\n      return this;\n    }\n  });\n  /**\n    Creates an `Ember.NativeArray` from an Array-like object.\n    Does not modify the original object's contents. `A()` is not needed if\n    `EmberENV.EXTEND_PROTOTYPES` is `true` (the default value). However,\n    it is recommended that you use `A()` when creating addons for\n    ember or when you can not guarantee that `EmberENV.EXTEND_PROTOTYPES`\n    will be `true`.\n  \n    Example\n  \n    ```app/components/my-component.js\n    import Component from '@ember/component';\n    import { A } from '@ember/array';\n  \n    export default Component.extend({\n      tagName: 'ul',\n      classNames: ['pagination'],\n  \n      init() {\n        this._super(...arguments);\n  \n        if (!this.get('content')) {\n          this.set('content', A());\n          this.set('otherContent', A([1,2,3]));\n        }\n      }\n    });\n    ```\n  \n    @method A\n    @static\n    @for @ember/array\n    @return {Ember.NativeArray}\n    @public\n  */\n  // Add Ember.Array to Array.prototype. Remove methods with native\n  // implementations and supply some more optimized versions of generic methods\n  // because they are so common.\n\n  /**\n  @module ember\n  */\n\n  /**\n    The NativeArray mixin contains the properties needed to make the native\n    Array support MutableArray and all of its dependent APIs. Unless you\n    have `EmberENV.EXTEND_PROTOTYPES` or `EmberENV.EXTEND_PROTOTYPES.Array` set to\n    false, this will be applied automatically. Otherwise you can apply the mixin\n    at anytime by calling `Ember.NativeArray.apply(Array.prototype)`.\n  \n    @class Ember.NativeArray\n    @uses MutableArray\n    @uses Observable\n    @public\n  */\n\n\n  _exports.MutableArray = MutableArray;\n\n  var NativeArray = _metal.Mixin.create(MutableArray, _observable.default, {\n    objectAt: function (idx) {\n      return this[idx];\n    },\n    // primitive for array support.\n    replace: function (start, deleteCount) {\n      var items = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 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  }); // Remove any methods implemented natively so we don't override them\n\n\n  _exports.NativeArray = NativeArray;\n  var ignore = ['length'];\n  NativeArray.keys().forEach(function (methodName) {\n    if (Array.prototype[methodName]) {\n      ignore.push(methodName);\n    }\n  });\n  _exports.NativeArray = NativeArray = (_NativeArray = NativeArray).without.apply(_NativeArray, ignore);\n  var A;\n  _exports.A = A;\n\n  if (_environment.ENV.EXTEND_PROTOTYPES.Array) {\n    NativeArray.apply(Array.prototype);\n\n    _exports.A = A = function (arr) {\n      true && !!(this instanceof A) && (0, _debug.assert)('You cannot create an Ember Array with `new A()`, please update to calling A as a function: `A()`', !(this instanceof A));\n      return arr || [];\n    };\n  } else {\n    _exports.A = A = function (arr) {\n      true && !!(this instanceof A) && (0, _debug.assert)('You cannot create an Ember Array with `new A()`, please update to calling A as a function: `A()`', !(this instanceof A));\n\n      if (!arr) {\n        arr = [];\n      }\n\n      return ArrayMixin.detect(arr) ? arr : NativeArray.apply(arr);\n    };\n  }\n\n  var _default = ArrayMixin;\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/runtime/lib/mixins/comparable\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Implements some standard methods for comparing objects. Add this mixin to\n    any class you create that can compare its instances.\n  \n    You should implement the `compare()` method.\n  \n    @class Comparable\n    @namespace Ember\n    @since Ember 0.9\n    @private\n  */\n  var _default = _metal.Mixin.create({\n    /**\n      __Required.__ You must implement this method to apply this mixin.\n       Override to return the result of the comparison of the two parameters. The\n      compare method should return:\n       - `-1` if `a < b`\n      - `0` if `a == b`\n      - `1` if `a > b`\n       Default implementation raises an exception.\n       @method compare\n      @param a {Object} the first object to compare\n      @param b {Object} the second object to compare\n      @return {Number} the result of the comparison\n      @private\n    */\n    compare: null\n  });\n\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/runtime/lib/mixins/container_proxy\", [\"exports\", \"@ember/runloop\", \"@ember/-internals/metal\"], function (_exports, _runloop, _metal) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n\n  /**\n    ContainerProxyMixin is used to provide public access to specific\n    container functionality.\n  \n    @class ContainerProxyMixin\n    @private\n  */\n  var containerProxyMixin = {\n    /**\n     The container stores state.\n      @private\n     @property {Ember.Container} __container__\n     */\n    __container__: null,\n\n    /**\n     Returns an object that can be used to provide an owner to a\n     manually created instance.\n      Example:\n      ```\n     import { getOwner } from '@ember/application';\n      let owner = getOwner(this);\n      User.create(\n       owner.ownerInjection(),\n       { username: 'rwjblue' }\n     )\n     ```\n      @public\n     @method ownerInjection\n     @since 2.3.0\n     @return {Object}\n    */\n    ownerInjection: function () {\n      return this.__container__.ownerInjection();\n    },\n\n    /**\n     Given a fullName return a corresponding instance.\n      The default behavior is for lookup to return a singleton instance.\n     The singleton is scoped to the container, allowing multiple containers\n     to all have their own locally scoped singletons.\n      ```javascript\n     let registry = new Registry();\n     let container = registry.container();\n      registry.register('api:twitter', Twitter);\n      let twitter = container.lookup('api:twitter');\n      twitter instanceof Twitter; // => true\n      // by default the container will return singletons\n     let twitter2 = container.lookup('api:twitter');\n     twitter2 instanceof Twitter; // => true\n      twitter === twitter2; //=> true\n     ```\n      If singletons are not wanted an optional flag can be provided at lookup.\n      ```javascript\n     let registry = new Registry();\n     let container = registry.container();\n      registry.register('api:twitter', Twitter);\n      let twitter = container.lookup('api:twitter', { singleton: false });\n     let twitter2 = container.lookup('api:twitter', { singleton: false });\n      twitter === twitter2; //=> false\n     ```\n      @public\n     @method lookup\n     @param {String} fullName\n     @param {Object} options\n     @return {any}\n     */\n    lookup: function (fullName, options) {\n      return this.__container__.lookup(fullName, options);\n    },\n    destroy: function () {\n      var container = this.__container__;\n\n      if (container) {\n        (0, _runloop.join)(function () {\n          container.destroy();\n          (0, _runloop.schedule)('destroy', container, 'finalizeDestroy');\n        });\n      }\n\n      this._super();\n    },\n\n    /**\n    Given a fullName return a factory manager.\n     This method returns a manager which can be used for introspection of the\n    factory's class or for the creation of factory instances with initial\n    properties. The manager is an object with the following properties:\n     * `class` - The registered or resolved class.\n    * `create` - A function that will create an instance of the class with\n      any dependencies injected.\n     For example:\n     ```javascript\n    import { getOwner } from '@ember/application';\n     let owner = getOwner(otherInstance);\n    // the owner is commonly the `applicationInstance`, and can be accessed via\n    // an instance initializer.\n     let factory = owner.factoryFor('service:bespoke');\n     factory.class;\n    // The registered or resolved class. For example when used with an Ember-CLI\n    // app, this would be the default export from `app/services/bespoke.js`.\n     let instance = factory.create({\n      someProperty: 'an initial property value'\n    });\n    // Create an instance with any injections and the passed options as\n    // initial properties.\n    ```\n     Any instances created via the factory's `.create()` method *must* be destroyed\n    manually by the caller of `.create()`. Typically, this is done during the creating\n    objects own `destroy` or `willDestroy` methods.\n     @public\n    @method factoryFor\n    @param {String} fullName\n    @param {Object} options\n    @return {FactoryManager}\n    */\n    factoryFor: function (fullName) {\n      var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      return this.__container__.factoryFor(fullName, options);\n    }\n  };\n\n  var _default = _metal.Mixin.create(containerProxyMixin);\n\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/runtime/lib/mixins/copyable\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Implements some standard methods for copying an object. Add this mixin to\n    any object you create that can create a copy of itself. This mixin is\n    added automatically to the built-in array.\n  \n    You should generally implement the `copy()` method to return a copy of the\n    receiver.\n  \n    @class Copyable\n    @namespace Ember\n    @since Ember 0.9\n    @deprecated Use 'ember-copy' addon instead\n    @private\n  */\n  var _default = _metal.Mixin.create({\n    /**\n      __Required.__ You must implement this method to apply this mixin.\n       Override to return a copy of the receiver. Default implementation raises\n      an exception.\n       @method copy\n      @param {Boolean} deep if `true`, a deep copy of the object should be made\n      @return {Object} copy of receiver\n      @private\n    */\n    copy: null\n  });\n\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/runtime/lib/mixins/enumerable\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n  @module @ember/enumerable\n  @private\n  */\n\n  /**\n    The methods in this mixin have been moved to [MutableArray](https://emberjs.com/api/ember/release/classes/MutableArray). This mixin has\n    been intentionally preserved to avoid breaking Enumerable.detect checks\n    until the community migrates away from them.\n  \n    @class Enumerable\n    @private\n  */\n  var _default = _metal.Mixin.create();\n\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/runtime/lib/mixins/evented\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n  @module @ember/object\n  */\n\n  /**\n    This mixin allows for Ember objects to subscribe to and emit events.\n  \n    ```app/utils/person.js\n    import EmberObject from '@ember/object';\n    import Evented from '@ember/object/evented';\n  \n    export default EmberObject.extend(Evented, {\n      greet() {\n        // ...\n        this.trigger('greet');\n      }\n    });\n    ```\n  \n    ```javascript\n    var person = Person.create();\n  \n    person.on('greet', function() {\n      console.log('Our person has greeted');\n    });\n  \n    person.greet();\n  \n    // outputs: 'Our person has greeted'\n    ```\n  \n    You can also chain multiple event subscriptions:\n  \n    ```javascript\n    person.on('greet', function() {\n      console.log('Our person has greeted');\n    }).one('greet', function() {\n      console.log('Offer one-time special');\n    }).off('event', this, forgetThis);\n    ```\n  \n    @class Evented\n    @public\n   */\n  var _default = _metal.Mixin.create({\n    /**\n      Subscribes to a named event with given function.\n       ```javascript\n      person.on('didLoad', function() {\n        // fired once the person has loaded\n      });\n      ```\n       An optional target can be passed in as the 2nd argument that will\n      be set as the \"this\" for the callback. This is a good way to give your\n      function access to the object triggering the event. When the target\n      parameter is used the callback method becomes the third argument.\n       @method on\n      @param {String} name The name of the event\n      @param {Object} [target] The \"this\" binding for the callback\n      @param {Function|String} method A function or the name of a function to be called on `target`\n      @return this\n      @public\n    */\n    on: function (name, target, method) {\n      (0, _metal.addListener)(this, name, target, method);\n      return this;\n    },\n\n    /**\n      Subscribes a function to a named event and then cancels the subscription\n      after the first time the event is triggered. It is good to use ``one`` when\n      you only care about the first time an event has taken place.\n       This function takes an optional 2nd argument that will become the \"this\"\n      value for the callback. When the target parameter is used the callback method\n      becomes the third argument.\n       @method one\n      @param {String} name The name of the event\n      @param {Object} [target] The \"this\" binding for the callback\n      @param {Function|String} method A function or the name of a function to be called on `target`\n      @return this\n      @public\n    */\n    one: function (name, target, method) {\n      (0, _metal.addListener)(this, name, target, method, true);\n      return this;\n    },\n\n    /**\n      Triggers a named event for the object. Any additional arguments\n      will be passed as parameters to the functions that are subscribed to the\n      event.\n       ```javascript\n      person.on('didEat', function(food) {\n        console.log('person ate some ' + food);\n      });\n       person.trigger('didEat', 'broccoli');\n       // outputs: person ate some broccoli\n      ```\n      @method trigger\n      @param {String} name The name of the event\n      @param {Object...} args Optional arguments to pass on\n      @public\n    */\n    trigger: function (name) {\n      for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n        args[_key - 1] = arguments[_key];\n      }\n\n      (0, _metal.sendEvent)(this, name, args);\n    },\n\n    /**\n      Cancels subscription for given name, target, and method.\n       @method off\n      @param {String} name The name of the event\n      @param {Object} target The target of the subscription\n      @param {Function|String} method The function or the name of a function of the subscription\n      @return this\n      @public\n    */\n    off: function (name, target, method) {\n      (0, _metal.removeListener)(this, name, target, method);\n      return this;\n    },\n\n    /**\n      Checks to see if object has any subscriptions for named event.\n       @method has\n      @param {String} name The name of the event\n      @return {Boolean} does the object have a subscription for event\n      @public\n     */\n    has: function (name) {\n      return (0, _metal.hasListeners)(this, name);\n    }\n  });\n\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/runtime/lib/mixins/mutable_enumerable\", [\"exports\", \"@ember/-internals/runtime/lib/mixins/enumerable\", \"@ember/-internals/metal\"], function (_exports, _enumerable, _metal) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n\n  /**\n    The methods in this mixin have been moved to MutableArray. This mixin has\n    been intentionally preserved to avoid breaking MutableEnumerable.detect\n    checks until the community migrates away from them.\n  \n    @class MutableEnumerable\n    @namespace Ember\n    @uses Enumerable\n    @private\n  */\n  var _default = _metal.Mixin.create(_enumerable.default);\n\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/runtime/lib/mixins/observable\", [\"exports\", \"@ember/-internals/metal\", \"@ember/debug\"], function (_exports, _metal, _debug) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n  @module @ember/object\n  */\n\n  /**\n    ## Overview\n  \n    This mixin provides properties and property observing functionality, core\n    features of the Ember object model.\n  \n    Properties and observers allow one object to observe changes to a\n    property on another object. This is one of the fundamental ways that\n    models, controllers and views communicate with each other in an Ember\n    application.\n  \n    Any object that has this mixin applied can be used in observer\n    operations. That includes `EmberObject` and most objects you will\n    interact with as you write your Ember application.\n  \n    Note that you will not generally apply this mixin to classes yourself,\n    but you will use the features provided by this module frequently, so it\n    is important to understand how to use it.\n  \n    ## Using `get()` and `set()`\n  \n    Because of Ember's support for bindings and observers, you will always\n    access properties using the get method, and set properties using the\n    set method. This allows the observing objects to be notified and\n    computed properties to be handled properly.\n  \n    More documentation about `get` and `set` are below.\n  \n    ## Observing Property Changes\n  \n    You typically observe property changes simply by using the `observer`\n    function in classes that you write.\n  \n    For example:\n  \n    ```javascript\n    import { observer } from '@ember/object';\n    import EmberObject from '@ember/object';\n  \n    EmberObject.extend({\n      valueObserver: observer('value', function(sender, key, value, rev) {\n        // Executes whenever the \"value\" property changes\n        // See the addObserver method for more information about the callback arguments\n      })\n    });\n    ```\n  \n    Although this is the most common way to add an observer, this capability\n    is actually built into the `EmberObject` class on top of two methods\n    defined in this mixin: `addObserver` and `removeObserver`. You can use\n    these two methods to add and remove observers yourself if you need to\n    do so at runtime.\n  \n    To add an observer for a property, call:\n  \n    ```javascript\n    object.addObserver('propertyKey', targetObject, targetAction)\n    ```\n  \n    This will call the `targetAction` method on the `targetObject` whenever\n    the value of the `propertyKey` changes.\n  \n    Note that if `propertyKey` is a computed property, the observer will be\n    called when any of the property dependencies are changed, even if the\n    resulting value of the computed property is unchanged. This is necessary\n    because computed properties are not computed until `get` is called.\n  \n    @class Observable\n    @public\n  */\n  var _default = _metal.Mixin.create({\n    /**\n      Retrieves the value of a property from the object.\n       This method is usually similar to using `object[keyName]` or `object.keyName`,\n      however it supports both computed properties and the unknownProperty\n      handler.\n       Because `get` unifies the syntax for accessing all these kinds\n      of properties, it can make many refactorings easier, such as replacing a\n      simple property with a computed property, or vice versa.\n       ### Computed Properties\n       Computed properties are methods defined with the `property` modifier\n      declared at the end, such as:\n       ```javascript\n      import { computed } from '@ember/object';\n       fullName: computed('firstName', 'lastName', function() {\n        return this.get('firstName') + ' ' + this.get('lastName');\n      })\n      ```\n       When you call `get` on a computed property, the function will be\n      called and the return value will be returned instead of the function\n      itself.\n       ### Unknown Properties\n       Likewise, if you try to call `get` on a property whose value is\n      `undefined`, the `unknownProperty()` method will be called on the object.\n      If this method returns any value other than `undefined`, it will be returned\n      instead. This allows you to implement \"virtual\" properties that are\n      not defined upfront.\n       @method get\n      @param {String} keyName The property to retrieve\n      @return {Object} The property value or undefined.\n      @public\n    */\n    get: function (keyName) {\n      return (0, _metal.get)(this, keyName);\n    },\n\n    /**\n      To get the values of multiple properties at once, call `getProperties`\n      with a list of strings or an array:\n       ```javascript\n      record.getProperties('firstName', 'lastName', 'zipCode');\n      // { firstName: 'John', lastName: 'Doe', zipCode: '10011' }\n      ```\n       is equivalent to:\n       ```javascript\n      record.getProperties(['firstName', 'lastName', 'zipCode']);\n      // { firstName: 'John', lastName: 'Doe', zipCode: '10011' }\n      ```\n       @method getProperties\n      @param {String...|Array} list of keys to get\n      @return {Object}\n      @public\n    */\n    getProperties: function () {\n      for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n\n      return _metal.getProperties.apply(void 0, [this].concat(args));\n    },\n\n    /**\n      Sets the provided key or path to the value.\n       ```javascript\n      record.set(\"key\", value);\n      ```\n       This method is generally very similar to calling `object[\"key\"] = value` or\n      `object.key = value`, except that it provides support for computed\n      properties, the `setUnknownProperty()` method and property observers.\n       ### Computed Properties\n       If you try to set a value on a key that has a computed property handler\n      defined (see the `get()` method for an example), then `set()` will call\n      that method, passing both the value and key instead of simply changing\n      the value itself. This is useful for those times when you need to\n      implement a property that is composed of one or more member\n      properties.\n       ### Unknown Properties\n       If you try to set a value on a key that is undefined in the target\n      object, then the `setUnknownProperty()` handler will be called instead. This\n      gives you an opportunity to implement complex \"virtual\" properties that\n      are not predefined on the object. If `setUnknownProperty()` returns\n      undefined, then `set()` will simply set the value on the object.\n       ### Property Observers\n       In addition to changing the property, `set()` will also register a property\n      change with the object. Unless you have placed this call inside of a\n      `beginPropertyChanges()` and `endPropertyChanges(),` any \"local\" observers\n      (i.e. observer methods declared on the same object), will be called\n      immediately. Any \"remote\" observers (i.e. observer methods declared on\n      another object) will be placed in a queue and called at a later time in a\n      coalesced manner.\n       @method set\n      @param {String} keyName The property to set\n      @param {Object} value The value to set or `null`.\n      @return {Object} The passed value\n      @public\n    */\n    set: function (keyName, value) {\n      return (0, _metal.set)(this, keyName, value);\n    },\n\n    /**\n      Sets a list of properties at once. These properties are set inside\n      a single `beginPropertyChanges` and `endPropertyChanges` batch, so\n      observers will be buffered.\n       ```javascript\n      record.setProperties({ firstName: 'Charles', lastName: 'Jolley' });\n      ```\n       @method setProperties\n      @param {Object} hash the hash of keys and values to set\n      @return {Object} The passed in hash\n      @public\n    */\n    setProperties: function (hash) {\n      return (0, _metal.setProperties)(this, hash);\n    },\n\n    /**\n      Begins a grouping of property changes.\n       You can use this method to group property changes so that notifications\n      will not be sent until the changes are finished. If you plan to make a\n      large number of changes to an object at one time, you should call this\n      method at the beginning of the changes to begin deferring change\n      notifications. When you are done making changes, call\n      `endPropertyChanges()` to deliver the deferred change notifications and end\n      deferring.\n       @method beginPropertyChanges\n      @return {Observable}\n      @private\n    */\n    beginPropertyChanges: function () {\n      (0, _metal.beginPropertyChanges)();\n      return this;\n    },\n\n    /**\n      Ends a grouping of property changes.\n       You can use this method to group property changes so that notifications\n      will not be sent until the changes are finished. If you plan to make a\n      large number of changes to an object at one time, you should call\n      `beginPropertyChanges()` at the beginning of the changes to defer change\n      notifications. When you are done making changes, call this method to\n      deliver the deferred change notifications and end deferring.\n       @method endPropertyChanges\n      @return {Observable}\n      @private\n    */\n    endPropertyChanges: function () {\n      (0, _metal.endPropertyChanges)();\n      return this;\n    },\n\n    /**\n      Notify the observer system that a property has just changed.\n       Sometimes you need to change a value directly or indirectly without\n      actually calling `get()` or `set()` on it. In this case, you can use this\n      method instead. Calling this method will notify all observers that the\n      property has potentially changed value.\n       @method notifyPropertyChange\n      @param {String} keyName The property key to be notified about.\n      @return {Observable}\n      @public\n    */\n    notifyPropertyChange: function (keyName) {\n      (0, _metal.notifyPropertyChange)(this, keyName);\n      return this;\n    },\n\n    /**\n      Adds an observer on a property.\n       This is the core method used to register an observer for a property.\n       Once you call this method, any time the key's value is set, your observer\n      will be notified. Note that the observers are triggered any time the\n      value is set, regardless of whether it has actually changed. Your\n      observer should be prepared to handle that.\n       There are two common invocation patterns for `.addObserver()`:\n      \n      - Passing two arguments:\n        - the name of the property to observe (as a string)\n        - the function to invoke (an actual function)\n      - Passing three arguments:\n        - the name of the property to observe (as a string)\n        - the target object (will be used to look up and invoke a\n          function on)\n        - the name of the function to invoke on the target object\n          (as a string).\n       ```app/components/my-component.js\n      import Component from '@ember/component';\n       export default Component.extend({\n        init() {\n          this._super(...arguments);\n           // the following are equivalent:\n           // using three arguments\n          this.addObserver('foo', this, 'fooDidChange');\n           // using two arguments\n          this.addObserver('foo', (...args) => {\n            this.fooDidChange(...args);\n          });\n        },\n         fooDidChange() {\n          // your custom logic code\n        }\n      });\n      ```\n       ### Observer Methods\n       Observer methods have the following signature:\n       ```app/components/my-component.js\n      import Component from '@ember/component';\n       export default Component.extend({\n        init() {\n          this._super(...arguments);\n          this.addObserver('foo', this, 'fooDidChange');\n        },\n         fooDidChange(sender, key, value, rev) {\n          // your code\n        }\n      });\n      ```\n       The `sender` is the object that changed. The `key` is the property that\n      changes. The `value` property is currently reserved and unused. The `rev`\n      is the last property revision of the object when it changed, which you can\n      use to detect if the key value has really changed or not.\n       Usually you will not need the value or revision parameters at\n      the end. In this case, it is common to write observer methods that take\n      only a sender and key value as parameters or, if you aren't interested in\n      any of these values, to write an observer that has no parameters at all.\n       @method addObserver\n      @param {String} key The key to observe\n      @param {Object} target The target object to invoke\n      @param {String|Function} method The method to invoke\n      @return {Observable}\n      @public\n    */\n    addObserver: function (key, target, method) {\n      (0, _metal.addObserver)(this, key, target, method);\n      return this;\n    },\n\n    /**\n      Remove an observer you have previously registered on this object. Pass\n      the same key, target, and method you passed to `addObserver()` and your\n      target will no longer receive notifications.\n       @method removeObserver\n      @param {String} key The key to observe\n      @param {Object} target The target object to invoke\n      @param {String|Function} method The method to invoke\n      @return {Observable}\n      @public\n    */\n    removeObserver: function (key, target, method) {\n      (0, _metal.removeObserver)(this, key, target, method);\n      return this;\n    },\n\n    /**\n      Returns `true` if the object currently has observers registered for a\n      particular key. You can use this method to potentially defer performing\n      an expensive action until someone begins observing a particular property\n      on the object.\n       @method hasObserverFor\n      @param {String} key Key to check\n      @return {Boolean}\n      @private\n    */\n    hasObserverFor: function (key) {\n      return (0, _metal.hasListeners)(this, key + \":change\");\n    },\n\n    /**\n      Retrieves the value of a property, or a default value in the case that the\n      property returns `undefined`.\n       ```javascript\n      person.getWithDefault('lastName', 'Doe');\n      ```\n       @method getWithDefault\n      @param {String} keyName The name of the property to retrieve\n      @param {Object} defaultValue The value to return if the property value is undefined\n      @return {Object} The property value or the defaultValue.\n      @public\n    */\n    getWithDefault: function (keyName, defaultValue) {\n      return (0, _metal.getWithDefault)(this, keyName, defaultValue);\n    },\n\n    /**\n      Set the value of a property to the current value plus some amount.\n       ```javascript\n      person.incrementProperty('age');\n      team.incrementProperty('score', 2);\n      ```\n       @method incrementProperty\n      @param {String} keyName The name of the property to increment\n      @param {Number} increment The amount to increment by. Defaults to 1\n      @return {Number} The new property value\n      @public\n    */\n    incrementProperty: function (keyName) {\n      var increment = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n      true && !(!isNaN(parseFloat(increment)) && isFinite(increment)) && (0, _debug.assert)('Must pass a numeric value to incrementProperty', !isNaN(parseFloat(increment)) && isFinite(increment));\n      return (0, _metal.set)(this, keyName, (parseFloat((0, _metal.get)(this, keyName)) || 0) + increment);\n    },\n\n    /**\n      Set the value of a property to the current value minus some amount.\n       ```javascript\n      player.decrementProperty('lives');\n      orc.decrementProperty('health', 5);\n      ```\n       @method decrementProperty\n      @param {String} keyName The name of the property to decrement\n      @param {Number} decrement The amount to decrement by. Defaults to 1\n      @return {Number} The new property value\n      @public\n    */\n    decrementProperty: function (keyName) {\n      var decrement = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n      true && !(!isNaN(parseFloat(decrement)) && isFinite(decrement)) && (0, _debug.assert)('Must pass a numeric value to decrementProperty', !isNaN(parseFloat(decrement)) && isFinite(decrement));\n      return (0, _metal.set)(this, keyName, ((0, _metal.get)(this, keyName) || 0) - decrement);\n    },\n\n    /**\n      Set the value of a boolean property to the opposite of its\n      current value.\n       ```javascript\n      starship.toggleProperty('warpDriveEngaged');\n      ```\n       @method toggleProperty\n      @param {String} keyName The name of the property to toggle\n      @return {Boolean} The new property value\n      @public\n    */\n    toggleProperty: function (keyName) {\n      return (0, _metal.set)(this, keyName, !(0, _metal.get)(this, keyName));\n    },\n\n    /**\n      Returns the cached value of a computed property, if it exists.\n      This allows you to inspect the value of a computed property\n      without accidentally invoking it if it is intended to be\n      generated lazily.\n       @method cacheFor\n      @param {String} keyName\n      @return {Object} The cached value of the computed property, if any\n      @public\n    */\n    cacheFor: function (keyName) {\n      return (0, _metal.getCachedValueFor)(this, keyName);\n    }\n  });\n\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/runtime/lib/mixins/promise_proxy\", [\"exports\", \"@ember/-internals/metal\", \"@ember/error\"], function (_exports, _metal, _error) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n    @module @ember/object\n  */\n  function tap(proxy, promise) {\n    (0, _metal.setProperties)(proxy, {\n      isFulfilled: false,\n      isRejected: false\n    });\n    return promise.then(function (value) {\n      if (!proxy.isDestroyed && !proxy.isDestroying) {\n        (0, _metal.setProperties)(proxy, {\n          content: value,\n          isFulfilled: true\n        });\n      }\n\n      return value;\n    }, function (reason) {\n      if (!proxy.isDestroyed && !proxy.isDestroying) {\n        (0, _metal.setProperties)(proxy, {\n          reason: reason,\n          isRejected: true\n        });\n      }\n\n      throw reason;\n    }, 'Ember: PromiseProxy');\n  }\n  /**\n    A low level mixin making ObjectProxy promise-aware.\n  \n    ```javascript\n    import { resolve } from 'rsvp';\n    import $ from 'jquery';\n    import ObjectProxy from '@ember/object/proxy';\n    import PromiseProxyMixin from '@ember/object/promise-proxy-mixin';\n  \n    let ObjectPromiseProxy = ObjectProxy.extend(PromiseProxyMixin);\n  \n    let proxy = ObjectPromiseProxy.create({\n      promise: resolve($.getJSON('/some/remote/data.json'))\n    });\n  \n    proxy.then(function(json){\n       // the json\n    }, function(reason) {\n       // the reason why you have no json\n    });\n    ```\n  \n    the proxy has bindable attributes which\n    track the promises life cycle\n  \n    ```javascript\n    proxy.get('isPending')   //=> true\n    proxy.get('isSettled')  //=> false\n    proxy.get('isRejected')  //=> false\n    proxy.get('isFulfilled') //=> false\n    ```\n  \n    When the $.getJSON completes, and the promise is fulfilled\n    with json, the life cycle attributes will update accordingly.\n    Note that $.getJSON doesn't return an ECMA specified promise,\n    it is useful to wrap this with an `RSVP.resolve` so that it behaves\n    as a spec compliant promise.\n  \n    ```javascript\n    proxy.get('isPending')   //=> false\n    proxy.get('isSettled')   //=> true\n    proxy.get('isRejected')  //=> false\n    proxy.get('isFulfilled') //=> true\n    ```\n  \n    As the proxy is an ObjectProxy, and the json now its content,\n    all the json properties will be available directly from the proxy.\n  \n    ```javascript\n    // Assuming the following json:\n    {\n      firstName: 'Stefan',\n      lastName: 'Penner'\n    }\n  \n    // both properties will accessible on the proxy\n    proxy.get('firstName') //=> 'Stefan'\n    proxy.get('lastName')  //=> 'Penner'\n    ```\n  \n    @class PromiseProxyMixin\n    @public\n  */\n\n\n  var _default = _metal.Mixin.create({\n    /**\n      If the proxied promise is rejected this will contain the reason\n      provided.\n       @property reason\n      @default null\n      @public\n    */\n    reason: null,\n\n    /**\n      Once the proxied promise has settled this will become `false`.\n       @property isPending\n      @default true\n      @public\n    */\n    isPending: (0, _metal.computed)('isSettled', function () {\n      return !(0, _metal.get)(this, 'isSettled');\n    }).readOnly(),\n\n    /**\n      Once the proxied promise has settled this will become `true`.\n       @property isSettled\n      @default false\n      @public\n    */\n    isSettled: (0, _metal.computed)('isRejected', 'isFulfilled', function () {\n      return (0, _metal.get)(this, 'isRejected') || (0, _metal.get)(this, 'isFulfilled');\n    }).readOnly(),\n\n    /**\n      Will become `true` if the proxied promise is rejected.\n       @property isRejected\n      @default false\n      @public\n    */\n    isRejected: false,\n\n    /**\n      Will become `true` if the proxied promise is fulfilled.\n       @property isFulfilled\n      @default false\n      @public\n    */\n    isFulfilled: false,\n\n    /**\n      The promise whose fulfillment value is being proxied by this object.\n       This property must be specified upon creation, and should not be\n      changed once created.\n       Example:\n       ```javascript\n      import ObjectProxy from '@ember/object/proxy';\n      import PromiseProxyMixin from '@ember/object/promise-proxy-mixin';\n       ObjectProxy.extend(PromiseProxyMixin).create({\n        promise: <thenable>\n      });\n      ```\n       @property promise\n      @public\n    */\n    promise: (0, _metal.computed)({\n      get: function () {\n        throw new _error.default(\"PromiseProxy's promise must be set\");\n      },\n      set: function (key, promise) {\n        return tap(this, promise);\n      }\n    }),\n\n    /**\n      An alias to the proxied promise's `then`.\n       See RSVP.Promise.then.\n       @method then\n      @param {Function} callback\n      @return {RSVP.Promise}\n      @public\n    */\n    then: promiseAlias('then'),\n\n    /**\n      An alias to the proxied promise's `catch`.\n       See RSVP.Promise.catch.\n       @method catch\n      @param {Function} callback\n      @return {RSVP.Promise}\n      @since 1.3.0\n      @public\n    */\n    catch: promiseAlias('catch'),\n\n    /**\n      An alias to the proxied promise's `finally`.\n       See RSVP.Promise.finally.\n       @method finally\n      @param {Function} callback\n      @return {RSVP.Promise}\n      @since 1.3.0\n      @public\n    */\n    finally: promiseAlias('finally')\n  });\n\n  _exports.default = _default;\n\n  function promiseAlias(name) {\n    return function () {\n      var promise = (0, _metal.get)(this, 'promise');\n      return promise[name].apply(promise, arguments);\n    };\n  }\n});","enifed(\"@ember/-internals/runtime/lib/mixins/registry_proxy\", [\"exports\", \"@ember/debug\", \"@ember/-internals/metal\"], function (_exports, _debug, _metal) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n\n  /**\n    RegistryProxyMixin is used to provide public access to specific\n    registry functionality.\n  \n    @class RegistryProxyMixin\n    @private\n  */\n  var _default = _metal.Mixin.create({\n    __registry__: null,\n\n    /**\n     Given a fullName return the corresponding factory.\n      @public\n     @method resolveRegistration\n     @param {String} fullName\n     @return {Function} fullName's factory\n     */\n    resolveRegistration: function (fullName, options) {\n      true && !this.__registry__.isValidFullName(fullName) && (0, _debug.assert)('fullName must be a proper full name', this.__registry__.isValidFullName(fullName));\n      return this.__registry__.resolve(fullName, options);\n    },\n\n    /**\n      Registers a factory that can be used for dependency injection (with\n      `inject`) or for service lookup. Each factory is registered with\n      a full name including two parts: `type:name`.\n       A simple example:\n       ```javascript\n      import Application from '@ember/application';\n      import EmberObject from '@ember/object';\n       let App = Application.create();\n       App.Orange = EmberObject.extend();\n      App.register('fruit:favorite', App.Orange);\n      ```\n       Ember will resolve factories from the `App` namespace automatically.\n      For example `App.CarsController` will be discovered and returned if\n      an application requests `controller:cars`.\n       An example of registering a controller with a non-standard name:\n       ```javascript\n      import Application from '@ember/application';\n      import Controller from '@ember/controller';\n       let App = Application.create();\n      let Session = Controller.extend();\n       App.register('controller:session', Session);\n       // The Session controller can now be treated like a normal controller,\n      // despite its non-standard name.\n      App.ApplicationController = Controller.extend({\n        needs: ['session']\n      });\n      ```\n       Registered factories are **instantiated** by having `create`\n      called on them. Additionally they are **singletons**, each time\n      they are looked up they return the same instance.\n       Some examples modifying that default behavior:\n       ```javascript\n      import Application from '@ember/application';\n      import EmberObject from '@ember/object';\n       let App = Application.create();\n       App.Person = EmberObject.extend();\n      App.Orange = EmberObject.extend();\n      App.Email = EmberObject.extend();\n      App.session = EmberObject.create();\n       App.register('model:user', App.Person, { singleton: false });\n      App.register('fruit:favorite', App.Orange);\n      App.register('communication:main', App.Email, { singleton: false });\n      App.register('session', App.session, { instantiate: false });\n      ```\n       @method register\n      @param  fullName {String} type:name (e.g., 'model:user')\n      @param  factory {any} (e.g., App.Person)\n      @param  options {Object} (optional) disable instantiation or singleton usage\n      @public\n     */\n    register: registryAlias('register'),\n\n    /**\n     Unregister a factory.\n      ```javascript\n     import Application from '@ember/application';\n     import EmberObject from '@ember/object';\n      let App = Application.create();\n     let User = EmberObject.extend();\n     App.register('model:user', User);\n      App.resolveRegistration('model:user').create() instanceof User //=> true\n      App.unregister('model:user')\n     App.resolveRegistration('model:user') === undefined //=> true\n     ```\n      @public\n     @method unregister\n     @param {String} fullName\n     */\n    unregister: registryAlias('unregister'),\n\n    /**\n     Check if a factory is registered.\n      @public\n     @method hasRegistration\n     @param {String} fullName\n     @return {Boolean}\n     */\n    hasRegistration: registryAlias('has'),\n\n    /**\n     Return a specific registered option for a particular factory.\n      @public\n     @method registeredOption\n     @param  {String} fullName\n     @param  {String} optionName\n     @return {Object} options\n     */\n    registeredOption: registryAlias('getOption'),\n\n    /**\n     Register options for a particular factory.\n      @public\n     @method registerOptions\n     @param {String} fullName\n     @param {Object} options\n     */\n    registerOptions: registryAlias('options'),\n\n    /**\n     Return registered options for a particular factory.\n      @public\n     @method registeredOptions\n     @param  {String} fullName\n     @return {Object} options\n     */\n    registeredOptions: registryAlias('getOptions'),\n\n    /**\n     Allow registering options for all factories of a type.\n      ```javascript\n     import Application from '@ember/application';\n      let App = Application.create();\n     let appInstance = App.buildInstance();\n      // if all of type `connection` must not be singletons\n     appInstance.registerOptionsForType('connection', { singleton: false });\n      appInstance.register('connection:twitter', TwitterConnection);\n     appInstance.register('connection:facebook', FacebookConnection);\n      let twitter = appInstance.lookup('connection:twitter');\n     let twitter2 = appInstance.lookup('connection:twitter');\n      twitter === twitter2; // => false\n      let facebook = appInstance.lookup('connection:facebook');\n     let facebook2 = appInstance.lookup('connection:facebook');\n      facebook === facebook2; // => false\n     ```\n      @public\n     @method registerOptionsForType\n     @param {String} type\n     @param {Object} options\n     */\n    registerOptionsForType: registryAlias('optionsForType'),\n\n    /**\n     Return the registered options for all factories of a type.\n      @public\n     @method registeredOptionsForType\n     @param {String} type\n     @return {Object} options\n     */\n    registeredOptionsForType: registryAlias('getOptionsForType'),\n\n    /**\n      Define a dependency injection onto a specific factory or all factories\n      of a type.\n       When Ember instantiates a controller, view, or other framework component\n      it can attach a dependency to that component. This is often used to\n      provide services to a set of framework components.\n       An example of providing a session object to all controllers:\n       ```javascript\n      import { alias } from '@ember/object/computed';\n      import Application from '@ember/application';\n      import Controller from '@ember/controller';\n      import EmberObject from '@ember/object';\n       let App = Application.create();\n      let Session = EmberObject.extend({ isAuthenticated: false });\n       // A factory must be registered before it can be injected\n      App.register('session:main', Session);\n       // Inject 'session:main' onto all factories of the type 'controller'\n      // with the name 'session'\n      App.inject('controller', 'session', 'session:main');\n       App.IndexController = Controller.extend({\n        isLoggedIn: alias('session.isAuthenticated')\n      });\n      ```\n       Injections can also be performed on specific factories.\n       ```javascript\n      App.inject(<full_name or type>, <property name>, <full_name>)\n      App.inject('route', 'source', 'source:main')\n      App.inject('route:application', 'email', 'model:email')\n      ```\n       It is important to note that injections can only be performed on\n      classes that are instantiated by Ember itself. Instantiating a class\n      directly (via `create` or `new`) bypasses the dependency injection\n      system.\n       @public\n      @method inject\n      @param  factoryNameOrType {String}\n      @param  property {String}\n      @param  injectionName {String}\n    **/\n    inject: registryAlias('injection')\n  });\n\n  _exports.default = _default;\n\n  function registryAlias(name) {\n    return function () {\n      var _this$__registry__;\n\n      return (_this$__registry__ = this.__registry__)[name].apply(_this$__registry__, arguments);\n    };\n  }\n});","enifed(\"@ember/-internals/runtime/lib/mixins/target_action_support\", [\"exports\", \"@ember/-internals/environment\", \"@ember/-internals/metal\", \"@ember/debug\"], function (_exports, _environment, _metal, _debug) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n\n  /**\n  `Ember.TargetActionSupport` is a mixin that can be included in a class\n  to add a `triggerAction` method with semantics similar to the Handlebars\n  `{{action}}` helper. In normal Ember usage, the `{{action}}` helper is\n  usually the best choice. This mixin is most often useful when you are\n  doing more complex event handling in Components.\n  \n  @class TargetActionSupport\n  @namespace Ember\n  @extends Mixin\n  @private\n  */\n  var _default = _metal.Mixin.create({\n    target: null,\n    action: null,\n    actionContext: null,\n    actionContextObject: (0, _metal.computed)('actionContext', function () {\n      var actionContext = (0, _metal.get)(this, 'actionContext');\n\n      if (typeof actionContext === 'string') {\n        var value = (0, _metal.get)(this, actionContext);\n\n        if (value === undefined) {\n          value = (0, _metal.get)(_environment.context.lookup, actionContext);\n        }\n\n        return value;\n      } else {\n        return actionContext;\n      }\n    }),\n\n    /**\n    Send an `action` with an `actionContext` to a `target`. The action, actionContext\n    and target will be retrieved from properties of the object. For example:\n     ```javascript\n    import { alias } from '@ember/object/computed';\n     App.SaveButtonView = Ember.View.extend(Ember.TargetActionSupport, {\n      target: alias('controller'),\n      action: 'save',\n      actionContext: alias('context'),\n      click() {\n        this.triggerAction(); // Sends the `save` action, along with the current context\n                              // to the current controller\n      }\n    });\n    ```\n     The `target`, `action`, and `actionContext` can be provided as properties of\n    an optional object argument to `triggerAction` as well.\n     ```javascript\n    App.SaveButtonView = Ember.View.extend(Ember.TargetActionSupport, {\n      click() {\n        this.triggerAction({\n          action: 'save',\n          target: this.get('controller'),\n          actionContext: this.get('context')\n        }); // Sends the `save` action, along with the current context\n            // to the current controller\n      }\n    });\n    ```\n     The `actionContext` defaults to the object you are mixing `TargetActionSupport` into.\n    But `target` and `action` must be specified either as properties or with the argument\n    to `triggerAction`, or a combination:\n     ```javascript\n    import { alias } from '@ember/object/computed';\n     App.SaveButtonView = Ember.View.extend(Ember.TargetActionSupport, {\n      target: alias('controller'),\n      click() {\n        this.triggerAction({\n          action: 'save'\n        }); // Sends the `save` action, along with a reference to `this`,\n            // to the current controller\n      }\n    });\n    ```\n     @method triggerAction\n    @param opts {Object} (optional, with the optional keys action, target and/or actionContext)\n    @return {Boolean} true if the action was sent successfully and did not return false\n    @private\n    */\n    triggerAction: function () {\n      var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n      var action = opts.action,\n          target = opts.target,\n          actionContext = opts.actionContext;\n      action = action || (0, _metal.get)(this, 'action');\n      target = target || getTarget(this);\n\n      if (actionContext === undefined) {\n        actionContext = (0, _metal.get)(this, 'actionContextObject') || this;\n      }\n\n      if (target && action) {\n        var ret;\n\n        if (target.send) {\n          var _target;\n\n          ret = (_target = target).send.apply(_target, [action].concat(actionContext));\n        } else {\n          var _target2;\n\n          true && !(typeof target[action] === 'function') && (0, _debug.assert)(\"The action '\" + action + \"' did not exist on \" + target, typeof target[action] === 'function');\n          ret = (_target2 = target)[action].apply(_target2, [].concat(actionContext));\n        }\n\n        if (ret !== false) {\n          return true;\n        }\n      }\n\n      return false;\n    }\n  });\n\n  _exports.default = _default;\n\n  function getTarget(instance) {\n    var target = (0, _metal.get)(instance, 'target');\n\n    if (target) {\n      if (typeof target === 'string') {\n        var value = (0, _metal.get)(instance, target);\n\n        if (value === undefined) {\n          value = (0, _metal.get)(_environment.context.lookup, target);\n        }\n\n        return value;\n      } else {\n        return target;\n      }\n    }\n\n    if (instance._target) {\n      return instance._target;\n    }\n\n    return null;\n  }\n});","enifed(\"@ember/-internals/runtime/lib/system/array_proxy\", [\"exports\", \"ember-babel\", \"@ember/-internals/metal\", \"@ember/-internals/runtime/lib/system/object\", \"@ember/-internals/runtime/lib/mixins/array\", \"@ember/debug\"], function (_exports, _emberBabel, _metal, _object, _array, _debug) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n  @module @ember/array\n  */\n  var ARRAY_OBSERVER_MAPPING = {\n    willChange: '_arrangedContentArrayWillChange',\n    didChange: '_arrangedContentArrayDidChange'\n  };\n  /**\n    An ArrayProxy wraps any other object that implements `Array` and/or\n    `MutableArray,` forwarding all requests. This makes it very useful for\n    a number of binding use cases or other cases where being able to swap\n    out the underlying array is useful.\n  \n    A simple example of usage:\n  \n    ```javascript\n    import { A } from '@ember/array';\n    import ArrayProxy from '@ember/array/proxy';\n  \n    let pets = ['dog', 'cat', 'fish'];\n    let ap = ArrayProxy.create({ content: A(pets) });\n  \n    ap.get('firstObject');                        // 'dog'\n    ap.set('content', ['amoeba', 'paramecium']);\n    ap.get('firstObject');                        // 'amoeba'\n    ```\n  \n    This class can also be useful as a layer to transform the contents of\n    an array, as they are accessed. This can be done by overriding\n    `objectAtContent`:\n  \n    ```javascript\n    import { A } from '@ember/array';\n    import ArrayProxy from '@ember/array/proxy';\n  \n    let pets = ['dog', 'cat', 'fish'];\n    let ap = ArrayProxy.create({\n        content: A(pets),\n        objectAtContent: function(idx) {\n            return this.get('content').objectAt(idx).toUpperCase();\n        }\n    });\n  \n    ap.get('firstObject'); // . 'DOG'\n    ```\n  \n    When overriding this class, it is important to place the call to\n    `_super` *after* setting `content` so the internal observers have\n    a chance to fire properly:\n  \n    ```javascript\n    import { A } from '@ember/array';\n    import ArrayProxy from '@ember/array/proxy';\n  \n    export default ArrayProxy.extend({\n      init() {\n        this.set('content', A(['dog', 'cat', 'fish']));\n        this._super(...arguments);\n      }\n    });\n    ```\n  \n    @class ArrayProxy\n    @extends EmberObject\n    @uses MutableArray\n    @public\n  */\n\n  var ArrayProxy =\n  /*#__PURE__*/\n  function (_EmberObject) {\n    (0, _emberBabel.inheritsLoose)(ArrayProxy, _EmberObject);\n\n    function ArrayProxy() {\n      return _EmberObject.apply(this, arguments) || this;\n    }\n\n    var _proto = ArrayProxy.prototype;\n\n    _proto.init = function init() {\n      _EmberObject.prototype.init.apply(this, arguments);\n      /*\n        `this._objectsDirtyIndex` determines which indexes in the `this._objects`\n        cache are dirty.\n         If `this._objectsDirtyIndex === -1` then no indexes are dirty.\n        Otherwise, an index `i` is dirty if `i >= this._objectsDirtyIndex`.\n         Calling `objectAt` with a dirty index will cause the `this._objects`\n        cache to be recomputed.\n      */\n\n\n      this._objectsDirtyIndex = 0;\n      this._objects = null;\n      this._lengthDirty = true;\n      this._length = 0;\n      this._arrangedContent = null;\n\n      if (false\n      /* EMBER_METAL_TRACKED_PROPERTIES */\n      ) {\n          this._arrangedContentIsUpdating = false;\n          this._arrangedContentTag = (0, _metal.getChainTagsForKey)(this, 'arrangedContent');\n          this._arrangedContentRevision = this._arrangedContentTag.value();\n        }\n\n      this._addArrangedContentArrayObsever();\n    };\n\n    _proto.willDestroy = function willDestroy() {\n      this._removeArrangedContentArrayObsever();\n    }\n    /**\n      The content array. Must be an object that implements `Array` and/or\n      `MutableArray.`\n       @property content\n      @type EmberArray\n      @public\n    */\n\n    /**\n      Should actually retrieve the object at the specified index from the\n      content. You can override this method in subclasses to transform the\n      content item to something new.\n       This method will only be called if content is non-`null`.\n       @method objectAtContent\n      @param {Number} idx The index to retrieve.\n      @return {Object} the value or undefined if none found\n      @public\n    */\n    ;\n\n    _proto.objectAtContent = function objectAtContent(idx) {\n      return (0, _metal.objectAt)((0, _metal.get)(this, 'arrangedContent'), idx);\n    } // See additional docs for `replace` from `MutableArray`:\n    // https://www.emberjs.com/api/ember/3.3/classes/MutableArray/methods/replace?anchor=replace\n    ;\n\n    _proto.replace = function replace(idx, amt, objects) {\n      true && !((0, _metal.get)(this, 'arrangedContent') === (0, _metal.get)(this, 'content')) && (0, _debug.assert)('Mutating an arranged ArrayProxy is not allowed', (0, _metal.get)(this, 'arrangedContent') === (0, _metal.get)(this, 'content'));\n      this.replaceContent(idx, amt, objects);\n    }\n    /**\n      Should actually replace the specified objects on the content array.\n      You can override this method in subclasses to transform the content item\n      into something new.\n       This method will only be called if content is non-`null`.\n       @method replaceContent\n      @param {Number} idx The starting index\n      @param {Number} amt The number of items to remove from the content.\n      @param {EmberArray} objects Optional array of objects to insert or null if no\n        objects.\n      @return {void}\n      @public\n    */\n    ;\n\n    _proto.replaceContent = function replaceContent(idx, amt, objects) {\n      (0, _metal.get)(this, 'content').replace(idx, amt, objects);\n    } // Overriding objectAt is not supported.\n    ;\n\n    _proto.objectAt = function objectAt(idx) {\n      if (false\n      /* EMBER_METAL_TRACKED_PROPERTIES */\n      ) {\n          this._revalidate();\n        }\n\n      if (this._objects === null) {\n        this._objects = [];\n      }\n\n      if (this._objectsDirtyIndex !== -1 && idx >= this._objectsDirtyIndex) {\n        var arrangedContent = (0, _metal.get)(this, 'arrangedContent');\n\n        if (arrangedContent) {\n          var length = this._objects.length = (0, _metal.get)(arrangedContent, 'length');\n\n          for (var i = this._objectsDirtyIndex; i < length; i++) {\n            this._objects[i] = this.objectAtContent(i);\n          }\n        } else {\n          this._objects.length = 0;\n        }\n\n        this._objectsDirtyIndex = -1;\n      }\n\n      return this._objects[idx];\n    } // Overriding length is not supported.\n    ;\n\n    _proto[_metal.PROPERTY_DID_CHANGE] = function (key) {\n      if (false\n      /* EMBER_METAL_TRACKED_PROPERTIES */\n      ) {\n          this._revalidate();\n        } else {\n        if (key === 'arrangedContent') {\n          this._updateArrangedContentArray();\n        } else if (key === 'content') {\n          this._invalidate();\n        }\n      }\n    };\n\n    _proto._updateArrangedContentArray = function _updateArrangedContentArray() {\n      var oldLength = this._objects === null ? 0 : this._objects.length;\n      var arrangedContent = (0, _metal.get)(this, 'arrangedContent');\n      var newLength = arrangedContent ? (0, _metal.get)(arrangedContent, 'length') : 0;\n\n      this._removeArrangedContentArrayObsever();\n\n      this.arrayContentWillChange(0, oldLength, newLength);\n\n      this._invalidate();\n\n      this.arrayContentDidChange(0, oldLength, newLength);\n\n      this._addArrangedContentArrayObsever();\n    };\n\n    _proto._addArrangedContentArrayObsever = function _addArrangedContentArrayObsever() {\n      var arrangedContent = (0, _metal.get)(this, 'arrangedContent');\n\n      if (arrangedContent && !arrangedContent.isDestroyed) {\n        true && !(arrangedContent !== this) && (0, _debug.assert)(\"Can't set ArrayProxy's content to itself\", arrangedContent !== this);\n        true && !((0, _array.isArray)(arrangedContent) || arrangedContent.isDestroyed) && (0, _debug.assert)(\"ArrayProxy expects an Array or ArrayProxy, but you passed \" + typeof arrangedContent, (0, _array.isArray)(arrangedContent) || arrangedContent.isDestroyed);\n        (0, _metal.addArrayObserver)(arrangedContent, this, ARRAY_OBSERVER_MAPPING);\n        this._arrangedContent = arrangedContent;\n      }\n    };\n\n    _proto._removeArrangedContentArrayObsever = function _removeArrangedContentArrayObsever() {\n      if (this._arrangedContent) {\n        (0, _metal.removeArrayObserver)(this._arrangedContent, this, ARRAY_OBSERVER_MAPPING);\n      }\n    };\n\n    _proto._arrangedContentArrayWillChange = function _arrangedContentArrayWillChange() {};\n\n    _proto._arrangedContentArrayDidChange = function _arrangedContentArrayDidChange(proxy, idx, removedCnt, addedCnt) {\n      this.arrayContentWillChange(idx, removedCnt, addedCnt);\n      var dirtyIndex = idx;\n\n      if (dirtyIndex < 0) {\n        var length = (0, _metal.get)(this._arrangedContent, 'length');\n        dirtyIndex += length + removedCnt - addedCnt;\n      }\n\n      if (this._objectsDirtyIndex === -1 || this._objectsDirtyIndex > dirtyIndex) {\n        this._objectsDirtyIndex = dirtyIndex;\n      }\n\n      this._lengthDirty = true;\n      this.arrayContentDidChange(idx, removedCnt, addedCnt);\n    };\n\n    _proto._invalidate = function _invalidate() {\n      this._objectsDirtyIndex = 0;\n      this._lengthDirty = true;\n    };\n\n    (0, _emberBabel.createClass)(ArrayProxy, [{\n      key: \"length\",\n      get: function () {\n        if (false\n        /* EMBER_METAL_TRACKED_PROPERTIES */\n        ) {\n            this._revalidate();\n          }\n\n        if (this._lengthDirty) {\n          var arrangedContent = (0, _metal.get)(this, 'arrangedContent');\n          this._length = arrangedContent ? (0, _metal.get)(arrangedContent, 'length') : 0;\n          this._lengthDirty = false;\n        }\n\n        return this._length;\n      },\n      set: function (value) {\n        var length = this.length;\n        var removedCount = length - value;\n        var added;\n\n        if (removedCount === 0) {\n          return;\n        } else if (removedCount < 0) {\n          added = new Array(-removedCount);\n          removedCount = 0;\n        }\n\n        var content = (0, _metal.get)(this, 'content');\n\n        if (content) {\n          (0, _metal.replace)(content, value, removedCount, added);\n\n          this._invalidate();\n        }\n      }\n    }]);\n    return ArrayProxy;\n  }(_object.default);\n\n  _exports.default = ArrayProxy;\n\n  var _revalidate;\n\n  if (false\n  /* EMBER_METAL_TRACKED_PROPERTIES */\n  ) {\n      _revalidate = function () {\n        if (!this._arrangedContentIsUpdating && !this._arrangedContentTag.validate(this._arrangedContentRevision)) {\n          this._arrangedContentIsUpdating = true;\n\n          this._updateArrangedContentArray();\n\n          this._arrangedContentIsUpdating = false;\n          this._arrangedContentTag = (0, _metal.getChainTagsForKey)(this, 'arrangedContent');\n          this._arrangedContentRevision = this._arrangedContentTag.value();\n        }\n      };\n    }\n\n  ArrayProxy.reopen(_array.MutableArray, {\n    /**\n      The array that the proxy pretends to be. In the default `ArrayProxy`\n      implementation, this and `content` are the same. Subclasses of `ArrayProxy`\n      can override this property to provide things like sorting and filtering.\n       @property arrangedContent\n      @public\n    */\n    arrangedContent: (0, _metal.alias)('content'),\n    _revalidate: _revalidate\n  });\n});","enifed(\"@ember/-internals/runtime/lib/system/core_object\", [\"exports\", \"ember-babel\", \"@ember/-internals/container\", \"@ember/-internals/owner\", \"@ember/polyfills\", \"@ember/-internals/utils\", \"@ember/runloop\", \"@ember/-internals/meta\", \"@ember/-internals/metal\", \"@ember/-internals/runtime/lib/mixins/action_handler\", \"@ember/debug\"], function (_exports, _emberBabel, _container, _owner, _polyfills, _utils, _runloop, _meta2, _metal, _action_handler, _debug) {\n  \"use strict\";\n\n  _exports.setFrameworkClass = setFrameworkClass;\n  _exports.default = void 0;\n\n  /**\n    @module @ember/object\n  */\n  var _reopen = _metal.Mixin.prototype.reopen;\n  var wasApplied = new _polyfills._WeakSet();\n  var factoryMap = new WeakMap();\n  var prototypeMixinMap = new WeakMap();\n  var initCalled = true\n  /* DEBUG */\n  ? new _polyfills._WeakSet() : undefined; // only used in debug builds to enable the proxy trap\n\n  var PASSED_FROM_CREATE = true\n  /* DEBUG */\n  ? (0, _utils.symbol)('PASSED_FROM_CREATE') : undefined;\n  var FRAMEWORK_CLASSES = true\n  /* EMBER_FRAMEWORK_OBJECT_OWNER_ARGUMENT */\n  ? (0, _utils.symbol)('FRAMEWORK_CLASS') : undefined;\n\n  function setFrameworkClass(klass) {\n    klass[FRAMEWORK_CLASSES] = true;\n  }\n\n  function initialize(obj, properties) {\n    var m = (0, _meta2.meta)(obj);\n\n    if (properties !== undefined) {\n      true && !(typeof properties === 'object' && properties !== null) && (0, _debug.assert)('EmberObject.create only accepts objects.', typeof properties === 'object' && properties !== null);\n      true && !!(properties instanceof _metal.Mixin) && (0, _debug.assert)('EmberObject.create no longer supports mixing in other ' + 'definitions, use .extend & .create separately instead.', !(properties instanceof _metal.Mixin));\n      var concatenatedProperties = obj.concatenatedProperties;\n      var mergedProperties = obj.mergedProperties;\n      var hasConcatenatedProps = concatenatedProperties !== undefined && concatenatedProperties.length > 0;\n      var hasMergedProps = mergedProperties !== undefined && mergedProperties.length > 0;\n      var keyNames = Object.keys(properties);\n\n      for (var i = 0; i < keyNames.length; i++) {\n        var keyName = keyNames[i];\n        var value = properties[keyName];\n        true && !!(0, _metal.isClassicDecorator)(value) && (0, _debug.assert)('EmberObject.create no longer supports defining computed ' + 'properties. Define computed properties using extend() or reopen() ' + 'before calling create().', !(0, _metal.isClassicDecorator)(value));\n        true && !!(typeof value === 'function' && value.toString().indexOf('._super') !== -1) && (0, _debug.assert)('EmberObject.create no longer supports defining methods that call _super.', !(typeof value === 'function' && value.toString().indexOf('._super') !== -1));\n        true && !!(keyName === 'actions' && _action_handler.default.detect(obj)) && (0, _debug.assert)('`actions` must be provided at extend time, not at create time, ' + 'when Ember.ActionHandler is used (i.e. views, controllers & routes).', !(keyName === 'actions' && _action_handler.default.detect(obj)));\n        var possibleDesc = (0, _metal.descriptorForProperty)(obj, keyName, m);\n        var isDescriptor = possibleDesc !== undefined;\n\n        if (!isDescriptor) {\n          var baseValue = obj[keyName];\n\n          if (hasConcatenatedProps && concatenatedProperties.indexOf(keyName) > -1) {\n            if (baseValue) {\n              value = (0, _utils.makeArray)(baseValue).concat(value);\n            } else {\n              value = (0, _utils.makeArray)(value);\n            }\n          }\n\n          if (hasMergedProps && mergedProperties.indexOf(keyName) > -1) {\n            value = (0, _polyfills.assign)({}, baseValue, value);\n          }\n        }\n\n        if (isDescriptor) {\n          possibleDesc.set(obj, keyName, value);\n        } else if (typeof obj.setUnknownProperty === 'function' && !(keyName in obj)) {\n          obj.setUnknownProperty(keyName, value);\n        } else {\n          if (true\n          /* DEBUG */\n          ) {\n              (0, _metal.defineProperty)(obj, keyName, null, value, m); // setup mandatory setter\n            } else {\n            obj[keyName] = value;\n          }\n        }\n      }\n    } // using DEBUG here to avoid the extraneous variable when not needed\n\n\n    if (true\n    /* DEBUG */\n    ) {\n        initCalled.add(obj);\n      }\n\n    obj.init(properties);\n    m.unsetInitializing();\n\n    if (false\n    /* EMBER_METAL_TRACKED_PROPERTIES */\n    ) {\n        var observerEvents = m.observerEvents();\n\n        if (observerEvents !== undefined) {\n          for (var _i = 0; _i < observerEvents.length; _i++) {\n            (0, _metal.activateObserver)(obj, observerEvents[_i]);\n          }\n        }\n      } else {\n      // re-enable chains\n      (0, _metal.finishChains)(m);\n    }\n\n    (0, _metal.sendEvent)(obj, 'init', undefined, undefined, undefined, m);\n  }\n  /**\n    `CoreObject` is the base class for all Ember constructs. It establishes a\n    class system based on Ember's Mixin system, and provides the basis for the\n    Ember Object Model. `CoreObject` should generally not be used directly,\n    instead you should use `EmberObject`.\n  \n    ## Usage\n  \n    You can define a class by extending from `CoreObject` using the `extend`\n    method:\n  \n    ```js\n    const Person = CoreObject.extend({\n      name: 'Tomster',\n    });\n    ```\n  \n    For detailed usage, see the [Object Model](https://guides.emberjs.com/release/object-model/)\n    section of the guides.\n  \n    ## Usage with Native Classes\n  \n    Native JavaScript `class` syntax can be used to extend from any `CoreObject`\n    based class:\n  \n    ```js\n    class Person extends CoreObject {\n      init() {\n        super.init(...arguments);\n        this.name = 'Tomster';\n      }\n    }\n    ```\n  \n    Some notes about `class` usage:\n  \n    * `new` syntax is not currently supported with classes that extend from\n      `EmberObject` or `CoreObject`. You must continue to use the `create` method\n      when making new instances of classes, even if they are defined using native\n      class syntax. If you want to use `new` syntax, consider creating classes\n      which do _not_ extend from `EmberObject` or `CoreObject`. Ember features,\n      such as computed properties and decorators, will still work with base-less\n      classes.\n    * Instead of using `this._super()`, you must use standard `super` syntax in\n      native classes. See the [MDN docs on classes](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes#Super_class_calls_with_super)\n      for more details.\n    * Native classes support using [constructors](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes#Constructor)\n      to set up newly-created instances. Ember uses these to, among other things,\n      support features that need to retrieve other entities by name, like Service\n      injection and `getOwner`. To ensure your custom instance setup logic takes\n      place after this important work is done, avoid using the `constructor` in\n      favor of `init`.\n    * Properties passed to `create` will be available on the instance by the time\n      `init` runs, so any code that requires these values should work at that\n      time.\n    * Using native classes, and switching back to the old Ember Object model is\n      fully supported.\n  \n    @class CoreObject\n    @public\n  */\n\n\n  var CoreObject =\n  /*#__PURE__*/\n  function () {\n    CoreObject._initFactory = function _initFactory(factory) {\n      factoryMap.set(this, factory);\n    };\n\n    function CoreObject(passedFromCreate) {\n      // pluck off factory\n      var initFactory = factoryMap.get(this.constructor);\n\n      if (initFactory !== undefined) {\n        factoryMap.delete(this.constructor);\n\n        _container.FACTORY_FOR.set(this, initFactory);\n      } // prepare prototype...\n\n\n      this.constructor.proto();\n      var self = this;\n\n      if (true\n      /* DEBUG */\n      && _utils.HAS_NATIVE_PROXY && typeof self.unknownProperty === 'function') {\n        var messageFor = function (obj, property) {\n          return \"You attempted to access the `\" + String(property) + \"` property (of \" + obj + \").\\n\" + \"Since Ember 3.1, this is usually fine as you no longer need to use `.get()`\\n\" + \"to access computed properties. However, in this case, the object in question\\n\" + \"is a special kind of Ember object (a proxy). Therefore, it is still necessary\\n\" + (\"to use `.get('\" + String(property) + \"')` in this case.\\n\\n\") + \"If you encountered this error because of third-party code that you don't control,\\n\" + \"there is more information at https://github.com/emberjs/ember.js/issues/16148, and\\n\" + \"you can help us improve this error message by telling us more about what happened in\\n\" + \"this situation.\";\n        };\n        /* globals Proxy Reflect */\n\n\n        self = new Proxy(this, {\n          get: function (target, property, receiver) {\n            if (property === _metal.PROXY_CONTENT) {\n              return target;\n            } else if ( // init called will be set on the proxy, not the target, so get with the receiver\n            !initCalled.has(receiver) || typeof property === 'symbol' || (0, _utils.isInternalSymbol)(property) || property === 'toJSON' || property === 'toString' || property === 'toStringExtension' || property === 'didDefineProperty' || property === 'willWatchProperty' || property === 'didUnwatchProperty' || property === 'didAddListener' || property === 'didRemoveListener' || property === 'isDescriptor' || property === '_onLookup' || property in target) {\n              return Reflect.get(target, property, receiver);\n            }\n\n            var value = target.unknownProperty.call(receiver, property);\n\n            if (typeof value !== 'function') {\n              true && !(value === undefined || value === null) && (0, _debug.assert)(messageFor(receiver, property), value === undefined || value === null);\n            }\n          }\n        });\n\n        _container.FACTORY_FOR.set(self, initFactory);\n      } // disable chains\n\n\n      var m = (0, _meta2.meta)(self);\n      m.setInitializing();\n      true && !function () {\n        if (passedFromCreate === PASSED_FROM_CREATE) {\n          return true;\n        }\n\n        if (!true\n        /* EMBER_FRAMEWORK_OBJECT_OWNER_ARGUMENT */\n        ) {\n            return false;\n          }\n\n        if (initFactory === undefined) {\n          return false;\n        }\n\n        if (passedFromCreate === initFactory.owner) {\n          return true;\n        }\n\n        return false;\n      }() && (0, _debug.assert)(\"An EmberObject based class, \" + this.constructor + \", was not instantiated correctly. You may have either used `new` instead of `.create()`, or not passed arguments to your call to super in the constructor: `super(...arguments)`. If you are trying to use `new`, consider using native classes without extending from EmberObject.\", function () {\n        if (passedFromCreate === PASSED_FROM_CREATE) {\n          return true;\n        }\n\n        if (!true) {\n          return false;\n        }\n\n        if (initFactory === undefined) {\n          return false;\n        }\n\n        if (passedFromCreate === initFactory.owner) {\n          return true;\n        }\n\n        return false;\n      }()); // only return when in debug builds and `self` is the proxy created above\n\n      if (true\n      /* DEBUG */\n      && self !== this) {\n        return self;\n      }\n    }\n\n    var _proto = CoreObject.prototype;\n\n    _proto.reopen = function reopen() {\n      for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n\n      (0, _metal.applyMixin)(this, args);\n      return this;\n    }\n    /**\n      An overridable method called when objects are instantiated. By default,\n      does nothing unless it is overridden during class definition.\n       Example:\n       ```javascript\n      import EmberObject from '@ember/object';\n       const Person = EmberObject.extend({\n        init() {\n          alert(`Name is ${this.get('name')}`);\n        }\n      });\n       let steve = Person.create({\n        name: 'Steve'\n      });\n       // alerts 'Name is Steve'.\n      ```\n       NOTE: If you do override `init` for a framework class like `Ember.View`,\n      be sure to call `this._super(...arguments)` in your\n      `init` declaration! If you don't, Ember may not have an opportunity to\n      do important setup work, and you'll see strange behavior in your\n      application.\n       @method init\n      @public\n    */\n    ;\n\n    _proto.init = function init() {}\n    /**\n      Defines the properties that will be concatenated from the superclass\n      (instead of overridden).\n       By default, when you extend an Ember class a property defined in\n      the subclass overrides a property with the same name that is defined\n      in the superclass. However, there are some cases where it is preferable\n      to build up a property's value by combining the superclass' property\n      value with the subclass' value. An example of this in use within Ember\n      is the `classNames` property of `Ember.View`.\n       Here is some sample code showing the difference between a concatenated\n      property and a normal one:\n       ```javascript\n      import EmberObject from '@ember/object';\n       const Bar = EmberObject.extend({\n        // Configure which properties to concatenate\n        concatenatedProperties: ['concatenatedProperty'],\n         someNonConcatenatedProperty: ['bar'],\n        concatenatedProperty: ['bar']\n      });\n       const FooBar = Bar.extend({\n        someNonConcatenatedProperty: ['foo'],\n        concatenatedProperty: ['foo']\n      });\n       let fooBar = FooBar.create();\n      fooBar.get('someNonConcatenatedProperty'); // ['foo']\n      fooBar.get('concatenatedProperty'); // ['bar', 'foo']\n      ```\n       This behavior extends to object creation as well. Continuing the\n      above example:\n       ```javascript\n      let fooBar = FooBar.create({\n        someNonConcatenatedProperty: ['baz'],\n        concatenatedProperty: ['baz']\n      })\n      fooBar.get('someNonConcatenatedProperty'); // ['baz']\n      fooBar.get('concatenatedProperty'); // ['bar', 'foo', 'baz']\n      ```\n       Adding a single property that is not an array will just add it in the array:\n       ```javascript\n      let fooBar = FooBar.create({\n        concatenatedProperty: 'baz'\n      })\n      view.get('concatenatedProperty'); // ['bar', 'foo', 'baz']\n      ```\n       Using the `concatenatedProperties` property, we can tell Ember to mix the\n      content of the properties.\n       In `Component` the `classNames`, `classNameBindings` and\n      `attributeBindings` properties are concatenated.\n       This feature is available for you to use throughout the Ember object model,\n      although typical app developers are likely to use it infrequently. Since\n      it changes expectations about behavior of properties, you should properly\n      document its usage in each individual concatenated property (to not\n      mislead your users to think they can override the property in a subclass).\n       @property concatenatedProperties\n      @type Array\n      @default null\n      @public\n    */\n\n    /**\n      Defines the properties that will be merged from the superclass\n      (instead of overridden).\n       By default, when you extend an Ember class a property defined in\n      the subclass overrides a property with the same name that is defined\n      in the superclass. However, there are some cases where it is preferable\n      to build up a property's value by merging the superclass property value\n      with the subclass property's value. An example of this in use within Ember\n      is the `queryParams` property of routes.\n       Here is some sample code showing the difference between a merged\n      property and a normal one:\n       ```javascript\n      import EmberObject from '@ember/object';\n       const Bar = EmberObject.extend({\n        // Configure which properties are to be merged\n        mergedProperties: ['mergedProperty'],\n         someNonMergedProperty: {\n          nonMerged: 'superclass value of nonMerged'\n        },\n        mergedProperty: {\n          page: { replace: false },\n          limit: { replace: true }\n        }\n      });\n       const FooBar = Bar.extend({\n        someNonMergedProperty: {\n          completelyNonMerged: 'subclass value of nonMerged'\n        },\n        mergedProperty: {\n          limit: { replace: false }\n        }\n      });\n       let fooBar = FooBar.create();\n       fooBar.get('someNonMergedProperty');\n      // => { completelyNonMerged: 'subclass value of nonMerged' }\n      //\n      // Note the entire object, including the nonMerged property of\n      // the superclass object, has been replaced\n       fooBar.get('mergedProperty');\n      // => {\n      //   page: {replace: false},\n      //   limit: {replace: false}\n      // }\n      //\n      // Note the page remains from the superclass, and the\n      // `limit` property's value of `false` has been merged from\n      // the subclass.\n      ```\n       This behavior is not available during object `create` calls. It is only\n      available at `extend` time.\n       In `Route` the `queryParams` property is merged.\n       This feature is available for you to use throughout the Ember object model,\n      although typical app developers are likely to use it infrequently. Since\n      it changes expectations about behavior of properties, you should properly\n      document its usage in each individual merged property (to not\n      mislead your users to think they can override the property in a subclass).\n       @property mergedProperties\n      @type Array\n      @default null\n      @public\n    */\n\n    /**\n      Destroyed object property flag.\n       if this property is `true` the observers and bindings were already\n      removed by the effect of calling the `destroy()` method.\n       @property isDestroyed\n      @default false\n      @public\n    */\n    ;\n    /**\n      Destroys an object by setting the `isDestroyed` flag and removing its\n      metadata, which effectively destroys observers and bindings.\n       If you try to set a property on a destroyed object, an exception will be\n      raised.\n       Note that destruction is scheduled for the end of the run loop and does not\n      happen immediately.  It will set an isDestroying flag immediately.\n       @method destroy\n      @return {EmberObject} receiver\n      @public\n    */\n\n\n    _proto.destroy = function destroy() {\n      var m = (0, _meta2.peekMeta)(this);\n\n      if (m.isSourceDestroying()) {\n        return;\n      }\n\n      m.setSourceDestroying();\n      (0, _runloop.schedule)('actions', this, this.willDestroy);\n      (0, _runloop.schedule)('destroy', this, this._scheduledDestroy, m);\n      return this;\n    }\n    /**\n      Override to implement teardown.\n       @method willDestroy\n      @public\n    */\n    ;\n\n    _proto.willDestroy = function willDestroy() {}\n    /**\n      Invoked by the run loop to actually destroy the object. This is\n      scheduled for execution by the `destroy` method.\n       @private\n      @method _scheduledDestroy\n    */\n    ;\n\n    _proto._scheduledDestroy = function _scheduledDestroy(m) {\n      if (m.isSourceDestroyed()) {\n        return;\n      }\n\n      (0, _meta2.deleteMeta)(this);\n      m.setSourceDestroyed();\n    }\n    /**\n      Returns a string representation which attempts to provide more information\n      than Javascript's `toString` typically does, in a generic way for all Ember\n      objects.\n       ```javascript\n      import EmberObject from '@ember/object';\n       const Person = EmberObject.extend();\n      person = Person.create();\n      person.toString(); //=> \"<Person:ember1024>\"\n      ```\n       If the object's class is not defined on an Ember namespace, it will\n      indicate it is a subclass of the registered superclass:\n       ```javascript\n      const Student = Person.extend();\n      let student = Student.create();\n      student.toString(); //=> \"<(subclass of Person):ember1025>\"\n      ```\n       If the method `toStringExtension` is defined, its return value will be\n      included in the output.\n       ```javascript\n      const Teacher = Person.extend({\n        toStringExtension() {\n          return this.get('fullName');\n        }\n      });\n      teacher = Teacher.create();\n      teacher.toString(); //=> \"<Teacher:ember1026:Tom Dale>\"\n      ```\n       @method toString\n      @return {String} string representation\n      @public\n    */\n    ;\n\n    _proto.toString = function toString() {\n      var hasToStringExtension = typeof this.toStringExtension === 'function';\n      var extension = hasToStringExtension ? \":\" + this.toStringExtension() : '';\n      var ret = \"<\" + ((0, _utils.getName)(this) || _container.FACTORY_FOR.get(this) || this.constructor.toString()) + \":\" + (0, _utils.guidFor)(this) + extension + \">\";\n      return ret;\n    }\n    /**\n      Creates a new subclass.\n       ```javascript\n      import EmberObject from '@ember/object';\n       const Person = EmberObject.extend({\n        say(thing) {\n          alert(thing);\n         }\n      });\n      ```\n       This defines a new subclass of EmberObject: `Person`. It contains one method: `say()`.\n       You can also create a subclass from any existing class by calling its `extend()` method.\n      For example, you might want to create a subclass of Ember's built-in `Component` class:\n       ```javascript\n      import Component from '@ember/component';\n       const PersonComponent = Component.extend({\n        tagName: 'li',\n        classNameBindings: ['isAdministrator']\n      });\n      ```\n       When defining a subclass, you can override methods but still access the\n      implementation of your parent class by calling the special `_super()` method:\n       ```javascript\n      import EmberObject from '@ember/object';\n       const Person = EmberObject.extend({\n        say(thing) {\n          let name = this.get('name');\n          alert(`${name} says: ${thing}`);\n        }\n      });\n       const Soldier = Person.extend({\n        say(thing) {\n          this._super(`${thing}, sir!`);\n        },\n        march(numberOfHours) {\n          alert(`${this.get('name')} marches for ${numberOfHours} hours.`);\n        }\n      });\n       let yehuda = Soldier.create({\n        name: 'Yehuda Katz'\n      });\n       yehuda.say('Yes');  // alerts \"Yehuda Katz says: Yes, sir!\"\n      ```\n       The `create()` on line #17 creates an *instance* of the `Soldier` class.\n      The `extend()` on line #8 creates a *subclass* of `Person`. Any instance\n      of the `Person` class will *not* have the `march()` method.\n       You can also pass `Mixin` classes to add additional properties to the subclass.\n       ```javascript\n      import EmberObject from '@ember/object';\n      import Mixin from '@ember/object/mixin';\n       const Person = EmberObject.extend({\n        say(thing) {\n          alert(`${this.get('name')} says: ${thing}`);\n        }\n      });\n       const SingingMixin = Mixin.create({\n        sing(thing) {\n          alert(`${this.get('name')} sings: la la la ${thing}`);\n        }\n      });\n       const BroadwayStar = Person.extend(SingingMixin, {\n        dance() {\n          alert(`${this.get('name')} dances: tap tap tap tap `);\n        }\n      });\n      ```\n       The `BroadwayStar` class contains three methods: `say()`, `sing()`, and `dance()`.\n       @method extend\n      @static\n      @for @ember/object\n      @param {Mixin} [mixins]* One or more Mixin classes\n      @param {Object} [arguments]* Object containing values to use within the new class\n      @public\n    */\n    ;\n\n    CoreObject.extend = function extend() {\n      var Class =\n      /*#__PURE__*/\n      function (_this) {\n        (0, _emberBabel.inheritsLoose)(Class, _this);\n\n        function Class() {\n          return _this.apply(this, arguments) || this;\n        }\n\n        return Class;\n      }(this);\n\n      _reopen.apply(Class.PrototypeMixin, arguments);\n\n      return Class;\n    }\n    /**\n      Creates an instance of a class. Accepts either no arguments, or an object\n      containing values to initialize the newly instantiated object with.\n       ```javascript\n      import EmberObject from '@ember/object';\n       const Person = EmberObject.extend({\n        helloWorld() {\n          alert(`Hi, my name is ${this.get('name')}`);\n        }\n      });\n       let tom = Person.create({\n        name: 'Tom Dale'\n      });\n       tom.helloWorld(); // alerts \"Hi, my name is Tom Dale\".\n      ```\n       `create` will call the `init` function if defined during\n      `AnyObject.extend`\n       If no arguments are passed to `create`, it will not set values to the new\n      instance during initialization:\n       ```javascript\n      let noName = Person.create();\n      noName.helloWorld(); // alerts undefined\n      ```\n       NOTE: For performance reasons, you cannot declare methods or computed\n      properties during `create`. You should instead declare methods and computed\n      properties when using `extend`.\n       @method create\n      @for @ember/object\n      @static\n      @param [arguments]*\n      @public\n    */\n    ;\n\n    CoreObject.create = function create(props, extra) {\n      var C = this;\n      var instance;\n\n      if (true\n      /* EMBER_FRAMEWORK_OBJECT_OWNER_ARGUMENT */\n      && this[FRAMEWORK_CLASSES]) {\n        var initFactory = factoryMap.get(this);\n        var owner;\n\n        if (initFactory !== undefined) {\n          owner = initFactory.owner;\n        } else if (props !== undefined) {\n          owner = (0, _owner.getOwner)(props);\n        }\n\n        if (owner === undefined) {\n          // fallback to passing the special PASSED_FROM_CREATE symbol\n          // to avoid an error when folks call things like Controller.extend().create()\n          // we should do a subsequent deprecation pass to ensure this isn't allowed\n          owner = PASSED_FROM_CREATE;\n        }\n\n        instance = new C(owner);\n      } else {\n        instance = true\n        /* DEBUG */\n        ? new C(PASSED_FROM_CREATE) : new C();\n      }\n\n      if (extra === undefined) {\n        initialize(instance, props);\n      } else {\n        initialize(instance, flattenProps.apply(this, arguments));\n      }\n\n      return instance;\n    }\n    /**\n      Augments a constructor's prototype with additional\n      properties and functions:\n       ```javascript\n      import EmberObject from '@ember/object';\n       const MyObject = EmberObject.extend({\n        name: 'an object'\n      });\n       o = MyObject.create();\n      o.get('name'); // 'an object'\n       MyObject.reopen({\n        say(msg) {\n          console.log(msg);\n        }\n      });\n       o2 = MyObject.create();\n      o2.say('hello'); // logs \"hello\"\n       o.say('goodbye'); // logs \"goodbye\"\n      ```\n       To add functions and properties to the constructor itself,\n      see `reopenClass`\n       @method reopen\n      @for @ember/object\n      @static\n      @public\n    */\n    ;\n\n    CoreObject.reopen = function reopen() {\n      this.willReopen();\n\n      _reopen.apply(this.PrototypeMixin, arguments);\n\n      return this;\n    };\n\n    CoreObject.willReopen = function willReopen() {\n      var p = this.prototype;\n\n      if (wasApplied.has(p)) {\n        wasApplied.delete(p); // If the base mixin already exists and was applied, create a new mixin to\n        // make sure that it gets properly applied. Reusing the same mixin after\n        // the first `proto` call will cause it to get skipped.\n\n        if (prototypeMixinMap.has(this)) {\n          prototypeMixinMap.set(this, _metal.Mixin.create(this.PrototypeMixin));\n        }\n      }\n    }\n    /**\n      Augments a constructor's own properties and functions:\n       ```javascript\n      import EmberObject from '@ember/object';\n       const MyObject = EmberObject.extend({\n        name: 'an object'\n      });\n       MyObject.reopenClass({\n        canBuild: false\n      });\n       MyObject.canBuild; // false\n      o = MyObject.create();\n      ```\n       In other words, this creates static properties and functions for the class.\n      These are only available on the class and not on any instance of that class.\n       ```javascript\n      import EmberObject from '@ember/object';\n       const Person = EmberObject.extend({\n        name: '',\n        sayHello() {\n          alert(`Hello. My name is ${this.get('name')}`);\n        }\n      });\n       Person.reopenClass({\n        species: 'Homo sapiens',\n         createPerson(name) {\n          return Person.create({ name });\n        }\n      });\n       let tom = Person.create({\n        name: 'Tom Dale'\n      });\n      let yehuda = Person.createPerson('Yehuda Katz');\n       tom.sayHello(); // \"Hello. My name is Tom Dale\"\n      yehuda.sayHello(); // \"Hello. My name is Yehuda Katz\"\n      alert(Person.species); // \"Homo sapiens\"\n      ```\n       Note that `species` and `createPerson` are *not* valid on the `tom` and `yehuda`\n      variables. They are only valid on `Person`.\n       To add functions and properties to instances of\n      a constructor by extending the constructor's prototype\n      see `reopen`\n       @method reopenClass\n      @for @ember/object\n      @static\n      @public\n    */\n    ;\n\n    CoreObject.reopenClass = function reopenClass() {\n      (0, _metal.applyMixin)(this, arguments);\n      return this;\n    };\n\n    CoreObject.detect = function detect(obj) {\n      if ('function' !== typeof obj) {\n        return false;\n      }\n\n      while (obj) {\n        if (obj === this) {\n          return true;\n        }\n\n        obj = obj.superclass;\n      }\n\n      return false;\n    };\n\n    CoreObject.detectInstance = function detectInstance(obj) {\n      return obj instanceof this;\n    }\n    /**\n      In some cases, you may want to annotate computed properties with additional\n      metadata about how they function or what values they operate on. For\n      example, computed property functions may close over variables that are then\n      no longer available for introspection.\n       You can pass a hash of these values to a computed property like this:\n       ```javascript\n      import { computed } from '@ember/object';\n       person: computed(function() {\n        let personId = this.get('personId');\n        return Person.create({ id: personId });\n      }).meta({ type: Person })\n      ```\n       Once you've done this, you can retrieve the values saved to the computed\n      property from your class like this:\n       ```javascript\n      MyClass.metaForProperty('person');\n      ```\n       This will return the original hash that was passed to `meta()`.\n       @static\n      @method metaForProperty\n      @param key {String} property name\n      @private\n    */\n    ;\n\n    CoreObject.metaForProperty = function metaForProperty(key) {\n      var proto = this.proto(); // ensure prototype is initialized\n\n      var possibleDesc = (0, _metal.descriptorForProperty)(proto, key);\n      true && !(possibleDesc !== undefined) && (0, _debug.assert)(\"metaForProperty() could not find a computed property with key '\" + key + \"'.\", possibleDesc !== undefined);\n      return possibleDesc._meta || {};\n    }\n    /**\n      Iterate over each computed property for the class, passing its name\n      and any associated metadata (see `metaForProperty`) to the callback.\n       @static\n      @method eachComputedProperty\n      @param {Function} callback\n      @param {Object} binding\n      @private\n    */\n    ;\n\n    CoreObject.eachComputedProperty = function eachComputedProperty(callback) {\n      var binding = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this;\n      this.proto(); // ensure prototype is initialized\n\n      var empty = {};\n      (0, _meta2.meta)(this.prototype).forEachDescriptors(function (name, descriptor) {\n        if (descriptor.enumerable) {\n          var _meta = descriptor._meta || empty;\n\n          callback.call(binding, name, _meta);\n        }\n      });\n    };\n\n    CoreObject.proto = function proto() {\n      var p = this.prototype;\n\n      if (!wasApplied.has(p)) {\n        wasApplied.add(p);\n        var parent = this.superclass;\n\n        if (parent) {\n          parent.proto();\n        } // If the prototype mixin exists, apply it. In the case of native classes,\n        // it will not exist (unless the class has been reopened).\n\n\n        if (prototypeMixinMap.has(this)) {\n          this.PrototypeMixin.apply(p);\n        }\n      }\n\n      return p;\n    };\n\n    (0, _emberBabel.createClass)(CoreObject, [{\n      key: \"isDestroyed\",\n      get: function () {\n        return (0, _meta2.peekMeta)(this).isSourceDestroyed();\n      },\n      set: function (value) {\n        true && !false && (0, _debug.assert)(\"You cannot set `\" + this + \".isDestroyed` directly, please use `.destroy()`.\", false);\n      }\n      /**\n        Destruction scheduled flag. The `destroy()` method has been called.\n         The object stays intact until the end of the run loop at which point\n        the `isDestroyed` flag is set.\n         @property isDestroying\n        @default false\n        @public\n      */\n\n    }, {\n      key: \"isDestroying\",\n      get: function () {\n        return (0, _meta2.peekMeta)(this).isSourceDestroying();\n      },\n      set: function (value) {\n        true && !false && (0, _debug.assert)(\"You cannot set `\" + this + \".isDestroying` directly, please use `.destroy()`.\", false);\n      }\n    }], [{\n      key: \"PrototypeMixin\",\n      get: function () {\n        var prototypeMixin = prototypeMixinMap.get(this);\n\n        if (prototypeMixin === undefined) {\n          prototypeMixin = _metal.Mixin.create();\n          prototypeMixin.ownerConstructor = this;\n          prototypeMixinMap.set(this, prototypeMixin);\n        }\n\n        return prototypeMixin;\n      }\n    }, {\n      key: \"superclass\",\n      get: function () {\n        var c = Object.getPrototypeOf(this);\n        return c !== Function.prototype ? c : undefined;\n      }\n    }]);\n    return CoreObject;\n  }();\n\n  CoreObject.toString = _metal.classToString;\n  (0, _utils.setName)(CoreObject, 'Ember.CoreObject');\n  CoreObject.isClass = true;\n  CoreObject.isMethod = false;\n\n  function flattenProps() {\n    var concatenatedProperties = this.concatenatedProperties,\n        mergedProperties = this.mergedProperties;\n    var hasConcatenatedProps = concatenatedProperties !== undefined && concatenatedProperties.length > 0;\n    var hasMergedProps = mergedProperties !== undefined && mergedProperties.length > 0;\n    var initProperties = {};\n\n    for (var i = 0; i < arguments.length; i++) {\n      var properties = i < 0 || arguments.length <= i ? undefined : arguments[i];\n      true && !!(properties instanceof _metal.Mixin) && (0, _debug.assert)('EmberObject.create no longer supports mixing in other ' + 'definitions, use .extend & .create separately instead.', !(properties instanceof _metal.Mixin));\n      var keyNames = Object.keys(properties);\n\n      for (var j = 0, k = keyNames.length; j < k; j++) {\n        var keyName = keyNames[j];\n        var value = properties[keyName];\n\n        if (hasConcatenatedProps && concatenatedProperties.indexOf(keyName) > -1) {\n          var baseValue = initProperties[keyName];\n\n          if (baseValue) {\n            value = (0, _utils.makeArray)(baseValue).concat(value);\n          } else {\n            value = (0, _utils.makeArray)(value);\n          }\n        }\n\n        if (hasMergedProps && mergedProperties.indexOf(keyName) > -1) {\n          var _baseValue = initProperties[keyName];\n          value = (0, _polyfills.assign)({}, _baseValue, value);\n        }\n\n        initProperties[keyName] = value;\n      }\n    }\n\n    return initProperties;\n  }\n\n  if (true\n  /* DEBUG */\n  ) {\n      /**\n        Provides lookup-time type validation for injected properties.\n         @private\n        @method _onLookup\n      */\n      CoreObject._onLookup = function injectedPropertyAssertion(debugContainerKey) {\n        var _debugContainerKey$sp = debugContainerKey.split(':'),\n            type = _debugContainerKey$sp[0];\n\n        var proto = this.proto();\n\n        for (var key in proto) {\n          var desc = (0, _metal.descriptorForProperty)(proto, key);\n\n          if (desc && _metal.DEBUG_INJECTION_FUNCTIONS.has(desc._getter)) {\n            true && !(type === 'controller' || _metal.DEBUG_INJECTION_FUNCTIONS.get(desc._getter).type !== 'controller') && (0, _debug.assert)(\"Defining `\" + key + \"` as an injected controller property on a non-controller (`\" + debugContainerKey + \"`) is not allowed.\", type === 'controller' || _metal.DEBUG_INJECTION_FUNCTIONS.get(desc._getter).type !== 'controller');\n          }\n        }\n      };\n      /**\n        Returns a hash of property names and container names that injected\n        properties will lookup on the container lazily.\n         @method _lazyInjections\n        @return {Object} Hash of all lazy injected property keys to container names\n        @private\n      */\n\n\n      CoreObject._lazyInjections = function () {\n        var injections = {};\n        var proto = this.proto();\n        var key;\n        var desc;\n\n        for (key in proto) {\n          desc = (0, _metal.descriptorForProperty)(proto, key);\n\n          if (desc && _metal.DEBUG_INJECTION_FUNCTIONS.has(desc._getter)) {\n            var _DEBUG_INJECTION_FUNC = _metal.DEBUG_INJECTION_FUNCTIONS.get(desc._getter),\n                namespace = _DEBUG_INJECTION_FUNC.namespace,\n                source = _DEBUG_INJECTION_FUNC.source,\n                type = _DEBUG_INJECTION_FUNC.type,\n                name = _DEBUG_INJECTION_FUNC.name;\n\n            injections[key] = {\n              namespace: namespace,\n              source: source,\n              specifier: type + \":\" + (name || key)\n            };\n          }\n        }\n\n        return injections;\n      };\n    }\n\n  var _default = CoreObject;\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/runtime/lib/system/namespace\", [\"exports\", \"ember-babel\", \"@ember/-internals/metal\", \"@ember/-internals/utils\", \"@ember/-internals/runtime/lib/system/object\"], function (_exports, _emberBabel, _metal, _utils, _object) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n  // Preloaded into namespaces\n\n  /**\n    A Namespace is an object usually used to contain other objects or methods\n    such as an application or framework. Create a namespace anytime you want\n    to define one of these new containers.\n  \n    # Example Usage\n  \n    ```javascript\n    MyFramework = Ember.Namespace.create({\n      VERSION: '1.0.0'\n    });\n    ```\n  \n    @class Namespace\n    @namespace Ember\n    @extends EmberObject\n    @public\n  */\n  var Namespace =\n  /*#__PURE__*/\n  function (_EmberObject) {\n    (0, _emberBabel.inheritsLoose)(Namespace, _EmberObject);\n\n    function Namespace() {\n      return _EmberObject.apply(this, arguments) || this;\n    }\n\n    var _proto = Namespace.prototype;\n\n    _proto.init = function init() {\n      (0, _metal.addNamespace)(this);\n    };\n\n    _proto.toString = function toString() {\n      var name = (0, _metal.get)(this, 'name') || (0, _metal.get)(this, 'modulePrefix');\n\n      if (name) {\n        return name;\n      }\n\n      (0, _metal.findNamespaces)();\n      name = (0, _utils.getName)(this);\n\n      if (name === undefined) {\n        name = (0, _utils.guidFor)(this);\n        (0, _utils.setName)(this, name);\n      }\n\n      return name;\n    };\n\n    _proto.nameClasses = function nameClasses() {\n      (0, _metal.processNamespace)(this);\n    };\n\n    _proto.destroy = function destroy() {\n      (0, _metal.removeNamespace)(this);\n\n      _EmberObject.prototype.destroy.call(this);\n    };\n\n    return Namespace;\n  }(_object.default);\n\n  _exports.default = Namespace;\n  Namespace.prototype.isNamespace = true;\n  Namespace.NAMESPACES = _metal.NAMESPACES;\n  Namespace.NAMESPACES_BY_ID = _metal.NAMESPACES_BY_ID;\n  Namespace.processAll = _metal.processAllNamespaces;\n  Namespace.byName = _metal.findNamespace;\n});","enifed(\"@ember/-internals/runtime/lib/system/object\", [\"exports\", \"ember-babel\", \"@ember/-internals/container\", \"@ember/-internals/owner\", \"@ember/-internals/utils\", \"@ember/-internals/metal\", \"@ember/-internals/runtime/lib/system/core_object\", \"@ember/-internals/runtime/lib/mixins/observable\", \"@ember/debug\"], function (_exports, _emberBabel, _container, _owner, _utils, _metal, _core_object, _observable, _debug) {\n  \"use strict\";\n\n  _exports.FrameworkObject = _exports.default = void 0;\n\n  /**\n  @module @ember/object\n  */\n  var OVERRIDE_OWNER = (0, _utils.symbol)('OVERRIDE_OWNER');\n  /**\n    `EmberObject` is the main base class for all Ember objects. It is a subclass\n    of `CoreObject` with the `Observable` mixin applied. For details,\n    see the documentation for each of these.\n  \n    @class EmberObject\n    @extends CoreObject\n    @uses Observable\n    @public\n  */\n\n  var EmberObject =\n  /*#__PURE__*/\n  function (_CoreObject) {\n    (0, _emberBabel.inheritsLoose)(EmberObject, _CoreObject);\n\n    function EmberObject() {\n      return _CoreObject.apply(this, arguments) || this;\n    }\n\n    (0, _emberBabel.createClass)(EmberObject, [{\n      key: \"_debugContainerKey\",\n      get: function () {\n        var factory = _container.FACTORY_FOR.get(this);\n\n        return factory !== undefined && factory.fullName;\n      }\n    }, {\n      key: _owner.OWNER,\n      get: function () {\n        if (this[OVERRIDE_OWNER]) {\n          return this[OVERRIDE_OWNER];\n        }\n\n        var factory = _container.FACTORY_FOR.get(this);\n\n        return factory !== undefined && factory.owner;\n      } // we need a setter here largely to support\n      // folks calling `owner.ownerInjection()` API\n      ,\n      set: function (value) {\n        this[OVERRIDE_OWNER] = value;\n      }\n    }]);\n    return EmberObject;\n  }(_core_object.default);\n\n  _exports.default = EmberObject;\n  (0, _utils.setName)(EmberObject, 'Ember.Object');\n\n  _observable.default.apply(EmberObject.prototype);\n\n  var FrameworkObject;\n  _exports.FrameworkObject = FrameworkObject;\n\n  if (true\n  /* EMBER_FRAMEWORK_OBJECT_OWNER_ARGUMENT */\n  ) {\n      _exports.FrameworkObject = FrameworkObject =\n      /*#__PURE__*/\n      function (_CoreObject2) {\n        (0, _emberBabel.inheritsLoose)(FrameworkObject, _CoreObject2);\n        (0, _emberBabel.createClass)(FrameworkObject, [{\n          key: \"_debugContainerKey\",\n          get: function () {\n            var factory = _container.FACTORY_FOR.get(this);\n\n            return factory !== undefined && factory.fullName;\n          }\n        }]);\n\n        function FrameworkObject(owner) {\n          var _this;\n\n          _this = _CoreObject2.call(this) || this;\n          (0, _owner.setOwner)((0, _emberBabel.assertThisInitialized)(_this), owner);\n          return _this;\n        }\n\n        return FrameworkObject;\n      }(_core_object.default);\n\n      _observable.default.apply(FrameworkObject.prototype);\n    } else {\n    _exports.FrameworkObject = FrameworkObject =\n    /*#__PURE__*/\n    function (_EmberObject) {\n      (0, _emberBabel.inheritsLoose)(FrameworkObject, _EmberObject);\n\n      function FrameworkObject() {\n        return _EmberObject.apply(this, arguments) || this;\n      }\n\n      return FrameworkObject;\n    }(EmberObject);\n  }\n\n  if (true\n  /* DEBUG */\n  ) {\n      var INIT_WAS_CALLED = (0, _utils.symbol)('INIT_WAS_CALLED');\n      var ASSERT_INIT_WAS_CALLED = (0, _utils.symbol)('ASSERT_INIT_WAS_CALLED');\n\n      _exports.FrameworkObject = FrameworkObject =\n      /*#__PURE__*/\n      function (_EmberObject2) {\n        (0, _emberBabel.inheritsLoose)(DebugFrameworkObject, _EmberObject2);\n\n        function DebugFrameworkObject() {\n          return _EmberObject2.apply(this, arguments) || this;\n        }\n\n        var _proto = DebugFrameworkObject.prototype;\n\n        _proto.init = function init() {\n          _EmberObject2.prototype.init.apply(this, arguments);\n\n          this[INIT_WAS_CALLED] = true;\n        };\n\n        _proto[ASSERT_INIT_WAS_CALLED] = function () {\n          true && !this[INIT_WAS_CALLED] && (0, _debug.assert)(\"You must call `this._super(...arguments);` when overriding `init` on a framework object. Please update \" + this + \" to call `this._super(...arguments);` from `init`.\", this[INIT_WAS_CALLED]);\n        };\n\n        return DebugFrameworkObject;\n      }(EmberObject);\n\n      (0, _metal.addListener)(FrameworkObject.prototype, 'init', null, ASSERT_INIT_WAS_CALLED);\n    }\n});","enifed(\"@ember/-internals/runtime/lib/system/object_proxy\", [\"exports\", \"ember-babel\", \"@ember/-internals/runtime/lib/system/object\", \"@ember/-internals/runtime/lib/mixins/-proxy\"], function (_exports, _emberBabel, _object, _proxy) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n    `ObjectProxy` forwards all properties not defined by the proxy itself\n    to a proxied `content` object.\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import ObjectProxy from '@ember/object/proxy';\n  \n    object = EmberObject.create({\n      name: 'Foo'\n    });\n  \n    proxy = ObjectProxy.create({\n      content: object\n    });\n  \n    // Access and change existing properties\n    proxy.get('name')          // 'Foo'\n    proxy.set('name', 'Bar');\n    object.get('name')         // 'Bar'\n  \n    // Create new 'description' property on `object`\n    proxy.set('description', 'Foo is a whizboo baz');\n    object.get('description')  // 'Foo is a whizboo baz'\n    ```\n  \n    While `content` is unset, setting a property to be delegated will throw an\n    Error.\n  \n    ```javascript\n    import ObjectProxy from '@ember/object/proxy';\n  \n    proxy = ObjectProxy.create({\n      content: null,\n      flag: null\n    });\n    proxy.set('flag', true);\n    proxy.get('flag');         // true\n    proxy.get('foo');          // undefined\n    proxy.set('foo', 'data');  // throws Error\n    ```\n  \n    Delegated properties can be bound to and will change when content is updated.\n  \n    Computed properties on the proxy itself can depend on delegated properties.\n  \n    ```javascript\n    import { computed } from '@ember/object';\n    import ObjectProxy from '@ember/object/proxy';\n  \n    ProxyWithComputedProperty = ObjectProxy.extend({\n      fullName: computed('firstName', 'lastName', function() {\n        var firstName = this.get('firstName'),\n            lastName = this.get('lastName');\n        if (firstName && lastName) {\n          return firstName + ' ' + lastName;\n        }\n        return firstName || lastName;\n      })\n    });\n  \n    proxy = ProxyWithComputedProperty.create();\n  \n    proxy.get('fullName');  // undefined\n    proxy.set('content', {\n      firstName: 'Tom', lastName: 'Dale'\n    }); // triggers property change for fullName on proxy\n  \n    proxy.get('fullName');  // 'Tom Dale'\n    ```\n  \n    @class ObjectProxy\n    @extends EmberObject\n    @uses Ember.ProxyMixin\n    @public\n  */\n  var ObjectProxy =\n  /*#__PURE__*/\n  function (_FrameworkObject) {\n    (0, _emberBabel.inheritsLoose)(ObjectProxy, _FrameworkObject);\n\n    function ObjectProxy() {\n      return _FrameworkObject.apply(this, arguments) || this;\n    }\n\n    return ObjectProxy;\n  }(_object.default);\n\n  _exports.default = ObjectProxy;\n  ObjectProxy.PrototypeMixin.reopen(_proxy.default);\n});","enifed(\"@ember/-internals/runtime/lib/type-of\", [\"exports\", \"@ember/-internals/runtime/lib/system/core_object\"], function (_exports, _core_object) {\n  \"use strict\";\n\n  _exports.typeOf = typeOf;\n  // ........................................\n  // TYPING & ARRAY MESSAGING\n  //\n  var TYPE_MAP = {\n    '[object Boolean]': 'boolean',\n    '[object Number]': 'number',\n    '[object String]': 'string',\n    '[object Function]': 'function',\n    '[object Array]': 'array',\n    '[object Date]': 'date',\n    '[object RegExp]': 'regexp',\n    '[object Object]': 'object',\n    '[object FileList]': 'filelist'\n  };\n  var toString = Object.prototype.toString;\n  /**\n   @module @ember/utils\n  */\n\n  /**\n    Returns a consistent type for the passed object.\n  \n    Use this instead of the built-in `typeof` to get the type of an item.\n    It will return the same result across all browsers and includes a bit\n    more detail. Here is what will be returned:\n  \n        | Return Value  | Meaning                                              |\n        |---------------|------------------------------------------------------|\n        | 'string'      | String primitive or String object.                   |\n        | 'number'      | Number primitive or Number object.                   |\n        | 'boolean'     | Boolean primitive or Boolean object.                 |\n        | 'null'        | Null value                                           |\n        | 'undefined'   | Undefined value                                      |\n        | 'function'    | A function                                           |\n        | 'array'       | An instance of Array                                 |\n        | 'regexp'      | An instance of RegExp                                |\n        | 'date'        | An instance of Date                                  |\n        | 'filelist'    | An instance of FileList                              |\n        | 'class'       | An Ember class (created using EmberObject.extend())  |\n        | 'instance'    | An Ember object instance                             |\n        | 'error'       | An instance of the Error object                      |\n        | 'object'      | A JavaScript object not inheriting from EmberObject  |\n  \n    Examples:\n  \n    ```javascript\n    import { A } from '@ember/array';\n    import { typeOf } from '@ember/utils';\n    import EmberObject from '@ember/object';\n  \n    typeOf();                       // 'undefined'\n    typeOf(null);                   // 'null'\n    typeOf(undefined);              // 'undefined'\n    typeOf('michael');              // 'string'\n    typeOf(new String('michael'));  // 'string'\n    typeOf(101);                    // 'number'\n    typeOf(new Number(101));        // 'number'\n    typeOf(true);                   // 'boolean'\n    typeOf(new Boolean(true));      // 'boolean'\n    typeOf(A);                      // 'function'\n    typeOf([1, 2, 90]);             // 'array'\n    typeOf(/abc/);                  // 'regexp'\n    typeOf(new Date());             // 'date'\n    typeOf(event.target.files);     // 'filelist'\n    typeOf(EmberObject.extend());   // 'class'\n    typeOf(EmberObject.create());   // 'instance'\n    typeOf(new Error('teamocil'));  // 'error'\n  \n    // 'normal' JavaScript object\n    typeOf({ a: 'b' });             // 'object'\n    ```\n  \n    @method typeOf\n    @for @ember/utils\n    @param {Object} item the item to check\n    @return {String} the type\n    @public\n    @static\n  */\n\n  function typeOf(item) {\n    if (item === null) {\n      return 'null';\n    }\n\n    if (item === undefined) {\n      return 'undefined';\n    }\n\n    var ret = TYPE_MAP[toString.call(item)] || 'object';\n\n    if (ret === 'function') {\n      if (_core_object.default.detect(item)) {\n        ret = 'class';\n      }\n    } else if (ret === 'object') {\n      if (item instanceof Error) {\n        ret = 'error';\n      } else if (item instanceof _core_object.default) {\n        ret = 'instance';\n      } else if (item instanceof Date) {\n        ret = 'date';\n      }\n    }\n\n    return ret;\n  }\n});","enifed(\"@ember/-internals/utils\", [\"exports\", \"@ember/polyfills\", \"@ember/debug\"], function (_exports, _polyfills, _debug) {\n  \"use strict\";\n\n  _exports.symbol = symbol;\n  _exports.isInternalSymbol = isInternalSymbol;\n  _exports.dictionary = makeDictionary;\n  _exports.uuid = uuid;\n  _exports.generateGuid = generateGuid;\n  _exports.guidFor = guidFor;\n  _exports.intern = intern;\n  _exports.wrap = wrap;\n  _exports.getObservers = getObservers;\n  _exports.getListeners = getListeners;\n  _exports.setObservers = setObservers;\n  _exports.setListeners = setListeners;\n  _exports.inspect = inspect;\n  _exports.lookupDescriptor = lookupDescriptor;\n  _exports.canInvoke = canInvoke;\n  _exports.tryInvoke = tryInvoke;\n  _exports.makeArray = makeArray;\n  _exports.getName = getName;\n  _exports.setName = setName;\n  _exports.toString = toString;\n  _exports.isProxy = isProxy;\n  _exports.setProxy = setProxy;\n  _exports.isEmberArray = isEmberArray;\n  _exports.setWithMandatorySetter = _exports.teardownMandatorySetter = _exports.setupMandatorySetter = _exports.EMBER_ARRAY = _exports.Cache = _exports.HAS_NATIVE_PROXY = _exports.HAS_NATIVE_SYMBOL = _exports.ROOT = _exports.checkHasSuper = _exports.GUID_KEY = _exports.getOwnPropertyDescriptors = _exports.NAME_KEY = void 0;\n\n  /**\n    Strongly hint runtimes to intern the provided string.\n  \n    When do I need to use this function?\n  \n    For the most part, never. Pre-mature optimization is bad, and often the\n    runtime does exactly what you need it to, and more often the trade-off isn't\n    worth it.\n  \n    Why?\n  \n    Runtimes store strings in at least 2 different representations:\n    Ropes and Symbols (interned strings). The Rope provides a memory efficient\n    data-structure for strings created from concatenation or some other string\n    manipulation like splitting.\n  \n    Unfortunately checking equality of different ropes can be quite costly as\n    runtimes must resort to clever string comparison algorithms. These\n    algorithms typically cost in proportion to the length of the string.\n    Luckily, this is where the Symbols (interned strings) shine. As Symbols are\n    unique by their string content, equality checks can be done by pointer\n    comparison.\n  \n    How do I know if my string is a rope or symbol?\n  \n    Typically (warning general sweeping statement, but truthy in runtimes at\n    present) static strings created as part of the JS source are interned.\n    Strings often used for comparisons can be interned at runtime if some\n    criteria are met.  One of these criteria can be the size of the entire rope.\n    For example, in chrome 38 a rope longer then 12 characters will not\n    intern, nor will segments of that rope.\n  \n    Some numbers: http://jsperf.com/eval-vs-keys/8\n  \n    Known Trick™\n  \n    @private\n    @return {String} interned version of the provided string\n  */\n  function intern(str) {\n    var obj = {};\n    obj[str] = 1;\n\n    for (var key in obj) {\n      if (key === str) {\n        return key;\n      }\n    }\n\n    return str;\n  }\n  /**\n    Returns whether Type(value) is Object.\n  \n    Useful for checking whether a value is a valid WeakMap key.\n  \n    Refs: https://tc39.github.io/ecma262/#sec-typeof-operator-runtime-semantics-evaluation\n          https://tc39.github.io/ecma262/#sec-weakmap.prototype.set\n  \n    @private\n    @function isObject\n  */\n\n\n  function isObject(value) {\n    return value !== null && (typeof value === 'object' || typeof value === 'function');\n  }\n  /**\n   @module @ember/object\n  */\n\n  /**\n   Previously we used `Ember.$.uuid`, however `$.uuid` has been removed from\n   jQuery master. We'll just bootstrap our own uuid now.\n  \n   @private\n   @return {Number} the uuid\n   */\n\n\n  var _uuid = 0;\n  /**\n   Generates a universally unique identifier. This method\n   is used internally by Ember for assisting with\n   the generation of GUID's and other unique identifiers.\n  \n   @public\n   @return {Number} [description]\n   */\n\n  function uuid() {\n    return ++_uuid;\n  }\n  /**\n   Prefix used for guids through out Ember.\n   @private\n   @property GUID_PREFIX\n   @for Ember\n   @type String\n   @final\n   */\n\n\n  var GUID_PREFIX = 'ember'; // Used for guid generation...\n\n  var OBJECT_GUIDS = new WeakMap();\n  var NON_OBJECT_GUIDS = new Map();\n  /**\n    A unique key used to assign guids and other private metadata to objects.\n    If you inspect an object in your browser debugger you will often see these.\n    They can be safely ignored.\n  \n    On browsers that support it, these properties are added with enumeration\n    disabled so they won't show up when you iterate over your properties.\n  \n    @private\n    @property GUID_KEY\n    @for Ember\n    @type String\n    @final\n  */\n\n  var GUID_KEY = intern(\"__ember\" + Date.now());\n  /**\n    Generates a new guid, optionally saving the guid to the object that you\n    pass in. You will rarely need to use this method. Instead you should\n    call `guidFor(obj)`, which return an existing guid if available.\n  \n    @private\n    @method generateGuid\n    @static\n    @for @ember/object/internals\n    @param {Object} [obj] Object the guid will be used for. If passed in, the guid will\n      be saved on the object and reused whenever you pass the same object\n      again.\n  \n      If no object is passed, just generate a new guid.\n    @param {String} [prefix] Prefix to place in front of the guid. Useful when you want to\n      separate the guid into separate namespaces.\n    @return {String} the guid\n  */\n\n  _exports.GUID_KEY = GUID_KEY;\n\n  function generateGuid(obj) {\n    var prefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : GUID_PREFIX;\n    var guid = prefix + uuid();\n\n    if (isObject(obj)) {\n      OBJECT_GUIDS.set(obj, guid);\n    }\n\n    return guid;\n  }\n  /**\n    Returns a unique id for the object. If the object does not yet have a guid,\n    one will be assigned to it. You can call this on any object,\n    `EmberObject`-based or not.\n  \n    You can also use this method on DOM Element objects.\n  \n    @public\n    @static\n    @method guidFor\n    @for @ember/object/internals\n    @param {Object} obj any object, string, number, Element, or primitive\n    @return {String} the unique guid for this instance.\n  */\n\n\n  function guidFor(value) {\n    var guid;\n\n    if (isObject(value)) {\n      guid = OBJECT_GUIDS.get(value);\n\n      if (guid === undefined) {\n        guid = GUID_PREFIX + uuid();\n        OBJECT_GUIDS.set(value, guid);\n      }\n    } else {\n      guid = NON_OBJECT_GUIDS.get(value);\n\n      if (guid === undefined) {\n        var type = typeof value;\n\n        if (type === 'string') {\n          guid = 'st' + uuid();\n        } else if (type === 'number') {\n          guid = 'nu' + uuid();\n        } else if (type === 'symbol') {\n          guid = 'sy' + uuid();\n        } else {\n          guid = '(' + value + ')';\n        }\n\n        NON_OBJECT_GUIDS.set(value, guid);\n      }\n    }\n\n    return guid;\n  }\n\n  var GENERATED_SYMBOLS = [];\n\n  function isInternalSymbol(possibleSymbol) {\n    return GENERATED_SYMBOLS.indexOf(possibleSymbol) !== -1;\n  }\n\n  function symbol(debugName) {\n    // TODO: Investigate using platform symbols, but we do not\n    // want to require non-enumerability for this API, which\n    // would introduce a large cost.\n    var id = GUID_KEY + Math.floor(Math.random() * Date.now());\n    var symbol = intern(\"__\" + debugName + id + \"__\");\n    GENERATED_SYMBOLS.push(symbol);\n    return symbol;\n  } // the delete is meant to hint at runtimes that this object should remain in\n  // dictionary mode. This is clearly a runtime specific hack, but currently it\n  // appears worthwhile in some usecases. Please note, these deletes do increase\n  // the cost of creation dramatically over a plain Object.create. And as this\n  // only makes sense for long-lived dictionaries that aren't instantiated often.\n\n\n  function makeDictionary(parent) {\n    var dict = Object.create(parent);\n    dict['_dict'] = null;\n    delete dict['_dict'];\n    return dict;\n  }\n\n  var getOwnPropertyDescriptors;\n\n  if (Object.getOwnPropertyDescriptors !== undefined) {\n    getOwnPropertyDescriptors = Object.getOwnPropertyDescriptors;\n  } else {\n    getOwnPropertyDescriptors = function (obj) {\n      var descriptors = {};\n      Object.keys(obj).forEach(function (key) {\n        descriptors[key] = Object.getOwnPropertyDescriptor(obj, key);\n      });\n      return descriptors;\n    };\n  }\n\n  var getOwnPropertyDescriptors$1 = getOwnPropertyDescriptors;\n  _exports.getOwnPropertyDescriptors = getOwnPropertyDescriptors$1;\n  var HAS_SUPER_PATTERN = /\\.(_super|call\\(this|apply\\(this)/;\n  var fnToString = Function.prototype.toString;\n\n  var checkHasSuper = function () {\n    var sourceAvailable = fnToString.call(function () {\n      return this;\n    }).indexOf('return this') > -1;\n\n    if (sourceAvailable) {\n      return function checkHasSuper(func) {\n        return HAS_SUPER_PATTERN.test(fnToString.call(func));\n      };\n    }\n\n    return function checkHasSuper() {\n      return true;\n    };\n  }();\n\n  _exports.checkHasSuper = checkHasSuper;\n  var HAS_SUPER_MAP = new WeakMap();\n  var ROOT = Object.freeze(function () {});\n  _exports.ROOT = ROOT;\n  HAS_SUPER_MAP.set(ROOT, false);\n\n  function hasSuper(func) {\n    var hasSuper = HAS_SUPER_MAP.get(func);\n\n    if (hasSuper === undefined) {\n      hasSuper = checkHasSuper(func);\n      HAS_SUPER_MAP.set(func, hasSuper);\n    }\n\n    return hasSuper;\n  }\n\n  var OBSERVERS_MAP = new WeakMap();\n\n  function setObservers(func, observers) {\n    if (observers) {\n      OBSERVERS_MAP.set(func, observers);\n    }\n  }\n\n  function getObservers(func) {\n    return OBSERVERS_MAP.get(func);\n  }\n\n  var LISTENERS_MAP = new WeakMap();\n\n  function setListeners(func, listeners) {\n    if (listeners) {\n      LISTENERS_MAP.set(func, listeners);\n    }\n  }\n\n  function getListeners(func) {\n    return LISTENERS_MAP.get(func);\n  }\n\n  var IS_WRAPPED_FUNCTION_SET = new _polyfills._WeakSet();\n  /**\n    Wraps the passed function so that `this._super` will point to the superFunc\n    when the function is invoked. This is the primitive we use to implement\n    calls to super.\n  \n    @private\n    @method wrap\n    @for Ember\n    @param {Function} func The function to call\n    @param {Function} superFunc The super function.\n    @return {Function} wrapped function.\n  */\n\n  function wrap(func, superFunc) {\n    if (!hasSuper(func)) {\n      return func;\n    } // ensure an unwrapped super that calls _super is wrapped with a terminal _super\n\n\n    if (!IS_WRAPPED_FUNCTION_SET.has(superFunc) && hasSuper(superFunc)) {\n      return _wrap(func, _wrap(superFunc, ROOT));\n    }\n\n    return _wrap(func, superFunc);\n  }\n\n  function _wrap(func, superFunc) {\n    function superWrapper() {\n      var orig = this._super;\n      this._super = superFunc;\n      var ret = func.apply(this, arguments);\n      this._super = orig;\n      return ret;\n    }\n\n    IS_WRAPPED_FUNCTION_SET.add(superWrapper);\n    setObservers(superWrapper, getObservers(func));\n    setListeners(superWrapper, getListeners(func));\n    return superWrapper;\n  }\n\n  var objectToString = Object.prototype.toString;\n  var functionToString = Function.prototype.toString;\n  var isArray = Array.isArray;\n  var objectKeys = Object.keys;\n  var stringify = JSON.stringify;\n  var LIST_LIMIT = 100;\n  var DEPTH_LIMIT = 4;\n  var SAFE_KEY = /^[\\w$]+$/;\n  /**\n   @module @ember/debug\n  */\n\n  /**\n    Convenience method to inspect an object. This method will attempt to\n    convert the object into a useful string description.\n  \n    It is a pretty simple implementation. If you want something more robust,\n    use something like JSDump: https://github.com/NV/jsDump\n  \n    @method inspect\n    @static\n    @param {Object} obj The object you want to inspect.\n    @return {String} A description of the object\n    @since 1.4.0\n    @private\n  */\n\n  function inspect(obj) {\n    // detect Node util.inspect call inspect(depth: number, opts: object)\n    if (typeof obj === 'number' && arguments.length === 2) {\n      return this;\n    }\n\n    return inspectValue(obj, 0);\n  }\n\n  function inspectValue(value, depth, seen) {\n    var valueIsArray = false;\n\n    switch (typeof value) {\n      case 'undefined':\n        return 'undefined';\n\n      case 'object':\n        if (value === null) return 'null';\n\n        if (isArray(value)) {\n          valueIsArray = true;\n          break;\n        } // is toString Object.prototype.toString or undefined then traverse\n\n\n        if (value.toString === objectToString || value.toString === undefined) {\n          break;\n        } // custom toString\n\n\n        return value.toString();\n\n      case 'function':\n        return value.toString === functionToString ? value.name ? \"[Function:\" + value.name + \"]\" : \"[Function]\" : value.toString();\n\n      case 'string':\n        return stringify(value);\n\n      case 'symbol':\n      case 'boolean':\n      case 'number':\n      default:\n        return value.toString();\n    }\n\n    if (seen === undefined) {\n      seen = new _polyfills._WeakSet();\n    } else {\n      if (seen.has(value)) return \"[Circular]\";\n    }\n\n    seen.add(value);\n    return valueIsArray ? inspectArray(value, depth + 1, seen) : inspectObject(value, depth + 1, seen);\n  }\n\n  function inspectKey(key) {\n    return SAFE_KEY.test(key) ? key : stringify(key);\n  }\n\n  function inspectObject(obj, depth, seen) {\n    if (depth > DEPTH_LIMIT) {\n      return '[Object]';\n    }\n\n    var s = '{';\n    var keys = objectKeys(obj);\n\n    for (var i = 0; i < keys.length; i++) {\n      s += i === 0 ? ' ' : ', ';\n\n      if (i >= LIST_LIMIT) {\n        s += \"... \" + (keys.length - LIST_LIMIT) + \" more keys\";\n        break;\n      }\n\n      var key = keys[i];\n      s += inspectKey(key) + ': ' + inspectValue(obj[key], depth, seen);\n    }\n\n    s += ' }';\n    return s;\n  }\n\n  function inspectArray(arr, depth, seen) {\n    if (depth > DEPTH_LIMIT) {\n      return '[Array]';\n    }\n\n    var s = '[';\n\n    for (var i = 0; i < arr.length; i++) {\n      s += i === 0 ? ' ' : ', ';\n\n      if (i >= LIST_LIMIT) {\n        s += \"... \" + (arr.length - LIST_LIMIT) + \" more items\";\n        break;\n      }\n\n      s += inspectValue(arr[i], depth, seen);\n    }\n\n    s += ' ]';\n    return s;\n  }\n\n  function lookupDescriptor(obj, keyName) {\n    var current = obj;\n\n    do {\n      var descriptor = Object.getOwnPropertyDescriptor(current, keyName);\n\n      if (descriptor !== undefined) {\n        return descriptor;\n      }\n\n      current = Object.getPrototypeOf(current);\n    } while (current !== null);\n\n    return null;\n  }\n  /**\n    Checks to see if the `methodName` exists on the `obj`.\n  \n    ```javascript\n    let foo = { bar: function() { return 'bar'; }, baz: null };\n  \n    Ember.canInvoke(foo, 'bar'); // true\n    Ember.canInvoke(foo, 'baz'); // false\n    Ember.canInvoke(foo, 'bat'); // false\n    ```\n  \n    @method canInvoke\n    @for Ember\n    @param {Object} obj The object to check for the method\n    @param {String} methodName The method name to check for\n    @return {Boolean}\n    @private\n  */\n\n\n  function canInvoke(obj, methodName) {\n    return obj !== null && obj !== undefined && typeof obj[methodName] === 'function';\n  }\n  /**\n    @module @ember/utils\n  */\n\n  /**\n    Checks to see if the `methodName` exists on the `obj`,\n    and if it does, invokes it with the arguments passed.\n  \n    ```javascript\n    import { tryInvoke } from '@ember/utils';\n  \n    let d = new Date('03/15/2013');\n  \n    tryInvoke(d, 'getTime');              // 1363320000000\n    tryInvoke(d, 'setFullYear', [2014]);  // 1394856000000\n    tryInvoke(d, 'noSuchMethod', [2014]); // undefined\n    ```\n  \n    @method tryInvoke\n    @for @ember/utils\n    @static\n    @param {Object} obj The object to check for the method\n    @param {String} methodName The method name to check for\n    @param {Array} [args] The arguments to pass to the method\n    @return {*} the return value of the invoked method or undefined if it cannot be invoked\n    @public\n  */\n\n\n  function tryInvoke(obj, methodName, args) {\n    if (canInvoke(obj, methodName)) {\n      var method = obj[methodName];\n      return method.apply(obj, args);\n    }\n  }\n\n  var isArray$1 = Array.isArray;\n\n  function makeArray(obj) {\n    if (obj === null || obj === undefined) {\n      return [];\n    }\n\n    return isArray$1(obj) ? obj : [obj];\n  }\n\n  var NAMES = new WeakMap();\n\n  function setName(obj, name) {\n    if (isObject(obj)) NAMES.set(obj, name);\n  }\n\n  function getName(obj) {\n    return NAMES.get(obj);\n  }\n\n  var objectToString$1 = Object.prototype.toString;\n\n  function isNone(obj) {\n    return obj === null || obj === undefined;\n  }\n  /*\n   A `toString` util function that supports objects without a `toString`\n   method, e.g. an object created with `Object.create(null)`.\n  */\n\n\n  function toString(obj) {\n    if (typeof obj === 'string') {\n      return obj;\n    }\n\n    if (null === obj) return 'null';\n    if (undefined === obj) return 'undefined';\n\n    if (Array.isArray(obj)) {\n      // Reimplement Array.prototype.join according to spec (22.1.3.13)\n      // Changing ToString(element) with this safe version of ToString.\n      var r = '';\n\n      for (var k = 0; k < obj.length; k++) {\n        if (k > 0) {\n          r += ',';\n        }\n\n        if (!isNone(obj[k])) {\n          r += toString(obj[k]);\n        }\n      }\n\n      return r;\n    }\n\n    if (typeof obj.toString === 'function') {\n      return obj.toString();\n    }\n\n    return objectToString$1.call(obj);\n  }\n\n  var HAS_NATIVE_SYMBOL = function () {\n    if (typeof Symbol !== 'function') {\n      return false;\n    } // use `Object`'s `.toString` directly to prevent us from detecting\n    // polyfills as native\n\n\n    return Object.prototype.toString.call(Symbol()) === '[object Symbol]';\n  }();\n\n  _exports.HAS_NATIVE_SYMBOL = HAS_NATIVE_SYMBOL;\n  var HAS_NATIVE_PROXY = typeof Proxy === 'function';\n  _exports.HAS_NATIVE_PROXY = HAS_NATIVE_PROXY;\n  var PROXIES = new _polyfills._WeakSet();\n\n  function isProxy(value) {\n    if (isObject(value)) {\n      return PROXIES.has(value);\n    }\n\n    return false;\n  }\n\n  function setProxy(object) {\n    if (isObject(object)) {\n      PROXIES.add(object);\n    }\n  }\n\n  var Cache =\n  /*#__PURE__*/\n  function () {\n    function Cache(limit, func, store) {\n      this.limit = limit;\n      this.func = func;\n      this.store = store;\n      this.size = 0;\n      this.misses = 0;\n      this.hits = 0;\n      this.store = store || new Map();\n    }\n\n    var _proto = Cache.prototype;\n\n    _proto.get = function get(key) {\n      if (this.store.has(key)) {\n        this.hits++;\n        return this.store.get(key);\n      } else {\n        this.misses++;\n        return this.set(key, this.func(key));\n      }\n    };\n\n    _proto.set = function set(key, value) {\n      if (this.limit > this.size) {\n        this.size++;\n        this.store.set(key, value);\n      }\n\n      return value;\n    };\n\n    _proto.purge = function purge() {\n      this.store.clear();\n      this.size = 0;\n      this.hits = 0;\n      this.misses = 0;\n    };\n\n    return Cache;\n  }();\n\n  _exports.Cache = Cache;\n  var EMBER_ARRAY = symbol('EMBER_ARRAY');\n  _exports.EMBER_ARRAY = EMBER_ARRAY;\n\n  function isEmberArray(obj) {\n    return obj && obj[EMBER_ARRAY];\n  }\n\n  var setupMandatorySetter;\n  _exports.setupMandatorySetter = setupMandatorySetter;\n  var teardownMandatorySetter;\n  _exports.teardownMandatorySetter = teardownMandatorySetter;\n  var setWithMandatorySetter;\n  _exports.setWithMandatorySetter = setWithMandatorySetter;\n\n  if (true\n  /* DEBUG */\n  && false\n  /* EMBER_METAL_TRACKED_PROPERTIES */\n  ) {\n      var MANDATORY_SETTERS = new WeakMap();\n\n      var getPropertyDescriptor = function (obj, keyName) {\n        var current = obj;\n\n        while (current !== null) {\n          var desc = Object.getOwnPropertyDescriptor(current, keyName);\n\n          if (desc !== undefined) {\n            return desc;\n          }\n\n          current = Object.getPrototypeOf(current);\n        }\n\n        return;\n      };\n\n      var _propertyIsEnumerable = function (obj, key) {\n        return Object.prototype.propertyIsEnumerable.call(obj, key);\n      };\n\n      _exports.setupMandatorySetter = setupMandatorySetter = function (obj, keyName) {\n        var desc = getPropertyDescriptor(obj, keyName) || {};\n\n        if (desc.get || desc.set) {\n          // if it has a getter or setter, we can't install the mandatory setter.\n          // native setters are allowed, we have to assume that they will resolve\n          // to tracked properties.\n          return;\n        }\n\n        if (desc && (!desc.configurable || !desc.writable)) {\n          // if it isn't writable anyways, so we shouldn't provide the setter.\n          // if it isn't configurable, we can't overwrite it anyways.\n          return;\n        }\n\n        var setters = MANDATORY_SETTERS.get(obj);\n\n        if (setters === undefined) {\n          setters = {};\n          MANDATORY_SETTERS.set(obj, setters);\n        }\n\n        desc.hadOwnProperty = Object.hasOwnProperty.call(obj, keyName);\n        setters[keyName] = desc;\n        Object.defineProperty(obj, keyName, {\n          configurable: true,\n          enumerable: _propertyIsEnumerable(obj, keyName),\n          get: function () {\n            if (desc.get) {\n              return desc.get.call(this);\n            } else {\n              return desc.value;\n            }\n          },\n          set: function (value) {\n            true && !false && (0, _debug.assert)(\"You attempted to update \" + this + \".\" + String(keyName) + \" to \\\"\" + String(value) + \"\\\", but it is being tracked by a tracking context, such as a template, computed property, or observer. In order to make sure the context updates properly, you must invalidate the property when updating it. You can mark the property as `@tracked`, or use `@ember/object#set` to do this.\");\n          }\n        });\n      };\n\n      _exports.teardownMandatorySetter = teardownMandatorySetter = function (obj, keyName) {\n        var setters = MANDATORY_SETTERS.get(obj);\n\n        if (setters !== undefined && setters[keyName] !== undefined) {\n          Object.defineProperty(obj, keyName, setters[keyName]);\n          setters[keyName] = undefined;\n        }\n      };\n\n      _exports.setWithMandatorySetter = setWithMandatorySetter = function (obj, keyName, value) {\n        var setters = MANDATORY_SETTERS.get(obj);\n\n        if (setters !== undefined && setters[keyName] !== undefined) {\n          var setter = setters[keyName];\n\n          if (setter.set) {\n            setter.set.call(obj, value);\n          } else {\n            setter.value = value; // If the object didn't have own property before, it would have changed\n            // the enumerability after setting the value the first time.\n\n            if (!setter.hadOwnProperty) {\n              var desc = getPropertyDescriptor(obj, keyName);\n              desc.enumerable = true;\n              Object.defineProperty(obj, keyName, desc);\n            }\n          }\n        } else {\n          obj[keyName] = value;\n        }\n      };\n    }\n  /*\n   This package will be eagerly parsed and should have no dependencies on external\n   packages.\n  \n   It is intended to be used to share utility methods that will be needed\n   by every Ember application (and is **not** a dumping ground of useful utilities).\n  \n   Utility methods that are needed in < 80% of cases should be placed\n   elsewhere (so they can be lazily evaluated / parsed).\n  */\n\n\n  var NAME_KEY = symbol('NAME_KEY');\n  _exports.NAME_KEY = NAME_KEY;\n});","enifed(\"@ember/-internals/views/index\", [\"exports\", \"@ember/-internals/views/lib/system/jquery\", \"@ember/-internals/views/lib/system/utils\", \"@ember/-internals/views/lib/system/event_dispatcher\", \"@ember/-internals/views/lib/component_lookup\", \"@ember/-internals/views/lib/mixins/text_support\", \"@ember/-internals/views/lib/views/core_view\", \"@ember/-internals/views/lib/mixins/class_names_support\", \"@ember/-internals/views/lib/mixins/child_views_support\", \"@ember/-internals/views/lib/mixins/view_state_support\", \"@ember/-internals/views/lib/mixins/view_support\", \"@ember/-internals/views/lib/mixins/action_support\", \"@ember/-internals/views/lib/compat/attrs\", \"@ember/-internals/views/lib/system/lookup_partial\", \"@ember/-internals/views/lib/utils/lookup-component\", \"@ember/-internals/views/lib/system/action_manager\"], function (_exports, _jquery, _utils, _event_dispatcher, _component_lookup, _text_support, _core_view, _class_names_support, _child_views_support, _view_state_support, _view_support, _action_support, _attrs, _lookup_partial, _lookupComponent, _action_manager) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"jQuery\", {\n    enumerable: true,\n    get: function () {\n      return _jquery.default;\n    }\n  });\n  Object.defineProperty(_exports, \"jQueryDisabled\", {\n    enumerable: true,\n    get: function () {\n      return _jquery.jQueryDisabled;\n    }\n  });\n  Object.defineProperty(_exports, \"addChildView\", {\n    enumerable: true,\n    get: function () {\n      return _utils.addChildView;\n    }\n  });\n  Object.defineProperty(_exports, \"isSimpleClick\", {\n    enumerable: true,\n    get: function () {\n      return _utils.isSimpleClick;\n    }\n  });\n  Object.defineProperty(_exports, \"getViewBounds\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getViewBounds;\n    }\n  });\n  Object.defineProperty(_exports, \"getViewClientRects\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getViewClientRects;\n    }\n  });\n  Object.defineProperty(_exports, \"getViewBoundingClientRect\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getViewBoundingClientRect;\n    }\n  });\n  Object.defineProperty(_exports, \"getRootViews\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getRootViews;\n    }\n  });\n  Object.defineProperty(_exports, \"getChildViews\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getChildViews;\n    }\n  });\n  Object.defineProperty(_exports, \"getViewId\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getViewId;\n    }\n  });\n  Object.defineProperty(_exports, \"getElementView\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getElementView;\n    }\n  });\n  Object.defineProperty(_exports, \"getViewElement\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getViewElement;\n    }\n  });\n  Object.defineProperty(_exports, \"setElementView\", {\n    enumerable: true,\n    get: function () {\n      return _utils.setElementView;\n    }\n  });\n  Object.defineProperty(_exports, \"setViewElement\", {\n    enumerable: true,\n    get: function () {\n      return _utils.setViewElement;\n    }\n  });\n  Object.defineProperty(_exports, \"clearElementView\", {\n    enumerable: true,\n    get: function () {\n      return _utils.clearElementView;\n    }\n  });\n  Object.defineProperty(_exports, \"clearViewElement\", {\n    enumerable: true,\n    get: function () {\n      return _utils.clearViewElement;\n    }\n  });\n  Object.defineProperty(_exports, \"constructStyleDeprecationMessage\", {\n    enumerable: true,\n    get: function () {\n      return _utils.constructStyleDeprecationMessage;\n    }\n  });\n  Object.defineProperty(_exports, \"EventDispatcher\", {\n    enumerable: true,\n    get: function () {\n      return _event_dispatcher.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ComponentLookup\", {\n    enumerable: true,\n    get: function () {\n      return _component_lookup.default;\n    }\n  });\n  Object.defineProperty(_exports, \"TextSupport\", {\n    enumerable: true,\n    get: function () {\n      return _text_support.default;\n    }\n  });\n  Object.defineProperty(_exports, \"CoreView\", {\n    enumerable: true,\n    get: function () {\n      return _core_view.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ClassNamesSupport\", {\n    enumerable: true,\n    get: function () {\n      return _class_names_support.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ChildViewsSupport\", {\n    enumerable: true,\n    get: function () {\n      return _child_views_support.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ViewStateSupport\", {\n    enumerable: true,\n    get: function () {\n      return _view_state_support.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ViewMixin\", {\n    enumerable: true,\n    get: function () {\n      return _view_support.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ActionSupport\", {\n    enumerable: true,\n    get: function () {\n      return _action_support.default;\n    }\n  });\n  Object.defineProperty(_exports, \"MUTABLE_CELL\", {\n    enumerable: true,\n    get: function () {\n      return _attrs.MUTABLE_CELL;\n    }\n  });\n  Object.defineProperty(_exports, \"lookupPartial\", {\n    enumerable: true,\n    get: function () {\n      return _lookup_partial.default;\n    }\n  });\n  Object.defineProperty(_exports, \"hasPartial\", {\n    enumerable: true,\n    get: function () {\n      return _lookup_partial.hasPartial;\n    }\n  });\n  Object.defineProperty(_exports, \"lookupComponent\", {\n    enumerable: true,\n    get: function () {\n      return _lookupComponent.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ActionManager\", {\n    enumerable: true,\n    get: function () {\n      return _action_manager.default;\n    }\n  });\n});","enifed(\"@ember/-internals/views/lib/compat/attrs\", [\"exports\", \"@ember/-internals/utils\"], function (_exports, _utils) {\n  \"use strict\";\n\n  _exports.MUTABLE_CELL = void 0;\n  var MUTABLE_CELL = (0, _utils.symbol)('MUTABLE_CELL');\n  _exports.MUTABLE_CELL = MUTABLE_CELL;\n});","enifed(\"@ember/-internals/views/lib/compat/fallback-view-registry\", [\"exports\", \"@ember/-internals/utils\"], function (_exports, _utils) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  var _default = (0, _utils.dictionary)(null);\n\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/views/lib/component_lookup\", [\"exports\", \"@ember/-internals/runtime\"], function (_exports, _runtime) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  var _default = _runtime.Object.extend({\n    componentFor: function (name, owner, options) {\n      var fullName = \"component:\" + name;\n      return owner.factoryFor(fullName, options);\n    },\n    layoutFor: function (name, owner, options) {\n      var templateFullName = \"template:components/\" + name;\n      return owner.lookup(templateFullName, options);\n    }\n  });\n\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/views/lib/mixins/action_support\", [\"exports\", \"@ember/-internals/utils\", \"@ember/-internals/metal\", \"@ember/debug\", \"@ember/-internals/views/lib/compat/attrs\", \"@ember/deprecated-features\"], function (_exports, _utils, _metal, _debug, _attrs, _deprecatedFeatures) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n   @module ember\n  */\n  var mixinObj = {\n    send: function (actionName) {\n      for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n        args[_key - 1] = arguments[_key];\n      }\n\n      true && !(!this.isDestroying && !this.isDestroyed) && (0, _debug.assert)(\"Attempted to call .send() with the action '\" + actionName + \"' on the destroyed object '\" + this + \"'.\", !this.isDestroying && !this.isDestroyed);\n      var action = this.actions && this.actions[actionName];\n\n      if (action) {\n        var shouldBubble = action.apply(this, args) === true;\n\n        if (!shouldBubble) {\n          return;\n        }\n      }\n\n      var target = (0, _metal.get)(this, 'target');\n\n      if (target) {\n        true && !(typeof target.send === 'function') && (0, _debug.assert)(\"The `target` for \" + this + \" (\" + target + \") does not have a `send` method\", typeof target.send === 'function');\n        target.send.apply(target, arguments);\n      } else {\n        true && !action && (0, _debug.assert)((0, _utils.inspect)(this) + \" had no action handler for: \" + actionName, action);\n      }\n    }\n  };\n\n  if (_deprecatedFeatures.SEND_ACTION) {\n    /**\n      Calls an action passed to a component.\n       For example a component for playing or pausing music may translate click events\n      into action notifications of \"play\" or \"stop\" depending on some internal state\n      of the component:\n       ```app/components/play-button.js\n      import Component from '@ember/component';\n       export default Component.extend({\n        click() {\n          if (this.get('isPlaying')) {\n            this.sendAction('play');\n          } else {\n            this.sendAction('stop');\n          }\n        }\n      });\n      ```\n       The actions \"play\" and \"stop\" must be passed to this `play-button` component:\n       ```handlebars\n      {{! app/templates/application.hbs }}\n      {{play-button play=(action \"musicStarted\") stop=(action \"musicStopped\")}}\n      ```\n       When the component receives a browser `click` event it translate this\n      interaction into application-specific semantics (\"play\" or \"stop\") and\n      calls the specified action.\n       ```app/controller/application.js\n      import Controller from '@ember/controller';\n       export default Controller.extend({\n        actions: {\n          musicStarted() {\n            // called when the play button is clicked\n            // and the music started playing\n          },\n          musicStopped() {\n            // called when the play button is clicked\n            // and the music stopped playing\n          }\n        }\n      });\n      ```\n       If no action is passed to `sendAction` a default name of \"action\"\n      is assumed.\n       ```app/components/next-button.js\n      import Component from '@ember/component';\n       export default Component.extend({\n        click() {\n          this.sendAction();\n        }\n      });\n      ```\n       ```handlebars\n      {{! app/templates/application.hbs }}\n      {{next-button action=(action \"playNextSongInAlbum\")}}\n      ```\n       ```app/controllers/application.js\n      import Controller from '@ember/controller';\n       export default Controller.extend({\n        actions: {\n          playNextSongInAlbum() {\n            ...\n          }\n        }\n      });\n      ```\n       @method sendAction\n      @param [action] {String} the action to call\n      @param [params] {*} arguments for the action\n      @public\n      @deprecated\n    */\n    var sendAction = function sendAction(action) {\n      true && !(!this.isDestroying && !this.isDestroyed) && (0, _debug.assert)(\"Attempted to call .sendAction() with the action '\" + action + \"' on the destroyed object '\" + this + \"'.\", !this.isDestroying && !this.isDestroyed);\n      true && !false && (0, _debug.deprecate)(\"You called \" + (0, _utils.inspect)(this) + \".sendAction(\" + (typeof action === 'string' ? \"\\\"\" + action + \"\\\"\" : '') + \") but Component#sendAction is deprecated. Please use closure actions instead.\", false, {\n        id: 'ember-component.send-action',\n        until: '4.0.0',\n        url: 'https://emberjs.com/deprecations/v3.x#toc_ember-component-send-action'\n      });\n      var actionName; // Send the default action\n\n      if (action === undefined) {\n        action = 'action';\n      }\n\n      actionName = (0, _metal.get)(this, \"attrs.\" + action) || (0, _metal.get)(this, action);\n      actionName = validateAction(this, actionName); // If no action name for that action could be found, just abort.\n\n      if (actionName === undefined) {\n        return;\n      }\n\n      for (var _len2 = arguments.length, contexts = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n        contexts[_key2 - 1] = arguments[_key2];\n      }\n\n      if (typeof actionName === 'function') {\n        actionName.apply(void 0, contexts);\n      } else {\n        this.triggerAction({\n          action: actionName,\n          actionContext: contexts\n        });\n      }\n    };\n\n    var validateAction = function validateAction(component, actionName) {\n      if (actionName && actionName[_attrs.MUTABLE_CELL]) {\n        actionName = actionName.value;\n      }\n\n      true && !(actionName === null || actionName === undefined || typeof actionName === 'string' || typeof actionName === 'function') && (0, _debug.assert)(\"The default action was triggered on the component \" + component.toString() + \", but the action name (\" + actionName + \") was not a string.\", actionName === null || actionName === undefined || typeof actionName === 'string' || typeof actionName === 'function');\n      return actionName;\n    };\n\n    mixinObj.sendAction = sendAction;\n  }\n  /**\n   @class ActionSupport\n   @namespace Ember\n   @private\n  */\n\n\n  var _default = _metal.Mixin.create(mixinObj);\n\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/views/lib/mixins/child_views_support\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/views/lib/system/utils\"], function (_exports, _metal, _utils) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n  var _default = _metal.Mixin.create({\n    /**\n      Array of child views. You should never edit this array directly.\n       @property childViews\n      @type Array\n      @default []\n      @private\n    */\n    childViews: (0, _metal.nativeDescDecorator)({\n      configurable: false,\n      enumerable: false,\n      get: function () {\n        return (0, _utils.getChildViews)(this);\n      }\n    }),\n    appendChild: function (view) {\n      (0, _utils.addChildView)(this, view);\n    }\n  });\n\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/views/lib/mixins/class_names_support\", [\"exports\", \"@ember/-internals/metal\", \"@ember/debug\"], function (_exports, _metal, _debug) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n  var EMPTY_ARRAY = Object.freeze([]);\n  /**\n    @class ClassNamesSupport\n    @namespace Ember\n    @private\n  */\n\n  var _default = _metal.Mixin.create({\n    concatenatedProperties: ['classNames', 'classNameBindings'],\n    init: function () {\n      this._super.apply(this, arguments);\n\n      true && !((0, _metal.descriptorForProperty)(this, 'classNameBindings') === undefined && Array.isArray(this.classNameBindings)) && (0, _debug.assert)(\"Only arrays are allowed for 'classNameBindings'\", (0, _metal.descriptorForProperty)(this, 'classNameBindings') === undefined && Array.isArray(this.classNameBindings));\n      true && !((0, _metal.descriptorForProperty)(this, 'classNames') === undefined && Array.isArray(this.classNames)) && (0, _debug.assert)(\"Only arrays of static class strings are allowed for 'classNames'. For dynamic classes, use 'classNameBindings'.\", (0, _metal.descriptorForProperty)(this, 'classNames') === undefined && Array.isArray(this.classNames));\n    },\n\n    /**\n      Standard CSS class names to apply to the view's outer element. This\n      property automatically inherits any class names defined by the view's\n      superclasses as well.\n       @property classNames\n      @type Array\n      @default ['ember-view']\n      @public\n    */\n    classNames: EMPTY_ARRAY,\n\n    /**\n      A list of properties of the view to apply as class names. If the property\n      is a string value, the value of that string will be applied as a class\n      name.\n       ```javascript\n      // Applies the 'high' class to the view element\n      import Component from '@ember/component';\n      Component.extend({\n        classNameBindings: ['priority'],\n        priority: 'high'\n      });\n      ```\n       If the value of the property is a Boolean, the name of that property is\n      added as a dasherized class name.\n       ```javascript\n      // Applies the 'is-urgent' class to the view element\n      import Component from '@ember/component';\n      Component.extend({\n        classNameBindings: ['isUrgent'],\n        isUrgent: true\n      });\n      ```\n       If you would prefer to use a custom value instead of the dasherized\n      property name, you can pass a binding like this:\n       ```javascript\n      // Applies the 'urgent' class to the view element\n      import Component from '@ember/component';\n      Component.extend({\n        classNameBindings: ['isUrgent:urgent'],\n        isUrgent: true\n      });\n      ```\n       If you would like to specify a class that should only be added when the\n      property is false, you can declare a binding like this:\n       ```javascript\n      // Applies the 'disabled' class to the view element\n      import Component from '@ember/component';\n      Component.extend({\n        classNameBindings: ['isEnabled::disabled'],\n        isEnabled: false\n      });\n      ```\n       This list of properties is inherited from the component's superclasses as well.\n       @property classNameBindings\n      @type Array\n      @default []\n      @public\n    */\n    classNameBindings: EMPTY_ARRAY\n  });\n\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/views/lib/mixins/text_support\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\", \"@ember/debug\", \"@ember/deprecated-features\"], function (_exports, _metal, _runtime, _debug, _deprecatedFeatures) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n  var KEY_EVENTS = {\n    13: 'insertNewline',\n    27: 'cancel'\n  };\n  /**\n    `TextSupport` is a shared mixin used by both `TextField` and\n    `TextArea`. `TextSupport` adds a number of methods that allow you to\n    specify a controller action to invoke when a certain event is fired on your\n    text field or textarea. The specified controller action would get the current\n    value of the field passed in as the only argument unless the value of\n    the field is empty. In that case, the instance of the field itself is passed\n    in as the only argument.\n  \n    Let's use the pressing of the escape key as an example. If you wanted to\n    invoke a controller action when a user presses the escape key while on your\n    field, you would use the `escape-press` attribute on your field like so:\n  \n    ```handlebars\n      {{! application.hbs}}\n  \n      {{input escape-press='alertUser'}}\n    ```\n  \n    ```javascript\n        import Application from '@ember/application';\n        import Controller from '@ember/controller';\n        App = Application.create();\n  \n        App.ApplicationController = Controller.extend({\n          actions: {\n            alertUser: function ( currentValue ) {\n              alert( 'escape pressed, current value: ' + currentValue );\n            }\n          }\n        });\n    ```\n  \n    The following chart is a visual representation of what takes place when the\n    escape key is pressed in this scenario:\n  \n    ```\n    The Template\n    +---------------------------+\n    |                           |\n    | escape-press='alertUser'  |\n    |                           |          TextSupport Mixin\n    +----+----------------------+          +-------------------------------+\n         |                                 | cancel method                 |\n         |      escape button pressed      |                               |\n         +-------------------------------> | checks for the `escape-press` |\n                                           | attribute and pulls out the   |\n         +-------------------------------+ | `alertUser` value             |\n         |     action name 'alertUser'     +-------------------------------+\n         |     sent to controller\n         v\n    Controller\n    +------------------------------------------ +\n    |                                           |\n    |  actions: {                               |\n    |     alertUser: function( currentValue ){  |\n    |       alert( 'the esc key was pressed!' ) |\n    |     }                                     |\n    |  }                                        |\n    |                                           |\n    +-------------------------------------------+\n    ```\n  \n    Here are the events that we currently support along with the name of the\n    attribute you would need to use on your field. To reiterate, you would use the\n    attribute name like so:\n  \n    ```handlebars\n      {{input attribute-name='controllerAction'}}\n    ```\n  \n    ```\n    +--------------------+----------------+\n    |                    |                |\n    | event              | attribute name |\n    +--------------------+----------------+\n    | new line inserted  | insert-newline |\n    |                    |                |\n    | enter key pressed  | enter          |\n    |                    |                |\n    | cancel key pressed | escape-press   |\n    |                    |                |\n    | focusin            | focus-in       |\n    |                    |                |\n    | focusout           | focus-out      |\n    |                    |                |\n    | keypress           | key-press      |\n    |                    |                |\n    | keyup              | key-up         |\n    |                    |                |\n    | keydown            | key-down       |\n    +--------------------+----------------+\n    ```\n  \n    @class TextSupport\n    @namespace Ember\n    @uses Ember.TargetActionSupport\n    @extends Mixin\n    @private\n  */\n\n  var _default = _metal.Mixin.create(_runtime.TargetActionSupport, {\n    value: '',\n    attributeBindings: ['autocapitalize', 'autocorrect', 'autofocus', 'disabled', 'form', 'maxlength', 'minlength', 'placeholder', 'readonly', 'required', 'selectionDirection', 'spellcheck', 'tabindex', 'title'],\n    placeholder: null,\n    disabled: false,\n    maxlength: null,\n    init: function () {\n      this._super.apply(this, arguments);\n\n      this.on('paste', this, this._elementValueDidChange);\n      this.on('cut', this, this._elementValueDidChange);\n      this.on('input', this, this._elementValueDidChange);\n    },\n\n    /**\n      Whether the `keyUp` event that triggers an `action` to be sent continues\n      propagating to other views.\n       By default, when the user presses the return key on their keyboard and\n      the text field has an `action` set, the action will be sent to the view's\n      controller and the key event will stop propagating.\n       If you would like parent views to receive the `keyUp` event even after an\n      action has been dispatched, set `bubbles` to true.\n       @property bubbles\n      @type Boolean\n      @default false\n      @private\n    */\n    bubbles: false,\n    interpretKeyEvents: function (event) {\n      var map = KEY_EVENTS;\n      var method = map[event.keyCode];\n\n      this._elementValueDidChange();\n\n      if (method) {\n        return this[method](event);\n      }\n    },\n    _elementValueDidChange: function () {\n      (0, _metal.set)(this, 'value', this.element.value);\n    },\n    change: function (event) {\n      this._elementValueDidChange(event);\n    },\n\n    /**\n      Allows you to specify a controller action to invoke when either the `enter`\n      key is pressed or, in the case of the field being a textarea, when a newline\n      is inserted. To use this method, give your field an `insert-newline`\n      attribute. The value of that attribute should be the name of the action\n      in your controller that you wish to invoke.\n       For an example on how to use the `insert-newline` attribute, please\n      reference the example near the top of this file.\n       @method insertNewline\n      @param {Event} event\n      @private\n    */\n    insertNewline: function (event) {\n      sendAction('enter', this, event);\n      sendAction('insert-newline', this, event);\n    },\n\n    /**\n      Allows you to specify a controller action to invoke when the escape button\n      is pressed. To use this method, give your field an `escape-press`\n      attribute. The value of that attribute should be the name of the action\n      in your controller that you wish to invoke.\n       For an example on how to use the `escape-press` attribute, please reference\n      the example near the top of this file.\n       @method cancel\n      @param {Event} event\n      @private\n    */\n    cancel: function (event) {\n      sendAction('escape-press', this, event);\n    },\n\n    /**\n      Allows you to specify a controller action to invoke when a field receives\n      focus. To use this method, give your field a `focus-in` attribute. The value\n      of that attribute should be the name of the action in your controller\n      that you wish to invoke.\n       For an example on how to use the `focus-in` attribute, please reference the\n      example near the top of this file.\n       @method focusIn\n      @param {Event} event\n      @private\n    */\n    focusIn: function (event) {\n      sendAction('focus-in', this, event);\n    },\n\n    /**\n      Allows you to specify a controller action to invoke when a field loses\n      focus. To use this method, give your field a `focus-out` attribute. The value\n      of that attribute should be the name of the action in your controller\n      that you wish to invoke.\n       For an example on how to use the `focus-out` attribute, please reference the\n      example near the top of this file.\n       @method focusOut\n      @param {Event} event\n      @private\n    */\n    focusOut: function (event) {\n      this._elementValueDidChange(event);\n\n      sendAction('focus-out', this, event);\n    },\n\n    /**\n      Allows you to specify a controller action to invoke when a key is pressed.\n      To use this method, give your field a `key-press` attribute. The value of\n      that attribute should be the name of the action in your controller you\n      that wish to invoke.\n       For an example on how to use the `key-press` attribute, please reference the\n      example near the top of this file.\n       @method keyPress\n      @param {Event} event\n      @private\n    */\n    keyPress: function (event) {\n      sendAction('key-press', this, event);\n    },\n\n    /**\n      Allows you to specify a controller action to invoke when a key-up event is\n      fired. To use this method, give your field a `key-up` attribute. The value\n      of that attribute should be the name of the action in your controller\n      that you wish to invoke.\n       For an example on how to use the `key-up` attribute, please reference the\n      example near the top of this file.\n       @method keyUp\n      @param {Event} event\n      @private\n    */\n    keyUp: function (event) {\n      this.interpretKeyEvents(event);\n      sendAction('key-up', this, event);\n    },\n\n    /**\n      Allows you to specify a controller action to invoke when a key-down event is\n      fired. To use this method, give your field a `key-down` attribute. The value\n      of that attribute should be the name of the action in your controller that\n      you wish to invoke.\n       For an example on how to use the `key-down` attribute, please reference the\n      example near the top of this file.\n       @method keyDown\n      @param {Event} event\n      @private\n    */\n    keyDown: function (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\n\n  _exports.default = _default;\n\n  function sendAction(eventName, view, event) {\n    var actionName = (0, _metal.get)(view, \"attrs.\" + eventName) || (0, _metal.get)(view, eventName);\n    var value = (0, _metal.get)(view, 'value');\n\n    if (_deprecatedFeatures.SEND_ACTION && typeof actionName === 'string') {\n      var message = true\n      /* EMBER_GLIMMER_ANGLE_BRACKET_BUILT_INS */\n      ? \"Passing actions to components as strings (like `<Input @\" + eventName + \"=\\\"\" + actionName + \"\\\" />`) is deprecated. Please use closure actions instead (`<Input @\" + eventName + \"={{action \\\"\" + actionName + \"\\\"}} />`).\" : \"Passing actions to components as strings (like `{{input \" + eventName + \"=\\\"\" + actionName + \"\\\"}}`) is deprecated. Please use closure actions instead (`{{input \" + eventName + \"=(action \\\"\" + actionName + \"\\\")}}`).\";\n      true && !false && (0, _debug.deprecate)(message, false, {\n        id: 'ember-component.send-action',\n        until: '4.0.0',\n        url: 'https://emberjs.com/deprecations/v3.x#toc_ember-component-send-action'\n      });\n      view.triggerAction({\n        action: actionName,\n        actionContext: [value, event]\n      });\n    } else if (typeof actionName === 'function') {\n      actionName(value, event);\n    }\n\n    if (actionName && !(0, _metal.get)(view, 'bubbles')) {\n      event.stopPropagation();\n    }\n  }\n});","enifed(\"@ember/-internals/views/lib/mixins/view_state_support\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n  var _default = _metal.Mixin.create({\n    _transitionTo: function (state) {\n      var priorState = this._currentState;\n      var currentState = this._currentState = this._states[state];\n      this._state = state;\n\n      if (priorState && priorState.exit) {\n        priorState.exit(this);\n      }\n\n      if (currentState.enter) {\n        currentState.enter(this);\n      }\n    }\n  });\n\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/views/lib/mixins/view_support\", [\"exports\", \"@ember/-internals/utils\", \"@ember/-internals/metal\", \"@ember/debug\", \"@ember/-internals/browser-environment\", \"@ember/-internals/views/lib/system/utils\", \"@ember/-internals/views/lib/system/jquery\", \"@ember/deprecated-features\"], function (_exports, _utils, _metal, _debug, _browserEnvironment, _utils2, _jquery, _deprecatedFeatures) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  function K() {\n    return this;\n  }\n\n  var mixin = {\n    /**\n     A list of properties of the view to apply as attributes. If the property\n     is a string value, the value of that string will be applied as the value\n     for an attribute of the property's name.\n      The following example creates a tag like `<div priority=\"high\" />`.\n      ```app/components/my-component.js\n     import Component from '@ember/component';\n      export default Component.extend({\n        attributeBindings: ['priority'],\n        priority: 'high'\n      });\n     ```\n      If the value of the property is a Boolean, the attribute is treated as\n     an HTML Boolean attribute. It will be present if the property is `true`\n     and omitted if the property is `false`.\n      The following example creates markup like `<div visible />`.\n      ```app/components/my-component.js\n     import Component from '@ember/component';\n      export default Component.extend({\n        attributeBindings: ['visible'],\n        visible: true\n      });\n     ```\n      If you would prefer to use a custom value instead of the property name,\n     you can create the same markup as the last example with a binding like\n     this:\n      ```app/components/my-component.js\n     import Component from '@ember/component';\n      export default Component.extend({\n        attributeBindings: ['isVisible:visible'],\n        isVisible: true\n      });\n     ```\n      This list of attributes is inherited from the component's superclasses,\n     as well.\n      @property attributeBindings\n     @type Array\n     @default []\n     @public\n     */\n    concatenatedProperties: ['attributeBindings'],\n    // ..........................................................\n    // TEMPLATE SUPPORT\n    //\n\n    /**\n     Return the nearest ancestor that is an instance of the provided\n     class or mixin.\n      @method nearestOfType\n     @param {Class,Mixin} klass Subclass of Ember.View (or Ember.View itself),\n     or an instance of Mixin.\n     @return Ember.View\n     @deprecated use `yield` and contextual components for composition instead.\n     @private\n     */\n    nearestOfType: function (klass) {\n      var view = this.parentView;\n      var isOfType = klass instanceof _metal.Mixin ? function (view) {\n        return klass.detect(view);\n      } : function (view) {\n        return klass.detect(view.constructor);\n      };\n\n      while (view) {\n        if (isOfType(view)) {\n          return view;\n        }\n\n        view = view.parentView;\n      }\n    },\n\n    /**\n     Return the nearest ancestor that has a given property.\n      @method nearestWithProperty\n     @param {String} property A property name\n     @return Ember.View\n     @deprecated use `yield` and contextual components for composition instead.\n     @private\n     */\n    nearestWithProperty: function (property) {\n      var view = this.parentView;\n\n      while (view) {\n        if (property in view) {\n          return view;\n        }\n\n        view = view.parentView;\n      }\n    },\n\n    /**\n     Renders the view again. This will work regardless of whether the\n     view is already in the DOM or not. If the view is in the DOM, the\n     rendering process will be deferred to give bindings a chance\n     to synchronize.\n      If children were added during the rendering process using `appendChild`,\n     `rerender` will remove them, because they will be added again\n     if needed by the next `render`.\n      In general, if the display of your view changes, you should modify\n     the DOM element directly instead of manually calling `rerender`, which can\n     be slow.\n      @method rerender\n     @public\n     */\n    rerender: function () {\n      return this._currentState.rerender(this);\n    },\n    // ..........................................................\n    // ELEMENT SUPPORT\n    //\n\n    /**\n     Returns the current DOM element for the view.\n       @property element\n      @type DOMElement\n      @public\n    */\n    element: (0, _metal.nativeDescDecorator)({\n      configurable: false,\n      enumerable: false,\n      get: function () {\n        return this.renderer.getElement(this);\n      }\n    }),\n\n    /**\n     Appends the view's element to the specified parent element.\n      Note that this method just schedules the view to be appended; the DOM\n     element will not be appended to the given element until all bindings have\n     finished synchronizing.\n      This is not typically a function that you will need to call directly when\n     building your application. If you do need to use `appendTo`, be sure that\n     the target element you are providing is associated with an `Application`\n     and does not have an ancestor element that is associated with an Ember view.\n      @method appendTo\n     @param {String|DOMElement|jQuery} A selector, element, HTML string, or jQuery object\n     @return {Ember.View} receiver\n     @private\n     */\n    appendTo: function (selector) {\n      var target;\n\n      if (_browserEnvironment.hasDOM) {\n        target = typeof selector === 'string' ? document.querySelector(selector) : selector;\n        true && !target && (0, _debug.assert)(\"You tried to append to (\" + selector + \") but that isn't in the DOM\", target);\n        true && !!(0, _utils2.matches)(target, '.ember-view') && (0, _debug.assert)('You cannot append to an existing Ember.View.', !(0, _utils2.matches)(target, '.ember-view'));\n        true && !function () {\n          var node = target.parentNode;\n\n          while (node) {\n            if (node.nodeType !== 9 && (0, _utils2.matches)(node, '.ember-view')) {\n              return false;\n            }\n\n            node = node.parentNode;\n          }\n\n          return true;\n        }() && (0, _debug.assert)('You cannot append to an existing Ember.View.', function () {\n          var node = target.parentNode;\n\n          while (node) {\n            if (node.nodeType !== 9 && (0, _utils2.matches)(node, '.ember-view')) {\n              return false;\n            }\n\n            node = node.parentNode;\n          }\n\n          return true;\n        }());\n      } else {\n        target = selector;\n        true && !(typeof target !== 'string') && (0, _debug.assert)(\"You tried to append to a selector string (\" + selector + \") in an environment without jQuery\", typeof target !== 'string');\n        true && !(typeof selector.appendChild === 'function') && (0, _debug.assert)(\"You tried to append to a non-Element (\" + selector + \") in an environment without jQuery\", typeof selector.appendChild === 'function');\n      }\n\n      this.renderer.appendTo(this, target);\n      return this;\n    },\n\n    /**\n     Appends the view's element to the document body. If the view does\n     not have an HTML representation yet\n     the element will be generated automatically.\n      If your application uses the `rootElement` property, you must append\n     the view within that element. Rendering views outside of the `rootElement`\n     is not supported.\n      Note that this method just schedules the view to be appended; the DOM\n     element will not be appended to the document body until all bindings have\n     finished synchronizing.\n      @method append\n     @return {Ember.View} receiver\n     @private\n     */\n    append: function () {\n      return this.appendTo(document.body);\n    },\n\n    /**\n     The HTML `id` of the view's element in the DOM. You can provide this\n     value yourself but it must be unique (just as in HTML):\n      ```handlebars\n     {{my-component elementId=\"a-really-cool-id\"}}\n     ```\n      If not manually set a default value will be provided by the framework.\n      Once rendered an element's `elementId` is considered immutable and you\n     should never change it. If you need to compute a dynamic value for the\n     `elementId`, you should do this when the component or element is being\n     instantiated:\n      ```app/components/my-component.js\n     import Component from '@ember/component';\n      export default Component.extend({\n        init() {\n          this._super(...arguments);\n          let index = this.get('index');\n          this.set('elementId', 'component-id' + index);\n        }\n      });\n     ```\n      @property elementId\n     @type String\n     @public\n     */\n    elementId: null,\n\n    /**\n     Called when a view is going to insert an element into the DOM.\n      @event willInsertElement\n     @public\n     */\n    willInsertElement: K,\n\n    /**\n     Called when the element of the view has been inserted into the DOM.\n     Override this function to do any set up that requires an element\n     in the document body.\n      When a view has children, didInsertElement will be called on the\n     child view(s) first and on itself afterwards.\n      @event didInsertElement\n     @public\n     */\n    didInsertElement: K,\n\n    /**\n     Called when the view is about to rerender, but before anything has\n     been torn down. This is a good opportunity to tear down any manual\n     observers you have installed based on the DOM state\n      @event willClearRender\n     @public\n     */\n    willClearRender: K,\n\n    /**\n     You must call `destroy` on a view to destroy the view (and all of its\n     child views). This will remove the view from any parent node, then make\n     sure that the DOM element managed by the view can be released by the\n     memory manager.\n      @method destroy\n     @private\n     */\n    destroy: function () {\n      this._super.apply(this, arguments);\n\n      this._currentState.destroy(this);\n    },\n\n    /**\n     Called when the element of the view is going to be destroyed. Override\n     this function to do any teardown that requires an element, like removing\n     event listeners.\n      Please note: any property changes made during this event will have no\n     effect on object observers.\n      @event willDestroyElement\n     @public\n     */\n    willDestroyElement: K,\n\n    /**\n     Called after the element of the view is destroyed.\n      @event willDestroyElement\n     @public\n     */\n    didDestroyElement: K,\n\n    /**\n     Called when the parentView property has changed.\n      @event parentViewDidChange\n     @private\n     */\n    parentViewDidChange: K,\n    // ..........................................................\n    // STANDARD RENDER PROPERTIES\n    //\n\n    /**\n     Tag name for the view's outer element. The tag name is only used when an\n     element is first created. If you change the `tagName` for an element, you\n     must destroy and recreate the view element.\n      By default, the render buffer will use a `<div>` tag for views.\n      If the tagName is `''`, the view will be tagless, with no outer element.\n     Component properties that depend on the presence of an outer element, such\n     as `classNameBindings` and `attributeBindings`, do not work with tagless\n     components. Tagless components cannot implement methods to handle events,\n     and have no associated jQuery object to return with `$()`.\n      @property tagName\n     @type String\n     @default null\n     @public\n     */\n    // We leave this null by default so we can tell the difference between\n    // the default case and a user-specified tag.\n    tagName: null,\n    // .......................................................\n    // CORE DISPLAY METHODS\n    //\n\n    /**\n     Setup a view, but do not finish waking it up.\n      * configure `childViews`\n     * register the view with the global views hash, which is used for event\n     dispatch\n      @method init\n     @private\n     */\n    init: function () {\n      this._super.apply(this, arguments); // tslint:disable-next-line:max-line-length\n\n\n      true && !((0, _metal.descriptorForProperty)(this, 'elementId') === undefined) && (0, _debug.assert)(\"You cannot use a computed property for the component's `elementId` (\" + this + \").\", (0, _metal.descriptorForProperty)(this, 'elementId') === undefined); // tslint:disable-next-line:max-line-length\n\n      true && !((0, _metal.descriptorForProperty)(this, 'tagName') === undefined) && (0, _debug.assert)(\"You cannot use a computed property for the component's `tagName` (\" + this + \").\", (0, _metal.descriptorForProperty)(this, 'tagName') === undefined);\n\n      if (!this.elementId && this.tagName !== '') {\n        this.elementId = (0, _utils.guidFor)(this);\n      }\n\n      true && !!this.render && (0, _debug.assert)('Using a custom `.render` function is no longer supported.', !this.render);\n    },\n    // .......................................................\n    // EVENT HANDLING\n    //\n\n    /**\n     Handle events from `EventDispatcher`\n      @method handleEvent\n     @param eventName {String}\n     @param evt {Event}\n     @private\n     */\n    handleEvent: function (eventName, evt) {\n      return this._currentState.handleEvent(this, eventName, evt);\n    }\n  };\n\n  if (_deprecatedFeatures.JQUERY_INTEGRATION) {\n    /**\n     Returns a jQuery object for this view's element. If you pass in a selector\n     string, this method will return a jQuery object, using the current element\n     as its buffer.\n      For example, calling `view.$('li')` will return a jQuery object containing\n     all of the `li` elements inside the DOM element of this view.\n      @method $\n     @param {String} [selector] a jQuery-compatible selector string\n     @return {jQuery} the jQuery object for the DOM node\n     @public\n     @deprecated\n     */\n    mixin.$ = function $(sel) {\n      true && !(this.tagName !== '') && (0, _debug.assert)(\"You cannot access this.$() on a component with `tagName: ''` specified.\", this.tagName !== '');\n      true && !!_jquery.jQueryDisabled && (0, _debug.assert)('You cannot access this.$() with `jQuery` disabled.', !_jquery.jQueryDisabled);\n      true && !false && (0, _debug.deprecate)('Using this.$() in a component has been deprecated, consider using this.element', false, {\n        id: 'ember-views.curly-components.jquery-element',\n        until: '4.0.0',\n        url: 'https://emberjs.com/deprecations/v3.x#toc_jquery-apis'\n      });\n\n      if (this.element) {\n        return sel ? (0, _jquery.default)(sel, this.element) : (0, _jquery.default)(this.element);\n      }\n    };\n  }\n  /**\n   @class ViewMixin\n   @namespace Ember\n   @private\n  */\n\n\n  var _default = _metal.Mixin.create(mixin);\n\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/views/lib/system/action_manager\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.default = ActionManager;\n\n  /**\n  @module ember\n  */\n  function ActionManager() {}\n  /**\n    Global action id hash.\n  \n    @private\n    @property registeredActions\n    @type Object\n  */\n\n\n  ActionManager.registeredActions = {};\n});","enifed(\"@ember/-internals/views/lib/system/event_dispatcher\", [\"exports\", \"@ember/-internals/owner\", \"@ember/polyfills\", \"@ember/debug\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\", \"@ember/-internals/views\", \"@ember/-internals/views/lib/system/jquery\", \"@ember/-internals/views/lib/system/action_manager\", \"@ember/-internals/views/lib/system/jquery_event_deprecation\", \"@ember/-internals/views/lib/system/utils\", \"@ember/deprecated-features\"], function (_exports, _owner, _polyfills, _debug, _metal, _runtime, _views, _jquery, _action_manager, _jquery_event_deprecation, _utils, _deprecatedFeatures) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n  var ROOT_ELEMENT_CLASS = 'ember-application';\n  var ROOT_ELEMENT_SELECTOR = \".\" + ROOT_ELEMENT_CLASS;\n  var EVENT_MAP = {\n    mouseenter: 'mouseover',\n    mouseleave: 'mouseout'\n  };\n  /**\n    `Ember.EventDispatcher` handles delegating browser events to their\n    corresponding `Ember.Views.` For example, when you click on a view,\n    `Ember.EventDispatcher` ensures that that view's `mouseDown` method gets\n    called.\n  \n    @class EventDispatcher\n    @namespace Ember\n    @private\n    @extends Ember.Object\n  */\n\n  var _default = _runtime.Object.extend({\n    /**\n      The set of events names (and associated handler function names) to be setup\n      and dispatched by the `EventDispatcher`. Modifications to this list can be done\n      at setup time, generally via the `Application.customEvents` hash.\n       To add new events to be listened to:\n       ```javascript\n      import Application from '@ember/application';\n       let App = Application.create({\n        customEvents: {\n          paste: 'paste'\n        }\n      });\n      ```\n       To prevent default events from being listened to:\n       ```javascript\n      import Application from '@ember/application';\n       let App = Application.create({\n        customEvents: {\n          mouseenter: null,\n          mouseleave: null\n        }\n      });\n      ```\n      @property events\n      @type Object\n      @private\n    */\n    events: {\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      mousemove: 'mouseMove',\n      focusin: 'focusIn',\n      focusout: 'focusOut',\n      mouseenter: 'mouseEnter',\n      mouseleave: 'mouseLeave',\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    /**\n      The root DOM element to which event listeners should be attached. Event\n      listeners will be attached to the document unless this is overridden.\n       Can be specified as a DOMElement or a selector string.\n       The default body is a string since this may be evaluated before document.body\n      exists in the DOM.\n       @private\n      @property rootElement\n      @type DOMElement\n      @default 'body'\n    */\n    rootElement: 'body',\n    init: function () {\n      var _this = this;\n\n      this._super();\n\n      true && !function () {\n        var owner = (0, _owner.getOwner)(_this);\n        var environment = owner.lookup('-environment:main');\n        return environment.isInteractive;\n      }() && (0, _debug.assert)('EventDispatcher should never be instantiated in fastboot mode. Please report this as an Ember bug.', function () {\n        var owner = (0, _owner.getOwner)(_this);\n        var environment = owner.lookup('-environment:main');\n        return environment.isInteractive;\n      }());\n      this._eventHandlers = Object.create(null);\n    },\n\n    /**\n      Sets up event listeners for standard browser events.\n       This will be called after the browser sends a `DOMContentReady` event. By\n      default, it will set up all of the listeners on the document body. If you\n      would like to register the listeners on a different element, set the event\n      dispatcher's `root` property.\n       @private\n      @method setup\n      @param addedEvents {Object}\n    */\n    setup: function (addedEvents, _rootElement) {\n      var events = this._finalEvents = (0, _polyfills.assign)({}, (0, _metal.get)(this, 'events'), addedEvents);\n\n      if (_rootElement !== undefined && _rootElement !== null) {\n        (0, _metal.set)(this, 'rootElement', _rootElement);\n      }\n\n      var rootElementSelector = (0, _metal.get)(this, 'rootElement');\n      var rootElement;\n\n      if (!_deprecatedFeatures.JQUERY_INTEGRATION || _jquery.jQueryDisabled) {\n        if (typeof rootElementSelector !== 'string') {\n          rootElement = rootElementSelector;\n        } else {\n          rootElement = document.querySelector(rootElementSelector);\n        }\n\n        true && !!rootElement.classList.contains(ROOT_ELEMENT_CLASS) && (0, _debug.assert)(\"You cannot use the same root element (\" + ((0, _metal.get)(this, 'rootElement') || rootElement.tagName) + \") multiple times in an Ember.Application\", !rootElement.classList.contains(ROOT_ELEMENT_CLASS));\n        true && !function () {\n          var target = rootElement.parentNode;\n\n          do {\n            if (target.classList.contains(ROOT_ELEMENT_CLASS)) {\n              return false;\n            }\n\n            target = target.parentNode;\n          } while (target && target.nodeType === 1);\n\n          return true;\n        }() && (0, _debug.assert)('You cannot make a new Ember.Application using a root element that is a descendent of an existing Ember.Application', function () {\n          var target = rootElement.parentNode;\n\n          do {\n            if (target.classList.contains(ROOT_ELEMENT_CLASS)) {\n              return false;\n            }\n\n            target = target.parentNode;\n          } while (target && target.nodeType === 1);\n\n          return true;\n        }());\n        true && !!rootElement.querySelector(ROOT_ELEMENT_SELECTOR) && (0, _debug.assert)('You cannot make a new Ember.Application using a root element that is an ancestor of an existing Ember.Application', !rootElement.querySelector(ROOT_ELEMENT_SELECTOR));\n        rootElement.classList.add(ROOT_ELEMENT_CLASS);\n        true && !rootElement.classList.contains(ROOT_ELEMENT_CLASS) && (0, _debug.assert)(\"Unable to add '\" + ROOT_ELEMENT_CLASS + \"' class to root element (\" + ((0, _metal.get)(this, 'rootElement') || rootElement.tagName) + \"). Make sure you set rootElement to the body or an element in the body.\", rootElement.classList.contains(ROOT_ELEMENT_CLASS));\n      } else {\n        rootElement = (0, _jquery.default)(rootElementSelector);\n        true && !!rootElement.is(ROOT_ELEMENT_SELECTOR) && (0, _debug.assert)(\"You cannot use the same root element (\" + (rootElement.selector || rootElement[0].tagName) + \") multiple times in an Ember.Application\", !rootElement.is(ROOT_ELEMENT_SELECTOR));\n        true && !!rootElement.closest(ROOT_ELEMENT_SELECTOR).length && (0, _debug.assert)('You cannot make a new Ember.Application using a root element that is a descendent of an existing Ember.Application', !rootElement.closest(ROOT_ELEMENT_SELECTOR).length);\n        true && !!rootElement.find(ROOT_ELEMENT_SELECTOR).length && (0, _debug.assert)('You cannot make a new Ember.Application using a root element that is an ancestor of an existing Ember.Application', !rootElement.find(ROOT_ELEMENT_SELECTOR).length);\n        rootElement.addClass(ROOT_ELEMENT_CLASS);\n\n        if (!rootElement.is(ROOT_ELEMENT_SELECTOR)) {\n          throw new TypeError(\"Unable to add '\" + ROOT_ELEMENT_CLASS + \"' class to root element (\" + (rootElement.selector || rootElement[0].tagName) + \"). Make sure you set rootElement to the body or an element in the body.\");\n        }\n      }\n\n      for (var event in events) {\n        if (events.hasOwnProperty(event)) {\n          this.setupHandler(rootElement, event, events[event]);\n        }\n      }\n    },\n\n    /**\n      Registers an event listener on the rootElement. If the given event is\n      triggered, the provided event handler will be triggered on the target view.\n       If the target view does not implement the event handler, or if the handler\n      returns `false`, the parent view will be called. The event will continue to\n      bubble to each successive parent view until it reaches the top.\n       @private\n      @method setupHandler\n      @param {Element} rootElement\n      @param {String} event the browser-originated event to listen to\n      @param {String} eventName the name of the method to call on the view\n    */\n    setupHandler: function (rootElement, event, eventName) {\n      if (eventName === null) {\n        return;\n      }\n\n      if (!_deprecatedFeatures.JQUERY_INTEGRATION || _jquery.jQueryDisabled) {\n        var viewHandler = function (target, event) {\n          var view = (0, _views.getElementView)(target);\n          var result = true;\n\n          if (view) {\n            result = view.handleEvent(eventName, event);\n          }\n\n          return result;\n        };\n\n        var actionHandler = function (target, event) {\n          var actionId = target.getAttribute('data-ember-action');\n          var actions = _action_manager.default.registeredActions[actionId]; // In Glimmer2 this attribute is set to an empty string and an additional\n          // attribute it set for each action on a given element. In this case, the\n          // attributes need to be read so that a proper set of action handlers can\n          // be coalesced.\n\n          if (actionId === '') {\n            var attributes = target.attributes;\n            var attributeCount = attributes.length;\n            actions = [];\n\n            for (var i = 0; i < attributeCount; i++) {\n              var attr = attributes.item(i);\n              var attrName = attr.name;\n\n              if (attrName.indexOf('data-ember-action-') === 0) {\n                actions = actions.concat(_action_manager.default.registeredActions[attr.value]);\n              }\n            }\n          } // We have to check for actions here since in some cases, jQuery will trigger\n          // an event on `removeChild` (i.e. focusout) after we've already torn down the\n          // action handlers for the view.\n\n\n          if (!actions) {\n            return;\n          }\n\n          var result = true;\n\n          for (var index = 0; index < actions.length; index++) {\n            var action = actions[index];\n\n            if (action && action.eventName === eventName) {\n              // return false if any of the action handlers returns false\n              result = action.handler(event) && result;\n            }\n          }\n\n          return result;\n        }; // Special handling of events that don't bubble (event delegation does not work).\n        // Mimics the way this is handled in jQuery,\n        // see https://github.com/jquery/jquery/blob/899c56f6ada26821e8af12d9f35fa039100e838e/src/event.js#L666-L700\n\n\n        if (EVENT_MAP[event] !== undefined) {\n          var mappedEventType = EVENT_MAP[event];\n          var origEventType = event;\n\n          var createFakeEvent = function (eventType, event) {\n            var fakeEvent = document.createEvent('MouseEvent');\n            fakeEvent.initMouseEvent(eventType, false, false, event.view, event.detail, event.screenX, event.screenY, event.clientX, event.clientY, event.ctrlKey, event.altKey, event.shiftKey, event.metaKey, event.button, event.relatedTarget); // fake event.target as we don't dispatch the event\n\n            Object.defineProperty(fakeEvent, 'target', {\n              value: event.target,\n              enumerable: true\n            });\n            return fakeEvent;\n          };\n\n          var handleMappedEvent = this._eventHandlers[mappedEventType] = function (event) {\n            var target = event.target;\n            var related = event.relatedTarget;\n\n            while (target && target.nodeType === 1 && (related === null || related !== target && !(0, _utils.contains)(target, related))) {\n              // mouseEnter/Leave don't bubble, so there is no logic to prevent it as with other events\n              if ((0, _views.getElementView)(target)) {\n                viewHandler(target, createFakeEvent(origEventType, event));\n              } else if (target.hasAttribute('data-ember-action')) {\n                actionHandler(target, createFakeEvent(origEventType, event));\n              } // separate mouseEnter/Leave events are dispatched for each listening element\n              // until the element (related) has been reached that the pointing device exited from/to\n\n\n              target = target.parentNode;\n            }\n          };\n\n          rootElement.addEventListener(mappedEventType, handleMappedEvent);\n        } else {\n          var handleEvent = this._eventHandlers[event] = function (event) {\n            var target = event.target;\n\n            do {\n              if ((0, _views.getElementView)(target)) {\n                if (viewHandler(target, event) === false) {\n                  event.preventDefault();\n                  event.stopPropagation();\n                  break;\n                } else if (event.cancelBubble === true) {\n                  break;\n                }\n              } else if (typeof target.hasAttribute === 'function' && target.hasAttribute('data-ember-action')) {\n                if (actionHandler(target, event) === false) {\n                  break;\n                }\n              }\n\n              target = target.parentNode;\n            } while (target && target.nodeType === 1);\n          };\n\n          rootElement.addEventListener(event, handleEvent);\n        }\n      } else {\n        rootElement.on(event + \".ember\", '.ember-view', function (evt) {\n          var view = (0, _views.getElementView)(this);\n          var result = true;\n\n          if (view) {\n            result = view.handleEvent(eventName, (0, _jquery_event_deprecation.default)(evt));\n          }\n\n          return result;\n        });\n        rootElement.on(event + \".ember\", '[data-ember-action]', function (evt) {\n          var attributes = evt.currentTarget.attributes;\n          var handledActions = [];\n          evt = (0, _jquery_event_deprecation.default)(evt);\n\n          for (var i = 0; i < attributes.length; i++) {\n            var attr = attributes.item(i);\n            var attrName = attr.name;\n\n            if (attrName.lastIndexOf('data-ember-action-', 0) !== -1) {\n              var action = _action_manager.default.registeredActions[attr.value]; // We have to check for action here since in some cases, jQuery will trigger\n              // an event on `removeChild` (i.e. focusout) after we've already torn down the\n              // action handlers for the view.\n\n              if (action && action.eventName === eventName && handledActions.indexOf(action) === -1) {\n                action.handler(evt); // Action handlers can mutate state which in turn creates new attributes on the element.\n                // This effect could cause the `data-ember-action` attribute to shift down and be invoked twice.\n                // To avoid this, we keep track of which actions have been handled.\n\n                handledActions.push(action);\n              }\n            }\n          }\n        });\n      }\n    },\n    destroy: function () {\n      var rootElementSelector = (0, _metal.get)(this, 'rootElement');\n      var rootElement;\n\n      if (rootElementSelector.nodeType) {\n        rootElement = rootElementSelector;\n      } else {\n        rootElement = document.querySelector(rootElementSelector);\n      }\n\n      if (!rootElement) {\n        return;\n      }\n\n      if (!_deprecatedFeatures.JQUERY_INTEGRATION || _jquery.jQueryDisabled) {\n        for (var event in this._eventHandlers) {\n          rootElement.removeEventListener(event, this._eventHandlers[event]);\n        }\n      } else {\n        (0, _jquery.default)(rootElementSelector).off('.ember', '**');\n      }\n\n      rootElement.classList.remove(ROOT_ELEMENT_CLASS);\n      return this._super.apply(this, arguments);\n    },\n    toString: function () {\n      return '(EventDispatcher)';\n    }\n  });\n\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/views/lib/system/jquery\", [\"exports\", \"@ember/-internals/environment\", \"@ember/-internals/browser-environment\", \"@ember/deprecated-features\"], function (_exports, _environment, _browserEnvironment, _deprecatedFeatures) {\n  \"use strict\";\n\n  _exports.default = _exports.jQueryDisabled = void 0;\n  var jQuery;\n  var jQueryDisabled = !_deprecatedFeatures.JQUERY_INTEGRATION || _environment.ENV._JQUERY_INTEGRATION === false;\n  _exports.jQueryDisabled = jQueryDisabled;\n\n  if (_deprecatedFeatures.JQUERY_INTEGRATION && _browserEnvironment.hasDOM) {\n    jQuery = _environment.context.imports.jQuery;\n\n    if (!jQueryDisabled && jQuery) {\n      if (jQuery.event.addProp) {\n        jQuery.event.addProp('dataTransfer');\n      } else {\n        // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#dndevents\n        ['dragstart', 'drag', 'dragenter', 'dragleave', 'dragover', 'drop', 'dragend'].forEach(function (eventName) {\n          jQuery.event.fixHooks[eventName] = {\n            props: ['dataTransfer']\n          };\n        });\n      }\n    } else {\n      _exports.jQueryDisabled = jQueryDisabled = true;\n    }\n  }\n\n  var _default = jQueryDisabled ? undefined : jQuery;\n\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/views/lib/system/jquery_event_deprecation\", [\"exports\", \"@ember/debug\", \"@ember/-internals/environment\", \"@ember/-internals/utils\", \"@ember/deprecated-features\"], function (_exports, _debug, _environment, _utils, _deprecatedFeatures) {\n  \"use strict\";\n\n  _exports.default = addJQueryEventDeprecation;\n\n  /* global Proxy */\n  function addJQueryEventDeprecation(jqEvent) {\n    if (true\n    /* DEBUG */\n    && _deprecatedFeatures.JQUERY_INTEGRATION && _utils.HAS_NATIVE_PROXY) {\n      var boundFunctions = new Map(); // wrap the jQuery event in a Proxy to add the deprecation message for originalEvent, according to RFC#294\n      // we need a native Proxy here, so we can make sure that the internal use of originalEvent in jQuery itself does\n      // not trigger a deprecation\n\n      return new Proxy(jqEvent, {\n        get: function (target, name) {\n          switch (name) {\n            case 'originalEvent':\n              true && !function (EmberENV) {\n                // this deprecation is intentionally checking `global.EmberENV` /\n                // `global.ENV` so that we can ensure we _only_ deprecate in the\n                // case where jQuery integration is enabled implicitly (e.g.\n                // \"defaulted\" to enabled) as opposed to when the user explicitly\n                // opts in to using jQuery\n                if (typeof EmberENV !== 'object' || EmberENV === null) return false;\n                return EmberENV._JQUERY_INTEGRATION === true;\n              }(_environment.global.EmberENV || _environment.global.ENV) && (0, _debug.deprecate)('Accessing jQuery.Event specific properties is deprecated. Either use the ember-jquery-legacy addon to normalize events to native events, or explicitly opt into jQuery integration using @ember/optional-features.', function (EmberENV) {\n                if (typeof EmberENV !== 'object' || EmberENV === null) return false;\n                return EmberENV._JQUERY_INTEGRATION === true;\n              }(_environment.global.EmberENV || _environment.global.ENV), {\n                id: 'ember-views.event-dispatcher.jquery-event',\n                until: '4.0.0',\n                url: 'https://emberjs.com/deprecations/v3.x#toc_jquery-event'\n              });\n              return target[name];\n            // provide an escape hatch for ember-jquery-legacy to access originalEvent without a deprecation\n\n            case '__originalEvent':\n              return target.originalEvent;\n\n            default:\n              if (typeof target[name] === 'function') {\n                // cache functions for reuse\n                if (!boundFunctions.has(name)) {\n                  // for jQuery.Event methods call them with `target` as the `this` context, so they will access\n                  // `originalEvent` from the original jQuery event, not our proxy, thus not trigger the deprecation\n                  boundFunctions.set(name, target[name].bind(target));\n                }\n\n                return boundFunctions.get(name);\n              } // same for jQuery's getter functions for simple properties\n\n\n              return target[name];\n          }\n        }\n      });\n    }\n\n    return jqEvent;\n  }\n});","enifed(\"@ember/-internals/views/lib/system/lookup_partial\", [\"exports\", \"@ember/debug\", \"@ember/error\"], function (_exports, _debug, _error) {\n  \"use strict\";\n\n  _exports.default = lookupPartial;\n  _exports.hasPartial = hasPartial;\n\n  function parseUnderscoredName(templateName) {\n    var nameParts = templateName.split('/');\n    var lastPart = nameParts[nameParts.length - 1];\n    nameParts[nameParts.length - 1] = \"_\" + lastPart;\n    return nameParts.join('/');\n  }\n\n  function lookupPartial(templateName, owner) {\n    if (templateName == null) {\n      return;\n    }\n\n    var template = templateFor(owner, parseUnderscoredName(templateName), templateName);\n    true && !Boolean(template) && (0, _debug.assert)(\"Unable to find partial with name \\\"\" + templateName + \"\\\"\", Boolean(template));\n    return template;\n  }\n\n  function hasPartial(name, owner) {\n    if (!owner) {\n      throw new _error.default('Container was not found when looking up a views template. ' + 'This is most likely due to manually instantiating an Ember.View. ' + 'See: http://git.io/EKPpnA');\n    }\n\n    return owner.hasRegistration(\"template:\" + parseUnderscoredName(name)) || owner.hasRegistration(\"template:\" + name);\n  }\n\n  function templateFor(owner, underscored, name) {\n    if (!name) {\n      return;\n    }\n\n    true && !(name.indexOf('.') === -1) && (0, _debug.assert)(\"templateNames are not allowed to contain periods: \" + name, name.indexOf('.') === -1);\n\n    if (!owner) {\n      throw new _error.default('Container was not found when looking up a views template. ' + 'This is most likely due to manually instantiating an Ember.View. ' + 'See: http://git.io/EKPpnA');\n    }\n\n    return owner.lookup(\"template:\" + underscored) || owner.lookup(\"template:\" + name);\n  }\n});","enifed(\"@ember/-internals/views/lib/system/utils\", [\"exports\", \"@ember/-internals/owner\", \"@ember/-internals/utils\"], function (_exports, _owner, _utils) {\n  \"use strict\";\n\n  _exports.isSimpleClick = isSimpleClick;\n  _exports.constructStyleDeprecationMessage = constructStyleDeprecationMessage;\n  _exports.getRootViews = getRootViews;\n  _exports.getViewId = getViewId;\n  _exports.getElementView = getElementView;\n  _exports.getViewElement = getViewElement;\n  _exports.setElementView = setElementView;\n  _exports.setViewElement = setViewElement;\n  _exports.clearElementView = clearElementView;\n  _exports.clearViewElement = clearViewElement;\n  _exports.getChildViews = getChildViews;\n  _exports.initChildViews = initChildViews;\n  _exports.addChildView = addChildView;\n  _exports.collectChildViews = collectChildViews;\n  _exports.getViewBounds = getViewBounds;\n  _exports.getViewRange = getViewRange;\n  _exports.getViewClientRects = getViewClientRects;\n  _exports.getViewBoundingClientRect = getViewBoundingClientRect;\n  _exports.matches = matches;\n  _exports.contains = contains;\n  _exports.elMatches = void 0;\n\n  /* globals Element */\n\n  /**\n  @module ember\n  */\n  function isSimpleClick(event) {\n    var modifier = event.shiftKey || event.metaKey || event.altKey || event.ctrlKey;\n    var secondaryClick = event.which > 1; // IE9 may return undefined\n\n    return !modifier && !secondaryClick;\n  }\n\n  function constructStyleDeprecationMessage(affectedStyle) {\n    return '' + 'Binding style attributes may introduce cross-site scripting vulnerabilities; ' + 'please ensure that values being bound are properly escaped. For more information, ' + 'including how to disable this warning, see ' + 'https://emberjs.com/deprecations/v1.x/#toc_binding-style-attributes. ' + 'Style affected: \"' + affectedStyle + '\"';\n  }\n  /**\n    @private\n    @method getRootViews\n    @param {Object} owner\n  */\n\n\n  function getRootViews(owner) {\n    var registry = owner.lookup('-view-registry:main');\n    var rootViews = [];\n    Object.keys(registry).forEach(function (id) {\n      var view = registry[id];\n\n      if (view.parentView === null) {\n        rootViews.push(view);\n      }\n    });\n    return rootViews;\n  }\n  /**\n    @private\n    @method getViewId\n    @param {Ember.View} view\n   */\n\n\n  function getViewId(view) {\n    if (view.tagName !== '' && view.elementId) {\n      return view.elementId;\n    } else {\n      return (0, _utils.guidFor)(view);\n    }\n  }\n\n  var ELEMENT_VIEW = new WeakMap();\n  var VIEW_ELEMENT = new WeakMap();\n\n  function getElementView(element) {\n    return ELEMENT_VIEW.get(element) || null;\n  }\n  /**\n    @private\n    @method getViewElement\n    @param {Ember.View} view\n   */\n\n\n  function getViewElement(view) {\n    return VIEW_ELEMENT.get(view) || null;\n  }\n\n  function setElementView(element, view) {\n    ELEMENT_VIEW.set(element, view);\n  }\n\n  function setViewElement(view, element) {\n    VIEW_ELEMENT.set(view, element);\n  } // These are not needed for GC, but for correctness. We want to be able to\n  // null-out these links while the objects are still live. Specifically, in\n  // this case, we want to prevent access to the element (and vice verse) during\n  // destruction.\n\n\n  function clearElementView(element) {\n    ELEMENT_VIEW.delete(element);\n  }\n\n  function clearViewElement(view) {\n    VIEW_ELEMENT.delete(view);\n  }\n\n  var CHILD_VIEW_IDS = new WeakMap();\n  /**\n    @private\n    @method getChildViews\n    @param {Ember.View} view\n  */\n\n  function getChildViews(view) {\n    var owner = (0, _owner.getOwner)(view);\n    var registry = owner.lookup('-view-registry:main');\n    return collectChildViews(view, registry);\n  }\n\n  function initChildViews(view) {\n    var childViews = new Set();\n    CHILD_VIEW_IDS.set(view, childViews);\n    return childViews;\n  }\n\n  function addChildView(parent, child) {\n    var childViews = CHILD_VIEW_IDS.get(parent);\n\n    if (childViews === undefined) {\n      childViews = initChildViews(parent);\n    }\n\n    childViews.add(getViewId(child));\n  }\n\n  function collectChildViews(view, registry) {\n    var views = [];\n    var childViews = CHILD_VIEW_IDS.get(view);\n\n    if (childViews !== undefined) {\n      childViews.forEach(function (id) {\n        var view = registry[id];\n\n        if (view && !view.isDestroying && !view.isDestroyed) {\n          views.push(view);\n        }\n      });\n    }\n\n    return views;\n  }\n  /**\n    @private\n    @method getViewBounds\n    @param {Ember.View} view\n  */\n\n\n  function getViewBounds(view) {\n    return view.renderer.getBounds(view);\n  }\n  /**\n    @private\n    @method getViewRange\n    @param {Ember.View} view\n  */\n\n\n  function getViewRange(view) {\n    var bounds = getViewBounds(view);\n    var range = document.createRange();\n    range.setStartBefore(bounds.firstNode);\n    range.setEndAfter(bounds.lastNode);\n    return range;\n  }\n  /**\n    `getViewClientRects` provides information about the position of the border\n    box edges of a view relative to the viewport.\n  \n    It is only intended to be used by development tools like the Ember Inspector\n    and may not work on older browsers.\n  \n    @private\n    @method getViewClientRects\n    @param {Ember.View} view\n  */\n\n\n  function getViewClientRects(view) {\n    var range = getViewRange(view);\n    return range.getClientRects();\n  }\n  /**\n    `getViewBoundingClientRect` provides information about the position of the\n    bounding border box edges of a view relative to the viewport.\n  \n    It is only intended to be used by development tools like the Ember Inspector\n    and may not work on older browsers.\n  \n    @private\n    @method getViewBoundingClientRect\n    @param {Ember.View} view\n  */\n\n\n  function getViewBoundingClientRect(view) {\n    var range = getViewRange(view);\n    return range.getBoundingClientRect();\n  }\n  /**\n    Determines if the element matches the specified selector.\n  \n    @private\n    @method matches\n    @param {DOMElement} el\n    @param {String} selector\n  */\n\n\n  var elMatches = typeof Element !== 'undefined' && (Element.prototype.matches || Element.prototype.matchesSelector || Element.prototype.mozMatchesSelector || Element.prototype.msMatchesSelector || Element.prototype.oMatchesSelector || Element.prototype.webkitMatchesSelector);\n  _exports.elMatches = elMatches;\n\n  function matches(el, selector) {\n    return elMatches.call(el, selector);\n  }\n\n  function contains(a, b) {\n    if (a.contains !== undefined) {\n      return a.contains(b);\n    }\n\n    while (b = b.parentNode) {\n      if (b === a) {\n        return true;\n      }\n    }\n\n    return false;\n  }\n});","enifed(\"@ember/-internals/views/lib/utils/lookup-component\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.default = lookupComponent;\n\n  function lookupModuleUnificationComponentPair(componentLookup, owner, name, options) {\n    var localComponent = componentLookup.componentFor(name, owner, options);\n    var localLayout = componentLookup.layoutFor(name, owner, options);\n    var globalComponent = componentLookup.componentFor(name, owner);\n    var globalLayout = componentLookup.layoutFor(name, owner); // TODO: we shouldn't have to recheck fallback, we should have a lookup that doesn't fallback\n\n    if (localComponent !== undefined && globalComponent !== undefined && globalComponent.class === localComponent.class) {\n      localComponent = undefined;\n    }\n\n    if (localLayout !== undefined && globalLayout !== undefined && localLayout.referrer.moduleName === globalLayout.referrer.moduleName) {\n      localLayout = undefined;\n    }\n\n    if (localLayout !== undefined || localComponent !== undefined) {\n      return {\n        layout: localLayout,\n        component: localComponent\n      };\n    }\n\n    return {\n      layout: globalLayout,\n      component: globalComponent\n    };\n  }\n\n  function lookupComponentPair(componentLookup, owner, name, options) {\n    if (false\n    /* EMBER_MODULE_UNIFICATION */\n    ) {\n        return lookupModuleUnificationComponentPair(componentLookup, owner, name, options);\n      }\n\n    var component = componentLookup.componentFor(name, owner, options);\n    var layout = componentLookup.layoutFor(name, owner, options);\n    var result = {\n      layout: layout,\n      component: component\n    };\n    return result;\n  }\n\n  function lookupComponent(owner, name, options) {\n    var componentLookup = owner.lookup('component-lookup:main');\n\n    if (options && (options.source || options.namespace)) {\n      var localResult = lookupComponentPair(componentLookup, owner, name, options);\n\n      if (localResult.component || localResult.layout) {\n        return localResult;\n      }\n    }\n\n    return lookupComponentPair(componentLookup, owner, name);\n  }\n});","enifed(\"@ember/-internals/views/lib/views/core_view\", [\"exports\", \"@ember/-internals/runtime\", \"@ember/-internals/views/lib/views/states\"], function (_exports, _runtime, _states) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n    `Ember.CoreView` is an abstract class that exists to give view-like behavior\n    to both Ember's main view class `Component` and other classes that don't need\n    the full functionality of `Component`.\n  \n    Unless you have specific needs for `CoreView`, you will use `Component`\n    in your applications.\n  \n    @class CoreView\n    @namespace Ember\n    @extends EmberObject\n    @deprecated Use `Component` instead.\n    @uses Evented\n    @uses Ember.ActionHandler\n    @private\n  */\n  var CoreView = _runtime.FrameworkObject.extend(_runtime.Evented, _runtime.ActionHandler, {\n    isView: true,\n    _states: _states.default,\n    init: function () {\n      this._super.apply(this, arguments);\n\n      this._state = 'preRender';\n      this._currentState = this._states.preRender;\n\n      if (!this.renderer) {\n        throw new Error(\"Cannot instantiate a component without a renderer. Please ensure that you are creating \" + this + \" with a proper container/registry.\");\n      }\n    },\n\n    /**\n      If the view is currently inserted into the DOM of a parent view, this\n      property will point to the parent of the view.\n       @property parentView\n      @type Ember.View\n      @default null\n      @private\n    */\n    parentView: null,\n    instrumentDetails: function (hash) {\n      hash.object = this.toString();\n      hash.containerKey = this._debugContainerKey;\n      hash.view = this;\n      return hash;\n    },\n\n    /**\n      Override the default event firing from `Evented` to\n      also call methods with the given name.\n       @method trigger\n      @param name {String}\n      @private\n    */\n    trigger: function (name) {\n      for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n        args[_key - 1] = arguments[_key];\n      }\n\n      this._super.apply(this, arguments);\n\n      var method = this[name];\n\n      if (typeof method === 'function') {\n        return method.apply(this, args);\n      }\n    },\n    has: function (name) {\n      return typeof this[name] === 'function' || this._super(name);\n    }\n  });\n\n  CoreView.reopenClass({\n    isViewFactory: true\n  });\n  var _default = CoreView;\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/views/lib/views/states\", [\"exports\", \"@ember/-internals/views/lib/views/states/pre_render\", \"@ember/-internals/views/lib/views/states/has_element\", \"@ember/-internals/views/lib/views/states/in_dom\", \"@ember/-internals/views/lib/views/states/destroying\"], function (_exports, _pre_render, _has_element, _in_dom, _destroying) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /*\n    Describe how the specified actions should behave in the various\n    states that a view can exist in. Possible states:\n  \n    * preRender: when a view is first instantiated, and after its\n      element was destroyed, it is in the preRender state\n    * hasElement: the DOM representation of the view is created,\n      and is ready to be inserted\n    * inDOM: once a view has been inserted into the DOM it is in\n      the inDOM state. A view spends the vast majority of its\n      existence in this state.\n    * destroyed: once a view has been destroyed (using the destroy\n      method), it is in this state. No further actions can be invoked\n      on a destroyed view.\n  */\n  var states = Object.freeze({\n    preRender: _pre_render.default,\n    inDOM: _in_dom.default,\n    hasElement: _has_element.default,\n    destroying: _destroying.default\n  });\n  var _default = states;\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/views/lib/views/states/default\", [\"exports\", \"@ember/error\"], function (_exports, _error) {\n  \"use strict\";\n\n  _exports.default = void 0;\n  var _default = {\n    // appendChild is only legal while rendering the buffer.\n    appendChild: function () {\n      throw new _error.default(\"You can't use appendChild outside of the rendering process\");\n    },\n    // Handle events from `Ember.EventDispatcher`\n    handleEvent: function () {\n      return true; // continue event propagation\n    },\n    rerender: function () {},\n    destroy: function () {}\n  };\n\n  var _default2 = Object.freeze(_default);\n\n  _exports.default = _default2;\n});","enifed(\"@ember/-internals/views/lib/views/states/destroying\", [\"exports\", \"@ember/polyfills\", \"@ember/error\", \"@ember/-internals/views/lib/views/states/default\"], function (_exports, _polyfills, _error, _default3) {\n  \"use strict\";\n\n  _exports.default = void 0;\n  var destroying = (0, _polyfills.assign)({}, _default3.default, {\n    appendChild: function () {\n      throw new _error.default(\"You can't call appendChild on a view being destroyed\");\n    },\n    rerender: function () {\n      throw new _error.default(\"You can't call rerender on a view being destroyed\");\n    }\n  });\n\n  var _default2 = Object.freeze(destroying);\n\n  _exports.default = _default2;\n});","enifed(\"@ember/-internals/views/lib/views/states/has_element\", [\"exports\", \"@ember/polyfills\", \"@ember/-internals/views/lib/views/states/default\", \"@ember/runloop\", \"@ember/instrumentation\"], function (_exports, _polyfills, _default3, _runloop, _instrumentation) {\n  \"use strict\";\n\n  _exports.default = void 0;\n  var hasElement = (0, _polyfills.assign)({}, _default3.default, {\n    rerender: function (view) {\n      view.renderer.rerender(view);\n    },\n    destroy: function (view) {\n      view.renderer.remove(view);\n    },\n    // Handle events from `Ember.EventDispatcher`\n    handleEvent: function (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: event,\n          view: view\n        }, function () {\n          return (0, _runloop.join)(view, view.trigger, eventName, event);\n        });\n      } else {\n        return true; // continue event propagation\n      }\n    }\n  });\n\n  var _default2 = Object.freeze(hasElement);\n\n  _exports.default = _default2;\n});","enifed(\"@ember/-internals/views/lib/views/states/in_dom\", [\"exports\", \"@ember/-internals/utils\", \"@ember/polyfills\", \"@ember/error\", \"@ember/-internals/views/lib/views/states/has_element\"], function (_exports, _utils, _polyfills, _error, _has_element) {\n  \"use strict\";\n\n  _exports.default = void 0;\n  var inDOM = (0, _polyfills.assign)({}, _has_element.default, {\n    enter: function (view) {\n      // Register the view for event handling. This hash is used by\n      // Ember.EventDispatcher to dispatch incoming events.\n      view.renderer.register(view);\n\n      if (true\n      /* DEBUG */\n      ) {\n          var elementId = view.elementId;\n\n          if (false\n          /* EMBER_METAL_TRACKED_PROPERTIES */\n          ) {\n              (0, _utils.teardownMandatorySetter)(view, 'elementId');\n            }\n\n          Object.defineProperty(view, 'elementId', {\n            configurable: true,\n            enumerable: true,\n            get: function () {\n              return elementId;\n            },\n            set: function () {\n              throw new _error.default(\"Changing a view's elementId after creation is not allowed\");\n            }\n          });\n        }\n    },\n    exit: function (view) {\n      view.renderer.unregister(view);\n    }\n  });\n\n  var _default = Object.freeze(inDOM);\n\n  _exports.default = _default;\n});","enifed(\"@ember/-internals/views/lib/views/states/pre_render\", [\"exports\", \"@ember/-internals/views/lib/views/states/default\", \"@ember/polyfills\"], function (_exports, _default3, _polyfills) {\n  \"use strict\";\n\n  _exports.default = void 0;\n  var preRender = (0, _polyfills.assign)({}, _default3.default);\n\n  var _default2 = Object.freeze(preRender);\n\n  _exports.default = _default2;\n});","enifed(\"@ember/application/globals-resolver\", [\"exports\", \"ember-babel\", \"@ember/-internals/utils\", \"@ember/-internals/metal\", \"@ember/debug\", \"@ember/string\", \"@ember/-internals/runtime\", \"@ember/application/lib/validate-type\", \"@ember/-internals/glimmer\"], function (_exports, _emberBabel, _utils, _metal, _debug, _string, _runtime, _validateType, _glimmer) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n  @module @ember/application\n  */\n\n  /**\n    The DefaultResolver defines the default lookup rules to resolve\n    container lookups before consulting the container for registered\n    items:\n  \n    * templates are looked up on `Ember.TEMPLATES`\n    * other names are looked up on the application after converting\n      the name. For example, `controller:post` looks up\n      `App.PostController` by default.\n    * there are some nuances (see examples below)\n  \n    ### How Resolving Works\n  \n    The container calls this object's `resolve` method with the\n    `fullName` argument.\n  \n    It first parses the fullName into an object using `parseName`.\n  \n    Then it checks for the presence of a type-specific instance\n    method of the form `resolve[Type]` and calls it if it exists.\n    For example if it was resolving 'template:post', it would call\n    the `resolveTemplate` method.\n  \n    Its last resort is to call the `resolveOther` method.\n  \n    The methods of this object are designed to be easy to override\n    in a subclass. For example, you could enhance how a template\n    is resolved like so:\n  \n    ```app/app.js\n    import Application from '@ember/application';\n    import GlobalsResolver from '@ember/application/globals-resolver';\n  \n    App = Application.create({\n      Resolver: GlobalsResolver.extend({\n        resolveTemplate(parsedName) {\n          let resolvedTemplate = this._super(parsedName);\n          if (resolvedTemplate) { return resolvedTemplate; }\n  \n          return Ember.TEMPLATES['not_found'];\n        }\n      })\n    });\n    ```\n  \n    Some examples of how names are resolved:\n  \n    ```text\n    'template:post'           //=> Ember.TEMPLATES['post']\n    'template:posts/byline'   //=> Ember.TEMPLATES['posts/byline']\n    'template:posts.byline'   //=> Ember.TEMPLATES['posts/byline']\n    'template:blogPost'       //=> Ember.TEMPLATES['blog-post']\n    'controller:post'         //=> App.PostController\n    'controller:posts.index'  //=> App.PostsIndexController\n    'controller:blog/post'    //=> Blog.PostController\n    'controller:basic'        //=> Controller\n    'route:post'              //=> App.PostRoute\n    'route:posts.index'       //=> App.PostsIndexRoute\n    'route:blog/post'         //=> Blog.PostRoute\n    'route:basic'             //=> Route\n    'foo:post'                //=> App.PostFoo\n    'model:post'              //=> App.Post\n    ```\n  \n    @class GlobalsResolver\n    @extends EmberObject\n    @public\n  */\n  var DefaultResolver =\n  /*#__PURE__*/\n  function (_EmberObject) {\n    (0, _emberBabel.inheritsLoose)(DefaultResolver, _EmberObject);\n\n    function DefaultResolver() {\n      return _EmberObject.apply(this, arguments) || this;\n    }\n\n    DefaultResolver.create = function create(props) {\n      // DO NOT REMOVE even though this doesn't do anything\n      // This is required for a FireFox 60+ JIT bug with our tests.\n      // without it, create(props) in our tests would lose props on a deopt.\n      return _EmberObject.create.call(this, props);\n    }\n    /**\n      This will be set to the Application instance when it is\n      created.\n       @property namespace\n      @public\n    */\n    ;\n\n    var _proto = DefaultResolver.prototype;\n\n    _proto.init = function init() {\n      this._parseNameCache = (0, _utils.dictionary)(null);\n    };\n\n    _proto.normalize = function normalize(fullName) {\n      var _fullName$split = fullName.split(':'),\n          type = _fullName$split[0],\n          name = _fullName$split[1];\n\n      true && !(fullName.split(':').length === 2) && (0, _debug.assert)('Tried to normalize a container name without a colon (:) in it. ' + 'You probably tried to lookup a name that did not contain a type, ' + 'a colon, and a name. A proper lookup name would be `view:post`.', fullName.split(':').length === 2);\n\n      if (type !== 'template') {\n        var result = name.replace(/(\\.|_|-)./g, function (m) {\n          return m.charAt(1).toUpperCase();\n        });\n        return type + \":\" + result;\n      } else {\n        return fullName;\n      }\n    }\n    /**\n      This method is called via the container's resolver method.\n      It parses the provided `fullName` and then looks up and\n      returns the appropriate template or class.\n       @method resolve\n      @param {String} fullName the lookup string\n      @return {Object} the resolved factory\n      @public\n    */\n    ;\n\n    _proto.resolve = function resolve(fullName) {\n      var parsedName = this.parseName(fullName);\n      var resolveMethodName = parsedName.resolveMethodName;\n      var resolved;\n\n      if (this[resolveMethodName]) {\n        resolved = this[resolveMethodName](parsedName);\n      }\n\n      resolved = resolved || this.resolveOther(parsedName);\n\n      if (true\n      /* DEBUG */\n      ) {\n          if (parsedName.root && parsedName.root.LOG_RESOLVER) {\n            this._logLookup(resolved, parsedName);\n          }\n        }\n\n      if (resolved) {\n        (0, _validateType.default)(resolved, parsedName);\n      }\n\n      return resolved;\n    }\n    /**\n      Convert the string name of the form 'type:name' to\n      a Javascript object with the parsed aspects of the name\n      broken out.\n       @param {String} fullName the lookup string\n      @method parseName\n      @protected\n    */\n    ;\n\n    _proto.parseName = function parseName(fullName) {\n      return this._parseNameCache[fullName] || (this._parseNameCache[fullName] = this._parseName(fullName));\n    };\n\n    _proto._parseName = function _parseName(fullName) {\n      var _fullName$split2 = fullName.split(':'),\n          type = _fullName$split2[0],\n          fullNameWithoutType = _fullName$split2[1];\n\n      var name = fullNameWithoutType;\n      var namespace = (0, _metal.get)(this, 'namespace');\n      var root = namespace;\n      var lastSlashIndex = name.lastIndexOf('/');\n      var dirname = lastSlashIndex !== -1 ? name.slice(0, lastSlashIndex) : null;\n\n      if (type !== 'template' && lastSlashIndex !== -1) {\n        var parts = name.split('/');\n        name = parts[parts.length - 1];\n        var namespaceName = (0, _string.capitalize)(parts.slice(0, -1).join('.'));\n        root = (0, _metal.findNamespace)(namespaceName);\n        true && !root && (0, _debug.assert)(\"You are looking for a \" + name + \" \" + type + \" in the \" + namespaceName + \" namespace, but the namespace could not be found\", root);\n      }\n\n      var resolveMethodName = fullNameWithoutType === 'main' ? 'Main' : (0, _string.classify)(type);\n\n      if (!(name && type)) {\n        throw new TypeError(\"Invalid fullName: `\" + fullName + \"`, must be of the form `type:name` \");\n      }\n\n      return {\n        fullName: fullName,\n        type: type,\n        fullNameWithoutType: fullNameWithoutType,\n        dirname: dirname,\n        name: name,\n        root: root,\n        resolveMethodName: \"resolve\" + resolveMethodName\n      };\n    }\n    /**\n      Returns a human-readable description for a fullName. Used by the\n      Application namespace in assertions to describe the\n      precise name of the class that Ember is looking for, rather than\n      container keys.\n       @param {String} fullName the lookup string\n      @method lookupDescription\n      @protected\n    */\n    ;\n\n    _proto.lookupDescription = function lookupDescription(fullName) {\n      var parsedName = this.parseName(fullName);\n      var description;\n\n      if (parsedName.type === 'template') {\n        return \"template at \" + parsedName.fullNameWithoutType.replace(/\\./g, '/');\n      }\n\n      description = parsedName.root + \".\" + (0, _string.classify)(parsedName.name).replace(/\\./g, '');\n\n      if (parsedName.type !== 'model') {\n        description += (0, _string.classify)(parsedName.type);\n      }\n\n      return description;\n    };\n\n    _proto.makeToString = function makeToString(factory) {\n      return factory.toString();\n    }\n    /**\n      Given a parseName object (output from `parseName`), apply\n      the conventions expected by `Router`\n       @param {Object} parsedName a parseName object with the parsed\n        fullName lookup string\n      @method useRouterNaming\n      @protected\n    */\n    ;\n\n    _proto.useRouterNaming = function useRouterNaming(parsedName) {\n      if (parsedName.name === 'basic') {\n        parsedName.name = '';\n      } else {\n        parsedName.name = parsedName.name.replace(/\\./g, '_');\n      }\n    }\n    /**\n      Look up the template in Ember.TEMPLATES\n       @param {Object} parsedName a parseName object with the parsed\n        fullName lookup string\n      @method resolveTemplate\n      @protected\n    */\n    ;\n\n    _proto.resolveTemplate = function resolveTemplate(parsedName) {\n      var templateName = parsedName.fullNameWithoutType.replace(/\\./g, '/');\n      return (0, _glimmer.getTemplate)(templateName) || (0, _glimmer.getTemplate)((0, _string.decamelize)(templateName));\n    }\n    /**\n      Lookup the view using `resolveOther`\n       @param {Object} parsedName a parseName object with the parsed\n        fullName lookup string\n      @method resolveView\n      @protected\n    */\n    ;\n\n    _proto.resolveView = function resolveView(parsedName) {\n      this.useRouterNaming(parsedName);\n      return this.resolveOther(parsedName);\n    }\n    /**\n      Lookup the controller using `resolveOther`\n       @param {Object} parsedName a parseName object with the parsed\n        fullName lookup string\n      @method resolveController\n      @protected\n    */\n    ;\n\n    _proto.resolveController = function resolveController(parsedName) {\n      this.useRouterNaming(parsedName);\n      return this.resolveOther(parsedName);\n    }\n    /**\n      Lookup the route using `resolveOther`\n       @param {Object} parsedName a parseName object with the parsed\n        fullName lookup string\n      @method resolveRoute\n      @protected\n    */\n    ;\n\n    _proto.resolveRoute = function resolveRoute(parsedName) {\n      this.useRouterNaming(parsedName);\n      return this.resolveOther(parsedName);\n    }\n    /**\n      Lookup the model on the Application namespace\n       @param {Object} parsedName a parseName object with the parsed\n        fullName lookup string\n      @method resolveModel\n      @protected\n    */\n    ;\n\n    _proto.resolveModel = function resolveModel(parsedName) {\n      var className = (0, _string.classify)(parsedName.name);\n      var factory = (0, _metal.get)(parsedName.root, className);\n      return factory;\n    }\n    /**\n      Look up the specified object (from parsedName) on the appropriate\n      namespace (usually on the Application)\n       @param {Object} parsedName a parseName object with the parsed\n        fullName lookup string\n      @method resolveHelper\n      @protected\n    */\n    ;\n\n    _proto.resolveHelper = function resolveHelper(parsedName) {\n      return this.resolveOther(parsedName);\n    }\n    /**\n      Look up the specified object (from parsedName) on the appropriate\n      namespace (usually on the Application)\n       @param {Object} parsedName a parseName object with the parsed\n        fullName lookup string\n      @method resolveOther\n      @protected\n    */\n    ;\n\n    _proto.resolveOther = function resolveOther(parsedName) {\n      var className = (0, _string.classify)(parsedName.name) + (0, _string.classify)(parsedName.type);\n      var factory = (0, _metal.get)(parsedName.root, className);\n      return factory;\n    };\n\n    _proto.resolveMain = function resolveMain(parsedName) {\n      var className = (0, _string.classify)(parsedName.type);\n      return (0, _metal.get)(parsedName.root, className);\n    }\n    /**\n      Used to iterate all items of a given type.\n       @method knownForType\n      @param {String} type the type to search for\n      @private\n    */\n    ;\n\n    _proto.knownForType = function knownForType(type) {\n      var namespace = (0, _metal.get)(this, 'namespace');\n      var suffix = (0, _string.classify)(type);\n      var typeRegexp = new RegExp(suffix + \"$\");\n      var known = (0, _utils.dictionary)(null);\n      var knownKeys = Object.keys(namespace);\n\n      for (var index = 0; index < knownKeys.length; index++) {\n        var name = knownKeys[index];\n\n        if (typeRegexp.test(name)) {\n          var containerName = this.translateToContainerFullname(type, name);\n          known[containerName] = true;\n        }\n      }\n\n      return known;\n    }\n    /**\n      Converts provided name from the backing namespace into a container lookup name.\n       Examples:\n       * App.FooBarHelper -> helper:foo-bar\n      * App.THelper -> helper:t\n       @method translateToContainerFullname\n      @param {String} type\n      @param {String} name\n      @private\n    */\n    ;\n\n    _proto.translateToContainerFullname = function translateToContainerFullname(type, name) {\n      var suffix = (0, _string.classify)(type);\n      var namePrefix = name.slice(0, suffix.length * -1);\n      var dasherizedName = (0, _string.dasherize)(namePrefix);\n      return type + \":\" + dasherizedName;\n    };\n\n    return DefaultResolver;\n  }(_runtime.Object);\n\n  var _default = DefaultResolver;\n  _exports.default = _default;\n\n  if (true\n  /* DEBUG */\n  ) {\n      /**\n          @method _logLookup\n          @param {Boolean} found\n          @param {Object} parsedName\n          @private\n        */\n      DefaultResolver.prototype._logLookup = function (found, parsedName) {\n        var symbol = found ? '[✓]' : '[ ]';\n        var padding;\n\n        if (parsedName.fullName.length > 60) {\n          padding = '.';\n        } else {\n          padding = new Array(60 - parsedName.fullName.length).join('.');\n        }\n\n        (0, _debug.info)(symbol, parsedName.fullName, padding, this.lookupDescription(parsedName.fullName));\n      };\n    }\n});","enifed(\"@ember/application/index\", [\"exports\", \"@ember/-internals/owner\", \"@ember/application/lib/lazy_load\", \"@ember/application/lib/application\"], function (_exports, _owner, _lazy_load, _application) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"getOwner\", {\n    enumerable: true,\n    get: function () {\n      return _owner.getOwner;\n    }\n  });\n  Object.defineProperty(_exports, \"setOwner\", {\n    enumerable: true,\n    get: function () {\n      return _owner.setOwner;\n    }\n  });\n  Object.defineProperty(_exports, \"onLoad\", {\n    enumerable: true,\n    get: function () {\n      return _lazy_load.onLoad;\n    }\n  });\n  Object.defineProperty(_exports, \"runLoadHooks\", {\n    enumerable: true,\n    get: function () {\n      return _lazy_load.runLoadHooks;\n    }\n  });\n  Object.defineProperty(_exports, \"_loaded\", {\n    enumerable: true,\n    get: function () {\n      return _lazy_load._loaded;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _application.default;\n    }\n  });\n});","enifed(\"@ember/application/instance\", [\"exports\", \"@ember/polyfills\", \"@ember/-internals/metal\", \"@ember/-internals/browser-environment\", \"@ember/-internals/views\", \"@ember/engine/instance\", \"@ember/-internals/glimmer\"], function (_exports, _polyfills, _metal, environment, _views, _instance, _glimmer) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n  @module @ember/application\n  */\n\n  /**\n    The `ApplicationInstance` encapsulates all of the stateful aspects of a\n    running `Application`.\n  \n    At a high-level, we break application boot into two distinct phases:\n  \n    * Definition time, where all of the classes, templates, and other\n      dependencies are loaded (typically in the browser).\n    * Run time, where we begin executing the application once everything\n      has loaded.\n  \n    Definition time can be expensive and only needs to happen once since it is\n    an idempotent operation. For example, between test runs and FastBoot\n    requests, the application stays the same. It is only the state that we want\n    to reset.\n  \n    That state is what the `ApplicationInstance` manages: it is responsible for\n    creating the container that contains all application state, and disposing of\n    it once the particular test run or FastBoot request has finished.\n  \n    @public\n    @class ApplicationInstance\n    @extends EngineInstance\n  */\n  var ApplicationInstance = _instance.default.extend({\n    /**\n      The `Application` for which this is an instance.\n       @property {Application} application\n      @private\n    */\n    application: null,\n\n    /**\n      The DOM events for which the event dispatcher should listen.\n       By default, the application's `Ember.EventDispatcher` listens\n      for a set of standard DOM events, such as `mousedown` and\n      `keyup`, and delegates them to your application's `Ember.View`\n      instances.\n       @private\n      @property {Object} customEvents\n    */\n    customEvents: null,\n\n    /**\n      The root DOM element of the Application as an element or a\n      [jQuery-compatible selector\n      string](http://api.jquery.com/category/selectors/).\n       @private\n      @property {String|DOMElement} rootElement\n    */\n    rootElement: null,\n    init: function () {\n      this._super.apply(this, arguments);\n\n      this.application._watchInstance(this); // Register this instance in the per-instance registry.\n      //\n      // Why do we need to register the instance in the first place?\n      // Because we need a good way for the root route (a.k.a ApplicationRoute)\n      // to notify us when it has created the root-most view. That view is then\n      // appended to the rootElement, in the case of apps, to the fixture harness\n      // in tests, or rendered to a string in the case of FastBoot.\n\n\n      this.register('-application-instance:main', this, {\n        instantiate: false\n      });\n    },\n\n    /**\n      Overrides the base `EngineInstance._bootSync` method with concerns relevant\n      to booting application (instead of engine) instances.\n       This method should only contain synchronous boot concerns. Asynchronous\n      boot concerns should eventually be moved to the `boot` method, which\n      returns a promise.\n       Until all boot code has been made asynchronous, we need to continue to\n      expose this method for use *internally* in places where we need to boot an\n      instance synchronously.\n       @private\n    */\n    _bootSync: function (options) {\n      if (this._booted) {\n        return this;\n      }\n\n      options = new BootOptions(options);\n      this.setupRegistry(options);\n\n      if (options.rootElement) {\n        this.rootElement = options.rootElement;\n      } else {\n        this.rootElement = this.application.rootElement;\n      }\n\n      if (options.location) {\n        (0, _metal.set)(this.router, 'location', options.location);\n      }\n\n      this.application.runInstanceInitializers(this);\n\n      if (options.isInteractive) {\n        this.setupEventDispatcher();\n      }\n\n      this._booted = true;\n      return this;\n    },\n    setupRegistry: function (options) {\n      this.constructor.setupRegistry(this.__registry__, options);\n    },\n    router: (0, _metal.computed)(function () {\n      return this.lookup('router:main');\n    }).readOnly(),\n\n    /**\n      This hook is called by the root-most Route (a.k.a. the ApplicationRoute)\n      when it has finished creating the root View. By default, we simply take the\n      view and append it to the `rootElement` specified on the Application.\n       In cases like FastBoot and testing, we can override this hook and implement\n      custom behavior, such as serializing to a string and sending over an HTTP\n      socket rather than appending to DOM.\n       @param view {Ember.View} the root-most view\n      @deprecated\n      @private\n    */\n    didCreateRootView: function (view) {\n      view.appendTo(this.rootElement);\n    },\n\n    /**\n      Tells the router to start routing. The router will ask the location for the\n      current URL of the page to determine the initial URL to start routing to.\n      To start the app at a specific URL, call `handleURL` instead.\n       @private\n    */\n    startRouting: function () {\n      this.router.startRouting();\n      this._didSetupRouter = true;\n    },\n\n    /**\n      @private\n       Sets up the router, initializing the child router and configuring the\n      location before routing begins.\n       Because setup should only occur once, multiple calls to `setupRouter`\n      beyond the first call have no effect.\n    */\n    setupRouter: function () {\n      if (this._didSetupRouter) {\n        return;\n      }\n\n      this._didSetupRouter = true;\n      this.router.setupRouter();\n    },\n\n    /**\n      Directs the router to route to a particular URL. This is useful in tests,\n      for example, to tell the app to start at a particular URL.\n       @param url {String} the URL the router should route to\n      @private\n    */\n    handleURL: function (url) {\n      this.setupRouter();\n      return this.router.handleURL(url);\n    },\n\n    /**\n      @private\n    */\n    setupEventDispatcher: function () {\n      var dispatcher = this.lookup('event_dispatcher:main');\n      var applicationCustomEvents = (0, _metal.get)(this.application, 'customEvents');\n      var instanceCustomEvents = (0, _metal.get)(this, 'customEvents');\n      var customEvents = (0, _polyfills.assign)({}, applicationCustomEvents, instanceCustomEvents);\n      dispatcher.setup(customEvents, this.rootElement);\n      return dispatcher;\n    },\n\n    /**\n      Returns the current URL of the app instance. This is useful when your\n      app does not update the browsers URL bar (i.e. it uses the `'none'`\n      location adapter).\n       @public\n      @return {String} the current URL\n    */\n    getURL: function () {\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    /**\n      Navigate the instance to a particular URL. This is useful in tests, for\n      example, or to tell the app to start at a particular URL. This method\n      returns a promise that resolves with the app instance when the transition\n      is complete, or rejects if the transion was aborted due to an error.\n       @public\n      @param url {String} the destination URL\n      @return {Promise<ApplicationInstance>}\n    */\n    visit: function (url) {\n      var _this = this;\n\n      this.setupRouter();\n\n      var bootOptions = this.__container__.lookup('-environment:main');\n\n      var router = this.router;\n\n      var handleTransitionResolve = function () {\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(function () {\n            return _this;\n          });\n        }\n      };\n\n      var handleTransitionReject = function (error) {\n        if (error.error) {\n          throw error.error;\n        } else if (error.name === 'TransitionAborted' && router._routerMicrolib.activeTransition) {\n          return router._routerMicrolib.activeTransition.then(handleTransitionResolve, handleTransitionReject);\n        } else if (error.name === 'TransitionAborted') {\n          throw new Error(error.message);\n        } else {\n          throw error;\n        }\n      };\n\n      var location = (0, _metal.get)(router, 'location'); // Keeps the location adapter's internal URL in-sync\n\n      location.setURL(url); // getURL returns the set url with the rootURL stripped off\n\n      return router.handleURL(location.getURL()).then(handleTransitionResolve, handleTransitionReject);\n    },\n    willDestroy: function () {\n      this._super.apply(this, arguments);\n\n      this.application._unwatchInstance(this);\n    }\n  });\n\n  ApplicationInstance.reopenClass({\n    /**\n     @private\n     @method setupRegistry\n     @param {Registry} registry\n     @param {BootOptions} options\n    */\n    setupRegistry: function (registry) {\n      var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n      if (!options.toEnvironment) {\n        options = new BootOptions(options);\n      }\n\n      registry.register('-environment:main', options.toEnvironment(), {\n        instantiate: false\n      });\n      registry.register('service:-document', options.document, {\n        instantiate: false\n      });\n\n      this._super(registry, options);\n    }\n  });\n  /**\n    A list of boot-time configuration options for customizing the behavior of\n    an `ApplicationInstance`.\n  \n    This is an interface class that exists purely to document the available\n    options; you do not need to construct it manually. Simply pass a regular\n    JavaScript object containing the desired options into methods that require\n    one of these options object:\n  \n    ```javascript\n    MyApp.visit(\"/\", { location: \"none\", rootElement: \"#container\" });\n    ```\n  \n    Not all combinations of the supported options are valid. See the documentation\n    on `Application#visit` for the supported configurations.\n  \n    Internal, experimental or otherwise unstable flags are marked as private.\n  \n    @class BootOptions\n    @namespace ApplicationInstance\n    @public\n  */\n\n  var BootOptions =\n  /*#__PURE__*/\n  function () {\n    function BootOptions() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n      /**\n        Provide a specific instance of jQuery. This is useful in conjunction with\n        the `document` option, as it allows you to use a copy of `jQuery` that is\n        appropriately bound to the foreign `document` (e.g. a jsdom).\n         This is highly experimental and support very incomplete at the moment.\n         @property jQuery\n        @type Object\n        @default auto-detected\n        @private\n      */\n\n      this.jQuery = _views.jQuery; // This default is overridable below\n\n      /**\n        Interactive mode: whether we need to set up event delegation and invoke\n        lifecycle callbacks on Components.\n         @property isInteractive\n        @type boolean\n        @default auto-detected\n        @private\n      */\n\n      this.isInteractive = environment.hasDOM; // This default is overridable below\n\n      /**\n        @property _renderMode\n        @type string\n        @default false\n        @private\n      */\n\n      this._renderMode = options._renderMode;\n      /**\n        Run in a full browser environment.\n         When this flag is set to `false`, it will disable most browser-specific\n        and interactive features. Specifically:\n         * It does not use `jQuery` to append the root view; the `rootElement`\n          (either specified as a subsequent option or on the application itself)\n          must already be an `Element` in the given `document` (as opposed to a\n          string selector).\n         * It does not set up an `EventDispatcher`.\n         * It does not run any `Component` lifecycle hooks (such as `didInsertElement`).\n         * It sets the `location` option to `\"none\"`. (If you would like to use\n          the location adapter specified in the app's router instead, you can also\n          specify `{ location: null }` to specifically opt-out.)\n         @property isBrowser\n        @type boolean\n        @default auto-detected\n        @public\n      */\n\n      if (options.isBrowser !== undefined) {\n        this.isBrowser = Boolean(options.isBrowser);\n      } else {\n        this.isBrowser = environment.hasDOM;\n      }\n\n      if (!this.isBrowser) {\n        this.jQuery = null;\n        this.isInteractive = false;\n        this.location = 'none';\n      }\n      /**\n        Disable rendering completely.\n         When this flag is set to `false`, it will disable the entire rendering\n        pipeline. Essentially, this puts the app into \"routing-only\" mode. No\n        templates will be rendered, and no Components will be created.\n         @property shouldRender\n        @type boolean\n        @default true\n        @public\n      */\n\n\n      if (options.shouldRender !== undefined) {\n        this.shouldRender = Boolean(options.shouldRender);\n      } else {\n        this.shouldRender = true;\n      }\n\n      if (!this.shouldRender) {\n        this.jQuery = null;\n        this.isInteractive = false;\n      }\n      /**\n        If present, render into the given `Document` object instead of the\n        global `window.document` object.\n         In practice, this is only useful in non-browser environment or in\n        non-interactive mode, because Ember's `jQuery` dependency is\n        implicitly bound to the current document, causing event delegation\n        to not work properly when the app is rendered into a foreign\n        document object (such as an iframe's `contentDocument`).\n         In non-browser mode, this could be a \"`Document`-like\" object as\n        Ember only interact with a small subset of the DOM API in non-\n        interactive mode. While the exact requirements have not yet been\n        formalized, the `SimpleDOM` library's implementation is known to\n        work.\n         @property document\n        @type Document\n        @default the global `document` object\n        @public\n      */\n\n\n      if (options.document) {\n        this.document = options.document;\n      } else {\n        this.document = typeof document !== 'undefined' ? document : null;\n      }\n      /**\n        If present, overrides the application's `rootElement` property on\n        the instance. This is useful for testing environment, where you\n        might want to append the root view to a fixture area.\n         In non-browser mode, because Ember does not have access to jQuery,\n        this options must be specified as a DOM `Element` object instead of\n        a selector string.\n         See the documentation on `Application`'s `rootElement` for\n        details.\n         @property rootElement\n        @type String|Element\n        @default null\n        @public\n       */\n\n\n      if (options.rootElement) {\n        this.rootElement = options.rootElement;\n      } // Set these options last to give the user a chance to override the\n      // defaults from the \"combo\" options like `isBrowser` (although in\n      // practice, the resulting combination is probably invalid)\n\n      /**\n        If present, overrides the router's `location` property with this\n        value. This is useful for environments where trying to modify the\n        URL would be inappropriate.\n         @property location\n        @type string\n        @default null\n        @public\n      */\n\n\n      if (options.location !== undefined) {\n        this.location = options.location;\n      }\n\n      if (options.jQuery !== undefined) {\n        this.jQuery = options.jQuery;\n      }\n\n      if (options.isInteractive !== undefined) {\n        this.isInteractive = Boolean(options.isInteractive);\n      }\n    }\n\n    var _proto = BootOptions.prototype;\n\n    _proto.toEnvironment = function toEnvironment() {\n      // Do we really want to assign all of this!?\n      var env = (0, _polyfills.assign)({}, environment); // For compatibility with existing code\n\n      env.hasDOM = this.isBrowser;\n      env.isInteractive = this.isInteractive;\n      env._renderMode = this._renderMode;\n      env.options = this;\n      return env;\n    };\n\n    return BootOptions;\n  }();\n\n  var _default = ApplicationInstance;\n  _exports.default = _default;\n});","enifed(\"@ember/application/lib/application\", [\"exports\", \"@ember/-internals/utils\", \"@ember/-internals/environment\", \"@ember/-internals/browser-environment\", \"@ember/debug\", \"@ember/runloop\", \"@ember/-internals/metal\", \"@ember/application/lib/lazy_load\", \"@ember/-internals/runtime\", \"@ember/-internals/views\", \"@ember/-internals/routing\", \"@ember/application/instance\", \"@ember/engine\", \"@ember/-internals/container\", \"@ember/-internals/glimmer\", \"@ember/deprecated-features\"], function (_exports, _utils, _environment, _browserEnvironment, _debug, _runloop, _metal, _lazy_load, _runtime, _views, _routing, _instance, _engine, _container, _glimmer, _deprecatedFeatures) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  function _templateObject() {\n    const data = _taggedTemplateLiteralLoose([\"-bucket-cache:main\"]);\n\n    _templateObject = function () {\n      return data;\n    };\n\n    return data;\n  }\n\n  function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.slice(0); } strings.raw = raw; return strings; }\n\n  var librariesRegistered = false;\n  /**\n    An instance of `Application` is the starting point for every Ember\n    application. It helps to instantiate, initialize and coordinate the many\n    objects that make up your app.\n  \n    Each Ember app has one and only one `Application` object. In fact, the\n    very first thing you should do in your application is create the instance:\n  \n    ```javascript\n    import Application from '@ember/application';\n  \n    window.App = Application.create();\n    ```\n  \n    Typically, the application object is the only global variable. All other\n    classes in your app should be properties on the `Application` instance,\n    which highlights its first role: a global namespace.\n  \n    For example, if you define a view class, it might look like this:\n  \n    ```javascript\n    import Application from '@ember/application';\n  \n    App.MyView = Ember.View.extend();\n    ```\n  \n    By default, calling `Application.create()` will automatically initialize\n    your application by calling the `Application.initialize()` method. If\n    you need to delay initialization, you can call your app's `deferReadiness()`\n    method. When you are ready for your app to be initialized, call its\n    `advanceReadiness()` method.\n  \n    You can define a `ready` method on the `Application` instance, which\n    will be run by Ember when the application is initialized.\n  \n    Because `Application` 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.\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    ```javascript\n    import Application from '@ember/application';\n  \n    let App = Application.create({\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    ```javascript\n    import Application from '@ember/application';\n  \n    let App = Application.create({\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    ```javascript\n    import Application from '@ember/application';\n  \n    let App = Application.create({\n      rootElement: '#ember-app'\n    });\n    ```\n  \n    The `rootElement` can be either a DOM element or a jQuery-compatible selector\n    string. Note that *views appended to the DOM outside the root element will\n    not receive events.* If you specify a custom root element, make sure you only\n    append views inside it!\n  \n    To learn more about the events Ember components use, see\n  \n    [components/handling-events](https://guides.emberjs.com/release/components/handling-events/#toc_event-names).\n  \n    ### Initializers\n  \n    Libraries on top of Ember can add initializers, like so:\n  \n    ```javascript\n    import Application from '@ember/application';\n  \n    Application.initializer({\n      name: 'api-adapter',\n  \n      initialize: function(application) {\n        application.register('api-adapter:main', ApiAdapter);\n      }\n    });\n    ```\n  \n    Initializers provide an opportunity to access the internal registry, which\n    organizes the different components of an Ember application. Additionally\n    they provide a chance to access the instantiated application. Beyond\n    being used for libraries, initializers are also a great way to organize\n    dependency injection or setup in your own application.\n  \n    ### Routing\n  \n    In addition to creating your application's router, `Application` is\n    also responsible for telling the router when to start routing. Transitions\n    between routes can be logged with the `LOG_TRANSITIONS` flag, and more\n    detailed intra-transition logging can be logged with\n    the `LOG_TRANSITIONS_INTERNAL` flag:\n  \n    ```javascript\n    import Application from '@ember/application';\n  \n    let App = Application.create({\n      LOG_TRANSITIONS: true, // basic logging of successful transitions\n      LOG_TRANSITIONS_INTERNAL: true // detailed logging of all routing steps\n    });\n    ```\n  \n    By default, the router will begin trying to translate the current URL into\n    application state once the browser emits the `DOMContentReady` event. If you\n    need to defer routing, you can call the application's `deferReadiness()`\n    method. Once routing can begin, call the `advanceReadiness()` method.\n  \n    If there is any setup required before routing begins, you can implement a\n    `ready()` method on your app that will be invoked immediately before routing\n    begins.\n  \n    @class Application\n    @extends Engine\n    @uses RegistryProxyMixin\n    @public\n  */\n\n  var Application = _engine.default.extend({\n    /**\n      The root DOM element of the Application. This can be specified as an\n      element or a\n      [jQuery-compatible selector string](http://api.jquery.com/category/selectors/).\n       This is the element that will be passed to the Application's,\n      `eventDispatcher`, which sets up the listeners for event delegation. Every\n      view in your application should be a child of the element you specify here.\n       @property rootElement\n      @type DOMElement\n      @default 'body'\n      @public\n    */\n    rootElement: 'body',\n\n    /**\n      The `Ember.EventDispatcher` responsible for delegating events to this\n      application's views.\n       The event dispatcher is created by the application at initialization time\n      and sets up event listeners on the DOM element described by the\n      application's `rootElement` property.\n       See the documentation for `Ember.EventDispatcher` for more information.\n       @property eventDispatcher\n      @type Ember.EventDispatcher\n      @default null\n      @public\n    */\n    eventDispatcher: null,\n\n    /**\n      The DOM events for which the event dispatcher should listen.\n       By default, the application's `Ember.EventDispatcher` listens\n      for a set of standard DOM events, such as `mousedown` and\n      `keyup`, and delegates them to your application's `Ember.View`\n      instances.\n       If you would like additional bubbling events to be delegated to your\n      views, set your `Application`'s `customEvents` property\n      to a hash containing the DOM event name as the key and the\n      corresponding view method name as the value. Setting an event to\n      a value of `null` will prevent a default event listener from being\n      added for that event.\n       To add new events to be listened to:\n       ```javascript\n      import Application from '@ember/application';\n       let App = Application.create({\n        customEvents: {\n          // add support for the paste event\n          paste: 'paste'\n        }\n      });\n      ```\n       To prevent default events from being listened to:\n       ```javascript\n      import Application from '@ember/application';\n       let App = Application.create({\n        customEvents: {\n          // remove support for mouseenter / mouseleave events\n          mouseenter: null,\n          mouseleave: null\n        }\n      });\n      ```\n      @property customEvents\n      @type Object\n      @default null\n      @public\n    */\n    customEvents: null,\n\n    /**\n      Whether the application should automatically start routing and render\n      templates to the `rootElement` on DOM ready. While default by true,\n      other environments such as FastBoot or a testing harness can set this\n      property to `false` and control the precise timing and behavior of the boot\n      process.\n       @property autoboot\n      @type Boolean\n      @default true\n      @private\n    */\n    autoboot: true,\n\n    /**\n      Whether the application should be configured for the legacy \"globals mode\".\n      Under this mode, the Application object serves as a global namespace for all\n      classes.\n       ```javascript\n      import Application from '@ember/application';\n      import Component from '@ember/component';\n       let App = Application.create({\n        ...\n      });\n       App.Router.reopen({\n        location: 'none'\n      });\n       App.Router.map({\n        ...\n      });\n       App.MyComponent = Component.extend({\n        ...\n      });\n      ```\n       This flag also exposes other internal APIs that assumes the existence of\n      a special \"default instance\", like `App.__container__.lookup(...)`.\n       This option is currently not configurable, its value is derived from\n      the `autoboot` flag – disabling `autoboot` also implies opting-out of\n      globals mode support, although they are ultimately orthogonal concerns.\n       Some of the global modes features are already deprecated in 1.x. The\n      existence of this flag is to untangle the globals mode code paths from\n      the autoboot code paths, so that these legacy features can be reviewed\n      for deprecation/removal separately.\n       Forcing the (autoboot=true, _globalsMode=false) here and running the tests\n      would reveal all the places where we are still relying on these legacy\n      behavior internally (mostly just tests).\n       @property _globalsMode\n      @type Boolean\n      @default true\n      @private\n    */\n    _globalsMode: true,\n\n    /**\n      An array of application instances created by `buildInstance()`. Used\n      internally to ensure that all instances get destroyed.\n       @property _applicationInstances\n      @type Array\n      @default null\n      @private\n    */\n    _applicationInstances: null,\n    init: function () {\n      // eslint-disable-line no-unused-vars\n      this._super.apply(this, arguments);\n\n      if (!this.$) {\n        this.$ = _views.jQuery;\n      }\n\n      registerLibraries();\n\n      if (true\n      /* DEBUG */\n      ) {\n          if (_environment.ENV.LOG_VERSION) {\n            // we only need to see this once per Application#init\n            _environment.ENV.LOG_VERSION = false;\n\n            _metal.libraries.logVersions();\n          }\n        } // Start off the number of deferrals at 1. This will be decremented by\n      // the Application's own `boot` method.\n\n\n      this._readinessDeferrals = 1;\n      this._booted = false;\n      this._applicationInstances = new Set();\n      this.autoboot = this._globalsMode = Boolean(this.autoboot);\n\n      if (this._globalsMode) {\n        this._prepareForGlobalsMode();\n      }\n\n      if (this.autoboot) {\n        this.waitForDOMReady();\n      }\n    },\n\n    /**\n      Create an ApplicationInstance for this application.\n       @public\n      @method buildInstance\n      @return {ApplicationInstance} the application instance\n    */\n    buildInstance: function () {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n      options.base = this;\n      options.application = this;\n      return _instance.default.create(options);\n    },\n\n    /**\n      Start tracking an ApplicationInstance for this application.\n      Used when the ApplicationInstance is created.\n       @private\n      @method _watchInstance\n    */\n    _watchInstance: function (instance) {\n      this._applicationInstances.add(instance);\n    },\n\n    /**\n      Stop tracking an ApplicationInstance for this application.\n      Used when the ApplicationInstance is about to be destroyed.\n       @private\n      @method _unwatchInstance\n    */\n    _unwatchInstance: function (instance) {\n      return this._applicationInstances.delete(instance);\n    },\n\n    /**\n      Enable the legacy globals mode by allowing this application to act\n      as a global namespace. See the docs on the `_globalsMode` property\n      for details.\n       Most of these features are already deprecated in 1.x, so we can\n      stop using them internally and try to remove them.\n       @private\n      @method _prepareForGlobalsMode\n    */\n    _prepareForGlobalsMode: function () {\n      // Create subclass of Router for this Application instance.\n      // This is to ensure that someone reopening `App.Router` does not\n      // tamper with the default `Router`.\n      this.Router = (this.Router || _routing.Router).extend();\n\n      this._buildDeprecatedInstance();\n    },\n\n    /*\n      Build the deprecated instance for legacy globals mode support.\n      Called when creating and resetting the application.\n       This is orthogonal to autoboot: the deprecated instance needs to\n      be created at Application construction (not boot) time to expose\n      App.__container__. If autoboot sees that this instance exists,\n      it will continue booting it to avoid doing unncessary work (as\n      opposed to building a new instance at boot time), but they are\n      otherwise unrelated.\n       @private\n      @method _buildDeprecatedInstance\n    */\n    _buildDeprecatedInstance: function () {\n      // Build a default instance\n      var instance = this.buildInstance(); // Legacy support for App.__container__ and other global methods\n      // on App that rely on a single, default instance.\n\n      this.__deprecatedInstance__ = instance;\n      this.__container__ = instance.__container__;\n    },\n\n    /**\n      Automatically kick-off the boot process for the application once the\n      DOM has become ready.\n       The initialization itself is scheduled on the actions queue which\n      ensures that code-loading finishes before booting.\n       If you are asynchronously loading code, you should call `deferReadiness()`\n      to defer booting, and then call `advanceReadiness()` once all of your code\n      has finished loading.\n       @private\n      @method waitForDOMReady\n    */\n    waitForDOMReady: function () {\n      if (!this.$ || this.$.isReady) {\n        (0, _runloop.schedule)('actions', this, 'domReady');\n      } else {\n        this.$().ready((0, _runloop.bind)(this, 'domReady'));\n      }\n    },\n\n    /**\n      This is the autoboot flow:\n       1. Boot the app by calling `this.boot()`\n      2. Create an instance (or use the `__deprecatedInstance__` in globals mode)\n      3. Boot the instance by calling `instance.boot()`\n      4. Invoke the `App.ready()` callback\n      5. Kick-off routing on the instance\n       Ideally, this is all we would need to do:\n       ```javascript\n      _autoBoot() {\n        this.boot().then(() => {\n          let instance = (this._globalsMode) ? this.__deprecatedInstance__ : this.buildInstance();\n          return instance.boot();\n        }).then((instance) => {\n          App.ready();\n          instance.startRouting();\n        });\n      }\n      ```\n       Unfortunately, we cannot actually write this because we need to participate\n      in the \"synchronous\" boot process. While the code above would work fine on\n      the initial boot (i.e. DOM ready), when `App.reset()` is called, we need to\n      boot a new instance synchronously (see the documentation on `_bootSync()`\n      for details).\n       Because of this restriction, the actual logic of this method is located\n      inside `didBecomeReady()`.\n       @private\n      @method domReady\n    */\n    domReady: function () {\n      if (this.isDestroyed) {\n        return;\n      }\n\n      this._bootSync(); // Continues to `didBecomeReady`\n\n    },\n\n    /**\n      Use this to defer readiness until some condition is true.\n       Example:\n       ```javascript\n      import Application from '@ember/application';\n       let App = Application.create();\n       App.deferReadiness();\n       // $ is a reference to the jQuery object/function\n      import $ from 'jquery;\n       $.getJSON('/auth-token', function(token) {\n        App.token = token;\n        App.advanceReadiness();\n      });\n      ```\n       This allows you to perform asynchronous setup logic and defer\n      booting your application until the setup has finished.\n       However, if the setup requires a loading UI, it might be better\n      to use the router for this purpose.\n       @method deferReadiness\n      @public\n    */\n    deferReadiness: function () {\n      true && !(this instanceof Application) && (0, _debug.assert)('You must call deferReadiness on an instance of Application', this instanceof Application);\n      true && !(this._readinessDeferrals > 0) && (0, _debug.assert)('You cannot defer readiness since the `ready()` hook has already been called.', this._readinessDeferrals > 0);\n      this._readinessDeferrals++;\n    },\n\n    /**\n      Call `advanceReadiness` after any asynchronous setup logic has completed.\n      Each call to `deferReadiness` must be matched by a call to `advanceReadiness`\n      or the application will never become ready and routing will not begin.\n       @method advanceReadiness\n      @see {Application#deferReadiness}\n      @public\n    */\n    advanceReadiness: function () {\n      true && !(this instanceof Application) && (0, _debug.assert)('You must call advanceReadiness on an instance of Application', this instanceof Application);\n      this._readinessDeferrals--;\n\n      if (this._readinessDeferrals === 0) {\n        (0, _runloop.once)(this, this.didBecomeReady);\n      }\n    },\n\n    /**\n      Initialize the application and return a promise that resolves with the `Application`\n      object when the boot process is complete.\n       Run any application initializers and run the application load hook. These hooks may\n      choose to defer readiness. For example, an authentication hook might want to defer\n      readiness until the auth token has been retrieved.\n       By default, this method is called automatically on \"DOM ready\"; however, if autoboot\n      is disabled, this is automatically called when the first application instance is\n      created via `visit`.\n       @public\n      @method boot\n      @return {Promise<Application,Error>}\n    */\n    boot: function () {\n      if (this._bootPromise) {\n        return this._bootPromise;\n      }\n\n      try {\n        this._bootSync();\n      } catch (_) {// Ignore the error: in the asynchronous boot path, the error is already reflected\n        // in the promise rejection\n      }\n\n      return this._bootPromise;\n    },\n\n    /**\n      Unfortunately, a lot of existing code assumes the booting process is\n      \"synchronous\". Specifically, a lot of tests assumes the last call to\n      `app.advanceReadiness()` or `app.reset()` will result in the app being\n      fully-booted when the current runloop completes.\n       We would like new code (like the `visit` API) to stop making this assumption,\n      so we created the asynchronous version above that returns a promise. But until\n      we have migrated all the code, we would have to expose this method for use\n      *internally* in places where we need to boot an app \"synchronously\".\n       @private\n    */\n    _bootSync: function () {\n      if (this._booted) {\n        return;\n      } // Even though this returns synchronously, we still need to make sure the\n      // boot promise exists for book-keeping purposes: if anything went wrong in\n      // the boot process, we need to store the error as a rejection on the boot\n      // promise so that a future caller of `boot()` can tell what failed.\n\n\n      var defer = this._bootResolver = _runtime.RSVP.defer();\n\n      this._bootPromise = defer.promise;\n\n      try {\n        this.runInitializers();\n        (0, _lazy_load.runLoadHooks)('application', this);\n        this.advanceReadiness(); // Continues to `didBecomeReady`\n      } catch (error) {\n        // For the asynchronous boot path\n        defer.reject(error); // For the synchronous boot path\n\n        throw error;\n      }\n    },\n\n    /**\n      Reset the application. This is typically used only in tests. It cleans up\n      the application in the following order:\n       1. Deactivate existing routes\n      2. Destroy all objects in the container\n      3. Create a new application container\n      4. Re-route to the existing url\n       Typical Example:\n       ```javascript\n      import Application from '@ember/application';\n      let App;\n       run(function() {\n        App = Application.create();\n      });\n       module('acceptance test', {\n        setup: function() {\n          App.reset();\n        }\n      });\n       test('first test', function() {\n        // App is freshly reset\n      });\n       test('second test', function() {\n        // App is again freshly reset\n      });\n      ```\n       Advanced Example:\n       Occasionally you may want to prevent the app from initializing during\n      setup. This could enable extra configuration, or enable asserting prior\n      to the app becoming ready.\n       ```javascript\n      import Application from '@ember/application';\n      let App;\n       run(function() {\n        App = Application.create();\n      });\n       module('acceptance test', {\n        setup: function() {\n          run(function() {\n            App.reset();\n            App.deferReadiness();\n          });\n        }\n      });\n       test('first test', function() {\n        ok(true, 'something before app is initialized');\n         run(function() {\n          App.advanceReadiness();\n        });\n         ok(true, 'something after app is initialized');\n      });\n      ```\n       @method reset\n      @public\n    */\n    reset: function () {\n      true && !(this._globalsMode && this.autoboot) && (0, _debug.assert)(\"Calling reset() on instances of `Application` is not\\n            supported when globals mode is disabled; call `visit()` to\\n            create new `ApplicationInstance`s and dispose them\\n            via their `destroy()` method instead.\", this._globalsMode && this.autoboot);\n      var instance = this.__deprecatedInstance__;\n      this._readinessDeferrals = 1;\n      this._bootPromise = null;\n      this._bootResolver = null;\n      this._booted = false;\n\n      function handleReset() {\n        (0, _runloop.run)(instance, 'destroy');\n\n        this._buildDeprecatedInstance();\n\n        (0, _runloop.schedule)('actions', this, '_bootSync');\n      }\n\n      (0, _runloop.join)(this, handleReset);\n    },\n\n    /**\n      @private\n      @method didBecomeReady\n    */\n    didBecomeReady: function () {\n      try {\n        // TODO: Is this still needed for _globalsMode = false?\n        if (!(0, _debug.isTesting)()) {\n          // Eagerly name all classes that are already loaded\n          (0, _metal.processAllNamespaces)();\n          (0, _metal.setNamespaceSearchDisabled)(true);\n        } // See documentation on `_autoboot()` for details\n\n\n        if (this.autoboot) {\n          var instance;\n\n          if (this._globalsMode) {\n            // If we already have the __deprecatedInstance__ lying around, boot it to\n            // avoid unnecessary work\n            instance = this.__deprecatedInstance__;\n          } else {\n            // Otherwise, build an instance and boot it. This is currently unreachable,\n            // because we forced _globalsMode to === autoboot; but having this branch\n            // allows us to locally toggle that flag for weeding out legacy globals mode\n            // dependencies independently\n            instance = this.buildInstance();\n          }\n\n          instance._bootSync(); // TODO: App.ready() is not called when autoboot is disabled, is this correct?\n\n\n          this.ready();\n          instance.startRouting();\n        } // For the asynchronous boot path\n\n\n        this._bootResolver.resolve(this); // For the synchronous boot path\n\n\n        this._booted = true;\n      } catch (error) {\n        // For the asynchronous boot path\n        this._bootResolver.reject(error); // For the synchronous boot path\n\n\n        throw error;\n      }\n    },\n\n    /**\n      Called when the Application has become ready, immediately before routing\n      begins. The call will be delayed until the DOM has become ready.\n       @event ready\n      @public\n    */\n    ready: function () {\n      return this;\n    },\n    // This method must be moved to the application instance object\n    willDestroy: function () {\n      this._super.apply(this, arguments);\n\n      (0, _metal.setNamespaceSearchDisabled)(false);\n      this._booted = false;\n      this._bootPromise = null;\n      this._bootResolver = null;\n\n      if (_lazy_load._loaded.application === this) {\n        _lazy_load._loaded.application = undefined;\n      }\n\n      if (this._applicationInstances.size) {\n        this._applicationInstances.forEach(function (i) {\n          return i.destroy();\n        });\n\n        this._applicationInstances.clear();\n      }\n    },\n\n    /**\n      Boot a new instance of `ApplicationInstance` for the current\n      application and navigate it to the given `url`. Returns a `Promise` that\n      resolves with the instance when the initial routing and rendering is\n      complete, or rejects with any error that occurred during the boot process.\n       When `autoboot` is disabled, calling `visit` would first cause the\n      application to boot, which runs the application initializers.\n       This method also takes a hash of boot-time configuration options for\n      customizing the instance's behavior. See the documentation on\n      `ApplicationInstance.BootOptions` for details.\n       `ApplicationInstance.BootOptions` is an interface class that exists\n      purely to document the available options; you do not need to construct it\n      manually. Simply pass a regular JavaScript object containing of the\n      desired options:\n       ```javascript\n      MyApp.visit(\"/\", { location: \"none\", rootElement: \"#container\" });\n      ```\n       ### Supported Scenarios\n       While the `BootOptions` class exposes a large number of knobs, not all\n      combinations of them are valid; certain incompatible combinations might\n      result in unexpected behavior.\n       For example, booting the instance in the full browser environment\n      while specifying a foreign `document` object (e.g. `{ isBrowser: true,\n      document: iframe.contentDocument }`) does not work correctly today,\n      largely due to Ember's jQuery dependency.\n       Currently, there are three officially supported scenarios/configurations.\n      Usages outside of these scenarios are not guaranteed to work, but please\n      feel free to file bug reports documenting your experience and any issues\n      you encountered to help expand support.\n       #### Browser Applications (Manual Boot)\n       The setup is largely similar to how Ember works out-of-the-box. Normally,\n      Ember will boot a default instance for your Application on \"DOM ready\".\n      However, you can customize this behavior by disabling `autoboot`.\n       For example, this allows you to render a miniture demo of your application\n      into a specific area on your marketing website:\n       ```javascript\n      import MyApp from 'my-app';\n       $(function() {\n        let App = MyApp.create({ autoboot: false });\n         let options = {\n          // Override the router's location adapter to prevent it from updating\n          // the URL in the address bar\n          location: 'none',\n           // Override the default `rootElement` on the app to render into a\n          // specific `div` on the page\n          rootElement: '#demo'\n        };\n         // Start the app at the special demo URL\n        App.visit('/demo', options);\n      });\n      ```\n       Or perhaps you might want to boot two instances of your app on the same\n      page for a split-screen multiplayer experience:\n       ```javascript\n      import MyApp from 'my-app';\n       $(function() {\n        let App = MyApp.create({ autoboot: false });\n         let sessionId = MyApp.generateSessionID();\n         let player1 = App.visit(`/matches/join?name=Player+1&session=${sessionId}`, { rootElement: '#left', location: 'none' });\n        let player2 = App.visit(`/matches/join?name=Player+2&session=${sessionId}`, { rootElement: '#right', location: 'none' });\n         Promise.all([player1, player2]).then(() => {\n          // Both apps have completed the initial render\n          $('#loading').fadeOut();\n        });\n      });\n      ```\n       Do note that each app instance maintains their own registry/container, so\n      they will run in complete isolation by default.\n       #### Server-Side Rendering (also known as FastBoot)\n       This setup allows you to run your Ember app in a server environment using\n      Node.js and render its content into static HTML for SEO purposes.\n       ```javascript\n      const HTMLSerializer = new SimpleDOM.HTMLSerializer(SimpleDOM.voidMap);\n       function renderURL(url) {\n        let dom = new SimpleDOM.Document();\n        let rootElement = dom.body;\n        let options = { isBrowser: false, document: dom, rootElement: rootElement };\n         return MyApp.visit(options).then(instance => {\n          try {\n            return HTMLSerializer.serialize(rootElement.firstChild);\n          } finally {\n            instance.destroy();\n          }\n        });\n      }\n      ```\n       In this scenario, because Ember does not have access to a global `document`\n      object in the Node.js environment, you must provide one explicitly. In practice,\n      in the non-browser environment, the stand-in `document` object only needs to\n      implement a limited subset of the full DOM API. The `SimpleDOM` library is known\n      to work.\n       Since there is no access to jQuery in the non-browser environment, you must also\n      specify a DOM `Element` object in the same `document` for the `rootElement` option\n      (as opposed to a selector string like `\"body\"`).\n       See the documentation on the `isBrowser`, `document` and `rootElement` properties\n      on `ApplicationInstance.BootOptions` for details.\n       #### Server-Side Resource Discovery\n       This setup allows you to run the routing layer of your Ember app in a server\n      environment using Node.js and completely disable rendering. This allows you\n      to simulate and discover the resources (i.e. AJAX requests) needed to fulfill\n      a given request and eagerly \"push\" these resources to the client.\n       ```app/initializers/network-service.js\n      import BrowserNetworkService from 'app/services/network/browser';\n      import NodeNetworkService from 'app/services/network/node';\n       // Inject a (hypothetical) service for abstracting all AJAX calls and use\n      // the appropriate implementation on the client/server. This also allows the\n      // server to log all the AJAX calls made during a particular request and use\n      // that for resource-discovery purpose.\n       export function initialize(application) {\n        if (window) { // browser\n          application.register('service:network', BrowserNetworkService);\n        } else { // node\n          application.register('service:network', NodeNetworkService);\n        }\n         application.inject('route', 'network', 'service:network');\n      };\n       export default {\n        name: 'network-service',\n        initialize: initialize\n      };\n      ```\n       ```app/routes/post.js\n      import Route from '@ember/routing/route';\n       // An example of how the (hypothetical) service is used in routes.\n       export default Route.extend({\n        model(params) {\n          return this.network.fetch(`/api/posts/${params.post_id}.json`);\n        },\n         afterModel(post) {\n          if (post.isExternalContent) {\n            return this.network.fetch(`/api/external/?url=${post.externalURL}`);\n          } else {\n            return post;\n          }\n        }\n      });\n      ```\n       ```javascript\n      // Finally, put all the pieces together\n       function discoverResourcesFor(url) {\n        return MyApp.visit(url, { isBrowser: false, shouldRender: false }).then(instance => {\n          let networkService = instance.lookup('service:network');\n          return networkService.requests; // => { \"/api/posts/123.json\": \"...\" }\n        });\n      }\n      ```\n       @public\n      @method visit\n      @param url {String} The initial URL to navigate to\n      @param options {ApplicationInstance.BootOptions}\n      @return {Promise<ApplicationInstance, Error>}\n    */\n    visit: function (url, options) {\n      var _this = this;\n\n      return this.boot().then(function () {\n        var instance = _this.buildInstance();\n\n        return instance.boot(options).then(function () {\n          return instance.visit(url);\n        }).catch(function (error) {\n          (0, _runloop.run)(instance, 'destroy');\n          throw error;\n        });\n      });\n    }\n  });\n\n  Application.reopenClass({\n    /**\n      This creates a registry with the default Ember naming conventions.\n       It also configures the registry:\n       * registered views are created every time they are looked up (they are\n        not singletons)\n      * registered templates are not factories; the registered value is\n        returned directly.\n      * the router receives the application as its `namespace` property\n      * all controllers receive the router as their `target` and `controllers`\n        properties\n      * all controllers receive the application as their `namespace` property\n      * the application view receives the application controller as its\n        `controller` property\n      * the application view receives the application template as its\n        `defaultTemplate` property\n       @method buildRegistry\n      @static\n      @param {Application} namespace the application for which to\n        build the registry\n      @return {Ember.Registry} the built registry\n      @private\n    */\n    buildRegistry: function () {\n      // eslint-disable-line no-unused-vars\n      var registry = this._super.apply(this, arguments);\n\n      commonSetupRegistry(registry);\n      (0, _glimmer.setupApplicationRegistry)(registry);\n      return registry;\n    }\n  });\n\n  function commonSetupRegistry(registry) {\n    registry.register('router:main', _routing.Router.extend());\n    registry.register('-view-registry:main', {\n      create: function () {\n        return (0, _utils.dictionary)(null);\n      }\n    });\n    registry.register('route:basic', _routing.Route);\n    registry.register('event_dispatcher:main', _views.EventDispatcher);\n    registry.injection('router:main', 'namespace', 'application:main');\n    registry.register('location:auto', _routing.AutoLocation);\n    registry.register('location:hash', _routing.HashLocation);\n    registry.register('location:history', _routing.HistoryLocation);\n    registry.register('location:none', _routing.NoneLocation);\n    registry.register((0, _container.privatize)(_templateObject()), {\n      create: function () {\n        return new _routing.BucketCache();\n      }\n    });\n    registry.register('service:router', _routing.RouterService);\n    registry.injection('service:router', '_router', 'router:main');\n  }\n\n  function registerLibraries() {\n    if (!librariesRegistered) {\n      librariesRegistered = true;\n\n      if (_deprecatedFeatures.JQUERY_INTEGRATION && _browserEnvironment.hasDOM && !_views.jQueryDisabled) {\n        _metal.libraries.registerCoreLibrary('jQuery', (0, _views.jQuery)().jquery);\n      }\n    }\n  }\n\n  var _default = Application;\n  _exports.default = _default;\n});","enifed(\"@ember/application/lib/lazy_load\", [\"exports\", \"@ember/-internals/environment\", \"@ember/-internals/browser-environment\"], function (_exports, _environment, _browserEnvironment) {\n  \"use strict\";\n\n  _exports.onLoad = onLoad;\n  _exports.runLoadHooks = runLoadHooks;\n  _exports._loaded = void 0;\n\n  /*globals CustomEvent */\n\n  /**\n    @module @ember/application\n  */\n  var loadHooks = _environment.ENV.EMBER_LOAD_HOOKS || {};\n  var loaded = {};\n  var _loaded = loaded;\n  /**\n    Detects when a specific package of Ember (e.g. 'Application')\n    has fully loaded and is available for extension.\n  \n    The provided `callback` will be called with the `name` passed\n    resolved from a string into the object:\n  \n    ``` javascript\n    import { onLoad } from '@ember/application';\n  \n    onLoad('Ember.Application' function(hbars) {\n      hbars.registerHelper(...);\n    });\n    ```\n  \n    @method onLoad\n    @static\n    @for @ember/application\n    @param name {String} name of hook\n    @param callback {Function} callback to be called\n    @private\n  */\n\n  _exports._loaded = _loaded;\n\n  function onLoad(name, callback) {\n    var object = loaded[name];\n    loadHooks[name] = loadHooks[name] || [];\n    loadHooks[name].push(callback);\n\n    if (object) {\n      callback(object);\n    }\n  }\n  /**\n    Called when an Ember.js package (e.g Application) has finished\n    loading. Triggers any callbacks registered for this event.\n  \n    @method runLoadHooks\n    @static\n    @for @ember/application\n    @param name {String} name of hook\n    @param object {Object} object to pass to callbacks\n    @private\n  */\n\n\n  function runLoadHooks(name, object) {\n    loaded[name] = object;\n\n    if (_browserEnvironment.window && typeof CustomEvent === 'function') {\n      var event = new CustomEvent(name, {\n        detail: object,\n        name: name\n      });\n\n      _browserEnvironment.window.dispatchEvent(event);\n    }\n\n    if (loadHooks[name]) {\n      loadHooks[name].forEach(function (callback) {\n        return callback(object);\n      });\n    }\n  }\n});","enifed(\"@ember/application/lib/validate-type\", [\"exports\", \"@ember/debug\"], function (_exports, _debug) {\n  \"use strict\";\n\n  _exports.default = validateType;\n  var VALIDATED_TYPES = {\n    route: ['assert', 'isRouteFactory', 'Ember.Route'],\n    component: ['deprecate', 'isComponentFactory', 'Ember.Component'],\n    view: ['deprecate', 'isViewFactory', 'Ember.View'],\n    service: ['deprecate', 'isServiceFactory', 'Ember.Service']\n  };\n\n  function validateType(resolvedType, parsedName) {\n    var validationAttributes = VALIDATED_TYPES[parsedName.type];\n\n    if (!validationAttributes) {\n      return;\n    }\n\n    var factoryFlag = validationAttributes[1],\n        expectedType = validationAttributes[2];\n    true && !Boolean(resolvedType[factoryFlag]) && (0, _debug.assert)(\"Expected \" + parsedName.fullName + \" to resolve to an \" + expectedType + \" but \" + (\"instead it was \" + resolvedType + \".\"), Boolean(resolvedType[factoryFlag]));\n  }\n});","enifed(\"@ember/canary-features/index\", [\"exports\", \"@ember/-internals/environment\", \"@ember/polyfills\"], function (_exports, _environment, _polyfills) {\n  \"use strict\";\n\n  _exports.isEnabled = isEnabled;\n  _exports.EMBER_FRAMEWORK_OBJECT_OWNER_ARGUMENT = _exports.EMBER_GLIMMER_ON_MODIFIER = _exports.EMBER_CUSTOM_COMPONENT_ARG_PROXY = _exports.EMBER_GLIMMER_FN_HELPER = _exports.EMBER_NATIVE_DECORATOR_SUPPORT = _exports.EMBER_ROUTING_BUILD_ROUTEINFO_METADATA = _exports.EMBER_GLIMMER_ANGLE_BRACKET_BUILT_INS = _exports.EMBER_GLIMMER_FORWARD_MODIFIERS_WITH_SPLATTRIBUTES = _exports.EMBER_GLIMMER_ANGLE_BRACKET_NESTED_LOOKUP = _exports.EMBER_METAL_TRACKED_PROPERTIES = _exports.EMBER_MODULE_UNIFICATION = _exports.EMBER_IMPROVED_INSTRUMENTATION = _exports.EMBER_LIBRARIES_ISREGISTERED = _exports.FEATURES = _exports.DEFAULT_FEATURES = void 0;\n\n  /**\n    Set `EmberENV.FEATURES` in your application's `config/environment.js` file\n    to enable canary features in your application.\n  \n    See the [feature flag guide](https://guides.emberjs.com/release/configuring-ember/feature-flags/)\n    for more details.\n  \n    @module @ember/canary-features\n    @public\n  */\n  var DEFAULT_FEATURES = {\n    EMBER_LIBRARIES_ISREGISTERED: false,\n    EMBER_IMPROVED_INSTRUMENTATION: false,\n    EMBER_MODULE_UNIFICATION: false,\n    EMBER_METAL_TRACKED_PROPERTIES: false,\n    EMBER_GLIMMER_FORWARD_MODIFIERS_WITH_SPLATTRIBUTES: true,\n    EMBER_GLIMMER_ANGLE_BRACKET_BUILT_INS: true,\n    EMBER_GLIMMER_ANGLE_BRACKET_NESTED_LOOKUP: true,\n    EMBER_ROUTING_BUILD_ROUTEINFO_METADATA: true,\n    EMBER_NATIVE_DECORATOR_SUPPORT: true,\n    EMBER_GLIMMER_FN_HELPER: true,\n    EMBER_CUSTOM_COMPONENT_ARG_PROXY: false,\n    EMBER_GLIMMER_ON_MODIFIER: true,\n    EMBER_FRAMEWORK_OBJECT_OWNER_ARGUMENT: true\n  };\n  /**\n    The hash of enabled Canary features. Add to this, any canary features\n    before creating your application.\n  \n    @class FEATURES\n    @static\n    @since 1.1.0\n    @public\n  */\n\n  _exports.DEFAULT_FEATURES = DEFAULT_FEATURES;\n  var FEATURES = (0, _polyfills.assign)(DEFAULT_FEATURES, _environment.ENV.FEATURES);\n  /**\n    Determine whether the specified `feature` is enabled. Used by Ember's\n    build tools to exclude experimental features from beta/stable builds.\n  \n    You can define the following configuration options:\n  \n    * `EmberENV.ENABLE_OPTIONAL_FEATURES` - enable any features that have not been explicitly\n      enabled/disabled.\n  \n    @method isEnabled\n    @param {String} feature The feature to check\n    @return {Boolean}\n    @since 1.1.0\n    @public\n  */\n\n  _exports.FEATURES = FEATURES;\n\n  function isEnabled(feature) {\n    var featureValue = FEATURES[feature];\n\n    if (featureValue === true || featureValue === false) {\n      return featureValue;\n    } else if (_environment.ENV.ENABLE_OPTIONAL_FEATURES) {\n      return true;\n    } else {\n      return false;\n    }\n  }\n\n  function featureValue(value) {\n    if (_environment.ENV.ENABLE_OPTIONAL_FEATURES && value === null) {\n      return true;\n    }\n\n    return value;\n  }\n\n  var EMBER_LIBRARIES_ISREGISTERED = featureValue(FEATURES.EMBER_LIBRARIES_ISREGISTERED);\n  _exports.EMBER_LIBRARIES_ISREGISTERED = EMBER_LIBRARIES_ISREGISTERED;\n  var EMBER_IMPROVED_INSTRUMENTATION = featureValue(FEATURES.EMBER_IMPROVED_INSTRUMENTATION);\n  _exports.EMBER_IMPROVED_INSTRUMENTATION = EMBER_IMPROVED_INSTRUMENTATION;\n  var EMBER_MODULE_UNIFICATION = featureValue(FEATURES.EMBER_MODULE_UNIFICATION);\n  _exports.EMBER_MODULE_UNIFICATION = EMBER_MODULE_UNIFICATION;\n  var EMBER_METAL_TRACKED_PROPERTIES = featureValue(FEATURES.EMBER_METAL_TRACKED_PROPERTIES);\n  _exports.EMBER_METAL_TRACKED_PROPERTIES = EMBER_METAL_TRACKED_PROPERTIES;\n  var EMBER_GLIMMER_ANGLE_BRACKET_NESTED_LOOKUP = featureValue(FEATURES.EMBER_GLIMMER_ANGLE_BRACKET_NESTED_LOOKUP);\n  _exports.EMBER_GLIMMER_ANGLE_BRACKET_NESTED_LOOKUP = EMBER_GLIMMER_ANGLE_BRACKET_NESTED_LOOKUP;\n  var EMBER_GLIMMER_FORWARD_MODIFIERS_WITH_SPLATTRIBUTES = featureValue(FEATURES.EMBER_GLIMMER_FORWARD_MODIFIERS_WITH_SPLATTRIBUTES);\n  _exports.EMBER_GLIMMER_FORWARD_MODIFIERS_WITH_SPLATTRIBUTES = EMBER_GLIMMER_FORWARD_MODIFIERS_WITH_SPLATTRIBUTES;\n  var EMBER_GLIMMER_ANGLE_BRACKET_BUILT_INS = featureValue(FEATURES.EMBER_GLIMMER_ANGLE_BRACKET_BUILT_INS);\n  _exports.EMBER_GLIMMER_ANGLE_BRACKET_BUILT_INS = EMBER_GLIMMER_ANGLE_BRACKET_BUILT_INS;\n  var EMBER_ROUTING_BUILD_ROUTEINFO_METADATA = featureValue(FEATURES.EMBER_ROUTING_BUILD_ROUTEINFO_METADATA);\n  _exports.EMBER_ROUTING_BUILD_ROUTEINFO_METADATA = EMBER_ROUTING_BUILD_ROUTEINFO_METADATA;\n  var EMBER_NATIVE_DECORATOR_SUPPORT = featureValue(FEATURES.EMBER_NATIVE_DECORATOR_SUPPORT);\n  _exports.EMBER_NATIVE_DECORATOR_SUPPORT = EMBER_NATIVE_DECORATOR_SUPPORT;\n  var EMBER_GLIMMER_FN_HELPER = featureValue(FEATURES.EMBER_GLIMMER_FN_HELPER);\n  _exports.EMBER_GLIMMER_FN_HELPER = EMBER_GLIMMER_FN_HELPER;\n  var EMBER_CUSTOM_COMPONENT_ARG_PROXY = featureValue(FEATURES.EMBER_CUSTOM_COMPONENT_ARG_PROXY);\n  _exports.EMBER_CUSTOM_COMPONENT_ARG_PROXY = EMBER_CUSTOM_COMPONENT_ARG_PROXY;\n  var EMBER_GLIMMER_ON_MODIFIER = featureValue(FEATURES.EMBER_GLIMMER_ON_MODIFIER);\n  _exports.EMBER_GLIMMER_ON_MODIFIER = EMBER_GLIMMER_ON_MODIFIER;\n  var EMBER_FRAMEWORK_OBJECT_OWNER_ARGUMENT = featureValue(FEATURES.EMBER_FRAMEWORK_OBJECT_OWNER_ARGUMENT);\n  _exports.EMBER_FRAMEWORK_OBJECT_OWNER_ARGUMENT = EMBER_FRAMEWORK_OBJECT_OWNER_ARGUMENT;\n});","enifed(\"@ember/controller/index\", [\"exports\", \"@ember/-internals/runtime\", \"@ember/-internals/metal\", \"@ember/controller/lib/controller_mixin\"], function (_exports, _runtime, _metal, _controller_mixin) {\n  \"use strict\";\n\n  _exports.inject = inject;\n  _exports.default = void 0;\n\n  /**\n  @module @ember/controller\n  */\n\n  /**\n    @class Controller\n    @extends EmberObject\n    @uses Ember.ControllerMixin\n    @public\n  */\n  var Controller = _runtime.FrameworkObject.extend(_controller_mixin.default);\n\n  if (true\n  /* EMBER_FRAMEWORK_OBJECT_OWNER_ARGUMENT */\n  ) {\n      (0, _runtime.setFrameworkClass)(Controller);\n    }\n  /**\n    Creates a property that lazily looks up another controller in the container.\n    Can only be used when defining another controller.\n  \n    Example:\n  \n    ```app/controllers/post.js\n    import Controller, {\n      inject as controller\n    } from '@ember/controller';\n  \n    export default class PostController extends Controller {\n      @controller posts;\n    }\n    ```\n  \n    Classic Class Example:\n  \n    ```app/controllers/post.js\n    import Controller, {\n      inject as controller\n    } from '@ember/controller';\n  \n    export default Controller.extend({\n      posts: controller()\n    });\n    ```\n  \n    This example will create a `posts` property on the `post` controller that\n    looks up the `posts` controller in the container, making it easy to reference\n    other controllers.\n  \n    @method inject\n    @static\n    @for @ember/controller\n    @since 1.10.0\n    @param {String} name (optional) name of the controller to inject, defaults to\n           the property's name\n    @return {ComputedDecorator} injection decorator instance\n    @public\n  */\n\n\n  function inject() {\n    return _metal.inject.apply(void 0, ['controller'].concat(Array.prototype.slice.call(arguments)));\n  }\n\n  var _default = Controller;\n  _exports.default = _default;\n});","enifed(\"@ember/controller/lib/controller_mixin\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\"], function (_exports, _metal, _runtime) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n\n  /**\n    @class ControllerMixin\n    @namespace Ember\n    @uses Ember.ActionHandler\n    @private\n  */\n  var _default = _metal.Mixin.create(_runtime.ActionHandler, {\n    /* ducktype as a controller */\n    isController: true,\n\n    /**\n      The object to which actions from the view should be sent.\n       For example, when a Handlebars template uses the `{{action}}` helper,\n      it will attempt to send the action to the view's controller's `target`.\n       By default, the value of the target property is set to the router, and\n      is injected when a controller is instantiated. This injection is applied\n      as part of the application's initialization process. In most cases the\n      `target` property will automatically be set to the logical consumer of\n      actions for the controller.\n       @property target\n      @default null\n      @public\n    */\n    target: null,\n    store: null,\n\n    /**\n      The controller's current model. When retrieving or modifying a controller's\n      model, this property should be used instead of the `content` property.\n       @property model\n      @public\n    */\n    model: null\n  });\n\n  _exports.default = _default;\n});","enifed(\"@ember/debug/index\", [\"exports\", \"@ember/-internals/browser-environment\", \"@ember/error\", \"@ember/debug/lib/deprecate\", \"@ember/debug/lib/testing\", \"@ember/debug/lib/warn\"], function (_exports, _browserEnvironment, _error, _deprecate2, _testing, _warn2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"registerDeprecationHandler\", {\n    enumerable: true,\n    get: function () {\n      return _deprecate2.registerHandler;\n    }\n  });\n  Object.defineProperty(_exports, \"isTesting\", {\n    enumerable: true,\n    get: function () {\n      return _testing.isTesting;\n    }\n  });\n  Object.defineProperty(_exports, \"setTesting\", {\n    enumerable: true,\n    get: function () {\n      return _testing.setTesting;\n    }\n  });\n  Object.defineProperty(_exports, \"registerWarnHandler\", {\n    enumerable: true,\n    get: function () {\n      return _warn2.registerHandler;\n    }\n  });\n  _exports._warnIfUsingStrippedFeatureFlags = _exports.getDebugFunction = _exports.setDebugFunction = _exports.deprecateFunc = _exports.runInDebug = _exports.debugFreeze = _exports.debugSeal = _exports.deprecate = _exports.debug = _exports.warn = _exports.info = _exports.assert = void 0;\n\n  // These are the default production build versions:\n  var noop = function () {};\n\n  var assert = noop;\n  _exports.assert = assert;\n  var info = noop;\n  _exports.info = info;\n  var warn = noop;\n  _exports.warn = warn;\n  var debug = noop;\n  _exports.debug = debug;\n  var deprecate = noop;\n  _exports.deprecate = deprecate;\n  var debugSeal = noop;\n  _exports.debugSeal = debugSeal;\n  var debugFreeze = noop;\n  _exports.debugFreeze = debugFreeze;\n  var runInDebug = noop;\n  _exports.runInDebug = runInDebug;\n  var setDebugFunction = noop;\n  _exports.setDebugFunction = setDebugFunction;\n  var getDebugFunction = noop;\n  _exports.getDebugFunction = getDebugFunction;\n\n  var deprecateFunc = function () {\n    return arguments[arguments.length - 1];\n  };\n\n  _exports.deprecateFunc = deprecateFunc;\n\n  if (true\n  /* DEBUG */\n  ) {\n      _exports.setDebugFunction = setDebugFunction = function (type, callback) {\n        switch (type) {\n          case 'assert':\n            return _exports.assert = assert = callback;\n\n          case 'info':\n            return _exports.info = info = callback;\n\n          case 'warn':\n            return _exports.warn = warn = callback;\n\n          case 'debug':\n            return _exports.debug = debug = callback;\n\n          case 'deprecate':\n            return _exports.deprecate = deprecate = callback;\n\n          case 'debugSeal':\n            return _exports.debugSeal = debugSeal = callback;\n\n          case 'debugFreeze':\n            return _exports.debugFreeze = debugFreeze = callback;\n\n          case 'runInDebug':\n            return _exports.runInDebug = runInDebug = callback;\n\n          case 'deprecateFunc':\n            return _exports.deprecateFunc = deprecateFunc = callback;\n        }\n      };\n\n      _exports.getDebugFunction = getDebugFunction = function (type) {\n        switch (type) {\n          case 'assert':\n            return assert;\n\n          case 'info':\n            return info;\n\n          case 'warn':\n            return warn;\n\n          case 'debug':\n            return debug;\n\n          case 'deprecate':\n            return deprecate;\n\n          case 'debugSeal':\n            return debugSeal;\n\n          case 'debugFreeze':\n            return debugFreeze;\n\n          case 'runInDebug':\n            return runInDebug;\n\n          case 'deprecateFunc':\n            return deprecateFunc;\n        }\n      };\n    }\n  /**\n  @module @ember/debug\n  */\n\n\n  if (true\n  /* DEBUG */\n  ) {\n      /**\n        Verify that a certain expectation is met, or throw a exception otherwise.\n           This is useful for communicating assumptions in the code to other human\n        readers as well as catching bugs that accidentally violates these\n        expectations.\n           Assertions are removed from production builds, so they can be freely added\n        for documentation and debugging purposes without worries of incuring any\n        performance penalty. However, because of that, they should not be used for\n        checks that could reasonably fail during normal usage. Furthermore, care\n        should be taken to avoid accidentally relying on side-effects produced from\n        evaluating the condition itself, since the code will not run in production.\n           ```javascript\n        import { assert } from '@ember/debug';\n           // Test for truthiness\n        assert('Must pass a string', typeof str === 'string');\n           // Fail unconditionally\n        assert('This code path should never be run');\n        ```\n           @method assert\n        @static\n        @for @ember/debug\n        @param {String} description Describes the expectation. This will become the\n          text of the Error thrown if the assertion fails.\n        @param {Boolean} condition Must be truthy for the assertion to pass. If\n          falsy, an exception will be thrown.\n        @public\n        @since 1.0.0\n      */\n      setDebugFunction('assert', function assert(desc, test) {\n        if (!test) {\n          throw new _error.default(\"Assertion Failed: \" + desc);\n        }\n      });\n      /**\n        Display a debug notice.\n           Calls to this function are removed from production builds, so they can be\n        freely added for documentation and debugging purposes without worries of\n        incuring any performance penalty.\n           ```javascript\n        import { debug } from '@ember/debug';\n           debug('I\\'m a debug notice!');\n        ```\n           @method debug\n        @for @ember/debug\n        @static\n        @param {String} message A debug message to display.\n        @public\n      */\n\n      setDebugFunction('debug', function debug(message) {\n        /* eslint-disable no-console */\n        if (console.debug) {\n          console.debug(\"DEBUG: \" + message);\n        } else {\n          console.log(\"DEBUG: \" + message);\n        }\n        /* eslint-ensable no-console */\n\n      });\n      /**\n        Display an info notice.\n           Calls to this function are removed from production builds, so they can be\n        freely added for documentation and debugging purposes without worries of\n        incuring any performance penalty.\n           @method info\n        @private\n      */\n\n      setDebugFunction('info', function info() {\n        var _console;\n\n        (_console = console).info.apply(_console, arguments);\n        /* eslint-disable-line no-console */\n\n      });\n      /**\n       @module @ember/application\n       @public\n      */\n\n      /**\n        Alias an old, deprecated method with its new counterpart.\n           Display a deprecation warning with the provided message and a stack trace\n        (Chrome and Firefox only) when the assigned method is called.\n           Calls to this function are removed from production builds, so they can be\n        freely added for documentation and debugging purposes without worries of\n        incuring any performance penalty.\n           ```javascript\n        import { deprecateFunc } from '@ember/application/deprecations';\n           Ember.oldMethod = deprecateFunc('Please use the new, updated method', options, Ember.newMethod);\n        ```\n           @method deprecateFunc\n        @static\n        @for @ember/application/deprecations\n        @param {String} message A description of the deprecation.\n        @param {Object} [options] The options object for `deprecate`.\n        @param {Function} func The new function called to replace its deprecated counterpart.\n        @return {Function} A new function that wraps the original function with a deprecation warning\n        @private\n      */\n\n      setDebugFunction('deprecateFunc', function deprecateFunc() {\n        for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n          args[_key] = arguments[_key];\n        }\n\n        if (args.length === 3) {\n          var message = args[0],\n              options = args[1],\n              func = args[2];\n          return function () {\n            deprecate(message, false, options);\n\n            for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n              args[_key2] = arguments[_key2];\n            }\n\n            return func.apply(this, args);\n          };\n        } else {\n          var _message = args[0],\n              _func = args[1];\n          return function () {\n            deprecate(_message);\n            return _func.apply(this, arguments);\n          };\n        }\n      });\n      /**\n       @module @ember/debug\n       @public\n      */\n\n      /**\n        Run a function meant for debugging.\n           Calls to this function are removed from production builds, so they can be\n        freely added for documentation and debugging purposes without worries of\n        incuring any performance penalty.\n           ```javascript\n        import Component from '@ember/component';\n        import { runInDebug } from '@ember/debug';\n           runInDebug(() => {\n          Component.reopen({\n            didInsertElement() {\n              console.log(\"I'm happy\");\n            }\n          });\n        });\n        ```\n           @method runInDebug\n        @for @ember/debug\n        @static\n        @param {Function} func The function to be executed.\n        @since 1.5.0\n        @public\n      */\n\n      setDebugFunction('runInDebug', function runInDebug(func) {\n        func();\n      });\n      setDebugFunction('debugSeal', function debugSeal(obj) {\n        Object.seal(obj);\n      });\n      setDebugFunction('debugFreeze', function debugFreeze(obj) {\n        // re-freezing an already frozen object introduces a significant\n        // performance penalty on Chrome (tested through 59).\n        //\n        // See: https://bugs.chromium.org/p/v8/issues/detail?id=6450\n        if (!Object.isFrozen(obj)) {\n          Object.freeze(obj);\n        }\n      });\n      setDebugFunction('deprecate', _deprecate2.default);\n      setDebugFunction('warn', _warn2.default);\n    }\n\n  var _warnIfUsingStrippedFeatureFlags;\n\n  _exports._warnIfUsingStrippedFeatureFlags = _warnIfUsingStrippedFeatureFlags;\n\n  if (true\n  /* DEBUG */\n  && !(0, _testing.isTesting)()) {\n    if (typeof window !== 'undefined' && (_browserEnvironment.isFirefox || _browserEnvironment.isChrome) && window.addEventListener) {\n      window.addEventListener('load', function () {\n        if (document.documentElement && document.documentElement.dataset && !document.documentElement.dataset.emberExtension) {\n          var downloadURL;\n\n          if (_browserEnvironment.isChrome) {\n            downloadURL = 'https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi';\n          } else if (_browserEnvironment.isFirefox) {\n            downloadURL = 'https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/';\n          }\n\n          debug(\"For more advanced debugging, install the Ember Inspector from \" + downloadURL);\n        }\n      }, false);\n    }\n  }\n});","enifed(\"@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  _exports.missingOptionsUntilDeprecation = _exports.missingOptionsIdDeprecation = _exports.missingOptionsDeprecation = _exports.registerHandler = _exports.default = void 0;\n\n  /**\n   @module @ember/debug\n   @public\n  */\n\n  /**\n    Allows for runtime registration of handler functions that override the default deprecation behavior.\n    Deprecations are invoked by calls to [@ember/application/deprecations/deprecate](https://emberjs.com/api/ember/release/classes/@ember%2Fapplication%2Fdeprecations/methods/deprecate?anchor=deprecate).\n    The following example demonstrates its usage by registering a handler that throws an error if the\n    message contains the word \"should\", otherwise defers to the default handler.\n  \n    ```javascript\n    import { registerDeprecationHandler } from '@ember/debug';\n  \n    registerDeprecationHandler((message, options, next) => {\n      if (message.indexOf('should') !== -1) {\n        throw new Error(`Deprecation message with should: ${message}`);\n      } else {\n        // defer to whatever handler was registered before this one\n        next(message, options);\n      }\n    });\n    ```\n  \n    The handler function takes the following arguments:\n  \n    <ul>\n      <li> <code>message</code> - The message received from the deprecation call.</li>\n      <li> <code>options</code> - An object passed in with the deprecation call containing additional information including:</li>\n        <ul>\n          <li> <code>id</code> - An id of the deprecation in the form of <code>package-name.specific-deprecation</code>.</li>\n          <li> <code>until</code> - The Ember version number the feature and deprecation will be removed in.</li>\n        </ul>\n      <li> <code>next</code> - A function that calls into the previously registered handler.</li>\n    </ul>\n  \n    @public\n    @static\n    @method registerDeprecationHandler\n    @for @ember/debug\n    @param handler {Function} A function to handle deprecation calls.\n    @since 2.1.0\n  */\n  var registerHandler = function () {};\n\n  _exports.registerHandler = registerHandler;\n  var missingOptionsDeprecation;\n  _exports.missingOptionsDeprecation = missingOptionsDeprecation;\n  var missingOptionsIdDeprecation;\n  _exports.missingOptionsIdDeprecation = missingOptionsIdDeprecation;\n  var missingOptionsUntilDeprecation;\n  _exports.missingOptionsUntilDeprecation = missingOptionsUntilDeprecation;\n\n  var deprecate = function () {};\n\n  if (true\n  /* DEBUG */\n  ) {\n      _exports.registerHandler = registerHandler = function registerHandler(handler) {\n        (0, _handlers.registerHandler)('deprecate', handler);\n      };\n\n      var formatMessage = function formatMessage(_message, options) {\n        var message = _message;\n\n        if (options && options.id) {\n          message = message + (\" [deprecation id: \" + options.id + \"]\");\n        }\n\n        if (options && options.url) {\n          message += \" See \" + options.url + \" for more details.\";\n        }\n\n        return message;\n      };\n\n      registerHandler(function logDeprecationToConsole(message, options) {\n        var updatedMessage = formatMessage(message, options);\n        console.warn(\"DEPRECATION: \" + updatedMessage); // eslint-disable-line no-console\n      });\n      var captureErrorForStack;\n\n      if (new Error().stack) {\n        captureErrorForStack = function () {\n          return new Error();\n        };\n      } else {\n        captureErrorForStack = function () {\n          try {\n            __fail__.fail();\n          } catch (e) {\n            return e;\n          }\n        };\n      }\n\n      registerHandler(function logDeprecationStackTrace(message, options, next) {\n        if (_environment.ENV.LOG_STACKTRACE_ON_DEPRECATION) {\n          var stackStr = '';\n          var error = captureErrorForStack();\n          var stack;\n\n          if (error.stack) {\n            if (error['arguments']) {\n              // Chrome\n              stack = error.stack.replace(/^\\s+at\\s+/gm, '').replace(/^([^\\(]+?)([\\n$])/gm, '{anonymous}($1)$2').replace(/^Object.<anonymous>\\s*\\(([^\\)]+)\\)/gm, '{anonymous}($1)').split('\\n');\n              stack.shift();\n            } else {\n              // Firefox\n              stack = error.stack.replace(/(?:\\n@:0)?\\s+$/m, '').replace(/^\\(/gm, '{anonymous}(').split('\\n');\n            }\n\n            stackStr = \"\\n    \" + stack.slice(2).join('\\n    ');\n          }\n\n          var updatedMessage = formatMessage(message, options);\n          console.warn(\"DEPRECATION: \" + updatedMessage + stackStr); // eslint-disable-line no-console\n        } else {\n          next(message, options);\n        }\n      });\n      registerHandler(function raiseOnDeprecation(message, options, next) {\n        if (_environment.ENV.RAISE_ON_DEPRECATION) {\n          var updatedMessage = formatMessage(message);\n          throw new Error(updatedMessage);\n        } else {\n          next(message, options);\n        }\n      });\n      _exports.missingOptionsDeprecation = missingOptionsDeprecation = 'When calling `deprecate` you ' + 'must provide an `options` hash as the third parameter.  ' + '`options` should include `id` and `until` properties.';\n      _exports.missingOptionsIdDeprecation = missingOptionsIdDeprecation = 'When calling `deprecate` you must provide `id` in options.';\n      _exports.missingOptionsUntilDeprecation = missingOptionsUntilDeprecation = 'When calling `deprecate` you must provide `until` in options.';\n      /**\n       @module @ember/application\n       @public\n       */\n\n      /**\n        Display a deprecation warning with the provided message and a stack trace\n        (Chrome and Firefox only).\n           * In a production build, this method is defined as an empty function (NOP).\n        Uses of this method in Ember itself are stripped from the ember.prod.js build.\n           @method deprecate\n        @for @ember/application/deprecations\n        @param {String} message A description of the deprecation.\n        @param {Boolean} test A boolean. If falsy, the deprecation will be displayed.\n        @param {Object} options\n        @param {String} options.id A unique id for this deprecation. The id can be\n          used by Ember debugging tools to change the behavior (raise, log or silence)\n          for that specific deprecation. The id should be namespaced by dots, e.g.\n          \"view.helper.select\".\n        @param {string} options.until The version of Ember when this deprecation\n          warning will be removed.\n        @param {String} [options.url] An optional url to the transition guide on the\n          emberjs.com website.\n        @static\n        @public\n        @since 1.0.0\n      */\n\n      deprecate = function deprecate(message, test, options) {\n        (0, _index.assert)(missingOptionsDeprecation, Boolean(options && (options.id || options.until)));\n        (0, _index.assert)(missingOptionsIdDeprecation, Boolean(options.id));\n        (0, _index.assert)(missingOptionsUntilDeprecation, Boolean(options.until));\n        (0, _handlers.invoke)('deprecate', message, test, options);\n      };\n    }\n\n  var _default = deprecate;\n  _exports.default = _default;\n});","enifed(\"@ember/debug/lib/handlers\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.invoke = _exports.registerHandler = _exports.HANDLERS = void 0;\n  var HANDLERS = {};\n  _exports.HANDLERS = HANDLERS;\n\n  var registerHandler = function () {};\n\n  _exports.registerHandler = registerHandler;\n\n  var invoke = function () {};\n\n  _exports.invoke = invoke;\n\n  if (true\n  /* DEBUG */\n  ) {\n      _exports.registerHandler = registerHandler = function registerHandler(type, callback) {\n        var nextHandler = HANDLERS[type] || function () {};\n\n        HANDLERS[type] = function (message, options) {\n          callback(message, options, nextHandler);\n        };\n      };\n\n      _exports.invoke = invoke = function invoke(type, message, test, options) {\n        if (test) {\n          return;\n        }\n\n        var handlerForType = HANDLERS[type];\n\n        if (handlerForType) {\n          handlerForType(message, options);\n        }\n      };\n    }\n});","enifed(\"@ember/debug/lib/testing\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.isTesting = isTesting;\n  _exports.setTesting = setTesting;\n  var testing = false;\n\n  function isTesting() {\n    return testing;\n  }\n\n  function setTesting(value) {\n    testing = Boolean(value);\n  }\n});","enifed(\"@ember/debug/lib/warn\", [\"exports\", \"@ember/debug/index\", \"@ember/debug/lib/handlers\"], function (_exports, _index, _handlers) {\n  \"use strict\";\n\n  _exports.missingOptionsDeprecation = _exports.missingOptionsIdDeprecation = _exports.registerHandler = _exports.default = void 0;\n\n  var registerHandler = function () {};\n\n  _exports.registerHandler = registerHandler;\n\n  var warn = function () {};\n\n  var missingOptionsDeprecation;\n  _exports.missingOptionsDeprecation = missingOptionsDeprecation;\n  var missingOptionsIdDeprecation;\n  /**\n  @module @ember/debug\n  */\n\n  _exports.missingOptionsIdDeprecation = missingOptionsIdDeprecation;\n\n  if (true\n  /* DEBUG */\n  ) {\n      /**\n        Allows for runtime registration of handler functions that override the default warning behavior.\n        Warnings are invoked by calls made to [@ember/debug/warn](https://emberjs.com/api/ember/release/classes/@ember%2Fdebug/methods/warn?anchor=warn).\n        The following example demonstrates its usage by registering a handler that does nothing overriding Ember's\n        default warning behavior.\n           ```javascript\n        import { registerWarnHandler } from '@ember/debug';\n           // next is not called, so no warnings get the default behavior\n        registerWarnHandler(() => {});\n        ```\n           The handler function takes the following arguments:\n           <ul>\n          <li> <code>message</code> - The message received from the warn call. </li>\n          <li> <code>options</code> - An object passed in with the warn call containing additional information including:</li>\n            <ul>\n              <li> <code>id</code> - An id of the warning in the form of <code>package-name.specific-warning</code>.</li>\n            </ul>\n          <li> <code>next</code> - A function that calls into the previously registered handler.</li>\n        </ul>\n           @public\n        @static\n        @method registerWarnHandler\n        @for @ember/debug\n        @param handler {Function} A function to handle warnings.\n        @since 2.1.0\n      */\n      _exports.registerHandler = registerHandler = function registerHandler(handler) {\n        (0, _handlers.registerHandler)('warn', handler);\n      };\n\n      registerHandler(function logWarning(message) {\n        /* eslint-disable no-console */\n        console.warn(\"WARNING: \" + message);\n        /* eslint-enable no-console */\n      });\n      _exports.missingOptionsDeprecation = missingOptionsDeprecation = 'When calling `warn` you ' + 'must provide an `options` hash as the third parameter.  ' + '`options` should include an `id` property.';\n      _exports.missingOptionsIdDeprecation = missingOptionsIdDeprecation = 'When calling `warn` you must provide `id` in options.';\n      /**\n        Display a warning with the provided message.\n           * In a production build, this method is defined as an empty function (NOP).\n        Uses of this method in Ember itself are stripped from the ember.prod.js build.\n           ```javascript\n        import { warn } from '@ember/debug';\n        import tomsterCount from './tomster-counter'; // a module in my project\n           // Log a warning if we have more than 3 tomsters\n        warn('Too many tomsters!', tomsterCount <= 3, {\n          id: 'ember-debug.too-many-tomsters'\n        });\n        ```\n           @method warn\n        @for @ember/debug\n        @static\n        @param {String} message A warning to display.\n        @param {Boolean} test An optional boolean. If falsy, the warning\n          will be displayed.\n        @param {Object} options An object that can be used to pass a unique\n          `id` for this warning.  The `id` can be used by Ember debugging tools\n          to change the behavior (raise, log, or silence) for that specific warning.\n          The `id` should be namespaced by dots, e.g. \"ember-debug.feature-flag-with-features-stripped\"\n        @public\n        @since 1.0.0\n      */\n\n      warn = function warn(message, test, options) {\n        if (arguments.length === 2 && typeof test === 'object') {\n          options = test;\n          test = false;\n        }\n\n        (0, _index.assert)(missingOptionsDeprecation, Boolean(options));\n        (0, _index.assert)(missingOptionsIdDeprecation, Boolean(options && options.id));\n        (0, _handlers.invoke)('warn', message, test, options);\n      };\n    }\n\n  var _default = warn;\n  _exports.default = _default;\n});","enifed(\"@ember/deprecated-features/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.FUNCTION_PROTOTYPE_EXTENSIONS = _exports.APP_CTRL_ROUTER_PROPS = _exports.ALIAS_METHOD = _exports.JQUERY_INTEGRATION = _exports.COMPONENT_MANAGER_STRING_LOOKUP = _exports.ROUTER_EVENTS = _exports.MERGE = _exports.LOGGER = _exports.EMBER_EXTEND_PROTOTYPES = _exports.SEND_ACTION = void 0;\n\n  /* eslint-disable no-implicit-coercion */\n  // These versions should be the version that the deprecation was _introduced_,\n  // not the version that the feature will be removed.\n  var SEND_ACTION = !!'3.4.0';\n  _exports.SEND_ACTION = SEND_ACTION;\n  var EMBER_EXTEND_PROTOTYPES = !!'3.2.0-beta.5';\n  _exports.EMBER_EXTEND_PROTOTYPES = EMBER_EXTEND_PROTOTYPES;\n  var LOGGER = !!'3.2.0-beta.1';\n  _exports.LOGGER = LOGGER;\n  var MERGE = !!'3.6.0-beta.1';\n  _exports.MERGE = MERGE;\n  var ROUTER_EVENTS = !!'4.0.0';\n  _exports.ROUTER_EVENTS = ROUTER_EVENTS;\n  var COMPONENT_MANAGER_STRING_LOOKUP = !!'3.8.0';\n  _exports.COMPONENT_MANAGER_STRING_LOOKUP = COMPONENT_MANAGER_STRING_LOOKUP;\n  var JQUERY_INTEGRATION = !!'3.9.0';\n  _exports.JQUERY_INTEGRATION = JQUERY_INTEGRATION;\n  var ALIAS_METHOD = !!'3.9.0';\n  _exports.ALIAS_METHOD = ALIAS_METHOD;\n  var APP_CTRL_ROUTER_PROPS = !!'3.10.0-beta.1';\n  _exports.APP_CTRL_ROUTER_PROPS = APP_CTRL_ROUTER_PROPS;\n  var FUNCTION_PROTOTYPE_EXTENSIONS = !!'3.11.0-beta.1';\n  _exports.FUNCTION_PROTOTYPE_EXTENSIONS = FUNCTION_PROTOTYPE_EXTENSIONS;\n});","enifed(\"@ember/engine/index\", [\"exports\", \"@ember/engine/lib/engine-parent\", \"@ember/-internals/utils\", \"@ember/controller\", \"@ember/-internals/runtime\", \"@ember/-internals/container\", \"dag-map\", \"@ember/debug\", \"@ember/-internals/metal\", \"@ember/application/globals-resolver\", \"@ember/engine/instance\", \"@ember/-internals/routing\", \"@ember/-internals/extension-support\", \"@ember/-internals/views\", \"@ember/-internals/glimmer\"], function (_exports, _engineParent, _utils, _controller, _runtime, _container, _dagMap, _debug, _metal, _globalsResolver, _instance, _routing, _extensionSupport, _views, _glimmer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"getEngineParent\", {\n    enumerable: true,\n    get: function () {\n      return _engineParent.getEngineParent;\n    }\n  });\n  Object.defineProperty(_exports, \"setEngineParent\", {\n    enumerable: true,\n    get: function () {\n      return _engineParent.setEngineParent;\n    }\n  });\n  _exports.default = void 0;\n\n  function _templateObject2() {\n    const data = _taggedTemplateLiteralLoose([\"-bucket-cache:main\"]);\n\n    _templateObject2 = function () {\n      return data;\n    };\n\n    return data;\n  }\n\n  function _templateObject() {\n    const data = _taggedTemplateLiteralLoose([\"-bucket-cache:main\"]);\n\n    _templateObject = function () {\n      return data;\n    };\n\n    return data;\n  }\n\n  function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.slice(0); } strings.raw = raw; return strings; }\n\n  function props(obj) {\n    var properties = [];\n\n    for (var key in obj) {\n      properties.push(key);\n    }\n\n    return properties;\n  }\n  /**\n  @module @ember/engine\n  */\n\n  /**\n    The `Engine` class contains core functionality for both applications and\n    engines.\n  \n    Each engine manages a registry that's used for dependency injection and\n    exposed through `RegistryProxy`.\n  \n    Engines also manage initializers and instance initializers.\n  \n    Engines can spawn `EngineInstance` instances via `buildInstance()`.\n  \n    @class Engine\n    @extends Ember.Namespace\n    @uses RegistryProxy\n    @public\n  */\n\n\n  var Engine = _runtime.Namespace.extend(_runtime.RegistryProxyMixin, {\n    init: function () {\n      this._super.apply(this, arguments);\n\n      this.buildRegistry();\n    },\n\n    /**\n      A private flag indicating whether an engine's initializers have run yet.\n       @private\n      @property _initializersRan\n    */\n    _initializersRan: false,\n\n    /**\n      Ensure that initializers are run once, and only once, per engine.\n       @private\n      @method ensureInitializers\n    */\n    ensureInitializers: function () {\n      if (!this._initializersRan) {\n        this.runInitializers();\n        this._initializersRan = true;\n      }\n    },\n\n    /**\n      Create an EngineInstance for this engine.\n       @public\n      @method buildInstance\n      @return {EngineInstance} the engine instance\n    */\n    buildInstance: function () {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n      this.ensureInitializers();\n      options.base = this;\n      return _instance.default.create(options);\n    },\n\n    /**\n      Build and configure the registry for the current engine.\n       @private\n      @method buildRegistry\n      @return {Ember.Registry} the configured registry\n    */\n    buildRegistry: function () {\n      var registry = this.__registry__ = this.constructor.buildRegistry(this);\n      return registry;\n    },\n\n    /**\n      @private\n      @method initializer\n    */\n    initializer: function (options) {\n      this.constructor.initializer(options);\n    },\n\n    /**\n      @private\n      @method instanceInitializer\n    */\n    instanceInitializer: function (options) {\n      this.constructor.instanceInitializer(options);\n    },\n\n    /**\n      @private\n      @method runInitializers\n    */\n    runInitializers: function () {\n      var _this = this;\n\n      this._runInitializer('initializers', function (name, initializer) {\n        true && !Boolean(initializer) && (0, _debug.assert)(\"No application initializer named '\" + name + \"'\", Boolean(initializer));\n        initializer.initialize(_this);\n      });\n    },\n\n    /**\n      @private\n      @since 1.12.0\n      @method runInstanceInitializers\n    */\n    runInstanceInitializers: function (instance) {\n      this._runInitializer('instanceInitializers', function (name, initializer) {\n        true && !Boolean(initializer) && (0, _debug.assert)(\"No instance initializer named '\" + name + \"'\", Boolean(initializer));\n        initializer.initialize(instance);\n      });\n    },\n    _runInitializer: function (bucketName, cb) {\n      var initializersByName = (0, _metal.get)(this.constructor, bucketName);\n      var initializers = props(initializersByName);\n      var graph = new _dagMap.default();\n      var initializer;\n\n      for (var i = 0; i < initializers.length; i++) {\n        initializer = initializersByName[initializers[i]];\n        graph.add(initializer.name, initializer, initializer.before, initializer.after);\n      }\n\n      graph.topsort(cb);\n    }\n  });\n\n  Engine.reopenClass({\n    initializers: Object.create(null),\n    instanceInitializers: Object.create(null),\n\n    /**\n      The goal of initializers should be to register dependencies and injections.\n      This phase runs once. Because these initializers may load code, they are\n      allowed to defer application readiness and advance it. If you need to access\n      the container or store you should use an InstanceInitializer that will be run\n      after all initializers and therefore after all code is loaded and the app is\n      ready.\n       Initializer receives an object which has the following attributes:\n      `name`, `before`, `after`, `initialize`. The only required attribute is\n      `initialize`, all others are optional.\n       * `name` allows you to specify under which name the initializer is registered.\n      This must be a unique name, as trying to register two initializers with the\n      same name will result in an error.\n       ```app/initializer/named-initializer.js\n      import { debug } from '@ember/debug';\n       export function initialize() {\n        debug('Running namedInitializer!');\n      }\n       export default {\n        name: 'named-initializer',\n        initialize\n      };\n      ```\n       * `before` and `after` are used to ensure that this initializer is ran prior\n      or after the one identified by the value. This value can be a single string\n      or an array of strings, referencing the `name` of other initializers.\n       An example of ordering initializers, we create an initializer named `first`:\n       ```app/initializer/first.js\n      import { debug } from '@ember/debug';\n       export function initialize() {\n        debug('First initializer!');\n      }\n       export default {\n        name: 'first',\n        initialize\n      };\n      ```\n       ```bash\n      // DEBUG: First initializer!\n      ```\n       We add another initializer named `second`, specifying that it should run\n      after the initializer named `first`:\n       ```app/initializer/second.js\n      import { debug } from '@ember/debug';\n       export function initialize() {\n        debug('Second initializer!');\n      }\n       export default {\n        name: 'second',\n        after: 'first',\n        initialize\n      };\n      ```\n       ```\n      // DEBUG: First initializer!\n      // DEBUG: Second initializer!\n      ```\n       Afterwards we add a further initializer named `pre`, this time specifying\n      that it should run before the initializer named `first`:\n       ```app/initializer/pre.js\n      import { debug } from '@ember/debug';\n       export function initialize() {\n        debug('Pre initializer!');\n      }\n       export default {\n        name: 'pre',\n        before: 'first',\n        initialize\n      };\n      ```\n       ```bash\n      // DEBUG: Pre initializer!\n      // DEBUG: First initializer!\n      // DEBUG: Second initializer!\n      ```\n       Finally we add an initializer named `post`, specifying it should run after\n      both the `first` and the `second` initializers:\n       ```app/initializer/post.js\n      import { debug } from '@ember/debug';\n       export function initialize() {\n        debug('Post initializer!');\n      }\n       export default {\n        name: 'post',\n        after: ['first', 'second'],\n        initialize\n      };\n      ```\n       ```bash\n      // DEBUG: Pre initializer!\n      // DEBUG: First initializer!\n      // DEBUG: Second initializer!\n      // DEBUG: Post initializer!\n      ```\n       * `initialize` is a callback function that receives one argument,\n        `application`, on which you can operate.\n       Example of using `application` to register an adapter:\n       ```app/initializer/api-adapter.js\n      import ApiAdapter from '../utils/api-adapter';\n       export function initialize(application) {\n        application.register('api-adapter:main', ApiAdapter);\n      }\n       export default {\n        name: 'post',\n        after: ['first', 'second'],\n        initialize\n      };\n      ```\n       @method initializer\n      @param initializer {Object}\n      @public\n    */\n    initializer: buildInitializerMethod('initializers', 'initializer'),\n\n    /**\n      Instance initializers run after all initializers have run. Because\n      instance initializers run after the app is fully set up. We have access\n      to the store, container, and other items. However, these initializers run\n      after code has loaded and are not allowed to defer readiness.\n       Instance initializer receives an object which has the following attributes:\n      `name`, `before`, `after`, `initialize`. The only required attribute is\n      `initialize`, all others are optional.\n       * `name` allows you to specify under which name the instanceInitializer is\n      registered. This must be a unique name, as trying to register two\n      instanceInitializer with the same name will result in an error.\n       ```app/initializer/named-instance-initializer.js\n      import { debug } from '@ember/debug';\n       export function initialize() {\n        debug('Running named-instance-initializer!');\n      }\n       export default {\n        name: 'named-instance-initializer',\n        initialize\n      };\n      ```\n       * `before` and `after` are used to ensure that this initializer is ran prior\n      or after the one identified by the value. This value can be a single string\n      or an array of strings, referencing the `name` of other initializers.\n       * See Application.initializer for discussion on the usage of before\n      and after.\n       Example instanceInitializer to preload data into the store.\n       ```app/initializer/preload-data.js\n      import $ from 'jquery';\n       export function initialize(application) {\n          var userConfig, userConfigEncoded, store;\n          // We have a HTML escaped JSON representation of the user's basic\n          // configuration generated server side and stored in the DOM of the main\n          // index.html file. This allows the app to have access to a set of data\n          // without making any additional remote calls. Good for basic data that is\n          // needed for immediate rendering of the page. Keep in mind, this data,\n          // like all local models and data can be manipulated by the user, so it\n          // should not be relied upon for security or authorization.\n           // Grab the encoded data from the meta tag\n          userConfigEncoded = $('head meta[name=app-user-config]').attr('content');\n           // Unescape the text, then parse the resulting JSON into a real object\n          userConfig = JSON.parse(unescape(userConfigEncoded));\n           // Lookup the store\n          store = application.lookup('service:store');\n           // Push the encoded JSON into the store\n          store.pushPayload(userConfig);\n      }\n       export default {\n        name: 'named-instance-initializer',\n        initialize\n      };\n      ```\n       @method instanceInitializer\n      @param instanceInitializer\n      @public\n    */\n    instanceInitializer: buildInitializerMethod('instanceInitializers', 'instance initializer'),\n\n    /**\n      This creates a registry with the default Ember naming conventions.\n       It also configures the registry:\n       * registered views are created every time they are looked up (they are\n        not singletons)\n      * registered templates are not factories; the registered value is\n        returned directly.\n      * the router receives the application as its `namespace` property\n      * all controllers receive the router as their `target` and `controllers`\n        properties\n      * all controllers receive the application as their `namespace` property\n      * the application view receives the application controller as its\n        `controller` property\n      * the application view receives the application template as its\n        `defaultTemplate` property\n       @method buildRegistry\n      @static\n      @param {Application} namespace the application for which to\n        build the registry\n      @return {Ember.Registry} the built registry\n      @private\n    */\n    buildRegistry: function (namespace) {\n      var registry = new _container.Registry({\n        resolver: resolverFor(namespace)\n      });\n      registry.set = _metal.set;\n      registry.register('application:main', namespace, {\n        instantiate: false\n      });\n      commonSetupRegistry(registry);\n      (0, _glimmer.setupEngineRegistry)(registry);\n      return registry;\n    },\n\n    /**\n      Set this to provide an alternate class to `DefaultResolver`\n       @deprecated Use 'Resolver' instead\n      @property resolver\n      @public\n    */\n    resolver: null,\n\n    /**\n      Set this to provide an alternate class to `DefaultResolver`\n       @property resolver\n      @public\n    */\n    Resolver: null\n  });\n  /**\n    This function defines the default lookup rules for container lookups:\n  \n    * templates are looked up on `Ember.TEMPLATES`\n    * other names are looked up on the application after classifying the name.\n      For example, `controller:post` looks up `App.PostController` by default.\n    * if the default lookup fails, look for registered classes on the container\n  \n    This allows the application to register default injections in the container\n    that could be overridden by the normal naming convention.\n  \n    @private\n    @method resolverFor\n    @param {Ember.Namespace} namespace the namespace to look for classes\n    @return {*} the resolved value for a given lookup\n  */\n\n  function resolverFor(namespace) {\n    var ResolverClass = (0, _metal.get)(namespace, 'Resolver') || _globalsResolver.default;\n\n    var props = {\n      namespace: namespace\n    };\n    return ResolverClass.create(props);\n  }\n\n  function buildInitializerMethod(bucketName, humanName) {\n    return function (initializer) {\n      // If this is the first initializer being added to a subclass, we are going to reopen the class\n      // to make sure we have a new `initializers` object, which extends from the parent class' using\n      // prototypal inheritance. Without this, attempting to add initializers to the subclass would\n      // pollute the parent class as well as other subclasses.\n      if (this.superclass[bucketName] !== undefined && this.superclass[bucketName] === this[bucketName]) {\n        var attrs = {};\n        attrs[bucketName] = Object.create(this[bucketName]);\n        this.reopenClass(attrs);\n      }\n\n      true && !!this[bucketName][initializer.name] && (0, _debug.assert)(\"The \" + humanName + \" '\" + initializer.name + \"' has already been registered\", !this[bucketName][initializer.name]);\n      true && !(0, _utils.canInvoke)(initializer, 'initialize') && (0, _debug.assert)(\"An \" + humanName + \" cannot be registered without an initialize function\", (0, _utils.canInvoke)(initializer, 'initialize'));\n      true && !(initializer.name !== undefined) && (0, _debug.assert)(\"An \" + humanName + \" cannot be registered without a name property\", initializer.name !== undefined);\n      this[bucketName][initializer.name] = initializer;\n    };\n  }\n\n  function commonSetupRegistry(registry) {\n    registry.optionsForType('component', {\n      singleton: false\n    });\n    registry.optionsForType('view', {\n      singleton: false\n    });\n    registry.register('controller:basic', _controller.default, {\n      instantiate: false\n    });\n    registry.injection('view', '_viewRegistry', '-view-registry:main');\n    registry.injection('renderer', '_viewRegistry', '-view-registry:main');\n    registry.injection('route', '_topLevelViewTemplate', 'template:-outlet');\n    registry.injection('view:-outlet', 'namespace', 'application:main');\n    registry.injection('controller', 'target', 'router:main');\n    registry.injection('controller', 'namespace', 'application:main');\n    registry.injection('router', '_bucketCache', (0, _container.privatize)(_templateObject()));\n    registry.injection('route', '_bucketCache', (0, _container.privatize)(_templateObject2()));\n    registry.injection('route', '_router', 'router:main'); // Register the routing service...\n\n    registry.register('service:-routing', _routing.RoutingService); // Then inject the app router into it\n\n    registry.injection('service:-routing', 'router', 'router:main'); // DEBUGGING\n\n    registry.register('resolver-for-debugging:main', registry.resolver, {\n      instantiate: false\n    });\n    registry.injection('container-debug-adapter:main', 'resolver', 'resolver-for-debugging:main');\n    registry.injection('data-adapter:main', 'containerDebugAdapter', 'container-debug-adapter:main'); // Custom resolver authors may want to register their own ContainerDebugAdapter with this key\n\n    registry.register('container-debug-adapter:main', _extensionSupport.ContainerDebugAdapter);\n    registry.register('component-lookup:main', _views.ComponentLookup);\n  }\n\n  var _default = Engine;\n  _exports.default = _default;\n});","enifed(\"@ember/engine/instance\", [\"exports\", \"@ember/-internals/utils\", \"@ember/-internals/runtime\", \"@ember/debug\", \"@ember/error\", \"@ember/-internals/container\", \"@ember/engine/lib/engine-parent\"], function (_exports, _utils, _runtime, _debug, _error, _container, _engineParent) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  function _templateObject2() {\n    const data = _taggedTemplateLiteralLoose([\"template-compiler:main\"]);\n\n    _templateObject2 = function () {\n      return data;\n    };\n\n    return data;\n  }\n\n  function _templateObject() {\n    const data = _taggedTemplateLiteralLoose([\"-bucket-cache:main\"]);\n\n    _templateObject = function () {\n      return data;\n    };\n\n    return data;\n  }\n\n  function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.slice(0); } strings.raw = raw; return strings; }\n\n  /**\n    The `EngineInstance` encapsulates all of the stateful aspects of a\n    running `Engine`.\n  \n    @public\n    @class EngineInstance\n    @extends EmberObject\n    @uses RegistryProxyMixin\n    @uses ContainerProxyMixin\n  */\n  var EngineInstance = _runtime.Object.extend(_runtime.RegistryProxyMixin, _runtime.ContainerProxyMixin, {\n    /**\n      The base `Engine` for which this is an instance.\n       @property {Engine} engine\n      @private\n    */\n    base: null,\n    init: function () {\n      this._super.apply(this, arguments);\n\n      (0, _utils.guidFor)(this);\n      var base = this.base;\n\n      if (!base) {\n        base = this.application;\n        this.base = base;\n      } // Create a per-instance registry that will use the application's registry\n      // as a fallback for resolving registrations.\n\n\n      var registry = this.__registry__ = new _container.Registry({\n        fallback: base.__registry__\n      }); // Create a per-instance container from the instance's registry\n\n      this.__container__ = registry.container({\n        owner: this\n      });\n      this._booted = false;\n    },\n\n    /**\n      Initialize the `EngineInstance` and return a promise that resolves\n      with the instance itself when the boot process is complete.\n       The primary task here is to run any registered instance initializers.\n       See the documentation on `BootOptions` for the options it takes.\n       @public\n      @method boot\n      @param options {Object}\n      @return {Promise<EngineInstance,Error>}\n    */\n    boot: function (options) {\n      var _this = this;\n\n      if (this._bootPromise) {\n        return this._bootPromise;\n      }\n\n      this._bootPromise = new _runtime.RSVP.Promise(function (resolve) {\n        return resolve(_this._bootSync(options));\n      });\n      return this._bootPromise;\n    },\n\n    /**\n      Unfortunately, a lot of existing code assumes booting an instance is\n      synchronous – specifically, a lot of tests assume the last call to\n      `app.advanceReadiness()` or `app.reset()` will result in a new instance\n      being fully-booted when the current runloop completes.\n       We would like new code (like the `visit` API) to stop making this\n      assumption, so we created the asynchronous version above that returns a\n      promise. But until we have migrated all the code, we would have to expose\n      this method for use *internally* in places where we need to boot an instance\n      synchronously.\n       @private\n    */\n    _bootSync: function (options) {\n      if (this._booted) {\n        return this;\n      }\n\n      true && !(0, _engineParent.getEngineParent)(this) && (0, _debug.assert)(\"An engine instance's parent must be set via `setEngineParent(engine, parent)` prior to calling `engine.boot()`.\", (0, _engineParent.getEngineParent)(this));\n      this.cloneParentDependencies();\n      this.setupRegistry(options);\n      this.base.runInstanceInitializers(this);\n      this._booted = true;\n      return this;\n    },\n    setupRegistry: function () {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.__container__.lookup('-environment:main');\n      this.constructor.setupRegistry(this.__registry__, options);\n    },\n\n    /**\n     Unregister a factory.\n      Overrides `RegistryProxy#unregister` in order to clear any cached instances\n     of the unregistered factory.\n      @public\n     @method unregister\n     @param {String} fullName\n     */\n    unregister: function (fullName) {\n      this.__container__.reset(fullName);\n\n      this._super.apply(this, arguments);\n    },\n\n    /**\n      Build a new `EngineInstance` that's a child of this instance.\n       Engines must be registered by name with their parent engine\n      (or application).\n       @private\n      @method buildChildEngineInstance\n      @param name {String} the registered name of the engine.\n      @param options {Object} options provided to the engine instance.\n      @return {EngineInstance,Error}\n    */\n    buildChildEngineInstance: function (name) {\n      var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      var Engine = this.lookup(\"engine:\" + name);\n\n      if (!Engine) {\n        throw new _error.default(\"You attempted to mount the engine '\" + name + \"', but it is not registered with its parent.\");\n      }\n\n      var engineInstance = Engine.buildInstance(options);\n      (0, _engineParent.setEngineParent)(engineInstance, this);\n      return engineInstance;\n    },\n\n    /**\n      Clone dependencies shared between an engine instance and its parent.\n       @private\n      @method cloneParentDependencies\n    */\n    cloneParentDependencies: function () {\n      var _this2 = this;\n\n      var parent = (0, _engineParent.getEngineParent)(this);\n      var registrations = ['route:basic', 'service:-routing', 'service:-glimmer-environment'];\n      registrations.forEach(function (key) {\n        return _this2.register(key, parent.resolveRegistration(key));\n      });\n      var env = parent.lookup('-environment:main');\n      this.register('-environment:main', env, {\n        instantiate: false\n      });\n      var singletons = ['router:main', (0, _container.privatize)(_templateObject()), '-view-registry:main', \"renderer:-\" + (env.isInteractive ? 'dom' : 'inert'), 'service:-document', (0, _container.privatize)(_templateObject2())];\n\n      if (env.isInteractive) {\n        singletons.push('event_dispatcher:main');\n      }\n\n      singletons.forEach(function (key) {\n        return _this2.register(key, parent.lookup(key), {\n          instantiate: false\n        });\n      });\n      this.inject('view', '_environment', '-environment:main');\n      this.inject('route', '_environment', '-environment:main');\n    }\n  });\n\n  EngineInstance.reopenClass({\n    /**\n     @private\n     @method setupRegistry\n     @param {Registry} registry\n     @param {BootOptions} options\n     */\n    setupRegistry: function (registry, options) {\n      // when no options/environment is present, do nothing\n      if (!options) {\n        return;\n      }\n\n      registry.injection('view', '_environment', '-environment:main');\n      registry.injection('route', '_environment', '-environment:main');\n\n      if (options.isInteractive) {\n        registry.injection('view', 'renderer', 'renderer:-dom');\n        registry.injection('component', 'renderer', 'renderer:-dom');\n      } else {\n        registry.injection('view', 'renderer', 'renderer:-inert');\n        registry.injection('component', 'renderer', 'renderer:-inert');\n      }\n    }\n  });\n  var _default = EngineInstance;\n  _exports.default = _default;\n});","enifed(\"@ember/engine/lib/engine-parent\", [\"exports\", \"@ember/-internals/utils\"], function (_exports, _utils) {\n  \"use strict\";\n\n  _exports.getEngineParent = getEngineParent;\n  _exports.setEngineParent = setEngineParent;\n\n  /**\n  @module @ember/engine\n  */\n  var ENGINE_PARENT = (0, _utils.symbol)('ENGINE_PARENT');\n  /**\n    `getEngineParent` retrieves an engine instance's parent instance.\n  \n    @method getEngineParent\n    @param {EngineInstance} engine An engine instance.\n    @return {EngineInstance} The parent engine instance.\n    @for @ember/engine\n    @static\n    @private\n  */\n\n  function getEngineParent(engine) {\n    return engine[ENGINE_PARENT];\n  }\n  /**\n    `setEngineParent` sets an engine instance's parent instance.\n  \n    @method setEngineParent\n    @param {EngineInstance} engine An engine instance.\n    @param {EngineInstance} parent The parent engine instance.\n    @private\n  */\n\n\n  function setEngineParent(engine, parent) {\n    engine[ENGINE_PARENT] = parent;\n  }\n});","enifed(\"@ember/error/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n   @module @ember/error\n  */\n\n  /**\n    The JavaScript Error object used by Ember.assert.\n  \n    @class Error\n    @namespace Ember\n    @extends Error\n    @constructor\n    @public\n  */\n  var _default = Error;\n  _exports.default = _default;\n});","enifed(\"@ember/instrumentation/index\", [\"exports\", \"@ember/-internals/environment\"], function (_exports, _environment) {\n  \"use strict\";\n\n  _exports.instrument = instrument;\n  _exports._instrumentStart = _instrumentStart;\n  _exports.subscribe = subscribe;\n  _exports.unsubscribe = unsubscribe;\n  _exports.reset = reset;\n  _exports.flaggedInstrument = _exports.subscribers = void 0;\n\n  /* eslint no-console:off */\n\n  /* global console */\n\n  /**\n  @module @ember/instrumentation\n  @private\n  */\n\n  /**\n    The purpose of the Ember Instrumentation module is\n    to provide efficient, general-purpose instrumentation\n    for Ember.\n  \n    Subscribe to a listener by using `subscribe`:\n  \n    ```javascript\n    import { subscribe } from '@ember/instrumentation';\n  \n    subscribe(\"render\", {\n      before(name, timestamp, payload) {\n  \n      },\n  \n      after(name, timestamp, payload) {\n  \n      }\n    });\n    ```\n  \n    If you return a value from the `before` callback, that same\n    value will be passed as a fourth parameter to the `after`\n    callback.\n  \n    Instrument a block of code by using `instrument`:\n  \n    ```javascript\n    import { instrument } from '@ember/instrumentation';\n  \n    instrument(\"render.handlebars\", payload, function() {\n      // rendering logic\n    }, binding);\n    ```\n  \n    Event names passed to `instrument` are namespaced\n    by periods, from more general to more specific. Subscribers\n    can listen for events by whatever level of granularity they\n    are interested in.\n  \n    In the above example, the event is `render.handlebars`,\n    and the subscriber listened for all events beginning with\n    `render`. It would receive callbacks for events named\n    `render`, `render.handlebars`, `render.container`, or\n    even `render.handlebars.layout`.\n  \n    @class Instrumentation\n    @static\n    @private\n  */\n  var subscribers = [];\n  _exports.subscribers = subscribers;\n  var cache = {};\n\n  function populateListeners(name) {\n    var listeners = [];\n    var subscriber;\n\n    for (var i = 0; i < subscribers.length; i++) {\n      subscriber = subscribers[i];\n\n      if (subscriber.regex.test(name)) {\n        listeners.push(subscriber.object);\n      }\n    }\n\n    cache[name] = listeners;\n    return listeners;\n  }\n\n  var time = function () {\n    var perf = 'undefined' !== typeof window ? window.performance || {} : {};\n    var fn = perf.now || perf.mozNow || perf.webkitNow || perf.msNow || perf.oNow;\n    return fn ? fn.bind(perf) : Date.now;\n  }();\n\n  function isCallback(value) {\n    return typeof value === 'function';\n  }\n\n  function instrument(name, p1, p2, p3) {\n    var _payload;\n\n    var callback;\n    var binding;\n\n    if (arguments.length <= 3 && isCallback(p1)) {\n      callback = p1;\n      binding = p2;\n    } else {\n      _payload = p1;\n      callback = p2;\n      binding = p3;\n    } // fast path\n\n\n    if (subscribers.length === 0) {\n      return callback.call(binding);\n    } // avoid allocating the payload in fast path\n\n\n    var payload = _payload || {};\n\n    var finalizer = _instrumentStart(name, function () {\n      return payload;\n    });\n\n    if (finalizer === NOOP) {\n      return callback.call(binding);\n    } else {\n      return withFinalizer(callback, finalizer, payload, binding);\n    }\n  }\n\n  var flaggedInstrument;\n  _exports.flaggedInstrument = flaggedInstrument;\n\n  if (false\n  /* EMBER_IMPROVED_INSTRUMENTATION */\n  ) {\n      _exports.flaggedInstrument = flaggedInstrument = instrument;\n    } else {\n    _exports.flaggedInstrument = flaggedInstrument = function instrument(_name, _payload, callback) {\n      return callback();\n    };\n  }\n\n  function withFinalizer(callback, finalizer, payload, binding) {\n    try {\n      return callback.call(binding);\n    } catch (e) {\n      payload.exception = e;\n      throw e;\n    } finally {\n      finalizer();\n    }\n  }\n\n  function NOOP() {}\n\n  function _instrumentStart(name, payloadFunc, payloadArg) {\n    if (subscribers.length === 0) {\n      return NOOP;\n    }\n\n    var listeners = cache[name];\n\n    if (!listeners) {\n      listeners = populateListeners(name);\n    }\n\n    if (listeners.length === 0) {\n      return NOOP;\n    }\n\n    var payload = payloadFunc(payloadArg);\n    var STRUCTURED_PROFILE = _environment.ENV.STRUCTURED_PROFILE;\n    var timeName;\n\n    if (STRUCTURED_PROFILE) {\n      timeName = name + \": \" + payload.object;\n      console.time(timeName);\n    }\n\n    var beforeValues = [];\n    var timestamp = time();\n\n    for (var i = 0; i < listeners.length; i++) {\n      var listener = listeners[i];\n      beforeValues.push(listener.before(name, timestamp, payload));\n    }\n\n    return function _instrumentEnd() {\n      var timestamp = time();\n\n      for (var _i = 0; _i < listeners.length; _i++) {\n        var _listener = listeners[_i];\n\n        if (typeof _listener.after === 'function') {\n          _listener.after(name, timestamp, payload, beforeValues[_i]);\n        }\n      }\n\n      if (STRUCTURED_PROFILE) {\n        console.timeEnd(timeName);\n      }\n    };\n  }\n  /**\n    Subscribes to a particular event or instrumented block of code.\n  \n    @method subscribe\n    @for @ember/instrumentation\n    @static\n  \n    @param {String} [pattern] Namespaced event name.\n    @param {Object} [object] Before and After hooks.\n  \n    @return {Subscriber}\n    @private\n  */\n\n\n  function subscribe(pattern, object) {\n    var paths = pattern.split('.');\n    var path;\n    var regexes = [];\n\n    for (var i = 0; i < paths.length; i++) {\n      path = paths[i];\n\n      if (path === '*') {\n        regexes.push('[^\\\\.]*');\n      } else {\n        regexes.push(path);\n      }\n    }\n\n    var regex = regexes.join('\\\\.');\n    regex = regex + \"(\\\\..*)?\";\n    var subscriber = {\n      pattern: pattern,\n      regex: new RegExp(\"^\" + regex + \"$\"),\n      object: object\n    };\n    subscribers.push(subscriber);\n    cache = {};\n    return subscriber;\n  }\n  /**\n    Unsubscribes from a particular event or instrumented block of code.\n  \n    @method unsubscribe\n    @for @ember/instrumentation\n    @static\n  \n    @param {Object} [subscriber]\n    @private\n  */\n\n\n  function unsubscribe(subscriber) {\n    var index = 0;\n\n    for (var i = 0; i < subscribers.length; i++) {\n      if (subscribers[i] === subscriber) {\n        index = i;\n      }\n    }\n\n    subscribers.splice(index, 1);\n    cache = {};\n  }\n  /**\n    Resets `Instrumentation` by flushing list of subscribers.\n  \n    @method reset\n    @for @ember/instrumentation\n    @static\n    @private\n  */\n\n\n  function reset() {\n    subscribers.length = 0;\n    cache = {};\n  }\n});","enifed(\"@ember/modifier/index\", [\"exports\", \"@ember/-internals/glimmer\"], function (_exports, _glimmer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"setModifierManager\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.setModifierManager;\n    }\n  });\n  Object.defineProperty(_exports, \"capabilties\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.modifierCapabilties;\n    }\n  });\n});","enifed(\"@ember/object/computed\", [\"exports\", \"@ember/object/lib/computed/computed_macros\", \"@ember/object/lib/computed/reduce_computed_macros\"], function (_exports, _computed_macros, _reduce_computed_macros) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"empty\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.empty;\n    }\n  });\n  Object.defineProperty(_exports, \"notEmpty\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.notEmpty;\n    }\n  });\n  Object.defineProperty(_exports, \"none\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.none;\n    }\n  });\n  Object.defineProperty(_exports, \"not\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.not;\n    }\n  });\n  Object.defineProperty(_exports, \"bool\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.bool;\n    }\n  });\n  Object.defineProperty(_exports, \"match\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.match;\n    }\n  });\n  Object.defineProperty(_exports, \"equal\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.equal;\n    }\n  });\n  Object.defineProperty(_exports, \"gt\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.gt;\n    }\n  });\n  Object.defineProperty(_exports, \"gte\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.gte;\n    }\n  });\n  Object.defineProperty(_exports, \"lt\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.lt;\n    }\n  });\n  Object.defineProperty(_exports, \"lte\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.lte;\n    }\n  });\n  Object.defineProperty(_exports, \"oneWay\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.oneWay;\n    }\n  });\n  Object.defineProperty(_exports, \"readOnly\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.readOnly;\n    }\n  });\n  Object.defineProperty(_exports, \"deprecatingAlias\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.deprecatingAlias;\n    }\n  });\n  Object.defineProperty(_exports, \"and\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.and;\n    }\n  });\n  Object.defineProperty(_exports, \"or\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.or;\n    }\n  });\n  Object.defineProperty(_exports, \"sum\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.sum;\n    }\n  });\n  Object.defineProperty(_exports, \"min\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.min;\n    }\n  });\n  Object.defineProperty(_exports, \"max\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.max;\n    }\n  });\n  Object.defineProperty(_exports, \"map\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.map;\n    }\n  });\n  Object.defineProperty(_exports, \"sort\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.sort;\n    }\n  });\n  Object.defineProperty(_exports, \"setDiff\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.setDiff;\n    }\n  });\n  Object.defineProperty(_exports, \"mapBy\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.mapBy;\n    }\n  });\n  Object.defineProperty(_exports, \"filter\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.filter;\n    }\n  });\n  Object.defineProperty(_exports, \"filterBy\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.filterBy;\n    }\n  });\n  Object.defineProperty(_exports, \"uniq\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.uniq;\n    }\n  });\n  Object.defineProperty(_exports, \"uniqBy\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.uniqBy;\n    }\n  });\n  Object.defineProperty(_exports, \"union\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.union;\n    }\n  });\n  Object.defineProperty(_exports, \"intersect\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.intersect;\n    }\n  });\n  Object.defineProperty(_exports, \"collect\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.collect;\n    }\n  });\n});","enifed(\"@ember/object/index\", [\"exports\", \"@ember/debug\", \"@ember/polyfills\", \"@ember/-internals/metal\"], function (_exports, _debug, _polyfills, _metal) {\n  \"use strict\";\n\n  _exports.action = void 0;\n\n  /**\n    Decorator that turns the target function into an Action which can be accessed\n    directly by reference.\n  \n    ```js\n    import Component from '@ember/component';\n    import { action, set } from '@ember/object';\n  \n    export default class Tooltip extends Component {\n      @action\n      toggleShowing() {\n        set(this, 'isShowing', !this.isShowing);\n      }\n    }\n    ```\n    ```hbs\n    <!-- template.hbs -->\n    <button {{action this.toggleShowing}}>Show tooltip</button>\n  \n    {{#if isShowing}}\n      <div class=\"tooltip\">\n        I'm a tooltip!\n      </div>\n    {{/if}}\n    ```\n  \n    Decorated actions also interop with the string style template actions:\n  \n    ```hbs\n    <!-- template.hbs -->\n    <button {{action \"toggleShowing\"}}>Show tooltip</button>\n  \n    {{#if isShowing}}\n      <div class=\"tooltip\">\n        I'm a tooltip!\n      </div>\n    {{/if}}\n    ```\n  \n    It also binds the function directly to the instance, so it can be used in any\n    context and will correctly refer to the class it came from:\n  \n    ```hbs\n    <!-- template.hbs -->\n    <button\n      {{did-insert this.toggleShowing}}\n      {{on \"click\" this.toggleShowing}}\n    >\n      Show tooltip\n    </button>\n  \n    {{#if isShowing}}\n      <div class=\"tooltip\">\n        I'm a tooltip!\n      </div>\n    {{/if}}\n    ```\n  \n    This can also be used in JavaScript code directly:\n  \n    ```js\n    import Component from '@ember/component';\n    import { action, set } from '@ember/object';\n  \n    export default class Tooltip extends Component {\n      constructor() {\n        super(...arguments);\n  \n        // this.toggleShowing is still bound correctly when added to\n        // the event listener\n        document.addEventListener('click', this.toggleShowing);\n      }\n  \n      @action\n      toggleShowing() {\n        set(this, 'isShowing', !this.isShowing);\n      }\n    }\n    ```\n  \n    This is considered best practice, since it means that methods will be bound\n    correctly no matter where they are used. By contrast, the `{{action}}` helper\n    and modifier can also be used to bind context, but it will be required for\n    every usage of the method:\n  \n    ```hbs\n    <!-- template.hbs -->\n    <button\n      {{did-insert (action this.toggleShowing)}}\n      {{on \"click\" (action this.toggleShowing)}}\n    >\n      Show tooltip\n    </button>\n  \n    {{#if isShowing}}\n      <div class=\"tooltip\">\n        I'm a tooltip!\n      </div>\n    {{/if}}\n    ```\n  \n    They also do not have equivalents in JavaScript directly, so they cannot be\n    used for other situations where binding would be useful.\n  \n    @method action\n    @category EMBER_NATIVE_DECORATOR_SUPPORT\n    @for @ember/object\n    @static\n    @param {} elementDesc the descriptor of the element to decorate\n    @return {ElementDescriptor} the decorated descriptor\n    @private\n  */\n  var action;\n  _exports.action = action;\n\n  if (true\n  /* EMBER_NATIVE_DECORATOR_SUPPORT */\n  ) {\n      var BINDINGS_MAP = new WeakMap();\n\n      var setupAction = function (target, key, actionFn) {\n        if (target.constructor !== undefined && typeof target.constructor.proto === 'function') {\n          target.constructor.proto();\n        }\n\n        if (!target.hasOwnProperty('actions')) {\n          var parentActions = target.actions; // we need to assign because of the way mixins copy actions down when inheriting\n\n          target.actions = parentActions ? (0, _polyfills.assign)({}, parentActions) : {};\n        }\n\n        target.actions[key] = actionFn;\n        return {\n          get: function () {\n            var bindings = BINDINGS_MAP.get(this);\n\n            if (bindings === undefined) {\n              bindings = new Map();\n              BINDINGS_MAP.set(this, bindings);\n            }\n\n            var fn = bindings.get(actionFn);\n\n            if (fn === undefined) {\n              fn = actionFn.bind(this);\n              bindings.set(actionFn, fn);\n            }\n\n            return fn;\n          }\n        };\n      };\n\n      _exports.action = action = function action(target, key, desc) {\n        var actionFn;\n\n        if (!(0, _metal.isElementDescriptor)([target, key, desc])) {\n          actionFn = target;\n\n          var decorator = function (target, key, desc, meta, isClassicDecorator) {\n            true && !isClassicDecorator && (0, _debug.assert)('The @action decorator may only be passed a method when used in classic classes. You should decorate methods directly in native classes', isClassicDecorator);\n            true && !(typeof actionFn === 'function') && (0, _debug.assert)('The action() decorator must be passed a method when used in classic classes', typeof actionFn === 'function');\n            return setupAction(target, key, actionFn);\n          };\n\n          (0, _metal.setClassicDecorator)(decorator);\n          return decorator;\n        }\n\n        actionFn = desc.value;\n        true && !(typeof actionFn === 'function') && (0, _debug.assert)('The @action decorator must be applied to methods when used in native classes', typeof actionFn === 'function');\n        return setupAction(target, key, actionFn);\n      };\n\n      (0, _metal.setClassicDecorator)(action);\n    }\n});","enifed(\"@ember/object/lib/computed/computed_macros\", [\"exports\", \"@ember/-internals/metal\", \"@ember/debug\"], function (_exports, _metal, _debug) {\n  \"use strict\";\n\n  _exports.empty = empty;\n  _exports.notEmpty = notEmpty;\n  _exports.none = none;\n  _exports.not = not;\n  _exports.bool = bool;\n  _exports.match = match;\n  _exports.equal = equal;\n  _exports.gt = gt;\n  _exports.gte = gte;\n  _exports.lt = lt;\n  _exports.lte = lte;\n  _exports.oneWay = oneWay;\n  _exports.readOnly = readOnly;\n  _exports.deprecatingAlias = deprecatingAlias;\n  _exports.or = _exports.and = void 0;\n\n  /**\n  @module @ember/object\n  */\n  function expandPropertiesToArray(predicateName, properties) {\n    var expandedProperties = [];\n\n    function extractProperty(entry) {\n      expandedProperties.push(entry);\n    }\n\n    for (var i = 0; i < properties.length; i++) {\n      var property = properties[i];\n      true && !(property.indexOf(' ') < 0) && (0, _debug.assert)(\"Dependent keys passed to computed.\" + predicateName + \"() can't have spaces.\", property.indexOf(' ') < 0);\n      (0, _metal.expandProperties)(property, extractProperty);\n    }\n\n    return expandedProperties;\n  }\n\n  function generateComputedWithPredicate(name, predicate) {\n    return function () {\n      for (var _len = arguments.length, properties = new Array(_len), _key = 0; _key < _len; _key++) {\n        properties[_key] = arguments[_key];\n      }\n\n      true && !!(0, _metal.isElementDescriptor)(properties) && (0, _debug.assert)(\"You attempted to use @\" + name + \" as a decorator directly, but it requires at least one dependent key parameter\", !(0, _metal.isElementDescriptor)(properties));\n      var dependentKeys = expandPropertiesToArray(name, properties);\n\n      var computedFunc = _metal.computed.apply(void 0, dependentKeys.concat([function () {\n        var lastIdx = dependentKeys.length - 1;\n\n        for (var i = 0; i < lastIdx; i++) {\n          var value = (0, _metal.get)(this, dependentKeys[i]);\n\n          if (!predicate(value)) {\n            return value;\n          }\n        }\n\n        return (0, _metal.get)(this, dependentKeys[lastIdx]);\n      }]));\n\n      return computedFunc;\n    };\n  }\n  /**\n    A computed property macro that returns true if the value of the dependent\n    property is null, an empty string, empty array, or empty function.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { empty } from '@ember/object/computed';\n  \n    class ToDoList {\n      constructor(todos) {\n        set(this, 'todos', todos);\n      }\n  \n      @empty('todos') isDone;\n    }\n  \n    let todoList = new ToDoList(\n      ['Unit Test', 'Documentation', 'Release']\n    );\n  \n    todoList.isDone; // false\n    set(todoList, 'todos', []);\n    todoList.isDone; // true\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { empty } from '@ember/object/computed';\n  \n    let ToDoList = EmberObject.extend({\n      isDone: empty('todos')\n    });\n  \n    let todoList = ToDoList.create({\n      todos: ['Unit Test', 'Documentation', 'Release']\n    });\n  \n    todoList.isDone; // false\n    set(todoList, 'todos', []);\n    todoList.isDone; // true\n    ```\n  \n    @since 1.6.0\n    @method empty\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @return {ComputedProperty} computed property which returns true if the value\n    of the dependent property is null, an empty string, empty array, or empty\n    function and false if the underlying value is not empty.\n  \n    @public\n  */\n\n\n  function empty(dependentKey) {\n    true && !!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)) && (0, _debug.assert)('You attempted to use @empty as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)));\n    return (0, _metal.computed)(dependentKey + \".length\", function () {\n      return (0, _metal.isEmpty)((0, _metal.get)(this, dependentKey));\n    });\n  }\n  /**\n    A computed property that returns true if the value of the dependent property\n    is NOT null, an empty string, empty array, or empty function.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { notEmpty } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(backpack) {\n        set(this, 'backpack', backpack);\n      }\n  \n      @notEmpty('backpack') hasStuff\n    }\n  \n    let hamster = new Hamster(\n      ['Food', 'Sleeping Bag', 'Tent']\n    );\n  \n    hamster.hasStuff; // true\n    set(hamster, 'backpack', []);\n    hamster.hasStuff; // false\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { notEmpty } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      hasStuff: notEmpty('backpack')\n    });\n  \n    let hamster = Hamster.create({\n      backpack: ['Food', 'Sleeping Bag', 'Tent']\n    });\n  \n    hamster.hasStuff; // true\n    set(hamster, 'backpack', []);\n    hamster.hasStuff; // false\n    ```\n  \n    @method notEmpty\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @return {ComputedProperty} computed property which returns true if original\n    value for property is not empty.\n    @public\n  */\n\n\n  function notEmpty(dependentKey) {\n    true && !!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)) && (0, _debug.assert)('You attempted to use @notEmpty as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)));\n    return (0, _metal.computed)(dependentKey + \".length\", function () {\n      return !(0, _metal.isEmpty)((0, _metal.get)(this, dependentKey));\n    });\n  }\n  /**\n    A computed property that returns true if the value of the dependent property\n    is null or undefined. This avoids errors from JSLint complaining about use of\n    ==, which can be technically confusing.\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { none } from '@ember/object/computed';\n  \n    class Hamster {\n      @none('food') isHungry;\n    }\n  \n    let hamster = new Hamster();\n  \n    hamster.isHungry; // true\n  \n    set(hamster, 'food', 'Banana');\n    hamster.isHungry; // false\n  \n    set(hamster, 'food', null);\n    hamster.isHungry; // true\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { none } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      isHungry: none('food')\n    });\n  \n    let hamster = Hamster.create();\n  \n    hamster.isHungry; // true\n  \n    set(hamster, 'food', 'Banana');\n    hamster.isHungry; // false\n  \n    set(hamster, 'food', null);\n    hamster.isHungry; // true\n    ```\n  \n    @method none\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @return {ComputedProperty} computed property which returns true if original\n    value for property is null or undefined.\n    @public\n  */\n\n\n  function none(dependentKey) {\n    true && !!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)) && (0, _debug.assert)('You attempted to use @none as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)));\n    return (0, _metal.computed)(dependentKey, function () {\n      return (0, _metal.isNone)((0, _metal.get)(this, dependentKey));\n    });\n  }\n  /**\n    A computed property that returns the inverse boolean value of the original\n    value for the dependent property.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { not } from '@ember/object/computed';\n  \n    class User {\n      loggedIn = false;\n  \n      @not('loggedIn') isAnonymous;\n    }\n  \n    let user = new User();\n  \n    user.isAnonymous; // true\n    set(user, 'loggedIn', true);\n    user.isAnonymous; // false\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { not } from '@ember/object/computed';\n  \n    let User = EmberObject.extend({\n      loggedIn: false,\n  \n      isAnonymous: not('loggedIn')\n    });\n  \n    let user = User.create();\n  \n    user.isAnonymous; // true\n    set(user, 'loggedIn', true);\n    user.isAnonymous; // false\n    ```\n  \n    @method not\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @return {ComputedProperty} computed property which returns inverse of the\n    original value for property\n    @public\n  */\n\n\n  function not(dependentKey) {\n    true && !!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)) && (0, _debug.assert)('You attempted to use @not as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)));\n    return (0, _metal.computed)(dependentKey, function () {\n      return !(0, _metal.get)(this, dependentKey);\n    });\n  }\n  /**\n    A computed property that converts the provided dependent property into a\n    boolean value.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { bool } from '@ember/object/computed';\n  \n  \n    class Hamster {\n      @bool('numBananas') hasBananas\n    }\n  \n    let hamster = new Hamster();\n  \n    hamster.hasBananas; // false\n  \n    set(hamster, 'numBananas', 0);\n    hamster.hasBananas; // false\n  \n    set(hamster, 'numBananas', 1);\n    hamster.hasBananas; // true\n  \n    set(hamster, 'numBananas', null);\n    hamster.hasBananas; // false\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { bool } from '@ember/object/computed';\n  \n  \n    let Hamster = EmberObject.extend({\n      hasBananas: bool('numBananas')\n    });\n  \n    let hamster = Hamster.create();\n  \n    hamster.hasBananas; // false\n  \n    set(hamster, 'numBananas', 0);\n    hamster.hasBananas; // false\n  \n    set(hamster, 'numBananas', 1);\n    hamster.hasBananas; // true\n  \n    set(hamster, 'numBananas', null);\n    hamster.hasBananas; // false\n    ```\n  \n    @method bool\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @return {ComputedProperty} computed property which converts to boolean the\n    original value for property\n    @public\n  */\n\n\n  function bool(dependentKey) {\n    true && !!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)) && (0, _debug.assert)('You attempted to use @bool as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)));\n    return (0, _metal.computed)(dependentKey, function () {\n      return Boolean((0, _metal.get)(this, dependentKey));\n    });\n  }\n  /**\n    A computed property which matches the original value for the dependent\n    property against a given RegExp, returning `true` if the value matches the\n    RegExp and `false` if it does not.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { match } from '@ember/object/computed';\n  \n    class User {\n      @match('email', /^.+@.+\\..+$/) hasValidEmail;\n    }\n  \n    let user = new User();\n  \n    user.hasValidEmail; // false\n  \n    set(user, 'email', '');\n    user.hasValidEmail; // false\n  \n    set(user, 'email', 'ember_hamster@example.com');\n    user.hasValidEmail; // true\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { match } from '@ember/object/computed';\n  \n    let User = EmberObject.extend({\n      hasValidEmail: match('email', /^.+@.+\\..+$/)\n    });\n  \n    let user = User.create();\n  \n    user.hasValidEmail; // false\n  \n    set(user, 'email', '');\n    user.hasValidEmail; // false\n  \n    set(user, 'email', 'ember_hamster@example.com');\n    user.hasValidEmail; // true\n    ```\n  \n    @method match\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @param {RegExp} regexp\n    @return {ComputedProperty} computed property which match the original value\n    for property against a given RegExp\n    @public\n  */\n\n\n  function match(dependentKey, regexp) {\n    true && !!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)) && (0, _debug.assert)('You attempted to use @match as a decorator directly, but it requires `dependentKey` and `regexp` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)));\n    return (0, _metal.computed)(dependentKey, function () {\n      var value = (0, _metal.get)(this, dependentKey);\n      return regexp.test(value);\n    });\n  }\n  /**\n    A computed property that returns true if the provided dependent property is\n    equal to the given value.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { equal } from '@ember/object/computed';\n  \n    class Hamster {\n      @equal('percentCarrotsEaten', 100) satisfied;\n    }\n  \n    let hamster = new Hamster();\n  \n    hamster.satisfied; // false\n  \n    set(hamster, 'percentCarrotsEaten', 100);\n    hamster.satisfied; // true\n  \n    set(hamster, 'percentCarrotsEaten', 50);\n    hamster.satisfied; // false\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { equal } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      satisfied: equal('percentCarrotsEaten', 100)\n    });\n  \n    let hamster = Hamster.create();\n  \n    hamster.satisfied; // false\n  \n    set(hamster, 'percentCarrotsEaten', 100);\n    hamster.satisfied; // true\n  \n    set(hamster, 'percentCarrotsEaten', 50);\n    hamster.satisfied; // false\n    ```\n  \n    @method equal\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @param {String|Number|Object} value\n    @return {ComputedProperty} computed property which returns true if the\n    original value for property is equal to the given value.\n    @public\n  */\n\n\n  function equal(dependentKey, value) {\n    true && !!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)) && (0, _debug.assert)('You attempted to use @equal as a decorator directly, but it requires `dependentKey` and `value` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)));\n    return (0, _metal.computed)(dependentKey, function () {\n      return (0, _metal.get)(this, dependentKey) === value;\n    });\n  }\n  /**\n    A computed property that returns true if the provided dependent property is\n    greater than the provided value.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { gt } from '@ember/object/computed';\n  \n    class Hamster {\n      @gt('numBananas', 10) hasTooManyBananas;\n    }\n  \n    let hamster = new Hamster();\n  \n    hamster.hasTooManyBananas; // false\n  \n    set(hamster, 'numBananas', 3);\n    hamster.hasTooManyBananas; // false\n  \n    set(hamster, 'numBananas', 11);\n    hamster.hasTooManyBananas; // true\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { gt } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      hasTooManyBananas: gt('numBananas', 10)\n    });\n  \n    let hamster = Hamster.create();\n  \n    hamster.hasTooManyBananas; // false\n  \n    set(hamster, 'numBananas', 3);\n    hamster.hasTooManyBananas; // false\n  \n    set(hamster, 'numBananas', 11);\n    hamster.hasTooManyBananas; // true\n    ```\n  \n    @method gt\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @param {Number} value\n    @return {ComputedProperty} computed property which returns true if the\n    original value for property is greater than given value.\n    @public\n  */\n\n\n  function gt(dependentKey, value) {\n    true && !!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)) && (0, _debug.assert)('You attempted to use @gt as a decorator directly, but it requires `dependentKey` and `value` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)));\n    return (0, _metal.computed)(dependentKey, function () {\n      return (0, _metal.get)(this, dependentKey) > value;\n    });\n  }\n  /**\n    A computed property that returns true if the provided dependent property is\n    greater than or equal to the provided value.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { gte } from '@ember/object/computed';\n  \n    class Hamster {\n      @gte('numBananas', 10) hasTooManyBananas;\n    }\n  \n    let hamster = new Hamster();\n  \n    hamster.hasTooManyBananas; // false\n  \n    set(hamster, 'numBananas', 3);\n    hamster.hasTooManyBananas; // false\n  \n    set(hamster, 'numBananas', 10);\n    hamster.hasTooManyBananas; // true\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { gte } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      hasTooManyBananas: gte('numBananas', 10)\n    });\n  \n    let hamster = Hamster.create();\n  \n    hamster.hasTooManyBananas; // false\n  \n    set(hamster, 'numBananas', 3);\n    hamster.hasTooManyBananas; // false\n  \n    set(hamster, 'numBananas', 10);\n    hamster.hasTooManyBananas; // true\n    ```\n  \n    @method gte\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @param {Number} value\n    @return {ComputedProperty} computed property which returns true if the\n    original value for property is greater or equal then given value.\n    @public\n  */\n\n\n  function gte(dependentKey, value) {\n    true && !!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)) && (0, _debug.assert)('You attempted to use @gte as a decorator directly, but it requires `dependentKey` and `value` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)));\n    return (0, _metal.computed)(dependentKey, function () {\n      return (0, _metal.get)(this, dependentKey) >= value;\n    });\n  }\n  /**\n    A computed property that returns true if the provided dependent property is\n    less than the provided value.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { lt } from '@ember/object/computed';\n  \n    class Hamster {\n      @lt('numBananas', 3) needsMoreBananas;\n    }\n  \n    let hamster = new Hamster();\n  \n    hamster.needsMoreBananas; // true\n  \n    set(hamster, 'numBananas', 3);\n    hamster.needsMoreBananas; // false\n  \n    set(hamster, 'numBananas', 2);\n    hamster.needsMoreBananas; // true\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { lt } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      needsMoreBananas: lt('numBananas', 3)\n    });\n  \n    let hamster = Hamster.create();\n  \n    hamster.needsMoreBananas; // true\n  \n    set(hamster, 'numBananas', 3);\n    hamster.needsMoreBananas; // false\n  \n    set(hamster, 'numBananas', 2);\n    hamster.needsMoreBananas; // true\n    ```\n  \n    @method lt\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @param {Number} value\n    @return {ComputedProperty} computed property which returns true if the\n    original value for property is less then given value.\n    @public\n  */\n\n\n  function lt(dependentKey, value) {\n    true && !!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)) && (0, _debug.assert)('You attempted to use @lt as a decorator directly, but it requires `dependentKey` and `value` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)));\n    return (0, _metal.computed)(dependentKey, function () {\n      return (0, _metal.get)(this, dependentKey) < value;\n    });\n  }\n  /**\n    A computed property that returns true if the provided dependent property is\n    less than or equal to the provided value.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { lte } from '@ember/object/computed';\n  \n    class Hamster {\n      @lte('numBananas', 3) needsMoreBananas;\n    }\n  \n    let hamster = new Hamster();\n  \n    hamster.needsMoreBananas; // true\n  \n    set(hamster, 'numBananas', 5);\n    hamster.needsMoreBananas; // false\n  \n    set(hamster, 'numBananas', 3);\n    hamster.needsMoreBananas; // true\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { lte } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      needsMoreBananas: lte('numBananas', 3)\n    });\n  \n    let hamster = Hamster.create();\n  \n    hamster.needsMoreBananas; // true\n  \n    set(hamster, 'numBananas', 5);\n    hamster.needsMoreBananas; // false\n  \n    set(hamster, 'numBananas', 3);\n    hamster.needsMoreBananas; // true\n    ```\n  \n    @method lte\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @param {Number} value\n    @return {ComputedProperty} computed property which returns true if the\n    original value for property is less or equal than given value.\n    @public\n  */\n\n\n  function lte(dependentKey, value) {\n    true && !!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)) && (0, _debug.assert)('You attempted to use @lte as a decorator directly, but it requires `dependentKey` and `value` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)));\n    return (0, _metal.computed)(dependentKey, function () {\n      return (0, _metal.get)(this, dependentKey) <= value;\n    });\n  }\n  /**\n    A computed property that performs a logical `and` on the original values for\n    the provided dependent properties.\n  \n    You may pass in more than two properties and even use property brace\n    expansion.  The computed property will return the first falsy value or last\n    truthy value just like JavaScript's `&&` operator.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { and } from '@ember/object/computed';\n  \n    class Hamster {\n      @and('hasTent', 'hasBackpack') readyForCamp;\n      @and('hasWalkingStick', 'hasBackpack') readyForHike;\n    }\n  \n    let tomster = new Hamster();\n  \n    tomster.readyForCamp; // false\n  \n    set(tomster, 'hasTent', true);\n    tomster.readyForCamp; // false\n  \n    set(tomster, 'hasBackpack', true);\n    tomster.readyForCamp; // true\n  \n    set(tomster, 'hasBackpack', 'Yes');\n    tomster.readyForCamp; // 'Yes'\n  \n    set(tomster, 'hasWalkingStick', null);\n    tomster.readyForHike; // null\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { and } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      readyForCamp: and('hasTent', 'hasBackpack'),\n      readyForHike: and('hasWalkingStick', 'hasBackpack')\n    });\n  \n    let tomster = Hamster.create();\n  \n    tomster.readyForCamp; // false\n  \n    set(tomster, 'hasTent', true);\n    tomster.readyForCamp; // false\n  \n    set(tomster, 'hasBackpack', true);\n    tomster.readyForCamp; // true\n  \n    set(tomster, 'hasBackpack', 'Yes');\n    tomster.readyForCamp; // 'Yes'\n  \n    set(tomster, 'hasWalkingStick', null);\n    tomster.readyForHike; // null\n    ```\n  \n    @method and\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey*\n    @return {ComputedProperty} computed property which performs a logical `and` on\n    the values of all the original values for properties.\n    @public\n  */\n\n\n  var and = generateComputedWithPredicate('and', function (value) {\n    return value;\n  });\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    let Hamster = EmberObject.extend({\n      @or('hasJacket', 'hasUmbrella') readyForRain;\n      @or('hasSunscreen', 'hasUmbrella') readyForBeach;\n    });\n  \n    let tomster = new Hamster();\n  \n    tomster.readyForRain; // undefined\n  \n    set(tomster, 'hasUmbrella', true);\n    tomster.readyForRain; // true\n  \n    set(tomster, 'hasJacket', 'Yes');\n    tomster.readyForRain; // 'Yes'\n  \n    set(tomster, 'hasSunscreen', 'Check');\n    tomster.readyForBeach; // 'Check'\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { or } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      readyForRain: or('hasJacket', 'hasUmbrella'),\n      readyForBeach: or('hasSunscreen', 'hasUmbrella')\n    });\n  \n    let tomster = Hamster.create();\n  \n    tomster.readyForRain; // undefined\n  \n    set(tomster, 'hasUmbrella', true);\n    tomster.readyForRain; // true\n  \n    set(tomster, 'hasJacket', 'Yes');\n    tomster.readyForRain; // 'Yes'\n  \n    set(tomster, 'hasSunscreen', 'Check');\n    tomster.readyForBeach; // 'Check'\n    ```\n  \n    @method or\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey*\n    @return {ComputedProperty} computed property which performs a logical `or` on\n    the values of all the original values for properties.\n    @public\n  */\n\n  _exports.and = and;\n  var or = generateComputedWithPredicate('or', function (value) {\n    return !value;\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.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { alias } from '@ember/object/computed';\n  \n    class Person {\n      name = 'Alex Matchneer';\n  \n      @alias('name') nomen;\n    }\n  \n    let alex = new Person();\n  \n    alex.nomen; // 'Alex Matchneer'\n    alex.name;  // 'Alex Matchneer'\n  \n    set(alex, 'nomen', '@machty');\n    alex.name;  // '@machty'\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { alias } from '@ember/object/computed';\n  \n    let Person = EmberObject.extend({\n      name: 'Alex Matchneer',\n  \n      nomen: alias('name')\n    });\n  \n    let alex = Person.create();\n  \n    alex.nomen; // 'Alex Matchneer'\n    alex.name;  // 'Alex Matchneer'\n  \n    set(alex, 'nomen', '@machty');\n    alex.name;  // '@machty'\n    ```\n  \n    @method alias\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @return {ComputedProperty} computed property which creates an alias to the\n    original value for property.\n    @public\n  */\n\n  /**\n    Where `computed.alias` aliases `get` and `set`, and allows for bidirectional\n    data flow, `computed.oneWay` only provides an aliased `get`. The `set` will\n    not mutate the upstream property, rather causes the current property to become\n    the value set. This causes the downstream property to permanently diverge from\n    the upstream property.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { oneWay }from '@ember/object/computed';\n  \n    class User {\n      constructor(firstName, lastName) {\n        set(this, 'firstName', firstName);\n        set(this, 'lastName', lastName);\n      }\n  \n      @oneWay('firstName') nickName;\n    }\n  \n    let teddy = new User('Teddy', 'Zeenny');\n  \n    teddy.nickName; // 'Teddy'\n  \n    set(teddy, 'nickName', 'TeddyBear');\n    teddy.firstName; // 'Teddy'\n    teddy.nickName; // 'TeddyBear'\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { oneWay } from '@ember/object/computed';\n  \n    let User = EmberObject.extend({\n      firstName: null,\n      lastName: null,\n  \n      nickName: oneWay('firstName')\n    });\n  \n    let teddy = User.create({\n      firstName: 'Teddy',\n      lastName: 'Zeenny'\n    });\n  \n    teddy.nickName; // 'Teddy'\n  \n    set(teddy, 'nickName', 'TeddyBear'); // 'TeddyBear'\n    teddy.firstName; // 'Teddy'\n    teddy.nickName; // 'TeddyBear'\n    ```\n  \n    @method oneWay\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @return {ComputedProperty} computed property which creates a one way computed\n    property to the original value for property.\n    @public\n  */\n\n  _exports.or = or;\n\n  function oneWay(dependentKey) {\n    true && !!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)) && (0, _debug.assert)('You attempted to use @oneWay as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)));\n    return (0, _metal.alias)(dependentKey).oneWay();\n  }\n  /**\n    This is a more semantically meaningful alias of `computed.oneWay`, whose name\n    is somewhat ambiguous as to which direction the data flows.\n  \n    @method reads\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @return {ComputedProperty} computed property which creates a one way computed\n      property to the original value for property.\n    @public\n   */\n\n  /**\n    Where `computed.oneWay` provides oneWay bindings, `computed.readOnly` provides\n    a readOnly one way binding. Very often when using `computed.oneWay` one does\n    not also want changes to propagate back up, as they will replace the value.\n  \n    This prevents the reverse flow, and also throws an exception when it occurs.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { readOnly } from '@ember/object/computed';\n  \n    class User {\n      constructor(firstName, lastName) {\n        set(this, 'firstName', firstName);\n        set(this, 'lastName', lastName);\n      }\n  \n      @readOnly('firstName') nickName;\n    });\n  \n    let teddy = new User('Teddy', 'Zeenny');\n  \n    teddy.nickName; // 'Teddy'\n  \n    set(teddy, 'nickName', 'TeddyBear'); // throws Exception\n    // throw new EmberError('Cannot Set: nickName on: <User:ember27288>' );`\n  \n    teddy.firstName; // 'Teddy'\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { readOnly } from '@ember/object/computed';\n  \n    let User = EmberObject.extend({\n      firstName: null,\n      lastName: null,\n  \n      nickName: readOnly('firstName')\n    });\n  \n    let teddy = User.create({\n      firstName: 'Teddy',\n      lastName:  'Zeenny'\n    });\n  \n    teddy.nickName; // 'Teddy'\n  \n    set(teddy, 'nickName', 'TeddyBear'); // throws Exception\n    // throw new EmberError('Cannot Set: nickName on: <User:ember27288>' );`\n  \n    teddy.firstName; // 'Teddy'\n    ```\n  \n    @method readOnly\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @return {ComputedProperty} computed property which creates a one way computed\n    property to the original value for property.\n    @since 1.5.0\n    @public\n  */\n\n\n  function readOnly(dependentKey) {\n    true && !!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)) && (0, _debug.assert)('You attempted to use @readOnly as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)));\n    return (0, _metal.alias)(dependentKey).readOnly();\n  }\n  /**\n    Creates a new property that is an alias for another property on an object.\n    Calls to `get` or `set` this property behave as though they were called on the\n    original property, but also print a deprecation warning.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { deprecatingAlias } from '@ember/object/computed';\n  \n    class Hamster {\n      @deprecatingAlias('cavendishCount', {\n        id: 'hamster.deprecate-banana',\n        until: '3.0.0'\n      })\n      bananaCount;\n    }\n  \n    let hamster = new Hamster();\n  \n    set(hamster, 'bananaCount', 5); // Prints a deprecation warning.\n    hamster.cavendishCount; // 5\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { deprecatingAlias } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      bananaCount: deprecatingAlias('cavendishCount', {\n        id: 'hamster.deprecate-banana',\n        until: '3.0.0'\n      })\n    });\n  \n    let hamster = Hamster.create();\n  \n    set(hamster, 'bananaCount', 5); // Prints a deprecation warning.\n    hamster.cavendishCount; // 5\n    ```\n  \n    @method deprecatingAlias\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @param {Object} options Options for `deprecate`.\n    @return {ComputedProperty} computed property which creates an alias with a\n    deprecation to the original value for property.\n    @since 1.7.0\n    @public\n  */\n\n\n  function deprecatingAlias(dependentKey, options) {\n    true && !!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)) && (0, _debug.assert)('You attempted to use @deprecatingAlias as a decorator directly, but it requires `dependentKey` and `options` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)));\n    return (0, _metal.computed)(dependentKey, {\n      get: function (key) {\n        true && !false && (0, _debug.deprecate)(\"Usage of `\" + key + \"` is deprecated, use `\" + dependentKey + \"` instead.\", false, options);\n        return (0, _metal.get)(this, dependentKey);\n      },\n      set: function (key, value) {\n        true && !false && (0, _debug.deprecate)(\"Usage of `\" + key + \"` is deprecated, use `\" + dependentKey + \"` instead.\", false, options);\n        (0, _metal.set)(this, dependentKey, value);\n        return value;\n      }\n    });\n  }\n});","enifed(\"@ember/object/lib/computed/reduce_computed_macros\", [\"exports\", \"@ember/debug\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\"], function (_exports, _debug, _metal, _runtime) {\n  \"use strict\";\n\n  _exports.sum = sum;\n  _exports.max = max;\n  _exports.min = min;\n  _exports.map = map;\n  _exports.mapBy = mapBy;\n  _exports.filter = filter;\n  _exports.filterBy = filterBy;\n  _exports.uniq = uniq;\n  _exports.uniqBy = uniqBy;\n  _exports.intersect = intersect;\n  _exports.setDiff = setDiff;\n  _exports.collect = collect;\n  _exports.sort = sort;\n  _exports.union = void 0;\n\n  /**\n  @module @ember/object\n  */\n  function reduceMacro(dependentKey, callback, initialValue, name) {\n    true && !!/[\\[\\]\\{\\}]/g.test(dependentKey) && (0, _debug.assert)(\"Dependent key passed to `computed.\" + name + \"` shouldn't contain brace expanding pattern.\", !/[\\[\\]\\{\\}]/g.test(dependentKey));\n    return (0, _metal.computed)(dependentKey + \".[]\", function () {\n      var arr = (0, _metal.get)(this, dependentKey);\n\n      if (arr === null || typeof arr !== 'object') {\n        return initialValue;\n      }\n\n      return arr.reduce(callback, initialValue, this);\n    }).readOnly();\n  }\n\n  function arrayMacro(dependentKey, additionalDependentKeys, callback) {\n    // This is a bit ugly\n    var propertyName;\n\n    if (/@each/.test(dependentKey)) {\n      propertyName = dependentKey.replace(/\\.@each.*$/, '');\n    } else {\n      propertyName = dependentKey;\n      dependentKey += '.[]';\n    }\n\n    return _metal.computed.apply(void 0, [dependentKey].concat(additionalDependentKeys, [function () {\n      var value = (0, _metal.get)(this, propertyName);\n\n      if ((0, _runtime.isArray)(value)) {\n        return (0, _runtime.A)(callback.call(this, value));\n      } else {\n        return (0, _runtime.A)();\n      }\n    }])).readOnly();\n  }\n\n  function multiArrayMacro(_dependentKeys, callback, name) {\n    true && !_dependentKeys.every(function (dependentKey) {\n      return !/[\\[\\]\\{\\}]/g.test(dependentKey);\n    }) && (0, _debug.assert)(\"Dependent keys passed to `computed.\" + name + \"` shouldn't contain brace expanding pattern.\", _dependentKeys.every(function (dependentKey) {\n      return !/[\\[\\]\\{\\}]/g.test(dependentKey);\n    }));\n\n    var dependentKeys = _dependentKeys.map(function (key) {\n      return key + \".[]\";\n    });\n\n    return _metal.computed.apply(void 0, dependentKeys.concat([function () {\n      return (0, _runtime.A)(callback.call(this, _dependentKeys));\n    }])).readOnly();\n  }\n  /**\n    A computed property that returns the sum of the values in the dependent array.\n  \n    Example:\n  \n    ```javascript\n    import { sum } from '@ember/object/computed';\n  \n    class Invoice {\n      lineItems = [1.00, 2.50, 9.99];\n  \n      @sum('lineItems') total;\n    }\n  \n    let invoice = new Invoice();\n  \n    invoice.total; // 13.49\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { sum } from '@ember/object/computed';\n  \n    let Invoice = EmberObject.extend({\n      lineItems: [1.00, 2.50, 9.99],\n  \n      total: sum('lineItems')\n    })\n  \n    let invoice = Invoice.create();\n  \n    invoice.total; // 13.49\n    ```\n  \n    @method sum\n    @for @ember/object/computed\n    @static\n    @param {String} dependentKey\n    @return {ComputedProperty} computes the sum of all values in the\n    dependentKey's array\n    @since 1.4.0\n    @public\n  */\n\n\n  function sum(dependentKey) {\n    true && !!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)) && (0, _debug.assert)('You attempted to use @sum as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)));\n    return reduceMacro(dependentKey, function (sum, item) {\n      return sum + item;\n    }, 0, 'sum');\n  }\n  /**\n    A computed property that calculates the maximum value in the dependent array.\n    This will return `-Infinity` when the dependent array is empty.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { mapBy, max } from '@ember/object/computed';\n  \n    class Person {\n      children = [];\n  \n      @mapBy('children', 'age') childAges;\n      @max('childAges') maxChildAge;\n    }\n  \n    let lordByron = new Person();\n  \n    lordByron.maxChildAge; // -Infinity\n  \n    set(lordByron, 'children', [\n      {\n        name: 'Augusta Ada Byron',\n        age: 7\n      }\n    ]);\n    lordByron.maxChildAge; // 7\n  \n    set(lordByron, 'children', [\n      ...lordByron.children,\n      {\n        name: 'Allegra Byron',\n        age: 5\n      }, {\n        name: 'Elizabeth Medora Leigh',\n        age: 8\n      }\n    ]);\n    lordByron.maxChildAge; // 8\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { mapBy, max } from '@ember/object/computed';\n  \n    let Person = EmberObject.extend({\n      childAges: mapBy('children', 'age'),\n      maxChildAge: max('childAges')\n    });\n  \n    let lordByron = Person.create({ children: [] });\n  \n    lordByron.maxChildAge; // -Infinity\n  \n    set(lordByron, 'children', [\n      {\n        name: 'Augusta Ada Byron',\n        age: 7\n      }\n    ]);\n    lordByron.maxChildAge; // 7\n  \n    set(lordByron, 'children', [\n      ...lordByron.children,\n      {\n        name: 'Allegra Byron',\n        age: 5\n      }, {\n        name: 'Elizabeth Medora Leigh',\n        age: 8\n      }\n    ]);\n    lordByron.maxChildAge; // 8\n    ```\n  \n    If the types of the arguments are not numbers, they will be converted to\n    numbers and the type of the return value will always be `Number`. For example,\n    the max of a list of Date objects will be the highest timestamp as a `Number`.\n    This behavior is consistent with `Math.max`.\n  \n    @method max\n    @for @ember/object/computed\n    @static\n    @param {String} dependentKey\n    @return {ComputedProperty} computes the largest value in the dependentKey's\n    array\n    @public\n  */\n\n\n  function max(dependentKey) {\n    true && !!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)) && (0, _debug.assert)('You attempted to use @max as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)));\n    return reduceMacro(dependentKey, function (max, item) {\n      return Math.max(max, item);\n    }, -Infinity, 'max');\n  }\n  /**\n    A computed property that calculates the minimum value in the dependent array.\n    This will return `Infinity` when the dependent array is empty.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { mapBy, min } from '@ember/object/computed';\n  \n    class Person {\n      children = [];\n  \n      @mapBy('children', 'age') childAges;\n      @min('childAges') minChildAge;\n    }\n  \n    let lordByron = Person.create({ children: [] });\n  \n    lordByron.minChildAge; // Infinity\n  \n    set(lordByron, 'children', [\n      {\n        name: 'Augusta Ada Byron',\n        age: 7\n      }\n    ]);\n    lordByron.minChildAge; // 7\n  \n    set(lordByron, 'children', [\n      ...lordByron.children,\n      {\n        name: 'Allegra Byron',\n        age: 5\n      }, {\n        name: 'Elizabeth Medora Leigh',\n        age: 8\n      }\n    ]);\n    lordByron.minChildAge; // 5\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { mapBy, min } from '@ember/object/computed';\n  \n    let Person = EmberObject.extend({\n      childAges: mapBy('children', 'age'),\n      minChildAge: min('childAges')\n    });\n  \n    let lordByron = Person.create({ children: [] });\n  \n    lordByron.minChildAge; // Infinity\n  \n    set(lordByron, 'children', [\n      {\n        name: 'Augusta Ada Byron',\n        age: 7\n      }\n    ]);\n    lordByron.minChildAge; // 7\n  \n    set(lordByron, 'children', [\n      ...lordByron.children,\n      {\n        name: 'Allegra Byron',\n        age: 5\n      }, {\n        name: 'Elizabeth Medora Leigh',\n        age: 8\n      }\n    ]);\n    lordByron.minChildAge; // 5\n    ```\n  \n    If the types of the arguments are not numbers, they will be converted to\n    numbers and the type of the return value will always be `Number`. For example,\n    the min of a list of Date objects will be the lowest timestamp as a `Number`.\n    This behavior is consistent with `Math.min`.\n  \n    @method min\n    @for @ember/object/computed\n    @static\n    @param {String} dependentKey\n    @return {ComputedProperty} computes the smallest value in the dependentKey's array\n    @public\n  */\n\n\n  function min(dependentKey) {\n    true && !!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)) && (0, _debug.assert)('You attempted to use @min as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)));\n    return reduceMacro(dependentKey, function (min, item) {\n      return Math.min(min, item);\n    }, Infinity, 'min');\n  }\n  /**\n    Returns an array mapped via the callback\n  \n    The callback method you provide should have the following signature:\n    - `item` is the current item in the iteration.\n    - `index` is the integer index of the current item in the iteration.\n  \n    ```javascript\n    function mapCallback(item, index);\n    ```\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { map } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(chores) {\n        set(this, 'chores', chores);\n      }\n  \n      @map('chores', function(chore, index) {\n        return `${chore.toUpperCase()}!`;\n      })\n      excitingChores;\n    });\n  \n    let hamster = new Hamster(['clean', 'write more unit tests']);\n  \n    hamster.excitingChores; // ['CLEAN!', 'WRITE MORE UNIT TESTS!']\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { map } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      excitingChores: map('chores', function(chore, index) {\n        return `${chore.toUpperCase()}!`;\n      })\n    });\n  \n    let hamster = Hamster.create({\n      chores: ['clean', 'write more unit tests']\n    });\n  \n    hamster.excitingChores; // ['CLEAN!', 'WRITE MORE UNIT TESTS!']\n    ```\n  \n    You can optionally pass an array of additional dependent keys as the second\n    parameter to the macro, if your map function relies on any external values:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { map } from '@ember/object/computed';\n  \n    class Hamster {\n      shouldUpperCase = false;\n  \n      constructor(chores) {\n        set(this, 'chores', chores);\n      }\n  \n      @map('chores', ['shouldUpperCase'], function(chore, index) {\n        if (this.shouldUpperCase) {\n          return `${chore.toUpperCase()}!`;\n        } else {\n          return `${chore}!`;\n        }\n      })\n      excitingChores;\n    }\n  \n    let hamster = new Hamster(['clean', 'write more unit tests']);\n  \n    hamster.excitingChores; // ['clean!', 'write more unit tests!']\n  \n    set(hamster, 'shouldUpperCase', true);\n    hamster.excitingChores; // ['CLEAN!', 'WRITE MORE UNIT TESTS!']\n    ```\n  \n    @method map\n    @for @ember/object/computed\n    @static\n    @param {String} dependentKey\n    @param {Array} [additionalDependentKeys] optional array of additional\n    dependent keys\n    @param {Function} callback\n    @return {ComputedProperty} an array mapped via the callback\n    @public\n  */\n\n\n  function map(dependentKey, additionalDependentKeys, callback) {\n    true && !!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)) && (0, _debug.assert)('You attempted to use @map as a decorator directly, but it requires atleast `dependentKey` and `callback` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)));\n\n    if (callback === undefined && typeof additionalDependentKeys === 'function') {\n      callback = additionalDependentKeys;\n      additionalDependentKeys = [];\n    }\n\n    true && !(typeof callback === 'function') && (0, _debug.assert)('The final parameter provided to map must be a callback function', typeof callback === 'function');\n    true && !Array.isArray(additionalDependentKeys) && (0, _debug.assert)('The second parameter provided to map must either be the callback or an array of additional dependent keys', Array.isArray(additionalDependentKeys));\n    return arrayMacro(dependentKey, additionalDependentKeys, function (value) {\n      return value.map(callback, this);\n    });\n  }\n  /**\n    Returns an array mapped to the specified key.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { mapBy } from '@ember/object/computed';\n  \n    class Person {\n      children = [];\n  \n      @mapBy('children', 'age') childAges;\n    }\n  \n    let lordByron = new Person();\n  \n    lordByron.childAges; // []\n  \n    set(lordByron, 'children', [\n      {\n        name: 'Augusta Ada Byron',\n        age: 7\n      }\n    ]);\n    lordByron.childAges; // [7]\n  \n    set(lordByron, 'children', [\n      ...lordByron.children,\n      {\n        name: 'Allegra Byron',\n        age: 5\n      }, {\n        name: 'Elizabeth Medora Leigh',\n        age: 8\n      }\n    ]);\n    lordByron.childAges; // [7, 5, 8]\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { mapBy } from '@ember/object/computed';\n  \n    let Person = EmberObject.extend({\n      childAges: mapBy('children', 'age')\n    });\n  \n    let lordByron = Person.create({ children: [] });\n  \n    lordByron.childAges; // []\n  \n    set(lordByron, 'children', [\n      {\n        name: 'Augusta Ada Byron',\n        age: 7\n      }\n    ]);\n    lordByron.childAges; // [7]\n  \n    set(lordByron, 'children', [\n      ...lordByron.children,\n      {\n        name: 'Allegra Byron',\n        age: 5\n      }, {\n        name: 'Elizabeth Medora Leigh',\n        age: 8\n      }\n    ]);\n    lordByron.childAges; // [7, 5, 8]\n    ```\n  \n    @method mapBy\n    @for @ember/object/computed\n    @static\n    @param {String} dependentKey\n    @param {String} propertyKey\n    @return {ComputedProperty} an array mapped to the specified key\n    @public\n  */\n\n\n  function mapBy(dependentKey, propertyKey) {\n    true && !!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)) && (0, _debug.assert)('You attempted to use @mapBy as a decorator directly, but it requires `dependentKey` and `propertyKey` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)));\n    true && !(typeof propertyKey === 'string') && (0, _debug.assert)('`computed.mapBy` expects a property string for its second argument, ' + 'perhaps you meant to use \"map\"', typeof propertyKey === 'string');\n    true && !!/[\\[\\]\\{\\}]/g.test(dependentKey) && (0, _debug.assert)(\"Dependent key passed to `computed.mapBy` shouldn't contain brace expanding pattern.\", !/[\\[\\]\\{\\}]/g.test(dependentKey));\n    return map(dependentKey + \".@each.\" + propertyKey, function (item) {\n      return (0, _metal.get)(item, propertyKey);\n    });\n  }\n  /**\n    Filters the array by the callback.\n  \n    The callback method you provide should have the following signature:\n    - `item` is the current item in the iteration.\n    - `index` is the integer index of the current item in the iteration.\n    - `array` is the dependant array itself.\n  \n    ```javascript\n    function filterCallback(item, index, array);\n    ```\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { filter } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(chores) {\n        set(this, 'chores', chores);\n      }\n  \n      @filter('chores', function(chore, index, array) {\n        return !chore.done;\n      })\n      remainingChores;\n    }\n  \n    let hamster = Hamster.create([\n      { name: 'cook', done: true },\n      { name: 'clean', done: true },\n      { name: 'write more unit tests', done: false }\n    ]);\n  \n    hamster.remainingChores; // [{name: 'write more unit tests', done: false}]\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { filter } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      remainingChores: filter('chores', function(chore, index, array) {\n        return !chore.done;\n      })\n    });\n  \n    let hamster = Hamster.create({\n      chores: [\n        { name: 'cook', done: true },\n        { name: 'clean', done: true },\n        { name: 'write more unit tests', done: false }\n      ]\n    });\n  \n    hamster.remainingChores; // [{name: 'write more unit tests', done: false}]\n    ```\n  \n    You can also use `@each.property` in your dependent key, the callback will\n    still use the underlying array:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { filter } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(chores) {\n        set(this, 'chores', chores);\n      }\n  \n      @filter('chores.@each.done', function(chore, index, array) {\n        return !chore.done;\n      })\n      remainingChores;\n    }\n  \n    let hamster = new Hamster([\n      { name: 'cook', done: true },\n      { name: 'clean', done: true },\n      { name: 'write more unit tests', done: false }\n    ]);\n    hamster.remainingChores; // [{name: 'write more unit tests', done: false}]\n  \n    set(hamster.chores[2], 'done', true);\n    hamster.remainingChores; // []\n    ```\n  \n    Finally, you can optionally pass an array of additional dependent keys as the\n    second parameter to the macro, if your filter function relies on any external\n    values:\n  \n    ```javascript\n    import { filter } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(chores) {\n        set(this, 'chores', chores);\n      }\n  \n      doneKey = 'finished';\n  \n      @filter('chores', ['doneKey'], function(chore, index, array) {\n        return !chore[this.doneKey];\n      })\n      remainingChores;\n    }\n  \n    let hamster = new Hamster([\n      { name: 'cook', finished: true },\n      { name: 'clean', finished: true },\n      { name: 'write more unit tests', finished: false }\n    ]);\n  \n    hamster.remainingChores; // [{name: 'write more unit tests', finished: false}]\n    ```\n  \n    @method filter\n    @for @ember/object/computed\n    @static\n    @param {String} dependentKey\n    @param {Array} [additionalDependentKeys] optional array of additional dependent keys\n    @param {Function} callback\n    @return {ComputedProperty} the filtered array\n    @public\n  */\n\n\n  function filter(dependentKey, additionalDependentKeys, callback) {\n    true && !!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)) && (0, _debug.assert)('You attempted to use @filter as a decorator directly, but it requires atleast `dependentKey` and `callback` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)));\n\n    if (callback === undefined && typeof additionalDependentKeys === 'function') {\n      callback = additionalDependentKeys;\n      additionalDependentKeys = [];\n    }\n\n    true && !(typeof callback === 'function') && (0, _debug.assert)('The final parameter provided to filter must be a callback function', typeof callback === 'function');\n    true && !Array.isArray(additionalDependentKeys) && (0, _debug.assert)('The second parameter provided to filter must either be the callback or an array of additional dependent keys', Array.isArray(additionalDependentKeys));\n    return arrayMacro(dependentKey, additionalDependentKeys, function (value) {\n      return value.filter(callback, this);\n    });\n  }\n  /**\n    Filters the array by the property and value.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { filterBy } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(chores) {\n        set(this, 'chores', chores);\n      }\n  \n      @filterBy('chores', 'done', false) remainingChores;\n    }\n  \n    let hamster = new Hamster([\n      { name: 'cook', done: true },\n      { name: 'clean', done: true },\n      { name: 'write more unit tests', done: false }\n    ]);\n  \n    hamster.remainingChores; // [{ name: 'write more unit tests', done: false }]\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { filterBy } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      remainingChores: filterBy('chores', 'done', false)\n    });\n  \n    let hamster = Hamster.create({\n      chores: [\n        { name: 'cook', done: true },\n        { name: 'clean', done: true },\n        { name: 'write more unit tests', done: false }\n      ]\n    });\n  \n    hamster.remainingChores; // [{ name: 'write more unit tests', done: false }]\n    ```\n  \n    @method filterBy\n    @for @ember/object/computed\n    @static\n    @param {String} dependentKey\n    @param {String} propertyKey\n    @param {*} value\n    @return {ComputedProperty} the filtered array\n    @public\n  */\n\n\n  function filterBy(dependentKey, propertyKey, value) {\n    true && !!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)) && (0, _debug.assert)('You attempted to use @filterBy as a decorator directly, but it requires atleast `dependentKey` and `propertyKey` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)));\n    true && !!/[\\[\\]\\{\\}]/g.test(dependentKey) && (0, _debug.assert)(\"Dependent key passed to `computed.filterBy` shouldn't contain brace expanding pattern.\", !/[\\[\\]\\{\\}]/g.test(dependentKey));\n    var callback;\n\n    if (arguments.length === 2) {\n      callback = function (item) {\n        return (0, _metal.get)(item, propertyKey);\n      };\n    } else {\n      callback = function (item) {\n        return (0, _metal.get)(item, propertyKey) === value;\n      };\n    }\n\n    return filter(dependentKey + \".@each.\" + propertyKey, callback);\n  }\n  /**\n    A computed property which returns a new array with all the unique elements\n    from one or more dependent arrays.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { uniq } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(fruits) {\n        set(this, 'fruits', fruits);\n      }\n  \n      @uniq('fruits') uniqueFruits;\n    }\n  \n    let hamster = new Hamster([\n      'banana',\n      'grape',\n      'kale',\n      'banana'\n    ]);\n  \n    hamster.uniqueFruits; // ['banana', 'grape', 'kale']\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { uniq } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      uniqueFruits: uniq('fruits')\n    });\n  \n    let hamster = Hamster.create({\n      fruits: [\n        'banana',\n        'grape',\n        'kale',\n        'banana'\n      ]\n    });\n  \n    hamster.uniqueFruits; // ['banana', 'grape', 'kale']\n    ```\n  \n    @method uniq\n    @for @ember/object/computed\n    @static\n    @param {String} propertyKey*\n    @return {ComputedProperty} computes a new array with all the\n    unique elements from the dependent array\n    @public\n  */\n\n\n  function uniq() {\n    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n\n    true && !!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)) && (0, _debug.assert)('You attempted to use @uniq/@union as a decorator directly, but it requires atleast one dependent key parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)));\n    return multiArrayMacro(args, function (dependentKeys) {\n      var _this = this;\n\n      var uniq = (0, _runtime.A)();\n      var seen = new Set();\n      dependentKeys.forEach(function (dependentKey) {\n        var value = (0, _metal.get)(_this, dependentKey);\n\n        if ((0, _runtime.isArray)(value)) {\n          value.forEach(function (item) {\n            if (!seen.has(item)) {\n              seen.add(item);\n              uniq.push(item);\n            }\n          });\n        }\n      });\n      return uniq;\n    }, 'uniq');\n  }\n  /**\n    A computed property which returns a new array with all the unique elements\n    from an array, with uniqueness determined by specific key.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { uniqBy } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(fruits) {\n        set(this, 'fruits', fruits);\n      }\n  \n      @uniqBy('fruits', 'id') uniqueFruits;\n    }\n  \n    let hamster = new Hamster([\n      { id: 1, 'banana' },\n      { id: 2, 'grape' },\n      { id: 3, 'peach' },\n      { id: 1, 'banana' }\n    ]);\n  \n    hamster.uniqueFruits; // [ { id: 1, 'banana' }, { id: 2, 'grape' }, { id: 3, 'peach' }]\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { uniqBy } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      uniqueFruits: uniqBy('fruits', 'id')\n    });\n  \n    let hamster = Hamster.create({\n      fruits: [\n        { id: 1, 'banana' },\n        { id: 2, 'grape' },\n        { id: 3, 'peach' },\n        { id: 1, 'banana' }\n      ]\n    });\n  \n    hamster.uniqueFruits; // [ { id: 1, 'banana' }, { id: 2, 'grape' }, { id: 3, 'peach' }]\n    ```\n  \n    @method uniqBy\n    @for @ember/object/computed\n    @static\n    @param {String} dependentKey\n    @param {String} propertyKey\n    @return {ComputedProperty} computes a new array with all the\n    unique elements from the dependent array\n    @public\n  */\n\n\n  function uniqBy(dependentKey, propertyKey) {\n    true && !!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)) && (0, _debug.assert)('You attempted to use @uniqBy as a decorator directly, but it requires `dependentKey` and `propertyKey` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)));\n    true && !!/[\\[\\]\\{\\}]/g.test(dependentKey) && (0, _debug.assert)(\"Dependent key passed to `computed.uniqBy` shouldn't contain brace expanding pattern.\", !/[\\[\\]\\{\\}]/g.test(dependentKey));\n    return (0, _metal.computed)(dependentKey + \".[]\", function () {\n      var list = (0, _metal.get)(this, dependentKey);\n      return (0, _runtime.isArray)(list) ? (0, _runtime.uniqBy)(list, propertyKey) : (0, _runtime.A)();\n    }).readOnly();\n  }\n  /**\n    A computed property which returns a new array with all the unique elements\n    from one or more dependent arrays.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { union } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(fruits, vegetables) {\n        set(this, 'fruits', fruits);\n        set(this, 'vegetables', vegetables);\n      }\n  \n      @union('fruits', 'vegetables') ediblePlants;\n    });\n  \n    let hamster = new, Hamster(\n      [\n        'banana',\n        'grape',\n        'kale',\n        'banana',\n        'tomato'\n      ],\n      [\n        'tomato',\n        'carrot',\n        'lettuce'\n      ]\n    );\n  \n    hamster.uniqueFruits; // ['banana', 'grape', 'kale', 'tomato', 'carrot', 'lettuce']\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { union } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      uniqueFruits: union('fruits', 'vegetables')\n    });\n  \n    let hamster = Hamster.create({\n      fruits: [\n        'banana',\n        'grape',\n        'kale',\n        'banana',\n        'tomato'\n      ],\n      vegetables: [\n        'tomato',\n        'carrot',\n        'lettuce'\n      ]\n    });\n  \n    hamster.uniqueFruits; // ['banana', 'grape', 'kale', 'tomato', 'carrot', 'lettuce']\n    ```\n  \n    @method union\n    @for @ember/object/computed\n    @static\n    @param {String} propertyKey*\n    @return {ComputedProperty} computes a new array with all the unique elements\n    from one or more dependent arrays.\n    @public\n  */\n\n\n  var union = uniq;\n  /**\n    A computed property which returns a new array with all the elements\n    two or more dependent arrays have in common.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { intersect } from '@ember/object/computed';\n  \n    class FriendGroups {\n      constructor(adaFriends, charlesFriends) {\n        set(this, 'adaFriends', adaFriends);\n        set(this, 'charlesFriends', charlesFriends);\n      }\n  \n      @intersect('adaFriends', 'charlesFriends') friendsInCommon;\n    }\n  \n    let groups = new FriendGroups(\n      ['Charles Babbage', 'John Hobhouse', 'William King', 'Mary Somerville'],\n      ['William King', 'Mary Somerville', 'Ada Lovelace', 'George Peacock']\n    );\n  \n    groups.friendsInCommon; // ['William King', 'Mary Somerville']\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { intersect } from '@ember/object/computed';\n  \n    let FriendGroups = EmberObject.extend({\n      friendsInCommon: intersect('adaFriends', 'charlesFriends')\n    });\n  \n    let groups = FriendGroups.create({\n      adaFriends: ['Charles Babbage', 'John Hobhouse', 'William King', 'Mary Somerville'],\n      charlesFriends: ['William King', 'Mary Somerville', 'Ada Lovelace', 'George Peacock']\n    });\n  \n    groups.friendsInCommon; // ['William King', 'Mary Somerville']\n    ```\n  \n    @method intersect\n    @for @ember/object/computed\n    @static\n    @param {String} propertyKey*\n    @return {ComputedProperty} computes a new array with all the duplicated\n    elements from the dependent arrays\n    @public\n  */\n\n  _exports.union = union;\n\n  function intersect() {\n    for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n      args[_key2] = arguments[_key2];\n    }\n\n    true && !!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)) && (0, _debug.assert)('You attempted to use @intersect as a decorator directly, but it requires atleast one dependent key parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)));\n    return multiArrayMacro(args, function (dependentKeys) {\n      var _this2 = this;\n\n      var arrays = dependentKeys.map(function (dependentKey) {\n        var array = (0, _metal.get)(_this2, dependentKey);\n        return (0, _runtime.isArray)(array) ? array : [];\n      });\n      var results = arrays.pop().filter(function (candidate) {\n        for (var i = 0; i < arrays.length; i++) {\n          var found = false;\n          var array = arrays[i];\n\n          for (var j = 0; j < array.length; j++) {\n            if (array[j] === candidate) {\n              found = true;\n              break;\n            }\n          }\n\n          if (found === false) {\n            return false;\n          }\n        }\n\n        return true;\n      });\n      return (0, _runtime.A)(results);\n    }, 'intersect');\n  }\n  /**\n    A computed property which returns a new array with all the properties from the\n    first dependent array that are not in the second dependent array.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { setDiff } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(likes, fruits) {\n        set(this, 'likes', likes);\n        set(this, 'fruits', fruits);\n      }\n  \n      @setDiff('likes', 'fruits') wants;\n    }\n  \n    let hamster = new Hamster(\n      [\n        'banana',\n        'grape',\n        'kale'\n      ],\n      [\n        'grape',\n        'kale',\n      ]\n    );\n  \n    hamster.wants; // ['banana']\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { setDiff } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      wants: setDiff('likes', 'fruits')\n    });\n  \n    let hamster = Hamster.create({\n      likes: [\n        'banana',\n        'grape',\n        'kale'\n      ],\n      fruits: [\n        'grape',\n        'kale',\n      ]\n    });\n  \n    hamster.wants; // ['banana']\n    ```\n  \n    @method setDiff\n    @for @ember/object/computed\n    @static\n    @param {String} setAProperty\n    @param {String} setBProperty\n    @return {ComputedProperty} computes a new array with all the items from the\n    first dependent array that are not in the second dependent array\n    @public\n  */\n\n\n  function setDiff(setAProperty, setBProperty) {\n    true && !!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)) && (0, _debug.assert)('You attempted to use @setDiff as a decorator directly, but it requires atleast one dependent key parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)));\n    true && !(arguments.length === 2) && (0, _debug.assert)('`computed.setDiff` requires exactly two dependent arrays.', arguments.length === 2);\n    true && !(!/[\\[\\]\\{\\}]/g.test(setAProperty) && !/[\\[\\]\\{\\}]/g.test(setBProperty)) && (0, _debug.assert)(\"Dependent keys passed to `computed.setDiff` shouldn't contain brace expanding pattern.\", !/[\\[\\]\\{\\}]/g.test(setAProperty) && !/[\\[\\]\\{\\}]/g.test(setBProperty));\n    return (0, _metal.computed)(setAProperty + \".[]\", setBProperty + \".[]\", function () {\n      var setA = this.get(setAProperty);\n      var setB = this.get(setBProperty);\n\n      if (!(0, _runtime.isArray)(setA)) {\n        return (0, _runtime.A)();\n      }\n\n      if (!(0, _runtime.isArray)(setB)) {\n        return (0, _runtime.A)(setA);\n      }\n\n      return setA.filter(function (x) {\n        return setB.indexOf(x) === -1;\n      });\n    }).readOnly();\n  }\n  /**\n    A computed property that returns the array of values for the provided\n    dependent properties.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { collect } from '@ember/object/computed';\n  \n    class Hamster {\n      @collect('hat', 'shirt') clothes;\n    }\n  \n    let hamster = new Hamster();\n  \n    hamster.clothes; // [null, null]\n  \n    set(hamster, 'hat', 'Camp Hat');\n    set(hamster, 'shirt', 'Camp Shirt');\n    hamster.clothes; // ['Camp Hat', 'Camp Shirt']\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { collect } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      clothes: collect('hat', 'shirt')\n    });\n  \n    let hamster = Hamster.create();\n  \n    hamster.clothes; // [null, null]\n  \n    set(hamster, 'hat', 'Camp Hat');\n    set(hamster, 'shirt', 'Camp Shirt');\n    hamster.clothes; // ['Camp Hat', 'Camp Shirt']\n    ```\n  \n    @method collect\n    @for @ember/object/computed\n    @static\n    @param {String} dependentKey*\n    @return {ComputedProperty} computed property which maps values of all passed\n    in properties to an array.\n    @public\n  */\n\n\n  function collect() {\n    for (var _len3 = arguments.length, dependentKeys = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n      dependentKeys[_key3] = arguments[_key3];\n    }\n\n    true && !!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)) && (0, _debug.assert)('You attempted to use @collect as a decorator directly, but it requires atleast one dependent key parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)));\n    return multiArrayMacro(dependentKeys, function () {\n      var _this3 = this;\n\n      var res = dependentKeys.map(function (key) {\n        var val = (0, _metal.get)(_this3, key);\n        return val === undefined ? null : val;\n      });\n      return (0, _runtime.A)(res);\n    }, 'collect');\n  }\n  /**\n    A computed property which returns a new array with all the properties from the\n    first dependent array sorted based on a property or sort function. The sort\n    macro can be used in two different ways:\n  \n    1. By providing a sort callback function\n    2. By providing an array of keys to sort the array\n  \n    In the first form, the callback method you provide should have the following\n    signature:\n  \n    ```javascript\n    function sortCallback(itemA, itemB);\n    ```\n  \n    - `itemA` the first item to compare.\n    - `itemB` the second item to compare.\n  \n    This function should return negative number (e.g. `-1`) when `itemA` should\n    come before `itemB`. It should return positive number (e.g. `1`) when `itemA`\n    should come after `itemB`. If the `itemA` and `itemB` are equal this function\n    should return `0`.\n  \n    Therefore, if this function is comparing some numeric values, simple `itemA -\n    itemB` or `itemA.get( 'foo' ) - itemB.get( 'foo' )` can be used instead of\n    series of `if`.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { sort } from '@ember/object/computed';\n  \n    class ToDoList {\n      constructor(todos) {\n        set(this, 'todos', todos);\n      }\n  \n      // using a custom sort function\n      @sort('todos', function(a, b){\n        if (a.priority > b.priority) {\n          return 1;\n        } else if (a.priority < b.priority) {\n          return -1;\n        }\n  \n        return 0;\n      })\n      priorityTodos;\n    }\n  \n    let todoList = new ToDoList([\n      { name: 'Unit Test', priority: 2 },\n      { name: 'Documentation', priority: 3 },\n      { name: 'Release', priority: 1 }\n    ]);\n  \n    todoList.priorityTodos; // [{ name:'Release', priority:1 }, { name:'Unit Test', priority:2 }, { name:'Documentation', priority:3 }]\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { sort } from '@ember/object/computed';\n  \n    let ToDoList = EmberObject.extend({\n      // using a custom sort function\n      priorityTodos: sort('todos', function(a, b){\n        if (a.priority > b.priority) {\n          return 1;\n        } else if (a.priority < b.priority) {\n          return -1;\n        }\n  \n        return 0;\n      })\n    });\n  \n    let todoList = ToDoList.create({\n      todos: [\n        { name: 'Unit Test', priority: 2 },\n        { name: 'Documentation', priority: 3 },\n        { name: 'Release', priority: 1 }\n      ]\n    });\n  \n    todoList.priorityTodos; // [{ name:'Release', priority:1 }, { name:'Unit Test', priority:2 }, { name:'Documentation', priority:3 }]\n    ```\n  \n    You can also optionally pass an array of additional dependent keys as the\n    second parameter, if your sort function is dependent on additional values that\n    could changes:\n  \n    ```js\n    import EmberObject, { set } from '@ember/object';\n    import { sort } from '@ember/object/computed';\n  \n    class ToDoList {\n      sortKey = 'priority';\n  \n      constructor(todos) {\n        set(this, 'todos', todos);\n      }\n  \n      // using a custom sort function\n      @sort('todos', ['sortKey'], function(a, b){\n        if (a[this.sortKey] > b[this.sortKey]) {\n          return 1;\n        } else if (a[this.sortKey] < b[this.sortKey]) {\n          return -1;\n        }\n  \n        return 0;\n      })\n      sortedTodos;\n    });\n  \n    let todoList = new ToDoList([\n      { name: 'Unit Test', priority: 2 },\n      { name: 'Documentation', priority: 3 },\n      { name: 'Release', priority: 1 }\n    ]);\n  \n    todoList.priorityTodos; // [{ name:'Release', priority:1 }, { name:'Unit Test', priority:2 }, { name:'Documentation', priority:3 }]\n    ```\n  \n    In the second form, you should provide the key of the array of sort values as\n    the second parameter:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { sort } from '@ember/object/computed';\n  \n    class ToDoList {\n      constructor(todos) {\n        set(this, 'todos', todos);\n      }\n  \n      // using standard ascending sort\n      todosSorting = ['name'];\n      @sort('todos', 'todosSorting') sortedTodos;\n  \n      // using descending sort\n      todosSortingDesc = ['name:desc'];\n      @sort('todos', 'todosSortingDesc') sortedTodosDesc;\n    }\n  \n    let todoList = new ToDoList([\n      { name: 'Unit Test', priority: 2 },\n      { name: 'Documentation', priority: 3 },\n      { name: 'Release', priority: 1 }\n    ]);\n  \n    todoList.sortedTodos; // [{ name:'Documentation', priority:3 }, { name:'Release', priority:1 }, { name:'Unit Test', priority:2 }]\n    todoList.sortedTodosDesc; // [{ name:'Unit Test', priority:2 }, { name:'Release', priority:1 }, { name:'Documentation', priority:3 }]\n    ```\n  \n    @method sort\n    @for @ember/object/computed\n    @static\n    @param {String} itemsKey\n    @param {Array} [additionalDependentKeys] optional array of additional\n    dependent keys\n    @param {String or Function} sortDefinition a dependent key to an array of sort\n    properties (add `:desc` to the arrays sort properties to sort descending) or a\n    function to use when sorting\n    @return {ComputedProperty} computes a new sorted array based on the sort\n    property array or callback function\n    @public\n  */\n\n\n  function sort(itemsKey, additionalDependentKeys, sortDefinition) {\n    true && !!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)) && (0, _debug.assert)('You attempted to use @sort as a decorator directly, but it requires atleast an `itemsKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments)));\n\n    if (true\n    /* DEBUG */\n    ) {\n        var argumentsValid = false;\n\n        if (arguments.length === 2) {\n          argumentsValid = typeof itemsKey === 'string' && (typeof additionalDependentKeys === 'string' || typeof additionalDependentKeys === 'function');\n        }\n\n        if (arguments.length === 3) {\n          argumentsValid = typeof itemsKey === 'string' && Array.isArray(additionalDependentKeys) && typeof sortDefinition === 'function';\n        }\n\n        true && !argumentsValid && (0, _debug.assert)('`computed.sort` can either be used with an array of sort properties or with a sort function. If used with an array of sort properties, it must receive exactly two arguments: the key of the array to sort, and the key of the array of sort properties. If used with a sort function, it may recieve up to three arguments: the key of the array to sort, an optional additional array of dependent keys for the computed property, and the sort function.', argumentsValid);\n      }\n\n    if (sortDefinition === undefined && !Array.isArray(additionalDependentKeys)) {\n      sortDefinition = additionalDependentKeys;\n      additionalDependentKeys = [];\n    }\n\n    if (typeof sortDefinition === 'function') {\n      return customSort(itemsKey, additionalDependentKeys, sortDefinition);\n    } else {\n      return propertySort(itemsKey, sortDefinition);\n    }\n  }\n\n  function customSort(itemsKey, additionalDependentKeys, comparator) {\n    return arrayMacro(itemsKey, additionalDependentKeys, function (value) {\n      var _this4 = this;\n\n      return value.slice().sort(function (x, y) {\n        return comparator.call(_this4, 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\n\n  function propertySort(itemsKey, sortPropertiesKey) {\n    var activeObserversMap = new WeakMap();\n    var sortPropertyDidChangeMap = new WeakMap();\n\n    if (false\n    /* EMBER_METAL_TRACKED_PROPERTIES */\n    ) {\n        var cp = (0, _metal.computed)(itemsKey + \".[]\", sortPropertiesKey + \".[]\", function (key) {\n          var sortProperties = (0, _metal.get)(this, sortPropertiesKey);\n          true && !((0, _runtime.isArray)(sortProperties) && sortProperties.every(function (s) {\n            return typeof s === 'string';\n          })) && (0, _debug.assert)(\"The sort definition for '\" + key + \"' on \" + this + \" must be a function or an array of strings\", (0, _runtime.isArray)(sortProperties) && sortProperties.every(function (s) {\n            return typeof s === 'string';\n          }));\n          var itemsKeyIsAtThis = itemsKey === '@this';\n          var normalizedSortProperties = normalizeSortProperties(sortProperties);\n          var items = itemsKeyIsAtThis ? this : (0, _metal.get)(this, itemsKey);\n\n          if (!(0, _runtime.isArray)(items)) {\n            return (0, _runtime.A)();\n          }\n\n          if (normalizedSortProperties.length === 0) {\n            return (0, _runtime.A)(items.slice());\n          } else {\n            return sortByNormalizedSortProperties(items, normalizedSortProperties);\n          }\n        }).readOnly();\n        (0, _metal.descriptorForDecorator)(cp).auto();\n        return cp;\n      } else {\n      return (0, _metal.computed)(sortPropertiesKey + \".[]\", function (key) {\n        var _this5 = this;\n\n        var sortProperties = (0, _metal.get)(this, sortPropertiesKey);\n        true && !((0, _runtime.isArray)(sortProperties) && sortProperties.every(function (s) {\n          return typeof s === 'string';\n        })) && (0, _debug.assert)(\"The sort definition for '\" + key + \"' on \" + this + \" must be a function or an array of strings\", (0, _runtime.isArray)(sortProperties) && sortProperties.every(function (s) {\n          return typeof s === 'string';\n        })); // Add/remove property observers as required.\n\n        var activeObservers = activeObserversMap.get(this);\n\n        if (!sortPropertyDidChangeMap.has(this)) {\n          sortPropertyDidChangeMap.set(this, function () {\n            (0, _metal.notifyPropertyChange)(this, key);\n          });\n        }\n\n        var sortPropertyDidChange = sortPropertyDidChangeMap.get(this);\n\n        if (activeObservers !== undefined) {\n          activeObservers.forEach(function (path) {\n            return (0, _metal.removeObserver)(_this5, path, sortPropertyDidChange);\n          });\n        }\n\n        var itemsKeyIsAtThis = itemsKey === '@this';\n        var normalizedSortProperties = normalizeSortProperties(sortProperties);\n\n        if (normalizedSortProperties.length === 0) {\n          var path = itemsKeyIsAtThis ? \"[]\" : itemsKey + \".[]\";\n          (0, _metal.addObserver)(this, path, sortPropertyDidChange);\n          activeObservers = [path];\n        } else {\n          activeObservers = normalizedSortProperties.map(function (_ref) {\n            var prop = _ref[0];\n            var path = itemsKeyIsAtThis ? \"@each.\" + prop : itemsKey + \".@each.\" + prop;\n            (0, _metal.addObserver)(_this5, path, sortPropertyDidChange);\n            return path;\n          });\n        }\n\n        activeObserversMap.set(this, activeObservers);\n        var items = itemsKeyIsAtThis ? this : (0, _metal.get)(this, itemsKey);\n\n        if (!(0, _runtime.isArray)(items)) {\n          return (0, _runtime.A)();\n        }\n\n        if (normalizedSortProperties.length === 0) {\n          return (0, _runtime.A)(items.slice());\n        } else {\n          return sortByNormalizedSortProperties(items, normalizedSortProperties);\n        }\n      }).readOnly();\n    }\n  }\n\n  function normalizeSortProperties(sortProperties) {\n    return sortProperties.map(function (p) {\n      var _p$split = p.split(':'),\n          prop = _p$split[0],\n          direction = _p$split[1];\n\n      direction = direction || 'asc';\n      return [prop, direction];\n    });\n  }\n\n  function sortByNormalizedSortProperties(items, normalizedSortProperties) {\n    return (0, _runtime.A)(items.slice().sort(function (itemA, itemB) {\n      for (var i = 0; i < normalizedSortProperties.length; i++) {\n        var _normalizedSortProper = normalizedSortProperties[i],\n            prop = _normalizedSortProper[0],\n            direction = _normalizedSortProper[1];\n        var result = (0, _runtime.compare)((0, _metal.get)(itemA, prop), (0, _metal.get)(itemB, prop));\n\n        if (result !== 0) {\n          return direction === 'desc' ? -1 * result : result;\n        }\n      }\n\n      return 0;\n    }));\n  }\n});","enifed(\"@ember/polyfills/index\", [\"exports\", \"@ember/deprecated-features\", \"@ember/polyfills/lib/merge\", \"@ember/polyfills/lib/assign\", \"@ember/polyfills/lib/weak_set\"], function (_exports, _deprecatedFeatures, _merge, _assign, _weak_set) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"assign\", {\n    enumerable: true,\n    get: function () {\n      return _assign.default;\n    }\n  });\n  Object.defineProperty(_exports, \"assignPolyfill\", {\n    enumerable: true,\n    get: function () {\n      return _assign.assign;\n    }\n  });\n  Object.defineProperty(_exports, \"_WeakSet\", {\n    enumerable: true,\n    get: function () {\n      return _weak_set.default;\n    }\n  });\n  _exports.merge = void 0;\n  var merge = _deprecatedFeatures.MERGE ? _merge.default : undefined; // Export `assignPolyfill` for testing\n\n  _exports.merge = merge;\n});","enifed(\"@ember/polyfills/lib/assign\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.assign = assign;\n  _exports.default = void 0;\n\n  /**\n   @module @ember/polyfills\n  */\n\n  /**\n    Copy properties from a source object to a target object. Source arguments remain unchanged.\n  \n    ```javascript\n    import { assign } from '@ember/polyfills';\n  \n    var a = { first: 'Yehuda' };\n    var b = { last: 'Katz' };\n    var c = { company: 'Other Company' };\n    var d = { company: 'Tilde Inc.' };\n    assign(a, b, c, d); // a === { first: 'Yehuda', last: 'Katz', company: 'Tilde Inc.' };\n    ```\n  \n    @method assign\n    @for @ember/polyfills\n    @param {Object} target The object to assign into\n    @param {Object} ...args The objects to copy properties from\n    @return {Object}\n    @public\n    @static\n  */\n  function assign(target) {\n    for (var i = 1; i < arguments.length; i++) {\n      var arg = arguments[i];\n\n      if (!arg) {\n        continue;\n      }\n\n      var updates = Object.keys(arg);\n\n      for (var _i = 0; _i < updates.length; _i++) {\n        var prop = updates[_i];\n        target[prop] = arg[prop];\n      }\n    }\n\n    return target;\n  } // Note: We use the bracket notation so\n  //       that the babel plugin does not\n  //       transform it.\n  // https://www.npmjs.com/package/babel-plugin-transform-object-assign\n\n\n  var _assign = Object.assign;\n\n  var _default = _assign || assign;\n\n  _exports.default = _default;\n});","enifed(\"@ember/polyfills/lib/merge\", [\"exports\", \"@ember/debug\"], function (_exports, _debug) {\n  \"use strict\";\n\n  _exports.default = merge;\n\n  /**\n    Merge the contents of two objects together into the first object.\n  \n    ```javascript\n    import { merge } from '@ember/polyfills';\n  \n    merge({ first: 'Tom' }, { last: 'Dale' }); // { first: 'Tom', last: 'Dale' }\n    var a = { first: 'Yehuda' };\n    var b = { last: 'Katz' };\n    merge(a, b); // a == { first: 'Yehuda', last: 'Katz' }, b == { last: 'Katz' }\n    ```\n  \n    @method merge\n    @static\n    @for @ember/polyfills\n    @param {Object} original The object to merge into\n    @param {Object} updates The object to copy properties from\n    @return {Object}\n    @deprecated\n    @public\n  */\n  function merge(original, updates) {\n    true && !false && (0, _debug.deprecate)('Use of `merge` has been deprecated. Please use `assign` instead.', false, {\n      id: 'ember-polyfills.deprecate-merge',\n      until: '4.0.0',\n      url: 'https://emberjs.com/deprecations/v3.x/#toc_ember-polyfills-deprecate-merge'\n    });\n\n    if (updates === null || typeof updates !== 'object') {\n      return original;\n    }\n\n    var props = Object.keys(updates);\n    var prop;\n\n    for (var i = 0; i < props.length; i++) {\n      prop = props[i];\n      original[prop] = updates[prop];\n    }\n\n    return original;\n  }\n});","enifed(\"@ember/polyfills/lib/weak_set\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /* globals WeakSet */\n  var _default = typeof WeakSet === 'function' ? WeakSet :\n  /*#__PURE__*/\n  function () {\n    function WeakSetPolyFill() {\n      this._map = new WeakMap();\n    }\n\n    var _proto = WeakSetPolyFill.prototype;\n\n    _proto.add = function add(val) {\n      this._map.set(val, true);\n\n      return this;\n    };\n\n    _proto.delete = function _delete(val) {\n      return this._map.delete(val);\n    };\n\n    _proto.has = function has(val) {\n      return this._map.has(val);\n    };\n\n    return WeakSetPolyFill;\n  }();\n\n  _exports.default = _default;\n});","enifed(\"@ember/runloop/index\", [\"exports\", \"@ember/debug\", \"@ember/-internals/error-handling\", \"@ember/-internals/metal\", \"backburner\"], function (_exports, _debug, _errorHandling, _metal, _backburner) {\n  \"use strict\";\n\n  _exports.getCurrentRunLoop = getCurrentRunLoop;\n  _exports.run = run;\n  _exports.join = join;\n  _exports.begin = begin;\n  _exports.end = end;\n  _exports.schedule = schedule;\n  _exports.hasScheduledTimers = hasScheduledTimers;\n  _exports.cancelTimers = cancelTimers;\n  _exports.later = later;\n  _exports.once = once;\n  _exports.scheduleOnce = scheduleOnce;\n  _exports.next = next;\n  _exports.cancel = cancel;\n  _exports.debounce = debounce;\n  _exports.throttle = throttle;\n  _exports.bind = _exports._globalsRun = _exports.backburner = _exports.queues = _exports._rsvpErrorQueue = void 0;\n  var currentRunLoop = null;\n\n  function getCurrentRunLoop() {\n    return currentRunLoop;\n  }\n\n  function onBegin(current) {\n    currentRunLoop = current;\n  }\n\n  function onEnd(current, next) {\n    currentRunLoop = next;\n\n    if (false\n    /* EMBER_METAL_TRACKED_PROPERTIES */\n    ) {\n        (0, _metal.flushInvalidActiveObservers)();\n      }\n  }\n\n  var flush;\n\n  if (false\n  /* EMBER_METAL_TRACKED_PROPERTIES */\n  ) {\n      flush = function (queueName, next) {\n        if (queueName === 'render' || queueName === _rsvpErrorQueue) {\n          (0, _metal.flushInvalidActiveObservers)();\n        }\n\n        next();\n      };\n    }\n\n  var _rsvpErrorQueue = (\"\" + Math.random() + Date.now()).replace('.', '');\n  /**\n    Array of named queues. This array determines the order in which queues\n    are flushed at the end of the RunLoop. You can define your own queues by\n    simply adding the queue name to this array. Normally you should not need\n    to inspect or modify this property.\n  \n    @property queues\n    @type Array\n    @default ['actions', 'destroy']\n    @private\n  */\n\n\n  _exports._rsvpErrorQueue = _rsvpErrorQueue;\n  var queues = ['actions', // used in router transitions to prevent unnecessary loading state entry\n  // if all context promises resolve on the 'actions' queue first\n  'routerTransitions', 'render', 'afterRender', 'destroy', // used to re-throw unhandled RSVP rejection errors specifically in this\n  // position to avoid breaking anything rendered in the other sections\n  _rsvpErrorQueue];\n  _exports.queues = queues;\n  var backburner = new _backburner.default(queues, {\n    defaultQueue: 'actions',\n    onBegin: onBegin,\n    onEnd: onEnd,\n    onErrorTarget: _errorHandling.onErrorTarget,\n    onErrorMethod: 'onerror',\n    flush: flush\n  });\n  /**\n   @module @ember/runloop\n  */\n  // ..........................................................\n  // run - this is ideally the only public API the dev sees\n  //\n\n  /**\n    Runs the passed target and method inside of a RunLoop, ensuring any\n    deferred actions including bindings and views updates are flushed at the\n    end.\n  \n    Normally you should not need to invoke this method yourself. However if\n    you are implementing raw event handlers when interfacing with other\n    libraries or plugins, you should probably wrap all of your code inside this\n    call.\n  \n    ```javascript\n    import { run } from '@ember/runloop';\n  \n    run(function() {\n      // code to be executed within a RunLoop\n    });\n    ```\n    @method run\n    @for @ember/runloop\n    @static\n    @param {Object} [target] target of method to call\n    @param {Function|String} method Method to invoke.\n      May be a function or a string. If you pass a string\n      then it will be looked up on the passed target.\n    @param {Object} [args*] Any additional arguments you wish to pass to the method.\n    @return {Object} return value from invoking the passed function.\n    @public\n  */\n\n  _exports.backburner = backburner;\n\n  function run() {\n    return backburner.run.apply(backburner, arguments);\n  } // used for the Ember.run global only\n\n\n  var _globalsRun = run.bind(null);\n  /**\n    If no run-loop is present, it creates a new one. If a run loop is\n    present it will queue itself to run on the existing run-loops action\n    queue.\n  \n    Please note: This is not for normal usage, and should be used sparingly.\n  \n    If invoked when not within a run loop:\n  \n    ```javascript\n    import { join } from '@ember/runloop';\n  \n    join(function() {\n      // creates a new run-loop\n    });\n    ```\n  \n    Alternatively, if called within an existing run loop:\n  \n    ```javascript\n    import { run, join } from '@ember/runloop';\n  \n    run(function() {\n      // creates a new run-loop\n  \n      join(function() {\n        // joins with the existing run-loop, and queues for invocation on\n        // the existing run-loops action queue.\n      });\n    });\n    ```\n  \n    @method join\n    @static\n    @for @ember/runloop\n    @param {Object} [target] target of method to call\n    @param {Function|String} method Method to invoke.\n      May be a function or a string. If you pass a string\n      then it will be looked up on the passed target.\n    @param {Object} [args*] Any additional arguments you wish to pass to the method.\n    @return {Object} Return value from invoking the passed function. Please note,\n    when called within an existing loop, no return value is possible.\n    @public\n  */\n\n\n  _exports._globalsRun = _globalsRun;\n\n  function join() {\n    return backburner.join.apply(backburner, arguments);\n  }\n  /**\n    Allows you to specify which context to call the specified function in while\n    adding the execution of that function to the Ember run loop. This ability\n    makes this method a great way to asynchronously integrate third-party libraries\n    into your Ember application.\n  \n    `bind` takes two main arguments, the desired context and the function to\n    invoke in that context. Any additional arguments will be supplied as arguments\n    to the function that is passed in.\n  \n    Let's use the creation of a TinyMCE component as an example. Currently,\n    TinyMCE provides a setup configuration option we can use to do some processing\n    after the TinyMCE instance is initialized but before it is actually rendered.\n    We can use that setup option to do some additional setup for our component.\n    The component itself could look something like the following:\n  \n    ```app/components/rich-text-editor.js\n    import Component from '@ember/component';\n    import { on } from '@ember/object/evented';\n    import { bind } from '@ember/runloop';\n  \n    export default Component.extend({\n      initializeTinyMCE: on('didInsertElement', function() {\n        tinymce.init({\n          selector: '#' + this.$().prop('id'),\n          setup: bind(this, this.setupEditor)\n        });\n      }),\n  \n      didInsertElement() {\n        tinymce.init({\n          selector: '#' + this.$().prop('id'),\n          setup: bind(this, this.setupEditor)\n        });\n      }\n  \n      setupEditor(editor) {\n        this.set('editor', editor);\n  \n        editor.on('change', function() {\n          console.log('content changed!');\n        });\n      }\n    });\n    ```\n  \n    In this example, we use `bind` to bind the setupEditor method to the\n    context of the RichTextEditor component and to have the invocation of that\n    method be safely handled and executed by the Ember run loop.\n  \n    @method bind\n    @static\n    @for @ember/runloop\n    @param {Object} [target] target of method to call\n    @param {Function|String} method Method to invoke.\n      May be a function or a string. If you pass a string\n      then it will be looked up on the passed target.\n    @param {Object} [args*] Any additional arguments you wish to pass to the method.\n    @return {Function} returns a new function that will always have a particular context\n    @since 1.4.0\n    @public\n  */\n\n\n  var bind = function () {\n    for (var _len = arguments.length, curried = new Array(_len), _key = 0; _key < _len; _key++) {\n      curried[_key] = arguments[_key];\n    }\n\n    true && !function (methodOrTarget, methodOrArg) {\n      // Applies the same logic as backburner parseArgs for detecting if a method\n      // is actually being passed.\n      var length = arguments.length;\n\n      if (length === 0) {\n        return false;\n      } else if (length === 1) {\n        return typeof methodOrTarget === 'function';\n      } else {\n        var type = typeof methodOrArg;\n        return type === 'function' || // second argument is a function\n        methodOrTarget !== null && type === 'string' && methodOrArg in methodOrTarget || // second argument is the name of a method in first argument\n        typeof methodOrTarget === 'function' //first argument is a function\n        ;\n      }\n    }.apply(void 0, curried) && (0, _debug.assert)('could not find a suitable method to bind', function (methodOrTarget, methodOrArg) {\n      var length = arguments.length;\n\n      if (length === 0) {\n        return false;\n      } else if (length === 1) {\n        return typeof methodOrTarget === 'function';\n      } else {\n        var type = typeof methodOrArg;\n        return type === 'function' || methodOrTarget !== null && type === 'string' && methodOrArg in methodOrTarget || typeof methodOrTarget === 'function';\n      }\n    }.apply(void 0, curried));\n    return function () {\n      for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n        args[_key2] = arguments[_key2];\n      }\n\n      return join.apply(void 0, curried.concat(args));\n    };\n  };\n  /**\n    Begins a new RunLoop. Any deferred actions invoked after the begin will\n    be buffered until you invoke a matching call to `end()`. This is\n    a lower-level way to use a RunLoop instead of using `run()`.\n  \n    ```javascript\n    import { begin, end } from '@ember/runloop';\n  \n    begin();\n    // code to be executed within a RunLoop\n    end();\n    ```\n  \n    @method begin\n    @static\n    @for @ember/runloop\n    @return {void}\n    @public\n  */\n\n\n  _exports.bind = bind;\n\n  function begin() {\n    backburner.begin();\n  }\n  /**\n    Ends a RunLoop. This must be called sometime after you call\n    `begin()` to flush any deferred actions. This is a lower-level way\n    to use a RunLoop instead of using `run()`.\n  \n    ```javascript\n    import { begin, end } from '@ember/runloop';\n  \n    begin();\n    // code to be executed within a RunLoop\n    end();\n    ```\n  \n    @method end\n    @static\n    @for @ember/runloop\n    @return {void}\n    @public\n  */\n\n\n  function end() {\n    backburner.end();\n  }\n  /**\n    Adds the passed target/method and any optional arguments to the named\n    queue to be executed at the end of the RunLoop. If you have not already\n    started a RunLoop when calling this method one will be started for you\n    automatically.\n  \n    At the end of a RunLoop, any methods scheduled in this way will be invoked.\n    Methods will be invoked in an order matching the named queues defined in\n    the `queues` property.\n  \n    ```javascript\n    import { schedule } from '@ember/runloop';\n  \n    schedule('afterRender', this, function() {\n      // this will be executed in the 'afterRender' queue\n      console.log('scheduled on afterRender queue');\n    });\n  \n    schedule('actions', this, function() {\n      // this will be executed in the 'actions' queue\n      console.log('scheduled on actions queue');\n    });\n  \n    // Note the functions will be run in order based on the run queues order.\n    // Output would be:\n    //   scheduled on actions queue\n    //   scheduled on afterRender queue\n    ```\n  \n    @method schedule\n    @static\n    @for @ember/runloop\n    @param {String} queue The name of the queue to schedule against. Default queues is 'actions'\n    @param {Object} [target] target object to use as the context when invoking a method.\n    @param {String|Function} method The method to invoke. If you pass a string it\n      will be resolved on the target object at the time the scheduled item is\n      invoked allowing you to change the target function.\n    @param {Object} [arguments*] Optional arguments to be passed to the queued method.\n    @return {*} Timer information for use in canceling, see `cancel`.\n    @public\n  */\n\n\n  function schedule()\n  /* queue, target, method */\n  {\n    return backburner.schedule.apply(backburner, arguments);\n  } // Used by global test teardown\n\n\n  function hasScheduledTimers() {\n    return backburner.hasTimers();\n  } // Used by global test teardown\n\n\n  function cancelTimers() {\n    backburner.cancelTimers();\n  }\n  /**\n    Invokes the passed target/method and optional arguments after a specified\n    period of time. The last parameter of this method must always be a number\n    of milliseconds.\n  \n    You should use this method whenever you need to run some action after a\n    period of time instead of using `setTimeout()`. This method will ensure that\n    items that expire during the same script execution cycle all execute\n    together, which is often more efficient than using a real setTimeout.\n  \n    ```javascript\n    import { later } from '@ember/runloop';\n  \n    later(myContext, function() {\n      // code here will execute within a RunLoop in about 500ms with this == myContext\n    }, 500);\n    ```\n  \n    @method later\n    @static\n    @for @ember/runloop\n    @param {Object} [target] target of method to invoke\n    @param {Function|String} method The method to invoke.\n      If you pass a string it will be resolved on the\n      target at the time the method is invoked.\n    @param {Object} [args*] Optional arguments to pass to the timeout.\n    @param {Number} wait Number of milliseconds to wait.\n    @return {*} Timer information for use in canceling, see `cancel`.\n    @public\n  */\n\n\n  function later()\n  /*target, method*/\n  {\n    return backburner.later.apply(backburner, arguments);\n  }\n  /**\n   Schedule a function to run one time during the current RunLoop. This is equivalent\n    to calling `scheduleOnce` with the \"actions\" queue.\n  \n    @method once\n    @static\n    @for @ember/runloop\n    @param {Object} [target] The target of the method to invoke.\n    @param {Function|String} method The method to invoke.\n      If you pass a string it will be resolved on the\n      target at the time the method is invoked.\n    @param {Object} [args*] Optional arguments to pass to the timeout.\n    @return {Object} Timer information for use in canceling, see `cancel`.\n    @public\n  */\n\n\n  function once() {\n    for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n      args[_key3] = arguments[_key3];\n    }\n\n    args.unshift('actions');\n    return backburner.scheduleOnce.apply(backburner, args);\n  }\n  /**\n    Schedules a function to run one time in a given queue of the current RunLoop.\n    Calling this method with the same queue/target/method combination will have\n    no effect (past the initial call).\n  \n    Note that although you can pass optional arguments these will not be\n    considered when looking for duplicates. New arguments will replace previous\n    calls.\n  \n    ```javascript\n    import { run, scheduleOnce } from '@ember/runloop';\n  \n    function sayHi() {\n      console.log('hi');\n    }\n  \n    run(function() {\n      scheduleOnce('afterRender', myContext, sayHi);\n      scheduleOnce('afterRender', myContext, sayHi);\n      // sayHi will only be executed once, in the afterRender queue of the RunLoop\n    });\n    ```\n  \n    Also note that for `scheduleOnce` to prevent additional calls, you need to\n    pass the same function instance. The following case works as expected:\n  \n    ```javascript\n    function log() {\n      console.log('Logging only once');\n    }\n  \n    function scheduleIt() {\n      scheduleOnce('actions', myContext, log);\n    }\n  \n    scheduleIt();\n    scheduleIt();\n    ```\n  \n    But this other case will schedule the function multiple times:\n  \n    ```javascript\n    import { scheduleOnce } from '@ember/runloop';\n  \n    function scheduleIt() {\n      scheduleOnce('actions', myContext, function() {\n        console.log('Closure');\n      });\n    }\n  \n    scheduleIt();\n    scheduleIt();\n  \n    // \"Closure\" will print twice, even though we're using `scheduleOnce`,\n    // because the function we pass to it won't match the\n    // previously scheduled operation.\n    ```\n  \n    Available queues, and their order, can be found at `queues`\n  \n    @method scheduleOnce\n    @static\n    @for @ember/runloop\n    @param {String} [queue] The name of the queue to schedule against. Default queues is 'actions'.\n    @param {Object} [target] The target of the method to invoke.\n    @param {Function|String} method The method to invoke.\n      If you pass a string it will be resolved on the\n      target at the time the method is invoked.\n    @param {Object} [args*] Optional arguments to pass to the timeout.\n    @return {Object} Timer information for use in canceling, see `cancel`.\n    @public\n  */\n\n\n  function scheduleOnce()\n  /* queue, target, method*/\n  {\n    return backburner.scheduleOnce.apply(backburner, arguments);\n  }\n  /**\n    Schedules an item to run from within a separate run loop, after\n    control has been returned to the system. This is equivalent to calling\n    `later` with a wait time of 1ms.\n  \n    ```javascript\n    import { next } from '@ember/runloop';\n  \n    next(myContext, function() {\n      // code to be executed in the next run loop,\n      // which will be scheduled after the current one\n    });\n    ```\n  \n    Multiple operations scheduled with `next` will coalesce\n    into the same later run loop, along with any other operations\n    scheduled by `later` that expire right around the same\n    time that `next` operations will fire.\n  \n    Note that there are often alternatives to using `next`.\n    For instance, if you'd like to schedule an operation to happen\n    after all DOM element operations have completed within the current\n    run loop, you can make use of the `afterRender` run loop queue (added\n    by the `ember-views` package, along with the preceding `render` queue\n    where all the DOM element operations happen).\n  \n    Example:\n  \n    ```app/components/my-component.js\n    import Component from '@ember/component';\n    import { scheduleOnce } from '@ember/runloop';\n  \n    export Component.extend({\n      didInsertElement() {\n        this._super(...arguments);\n        scheduleOnce('afterRender', this, 'processChildElements');\n      },\n  \n      processChildElements() {\n        // ... do something with component's child component\n        // elements after they've finished rendering, which\n        // can't be done within this component's\n        // `didInsertElement` hook because that gets run\n        // before the child elements have been added to the DOM.\n      }\n    });\n    ```\n  \n    One benefit of the above approach compared to using `next` is\n    that you will be able to perform DOM/CSS operations before unprocessed\n    elements are rendered to the screen, which may prevent flickering or\n    other artifacts caused by delaying processing until after rendering.\n  \n    The other major benefit to the above approach is that `next`\n    introduces an element of non-determinism, which can make things much\n    harder to test, due to its reliance on `setTimeout`; it's much harder\n    to guarantee the order of scheduled operations when they are scheduled\n    outside of the current run loop, i.e. with `next`.\n  \n    @method next\n    @static\n    @for @ember/runloop\n    @param {Object} [target] target of method to invoke\n    @param {Function|String} method The method to invoke.\n      If you pass a string it will be resolved on the\n      target at the time the method is invoked.\n    @param {Object} [args*] Optional arguments to pass to the timeout.\n    @return {Object} Timer information for use in canceling, see `cancel`.\n    @public\n  */\n\n\n  function next() {\n    for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n      args[_key4] = arguments[_key4];\n    }\n\n    args.push(1);\n    return backburner.later.apply(backburner, args);\n  }\n  /**\n    Cancels a scheduled item. Must be a value returned by `later()`,\n    `once()`, `scheduleOnce()`, `next()`, `debounce()`, or\n    `throttle()`.\n  \n    ```javascript\n    import {\n      next,\n      cancel,\n      later,\n      scheduleOnce,\n      once,\n      throttle,\n      debounce\n    } from '@ember/runloop';\n  \n    let runNext = next(myContext, function() {\n      // will not be executed\n    });\n  \n    cancel(runNext);\n  \n    let runLater = later(myContext, function() {\n      // will not be executed\n    }, 500);\n  \n    cancel(runLater);\n  \n    let runScheduleOnce = scheduleOnce('afterRender', myContext, function() {\n      // will not be executed\n    });\n  \n    cancel(runScheduleOnce);\n  \n    let runOnce = once(myContext, function() {\n      // will not be executed\n    });\n  \n    cancel(runOnce);\n  \n    let throttle = throttle(myContext, function() {\n      // will not be executed\n    }, 1, false);\n  \n    cancel(throttle);\n  \n    let debounce = debounce(myContext, function() {\n      // will not be executed\n    }, 1);\n  \n    cancel(debounce);\n  \n    let debounceImmediate = debounce(myContext, function() {\n      // will be executed since we passed in true (immediate)\n    }, 100, true);\n  \n    // the 100ms delay until this method can be called again will be canceled\n    cancel(debounceImmediate);\n    ```\n  \n    @method cancel\n    @static\n    @for @ember/runloop\n    @param {Object} timer Timer object to cancel\n    @return {Boolean} true if canceled or false/undefined if it wasn't found\n    @public\n  */\n\n\n  function cancel(timer) {\n    return backburner.cancel(timer);\n  }\n  /**\n    Delay calling the target method until the debounce period has elapsed\n    with no additional debounce calls. If `debounce` is called again before\n    the specified time has elapsed, the timer is reset and the entire period\n    must pass again before the target method is called.\n  \n    This method should be used when an event may be called multiple times\n    but the action should only be called once when the event is done firing.\n    A common example is for scroll events where you only want updates to\n    happen once scrolling has ceased.\n  \n    ```javascript\n    import { debounce } from '@ember/runloop';\n  \n    function whoRan() {\n      console.log(this.name + ' ran.');\n    }\n  \n    let myContext = { name: 'debounce' };\n  \n    debounce(myContext, whoRan, 150);\n  \n    // less than 150ms passes\n    debounce(myContext, whoRan, 150);\n  \n    // 150ms passes\n    // whoRan is invoked with context myContext\n    // console logs 'debounce ran.' one time.\n    ```\n  \n    Immediate allows you to run the function immediately, but debounce\n    other calls for this function until the wait time has elapsed. If\n    `debounce` is called again before the specified time has elapsed,\n    the timer is reset and the entire period must pass again before\n    the method can be called again.\n  \n    ```javascript\n    import { debounce } from '@ember/runloop';\n  \n    function whoRan() {\n      console.log(this.name + ' ran.');\n    }\n  \n    let myContext = { name: 'debounce' };\n  \n    debounce(myContext, whoRan, 150, true);\n  \n    // console logs 'debounce ran.' one time immediately.\n    // 100ms passes\n    debounce(myContext, whoRan, 150, true);\n  \n    // 150ms passes and nothing else is logged to the console and\n    // the debouncee is no longer being watched\n    debounce(myContext, whoRan, 150, true);\n  \n    // console logs 'debounce ran.' one time immediately.\n    // 150ms passes and nothing else is logged to the console and\n    // the debouncee is no longer being watched\n    ```\n  \n    @method debounce\n    @static\n    @for @ember/runloop\n    @param {Object} [target] target of method to invoke\n    @param {Function|String} method The method to invoke.\n      May be a function or a string. If you pass a string\n      then it will be looked up on the passed target.\n    @param {Object} [args*] Optional arguments to pass to the timeout.\n    @param {Number} wait Number of milliseconds to wait.\n    @param {Boolean} immediate Trigger the function on the leading instead\n      of the trailing edge of the wait interval. Defaults to false.\n    @return {Array} Timer information for use in canceling, see `cancel`.\n    @public\n  */\n\n\n  function debounce() {\n    return backburner.debounce.apply(backburner, arguments);\n  }\n  /**\n    Ensure that the target method is never called more frequently than\n    the specified spacing period. The target method is called immediately.\n  \n    ```javascript\n    import { throttle } from '@ember/runloop';\n  \n    function whoRan() {\n      console.log(this.name + ' ran.');\n    }\n  \n    let myContext = { name: 'throttle' };\n  \n    throttle(myContext, whoRan, 150);\n    // whoRan is invoked with context myContext\n    // console logs 'throttle ran.'\n  \n    // 50ms passes\n    throttle(myContext, whoRan, 150);\n  \n    // 50ms passes\n    throttle(myContext, whoRan, 150);\n  \n    // 150ms passes\n    throttle(myContext, whoRan, 150);\n    // whoRan is invoked with context myContext\n    // console logs 'throttle ran.'\n    ```\n  \n    @method throttle\n    @static\n    @for @ember/runloop\n    @param {Object} [target] target of method to invoke\n    @param {Function|String} method The method to invoke.\n      May be a function or a string. If you pass a string\n      then it will be looked up on the passed target.\n    @param {Object} [args*] Optional arguments to pass to the timeout.\n    @param {Number} spacing Number of milliseconds to space out requests.\n    @param {Boolean} immediate Trigger the function on the leading instead\n      of the trailing edge of the wait interval. Defaults to true.\n    @return {Array} Timer information for use in canceling, see `cancel`.\n    @public\n  */\n\n\n  function throttle() {\n    return backburner.throttle.apply(backburner, arguments);\n  }\n});","enifed(\"@ember/service/index\", [\"exports\", \"@ember/-internals/runtime\", \"@ember/-internals/metal\"], function (_exports, _runtime, _metal) {\n  \"use strict\";\n\n  _exports.inject = inject;\n  _exports.default = void 0;\n\n  /**\n   @module @ember/service\n   @public\n   */\n\n  /**\n    Creates a property that lazily looks up a service in the container. There are\n    no restrictions as to what objects a service can be injected into.\n  \n    Example:\n  \n    ```app/routes/application.js\n    import Route from '@ember/routing/route';\n    import { inject as service } from '@ember/service';\n  \n    export default class ApplicationRoute extends Route {\n      @service('auth') authManager;\n  \n      model() {\n        return this.authManager.findCurrentUser();\n      }\n    }\n    ```\n  \n    Classic Class Example:\n  \n    ```app/routes/application.js\n    import Route from '@ember/routing/route';\n    import { inject as service } from '@ember/service';\n  \n    export default Route.extend({\n      authManager: service('auth'),\n  \n      model() {\n        return this.get('authManager').findCurrentUser();\n      }\n    });\n    ```\n  \n    This example will create an `authManager` property on the application route\n    that looks up the `auth` service in the container, making it easily accessible\n    in the `model` hook.\n  \n    @method inject\n    @static\n    @since 1.10.0\n    @for @ember/service\n    @param {String} name (optional) name of the service to inject, defaults to\n           the property's name\n    @return {ComputedDecorator} injection decorator instance\n    @public\n  */\n  function inject() {\n    return _metal.inject.apply(void 0, ['service'].concat(Array.prototype.slice.call(arguments)));\n  }\n  /**\n    @class Service\n    @extends EmberObject\n    @since 1.10.0\n    @public\n  */\n\n\n  var Service = _runtime.FrameworkObject.extend();\n\n  Service.reopenClass({\n    isServiceFactory: true\n  });\n\n  if (true\n  /* EMBER_FRAMEWORK_OBJECT_OWNER_ARGUMENT */\n  ) {\n      (0, _runtime.setFrameworkClass)(Service);\n    }\n\n  var _default = Service;\n  _exports.default = _default;\n});","enifed(\"@ember/string/index\", [\"exports\", \"@ember/string/lib/string_registry\", \"@ember/-internals/environment\", \"@ember/-internals/utils\"], function (_exports, _string_registry, _environment, _utils) {\n  \"use strict\";\n\n  _exports.loc = loc;\n  _exports.w = w;\n  _exports.decamelize = decamelize;\n  _exports.dasherize = dasherize;\n  _exports.camelize = camelize;\n  _exports.classify = classify;\n  _exports.underscore = underscore;\n  _exports.capitalize = capitalize;\n  Object.defineProperty(_exports, \"_getStrings\", {\n    enumerable: true,\n    get: function () {\n      return _string_registry.getStrings;\n    }\n  });\n  Object.defineProperty(_exports, \"_setStrings\", {\n    enumerable: true,\n    get: function () {\n      return _string_registry.setStrings;\n    }\n  });\n\n  /**\n  @module @ember/string\n  */\n  var STRING_DASHERIZE_REGEXP = /[ _]/g;\n  var STRING_DASHERIZE_CACHE = new _utils.Cache(1000, function (key) {\n    return decamelize(key).replace(STRING_DASHERIZE_REGEXP, '-');\n  });\n  var STRING_CAMELIZE_REGEXP_1 = /(\\-|\\_|\\.|\\s)+(.)?/g;\n  var STRING_CAMELIZE_REGEXP_2 = /(^|\\/)([A-Z])/g;\n  var CAMELIZE_CACHE = new _utils.Cache(1000, function (key) {\n    return key.replace(STRING_CAMELIZE_REGEXP_1, function (_match, _separator, chr) {\n      return chr ? chr.toUpperCase() : '';\n    }).replace(STRING_CAMELIZE_REGEXP_2, function (match\n    /*, separator, chr */\n    ) {\n      return match.toLowerCase();\n    });\n  });\n  var STRING_CLASSIFY_REGEXP_1 = /^(\\-|_)+(.)?/;\n  var STRING_CLASSIFY_REGEXP_2 = /(.)(\\-|\\_|\\.|\\s)+(.)?/g;\n  var STRING_CLASSIFY_REGEXP_3 = /(^|\\/|\\.)([a-z])/g;\n  var CLASSIFY_CACHE = new _utils.Cache(1000, function (str) {\n    var replace1 = function (_match, _separator, chr) {\n      return chr ? \"_\" + chr.toUpperCase() : '';\n    };\n\n    var replace2 = function (_match, initialChar, _separator, chr) {\n      return initialChar + (chr ? chr.toUpperCase() : '');\n    };\n\n    var parts = str.split('/');\n\n    for (var i = 0; i < parts.length; i++) {\n      parts[i] = parts[i].replace(STRING_CLASSIFY_REGEXP_1, replace1).replace(STRING_CLASSIFY_REGEXP_2, replace2);\n    }\n\n    return parts.join('/').replace(STRING_CLASSIFY_REGEXP_3, function (match\n    /*, separator, chr */\n    ) {\n      return match.toUpperCase();\n    });\n  });\n  var STRING_UNDERSCORE_REGEXP_1 = /([a-z\\d])([A-Z]+)/g;\n  var STRING_UNDERSCORE_REGEXP_2 = /\\-|\\s+/g;\n  var UNDERSCORE_CACHE = new _utils.Cache(1000, function (str) {\n    return str.replace(STRING_UNDERSCORE_REGEXP_1, '$1_$2').replace(STRING_UNDERSCORE_REGEXP_2, '_').toLowerCase();\n  });\n  var STRING_CAPITALIZE_REGEXP = /(^|\\/)([a-z\\u00C0-\\u024F])/g;\n  var CAPITALIZE_CACHE = new _utils.Cache(1000, function (str) {\n    return str.replace(STRING_CAPITALIZE_REGEXP, function (match\n    /*, separator, chr */\n    ) {\n      return match.toUpperCase();\n    });\n  });\n  var STRING_DECAMELIZE_REGEXP = /([a-z\\d])([A-Z])/g;\n  var DECAMELIZE_CACHE = new _utils.Cache(1000, function (str) {\n    return str.replace(STRING_DECAMELIZE_REGEXP, '$1_$2').toLowerCase();\n  });\n  /**\n    Defines string helper methods including string formatting and localization.\n    Unless `EmberENV.EXTEND_PROTOTYPES.String` is `false` these methods will also be\n    added to the `String.prototype` as well.\n  \n    @class String\n    @public\n  */\n\n  function _fmt(str, formats) {\n    // first, replace any ORDERED replacements.\n    var idx = 0; // the current index for non-numerical replacements\n\n    return str.replace(/%@([0-9]+)?/g, function (_s, argIndex) {\n      var i = argIndex ? parseInt(argIndex, 10) - 1 : idx++;\n      var r = i < formats.length ? formats[i] : undefined;\n      return typeof r === 'string' ? r : r === null ? '(null)' : r === undefined ? '' : String(r);\n    });\n  }\n  /**\n    Formats the passed string, but first looks up the string in the localized\n    strings hash. This is a convenient way to localize text.\n  \n    Note that it is traditional but not required to prefix localized string\n    keys with an underscore or other character so you can easily identify\n    localized strings.\n  \n    ```javascript\n    import { loc } from '@ember/string';\n  \n    Ember.STRINGS = {\n      '_Hello World': 'Bonjour le monde',\n      '_Hello %@ %@': 'Bonjour %@ %@'\n    };\n  \n    loc(\"_Hello World\");  // 'Bonjour le monde';\n    loc(\"_Hello %@ %@\", [\"John\", \"Smith\"]);  // \"Bonjour John Smith\";\n    ```\n  \n    @method loc\n    @param {String} str The string to format\n    @param {Array} formats Optional array of parameters to interpolate into string.\n    @return {String} formatted string\n    @public\n  */\n\n\n  function loc(str, formats) {\n    if (!Array.isArray(formats) || arguments.length > 2) {\n      formats = Array.prototype.slice.call(arguments, 1);\n    }\n\n    str = (0, _string_registry.getString)(str) || str;\n    return _fmt(str, formats);\n  }\n  /**\n    Splits a string into separate units separated by spaces, eliminating any\n    empty strings in the process. This is a convenience method for split that\n    is mostly useful when applied to the `String.prototype`.\n  \n    ```javascript\n    import { w } from '@ember/string';\n  \n    w(\"alpha beta gamma\").forEach(function(key) {\n      console.log(key);\n    });\n  \n    // > alpha\n    // > beta\n    // > gamma\n    ```\n  \n    @method w\n    @param {String} str The string to split\n    @return {Array} array containing the split strings\n    @public\n  */\n\n\n  function w(str) {\n    return str.split(/\\s+/);\n  }\n  /**\n    Converts a camelized string into all lower case separated by underscores.\n  \n    ```javascript\n    import { decamelize } from '@ember/string';\n  \n    decamelize('innerHTML');          // 'inner_html'\n    decamelize('action_name');        // 'action_name'\n    decamelize('css-class-name');     // 'css-class-name'\n    decamelize('my favorite items');  // 'my favorite items'\n    ```\n  \n    @method decamelize\n    @param {String} str The string to decamelize.\n    @return {String} the decamelized string.\n    @public\n  */\n\n\n  function decamelize(str) {\n    return DECAMELIZE_CACHE.get(str);\n  }\n  /**\n    Replaces underscores, spaces, or camelCase with dashes.\n  \n    ```javascript\n    import { dasherize } from '@ember/string';\n  \n    dasherize('innerHTML');                // 'inner-html'\n    dasherize('action_name');              // 'action-name'\n    dasherize('css-class-name');           // 'css-class-name'\n    dasherize('my favorite items');        // 'my-favorite-items'\n    dasherize('privateDocs/ownerInvoice';  // 'private-docs/owner-invoice'\n    ```\n  \n    @method dasherize\n    @param {String} str The string to dasherize.\n    @return {String} the dasherized string.\n    @public\n  */\n\n\n  function dasherize(str) {\n    return STRING_DASHERIZE_CACHE.get(str);\n  }\n  /**\n    Returns the lowerCamelCase form of a string.\n  \n    ```javascript\n    import { camelize } from '@ember/string';\n  \n    camelize('innerHTML');                   // 'innerHTML'\n    camelize('action_name');                 // 'actionName'\n    camelize('css-class-name');              // 'cssClassName'\n    camelize('my favorite items');           // 'myFavoriteItems'\n    camelize('My Favorite Items');           // 'myFavoriteItems'\n    camelize('private-docs/owner-invoice');  // 'privateDocs/ownerInvoice'\n    ```\n  \n    @method camelize\n    @param {String} str The string to camelize.\n    @return {String} the camelized string.\n    @public\n  */\n\n\n  function camelize(str) {\n    return CAMELIZE_CACHE.get(str);\n  }\n  /**\n    Returns the UpperCamelCase form of a string.\n  \n    ```javascript\n    import { classify } from '@ember/string';\n  \n    classify('innerHTML');                   // 'InnerHTML'\n    classify('action_name');                 // 'ActionName'\n    classify('css-class-name');              // 'CssClassName'\n    classify('my favorite items');           // 'MyFavoriteItems'\n    classify('private-docs/owner-invoice');  // 'PrivateDocs/OwnerInvoice'\n    ```\n  \n    @method classify\n    @param {String} str the string to classify\n    @return {String} the classified string\n    @public\n  */\n\n\n  function classify(str) {\n    return CLASSIFY_CACHE.get(str);\n  }\n  /**\n    More general than decamelize. Returns the lower\\_case\\_and\\_underscored\n    form of a string.\n  \n    ```javascript\n    import { underscore } from '@ember/string';\n  \n    underscore('innerHTML');                 // 'inner_html'\n    underscore('action_name');               // 'action_name'\n    underscore('css-class-name');            // 'css_class_name'\n    underscore('my favorite items');         // 'my_favorite_items'\n    underscore('privateDocs/ownerInvoice');  // 'private_docs/owner_invoice'\n    ```\n  \n    @method underscore\n    @param {String} str The string to underscore.\n    @return {String} the underscored string.\n    @public\n  */\n\n\n  function underscore(str) {\n    return UNDERSCORE_CACHE.get(str);\n  }\n  /**\n    Returns the Capitalized form of a string\n  \n    ```javascript\n    import { capitalize } from '@ember/string';\n  \n    capitalize('innerHTML')                 // 'InnerHTML'\n    capitalize('action_name')               // 'Action_name'\n    capitalize('css-class-name')            // 'Css-class-name'\n    capitalize('my favorite items')         // 'My favorite items'\n    capitalize('privateDocs/ownerInvoice'); // 'PrivateDocs/ownerInvoice'\n    ```\n  \n    @method capitalize\n    @param {String} str The string to capitalize.\n    @return {String} The capitalized string.\n    @public\n  */\n\n\n  function capitalize(str) {\n    return CAPITALIZE_CACHE.get(str);\n  }\n\n  if (_environment.ENV.EXTEND_PROTOTYPES.String) {\n    Object.defineProperties(String.prototype, {\n      /**\n        See [String.w](/api/ember/release/classes/String/methods/w?anchor=w).\n             @method w\n        @for @ember/string\n        @static\n        @private\n      */\n      w: {\n        configurable: true,\n        enumerable: false,\n        writeable: true,\n        value: function () {\n          return w(this);\n        }\n      },\n\n      /**\n        See [String.loc](/api/ember/release/classes/String/methods/loc?anchor=loc).\n             @method loc\n        @for @ember/string\n        @static\n        @private\n      */\n      loc: {\n        configurable: true,\n        enumerable: false,\n        writeable: true,\n        value: function () {\n          for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n            args[_key] = arguments[_key];\n          }\n\n          return loc(this, args);\n        }\n      },\n\n      /**\n        See [String.camelize](/api/ember/release/classes/String/methods/camelize?anchor=camelize).\n             @method camelize\n        @for @ember/string\n        @static\n        @private\n      */\n      camelize: {\n        configurable: true,\n        enumerable: false,\n        writeable: true,\n        value: function () {\n          return camelize(this);\n        }\n      },\n\n      /**\n        See [String.decamelize](/api/ember/release/classes/String/methods/decamelize?anchor=decamelize).\n             @method decamelize\n        @for @ember/string\n        @static\n        @private\n      */\n      decamelize: {\n        configurable: true,\n        enumerable: false,\n        writeable: true,\n        value: function () {\n          return decamelize(this);\n        }\n      },\n\n      /**\n        See [String.dasherize](/api/ember/release/classes/String/methods/dasherize?anchor=dasherize).\n             @method dasherize\n        @for @ember/string\n        @static\n        @private\n      */\n      dasherize: {\n        configurable: true,\n        enumerable: false,\n        writeable: true,\n        value: function () {\n          return dasherize(this);\n        }\n      },\n\n      /**\n        See [String.underscore](/api/ember/release/classes/String/methods/underscore?anchor=underscore).\n             @method underscore\n        @for @ember/string\n        @static\n        @private\n      */\n      underscore: {\n        configurable: true,\n        enumerable: false,\n        writeable: true,\n        value: function () {\n          return underscore(this);\n        }\n      },\n\n      /**\n        See [String.classify](/api/ember/release/classes/String/methods/classify?anchor=classify).\n             @method classify\n        @for @ember/string\n        @static\n        @private\n      */\n      classify: {\n        configurable: true,\n        enumerable: false,\n        writeable: true,\n        value: function () {\n          return classify(this);\n        }\n      },\n\n      /**\n        See [String.capitalize](/api/ember/release/classes/String/methods/capitalize?anchor=capitalize).\n             @method capitalize\n        @for @ember/string\n        @static\n        @private\n      */\n      capitalize: {\n        configurable: true,\n        enumerable: false,\n        writeable: true,\n        value: function () {\n          return capitalize(this);\n        }\n      }\n    });\n  }\n});","enifed(\"@ember/string/lib/string_registry\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.setStrings = setStrings;\n  _exports.getStrings = getStrings;\n  _exports.getString = getString;\n  // STATE within a module is frowned upon, this exists\n  // to support Ember.STRINGS but shield ember internals from this legacy global\n  // API.\n  var STRINGS = {};\n\n  function setStrings(strings) {\n    STRINGS = strings;\n  }\n\n  function getStrings() {\n    return STRINGS;\n  }\n\n  function getString(name) {\n    return STRINGS[name];\n  }\n});","enifed(\"@glimmer/encoder\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.InstructionEncoder = void 0;\n\n  var InstructionEncoder =\n  /*#__PURE__*/\n  function () {\n    function InstructionEncoder(buffer) {\n      this.buffer = buffer;\n      this.typePos = 0;\n      this.size = 0;\n    }\n\n    var _proto = InstructionEncoder.prototype;\n\n    _proto.encode = function encode(type, machine) {\n      if (type > 255\n      /* TYPE_SIZE */\n      ) {\n          throw new Error(\"Opcode type over 8-bits. Got \" + type + \".\");\n        }\n\n      this.buffer.push(type | machine | arguments.length - 2 << 8\n      /* ARG_SHIFT */\n      );\n      this.typePos = this.buffer.length - 1;\n\n      for (var i = 2; i < arguments.length; i++) {\n        var op = arguments[i];\n\n        if (typeof op === 'number' && op > 4294967295\n        /* MAX_SIZE */\n        ) {\n            throw new Error(\"Operand over 32-bits. Got \" + op + \".\");\n          }\n\n        this.buffer.push(op);\n      }\n\n      this.size = this.buffer.length;\n    };\n\n    _proto.patch = function 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    _proto.patchWith = function patchWith(position, target, operand) {\n      if (this.buffer[position + 1] === -1) {\n        this.buffer[position + 1] = target;\n        this.buffer[position + 2] = operand;\n      } else {\n        throw new Error('Trying to patch operand in populated slot instead of a reserved slot.');\n      }\n    };\n\n    return InstructionEncoder;\n  }();\n\n  _exports.InstructionEncoder = InstructionEncoder;\n});","enifed(\"@glimmer/low-level\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.Stack = _exports.Storage = void 0;\n\n  var Storage =\n  /*#__PURE__*/\n  function () {\n    function Storage() {\n      this.array = [];\n      this.next = 0;\n    }\n\n    var _proto = Storage.prototype;\n\n    _proto.add = function add(element) {\n      var slot = this.next,\n          array = this.array;\n\n      if (slot === array.length) {\n        this.next++;\n      } else {\n        var prev = array[slot];\n        this.next = prev;\n      }\n\n      this.array[slot] = element;\n      return slot;\n    };\n\n    _proto.deref = function deref(pointer) {\n      return this.array[pointer];\n    };\n\n    _proto.drop = function drop(pointer) {\n      this.array[pointer] = this.next;\n      this.next = pointer;\n    };\n\n    return Storage;\n  }();\n\n  _exports.Storage = Storage;\n\n  var Stack =\n  /*#__PURE__*/\n  function () {\n    function Stack() {\n      var vec = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n      this.vec = vec;\n    }\n\n    var _proto2 = Stack.prototype;\n\n    _proto2.clone = function clone() {\n      return new Stack(this.vec.slice());\n    };\n\n    _proto2.sliceFrom = function sliceFrom(start) {\n      return new Stack(this.vec.slice(start));\n    };\n\n    _proto2.slice = function slice(start, end) {\n      return new Stack(this.vec.slice(start, end));\n    };\n\n    _proto2.copy = function copy(from, to) {\n      this.vec[to] = this.vec[from];\n    } // TODO: how to model u64 argument?\n    ;\n\n    _proto2.writeRaw = function writeRaw(pos, value) {\n      // TODO: Grow?\n      this.vec[pos] = value;\n    } // TODO: partially decoded enum?\n    ;\n\n    _proto2.getRaw = function getRaw(pos) {\n      return this.vec[pos];\n    };\n\n    _proto2.reset = function reset() {\n      this.vec.length = 0;\n    };\n\n    _proto2.len = function len() {\n      return this.vec.length;\n    };\n\n    return Stack;\n  }();\n\n  _exports.Stack = Stack;\n});","enifed(\"@glimmer/node\", [\"exports\", \"ember-babel\", \"@glimmer/runtime\"], function (_exports, _emberBabel, _runtime) {\n  \"use strict\";\n\n  _exports.serializeBuilder = serializeBuilder;\n  _exports.NodeDOMTreeConstruction = void 0;\n\n  var NodeDOMTreeConstruction =\n  /*#__PURE__*/\n  function (_DOMTreeConstruction) {\n    (0, _emberBabel.inheritsLoose)(NodeDOMTreeConstruction, _DOMTreeConstruction);\n\n    function NodeDOMTreeConstruction(doc) {\n      return _DOMTreeConstruction.call(this, doc) || this;\n    } // override to prevent usage of `this.document` until after the constructor\n\n\n    var _proto = NodeDOMTreeConstruction.prototype;\n\n    _proto.setupUselessElement = function setupUselessElement() {} // override to avoid SVG detection/work when in node (this is not needed in SSR)\n    ;\n\n    _proto.createElement = function createElement(tag) {\n      return this.document.createElement(tag);\n    } // override to avoid namespace shenanigans when in node (this is not needed in SSR)\n    ;\n\n    _proto.setAttribute = function setAttribute(element, name, value) {\n      element.setAttribute(name, value);\n    };\n\n    return NodeDOMTreeConstruction;\n  }(_runtime.DOMTreeConstruction);\n\n  _exports.NodeDOMTreeConstruction = NodeDOMTreeConstruction;\n  var TEXT_NODE = 3;\n\n  function currentNode(cursor) {\n    var element = cursor.element,\n        nextSibling = cursor.nextSibling;\n\n    if (nextSibling === null) {\n      return element.lastChild;\n    } else {\n      return nextSibling.previousSibling;\n    }\n  }\n\n  var SerializeBuilder =\n  /*#__PURE__*/\n  function (_NewElementBuilder) {\n    (0, _emberBabel.inheritsLoose)(SerializeBuilder, _NewElementBuilder);\n\n    function SerializeBuilder() {\n      var _this;\n\n      _this = _NewElementBuilder.apply(this, arguments) || this;\n      _this.serializeBlockDepth = 0;\n      return _this;\n    }\n\n    var _proto2 = SerializeBuilder.prototype;\n\n    _proto2.__openBlock = function __openBlock() {\n      var depth = this.serializeBlockDepth++;\n\n      this.__appendComment(\"%+b:\" + depth + \"%\");\n\n      _NewElementBuilder.prototype.__openBlock.call(this);\n    };\n\n    _proto2.__closeBlock = function __closeBlock() {\n      _NewElementBuilder.prototype.__closeBlock.call(this);\n\n      this.__appendComment(\"%-b:\" + --this.serializeBlockDepth + \"%\");\n    };\n\n    _proto2.__appendHTML = function __appendHTML(html) {\n      // Do we need to run the html tokenizer here?\n      var first = this.__appendComment('%glmr%');\n\n      if (this.element.tagName === 'TABLE') {\n        var openIndex = html.indexOf('<');\n\n        if (openIndex > -1) {\n          var tr = html.slice(openIndex + 1, openIndex + 3);\n\n          if (tr === 'tr') {\n            html = \"<tbody>\" + html + \"</tbody>\";\n          }\n        }\n      }\n\n      if (html === '') {\n        this.__appendComment('% %');\n      } else {\n        _NewElementBuilder.prototype.__appendHTML.call(this, html);\n      }\n\n      var last = this.__appendComment('%glmr%');\n\n      return new _runtime.ConcreteBounds(this.element, first, last);\n    };\n\n    _proto2.__appendText = function __appendText(string) {\n      var current = currentNode(this);\n\n      if (string === '') {\n        return this.__appendComment('% %');\n      } else if (current && current.nodeType === TEXT_NODE) {\n        this.__appendComment('%|%');\n      }\n\n      return _NewElementBuilder.prototype.__appendText.call(this, string);\n    };\n\n    _proto2.closeElement = function closeElement() {\n      if (this.element['needsExtraClose'] === true) {\n        this.element['needsExtraClose'] = false;\n\n        _NewElementBuilder.prototype.closeElement.call(this);\n      }\n\n      return _NewElementBuilder.prototype.closeElement.call(this);\n    };\n\n    _proto2.openElement = function openElement(tag) {\n      if (tag === 'tr') {\n        if (this.element.tagName !== 'TBODY') {\n          this.openElement('tbody'); // This prevents the closeBlock comment from being re-parented\n          // under the auto inserted tbody. Rehydration builder needs to\n          // account for the insertion since it is injected here and not\n          // really in the template.\n\n          this.constructing['needsExtraClose'] = true;\n          this.flushElement(null);\n        }\n      }\n\n      return _NewElementBuilder.prototype.openElement.call(this, tag);\n    };\n\n    _proto2.pushRemoteElement = function pushRemoteElement(element, cursorId) {\n      var nextSibling = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n      var dom = this.dom;\n      var script = dom.createElement('script');\n      script.setAttribute('glmr', cursorId);\n      dom.insertBefore(element, script, nextSibling);\n\n      _NewElementBuilder.prototype.pushRemoteElement.call(this, element, cursorId, nextSibling);\n    };\n\n    return SerializeBuilder;\n  }(_runtime.NewElementBuilder);\n\n  function serializeBuilder(env, cursor) {\n    return SerializeBuilder.forInitialRender(env, cursor);\n  }\n});","enifed(\"@glimmer/opcode-compiler\", [\"exports\", \"@ember/polyfills\", \"ember-babel\", \"@glimmer/util\", \"@glimmer/vm\", \"@glimmer/wire-format\", \"@glimmer/encoder\", \"@glimmer/program\"], function (_exports, _polyfills, _emberBabel, _util, _vm, _wireFormat, _encoder, _program) {\n  \"use strict\";\n\n  _exports.compile = compile;\n  _exports.templateFactory = templateFactory;\n  _exports.debug = debug;\n  _exports.debugSlice = debugSlice;\n  _exports.logOpcode = logOpcode;\n  _exports.PLACEHOLDER_HANDLE = _exports.WrappedBuilder = _exports.PartialDefinition = _exports.StdOpcodeBuilder = _exports.OpcodeBuilder = _exports.EagerOpcodeBuilder = _exports.LazyOpcodeBuilder = _exports.CompilableProgram = _exports.CompilableBlock = _exports.debugCompiler = _exports.AbstractCompiler = _exports.LazyCompiler = _exports.Macros = _exports.ATTRS_BLOCK = void 0;\n  var PLACEHOLDER_HANDLE = -1;\n  _exports.PLACEHOLDER_HANDLE = PLACEHOLDER_HANDLE;\n  var Ops$1;\n\n  (function (Ops$$1) {\n    Ops$$1[Ops$$1[\"OpenComponentElement\"] = 0] = \"OpenComponentElement\";\n    Ops$$1[Ops$$1[\"DidCreateElement\"] = 1] = \"DidCreateElement\";\n    Ops$$1[Ops$$1[\"DidRenderLayout\"] = 2] = \"DidRenderLayout\";\n    Ops$$1[Ops$$1[\"Debugger\"] = 3] = \"Debugger\";\n  })(Ops$1 || (Ops$1 = {}));\n\n  var Ops$2 = _wireFormat.Ops;\n  var ATTRS_BLOCK = '&attrs';\n  _exports.ATTRS_BLOCK = ATTRS_BLOCK;\n\n  var Compilers =\n  /*#__PURE__*/\n  function () {\n    function Compilers() {\n      var offset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n      this.offset = offset;\n      this.names = (0, _util.dict)();\n      this.funcs = [];\n    }\n\n    var _proto = Compilers.prototype;\n\n    _proto.add = function add(name, func) {\n      this.funcs.push(func);\n      this.names[name] = this.funcs.length - 1;\n    };\n\n    _proto.compile = function compile(sexp, builder) {\n      var name = sexp[this.offset];\n      var index = this.names[name];\n      var func = this.funcs[index];\n      func(sexp, builder);\n    };\n\n    return Compilers;\n  }();\n\n  var _statementCompiler;\n\n  function statementCompiler() {\n    if (_statementCompiler) {\n      return _statementCompiler;\n    }\n\n    var STATEMENTS = _statementCompiler = new Compilers();\n    STATEMENTS.add(Ops$2.Text, function (sexp, builder) {\n      builder.text(sexp[1]);\n    });\n    STATEMENTS.add(Ops$2.Comment, function (sexp, builder) {\n      builder.comment(sexp[1]);\n    });\n    STATEMENTS.add(Ops$2.CloseElement, function (_sexp, builder) {\n      builder.closeElement();\n    });\n    STATEMENTS.add(Ops$2.FlushElement, function (_sexp, builder) {\n      builder.flushElement();\n    });\n    STATEMENTS.add(Ops$2.Modifier, function (sexp, builder) {\n      var referrer = builder.referrer;\n      var name = sexp[1],\n          params = sexp[2],\n          hash = sexp[3];\n      var handle = builder.compiler.resolveModifier(name, referrer);\n\n      if (handle !== null) {\n        builder.modifier(handle, params, hash);\n      } else {\n        throw new Error(\"Compile Error \" + name + \" is not a modifier: Helpers may not be used in the element form.\");\n      }\n    });\n    STATEMENTS.add(Ops$2.StaticAttr, function (sexp, builder) {\n      var name = sexp[1],\n          value = sexp[2],\n          namespace = sexp[3];\n      builder.staticAttr(name, namespace, value);\n    });\n    STATEMENTS.add(Ops$2.DynamicAttr, function (sexp, builder) {\n      dynamicAttr(sexp, false, builder);\n    });\n    STATEMENTS.add(Ops$2.ComponentAttr, function (sexp, builder) {\n      componentAttr(sexp, false, builder);\n    });\n    STATEMENTS.add(Ops$2.TrustingAttr, function (sexp, builder) {\n      dynamicAttr(sexp, true, builder);\n    });\n    STATEMENTS.add(Ops$2.TrustingComponentAttr, function (sexp, builder) {\n      componentAttr(sexp, true, builder);\n    });\n    STATEMENTS.add(Ops$2.OpenElement, function (sexp, builder) {\n      var tag = sexp[1],\n          simple = sexp[2];\n\n      if (!simple) {\n        builder.putComponentOperations();\n      }\n\n      builder.openPrimitiveElement(tag);\n    });\n    STATEMENTS.add(Ops$2.DynamicComponent, function (sexp, builder) {\n      var definition = sexp[1],\n          attrs = sexp[2],\n          args = sexp[3],\n          template = sexp[4];\n      var block = builder.template(template);\n      var attrsBlock = null;\n\n      if (attrs.length > 0) {\n        attrsBlock = builder.inlineBlock({\n          statements: attrs,\n          parameters: _util.EMPTY_ARRAY\n        });\n      }\n\n      builder.dynamicComponent(definition, attrsBlock, null, args, false, block, null);\n    });\n    STATEMENTS.add(Ops$2.Component, function (sexp, builder) {\n      var tag = sexp[1],\n          attrs = sexp[2],\n          args = sexp[3],\n          block = sexp[4];\n      var referrer = builder.referrer;\n\n      var _builder$compiler$res = builder.compiler.resolveLayoutForTag(tag, referrer),\n          handle = _builder$compiler$res.handle,\n          capabilities = _builder$compiler$res.capabilities,\n          compilable = _builder$compiler$res.compilable;\n\n      if (handle !== null && capabilities !== null) {\n        var attrsBlock = null;\n\n        if (attrs.length > 0) {\n          attrsBlock = builder.inlineBlock({\n            statements: attrs,\n            parameters: _util.EMPTY_ARRAY\n          });\n        }\n\n        var child = builder.template(block);\n\n        if (compilable) {\n          builder.pushComponentDefinition(handle);\n          builder.invokeStaticComponent(capabilities, compilable, attrsBlock, null, args, false, child && child);\n        } else {\n          builder.pushComponentDefinition(handle);\n          builder.invokeComponent(capabilities, attrsBlock, null, args, false, child && child);\n        }\n      } else {\n        throw new Error(\"Compile Error: Cannot find component \" + tag);\n      }\n    });\n    STATEMENTS.add(Ops$2.Partial, function (sexp, builder) {\n      var name = sexp[1],\n          evalInfo = sexp[2];\n      var referrer = builder.referrer;\n      builder.replayableIf({\n        args: function () {\n          builder.expr(name);\n          builder.dup();\n          return 2;\n        },\n        ifTrue: function () {\n          builder.invokePartial(referrer, builder.evalSymbols(), evalInfo);\n          builder.popScope();\n          builder.popFrame(); // FIXME: WAT\n        }\n      });\n    });\n    STATEMENTS.add(Ops$2.Yield, function (sexp, builder) {\n      var to = sexp[1],\n          params = sexp[2];\n      builder.yield(to, params);\n    });\n    STATEMENTS.add(Ops$2.AttrSplat, function (sexp, builder) {\n      var to = sexp[1];\n      builder.yield(to, []);\n    });\n    STATEMENTS.add(Ops$2.Debugger, function (sexp, builder) {\n      var evalInfo = sexp[1];\n      builder.debugger(builder.evalSymbols(), evalInfo);\n    });\n    STATEMENTS.add(Ops$2.ClientSideStatement, function (sexp, builder) {\n      CLIENT_SIDE.compile(sexp, builder);\n    });\n    STATEMENTS.add(Ops$2.Append, function (sexp, builder) {\n      var value = sexp[1],\n          trusting = sexp[2];\n      var returned = builder.compileInline(sexp) || value;\n      if (returned === true) return;\n      builder.guardedAppend(value, trusting);\n    });\n    STATEMENTS.add(Ops$2.Block, function (sexp, builder) {\n      var name = sexp[1],\n          params = sexp[2],\n          hash = sexp[3],\n          _template = sexp[4],\n          _inverse = sexp[5];\n      var template = builder.template(_template);\n      var inverse = builder.template(_inverse);\n      var templateBlock = template && template;\n      var inverseBlock = inverse && inverse;\n      builder.compileBlock(name, params, hash, templateBlock, inverseBlock);\n    });\n    var CLIENT_SIDE = new Compilers(1);\n    CLIENT_SIDE.add(Ops$1.OpenComponentElement, function (sexp, builder) {\n      builder.putComponentOperations();\n      builder.openPrimitiveElement(sexp[2]);\n    });\n    CLIENT_SIDE.add(Ops$1.DidCreateElement, function (_sexp, builder) {\n      builder.didCreateElement(_vm.Register.s0);\n    });\n    CLIENT_SIDE.add(Ops$1.Debugger, function () {\n      // tslint:disable-next-line:no-debugger\n      debugger;\n    });\n    CLIENT_SIDE.add(Ops$1.DidRenderLayout, function (_sexp, builder) {\n      builder.didRenderLayout(_vm.Register.s0);\n    });\n    return STATEMENTS;\n  }\n\n  function componentAttr(sexp, trusting, builder) {\n    var name = sexp[1],\n        value = sexp[2],\n        namespace = sexp[3];\n    builder.expr(value);\n\n    if (namespace) {\n      builder.componentAttr(name, namespace, trusting);\n    } else {\n      builder.componentAttr(name, null, trusting);\n    }\n  }\n\n  function dynamicAttr(sexp, trusting, builder) {\n    var name = sexp[1],\n        value = sexp[2],\n        namespace = sexp[3];\n    builder.expr(value);\n\n    if (namespace) {\n      builder.dynamicAttr(name, namespace, trusting);\n    } else {\n      builder.dynamicAttr(name, null, trusting);\n    }\n  }\n\n  var _expressionCompiler;\n\n  function expressionCompiler() {\n    if (_expressionCompiler) {\n      return _expressionCompiler;\n    }\n\n    var EXPRESSIONS = _expressionCompiler = new Compilers();\n    EXPRESSIONS.add(Ops$2.Unknown, function (sexp, builder) {\n      var compiler = builder.compiler,\n          referrer = builder.referrer,\n          asPartial = builder.containingLayout.asPartial;\n      var name = sexp[1];\n      var handle = compiler.resolveHelper(name, referrer);\n\n      if (handle !== null) {\n        builder.helper(handle, null, null);\n      } else if (asPartial) {\n        builder.resolveMaybeLocal(name);\n      } else {\n        builder.getVariable(0);\n        builder.getProperty(name);\n      }\n    });\n    EXPRESSIONS.add(Ops$2.Concat, function (sexp, builder) {\n      var parts = sexp[1];\n\n      for (var i = 0; i < parts.length; i++) {\n        builder.expr(parts[i]);\n      }\n\n      builder.concat(parts.length);\n    });\n    EXPRESSIONS.add(Ops$2.Helper, function (sexp, builder) {\n      var compiler = builder.compiler,\n          referrer = builder.referrer;\n      var name = sexp[1],\n          params = sexp[2],\n          hash = sexp[3]; // TODO: triage this in the WF compiler\n\n      if (name === 'component') {\n        var definition = params[0],\n            restArgs = params.slice(1);\n        builder.curryComponent(definition, restArgs, hash, true);\n        return;\n      }\n\n      var handle = compiler.resolveHelper(name, referrer);\n\n      if (handle !== null) {\n        builder.helper(handle, params, hash);\n      } else {\n        throw new Error(\"Compile Error: \" + name + \" is not a helper\");\n      }\n    });\n    EXPRESSIONS.add(Ops$2.Get, function (sexp, builder) {\n      var head = sexp[1],\n          path = sexp[2];\n      builder.getVariable(head);\n\n      for (var i = 0; i < path.length; i++) {\n        builder.getProperty(path[i]);\n      }\n    });\n    EXPRESSIONS.add(Ops$2.MaybeLocal, function (sexp, builder) {\n      var path = sexp[1];\n\n      if (builder.containingLayout.asPartial) {\n        var head = path[0];\n        path = path.slice(1);\n        builder.resolveMaybeLocal(head);\n      } else {\n        builder.getVariable(0);\n      }\n\n      for (var i = 0; i < path.length; i++) {\n        builder.getProperty(path[i]);\n      }\n    });\n    EXPRESSIONS.add(Ops$2.Undefined, function (_sexp, builder) {\n      return builder.pushPrimitiveReference(undefined);\n    });\n    EXPRESSIONS.add(Ops$2.HasBlock, function (sexp, builder) {\n      builder.hasBlock(sexp[1]);\n    });\n    EXPRESSIONS.add(Ops$2.HasBlockParams, function (sexp, builder) {\n      builder.hasBlockParams(sexp[1]);\n    });\n    return EXPRESSIONS;\n  }\n\n  var Macros = function Macros() {\n    var _populateBuiltins = populateBuiltins(),\n        blocks = _populateBuiltins.blocks,\n        inlines = _populateBuiltins.inlines;\n\n    this.blocks = blocks;\n    this.inlines = inlines;\n  };\n\n  _exports.Macros = Macros;\n\n  var Blocks =\n  /*#__PURE__*/\n  function () {\n    function Blocks() {\n      this.names = (0, _util.dict)();\n      this.funcs = [];\n    }\n\n    var _proto2 = Blocks.prototype;\n\n    _proto2.add = function add(name, func) {\n      this.funcs.push(func);\n      this.names[name] = this.funcs.length - 1;\n    };\n\n    _proto2.addMissing = function addMissing(func) {\n      this.missing = func;\n    };\n\n    _proto2.compile = function compile(name, params, hash, template, inverse, builder) {\n      var index = this.names[name];\n\n      if (index === undefined) {\n        var func = this.missing;\n        var handled = func(name, params, hash, template, inverse, builder);\n      } else {\n        var _func = this.funcs[index];\n\n        _func(params, hash, template, inverse, builder);\n      }\n    };\n\n    return Blocks;\n  }();\n\n  var Inlines =\n  /*#__PURE__*/\n  function () {\n    function Inlines() {\n      this.names = (0, _util.dict)();\n      this.funcs = [];\n    }\n\n    var _proto3 = Inlines.prototype;\n\n    _proto3.add = function add(name, func) {\n      this.funcs.push(func);\n      this.names[name] = this.funcs.length - 1;\n    };\n\n    _proto3.addMissing = function addMissing(func) {\n      this.missing = func;\n    };\n\n    _proto3.compile = function compile(sexp, builder) {\n      var value = sexp[1]; // TODO: Fix this so that expression macros can return\n      // things like components, so that {{component foo}}\n      // is the same as {{(component foo)}}\n\n      if (!Array.isArray(value)) return ['expr', value];\n      var name;\n      var params;\n      var hash;\n\n      if (value[0] === Ops$2.Helper) {\n        name = value[1];\n        params = value[2];\n        hash = value[3];\n      } else if (value[0] === Ops$2.Unknown) {\n        name = value[1];\n        params = hash = null;\n      } else {\n        return ['expr', value];\n      }\n\n      var index = this.names[name];\n\n      if (index === undefined && this.missing) {\n        var func = this.missing;\n        var returned = func(name, params, hash, builder);\n        return returned === false ? ['expr', value] : returned;\n      } else if (index !== undefined) {\n        var _func2 = this.funcs[index];\n\n        var _returned = _func2(name, params, hash, builder);\n\n        return _returned === false ? ['expr', value] : _returned;\n      } else {\n        return ['expr', value];\n      }\n    };\n\n    return Inlines;\n  }();\n\n  function populateBuiltins() {\n    var blocks = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : new Blocks();\n    var inlines = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : new Inlines();\n    blocks.add('if', function (params, _hash, template, inverse, builder) {\n      //        PutArgs\n      //        Test(Environment)\n      //        Enter(BEGIN, END)\n      // BEGIN: Noop\n      //        JumpUnless(ELSE)\n      //        Evaluate(default)\n      //        Jump(END)\n      // ELSE:  Noop\n      //        Evalulate(inverse)\n      // END:   Noop\n      //        Exit\n      if (!params || params.length !== 1) {\n        throw new Error(\"SYNTAX ERROR: #if requires a single argument\");\n      }\n\n      builder.replayableIf({\n        args: function () {\n          builder.expr(params[0]);\n          builder.toBoolean();\n          return 1;\n        },\n        ifTrue: function () {\n          builder.invokeStaticBlock(template);\n        },\n        ifFalse: function () {\n          if (inverse) {\n            builder.invokeStaticBlock(inverse);\n          }\n        }\n      });\n    });\n    blocks.add('unless', function (params, _hash, template, inverse, builder) {\n      //        PutArgs\n      //        Test(Environment)\n      //        Enter(BEGIN, END)\n      // BEGIN: Noop\n      //        JumpUnless(ELSE)\n      //        Evaluate(default)\n      //        Jump(END)\n      // ELSE:  Noop\n      //        Evalulate(inverse)\n      // END:   Noop\n      //        Exit\n      if (!params || params.length !== 1) {\n        throw new Error(\"SYNTAX ERROR: #unless requires a single argument\");\n      }\n\n      builder.replayableIf({\n        args: function () {\n          builder.expr(params[0]);\n          builder.toBoolean();\n          return 1;\n        },\n        ifTrue: function () {\n          if (inverse) {\n            builder.invokeStaticBlock(inverse);\n          }\n        },\n        ifFalse: function () {\n          builder.invokeStaticBlock(template);\n        }\n      });\n    });\n    blocks.add('with', function (params, _hash, template, inverse, builder) {\n      //        PutArgs\n      //        Test(Environment)\n      //        Enter(BEGIN, END)\n      // BEGIN: Noop\n      //        JumpUnless(ELSE)\n      //        Evaluate(default)\n      //        Jump(END)\n      // ELSE:  Noop\n      //        Evalulate(inverse)\n      // END:   Noop\n      //        Exit\n      if (!params || params.length !== 1) {\n        throw new Error(\"SYNTAX ERROR: #with requires a single argument\");\n      }\n\n      builder.replayableIf({\n        args: function () {\n          builder.expr(params[0]);\n          builder.dup();\n          builder.toBoolean();\n          return 2;\n        },\n        ifTrue: function () {\n          builder.invokeStaticBlock(template, 1);\n        },\n        ifFalse: function () {\n          if (inverse) {\n            builder.invokeStaticBlock(inverse);\n          }\n        }\n      });\n    });\n    blocks.add('each', function (params, hash, template, inverse, builder) {\n      //         Enter(BEGIN, END)\n      // BEGIN:  Noop\n      //         PutArgs\n      //         PutIterable\n      //         JumpUnless(ELSE)\n      //         EnterList(BEGIN2, END2)\n      // ITER:   Noop\n      //         NextIter(BREAK)\n      // BEGIN2: Noop\n      //         PushChildScope\n      //         Evaluate(default)\n      //         PopScope\n      // END2:   Noop\n      //         Exit\n      //         Jump(ITER)\n      // BREAK:  Noop\n      //         ExitList\n      //         Jump(END)\n      // ELSE:   Noop\n      //         Evalulate(inverse)\n      // END:    Noop\n      //         Exit\n      builder.replayable({\n        args: function () {\n          if (hash && hash[0][0] === 'key') {\n            builder.expr(hash[1][0]);\n          } else {\n            builder.pushPrimitiveReference(null);\n          }\n\n          builder.expr(params[0]);\n          return 2;\n        },\n        body: function () {\n          builder.putIterator();\n          builder.jumpUnless('ELSE');\n          builder.pushFrame();\n          builder.dup(_vm.Register.fp, 1);\n          builder.returnTo('ITER');\n          builder.enterList('BODY');\n          builder.label('ITER');\n          builder.iterate('BREAK');\n          builder.label('BODY');\n          builder.invokeStaticBlock(template, 2);\n          builder.pop(2);\n          builder.jump('FINALLY');\n          builder.label('BREAK');\n          builder.exitList();\n          builder.popFrame();\n          builder.jump('FINALLY');\n          builder.label('ELSE');\n\n          if (inverse) {\n            builder.invokeStaticBlock(inverse);\n          }\n        }\n      });\n    });\n    blocks.add('in-element', function (params, hash, template, _inverse, builder) {\n      if (!params || params.length !== 1) {\n        throw new Error(\"SYNTAX ERROR: #in-element requires a single argument\");\n      }\n\n      builder.replayableIf({\n        args: function () {\n          var keys = hash[0],\n              values = hash[1];\n\n          for (var i = 0; i < keys.length; i++) {\n            var key = keys[i];\n\n            if (key === 'nextSibling' || key === 'guid') {\n              builder.expr(values[i]);\n            } else {\n              throw new Error(\"SYNTAX ERROR: #in-element does not take a `\" + keys[0] + \"` option\");\n            }\n          }\n\n          builder.expr(params[0]);\n          builder.dup();\n          return 4;\n        },\n        ifTrue: function () {\n          builder.pushRemoteElement();\n          builder.invokeStaticBlock(template);\n          builder.popRemoteElement();\n        }\n      });\n    });\n    blocks.add('-with-dynamic-vars', function (_params, hash, template, _inverse, builder) {\n      if (hash) {\n        var names = hash[0],\n            expressions = hash[1];\n        builder.compileParams(expressions);\n        builder.pushDynamicScope();\n        builder.bindDynamicScope(names);\n        builder.invokeStaticBlock(template);\n        builder.popDynamicScope();\n      } else {\n        builder.invokeStaticBlock(template);\n      }\n    });\n    blocks.add('component', function (_params, hash, template, inverse, builder) {\n      var tag = _params[0];\n\n      if (typeof tag === 'string') {\n        var returned = builder.staticComponentHelper(_params[0], hash, template);\n        if (returned) return;\n      }\n\n      var definition = _params[0],\n          params = _params.slice(1);\n\n      builder.dynamicComponent(definition, null, params, hash, true, template, inverse);\n    });\n    inlines.add('component', function (_name, _params, hash, builder) {\n      var tag = _params && _params[0];\n\n      if (typeof tag === 'string') {\n        var returned = builder.staticComponentHelper(tag, hash, null);\n        if (returned) return true;\n      }\n\n      var definition = _params[0],\n          params = _params.slice(1);\n\n      builder.dynamicComponent(definition, null, params, hash, true, null, null);\n      return true;\n    });\n    return {\n      blocks: blocks,\n      inlines: inlines\n    };\n  }\n\n  var PLACEHOLDER_HANDLE$1 = -1;\n\n  var CompilableProgram =\n  /*#__PURE__*/\n  function () {\n    function CompilableProgram(compiler, layout) {\n      this.compiler = compiler;\n      this.layout = layout;\n      this.compiled = null;\n    }\n\n    var _proto4 = CompilableProgram.prototype;\n\n    _proto4.compile = function compile() {\n      if (this.compiled !== null) return this.compiled;\n      this.compiled = PLACEHOLDER_HANDLE$1;\n      var statements = this.layout.block.statements;\n      return this.compiled = this.compiler.add(statements, this.layout);\n    };\n\n    (0, _emberBabel.createClass)(CompilableProgram, [{\n      key: \"symbolTable\",\n      get: function () {\n        return this.layout.block;\n      }\n    }]);\n    return CompilableProgram;\n  }();\n\n  _exports.CompilableProgram = CompilableProgram;\n\n  var CompilableBlock =\n  /*#__PURE__*/\n  function () {\n    function CompilableBlock(compiler, parsed) {\n      this.compiler = compiler;\n      this.parsed = parsed;\n      this.compiled = null;\n    }\n\n    var _proto5 = CompilableBlock.prototype;\n\n    _proto5.compile = function compile() {\n      if (this.compiled !== null) return this.compiled; // Track that compilation has started but not yet finished by temporarily\n      // using a placeholder handle. In eager compilation mode, where compile()\n      // may be called recursively, we use this as a signal that the handle cannot\n      // be known synchronously and must be linked lazily.\n\n      this.compiled = PLACEHOLDER_HANDLE$1;\n      var _this$parsed = this.parsed,\n          statements = _this$parsed.block.statements,\n          containingLayout = _this$parsed.containingLayout;\n      return this.compiled = this.compiler.add(statements, containingLayout);\n    };\n\n    (0, _emberBabel.createClass)(CompilableBlock, [{\n      key: \"symbolTable\",\n      get: function () {\n        return this.parsed.block;\n      }\n    }]);\n    return CompilableBlock;\n  }();\n\n  _exports.CompilableBlock = CompilableBlock;\n\n  function compile(statements, builder, compiler) {\n    var sCompiler = statementCompiler();\n\n    for (var i = 0; i < statements.length; i++) {\n      sCompiler.compile(statements[i], builder);\n    }\n\n    var handle = builder.commit();\n    return handle;\n  }\n\n  function debugSlice(program, start, end) {}\n\n  function logOpcode(type, params) {\n    var out = type;\n\n    if (params) {\n      var args = Object.keys(params).map(function (p) {\n        return \" \" + p + \"=\" + json(params[p]);\n      }).join('');\n      out += args;\n    }\n\n    return \"(\" + out + \")\";\n  }\n\n  function json(param) {}\n\n  function debug(pos, c, op) {\n    for (var _len = arguments.length, operands = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n      operands[_key - 3] = arguments[_key];\n    }\n\n    var metadata = null;\n\n    if (!metadata) {\n      throw (0, _util.unreachable)(\"Missing Opcode Metadata for \" + op);\n    }\n\n    var out = (0, _util.dict)();\n    metadata.ops.forEach(function (operand, index) {\n      var op = operands[index];\n\n      switch (operand.type) {\n        case 'to':\n          out[operand.name] = pos + op;\n          break;\n\n        case 'i32':\n        case 'symbol':\n        case 'block':\n          out[operand.name] = op;\n          break;\n\n        case 'handle':\n          out[operand.name] = c.resolveHandle(op);\n          break;\n\n        case 'str':\n          out[operand.name] = c.getString(op);\n          break;\n\n        case 'option-str':\n          out[operand.name] = op ? c.getString(op) : null;\n          break;\n\n        case 'str-array':\n          out[operand.name] = c.getStringArray(op);\n          break;\n\n        case 'array':\n          out[operand.name] = c.getArray(op);\n          break;\n\n        case 'bool':\n          out[operand.name] = !!op;\n          break;\n\n        case 'primitive':\n          out[operand.name] = decodePrimitive(op, c);\n          break;\n\n        case 'register':\n          out[operand.name] = _vm.Register[op];\n          break;\n\n        case 'serializable':\n          out[operand.name] = c.getSerializable(op);\n          break;\n\n        case 'lazy-constant':\n          out[operand.name] = c.getOther(op);\n          break;\n      }\n    });\n    return [metadata.name, out];\n  }\n\n  function decodePrimitive(primitive, constants) {\n    var flag = primitive & 7; // 111\n\n    var value = primitive >> 3;\n\n    switch (flag) {\n      case 0\n      /* NUMBER */\n      :\n        return value;\n\n      case 1\n      /* FLOAT */\n      :\n        return constants.getNumber(value);\n\n      case 2\n      /* STRING */\n      :\n        return constants.getString(value);\n\n      case 3\n      /* BOOLEAN_OR_VOID */\n      :\n        switch (value) {\n          case 0:\n            return false;\n\n          case 1:\n            return true;\n\n          case 2:\n            return null;\n\n          case 3:\n            return undefined;\n        }\n\n      case 4\n      /* NEGATIVE */\n      :\n      case 5\n      /* BIG_NUM */\n      :\n        return constants.getNumber(value);\n\n      default:\n        throw (0, _util.unreachable)();\n    }\n  }\n\n  var StdLib =\n  /*#__PURE__*/\n  function () {\n    function StdLib(main, trustingGuardedAppend, cautiousGuardedAppend) {\n      this.main = main;\n      this.trustingGuardedAppend = trustingGuardedAppend;\n      this.cautiousGuardedAppend = cautiousGuardedAppend;\n    }\n\n    StdLib.compile = function compile(compiler) {\n      var main = this.std(compiler, function (b) {\n        return b.main();\n      });\n      var trustingGuardedAppend = this.std(compiler, function (b) {\n        return b.stdAppend(true);\n      });\n      var cautiousGuardedAppend = this.std(compiler, function (b) {\n        return b.stdAppend(false);\n      });\n      return new StdLib(main, trustingGuardedAppend, cautiousGuardedAppend);\n    };\n\n    StdLib.std = function std(compiler, callback) {\n      return StdOpcodeBuilder.build(compiler, callback);\n    };\n\n    var _proto6 = StdLib.prototype;\n\n    _proto6.getAppend = function getAppend(trusting) {\n      return trusting ? this.trustingGuardedAppend : this.cautiousGuardedAppend;\n    };\n\n    return StdLib;\n  }();\n\n  var AbstractCompiler =\n  /*#__PURE__*/\n  function () {\n    function AbstractCompiler(macros, program, resolver) {\n      this.macros = macros;\n      this.program = program;\n      this.resolver = resolver;\n      this.initialize();\n    }\n\n    var _proto7 = AbstractCompiler.prototype;\n\n    _proto7.initialize = function initialize() {\n      this.stdLib = StdLib.compile(this);\n    };\n\n    _proto7.compileInline = function compileInline(sexp, builder) {\n      var inlines = this.macros.inlines;\n      return inlines.compile(sexp, builder);\n    };\n\n    _proto7.compileBlock = function compileBlock(name, params, hash, template, inverse, builder) {\n      var blocks = this.macros.blocks;\n      blocks.compile(name, params, hash, template, inverse, builder);\n    };\n\n    _proto7.add = function add(statements, containingLayout) {\n      return compile(statements, this.builderFor(containingLayout), this);\n    };\n\n    _proto7.commit = function commit(scopeSize, buffer) {\n      var heap = this.program.heap; // TODO: change the whole malloc API and do something more efficient\n\n      var handle = heap.malloc();\n\n      for (var i = 0; i < buffer.length; i++) {\n        var value = buffer[i];\n\n        if (typeof value === 'function') {\n          heap.pushPlaceholder(value);\n        } else {\n          heap.push(value);\n        }\n      }\n\n      heap.finishMalloc(handle, scopeSize);\n      return handle;\n    };\n\n    _proto7.resolveLayoutForTag = function resolveLayoutForTag(tag, referrer) {\n      var resolver = this.resolver;\n      var handle = resolver.lookupComponentDefinition(tag, referrer);\n      if (handle === null) return {\n        handle: null,\n        capabilities: null,\n        compilable: null\n      };\n      return this.resolveLayoutForHandle(handle);\n    };\n\n    _proto7.resolveLayoutForHandle = function resolveLayoutForHandle(handle) {\n      var resolver = this.resolver;\n      var capabilities = resolver.getCapabilities(handle);\n      var compilable = null;\n\n      if (!capabilities.dynamicLayout) {\n        compilable = resolver.getLayout(handle);\n      }\n\n      return {\n        handle: handle,\n        capabilities: capabilities,\n        compilable: compilable\n      };\n    };\n\n    _proto7.resolveModifier = function resolveModifier(name, referrer) {\n      return this.resolver.lookupModifier(name, referrer);\n    };\n\n    _proto7.resolveHelper = function resolveHelper(name, referrer) {\n      return this.resolver.lookupHelper(name, referrer);\n    };\n\n    (0, _emberBabel.createClass)(AbstractCompiler, [{\n      key: \"constants\",\n      get: function () {\n        return this.program.constants;\n      }\n    }]);\n    return AbstractCompiler;\n  }();\n\n  _exports.AbstractCompiler = AbstractCompiler;\n  var debugCompiler;\n  _exports.debugCompiler = debugCompiler;\n\n  var WrappedBuilder =\n  /*#__PURE__*/\n  function () {\n    function WrappedBuilder(compiler, layout) {\n      this.compiler = compiler;\n      this.layout = layout;\n      this.compiled = null;\n      var block = layout.block;\n      var symbols = block.symbols.slice(); // ensure ATTRS_BLOCK is always included (only once) in the list of symbols\n\n      var attrsBlockIndex = symbols.indexOf(ATTRS_BLOCK);\n\n      if (attrsBlockIndex === -1) {\n        this.attrsBlockNumber = symbols.push(ATTRS_BLOCK);\n      } else {\n        this.attrsBlockNumber = attrsBlockIndex + 1;\n      }\n\n      this.symbolTable = {\n        hasEval: block.hasEval,\n        symbols: symbols\n      };\n    }\n\n    var _proto8 = WrappedBuilder.prototype;\n\n    _proto8.compile = function compile() {\n      if (this.compiled !== null) return this.compiled; //========DYNAMIC\n      //        PutValue(TagExpr)\n      //        Test\n      //        JumpUnless(BODY)\n      //        PutComponentOperations\n      //        OpenDynamicPrimitiveElement\n      //        DidCreateElement\n      //        ...attr statements...\n      //        FlushElement\n      // BODY:  Noop\n      //        ...body statements...\n      //        PutValue(TagExpr)\n      //        Test\n      //        JumpUnless(END)\n      //        CloseElement\n      // END:   Noop\n      //        DidRenderLayout\n      //        Exit\n      //\n      //========STATIC\n      //        OpenPrimitiveElementOpcode\n      //        DidCreateElement\n      //        ...attr statements...\n      //        FlushElement\n      //        ...body statements...\n      //        CloseElement\n      //        DidRenderLayout\n      //        Exit\n\n      var compiler = this.compiler,\n          layout = this.layout;\n      var b = compiler.builderFor(layout);\n      b.startLabels();\n      b.fetch(_vm.Register.s1);\n      b.getComponentTagName(_vm.Register.s0);\n      b.primitiveReference();\n      b.dup();\n      b.load(_vm.Register.s1);\n      b.jumpUnless('BODY');\n      b.fetch(_vm.Register.s1);\n      b.putComponentOperations();\n      b.openDynamicElement();\n      b.didCreateElement(_vm.Register.s0);\n      b.yield(this.attrsBlockNumber, []);\n      b.flushElement();\n      b.label('BODY');\n      b.invokeStaticBlock(blockFor(layout, compiler));\n      b.fetch(_vm.Register.s1);\n      b.jumpUnless('END');\n      b.closeElement();\n      b.label('END');\n      b.load(_vm.Register.s1);\n      b.stopLabels();\n      var handle = b.commit();\n      return this.compiled = handle;\n    };\n\n    return WrappedBuilder;\n  }();\n\n  _exports.WrappedBuilder = WrappedBuilder;\n\n  function blockFor(layout, compiler) {\n    return new CompilableBlock(compiler, {\n      block: {\n        statements: layout.block.statements,\n        parameters: _util.EMPTY_ARRAY\n      },\n      containingLayout: layout\n    });\n  }\n\n  var ComponentBuilder =\n  /*#__PURE__*/\n  function () {\n    function ComponentBuilder(builder) {\n      this.builder = builder;\n    }\n\n    var _proto9 = ComponentBuilder.prototype;\n\n    _proto9.static = function _static(handle, args) {\n      var params = args[0],\n          hash = args[1],\n          _default = args[2],\n          inverse = args[3];\n      var builder = this.builder;\n\n      if (handle !== null) {\n        var _builder$compiler$res2 = builder.compiler.resolveLayoutForHandle(handle),\n            capabilities = _builder$compiler$res2.capabilities,\n            compilable = _builder$compiler$res2.compilable;\n\n        if (compilable) {\n          builder.pushComponentDefinition(handle);\n          builder.invokeStaticComponent(capabilities, compilable, null, params, hash, false, _default, inverse);\n        } else {\n          builder.pushComponentDefinition(handle);\n          builder.invokeComponent(capabilities, null, params, hash, false, _default, inverse);\n        }\n      }\n    };\n\n    return ComponentBuilder;\n  }();\n\n  var Labels =\n  /*#__PURE__*/\n  function () {\n    function Labels() {\n      this.labels = (0, _util.dict)();\n      this.targets = [];\n    }\n\n    var _proto10 = Labels.prototype;\n\n    _proto10.label = function label(name, index) {\n      this.labels[name] = index;\n    };\n\n    _proto10.target = function target(at, _target) {\n      this.targets.push({\n        at: at,\n        target: _target\n      });\n    };\n\n    _proto10.patch = function patch(encoder) {\n      var targets = this.targets,\n          labels = this.labels;\n\n      for (var i = 0; i < targets.length; i++) {\n        var _targets$i = targets[i],\n            at = _targets$i.at,\n            target = _targets$i.target;\n        var address = labels[target] - at;\n        encoder.patch(at, address);\n      }\n    };\n\n    return Labels;\n  }();\n\n  var StdOpcodeBuilder =\n  /*#__PURE__*/\n  function () {\n    function StdOpcodeBuilder(compiler) {\n      var size = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n      this.size = size;\n      this.encoder = new _encoder.InstructionEncoder([]);\n      this.labelsStack = new _util.Stack();\n      this.compiler = compiler;\n    }\n\n    StdOpcodeBuilder.build = function build(compiler, callback) {\n      var builder = new StdOpcodeBuilder(compiler);\n      callback(builder);\n      return builder.commit();\n    };\n\n    var _proto11 = StdOpcodeBuilder.prototype;\n\n    _proto11.push = function push(name) {\n      switch (arguments.length) {\n        case 1:\n          return this.encoder.encode(name, 0);\n\n        case 2:\n          return this.encoder.encode(name, 0, arguments[1]);\n\n        case 3:\n          return this.encoder.encode(name, 0, arguments[1], arguments[2]);\n\n        default:\n          return this.encoder.encode(name, 0, arguments[1], arguments[2], arguments[3]);\n      }\n    };\n\n    _proto11.pushMachine = function pushMachine(name) {\n      switch (arguments.length) {\n        case 1:\n          return this.encoder.encode(name, 1024\n          /* MACHINE_MASK */\n          );\n\n        case 2:\n          return this.encoder.encode(name, 1024\n          /* MACHINE_MASK */\n          , arguments[1]);\n\n        case 3:\n          return this.encoder.encode(name, 1024\n          /* MACHINE_MASK */\n          , arguments[1], arguments[2]);\n\n        default:\n          return this.encoder.encode(name, 1024\n          /* MACHINE_MASK */\n          , arguments[1], arguments[2], arguments[3]);\n      }\n    };\n\n    _proto11.commit = function commit() {\n      this.pushMachine(24\n      /* Return */\n      );\n      return this.compiler.commit(this.size, this.encoder.buffer);\n    };\n\n    _proto11.reserve = function reserve(name) {\n      this.encoder.encode(name, 0, -1);\n    };\n\n    _proto11.reserveWithOperand = function reserveWithOperand(name, operand) {\n      this.encoder.encode(name, 0, -1, operand);\n    };\n\n    _proto11.reserveMachine = function reserveMachine(name) {\n      this.encoder.encode(name, 1024\n      /* MACHINE_MASK */\n      , -1);\n    } ///\n    ;\n\n    _proto11.main = function main() {\n      this.push(68\n      /* Main */\n      , _vm.Register.s0);\n      this.invokePreparedComponent(false, false, true);\n    };\n\n    _proto11.appendHTML = function appendHTML() {\n      this.push(28\n      /* AppendHTML */\n      );\n    };\n\n    _proto11.appendSafeHTML = function appendSafeHTML() {\n      this.push(29\n      /* AppendSafeHTML */\n      );\n    };\n\n    _proto11.appendDocumentFragment = function appendDocumentFragment() {\n      this.push(30\n      /* AppendDocumentFragment */\n      );\n    };\n\n    _proto11.appendNode = function appendNode() {\n      this.push(31\n      /* AppendNode */\n      );\n    };\n\n    _proto11.appendText = function appendText() {\n      this.push(32\n      /* AppendText */\n      );\n    };\n\n    _proto11.beginComponentTransaction = function beginComponentTransaction() {\n      this.push(91\n      /* BeginComponentTransaction */\n      );\n    };\n\n    _proto11.commitComponentTransaction = function commitComponentTransaction() {\n      this.push(92\n      /* CommitComponentTransaction */\n      );\n    };\n\n    _proto11.pushDynamicScope = function pushDynamicScope() {\n      this.push(44\n      /* PushDynamicScope */\n      );\n    };\n\n    _proto11.popDynamicScope = function popDynamicScope() {\n      this.push(45\n      /* PopDynamicScope */\n      );\n    };\n\n    _proto11.pushRemoteElement = function pushRemoteElement() {\n      this.push(41\n      /* PushRemoteElement */\n      );\n    };\n\n    _proto11.popRemoteElement = function popRemoteElement() {\n      this.push(42\n      /* PopRemoteElement */\n      );\n    };\n\n    _proto11.pushRootScope = function pushRootScope(symbols, bindCallerScope) {\n      this.push(20\n      /* RootScope */\n      , symbols, bindCallerScope ? 1 : 0);\n    };\n\n    _proto11.pushVirtualRootScope = function pushVirtualRootScope(register) {\n      this.push(21\n      /* VirtualRootScope */\n      , register);\n    };\n\n    _proto11.pushChildScope = function pushChildScope() {\n      this.push(22\n      /* ChildScope */\n      );\n    };\n\n    _proto11.popScope = function popScope() {\n      this.push(23\n      /* PopScope */\n      );\n    };\n\n    _proto11.prepareArgs = function prepareArgs(state) {\n      this.push(79\n      /* PrepareArgs */\n      , state);\n    };\n\n    _proto11.createComponent = function createComponent(state, hasDefault) {\n      var flag = hasDefault | 0;\n      this.push(81\n      /* CreateComponent */\n      , flag, state);\n    };\n\n    _proto11.registerComponentDestructor = function registerComponentDestructor(state) {\n      this.push(82\n      /* RegisterComponentDestructor */\n      , state);\n    };\n\n    _proto11.putComponentOperations = function putComponentOperations() {\n      this.push(83\n      /* PutComponentOperations */\n      );\n    };\n\n    _proto11.getComponentSelf = function getComponentSelf(state) {\n      this.push(84\n      /* GetComponentSelf */\n      , state);\n    };\n\n    _proto11.getComponentTagName = function getComponentTagName(state) {\n      this.push(85\n      /* GetComponentTagName */\n      , state);\n    };\n\n    _proto11.getComponentLayout = function getComponentLayout(state) {\n      this.push(86\n      /* GetComponentLayout */\n      , state);\n    };\n\n    _proto11.setupForEval = function setupForEval(state) {\n      this.push(87\n      /* SetupForEval */\n      , state);\n    };\n\n    _proto11.invokeComponentLayout = function invokeComponentLayout(state) {\n      this.push(90\n      /* InvokeComponentLayout */\n      , state);\n    };\n\n    _proto11.didCreateElement = function didCreateElement(state) {\n      this.push(93\n      /* DidCreateElement */\n      , state);\n    };\n\n    _proto11.didRenderLayout = function didRenderLayout(state) {\n      this.push(94\n      /* DidRenderLayout */\n      , state);\n    };\n\n    _proto11.pushFrame = function pushFrame() {\n      this.pushMachine(57\n      /* PushFrame */\n      );\n    };\n\n    _proto11.popFrame = function popFrame() {\n      this.pushMachine(58\n      /* PopFrame */\n      );\n    };\n\n    _proto11.pushSmallFrame = function pushSmallFrame() {\n      this.pushMachine(59\n      /* PushSmallFrame */\n      );\n    };\n\n    _proto11.popSmallFrame = function popSmallFrame() {\n      this.pushMachine(60\n      /* PopSmallFrame */\n      );\n    };\n\n    _proto11.invokeVirtual = function invokeVirtual() {\n      this.pushMachine(49\n      /* InvokeVirtual */\n      );\n    };\n\n    _proto11.invokeYield = function invokeYield() {\n      this.push(51\n      /* InvokeYield */\n      );\n    };\n\n    _proto11.toBoolean = function toBoolean() {\n      this.push(63\n      /* ToBoolean */\n      );\n    };\n\n    _proto11.invokePreparedComponent = function invokePreparedComponent(hasBlock, bindableBlocks, bindableAtNames) {\n      var populateLayout = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n      this.beginComponentTransaction();\n      this.pushDynamicScope();\n      this.createComponent(_vm.Register.s0, hasBlock); // this has to run after createComponent to allow\n      // for late-bound layouts, but a caller is free\n      // to populate the layout earlier if it wants to\n      // and do nothing here.\n\n      if (populateLayout) populateLayout();\n      this.registerComponentDestructor(_vm.Register.s0);\n      this.getComponentSelf(_vm.Register.s0);\n      this.pushVirtualRootScope(_vm.Register.s0);\n      this.setVariable(0);\n      this.setupForEval(_vm.Register.s0);\n      if (bindableAtNames) this.setNamedVariables(_vm.Register.s0);\n      if (bindableBlocks) this.setBlocks(_vm.Register.s0);\n      this.pop();\n      this.invokeComponentLayout(_vm.Register.s0);\n      this.didRenderLayout(_vm.Register.s0);\n      this.popFrame();\n      this.popScope();\n      this.popDynamicScope();\n      this.commitComponentTransaction();\n    }; ///\n\n\n    _proto11.compileInline = function compileInline(sexp) {\n      return this.compiler.compileInline(sexp, this);\n    };\n\n    _proto11.compileBlock = function compileBlock(name, params, hash, template, inverse) {\n      this.compiler.compileBlock(name, params, hash, template, inverse, this);\n    };\n\n    _proto11.label = function label(name) {\n      this.labels.label(name, this.nextPos);\n    } // helpers\n    ;\n\n    _proto11.startLabels = function startLabels() {\n      this.labelsStack.push(new Labels());\n    };\n\n    _proto11.stopLabels = function stopLabels() {\n      var label = this.labelsStack.pop();\n      label.patch(this.encoder);\n    } // components\n    ;\n\n    _proto11.pushCurriedComponent = function pushCurriedComponent() {\n      this.push(74\n      /* PushCurriedComponent */\n      );\n    };\n\n    _proto11.pushDynamicComponentInstance = function pushDynamicComponentInstance() {\n      this.push(73\n      /* PushDynamicComponentInstance */\n      );\n    } // dom\n    ;\n\n    _proto11.openDynamicElement = function openDynamicElement() {\n      this.push(34\n      /* OpenDynamicElement */\n      );\n    };\n\n    _proto11.flushElement = function flushElement() {\n      this.push(38\n      /* FlushElement */\n      );\n    };\n\n    _proto11.closeElement = function closeElement() {\n      this.push(39\n      /* CloseElement */\n      );\n    } // lists\n    ;\n\n    _proto11.putIterator = function putIterator() {\n      this.push(66\n      /* PutIterator */\n      );\n    };\n\n    _proto11.enterList = function enterList(start) {\n      this.reserve(64\n      /* EnterList */\n      );\n      this.labels.target(this.pos, start);\n    };\n\n    _proto11.exitList = function exitList() {\n      this.push(65\n      /* ExitList */\n      );\n    };\n\n    _proto11.iterate = function iterate(breaks) {\n      this.reserve(67\n      /* Iterate */\n      );\n      this.labels.target(this.pos, breaks);\n    } // expressions\n    ;\n\n    _proto11.setNamedVariables = function setNamedVariables(state) {\n      this.push(2\n      /* SetNamedVariables */\n      , state);\n    };\n\n    _proto11.setBlocks = function setBlocks(state) {\n      this.push(3\n      /* SetBlocks */\n      , state);\n    };\n\n    _proto11.setVariable = function setVariable(symbol) {\n      this.push(4\n      /* SetVariable */\n      , symbol);\n    };\n\n    _proto11.setBlock = function setBlock(symbol) {\n      this.push(5\n      /* SetBlock */\n      , symbol);\n    };\n\n    _proto11.getVariable = function getVariable(symbol) {\n      this.push(6\n      /* GetVariable */\n      , symbol);\n    };\n\n    _proto11.getBlock = function getBlock(symbol) {\n      this.push(8\n      /* GetBlock */\n      , symbol);\n    };\n\n    _proto11.hasBlock = function hasBlock(symbol) {\n      this.push(9\n      /* HasBlock */\n      , symbol);\n    };\n\n    _proto11.concat = function concat(size) {\n      this.push(11\n      /* Concat */\n      , size);\n    };\n\n    _proto11.load = function load(register) {\n      this.push(18\n      /* Load */\n      , register);\n    };\n\n    _proto11.fetch = function fetch(register) {\n      this.push(19\n      /* Fetch */\n      , register);\n    };\n\n    _proto11.dup = function dup() {\n      var register = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _vm.Register.sp;\n      var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n      return this.push(16\n      /* Dup */\n      , register, offset);\n    };\n\n    _proto11.pop = function pop() {\n      var count = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;\n      return this.push(17\n      /* Pop */\n      , count);\n    } // vm\n    ;\n\n    _proto11.returnTo = function returnTo(label) {\n      this.reserveMachine(25\n      /* ReturnTo */\n      );\n      this.labels.target(this.pos, label);\n    };\n\n    _proto11.primitiveReference = function primitiveReference() {\n      this.push(14\n      /* PrimitiveReference */\n      );\n    };\n\n    _proto11.reifyU32 = function reifyU32() {\n      this.push(15\n      /* ReifyU32 */\n      );\n    };\n\n    _proto11.enter = function enter(args) {\n      this.push(61\n      /* Enter */\n      , args);\n    };\n\n    _proto11.exit = function exit() {\n      this.push(62\n      /* Exit */\n      );\n    };\n\n    _proto11.return = function _return() {\n      this.pushMachine(24\n      /* Return */\n      );\n    };\n\n    _proto11.jump = function jump(target) {\n      this.reserveMachine(52\n      /* Jump */\n      );\n      this.labels.target(this.pos, target);\n    };\n\n    _proto11.jumpIf = function jumpIf(target) {\n      this.reserve(53\n      /* JumpIf */\n      );\n      this.labels.target(this.pos, target);\n    };\n\n    _proto11.jumpUnless = function jumpUnless(target) {\n      this.reserve(54\n      /* JumpUnless */\n      );\n      this.labels.target(this.pos, target);\n    };\n\n    _proto11.jumpEq = function jumpEq(value, target) {\n      this.reserveWithOperand(55\n      /* JumpEq */\n      , value);\n      this.labels.target(this.pos, target);\n    };\n\n    _proto11.assertSame = function assertSame() {\n      this.push(56\n      /* AssertSame */\n      );\n    };\n\n    _proto11.pushEmptyArgs = function pushEmptyArgs() {\n      this.push(77\n      /* PushEmptyArgs */\n      );\n    };\n\n    _proto11.switch = function _switch(_opcode, callback) {\n      var _this = this; // Setup the switch DSL\n\n\n      var clauses = [];\n      var count = 0;\n\n      function when(match, callback) {\n        clauses.push({\n          match: match,\n          callback: callback,\n          label: \"CLAUSE\" + count++\n        });\n      } // Call the callback\n\n\n      callback(when); // Emit the opcodes for the switch\n\n      this.enter(2);\n      this.assertSame();\n      this.reifyU32();\n      this.startLabels(); // First, emit the jump opcodes. We don't need a jump for the last\n      // opcode, since it bleeds directly into its clause.\n\n      clauses.slice(0, -1).forEach(function (clause) {\n        return _this.jumpEq(clause.match, clause.label);\n      }); // Enumerate the clauses in reverse order. Earlier matches will\n      // require fewer checks.\n\n      for (var i = clauses.length - 1; i >= 0; i--) {\n        var clause = clauses[i];\n        this.label(clause.label);\n        this.pop(2);\n        clause.callback(); // The first match is special: it is placed directly before the END\n        // label, so no additional jump is needed at the end of it.\n\n        if (i !== 0) {\n          this.jump('END');\n        }\n      }\n\n      this.label('END');\n      this.stopLabels();\n      this.exit();\n    };\n\n    _proto11.stdAppend = function stdAppend(trusting) {\n      var _this2 = this;\n\n      this.switch(this.contentType(), function (when) {\n        when(1\n        /* String */\n        , function () {\n          if (trusting) {\n            _this2.assertSame();\n\n            _this2.appendHTML();\n          } else {\n            _this2.appendText();\n          }\n        });\n        when(0\n        /* Component */\n        , function () {\n          _this2.pushCurriedComponent();\n\n          _this2.pushDynamicComponentInstance();\n\n          _this2.invokeBareComponent();\n        });\n        when(3\n        /* SafeString */\n        , function () {\n          _this2.assertSame();\n\n          _this2.appendSafeHTML();\n        });\n        when(4\n        /* Fragment */\n        , function () {\n          _this2.assertSame();\n\n          _this2.appendDocumentFragment();\n        });\n        when(5\n        /* Node */\n        , function () {\n          _this2.assertSame();\n\n          _this2.appendNode();\n        });\n      });\n    };\n\n    _proto11.populateLayout = function populateLayout(state) {\n      this.push(89\n      /* PopulateLayout */\n      , state);\n    };\n\n    _proto11.invokeBareComponent = function invokeBareComponent() {\n      var _this3 = this;\n\n      this.fetch(_vm.Register.s0);\n      this.dup(_vm.Register.sp, 1);\n      this.load(_vm.Register.s0);\n      this.pushFrame();\n      this.pushEmptyArgs();\n      this.prepareArgs(_vm.Register.s0);\n      this.invokePreparedComponent(false, false, true, function () {\n        _this3.getComponentLayout(_vm.Register.s0);\n\n        _this3.populateLayout(_vm.Register.s0);\n      });\n      this.load(_vm.Register.s0);\n    };\n\n    _proto11.isComponent = function isComponent() {\n      this.push(69\n      /* IsComponent */\n      );\n    };\n\n    _proto11.contentType = function contentType() {\n      this.push(70\n      /* ContentType */\n      );\n    };\n\n    _proto11.pushBlockScope = function pushBlockScope() {\n      this.push(47\n      /* PushBlockScope */\n      );\n    };\n\n    (0, _emberBabel.createClass)(StdOpcodeBuilder, [{\n      key: \"pos\",\n      get: function () {\n        return this.encoder.typePos;\n      }\n    }, {\n      key: \"nextPos\",\n      get: function () {\n        return this.encoder.size;\n      }\n    }, {\n      key: \"labels\",\n      get: function () {\n        return this.labelsStack.current;\n      }\n    }]);\n    return StdOpcodeBuilder;\n  }();\n\n  _exports.StdOpcodeBuilder = StdOpcodeBuilder;\n\n  var OpcodeBuilder =\n  /*#__PURE__*/\n  function (_StdOpcodeBuilder) {\n    (0, _emberBabel.inheritsLoose)(OpcodeBuilder, _StdOpcodeBuilder);\n\n    function OpcodeBuilder(compiler, containingLayout) {\n      var _this4;\n\n      _this4 = _StdOpcodeBuilder.call(this, compiler, containingLayout ? containingLayout.block.symbols.length : 0) || this;\n      _this4.containingLayout = containingLayout;\n      _this4.component = new ComponentBuilder((0, _emberBabel.assertThisInitialized)(_this4));\n      _this4.expressionCompiler = expressionCompiler();\n      _this4.constants = compiler.constants;\n      _this4.stdLib = compiler.stdLib;\n      return _this4;\n    } /// MECHANICS\n\n\n    var _proto12 = OpcodeBuilder.prototype;\n\n    _proto12.expr = function expr(expression) {\n      if (Array.isArray(expression)) {\n        this.expressionCompiler.compile(expression, this);\n      } else {\n        this.pushPrimitiveReference(expression);\n      }\n    } ///\n    // args\n    ;\n\n    _proto12.pushArgs = function pushArgs(names, flags) {\n      var serialized = this.constants.stringArray(names);\n      this.push(76\n      /* PushArgs */\n      , serialized, flags);\n    };\n\n    _proto12.pushYieldableBlock = function pushYieldableBlock(block) {\n      this.pushSymbolTable(block && block.symbolTable);\n      this.pushBlockScope();\n      this.pushBlock(block);\n    };\n\n    _proto12.curryComponent = function curryComponent(definition,\n    /* TODO: attrs: Option<RawInlineBlock>, */\n    params, hash, synthetic) {\n      var referrer = this.containingLayout.referrer;\n      this.pushFrame();\n      this.compileArgs(params, hash, null, synthetic);\n      this.push(80\n      /* CaptureArgs */\n      );\n      this.expr(definition);\n      this.push(71\n      /* CurryComponent */\n      , this.constants.serializable(referrer));\n      this.popFrame();\n      this.fetch(_vm.Register.v0);\n    };\n\n    _proto12.pushSymbolTable = function pushSymbolTable(table) {\n      if (table) {\n        var constant = this.constants.serializable(table);\n        this.push(48\n        /* PushSymbolTable */\n        , constant);\n      } else {\n        this.primitive(null);\n      }\n    };\n\n    _proto12.invokeComponent = function invokeComponent(capabilities, attrs, params, hash, synthetic, block) {\n      var _this5 = this;\n\n      var inverse = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : null;\n      var layout = arguments.length > 7 ? arguments[7] : undefined;\n      this.fetch(_vm.Register.s0);\n      this.dup(_vm.Register.sp, 1);\n      this.load(_vm.Register.s0);\n      this.pushFrame();\n      var bindableBlocks = !!(block || inverse || attrs);\n      var bindableAtNames = capabilities === true || capabilities.prepareArgs || !!(hash && hash[0].length !== 0);\n      var blocks = {\n        main: block,\n        else: inverse,\n        attrs: attrs\n      };\n      this.compileArgs(params, hash, blocks, synthetic);\n      this.prepareArgs(_vm.Register.s0);\n      this.invokePreparedComponent(block !== null, bindableBlocks, bindableAtNames, function () {\n        if (layout) {\n          _this5.pushSymbolTable(layout.symbolTable);\n\n          _this5.pushLayout(layout);\n\n          _this5.resolveLayout();\n        } else {\n          _this5.getComponentLayout(_vm.Register.s0);\n        }\n\n        _this5.populateLayout(_vm.Register.s0);\n      });\n      this.load(_vm.Register.s0);\n    };\n\n    _proto12.invokeStaticComponent = function invokeStaticComponent(capabilities, layout, attrs, params, hash, synthetic, block) {\n      var inverse = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : null;\n      var symbolTable = layout.symbolTable;\n      var bailOut = symbolTable.hasEval || capabilities.prepareArgs;\n\n      if (bailOut) {\n        this.invokeComponent(capabilities, attrs, params, hash, synthetic, block, inverse, layout);\n        return;\n      }\n\n      this.fetch(_vm.Register.s0);\n      this.dup(_vm.Register.sp, 1);\n      this.load(_vm.Register.s0);\n      var symbols = symbolTable.symbols;\n\n      if (capabilities.createArgs) {\n        this.pushFrame();\n        this.compileArgs(params, hash, null, synthetic);\n      }\n\n      this.beginComponentTransaction();\n\n      if (capabilities.dynamicScope) {\n        this.pushDynamicScope();\n      }\n\n      if (capabilities.createInstance) {\n        this.createComponent(_vm.Register.s0, block !== null);\n      }\n\n      if (capabilities.createArgs) {\n        this.popFrame();\n      }\n\n      this.pushFrame();\n      this.registerComponentDestructor(_vm.Register.s0);\n      var bindings = [];\n      this.getComponentSelf(_vm.Register.s0);\n      bindings.push({\n        symbol: 0,\n        isBlock: false\n      });\n\n      for (var i = 0; i < symbols.length; i++) {\n        var symbol = symbols[i];\n\n        switch (symbol.charAt(0)) {\n          case '&':\n            var callerBlock = null;\n\n            if (symbol === '&default') {\n              callerBlock = block;\n            } else if (symbol === '&inverse') {\n              callerBlock = inverse;\n            } else if (symbol === ATTRS_BLOCK) {\n              callerBlock = attrs;\n            } else {\n              throw (0, _util.unreachable)();\n            }\n\n            if (callerBlock) {\n              this.pushYieldableBlock(callerBlock);\n              bindings.push({\n                symbol: i + 1,\n                isBlock: true\n              });\n            } else {\n              this.pushYieldableBlock(null);\n              bindings.push({\n                symbol: i + 1,\n                isBlock: true\n              });\n            }\n\n            break;\n\n          case '@':\n            if (!hash) {\n              break;\n            }\n\n            var keys = hash[0],\n                values = hash[1];\n            var lookupName = symbol;\n\n            if (synthetic) {\n              lookupName = symbol.slice(1);\n            }\n\n            var index = keys.indexOf(lookupName);\n\n            if (index !== -1) {\n              this.expr(values[index]);\n              bindings.push({\n                symbol: i + 1,\n                isBlock: false\n              });\n            }\n\n            break;\n        }\n      }\n\n      this.pushRootScope(symbols.length + 1, !!(block || inverse || attrs));\n\n      for (var _i = bindings.length - 1; _i >= 0; _i--) {\n        var _bindings$_i = bindings[_i],\n            _symbol = _bindings$_i.symbol,\n            isBlock = _bindings$_i.isBlock;\n\n        if (isBlock) {\n          this.setBlock(_symbol);\n        } else {\n          this.setVariable(_symbol);\n        }\n      }\n\n      this.invokeStatic(layout);\n\n      if (capabilities.createInstance) {\n        this.didRenderLayout(_vm.Register.s0);\n      }\n\n      this.popFrame();\n      this.popScope();\n\n      if (capabilities.dynamicScope) {\n        this.popDynamicScope();\n      }\n\n      this.commitComponentTransaction();\n      this.load(_vm.Register.s0);\n    };\n\n    _proto12.dynamicComponent = function dynamicComponent(definition, attrs, params, hash, synthetic, block) {\n      var _this6 = this;\n\n      var inverse = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : null;\n      this.replayable({\n        args: function () {\n          _this6.expr(definition);\n\n          _this6.dup();\n\n          return 2;\n        },\n        body: function () {\n          _this6.jumpUnless('ELSE');\n\n          _this6.resolveDynamicComponent(_this6.containingLayout.referrer);\n\n          _this6.pushDynamicComponentInstance();\n\n          _this6.invokeComponent(true, attrs, params, hash, synthetic, block, inverse);\n\n          _this6.label('ELSE');\n        }\n      });\n    };\n\n    _proto12.yield = function _yield(to, params) {\n      this.compileArgs(params, null, null, false);\n      this.getBlock(to);\n      this.resolveBlock();\n      this.invokeYield();\n      this.popScope();\n      this.popFrame();\n    };\n\n    _proto12.guardedAppend = function guardedAppend(expression, trusting) {\n      this.pushFrame();\n      this.expr(expression);\n      this.pushMachine(50\n      /* InvokeStatic */\n      , this.stdLib.getAppend(trusting));\n      this.popFrame();\n    };\n\n    _proto12.invokeStaticBlock = function invokeStaticBlock(block) {\n      var callerCount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n      var parameters = block.symbolTable.parameters;\n      var calleeCount = parameters.length;\n      var count = Math.min(callerCount, calleeCount);\n      this.pushFrame();\n\n      if (count) {\n        this.pushChildScope();\n\n        for (var i = 0; i < count; i++) {\n          this.dup(_vm.Register.fp, callerCount - i);\n          this.setVariable(parameters[i]);\n        }\n      }\n\n      this.pushBlock(block);\n      this.resolveBlock();\n      this.invokeVirtual();\n\n      if (count) {\n        this.popScope();\n      }\n\n      this.popFrame();\n    } /// CONVENIENCE\n    // internal helpers\n    ;\n\n    _proto12.string = function string(_string) {\n      return this.constants.string(_string);\n    };\n\n    _proto12.names = function names(_names) {\n      var names = [];\n\n      for (var i = 0; i < _names.length; i++) {\n        var n = _names[i];\n        names[i] = this.constants.string(n);\n      }\n\n      return this.constants.array(names);\n    };\n\n    _proto12.symbols = function symbols(_symbols2) {\n      return this.constants.array(_symbols2);\n    } // vm\n    ;\n\n    _proto12.primitive = function primitive(_primitive) {\n      var type = 0\n      /* NUMBER */\n      ;\n      var primitive;\n\n      switch (typeof _primitive) {\n        case 'number':\n          if (_primitive % 1 === 0) {\n            if (_primitive > -1) {\n              primitive = _primitive;\n            } else {\n              primitive = this.constants.number(_primitive);\n              type = 4\n              /* NEGATIVE */\n              ;\n            }\n          } else {\n            primitive = this.constants.number(_primitive);\n            type = 1\n            /* FLOAT */\n            ;\n          }\n\n          break;\n\n        case 'string':\n          primitive = this.string(_primitive);\n          type = 2\n          /* STRING */\n          ;\n          break;\n\n        case 'boolean':\n          primitive = _primitive | 0;\n          type = 3\n          /* BOOLEAN_OR_VOID */\n          ;\n          break;\n\n        case 'object':\n          // assume null\n          primitive = 2;\n          type = 3\n          /* BOOLEAN_OR_VOID */\n          ;\n          break;\n\n        case 'undefined':\n          primitive = 3;\n          type = 3\n          /* BOOLEAN_OR_VOID */\n          ;\n          break;\n\n        default:\n          throw new Error('Invalid primitive passed to pushPrimitive');\n      }\n\n      var immediate = this.sizeImmediate(primitive << 3 | type, primitive);\n      this.push(13\n      /* Primitive */\n      , immediate);\n    };\n\n    _proto12.sizeImmediate = function sizeImmediate(shifted, primitive) {\n      if (shifted >= 4294967295\n      /* MAX_SIZE */\n      || shifted < 0) {\n        return this.constants.number(primitive) << 3 | 5\n        /* BIG_NUM */\n        ;\n      }\n\n      return shifted;\n    };\n\n    _proto12.pushPrimitiveReference = function pushPrimitiveReference(primitive) {\n      this.primitive(primitive);\n      this.primitiveReference();\n    } // components\n    ;\n\n    _proto12.pushComponentDefinition = function pushComponentDefinition(handle) {\n      this.push(72\n      /* PushComponentDefinition */\n      , this.constants.handle(handle));\n    };\n\n    _proto12.resolveDynamicComponent = function resolveDynamicComponent(referrer) {\n      this.push(75\n      /* ResolveDynamicComponent */\n      , this.constants.serializable(referrer));\n    };\n\n    _proto12.staticComponentHelper = function staticComponentHelper(tag, hash, template) {\n      var _this$compiler$resolv = this.compiler.resolveLayoutForTag(tag, this.referrer),\n          handle = _this$compiler$resolv.handle,\n          capabilities = _this$compiler$resolv.capabilities,\n          compilable = _this$compiler$resolv.compilable;\n\n      if (handle !== null && capabilities !== null) {\n        if (compilable) {\n          if (hash) {\n            for (var i = 0; i < hash.length; i = i + 2) {\n              hash[i][0] = \"@\" + hash[i][0];\n            }\n          }\n\n          this.pushComponentDefinition(handle);\n          this.invokeStaticComponent(capabilities, compilable, null, null, hash, false, template && template);\n          return true;\n        }\n      }\n\n      return false;\n    } // partial\n    ;\n\n    _proto12.invokePartial = function invokePartial(referrer, symbols, evalInfo) {\n      var _meta = this.constants.serializable(referrer);\n\n      var _symbols = this.constants.stringArray(symbols);\n\n      var _evalInfo = this.constants.array(evalInfo);\n\n      this.push(95\n      /* InvokePartial */\n      , _meta, _symbols, _evalInfo);\n    };\n\n    _proto12.resolveMaybeLocal = function resolveMaybeLocal(name) {\n      this.push(96\n      /* ResolveMaybeLocal */\n      , this.string(name));\n    } // debugger\n    ;\n\n    _proto12.debugger = function _debugger(symbols, evalInfo) {\n      this.push(97\n      /* Debugger */\n      , this.constants.stringArray(symbols), this.constants.array(evalInfo));\n    } // dom\n    ;\n\n    _proto12.text = function text(_text) {\n      this.push(26\n      /* Text */\n      , this.constants.string(_text));\n    };\n\n    _proto12.openPrimitiveElement = function openPrimitiveElement(tag) {\n      this.push(33\n      /* OpenElement */\n      , this.constants.string(tag));\n    };\n\n    _proto12.modifier = function modifier(locator, params, hash) {\n      this.pushFrame();\n      this.compileArgs(params, hash, null, true);\n      this.push(40\n      /* Modifier */\n      , this.constants.handle(locator));\n      this.popFrame();\n    };\n\n    _proto12.comment = function comment(_comment) {\n      var comment = this.constants.string(_comment);\n      this.push(27\n      /* Comment */\n      , comment);\n    };\n\n    _proto12.dynamicAttr = function dynamicAttr(_name, _namespace, trusting) {\n      var name = this.constants.string(_name);\n      var namespace = _namespace ? this.constants.string(_namespace) : 0;\n      this.push(36\n      /* DynamicAttr */\n      , name, trusting === true ? 1 : 0, namespace);\n    };\n\n    _proto12.componentAttr = function componentAttr(_name, _namespace, trusting) {\n      var name = this.constants.string(_name);\n      var namespace = _namespace ? this.constants.string(_namespace) : 0;\n      this.push(37\n      /* ComponentAttr */\n      , name, trusting === true ? 1 : 0, namespace);\n    };\n\n    _proto12.staticAttr = function staticAttr(_name, _namespace, _value) {\n      var name = this.constants.string(_name);\n      var namespace = _namespace ? this.constants.string(_namespace) : 0;\n      var value = this.constants.string(_value);\n      this.push(35\n      /* StaticAttr */\n      , name, value, namespace);\n    } // expressions\n    ;\n\n    _proto12.hasBlockParams = function hasBlockParams(to) {\n      this.getBlock(to);\n      this.resolveBlock();\n      this.push(10\n      /* HasBlockParams */\n      );\n    };\n\n    _proto12.getProperty = function getProperty(key) {\n      this.push(7\n      /* GetProperty */\n      , this.string(key));\n    };\n\n    _proto12.helper = function helper(_helper, params, hash) {\n      this.pushFrame();\n      this.compileArgs(params, hash, null, true);\n      this.push(1\n      /* Helper */\n      , this.constants.handle(_helper));\n      this.popFrame();\n      this.fetch(_vm.Register.v0);\n    };\n\n    _proto12.bindDynamicScope = function bindDynamicScope(_names) {\n      this.push(43\n      /* BindDynamicScope */\n      , this.names(_names));\n    } // convenience methods\n\n    /**\n     * A convenience for pushing some arguments on the stack and\n     * running some code if the code needs to be re-executed during\n     * updating execution if some of the arguments have changed.\n     *\n     * # Initial Execution\n     *\n     * The `args` function should push zero or more arguments onto\n     * the stack and return the number of arguments pushed.\n     *\n     * The `body` function provides the instructions to execute both\n     * during initial execution and during updating execution.\n     *\n     * Internally, this function starts by pushing a new frame, so\n     * that the body can return and sets the return point ($ra) to\n     * the ENDINITIAL label.\n     *\n     * It then executes the `args` function, which adds instructions\n     * responsible for pushing the arguments for the block to the\n     * stack. These arguments will be restored to the stack before\n     * updating execution.\n     *\n     * Next, it adds the Enter opcode, which marks the current position\n     * in the DOM, and remembers the current $pc (the next instruction)\n     * as the first instruction to execute during updating execution.\n     *\n     * Next, it runs `body`, which adds the opcodes that should\n     * execute both during initial execution and during updating execution.\n     * If the `body` wishes to finish early, it should Jump to the\n     * `FINALLY` label.\n     *\n     * Next, it adds the FINALLY label, followed by:\n     *\n     * - the Exit opcode, which finalizes the marked DOM started by the\n     *   Enter opcode.\n     * - the Return opcode, which returns to the current return point\n     *   ($ra).\n     *\n     * Finally, it adds the ENDINITIAL label followed by the PopFrame\n     * instruction, which restores $fp, $sp and $ra.\n     *\n     * # Updating Execution\n     *\n     * Updating execution for this `replayable` occurs if the `body` added an\n     * assertion, via one of the `JumpIf`, `JumpUnless` or `AssertSame` opcodes.\n     *\n     * If, during updating executon, the assertion fails, the initial VM is\n     * restored, and the stored arguments are pushed onto the stack. The DOM\n     * between the starting and ending markers is cleared, and the VM's cursor\n     * is set to the area just cleared.\n     *\n     * The return point ($ra) is set to -1, the exit instruction.\n     *\n     * Finally, the $pc is set to to the instruction saved off by the\n     * Enter opcode during initial execution, and execution proceeds as\n     * usual.\n     *\n     * The only difference is that when a `Return` instruction is\n     * encountered, the program jumps to -1 rather than the END label,\n     * and the PopFrame opcode is not needed.\n     */\n    ;\n\n    _proto12.replayable = function replayable(_ref) {\n      var args = _ref.args,\n          body = _ref.body; // Start a new label frame, to give END and RETURN\n      // a unique meaning.\n\n      this.startLabels();\n      this.pushFrame(); // If the body invokes a block, its return will return to\n      // END. Otherwise, the return in RETURN will return to END.\n\n      this.returnTo('ENDINITIAL'); // Push the arguments onto the stack. The args() function\n      // tells us how many stack elements to retain for re-execution\n      // when updating.\n\n      var count = args(); // Start a new updating closure, remembering `count` elements\n      // from the stack. Everything after this point, and before END,\n      // will execute both initially and to update the block.\n      //\n      // The enter and exit opcodes also track the area of the DOM\n      // associated with this block. If an assertion inside the block\n      // fails (for example, the test value changes from true to false\n      // in an #if), the DOM is cleared and the program is re-executed,\n      // restoring `count` elements to the stack and executing the\n      // instructions between the enter and exit.\n\n      this.enter(count); // Evaluate the body of the block. The body of the block may\n      // return, which will jump execution to END during initial\n      // execution, and exit the updating routine.\n\n      body(); // All execution paths in the body should run the FINALLY once\n      // they are done. It is executed both during initial execution\n      // and during updating execution.\n\n      this.label('FINALLY'); // Finalize the DOM.\n\n      this.exit(); // In initial execution, this is a noop: it returns to the\n      // immediately following opcode. In updating execution, this\n      // exits the updating routine.\n\n      this.return(); // Cleanup code for the block. Runs on initial execution\n      // but not on updating.\n\n      this.label('ENDINITIAL');\n      this.popFrame();\n      this.stopLabels();\n    }\n    /**\n     * A specialized version of the `replayable` convenience that allows the\n     * caller to provide different code based upon whether the item at\n     * the top of the stack is true or false.\n     *\n     * As in `replayable`, the `ifTrue` and `ifFalse` code can invoke `return`.\n     *\n     * During the initial execution, a `return` will continue execution\n     * in the cleanup code, which finalizes the current DOM block and pops\n     * the current frame.\n     *\n     * During the updating execution, a `return` will exit the updating\n     * routine, as it can reuse the DOM block and is always only a single\n     * frame deep.\n     */\n    ;\n\n    _proto12.replayableIf = function replayableIf(_ref2) {\n      var _this7 = this;\n\n      var args = _ref2.args,\n          ifTrue = _ref2.ifTrue,\n          ifFalse = _ref2.ifFalse;\n      this.replayable({\n        args: args,\n        body: function () {\n          // If the conditional is false, jump to the ELSE label.\n          _this7.jumpUnless('ELSE'); // Otherwise, execute the code associated with the true branch.\n\n\n          ifTrue(); // We're done, so return. In the initial execution, this runs\n          // the cleanup code. In the updating VM, it exits the updating\n          // routine.\n\n          _this7.jump('FINALLY');\n\n          _this7.label('ELSE'); // If the conditional is false, and code associatied ith the\n          // false branch was provided, execute it. If there was no code\n          // associated with the false branch, jumping to the else statement\n          // has no other behavior.\n\n\n          if (ifFalse) {\n            ifFalse();\n          }\n        }\n      });\n    };\n\n    _proto12.inlineBlock = function inlineBlock(block) {\n      return new CompilableBlock(this.compiler, {\n        block: block,\n        containingLayout: this.containingLayout\n      });\n    };\n\n    _proto12.evalSymbols = function evalSymbols() {\n      var block = this.containingLayout.block;\n      return block.hasEval ? block.symbols : null;\n    };\n\n    _proto12.compileParams = function compileParams(params) {\n      if (!params) return 0;\n\n      for (var i = 0; i < params.length; i++) {\n        this.expr(params[i]);\n      }\n\n      return params.length;\n    };\n\n    _proto12.compileArgs = function compileArgs(params, hash, blocks, synthetic) {\n      if (blocks) {\n        this.pushYieldableBlock(blocks.main);\n        this.pushYieldableBlock(blocks.else);\n        this.pushYieldableBlock(blocks.attrs);\n      }\n\n      var count = this.compileParams(params);\n      var flags = count << 4;\n      if (synthetic) flags |= 8;\n\n      if (blocks) {\n        flags |= 7;\n      }\n\n      var names = _util.EMPTY_ARRAY;\n\n      if (hash) {\n        names = hash[0];\n        var val = hash[1];\n\n        for (var i = 0; i < val.length; i++) {\n          this.expr(val[i]);\n        }\n      }\n\n      this.pushArgs(names, flags);\n    };\n\n    _proto12.template = function template(block) {\n      if (!block) return null;\n      return this.inlineBlock(block);\n    };\n\n    (0, _emberBabel.createClass)(OpcodeBuilder, [{\n      key: \"referrer\",\n      get: function () {\n        return this.containingLayout && this.containingLayout.referrer;\n      }\n    }]);\n    return OpcodeBuilder;\n  }(StdOpcodeBuilder);\n\n  _exports.OpcodeBuilder = OpcodeBuilder;\n\n  var LazyOpcodeBuilder =\n  /*#__PURE__*/\n  function (_OpcodeBuilder) {\n    (0, _emberBabel.inheritsLoose)(LazyOpcodeBuilder, _OpcodeBuilder);\n\n    function LazyOpcodeBuilder() {\n      return _OpcodeBuilder.apply(this, arguments) || this;\n    }\n\n    var _proto13 = LazyOpcodeBuilder.prototype;\n\n    _proto13.pushBlock = function pushBlock(block) {\n      if (block) {\n        this.pushOther(block);\n      } else {\n        this.primitive(null);\n      }\n    };\n\n    _proto13.resolveBlock = function resolveBlock() {\n      this.push(46\n      /* CompileBlock */\n      );\n    };\n\n    _proto13.pushLayout = function pushLayout(layout) {\n      if (layout) {\n        this.pushOther(layout);\n      } else {\n        this.primitive(null);\n      }\n    };\n\n    _proto13.resolveLayout = function resolveLayout() {\n      this.push(46\n      /* CompileBlock */\n      );\n    };\n\n    _proto13.invokeStatic = function invokeStatic(compilable) {\n      this.pushOther(compilable);\n      this.push(46\n      /* CompileBlock */\n      );\n      this.pushMachine(49\n      /* InvokeVirtual */\n      );\n    };\n\n    _proto13.pushOther = function pushOther(value) {\n      this.push(12\n      /* Constant */\n      , this.other(value));\n    };\n\n    _proto13.other = function other(value) {\n      return this.constants.other(value);\n    };\n\n    return LazyOpcodeBuilder;\n  }(OpcodeBuilder);\n\n  _exports.LazyOpcodeBuilder = LazyOpcodeBuilder;\n\n  var EagerOpcodeBuilder =\n  /*#__PURE__*/\n  function (_OpcodeBuilder2) {\n    (0, _emberBabel.inheritsLoose)(EagerOpcodeBuilder, _OpcodeBuilder2);\n\n    function EagerOpcodeBuilder() {\n      return _OpcodeBuilder2.apply(this, arguments) || this;\n    }\n\n    var _proto14 = EagerOpcodeBuilder.prototype;\n\n    _proto14.pushBlock = function pushBlock(block) {\n      var handle = block ? block.compile() : null;\n      this.primitive(handle);\n    };\n\n    _proto14.resolveBlock = function resolveBlock() {\n      return;\n    };\n\n    _proto14.pushLayout = function pushLayout(layout) {\n      if (layout) {\n        this.primitive(layout.compile());\n      } else {\n        this.primitive(null);\n      }\n    };\n\n    _proto14.resolveLayout = function resolveLayout() {};\n\n    _proto14.invokeStatic = function invokeStatic(compilable) {\n      var handle = compilable.compile(); // If the handle for the invoked component is not yet known (for example,\n      // because this is a recursive invocation and we're still compiling), push a\n      // function that will produce the correct handle when the heap is\n      // serialized.\n\n      if (handle === PLACEHOLDER_HANDLE$1) {\n        this.pushMachine(50\n        /* InvokeStatic */\n        , function () {\n          return compilable.compile();\n        });\n      } else {\n        this.pushMachine(50\n        /* InvokeStatic */\n        , handle);\n      }\n    };\n\n    return EagerOpcodeBuilder;\n  }(OpcodeBuilder);\n\n  _exports.EagerOpcodeBuilder = EagerOpcodeBuilder;\n\n  var LazyCompiler =\n  /*#__PURE__*/\n  function (_AbstractCompiler) {\n    (0, _emberBabel.inheritsLoose)(LazyCompiler, _AbstractCompiler); // FIXME: turn to static method\n\n    function LazyCompiler(lookup, resolver, macros) {\n      var constants = new _program.LazyConstants(resolver);\n      var program = new _program.Program(constants);\n      return _AbstractCompiler.call(this, macros, program, lookup) || this;\n    }\n\n    var _proto15 = LazyCompiler.prototype;\n\n    _proto15.builderFor = function builderFor(containingLayout) {\n      return new LazyOpcodeBuilder(this, containingLayout);\n    };\n\n    return LazyCompiler;\n  }(AbstractCompiler);\n\n  _exports.LazyCompiler = LazyCompiler;\n\n  var PartialDefinition =\n  /*#__PURE__*/\n  function () {\n    function PartialDefinition(name, // for debugging\n    template) {\n      this.name = name;\n      this.template = template;\n    }\n\n    var _proto16 = PartialDefinition.prototype;\n\n    _proto16.getPartial = function getPartial() {\n      var partial = this.template.asPartial();\n      var handle = partial.compile();\n      return {\n        symbolTable: partial.symbolTable,\n        handle: handle\n      };\n    };\n\n    return PartialDefinition;\n  }();\n\n  _exports.PartialDefinition = PartialDefinition;\n  var clientId = 0;\n\n  function templateFactory(_ref3) {\n    var templateId = _ref3.id,\n        meta = _ref3.meta,\n        block = _ref3.block;\n    var parsedBlock;\n    var id = templateId || \"client-\" + clientId++;\n\n    var create = function (compiler, envMeta) {\n      var newMeta = envMeta ? (0, _util.assign)({}, envMeta, meta) : meta;\n\n      if (!parsedBlock) {\n        parsedBlock = JSON.parse(block);\n      }\n\n      return new TemplateImpl(compiler, {\n        id: id,\n        block: parsedBlock,\n        referrer: newMeta\n      });\n    };\n\n    return {\n      id: id,\n      meta: meta,\n      create: create\n    };\n  }\n\n  var TemplateImpl =\n  /*#__PURE__*/\n  function () {\n    function TemplateImpl(compiler, parsedLayout) {\n      this.compiler = compiler;\n      this.parsedLayout = parsedLayout;\n      this.layout = null;\n      this.partial = null;\n      this.wrappedLayout = null;\n      var block = parsedLayout.block;\n      this.symbols = block.symbols;\n      this.hasEval = block.hasEval;\n      this.referrer = parsedLayout.referrer;\n      this.id = parsedLayout.id || \"client-\" + clientId++;\n    }\n\n    var _proto17 = TemplateImpl.prototype;\n\n    _proto17.asLayout = function asLayout() {\n      if (this.layout) return this.layout;\n      return this.layout = new CompilableProgram(this.compiler, (0, _polyfills.assign)({}, this.parsedLayout, {\n        asPartial: false\n      }));\n    };\n\n    _proto17.asPartial = function asPartial() {\n      if (this.partial) return this.partial;\n      return this.layout = new CompilableProgram(this.compiler, (0, _polyfills.assign)({}, this.parsedLayout, {\n        asPartial: true\n      }));\n    };\n\n    _proto17.asWrappedLayout = function asWrappedLayout() {\n      if (this.wrappedLayout) return this.wrappedLayout;\n      return this.wrappedLayout = new WrappedBuilder(this.compiler, (0, _polyfills.assign)({}, this.parsedLayout, {\n        asPartial: false\n      }));\n    };\n\n    return TemplateImpl;\n  }();\n});","enifed(\"@glimmer/program\", [\"exports\", \"ember-babel\", \"@glimmer/util\"], function (_exports, _emberBabel, _util) {\n  \"use strict\";\n\n  _exports.Opcode = _exports.Program = _exports.RuntimeProgram = _exports.WriteOnlyProgram = _exports.Heap = _exports.LazyConstants = _exports.Constants = _exports.RuntimeConstants = _exports.WriteOnlyConstants = _exports.WELL_KNOWN_EMPTY_ARRAY_POSITION = void 0;\n  var UNRESOLVED = {};\n  var WELL_KNOWN_EMPTY_ARRAY_POSITION = 0;\n  _exports.WELL_KNOWN_EMPTY_ARRAY_POSITION = WELL_KNOWN_EMPTY_ARRAY_POSITION;\n  var WELL_KNOW_EMPTY_ARRAY = Object.freeze([]);\n\n  var WriteOnlyConstants =\n  /*#__PURE__*/\n  function () {\n    function WriteOnlyConstants() {\n      // `0` means NULL\n      this.strings = [];\n      this.arrays = [WELL_KNOW_EMPTY_ARRAY];\n      this.tables = [];\n      this.handles = [];\n      this.resolved = [];\n      this.numbers = [];\n    }\n\n    var _proto = WriteOnlyConstants.prototype;\n\n    _proto.string = function string(value) {\n      var index = this.strings.indexOf(value);\n\n      if (index > -1) {\n        return index;\n      }\n\n      return this.strings.push(value) - 1;\n    };\n\n    _proto.stringArray = function stringArray(strings) {\n      var _strings = new Array(strings.length);\n\n      for (var i = 0; i < strings.length; i++) {\n        _strings[i] = this.string(strings[i]);\n      }\n\n      return this.array(_strings);\n    };\n\n    _proto.array = function array(values) {\n      if (values.length === 0) {\n        return WELL_KNOWN_EMPTY_ARRAY_POSITION;\n      }\n\n      var index = this.arrays.indexOf(values);\n\n      if (index > -1) {\n        return index;\n      }\n\n      return this.arrays.push(values) - 1;\n    };\n\n    _proto.handle = function handle(_handle) {\n      var index = this.handles.indexOf(_handle);\n\n      if (index > -1) {\n        return index;\n      }\n\n      this.resolved.push(UNRESOLVED);\n      return this.handles.push(_handle) - 1;\n    };\n\n    _proto.serializable = function serializable(value) {\n      var str = JSON.stringify(value);\n      var index = this.strings.indexOf(str);\n\n      if (index > -1) {\n        return index;\n      }\n\n      return this.strings.push(str) - 1;\n    };\n\n    _proto.number = function number(_number) {\n      var index = this.numbers.indexOf(_number);\n\n      if (index > -1) {\n        return index;\n      }\n\n      return this.numbers.push(_number) - 1;\n    };\n\n    _proto.toPool = function toPool() {\n      return {\n        strings: this.strings,\n        arrays: this.arrays,\n        handles: this.handles,\n        numbers: this.numbers\n      };\n    };\n\n    return WriteOnlyConstants;\n  }();\n\n  _exports.WriteOnlyConstants = WriteOnlyConstants;\n\n  var RuntimeConstants =\n  /*#__PURE__*/\n  function () {\n    function RuntimeConstants(resolver, pool) {\n      this.resolver = resolver;\n      this.strings = pool.strings;\n      this.arrays = pool.arrays;\n      this.handles = pool.handles;\n      this.resolved = this.handles.map(function () {\n        return UNRESOLVED;\n      });\n      this.numbers = pool.numbers;\n    }\n\n    var _proto2 = RuntimeConstants.prototype;\n\n    _proto2.getString = function getString(value) {\n      return this.strings[value];\n    };\n\n    _proto2.getNumber = function getNumber(value) {\n      return this.numbers[value];\n    };\n\n    _proto2.getStringArray = function getStringArray(value) {\n      var names = this.getArray(value);\n\n      var _names = new Array(names.length);\n\n      for (var i = 0; i < names.length; i++) {\n        var n = names[i];\n        _names[i] = this.getString(n);\n      }\n\n      return _names;\n    };\n\n    _proto2.getArray = function getArray(value) {\n      return this.arrays[value];\n    };\n\n    _proto2.resolveHandle = function resolveHandle(index) {\n      var resolved = this.resolved[index];\n\n      if (resolved === UNRESOLVED) {\n        var handle = this.handles[index];\n        resolved = this.resolved[index] = this.resolver.resolve(handle);\n      }\n\n      return resolved;\n    };\n\n    _proto2.getSerializable = function getSerializable(s) {\n      return JSON.parse(this.strings[s]);\n    };\n\n    return RuntimeConstants;\n  }();\n\n  _exports.RuntimeConstants = RuntimeConstants;\n\n  var Constants =\n  /*#__PURE__*/\n  function (_WriteOnlyConstants) {\n    (0, _emberBabel.inheritsLoose)(Constants, _WriteOnlyConstants);\n\n    function Constants(resolver, pool) {\n      var _this;\n\n      _this = _WriteOnlyConstants.call(this) || this;\n      _this.resolver = resolver;\n\n      if (pool) {\n        _this.strings = pool.strings;\n        _this.arrays = pool.arrays;\n        _this.handles = pool.handles;\n        _this.resolved = _this.handles.map(function () {\n          return UNRESOLVED;\n        });\n        _this.numbers = pool.numbers;\n      }\n\n      return _this;\n    }\n\n    var _proto3 = Constants.prototype;\n\n    _proto3.getNumber = function getNumber(value) {\n      return this.numbers[value];\n    };\n\n    _proto3.getString = function getString(value) {\n      return this.strings[value];\n    };\n\n    _proto3.getStringArray = function getStringArray(value) {\n      var names = this.getArray(value);\n\n      var _names = new Array(names.length);\n\n      for (var i = 0; i < names.length; i++) {\n        var n = names[i];\n        _names[i] = this.getString(n);\n      }\n\n      return _names;\n    };\n\n    _proto3.getArray = function getArray(value) {\n      return this.arrays[value];\n    };\n\n    _proto3.resolveHandle = function resolveHandle(index) {\n      var resolved = this.resolved[index];\n\n      if (resolved === UNRESOLVED) {\n        var handle = this.handles[index];\n        resolved = this.resolved[index] = this.resolver.resolve(handle);\n      }\n\n      return resolved;\n    };\n\n    _proto3.getSerializable = function getSerializable(s) {\n      return JSON.parse(this.strings[s]);\n    };\n\n    return Constants;\n  }(WriteOnlyConstants);\n\n  _exports.Constants = Constants;\n\n  var LazyConstants =\n  /*#__PURE__*/\n  function (_Constants) {\n    (0, _emberBabel.inheritsLoose)(LazyConstants, _Constants);\n\n    function LazyConstants() {\n      var _this2;\n\n      _this2 = _Constants.apply(this, arguments) || this;\n      _this2.others = [];\n      _this2.serializables = [];\n      return _this2;\n    }\n\n    var _proto4 = LazyConstants.prototype;\n\n    _proto4.serializable = function serializable(value) {\n      var index = this.serializables.indexOf(value);\n\n      if (index > -1) {\n        return index;\n      }\n\n      return this.serializables.push(value) - 1;\n    };\n\n    _proto4.getSerializable = function getSerializable(s) {\n      return this.serializables[s];\n    };\n\n    _proto4.getOther = function getOther(value) {\n      return this.others[value - 1];\n    };\n\n    _proto4.other = function other(_other) {\n      return this.others.push(_other);\n    };\n\n    return LazyConstants;\n  }(Constants);\n\n  _exports.LazyConstants = LazyConstants;\n\n  var Opcode =\n  /*#__PURE__*/\n  function () {\n    function Opcode(heap) {\n      this.heap = heap;\n      this.offset = 0;\n    }\n\n    (0, _emberBabel.createClass)(Opcode, [{\n      key: \"size\",\n      get: function () {\n        var rawType = this.heap.getbyaddr(this.offset);\n        return ((rawType & 768\n        /* OPERAND_LEN_MASK */\n        ) >> 8\n        /* ARG_SHIFT */\n        ) + 1;\n      }\n    }, {\n      key: \"isMachine\",\n      get: function () {\n        var rawType = this.heap.getbyaddr(this.offset);\n        return rawType & 1024\n        /* MACHINE_MASK */\n        ;\n      }\n    }, {\n      key: \"type\",\n      get: function () {\n        return this.heap.getbyaddr(this.offset) & 255\n        /* TYPE_MASK */\n        ;\n      }\n    }, {\n      key: \"op1\",\n      get: function () {\n        return this.heap.getbyaddr(this.offset + 1);\n      }\n    }, {\n      key: \"op2\",\n      get: function () {\n        return this.heap.getbyaddr(this.offset + 2);\n      }\n    }, {\n      key: \"op3\",\n      get: function () {\n        return this.heap.getbyaddr(this.offset + 3);\n      }\n    }]);\n    return Opcode;\n  }();\n\n  _exports.Opcode = Opcode;\n\n  function encodeTableInfo(scopeSize, state) {\n    return state | scopeSize << 2;\n  }\n\n  function changeState(info, newState) {\n    return info | newState << 30;\n  }\n\n  var PAGE_SIZE = 0x100000;\n  /**\n   * The Heap is responsible for dynamically allocating\n   * memory in which we read/write the VM's instructions\n   * from/to. When we malloc we pass out a VMHandle, which\n   * is used as an indirect way of accessing the memory during\n   * execution of the VM. Internally we track the different\n   * regions of the memory in an int array known as the table.\n   *\n   * The table 32-bit aligned and has the following layout:\n   *\n   * | ... | hp (u32) |       info (u32)   | size (u32) |\n   * | ... |  Handle  | Scope Size | State | Size       |\n   * | ... | 32bits   | 30bits     | 2bits | 32bit      |\n   *\n   * With this information we effectively have the ability to\n   * control when we want to free memory. That being said you\n   * can not free during execution as raw address are only\n   * valid during the execution. This means you cannot close\n   * over them as you will have a bad memory access exception.\n   */\n\n  var Heap =\n  /*#__PURE__*/\n  function () {\n    function Heap(serializedHeap) {\n      this.placeholders = [];\n      this.offset = 0;\n      this.handle = 0;\n      this.capacity = PAGE_SIZE;\n\n      if (serializedHeap) {\n        var buffer = serializedHeap.buffer,\n            table = serializedHeap.table,\n            handle = serializedHeap.handle;\n        this.heap = new Uint32Array(buffer);\n        this.table = table;\n        this.offset = this.heap.length;\n        this.handle = handle;\n        this.capacity = 0;\n      } else {\n        this.heap = new Uint32Array(PAGE_SIZE);\n        this.table = [];\n      }\n    }\n\n    var _proto5 = Heap.prototype;\n\n    _proto5.push = function push(item) {\n      this.sizeCheck();\n      this.heap[this.offset++] = item;\n    };\n\n    _proto5.sizeCheck = function sizeCheck() {\n      if (this.capacity === 0) {\n        var heap = slice(this.heap, 0, this.offset);\n        this.heap = new Uint32Array(heap.length + PAGE_SIZE);\n        this.heap.set(heap, 0);\n        this.capacity = PAGE_SIZE;\n      }\n\n      this.capacity--;\n    };\n\n    _proto5.getbyaddr = function getbyaddr(address) {\n      return this.heap[address];\n    };\n\n    _proto5.setbyaddr = function setbyaddr(address, value) {\n      this.heap[address] = value;\n    };\n\n    _proto5.malloc = function malloc() {\n      // push offset, info, size\n      this.table.push(this.offset, 0, 0);\n      var handle = this.handle;\n      this.handle += 3\n      /* ENTRY_SIZE */\n      ;\n      return handle;\n    };\n\n    _proto5.finishMalloc = function finishMalloc(handle, scopeSize) {\n      this.table[handle + 1\n      /* INFO_OFFSET */\n      ] = encodeTableInfo(scopeSize, 0\n      /* Allocated */\n      );\n    };\n\n    _proto5.size = function size() {\n      return this.offset;\n    } // It is illegal to close over this address, as compaction\n    // may move it. However, it is legal to use this address\n    // multiple times between compactions.\n    ;\n\n    _proto5.getaddr = function getaddr(handle) {\n      return this.table[handle];\n    };\n\n    _proto5.gethandle = function gethandle(address) {\n      this.table.push(address, encodeTableInfo(0, 3\n      /* Pointer */\n      ), 0);\n      var handle = this.handle;\n      this.handle += 3\n      /* ENTRY_SIZE */\n      ;\n      return handle;\n    };\n\n    _proto5.sizeof = function sizeof(handle) {\n      return -1;\n    };\n\n    _proto5.scopesizeof = function scopesizeof(handle) {\n      var info = this.table[handle + 1\n      /* INFO_OFFSET */\n      ];\n      return info >> 2;\n    };\n\n    _proto5.free = function free(handle) {\n      var info = this.table[handle + 1\n      /* INFO_OFFSET */\n      ];\n      this.table[handle + 1\n      /* INFO_OFFSET */\n      ] = changeState(info, 1\n      /* Freed */\n      );\n    };\n\n    _proto5.pushPlaceholder = function pushPlaceholder(valueFunc) {\n      this.sizeCheck();\n      var address = this.offset++;\n      this.heap[address] = 2147483647\n      /* MAX_SIZE */\n      ;\n      this.placeholders.push([address, valueFunc]);\n    };\n\n    _proto5.patchPlaceholders = function patchPlaceholders() {\n      var placeholders = this.placeholders;\n\n      for (var i = 0; i < placeholders.length; i++) {\n        var _placeholders$i = placeholders[i],\n            address = _placeholders$i[0],\n            getValue = _placeholders$i[1];\n        this.setbyaddr(address, getValue());\n      }\n    };\n\n    _proto5.capture = function capture() {\n      var offset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.offset;\n      this.patchPlaceholders(); // Only called in eager mode\n\n      var buffer = slice(this.heap, 0, offset).buffer;\n      return {\n        handle: this.handle,\n        table: this.table,\n        buffer: buffer\n      };\n    };\n\n    return Heap;\n  }();\n\n  _exports.Heap = Heap;\n\n  var WriteOnlyProgram =\n  /*#__PURE__*/\n  function () {\n    function WriteOnlyProgram() {\n      var constants = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : new WriteOnlyConstants();\n      var heap = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : new Heap();\n      this.constants = constants;\n      this.heap = heap;\n      this._opcode = new Opcode(this.heap);\n    }\n\n    var _proto6 = WriteOnlyProgram.prototype;\n\n    _proto6.opcode = function opcode(offset) {\n      this._opcode.offset = offset;\n      return this._opcode;\n    };\n\n    return WriteOnlyProgram;\n  }();\n\n  _exports.WriteOnlyProgram = WriteOnlyProgram;\n\n  var RuntimeProgram =\n  /*#__PURE__*/\n  function () {\n    function RuntimeProgram(constants, heap) {\n      this.constants = constants;\n      this.heap = heap;\n      this._opcode = new Opcode(this.heap);\n    }\n\n    RuntimeProgram.hydrate = function hydrate(rawHeap, pool, resolver) {\n      var heap = new Heap(rawHeap);\n      var constants = new RuntimeConstants(resolver, pool);\n      return new RuntimeProgram(constants, heap);\n    };\n\n    var _proto7 = RuntimeProgram.prototype;\n\n    _proto7.opcode = function opcode(offset) {\n      this._opcode.offset = offset;\n      return this._opcode;\n    };\n\n    return RuntimeProgram;\n  }();\n\n  _exports.RuntimeProgram = RuntimeProgram;\n\n  var Program =\n  /*#__PURE__*/\n  function (_WriteOnlyProgram) {\n    (0, _emberBabel.inheritsLoose)(Program, _WriteOnlyProgram);\n\n    function Program() {\n      return _WriteOnlyProgram.apply(this, arguments) || this;\n    }\n\n    return Program;\n  }(WriteOnlyProgram);\n\n  _exports.Program = Program;\n\n  function slice(arr, start, end) {\n    if (arr.slice !== undefined) {\n      return arr.slice(start, end);\n    }\n\n    var ret = new Uint32Array(end);\n\n    for (; start < end; start++) {\n      ret[start] = arr[start];\n    }\n\n    return ret;\n  }\n});","enifed(\"@glimmer/reference\", [\"exports\", \"ember-babel\", \"@glimmer/util\"], function (_exports, _emberBabel, _util) {\n  \"use strict\";\n\n  _exports.isConst = isConst;\n  _exports.isConstTag = isConstTag;\n  _exports.bump = bump;\n  _exports.combineTagged = combineTagged;\n  _exports.combineSlice = combineSlice;\n  _exports.combine = combine;\n  _exports.map = map;\n  _exports.isModified = isModified;\n  _exports.ReferenceCache = _exports.CachedReference = _exports.UpdatableTag = _exports.CachedTag = _exports.DirtyableTag = _exports.CURRENT_TAG = _exports.VOLATILE_TAG = _exports.CONSTANT_TAG = _exports.TagWrapper = _exports.RevisionTag = _exports.VOLATILE = _exports.INITIAL = _exports.CONSTANT = _exports.IteratorSynchronizer = _exports.ReferenceIterator = _exports.IterationArtifacts = _exports.ListItem = _exports.ConstReference = void 0;\n  var CONSTANT = 0;\n  _exports.CONSTANT = CONSTANT;\n  var INITIAL = 1;\n  _exports.INITIAL = INITIAL;\n  var VOLATILE = NaN;\n  _exports.VOLATILE = VOLATILE;\n\n  var RevisionTag =\n  /*#__PURE__*/\n  function () {\n    function RevisionTag() {}\n\n    var _proto = RevisionTag.prototype;\n\n    _proto.validate = function validate(snapshot) {\n      return this.value() === snapshot;\n    };\n\n    return RevisionTag;\n  }();\n\n  _exports.RevisionTag = RevisionTag;\n  RevisionTag.id = 0;\n  var VALUE = [];\n  var VALIDATE = [];\n\n  var TagWrapper =\n  /*#__PURE__*/\n  function () {\n    function TagWrapper(type, inner) {\n      this.type = type;\n      this.inner = inner;\n    }\n\n    var _proto2 = TagWrapper.prototype;\n\n    _proto2.value = function value() {\n      var func = VALUE[this.type];\n      return func(this.inner);\n    };\n\n    _proto2.validate = function validate(snapshot) {\n      var func = VALIDATE[this.type];\n      return func(this.inner, snapshot);\n    };\n\n    return TagWrapper;\n  }();\n\n  _exports.TagWrapper = TagWrapper;\n\n  function register(Type) {\n    var type = VALUE.length;\n    VALUE.push(function (tag) {\n      return tag.value();\n    });\n    VALIDATE.push(function (tag, snapshot) {\n      return tag.validate(snapshot);\n    });\n    Type.id = type;\n  } ///\n  // CONSTANT: 0\n\n\n  VALUE.push(function () {\n    return CONSTANT;\n  });\n  VALIDATE.push(function (_tag, snapshot) {\n    return snapshot === CONSTANT;\n  });\n  var CONSTANT_TAG = new TagWrapper(0, null); // VOLATILE: 1\n\n  _exports.CONSTANT_TAG = CONSTANT_TAG;\n  VALUE.push(function () {\n    return VOLATILE;\n  });\n  VALIDATE.push(function (_tag, snapshot) {\n    return snapshot === VOLATILE;\n  });\n  var VOLATILE_TAG = new TagWrapper(1, null); // CURRENT: 2\n\n  _exports.VOLATILE_TAG = VOLATILE_TAG;\n  VALUE.push(function () {\n    return $REVISION;\n  });\n  VALIDATE.push(function (_tag, snapshot) {\n    return snapshot === $REVISION;\n  });\n  var CURRENT_TAG = new TagWrapper(2, null);\n  _exports.CURRENT_TAG = CURRENT_TAG;\n\n  function isConst(_ref) {\n    var tag = _ref.tag;\n    return tag === CONSTANT_TAG;\n  }\n\n  function isConstTag(tag) {\n    return tag === CONSTANT_TAG;\n  } ///\n\n\n  var $REVISION = INITIAL;\n\n  function bump() {\n    $REVISION++;\n  }\n\n  var DirtyableTag =\n  /*#__PURE__*/\n  function (_RevisionTag) {\n    (0, _emberBabel.inheritsLoose)(DirtyableTag, _RevisionTag);\n\n    DirtyableTag.create = function create() {\n      var revision = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : $REVISION;\n      return new TagWrapper(this.id, new DirtyableTag(revision));\n    };\n\n    function DirtyableTag() {\n      var _this;\n\n      var revision = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : $REVISION;\n      _this = _RevisionTag.call(this) || this;\n      _this.revision = revision;\n      return _this;\n    }\n\n    var _proto3 = DirtyableTag.prototype;\n\n    _proto3.value = function value() {\n      return this.revision;\n    };\n\n    _proto3.dirty = function dirty() {\n      this.revision = ++$REVISION;\n    };\n\n    return DirtyableTag;\n  }(RevisionTag);\n\n  _exports.DirtyableTag = DirtyableTag;\n  register(DirtyableTag);\n\n  function combineTagged(tagged) {\n    var optimized = [];\n\n    for (var i = 0, l = tagged.length; i < l; i++) {\n      var tag = tagged[i].tag;\n      if (tag === VOLATILE_TAG) return VOLATILE_TAG;\n      if (tag === CONSTANT_TAG) continue;\n      optimized.push(tag);\n    }\n\n    return _combine(optimized);\n  }\n\n  function combineSlice(slice) {\n    var optimized = [];\n    var node = slice.head();\n\n    while (node !== null) {\n      var tag = node.tag;\n      if (tag === VOLATILE_TAG) return VOLATILE_TAG;\n      if (tag !== CONSTANT_TAG) optimized.push(tag);\n      node = slice.nextNode(node);\n    }\n\n    return _combine(optimized);\n  }\n\n  function combine(tags) {\n    var optimized = [];\n\n    for (var i = 0, l = tags.length; i < l; i++) {\n      var tag = tags[i];\n      if (tag === VOLATILE_TAG) return VOLATILE_TAG;\n      if (tag === CONSTANT_TAG) continue;\n      optimized.push(tag);\n    }\n\n    return _combine(optimized);\n  }\n\n  function _combine(tags) {\n    switch (tags.length) {\n      case 0:\n        return CONSTANT_TAG;\n\n      case 1:\n        return tags[0];\n\n      case 2:\n        return TagsPair.create(tags[0], tags[1]);\n\n      default:\n        return TagsCombinator.create(tags);\n    }\n  }\n\n  var CachedTag =\n  /*#__PURE__*/\n  function (_RevisionTag2) {\n    (0, _emberBabel.inheritsLoose)(CachedTag, _RevisionTag2);\n\n    function CachedTag() {\n      var _this2;\n\n      _this2 = _RevisionTag2.apply(this, arguments) || this;\n      _this2.lastChecked = null;\n      _this2.lastValue = null;\n      return _this2;\n    }\n\n    var _proto4 = CachedTag.prototype;\n\n    _proto4.value = function value() {\n      var lastChecked = this.lastChecked;\n\n      if (lastChecked !== $REVISION) {\n        this.lastChecked = $REVISION;\n        this.lastValue = this.compute();\n      }\n\n      return this.lastValue;\n    };\n\n    _proto4.invalidate = function invalidate() {\n      this.lastChecked = null;\n    };\n\n    return CachedTag;\n  }(RevisionTag);\n\n  _exports.CachedTag = CachedTag;\n\n  var TagsPair =\n  /*#__PURE__*/\n  function (_CachedTag) {\n    (0, _emberBabel.inheritsLoose)(TagsPair, _CachedTag);\n\n    TagsPair.create = function create(first, second) {\n      return new TagWrapper(this.id, new TagsPair(first, second));\n    };\n\n    function TagsPair(first, second) {\n      var _this3;\n\n      _this3 = _CachedTag.call(this) || this;\n      _this3.first = first;\n      _this3.second = second;\n      return _this3;\n    }\n\n    var _proto5 = TagsPair.prototype;\n\n    _proto5.compute = function compute() {\n      return Math.max(this.first.value(), this.second.value());\n    };\n\n    return TagsPair;\n  }(CachedTag);\n\n  register(TagsPair);\n\n  var TagsCombinator =\n  /*#__PURE__*/\n  function (_CachedTag2) {\n    (0, _emberBabel.inheritsLoose)(TagsCombinator, _CachedTag2);\n\n    TagsCombinator.create = function create(tags) {\n      return new TagWrapper(this.id, new TagsCombinator(tags));\n    };\n\n    function TagsCombinator(tags) {\n      var _this4;\n\n      _this4 = _CachedTag2.call(this) || this;\n      _this4.tags = tags;\n      return _this4;\n    }\n\n    var _proto6 = TagsCombinator.prototype;\n\n    _proto6.compute = function compute() {\n      var tags = this.tags;\n      var max = -1;\n\n      for (var i = 0; i < tags.length; i++) {\n        var value = tags[i].value();\n        max = Math.max(value, max);\n      }\n\n      return max;\n    };\n\n    return TagsCombinator;\n  }(CachedTag);\n\n  register(TagsCombinator);\n\n  var UpdatableTag =\n  /*#__PURE__*/\n  function (_CachedTag3) {\n    (0, _emberBabel.inheritsLoose)(UpdatableTag, _CachedTag3);\n\n    UpdatableTag.create = function create(tag) {\n      return new TagWrapper(this.id, new UpdatableTag(tag));\n    };\n\n    function UpdatableTag(tag) {\n      var _this5;\n\n      _this5 = _CachedTag3.call(this) || this;\n      _this5.tag = tag;\n      _this5.lastUpdated = INITIAL;\n      return _this5;\n    }\n\n    var _proto7 = UpdatableTag.prototype;\n\n    _proto7.compute = function compute() {\n      return Math.max(this.lastUpdated, this.tag.value());\n    };\n\n    _proto7.update = function update(tag) {\n      if (tag !== this.tag) {\n        this.tag = tag;\n        this.lastUpdated = $REVISION;\n        this.invalidate();\n      }\n    };\n\n    return UpdatableTag;\n  }(CachedTag);\n\n  _exports.UpdatableTag = UpdatableTag;\n  register(UpdatableTag);\n\n  var CachedReference =\n  /*#__PURE__*/\n  function () {\n    function CachedReference() {\n      this.lastRevision = null;\n      this.lastValue = null;\n    }\n\n    var _proto8 = CachedReference.prototype;\n\n    _proto8.value = function value() {\n      var tag = this.tag,\n          lastRevision = this.lastRevision,\n          lastValue = this.lastValue;\n\n      if (lastRevision === null || !tag.validate(lastRevision)) {\n        lastValue = this.lastValue = this.compute();\n        this.lastRevision = tag.value();\n      }\n\n      return lastValue;\n    };\n\n    _proto8.invalidate = function invalidate() {\n      this.lastRevision = null;\n    };\n\n    return CachedReference;\n  }();\n\n  _exports.CachedReference = CachedReference;\n\n  var MapperReference =\n  /*#__PURE__*/\n  function (_CachedReference) {\n    (0, _emberBabel.inheritsLoose)(MapperReference, _CachedReference);\n\n    function MapperReference(reference, mapper) {\n      var _this6;\n\n      _this6 = _CachedReference.call(this) || this;\n      _this6.tag = reference.tag;\n      _this6.reference = reference;\n      _this6.mapper = mapper;\n      return _this6;\n    }\n\n    var _proto9 = MapperReference.prototype;\n\n    _proto9.compute = function compute() {\n      var reference = this.reference,\n          mapper = this.mapper;\n      return mapper(reference.value());\n    };\n\n    return MapperReference;\n  }(CachedReference);\n\n  function map(reference, mapper) {\n    return new MapperReference(reference, mapper);\n  } //////////\n\n\n  var ReferenceCache =\n  /*#__PURE__*/\n  function () {\n    function ReferenceCache(reference) {\n      this.lastValue = null;\n      this.lastRevision = null;\n      this.initialized = false;\n      this.tag = reference.tag;\n      this.reference = reference;\n    }\n\n    var _proto10 = ReferenceCache.prototype;\n\n    _proto10.peek = function peek() {\n      if (!this.initialized) {\n        return this.initialize();\n      }\n\n      return this.lastValue;\n    };\n\n    _proto10.revalidate = function revalidate() {\n      if (!this.initialized) {\n        return this.initialize();\n      }\n\n      var reference = this.reference,\n          lastRevision = this.lastRevision;\n      var tag = reference.tag;\n      if (tag.validate(lastRevision)) return NOT_MODIFIED;\n      this.lastRevision = tag.value();\n      var lastValue = this.lastValue;\n      var value = reference.value();\n      if (value === lastValue) return NOT_MODIFIED;\n      this.lastValue = value;\n      return value;\n    };\n\n    _proto10.initialize = function initialize() {\n      var reference = this.reference;\n      var value = this.lastValue = reference.value();\n      this.lastRevision = reference.tag.value();\n      this.initialized = true;\n      return value;\n    };\n\n    return ReferenceCache;\n  }();\n\n  _exports.ReferenceCache = ReferenceCache;\n  var NOT_MODIFIED = 'adb3b78e-3d22-4e4b-877a-6317c2c5c145';\n\n  function isModified(value) {\n    return value !== NOT_MODIFIED;\n  }\n\n  var ConstReference =\n  /*#__PURE__*/\n  function () {\n    function ConstReference(inner) {\n      this.inner = inner;\n      this.tag = CONSTANT_TAG;\n    }\n\n    var _proto11 = ConstReference.prototype;\n\n    _proto11.value = function value() {\n      return this.inner;\n    };\n\n    return ConstReference;\n  }();\n\n  _exports.ConstReference = ConstReference;\n\n  var ListItem =\n  /*#__PURE__*/\n  function (_ListNode) {\n    (0, _emberBabel.inheritsLoose)(ListItem, _ListNode);\n\n    function ListItem(iterable, result) {\n      var _this7;\n\n      _this7 = _ListNode.call(this, iterable.valueReferenceFor(result)) || this;\n      _this7.retained = false;\n      _this7.seen = false;\n      _this7.key = result.key;\n      _this7.iterable = iterable;\n      _this7.memo = iterable.memoReferenceFor(result);\n      return _this7;\n    }\n\n    var _proto12 = ListItem.prototype;\n\n    _proto12.update = function update(item) {\n      this.retained = true;\n      this.iterable.updateValueReference(this.value, item);\n      this.iterable.updateMemoReference(this.memo, item);\n    };\n\n    _proto12.shouldRemove = function shouldRemove() {\n      return !this.retained;\n    };\n\n    _proto12.reset = function reset() {\n      this.retained = false;\n      this.seen = false;\n    };\n\n    return ListItem;\n  }(_util.ListNode);\n\n  _exports.ListItem = ListItem;\n\n  var IterationArtifacts =\n  /*#__PURE__*/\n  function () {\n    function IterationArtifacts(iterable) {\n      this.iterator = null;\n      this.map = (0, _util.dict)();\n      this.list = new _util.LinkedList();\n      this.tag = iterable.tag;\n      this.iterable = iterable;\n    }\n\n    var _proto13 = IterationArtifacts.prototype;\n\n    _proto13.isEmpty = function isEmpty() {\n      var iterator = this.iterator = this.iterable.iterate();\n      return iterator.isEmpty();\n    };\n\n    _proto13.iterate = function iterate() {\n      var iterator;\n\n      if (this.iterator === null) {\n        iterator = this.iterable.iterate();\n      } else {\n        iterator = this.iterator;\n      }\n\n      this.iterator = null;\n      return iterator;\n    };\n\n    _proto13.has = function has(key) {\n      return !!this.map[key];\n    };\n\n    _proto13.get = function get(key) {\n      return this.map[key];\n    };\n\n    _proto13.wasSeen = function wasSeen(key) {\n      var node = this.map[key];\n      return node !== undefined && node.seen;\n    };\n\n    _proto13.append = function append(item) {\n      var map = this.map,\n          list = this.list,\n          iterable = this.iterable;\n      var node = map[item.key] = new ListItem(iterable, item);\n      list.append(node);\n      return node;\n    };\n\n    _proto13.insertBefore = function insertBefore(item, reference) {\n      var map = this.map,\n          list = this.list,\n          iterable = this.iterable;\n      var node = map[item.key] = new ListItem(iterable, item);\n      node.retained = true;\n      list.insertBefore(node, reference);\n      return node;\n    };\n\n    _proto13.move = function move(item, reference) {\n      var list = this.list;\n      item.retained = true;\n      list.remove(item);\n      list.insertBefore(item, reference);\n    };\n\n    _proto13.remove = function remove(item) {\n      var list = this.list;\n      list.remove(item);\n      delete this.map[item.key];\n    };\n\n    _proto13.nextNode = function nextNode(item) {\n      return this.list.nextNode(item);\n    };\n\n    _proto13.head = function head() {\n      return this.list.head();\n    };\n\n    return IterationArtifacts;\n  }();\n\n  _exports.IterationArtifacts = IterationArtifacts;\n\n  var ReferenceIterator =\n  /*#__PURE__*/\n  function () {\n    // if anyone needs to construct this object with something other than\n    // an iterable, let @wycats know.\n    function ReferenceIterator(iterable) {\n      this.iterator = null;\n      var artifacts = new IterationArtifacts(iterable);\n      this.artifacts = artifacts;\n    }\n\n    var _proto14 = ReferenceIterator.prototype;\n\n    _proto14.next = function next() {\n      var artifacts = this.artifacts;\n      var iterator = this.iterator = this.iterator || artifacts.iterate();\n      var item = iterator.next();\n      if (item === null) return null;\n      return artifacts.append(item);\n    };\n\n    return ReferenceIterator;\n  }();\n\n  _exports.ReferenceIterator = ReferenceIterator;\n  var Phase;\n\n  (function (Phase) {\n    Phase[Phase[\"Append\"] = 0] = \"Append\";\n    Phase[Phase[\"Prune\"] = 1] = \"Prune\";\n    Phase[Phase[\"Done\"] = 2] = \"Done\";\n  })(Phase || (Phase = {}));\n\n  var IteratorSynchronizer =\n  /*#__PURE__*/\n  function () {\n    function IteratorSynchronizer(_ref2) {\n      var target = _ref2.target,\n          artifacts = _ref2.artifacts;\n      this.target = target;\n      this.artifacts = artifacts;\n      this.iterator = artifacts.iterate();\n      this.current = artifacts.head();\n    }\n\n    var _proto15 = IteratorSynchronizer.prototype;\n\n    _proto15.sync = function sync() {\n      var phase = Phase.Append;\n\n      while (true) {\n        switch (phase) {\n          case Phase.Append:\n            phase = this.nextAppend();\n            break;\n\n          case Phase.Prune:\n            phase = this.nextPrune();\n            break;\n\n          case Phase.Done:\n            this.nextDone();\n            return;\n        }\n      }\n    };\n\n    _proto15.advanceToKey = function advanceToKey(key) {\n      var current = this.current,\n          artifacts = this.artifacts;\n      var seek = current;\n\n      while (seek !== null && seek.key !== key) {\n        seek.seen = true;\n        seek = artifacts.nextNode(seek);\n      }\n\n      if (seek !== null) {\n        this.current = artifacts.nextNode(seek);\n      }\n    };\n\n    _proto15.nextAppend = function nextAppend() {\n      var iterator = this.iterator,\n          current = this.current,\n          artifacts = this.artifacts;\n      var item = iterator.next();\n\n      if (item === null) {\n        return this.startPrune();\n      }\n\n      var key = item.key;\n\n      if (current !== null && current.key === key) {\n        this.nextRetain(item);\n      } else if (artifacts.has(key)) {\n        this.nextMove(item);\n      } else {\n        this.nextInsert(item);\n      }\n\n      return Phase.Append;\n    };\n\n    _proto15.nextRetain = function nextRetain(item) {\n      var artifacts = this.artifacts,\n          current = this.current;\n      current = current;\n      current.update(item);\n      this.current = artifacts.nextNode(current);\n      this.target.retain(item.key, current.value, current.memo);\n    };\n\n    _proto15.nextMove = function nextMove(item) {\n      var current = this.current,\n          artifacts = this.artifacts,\n          target = this.target;\n      var key = item.key;\n      var found = artifacts.get(item.key);\n      found.update(item);\n\n      if (artifacts.wasSeen(item.key)) {\n        artifacts.move(found, current);\n        target.move(found.key, found.value, found.memo, current ? current.key : null);\n      } else {\n        this.advanceToKey(key);\n      }\n    };\n\n    _proto15.nextInsert = function nextInsert(item) {\n      var artifacts = this.artifacts,\n          target = this.target,\n          current = this.current;\n      var node = artifacts.insertBefore(item, current);\n      target.insert(node.key, node.value, node.memo, current ? current.key : null);\n    };\n\n    _proto15.startPrune = function startPrune() {\n      this.current = this.artifacts.head();\n      return Phase.Prune;\n    };\n\n    _proto15.nextPrune = function nextPrune() {\n      var artifacts = this.artifacts,\n          target = this.target,\n          current = this.current;\n\n      if (current === null) {\n        return Phase.Done;\n      }\n\n      var node = current;\n      this.current = artifacts.nextNode(node);\n\n      if (node.shouldRemove()) {\n        artifacts.remove(node);\n        target.delete(node.key);\n      } else {\n        node.reset();\n      }\n\n      return Phase.Prune;\n    };\n\n    _proto15.nextDone = function nextDone() {\n      this.target.done();\n    };\n\n    return IteratorSynchronizer;\n  }();\n\n  _exports.IteratorSynchronizer = IteratorSynchronizer;\n});","enifed(\"@glimmer/runtime\", [\"exports\", \"ember-babel\", \"@glimmer/util\", \"@glimmer/reference\", \"@glimmer/vm\", \"@glimmer/low-level\"], function (_exports, _emberBabel, _util, _reference, _vm2, _lowLevel) {\n  \"use strict\";\n\n  _exports.renderMain = renderMain;\n  _exports.renderComponent = renderComponent;\n  _exports.setDebuggerCallback = setDebuggerCallback;\n  _exports.resetDebuggerCallback = resetDebuggerCallback;\n  _exports.getDynamicVar = getDynamicVar;\n  _exports.isCurriedComponentDefinition = isCurriedComponentDefinition;\n  _exports.curry = curry;\n  _exports.isWhitespace = isWhitespace;\n  _exports.normalizeProperty = normalizeProperty;\n  _exports.clientBuilder = clientBuilder;\n  _exports.rehydrationBuilder = rehydrationBuilder;\n  _exports.isSerializationFirstNode = isSerializationFirstNode;\n  _exports.capabilityFlagsFrom = capabilityFlagsFrom;\n  _exports.hasCapability = hasCapability;\n  _exports.Cursor = _exports.ConcreteBounds = _exports.SERIALIZATION_FIRST_NODE_STRING = _exports.RehydrateBuilder = _exports.NewElementBuilder = _exports.DOMTreeConstruction = _exports.IDOMChanges = _exports.SVG_NAMESPACE = _exports.DOMChanges = _exports.CurriedComponentDefinition = _exports.MINIMAL_CAPABILITIES = _exports.DEFAULT_CAPABILITIES = _exports.DefaultEnvironment = _exports.Environment = _exports.Scope = _exports.EMPTY_ARGS = _exports.DynamicAttribute = _exports.SimpleDynamicAttribute = _exports.RenderResult = _exports.UpdatingVM = _exports.LowLevelVM = _exports.ConditionalReference = _exports.PrimitiveReference = _exports.UNDEFINED_REFERENCE = _exports.NULL_REFERENCE = void 0;\n\n  // these import bindings will be stripped from build\n  var AppendOpcodes =\n  /*#__PURE__*/\n  function () {\n    function AppendOpcodes() {\n      this.evaluateOpcode = (0, _util.fillNulls)(98\n      /* Size */\n      ).slice();\n    }\n\n    var _proto = AppendOpcodes.prototype;\n\n    _proto.add = function add(name, evaluate) {\n      var kind = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'syscall';\n      this.evaluateOpcode[name] = {\n        syscall: kind === 'syscall',\n        evaluate: evaluate\n      };\n    };\n\n    _proto.debugBefore = function debugBefore(vm, opcode, type) {\n      var sp;\n      var state;\n      return {\n        sp: sp,\n        state: state\n      };\n    };\n\n    _proto.debugAfter = function debugAfter(vm, opcode, type, pre) {\n      var expectedChange;\n      var sp = pre.sp,\n          state = pre.state;\n      var metadata = null;\n\n      if (metadata !== null) {\n        if (typeof metadata.stackChange === 'number') {\n          expectedChange = metadata.stackChange;\n        } else {\n          expectedChange = metadata.stackChange({\n            opcode: opcode,\n            constants: vm.constants,\n            state: state\n          });\n          if (isNaN(expectedChange)) throw (0, _util.unreachable)();\n        }\n      }\n    };\n\n    _proto.evaluate = function evaluate(vm, opcode, type) {\n      var operation = this.evaluateOpcode[type];\n\n      if (operation.syscall) {\n        operation.evaluate(vm, opcode);\n      } else {\n        operation.evaluate(vm.inner, opcode);\n      }\n    };\n\n    return AppendOpcodes;\n  }();\n\n  var APPEND_OPCODES = new AppendOpcodes();\n\n  var AbstractOpcode = function AbstractOpcode() {\n    (0, _util.initializeGuid)(this);\n  };\n\n  var UpdatingOpcode =\n  /*#__PURE__*/\n  function (_AbstractOpcode) {\n    (0, _emberBabel.inheritsLoose)(UpdatingOpcode, _AbstractOpcode);\n\n    function UpdatingOpcode() {\n      var _this;\n\n      _this = _AbstractOpcode.apply(this, arguments) || this;\n      _this.next = null;\n      _this.prev = null;\n      return _this;\n    }\n\n    return UpdatingOpcode;\n  }(AbstractOpcode);\n\n  var PrimitiveReference =\n  /*#__PURE__*/\n  function (_ConstReference) {\n    (0, _emberBabel.inheritsLoose)(PrimitiveReference, _ConstReference);\n\n    function PrimitiveReference(value) {\n      return _ConstReference.call(this, value) || this;\n    }\n\n    PrimitiveReference.create = function create(value) {\n      if (value === undefined) {\n        return UNDEFINED_REFERENCE;\n      } else if (value === null) {\n        return NULL_REFERENCE;\n      } else if (value === true) {\n        return TRUE_REFERENCE;\n      } else if (value === false) {\n        return FALSE_REFERENCE;\n      } else if (typeof value === 'number') {\n        return new ValueReference(value);\n      } else {\n        return new StringReference(value);\n      }\n    };\n\n    var _proto2 = PrimitiveReference.prototype;\n\n    _proto2.get = function get(_key) {\n      return UNDEFINED_REFERENCE;\n    };\n\n    return PrimitiveReference;\n  }(_reference.ConstReference);\n\n  _exports.PrimitiveReference = PrimitiveReference;\n\n  var StringReference =\n  /*#__PURE__*/\n  function (_PrimitiveReference) {\n    (0, _emberBabel.inheritsLoose)(StringReference, _PrimitiveReference);\n\n    function StringReference() {\n      var _this2;\n\n      _this2 = _PrimitiveReference.apply(this, arguments) || this;\n      _this2.lengthReference = null;\n      return _this2;\n    }\n\n    var _proto3 = StringReference.prototype;\n\n    _proto3.get = function get(key) {\n      if (key === 'length') {\n        var lengthReference = this.lengthReference;\n\n        if (lengthReference === null) {\n          lengthReference = this.lengthReference = new ValueReference(this.inner.length);\n        }\n\n        return lengthReference;\n      } else {\n        return _PrimitiveReference.prototype.get.call(this, key);\n      }\n    };\n\n    return StringReference;\n  }(PrimitiveReference);\n\n  var ValueReference =\n  /*#__PURE__*/\n  function (_PrimitiveReference2) {\n    (0, _emberBabel.inheritsLoose)(ValueReference, _PrimitiveReference2);\n\n    function ValueReference(value) {\n      return _PrimitiveReference2.call(this, value) || this;\n    }\n\n    return ValueReference;\n  }(PrimitiveReference);\n\n  var UNDEFINED_REFERENCE = new ValueReference(undefined);\n  _exports.UNDEFINED_REFERENCE = UNDEFINED_REFERENCE;\n  var NULL_REFERENCE = new ValueReference(null);\n  _exports.NULL_REFERENCE = NULL_REFERENCE;\n  var TRUE_REFERENCE = new ValueReference(true);\n  var FALSE_REFERENCE = new ValueReference(false);\n\n  var ConditionalReference =\n  /*#__PURE__*/\n  function () {\n    function ConditionalReference(inner) {\n      this.inner = inner;\n      this.tag = inner.tag;\n    }\n\n    var _proto4 = ConditionalReference.prototype;\n\n    _proto4.value = function value() {\n      return this.toBool(this.inner.value());\n    };\n\n    _proto4.toBool = function toBool(value) {\n      return !!value;\n    };\n\n    return ConditionalReference;\n  }();\n\n  _exports.ConditionalReference = ConditionalReference;\n\n  var ConcatReference =\n  /*#__PURE__*/\n  function (_CachedReference) {\n    (0, _emberBabel.inheritsLoose)(ConcatReference, _CachedReference);\n\n    function ConcatReference(parts) {\n      var _this3;\n\n      _this3 = _CachedReference.call(this) || this;\n      _this3.parts = parts;\n      _this3.tag = (0, _reference.combineTagged)(parts);\n      return _this3;\n    }\n\n    var _proto5 = ConcatReference.prototype;\n\n    _proto5.compute = function compute() {\n      var parts = new Array();\n\n      for (var i = 0; i < this.parts.length; i++) {\n        var value = this.parts[i].value();\n\n        if (value !== null && value !== undefined) {\n          parts[i] = castToString(value);\n        }\n      }\n\n      if (parts.length > 0) {\n        return parts.join('');\n      }\n\n      return null;\n    };\n\n    return ConcatReference;\n  }(_reference.CachedReference);\n\n  function castToString(value) {\n    if (typeof value.toString !== 'function') {\n      return '';\n    }\n\n    return String(value);\n  }\n\n  APPEND_OPCODES.add(1\n  /* Helper */\n  , function (vm, _ref) {\n    var handle = _ref.op1;\n    var stack = vm.stack;\n    var helper = vm.constants.resolveHandle(handle);\n    var args = stack.pop();\n    var value = helper(vm, args);\n    vm.loadValue(_vm2.Register.v0, value);\n  });\n  APPEND_OPCODES.add(6\n  /* GetVariable */\n  , function (vm, _ref2) {\n    var symbol = _ref2.op1;\n    var expr = vm.referenceForSymbol(symbol);\n    vm.stack.push(expr);\n  });\n  APPEND_OPCODES.add(4\n  /* SetVariable */\n  , function (vm, _ref3) {\n    var symbol = _ref3.op1;\n    var expr = vm.stack.pop();\n    vm.scope().bindSymbol(symbol, expr);\n  });\n  APPEND_OPCODES.add(5\n  /* SetBlock */\n  , function (vm, _ref4) {\n    var symbol = _ref4.op1;\n    var handle = vm.stack.pop();\n    var scope = vm.stack.pop(); // FIXME(mmun): shouldn't need to cast this\n\n    var table = vm.stack.pop();\n    var block = table ? [handle, scope, table] : null;\n    vm.scope().bindBlock(symbol, block);\n  });\n  APPEND_OPCODES.add(96\n  /* ResolveMaybeLocal */\n  , function (vm, _ref5) {\n    var _name = _ref5.op1;\n    var name = vm.constants.getString(_name);\n    var locals = vm.scope().getPartialMap();\n    var ref = locals[name];\n\n    if (ref === undefined) {\n      ref = vm.getSelf().get(name);\n    }\n\n    vm.stack.push(ref);\n  });\n  APPEND_OPCODES.add(20\n  /* RootScope */\n  , function (vm, _ref6) {\n    var symbols = _ref6.op1,\n        bindCallerScope = _ref6.op2;\n    vm.pushRootScope(symbols, !!bindCallerScope);\n  });\n  APPEND_OPCODES.add(7\n  /* GetProperty */\n  , function (vm, _ref7) {\n    var _key = _ref7.op1;\n    var key = vm.constants.getString(_key);\n    var expr = vm.stack.pop();\n    vm.stack.push(expr.get(key));\n  });\n  APPEND_OPCODES.add(8\n  /* GetBlock */\n  , function (vm, _ref8) {\n    var _block = _ref8.op1;\n    var stack = vm.stack;\n    var block = vm.scope().getBlock(_block);\n\n    if (block) {\n      stack.push(block[2]);\n      stack.push(block[1]);\n      stack.push(block[0]);\n    } else {\n      stack.push(null);\n      stack.push(null);\n      stack.push(null);\n    }\n  });\n  APPEND_OPCODES.add(9\n  /* HasBlock */\n  , function (vm, _ref9) {\n    var _block = _ref9.op1;\n    var hasBlock = !!vm.scope().getBlock(_block);\n    vm.stack.push(hasBlock ? TRUE_REFERENCE : FALSE_REFERENCE);\n  });\n  APPEND_OPCODES.add(10\n  /* HasBlockParams */\n  , function (vm) {\n    // FIXME(mmun): should only need to push the symbol table\n    var block = vm.stack.pop();\n    var scope = vm.stack.pop();\n    var table = vm.stack.pop();\n    var hasBlockParams = table && table.parameters.length;\n    vm.stack.push(hasBlockParams ? TRUE_REFERENCE : FALSE_REFERENCE);\n  });\n  APPEND_OPCODES.add(11\n  /* Concat */\n  , function (vm, _ref10) {\n    var count = _ref10.op1;\n    var out = new Array(count);\n\n    for (var i = count; i > 0; i--) {\n      var offset = i - 1;\n      out[offset] = vm.stack.pop();\n    }\n\n    vm.stack.push(new ConcatReference(out));\n  });\n  var CURRIED_COMPONENT_DEFINITION_BRAND = 'CURRIED COMPONENT DEFINITION [id=6f00feb9-a0ef-4547-99ea-ac328f80acea]';\n\n  function isCurriedComponentDefinition(definition) {\n    return !!(definition && definition[CURRIED_COMPONENT_DEFINITION_BRAND]);\n  }\n\n  function isComponentDefinition(definition) {\n    return definition && definition[CURRIED_COMPONENT_DEFINITION_BRAND];\n  }\n\n  var CurriedComponentDefinition =\n  /*#__PURE__*/\n  function () {\n    /** @internal */\n    function CurriedComponentDefinition(inner, args) {\n      this.inner = inner;\n      this.args = args;\n      this[CURRIED_COMPONENT_DEFINITION_BRAND] = true;\n    }\n\n    var _proto6 = CurriedComponentDefinition.prototype;\n\n    _proto6.unwrap = function unwrap(args) {\n      args.realloc(this.offset);\n      var definition = this;\n\n      while (true) {\n        var _definition = definition,\n            curriedArgs = _definition.args,\n            inner = _definition.inner;\n\n        if (curriedArgs) {\n          args.positional.prepend(curriedArgs.positional);\n          args.named.merge(curriedArgs.named);\n        }\n\n        if (!isCurriedComponentDefinition(inner)) {\n          return inner;\n        }\n\n        definition = inner;\n      }\n    }\n    /** @internal */\n    ;\n\n    (0, _emberBabel.createClass)(CurriedComponentDefinition, [{\n      key: \"offset\",\n      get: function () {\n        var inner = this.inner,\n            args = this.args;\n        var length = args ? args.positional.length : 0;\n        return isCurriedComponentDefinition(inner) ? length + inner.offset : length;\n      }\n    }]);\n    return CurriedComponentDefinition;\n  }();\n\n  _exports.CurriedComponentDefinition = CurriedComponentDefinition;\n\n  function curry(spec) {\n    var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n    return new CurriedComponentDefinition(spec, args);\n  }\n\n  function normalizeStringValue(value) {\n    if (isEmpty(value)) {\n      return '';\n    }\n\n    return String(value);\n  }\n\n  function shouldCoerce(value) {\n    return isString(value) || isEmpty(value) || typeof value === 'boolean' || typeof value === 'number';\n  }\n\n  function isEmpty(value) {\n    return value === null || value === undefined || typeof value.toString !== 'function';\n  }\n\n  function isSafeString(value) {\n    return typeof value === 'object' && value !== null && typeof value.toHTML === 'function';\n  }\n\n  function isNode(value) {\n    return typeof value === 'object' && value !== null && typeof value.nodeType === 'number';\n  }\n\n  function isFragment(value) {\n    return isNode(value) && value.nodeType === 11;\n  }\n\n  function isString(value) {\n    return typeof value === 'string';\n  }\n\n  var DynamicTextContent =\n  /*#__PURE__*/\n  function (_UpdatingOpcode) {\n    (0, _emberBabel.inheritsLoose)(DynamicTextContent, _UpdatingOpcode);\n\n    function DynamicTextContent(node, reference, lastValue) {\n      var _this4;\n\n      _this4 = _UpdatingOpcode.call(this) || this;\n      _this4.node = node;\n      _this4.reference = reference;\n      _this4.lastValue = lastValue;\n      _this4.type = 'dynamic-text';\n      _this4.tag = reference.tag;\n      _this4.lastRevision = _this4.tag.value();\n      return _this4;\n    }\n\n    var _proto7 = DynamicTextContent.prototype;\n\n    _proto7.evaluate = function evaluate() {\n      var reference = this.reference,\n          tag = this.tag;\n\n      if (!tag.validate(this.lastRevision)) {\n        this.lastRevision = tag.value();\n        this.update(reference.value());\n      }\n    };\n\n    _proto7.update = function update(value) {\n      var lastValue = this.lastValue;\n      if (value === lastValue) return;\n      var normalized;\n\n      if (isEmpty(value)) {\n        normalized = '';\n      } else if (isString(value)) {\n        normalized = value;\n      } else {\n        normalized = String(value);\n      }\n\n      if (normalized !== lastValue) {\n        var textNode = this.node;\n        textNode.nodeValue = this.lastValue = normalized;\n      }\n    };\n\n    return DynamicTextContent;\n  }(UpdatingOpcode);\n\n  var IsCurriedComponentDefinitionReference =\n  /*#__PURE__*/\n  function (_ConditionalReference) {\n    (0, _emberBabel.inheritsLoose)(IsCurriedComponentDefinitionReference, _ConditionalReference);\n\n    function IsCurriedComponentDefinitionReference() {\n      return _ConditionalReference.apply(this, arguments) || this;\n    }\n\n    IsCurriedComponentDefinitionReference.create = function create(inner) {\n      return new IsCurriedComponentDefinitionReference(inner);\n    };\n\n    var _proto8 = IsCurriedComponentDefinitionReference.prototype;\n\n    _proto8.toBool = function toBool(value) {\n      return isCurriedComponentDefinition(value);\n    };\n\n    return IsCurriedComponentDefinitionReference;\n  }(ConditionalReference);\n\n  var ContentTypeReference =\n  /*#__PURE__*/\n  function () {\n    function ContentTypeReference(inner) {\n      this.inner = inner;\n      this.tag = inner.tag;\n    }\n\n    var _proto9 = ContentTypeReference.prototype;\n\n    _proto9.value = function value() {\n      var value = this.inner.value();\n\n      if (shouldCoerce(value)) {\n        return 1\n        /* String */\n        ;\n      } else if (isComponentDefinition(value)) {\n        return 0\n        /* Component */\n        ;\n      } else if (isSafeString(value)) {\n        return 3\n        /* SafeString */\n        ;\n      } else if (isFragment(value)) {\n        return 4\n        /* Fragment */\n        ;\n      } else if (isNode(value)) {\n        return 5\n        /* Node */\n        ;\n      } else {\n          return 1\n          /* String */\n          ;\n        }\n    };\n\n    return ContentTypeReference;\n  }();\n\n  APPEND_OPCODES.add(28\n  /* AppendHTML */\n  , function (vm) {\n    var reference = vm.stack.pop();\n    var rawValue = reference.value();\n    var value = isEmpty(rawValue) ? '' : String(rawValue);\n    vm.elements().appendDynamicHTML(value);\n  });\n  APPEND_OPCODES.add(29\n  /* AppendSafeHTML */\n  , function (vm) {\n    var reference = vm.stack.pop();\n    var rawValue = reference.value().toHTML();\n    var value = isEmpty(rawValue) ? '' : rawValue;\n    vm.elements().appendDynamicHTML(value);\n  });\n  APPEND_OPCODES.add(32\n  /* AppendText */\n  , function (vm) {\n    var reference = vm.stack.pop();\n    var rawValue = reference.value();\n    var value = isEmpty(rawValue) ? '' : String(rawValue);\n    var node = vm.elements().appendDynamicText(value);\n\n    if (!(0, _reference.isConst)(reference)) {\n      vm.updateWith(new DynamicTextContent(node, reference, value));\n    }\n  });\n  APPEND_OPCODES.add(30\n  /* AppendDocumentFragment */\n  , function (vm) {\n    var reference = vm.stack.pop();\n    var value = reference.value();\n    vm.elements().appendDynamicFragment(value);\n  });\n  APPEND_OPCODES.add(31\n  /* AppendNode */\n  , function (vm) {\n    var reference = vm.stack.pop();\n    var value = reference.value();\n    vm.elements().appendDynamicNode(value);\n  });\n  APPEND_OPCODES.add(22\n  /* ChildScope */\n  , function (vm) {\n    return vm.pushChildScope();\n  });\n  APPEND_OPCODES.add(23\n  /* PopScope */\n  , function (vm) {\n    return vm.popScope();\n  });\n  APPEND_OPCODES.add(44\n  /* PushDynamicScope */\n  , function (vm) {\n    return vm.pushDynamicScope();\n  });\n  APPEND_OPCODES.add(45\n  /* PopDynamicScope */\n  , function (vm) {\n    return vm.popDynamicScope();\n  });\n  APPEND_OPCODES.add(12\n  /* Constant */\n  , function (vm, _ref11) {\n    var other = _ref11.op1;\n    vm.stack.push(vm.constants.getOther(other));\n  });\n  APPEND_OPCODES.add(13\n  /* Primitive */\n  , function (vm, _ref12) {\n    var primitive = _ref12.op1;\n    var stack = vm.stack;\n    var flag = primitive & 7; // 111\n\n    var value = primitive >> 3;\n\n    switch (flag) {\n      case 0\n      /* NUMBER */\n      :\n        stack.push(value);\n        break;\n\n      case 1\n      /* FLOAT */\n      :\n        stack.push(vm.constants.getNumber(value));\n        break;\n\n      case 2\n      /* STRING */\n      :\n        stack.push(vm.constants.getString(value));\n        break;\n\n      case 3\n      /* BOOLEAN_OR_VOID */\n      :\n        stack.pushEncodedImmediate(primitive);\n        break;\n\n      case 4\n      /* NEGATIVE */\n      :\n        stack.push(vm.constants.getNumber(value));\n        break;\n\n      case 5\n      /* BIG_NUM */\n      :\n        stack.push(vm.constants.getNumber(value));\n        break;\n    }\n  });\n  APPEND_OPCODES.add(14\n  /* PrimitiveReference */\n  , function (vm) {\n    var stack = vm.stack;\n    stack.push(PrimitiveReference.create(stack.pop()));\n  });\n  APPEND_OPCODES.add(15\n  /* ReifyU32 */\n  , function (vm) {\n    var stack = vm.stack;\n    stack.push(stack.peek().value());\n  });\n  APPEND_OPCODES.add(16\n  /* Dup */\n  , function (vm, _ref13) {\n    var register = _ref13.op1,\n        offset = _ref13.op2;\n    var position = vm.fetchValue(register) - offset;\n    vm.stack.dup(position);\n  });\n  APPEND_OPCODES.add(17\n  /* Pop */\n  , function (vm, _ref14) {\n    var count = _ref14.op1;\n    vm.stack.pop(count);\n  });\n  APPEND_OPCODES.add(18\n  /* Load */\n  , function (vm, _ref15) {\n    var register = _ref15.op1;\n    vm.load(register);\n  });\n  APPEND_OPCODES.add(19\n  /* Fetch */\n  , function (vm, _ref16) {\n    var register = _ref16.op1;\n    vm.fetch(register);\n  });\n  APPEND_OPCODES.add(43\n  /* BindDynamicScope */\n  , function (vm, _ref17) {\n    var _names = _ref17.op1;\n    var names = vm.constants.getArray(_names);\n    vm.bindDynamicScope(names);\n  });\n  APPEND_OPCODES.add(61\n  /* Enter */\n  , function (vm, _ref18) {\n    var args = _ref18.op1;\n    vm.enter(args);\n  });\n  APPEND_OPCODES.add(62\n  /* Exit */\n  , function (vm) {\n    vm.exit();\n  });\n  APPEND_OPCODES.add(48\n  /* PushSymbolTable */\n  , function (vm, _ref19) {\n    var _table = _ref19.op1;\n    var stack = vm.stack;\n    stack.push(vm.constants.getSerializable(_table));\n  });\n  APPEND_OPCODES.add(47\n  /* PushBlockScope */\n  , function (vm) {\n    var stack = vm.stack;\n    stack.push(vm.scope());\n  });\n  APPEND_OPCODES.add(46\n  /* CompileBlock */\n  , function (vm) {\n    var stack = vm.stack;\n    var block = stack.pop();\n\n    if (block) {\n      stack.push(block.compile());\n    } else {\n      stack.pushNull();\n    }\n  });\n  APPEND_OPCODES.add(51\n  /* InvokeYield */\n  , function (vm) {\n    var stack = vm.stack;\n    var handle = stack.pop();\n    var scope = stack.pop(); // FIXME(mmun): shouldn't need to cast this\n\n    var table = stack.pop();\n    var args = stack.pop();\n\n    if (table === null) {\n      // To balance the pop{Frame,Scope}\n      vm.pushFrame();\n      vm.pushScope(scope); // Could be null but it doesnt matter as it is immediatelly popped.\n\n      return;\n    }\n\n    var invokingScope = scope; // If necessary, create a child scope\n\n    {\n      var locals = table.parameters;\n      var localsCount = locals.length;\n\n      if (localsCount > 0) {\n        invokingScope = invokingScope.child();\n\n        for (var i = 0; i < localsCount; i++) {\n          invokingScope.bindSymbol(locals[i], args.at(i));\n        }\n      }\n    }\n    vm.pushFrame();\n    vm.pushScope(invokingScope);\n    vm.call(handle);\n  });\n  APPEND_OPCODES.add(53\n  /* JumpIf */\n  , function (vm, _ref20) {\n    var target = _ref20.op1;\n    var reference = vm.stack.pop();\n\n    if ((0, _reference.isConst)(reference)) {\n      if (reference.value()) {\n        vm.goto(target);\n      }\n    } else {\n      var cache = new _reference.ReferenceCache(reference);\n\n      if (cache.peek()) {\n        vm.goto(target);\n      }\n\n      vm.updateWith(new Assert(cache));\n    }\n  });\n  APPEND_OPCODES.add(54\n  /* JumpUnless */\n  , function (vm, _ref21) {\n    var target = _ref21.op1;\n    var reference = vm.stack.pop();\n\n    if ((0, _reference.isConst)(reference)) {\n      if (!reference.value()) {\n        vm.goto(target);\n      }\n    } else {\n      var cache = new _reference.ReferenceCache(reference);\n\n      if (!cache.peek()) {\n        vm.goto(target);\n      }\n\n      vm.updateWith(new Assert(cache));\n    }\n  });\n  APPEND_OPCODES.add(55\n  /* JumpEq */\n  , function (vm, _ref22) {\n    var target = _ref22.op1,\n        comparison = _ref22.op2;\n    var other = vm.stack.peek();\n\n    if (other === comparison) {\n      vm.goto(target);\n    }\n  });\n  APPEND_OPCODES.add(56\n  /* AssertSame */\n  , function (vm) {\n    var reference = vm.stack.peek();\n\n    if (!(0, _reference.isConst)(reference)) {\n      vm.updateWith(Assert.initialize(new _reference.ReferenceCache(reference)));\n    }\n  });\n  APPEND_OPCODES.add(63\n  /* ToBoolean */\n  , function (vm) {\n    var env = vm.env,\n        stack = vm.stack;\n    stack.push(env.toConditionalReference(stack.pop()));\n  });\n\n  var Assert =\n  /*#__PURE__*/\n  function (_UpdatingOpcode2) {\n    (0, _emberBabel.inheritsLoose)(Assert, _UpdatingOpcode2);\n\n    function Assert(cache) {\n      var _this5;\n\n      _this5 = _UpdatingOpcode2.call(this) || this;\n      _this5.type = 'assert';\n      _this5.tag = cache.tag;\n      _this5.cache = cache;\n      return _this5;\n    }\n\n    Assert.initialize = function initialize(cache) {\n      var assert = new Assert(cache);\n      cache.peek();\n      return assert;\n    };\n\n    var _proto10 = Assert.prototype;\n\n    _proto10.evaluate = function evaluate(vm) {\n      var cache = this.cache;\n\n      if ((0, _reference.isModified)(cache.revalidate())) {\n        vm.throw();\n      }\n    };\n\n    return Assert;\n  }(UpdatingOpcode);\n\n  var JumpIfNotModifiedOpcode =\n  /*#__PURE__*/\n  function (_UpdatingOpcode3) {\n    (0, _emberBabel.inheritsLoose)(JumpIfNotModifiedOpcode, _UpdatingOpcode3);\n\n    function JumpIfNotModifiedOpcode(tag, target) {\n      var _this6;\n\n      _this6 = _UpdatingOpcode3.call(this) || this;\n      _this6.target = target;\n      _this6.type = 'jump-if-not-modified';\n      _this6.tag = tag;\n      _this6.lastRevision = tag.value();\n      return _this6;\n    }\n\n    var _proto11 = JumpIfNotModifiedOpcode.prototype;\n\n    _proto11.evaluate = function evaluate(vm) {\n      var tag = this.tag,\n          target = this.target,\n          lastRevision = this.lastRevision;\n\n      if (!vm.alwaysRevalidate && tag.validate(lastRevision)) {\n        vm.goto(target);\n      }\n    };\n\n    _proto11.didModify = function didModify() {\n      this.lastRevision = this.tag.value();\n    };\n\n    return JumpIfNotModifiedOpcode;\n  }(UpdatingOpcode);\n\n  var DidModifyOpcode =\n  /*#__PURE__*/\n  function (_UpdatingOpcode4) {\n    (0, _emberBabel.inheritsLoose)(DidModifyOpcode, _UpdatingOpcode4);\n\n    function DidModifyOpcode(target) {\n      var _this7;\n\n      _this7 = _UpdatingOpcode4.call(this) || this;\n      _this7.target = target;\n      _this7.type = 'did-modify';\n      _this7.tag = _reference.CONSTANT_TAG;\n      return _this7;\n    }\n\n    var _proto12 = DidModifyOpcode.prototype;\n\n    _proto12.evaluate = function evaluate() {\n      this.target.didModify();\n    };\n\n    return DidModifyOpcode;\n  }(UpdatingOpcode);\n\n  var LabelOpcode =\n  /*#__PURE__*/\n  function () {\n    function LabelOpcode(label) {\n      this.tag = _reference.CONSTANT_TAG;\n      this.type = 'label';\n      this.label = null;\n      this.prev = null;\n      this.next = null;\n      (0, _util.initializeGuid)(this);\n      this.label = label;\n    }\n\n    var _proto13 = LabelOpcode.prototype;\n\n    _proto13.evaluate = function evaluate() {};\n\n    _proto13.inspect = function inspect() {\n      return this.label + \" [\" + this._guid + \"]\";\n    };\n\n    return LabelOpcode;\n  }();\n\n  APPEND_OPCODES.add(26\n  /* Text */\n  , function (vm, _ref23) {\n    var text = _ref23.op1;\n    vm.elements().appendText(vm.constants.getString(text));\n  });\n  APPEND_OPCODES.add(27\n  /* Comment */\n  , function (vm, _ref24) {\n    var text = _ref24.op1;\n    vm.elements().appendComment(vm.constants.getString(text));\n  });\n  APPEND_OPCODES.add(33\n  /* OpenElement */\n  , function (vm, _ref25) {\n    var tag = _ref25.op1;\n    vm.elements().openElement(vm.constants.getString(tag));\n  });\n  APPEND_OPCODES.add(34\n  /* OpenDynamicElement */\n  , function (vm) {\n    var tagName = vm.stack.pop().value();\n    vm.elements().openElement(tagName);\n  });\n  APPEND_OPCODES.add(41\n  /* PushRemoteElement */\n  , function (vm) {\n    var elementRef = vm.stack.pop();\n    var nextSiblingRef = vm.stack.pop();\n    var guidRef = vm.stack.pop();\n    var element;\n    var nextSibling;\n    var guid = guidRef.value();\n\n    if ((0, _reference.isConst)(elementRef)) {\n      element = elementRef.value();\n    } else {\n      var cache = new _reference.ReferenceCache(elementRef);\n      element = cache.peek();\n      vm.updateWith(new Assert(cache));\n    }\n\n    if ((0, _reference.isConst)(nextSiblingRef)) {\n      nextSibling = nextSiblingRef.value();\n    } else {\n      var _cache = new _reference.ReferenceCache(nextSiblingRef);\n\n      nextSibling = _cache.peek();\n      vm.updateWith(new Assert(_cache));\n    }\n\n    vm.elements().pushRemoteElement(element, guid, nextSibling);\n  });\n  APPEND_OPCODES.add(42\n  /* PopRemoteElement */\n  , function (vm) {\n    vm.elements().popRemoteElement();\n  });\n  APPEND_OPCODES.add(38\n  /* FlushElement */\n  , function (vm) {\n    var operations = vm.fetchValue(_vm2.Register.t0);\n    var modifiers = null;\n\n    if (operations) {\n      modifiers = operations.flush(vm);\n      vm.loadValue(_vm2.Register.t0, null);\n    }\n\n    vm.elements().flushElement(modifiers);\n  });\n  APPEND_OPCODES.add(39\n  /* CloseElement */\n  , function (vm) {\n    var modifiers = vm.elements().closeElement();\n\n    if (modifiers) {\n      modifiers.forEach(function (_ref26) {\n        var manager = _ref26[0],\n            modifier = _ref26[1];\n        vm.env.scheduleInstallModifier(modifier, manager);\n        var destructor = manager.getDestructor(modifier);\n\n        if (destructor) {\n          vm.newDestroyable(destructor);\n        }\n      });\n    }\n  });\n  APPEND_OPCODES.add(40\n  /* Modifier */\n  , function (vm, _ref27) {\n    var handle = _ref27.op1;\n\n    var _vm$constants$resolve = vm.constants.resolveHandle(handle),\n        manager = _vm$constants$resolve.manager,\n        state = _vm$constants$resolve.state;\n\n    var stack = vm.stack;\n    var args = stack.pop();\n\n    var _vm$elements = vm.elements(),\n        constructing = _vm$elements.constructing,\n        updateOperations = _vm$elements.updateOperations;\n\n    var dynamicScope = vm.dynamicScope();\n    var modifier = manager.create(constructing, state, args, dynamicScope, updateOperations);\n    var operations = vm.fetchValue(_vm2.Register.t0);\n    operations.addModifier(manager, modifier);\n    var tag = manager.getTag(modifier);\n\n    if (!(0, _reference.isConstTag)(tag)) {\n      vm.updateWith(new UpdateModifierOpcode(tag, manager, modifier));\n    }\n  });\n\n  var UpdateModifierOpcode =\n  /*#__PURE__*/\n  function (_UpdatingOpcode5) {\n    (0, _emberBabel.inheritsLoose)(UpdateModifierOpcode, _UpdatingOpcode5);\n\n    function UpdateModifierOpcode(tag, manager, modifier) {\n      var _this8;\n\n      _this8 = _UpdatingOpcode5.call(this) || this;\n      _this8.tag = tag;\n      _this8.manager = manager;\n      _this8.modifier = modifier;\n      _this8.type = 'update-modifier';\n      _this8.lastUpdated = tag.value();\n      return _this8;\n    }\n\n    var _proto14 = UpdateModifierOpcode.prototype;\n\n    _proto14.evaluate = function evaluate(vm) {\n      var manager = this.manager,\n          modifier = this.modifier,\n          tag = this.tag,\n          lastUpdated = this.lastUpdated;\n\n      if (!tag.validate(lastUpdated)) {\n        vm.env.scheduleUpdateModifier(modifier, manager);\n        this.lastUpdated = tag.value();\n      }\n    };\n\n    return UpdateModifierOpcode;\n  }(UpdatingOpcode);\n\n  APPEND_OPCODES.add(35\n  /* StaticAttr */\n  , function (vm, _ref28) {\n    var _name = _ref28.op1,\n        _value = _ref28.op2,\n        _namespace = _ref28.op3;\n    var name = vm.constants.getString(_name);\n    var value = vm.constants.getString(_value);\n    var namespace = _namespace ? vm.constants.getString(_namespace) : null;\n    vm.elements().setStaticAttribute(name, value, namespace);\n  });\n  APPEND_OPCODES.add(36\n  /* DynamicAttr */\n  , function (vm, _ref29) {\n    var _name = _ref29.op1,\n        trusting = _ref29.op2,\n        _namespace = _ref29.op3;\n    var name = vm.constants.getString(_name);\n    var reference = vm.stack.pop();\n    var value = reference.value();\n    var namespace = _namespace ? vm.constants.getString(_namespace) : null;\n    var attribute = vm.elements().setDynamicAttribute(name, value, !!trusting, namespace);\n\n    if (!(0, _reference.isConst)(reference)) {\n      vm.updateWith(new UpdateDynamicAttributeOpcode(reference, attribute));\n    }\n  });\n\n  var UpdateDynamicAttributeOpcode =\n  /*#__PURE__*/\n  function (_UpdatingOpcode6) {\n    (0, _emberBabel.inheritsLoose)(UpdateDynamicAttributeOpcode, _UpdatingOpcode6);\n\n    function UpdateDynamicAttributeOpcode(reference, attribute) {\n      var _this9;\n\n      _this9 = _UpdatingOpcode6.call(this) || this;\n      _this9.reference = reference;\n      _this9.attribute = attribute;\n      _this9.type = 'patch-element';\n      _this9.tag = reference.tag;\n      _this9.lastRevision = _this9.tag.value();\n      return _this9;\n    }\n\n    var _proto15 = UpdateDynamicAttributeOpcode.prototype;\n\n    _proto15.evaluate = function evaluate(vm) {\n      var attribute = this.attribute,\n          reference = this.reference,\n          tag = this.tag;\n\n      if (!tag.validate(this.lastRevision)) {\n        this.lastRevision = tag.value();\n        attribute.update(reference.value(), vm.env);\n      }\n    };\n\n    return UpdateDynamicAttributeOpcode;\n  }(UpdatingOpcode);\n\n  function resolveComponent(resolver, name, meta) {\n    var definition = resolver.lookupComponentDefinition(name, meta);\n    return definition;\n  }\n\n  var CurryComponentReference =\n  /*#__PURE__*/\n  function () {\n    function CurryComponentReference(inner, resolver, meta, args) {\n      this.inner = inner;\n      this.resolver = resolver;\n      this.meta = meta;\n      this.args = args;\n      this.tag = inner.tag;\n      this.lastValue = null;\n      this.lastDefinition = null;\n    }\n\n    var _proto16 = CurryComponentReference.prototype;\n\n    _proto16.value = function value() {\n      var inner = this.inner,\n          lastValue = this.lastValue;\n      var value = inner.value();\n\n      if (value === lastValue) {\n        return this.lastDefinition;\n      }\n\n      var definition = null;\n\n      if (isCurriedComponentDefinition(value)) {\n        definition = value;\n      } else if (typeof value === 'string' && value) {\n        var resolver = this.resolver,\n            meta = this.meta;\n        definition = resolveComponent(resolver, value, meta);\n      }\n\n      definition = this.curry(definition);\n      this.lastValue = value;\n      this.lastDefinition = definition;\n      return definition;\n    };\n\n    _proto16.get = function get() {\n      return UNDEFINED_REFERENCE;\n    };\n\n    _proto16.curry = function curry(definition) {\n      var args = this.args;\n\n      if (!args && isCurriedComponentDefinition(definition)) {\n        return definition;\n      } else if (!definition) {\n        return null;\n      } else {\n        return new CurriedComponentDefinition(definition, args);\n      }\n    };\n\n    return CurryComponentReference;\n  }();\n\n  var ClassListReference =\n  /*#__PURE__*/\n  function () {\n    function ClassListReference(list) {\n      this.list = list;\n      this.tag = (0, _reference.combineTagged)(list);\n      this.list = list;\n    }\n\n    var _proto17 = ClassListReference.prototype;\n\n    _proto17.value = function value() {\n      var ret = [];\n      var list = this.list;\n\n      for (var i = 0; i < list.length; i++) {\n        var value = normalizeStringValue(list[i].value());\n        if (value) ret.push(value);\n      }\n\n      return ret.length === 0 ? null : ret.join(' ');\n    };\n\n    return ClassListReference;\n  }();\n  /**\n   * Converts a ComponentCapabilities object into a 32-bit integer representation.\n   */\n\n\n  function capabilityFlagsFrom(capabilities) {\n    return 0 | (capabilities.dynamicLayout ? 1\n    /* DynamicLayout */\n    : 0) | (capabilities.dynamicTag ? 2\n    /* DynamicTag */\n    : 0) | (capabilities.prepareArgs ? 4\n    /* PrepareArgs */\n    : 0) | (capabilities.createArgs ? 8\n    /* CreateArgs */\n    : 0) | (capabilities.attributeHook ? 16\n    /* AttributeHook */\n    : 0) | (capabilities.elementHook ? 32\n    /* ElementHook */\n    : 0) | (capabilities.dynamicScope ? 64\n    /* DynamicScope */\n    : 0) | (capabilities.createCaller ? 128\n    /* CreateCaller */\n    : 0) | (capabilities.updateHook ? 256\n    /* UpdateHook */\n    : 0) | (capabilities.createInstance ? 512\n    /* CreateInstance */\n    : 0);\n  }\n\n  function hasCapability(capabilities, capability) {\n    return !!(capabilities & capability);\n  }\n\n  APPEND_OPCODES.add(69\n  /* IsComponent */\n  , function (vm) {\n    var stack = vm.stack;\n    var ref = stack.pop();\n    stack.push(IsCurriedComponentDefinitionReference.create(ref));\n  });\n  APPEND_OPCODES.add(70\n  /* ContentType */\n  , function (vm) {\n    var stack = vm.stack;\n    var ref = stack.peek();\n    stack.push(new ContentTypeReference(ref));\n  });\n  APPEND_OPCODES.add(71\n  /* CurryComponent */\n  , function (vm, _ref30) {\n    var _meta = _ref30.op1;\n    var stack = vm.stack;\n    var definition = stack.pop();\n    var capturedArgs = stack.pop();\n    var meta = vm.constants.getSerializable(_meta);\n    var resolver = vm.constants.resolver;\n    vm.loadValue(_vm2.Register.v0, new CurryComponentReference(definition, resolver, meta, capturedArgs)); // expectStackChange(vm.stack, -args.length - 1, 'CurryComponent');\n  });\n  APPEND_OPCODES.add(72\n  /* PushComponentDefinition */\n  , function (vm, _ref31) {\n    var handle = _ref31.op1;\n    var definition = vm.constants.resolveHandle(handle);\n    var manager = definition.manager;\n    var capabilities = capabilityFlagsFrom(manager.getCapabilities(definition.state));\n    var instance = {\n      definition: definition,\n      manager: manager,\n      capabilities: capabilities,\n      state: null,\n      handle: null,\n      table: null,\n      lookup: null\n    };\n    vm.stack.push(instance);\n  });\n  APPEND_OPCODES.add(75\n  /* ResolveDynamicComponent */\n  , function (vm, _ref32) {\n    var _meta = _ref32.op1;\n    var stack = vm.stack;\n    var component = stack.pop().value();\n    var meta = vm.constants.getSerializable(_meta);\n    vm.loadValue(_vm2.Register.t1, null); // Clear the temp register\n\n    var definition;\n\n    if (typeof component === 'string') {\n      var resolver = vm.constants.resolver;\n      var resolvedDefinition = resolveComponent(resolver, component, meta);\n      definition = resolvedDefinition;\n    } else if (isCurriedComponentDefinition(component)) {\n      definition = component;\n    } else {\n      throw (0, _util.unreachable)();\n    }\n\n    stack.push(definition);\n  });\n  APPEND_OPCODES.add(73\n  /* PushDynamicComponentInstance */\n  , function (vm) {\n    var stack = vm.stack;\n    var definition = stack.pop();\n    var capabilities, manager;\n\n    if (isCurriedComponentDefinition(definition)) {\n      manager = capabilities = null;\n    } else {\n      manager = definition.manager;\n      capabilities = capabilityFlagsFrom(manager.getCapabilities(definition.state));\n    }\n\n    stack.push({\n      definition: definition,\n      capabilities: capabilities,\n      manager: manager,\n      state: null,\n      handle: null,\n      table: null\n    });\n  });\n  APPEND_OPCODES.add(74\n  /* PushCurriedComponent */\n  , function (vm, _ref33) {\n    (0, _emberBabel.objectDestructuringEmpty)(_ref33);\n    var stack = vm.stack;\n    var component = stack.pop().value();\n    var definition;\n\n    if (isCurriedComponentDefinition(component)) {\n      definition = component;\n    } else {\n      throw (0, _util.unreachable)();\n    }\n\n    stack.push(definition);\n  });\n  APPEND_OPCODES.add(76\n  /* PushArgs */\n  , function (vm, _ref34) {\n    var _names = _ref34.op1,\n        flags = _ref34.op2;\n    var stack = vm.stack;\n    var names = vm.constants.getStringArray(_names);\n    var positionalCount = flags >> 4;\n    var synthetic = flags & 8;\n    var blockNames = [];\n    if (flags & 4) blockNames.push('main');\n    if (flags & 2) blockNames.push('else');\n    if (flags & 1) blockNames.push('attrs');\n    vm.args.setup(stack, names, blockNames, positionalCount, !!synthetic);\n    stack.push(vm.args);\n  });\n  APPEND_OPCODES.add(77\n  /* PushEmptyArgs */\n  , function (vm) {\n    var stack = vm.stack;\n    stack.push(vm.args.empty(stack));\n  });\n  APPEND_OPCODES.add(80\n  /* CaptureArgs */\n  , function (vm) {\n    var stack = vm.stack;\n    var args = stack.pop();\n    var capturedArgs = args.capture();\n    stack.push(capturedArgs);\n  });\n  APPEND_OPCODES.add(79\n  /* PrepareArgs */\n  , function (vm, _ref35) {\n    var _state = _ref35.op1;\n    var stack = vm.stack;\n    var instance = vm.fetchValue(_state);\n    var args = stack.pop();\n    var definition = instance.definition;\n\n    if (isCurriedComponentDefinition(definition)) {\n      definition = resolveCurriedComponentDefinition(instance, definition, args);\n    }\n\n    var _definition2 = definition,\n        manager = _definition2.manager,\n        state = _definition2.state;\n    var capabilities = instance.capabilities;\n\n    if (hasCapability(capabilities, 4\n    /* PrepareArgs */\n    ) !== true) {\n      stack.push(args);\n      return;\n    }\n\n    var blocks = args.blocks.values;\n    var blockNames = args.blocks.names;\n    var preparedArgs = manager.prepareArgs(state, args);\n\n    if (preparedArgs) {\n      args.clear();\n\n      for (var i = 0; i < blocks.length; i++) {\n        stack.push(blocks[i]);\n      }\n\n      var positional = preparedArgs.positional,\n          named = preparedArgs.named;\n      var positionalCount = positional.length;\n\n      for (var _i = 0; _i < positionalCount; _i++) {\n        stack.push(positional[_i]);\n      }\n\n      var names = Object.keys(named);\n\n      for (var _i2 = 0; _i2 < names.length; _i2++) {\n        stack.push(named[names[_i2]]);\n      }\n\n      args.setup(stack, names, blockNames, positionalCount, true);\n    }\n\n    stack.push(args);\n  });\n\n  function resolveCurriedComponentDefinition(instance, definition, args) {\n    var unwrappedDefinition = instance.definition = definition.unwrap(args);\n    var manager = unwrappedDefinition.manager,\n        state = unwrappedDefinition.state;\n    instance.manager = manager;\n    instance.capabilities = capabilityFlagsFrom(manager.getCapabilities(state));\n    return unwrappedDefinition;\n  }\n\n  APPEND_OPCODES.add(81\n  /* CreateComponent */\n  , function (vm, _ref36) {\n    var flags = _ref36.op1,\n        _state = _ref36.op2;\n    var instance = vm.fetchValue(_state);\n    var definition = instance.definition,\n        manager = instance.manager;\n    var capabilities = instance.capabilities = capabilityFlagsFrom(manager.getCapabilities(definition.state));\n    var dynamicScope = null;\n\n    if (hasCapability(capabilities, 64\n    /* DynamicScope */\n    )) {\n      dynamicScope = vm.dynamicScope();\n    }\n\n    var hasDefaultBlock = flags & 1;\n    var args = null;\n\n    if (hasCapability(capabilities, 8\n    /* CreateArgs */\n    )) {\n      args = vm.stack.peek();\n    }\n\n    var self = null;\n\n    if (hasCapability(capabilities, 128\n    /* CreateCaller */\n    )) {\n      self = vm.getSelf();\n    }\n\n    var state = manager.create(vm.env, definition.state, args, dynamicScope, self, !!hasDefaultBlock); // We want to reuse the `state` POJO here, because we know that the opcodes\n    // only transition at exactly one place.\n\n    instance.state = state;\n    var tag = manager.getTag(state);\n\n    if (hasCapability(capabilities, 256\n    /* UpdateHook */\n    ) && !(0, _reference.isConstTag)(tag)) {\n      vm.updateWith(new UpdateComponentOpcode(tag, state, manager, dynamicScope));\n    }\n  });\n  APPEND_OPCODES.add(82\n  /* RegisterComponentDestructor */\n  , function (vm, _ref37) {\n    var _state = _ref37.op1;\n\n    var _vm$fetchValue = vm.fetchValue(_state),\n        manager = _vm$fetchValue.manager,\n        state = _vm$fetchValue.state;\n\n    var destructor = manager.getDestructor(state);\n    if (destructor) vm.newDestroyable(destructor);\n  });\n  APPEND_OPCODES.add(91\n  /* BeginComponentTransaction */\n  , function (vm) {\n    vm.beginCacheGroup();\n    vm.elements().pushSimpleBlock();\n  });\n  APPEND_OPCODES.add(83\n  /* PutComponentOperations */\n  , function (vm) {\n    vm.loadValue(_vm2.Register.t0, new ComponentElementOperations());\n  });\n  APPEND_OPCODES.add(37\n  /* ComponentAttr */\n  , function (vm, _ref38) {\n    var _name = _ref38.op1,\n        trusting = _ref38.op2,\n        _namespace = _ref38.op3;\n    var name = vm.constants.getString(_name);\n    var reference = vm.stack.pop();\n    var namespace = _namespace ? vm.constants.getString(_namespace) : null;\n    vm.fetchValue(_vm2.Register.t0).setAttribute(name, reference, !!trusting, namespace);\n  });\n\n  var ComponentElementOperations =\n  /*#__PURE__*/\n  function () {\n    function ComponentElementOperations() {\n      this.attributes = (0, _util.dict)();\n      this.classes = [];\n      this.modifiers = [];\n    }\n\n    var _proto18 = ComponentElementOperations.prototype;\n\n    _proto18.setAttribute = function setAttribute(name, value, trusting, namespace) {\n      var deferred = {\n        value: value,\n        namespace: namespace,\n        trusting: trusting\n      };\n\n      if (name === 'class') {\n        this.classes.push(value);\n      }\n\n      this.attributes[name] = deferred;\n    };\n\n    _proto18.addModifier = function addModifier(manager, modifier) {\n      this.modifiers.push([manager, modifier]);\n    };\n\n    _proto18.flush = function flush(vm) {\n      for (var name in this.attributes) {\n        var attr = this.attributes[name];\n        var reference = attr.value,\n            namespace = attr.namespace,\n            trusting = attr.trusting;\n\n        if (name === 'class') {\n          reference = new ClassListReference(this.classes);\n        }\n\n        if (name === 'type') {\n          continue;\n        }\n\n        var attribute = vm.elements().setDynamicAttribute(name, reference.value(), trusting, namespace);\n\n        if (!(0, _reference.isConst)(reference)) {\n          vm.updateWith(new UpdateDynamicAttributeOpcode(reference, attribute));\n        }\n      }\n\n      if ('type' in this.attributes) {\n        var type = this.attributes.type;\n        var reference = type.value,\n            namespace = type.namespace,\n            trusting = type.trusting;\n\n        var _attribute = vm.elements().setDynamicAttribute('type', reference.value(), trusting, namespace);\n\n        if (!(0, _reference.isConst)(reference)) {\n          vm.updateWith(new UpdateDynamicAttributeOpcode(reference, _attribute));\n        }\n      }\n\n      return this.modifiers;\n    };\n\n    return ComponentElementOperations;\n  }();\n\n  APPEND_OPCODES.add(93\n  /* DidCreateElement */\n  , function (vm, _ref39) {\n    var _state = _ref39.op1;\n\n    var _vm$fetchValue2 = vm.fetchValue(_state),\n        definition = _vm$fetchValue2.definition,\n        state = _vm$fetchValue2.state;\n\n    var manager = definition.manager;\n    var operations = vm.fetchValue(_vm2.Register.t0);\n    var action = 'DidCreateElementOpcode#evaluate';\n    manager.didCreateElement(state, vm.elements().expectConstructing(action), operations);\n  });\n  APPEND_OPCODES.add(84\n  /* GetComponentSelf */\n  , function (vm, _ref40) {\n    var _state = _ref40.op1;\n\n    var _vm$fetchValue3 = vm.fetchValue(_state),\n        definition = _vm$fetchValue3.definition,\n        state = _vm$fetchValue3.state;\n\n    var manager = definition.manager;\n    vm.stack.push(manager.getSelf(state));\n  });\n  APPEND_OPCODES.add(85\n  /* GetComponentTagName */\n  , function (vm, _ref41) {\n    var _state = _ref41.op1;\n\n    var _vm$fetchValue4 = vm.fetchValue(_state),\n        definition = _vm$fetchValue4.definition,\n        state = _vm$fetchValue4.state;\n\n    var manager = definition.manager;\n    vm.stack.push(manager.getTagName(state));\n  }); // Dynamic Invocation Only\n\n  APPEND_OPCODES.add(86\n  /* GetComponentLayout */\n  , function (vm, _ref42) {\n    var _state = _ref42.op1;\n    var instance = vm.fetchValue(_state);\n    var manager = instance.manager,\n        definition = instance.definition;\n    var resolver = vm.constants.resolver,\n        stack = vm.stack;\n    var instanceState = instance.state,\n        capabilities = instance.capabilities;\n    var definitionState = definition.state;\n    var invoke;\n\n    if (hasStaticLayoutCapability(capabilities, manager)) {\n      invoke = manager.getLayout(definitionState, resolver);\n    } else if (hasDynamicLayoutCapability(capabilities, manager)) {\n      invoke = manager.getDynamicLayout(instanceState, resolver);\n    } else {\n      throw (0, _util.unreachable)();\n    }\n\n    stack.push(invoke.symbolTable);\n    stack.push(invoke.handle);\n  });\n\n  function hasStaticLayoutCapability(capabilities, _manager) {\n    return hasCapability(capabilities, 1\n    /* DynamicLayout */\n    ) === false;\n  }\n\n  function hasDynamicLayoutCapability(capabilities, _manager) {\n    return hasCapability(capabilities, 1\n    /* DynamicLayout */\n    ) === true;\n  }\n\n  APPEND_OPCODES.add(68\n  /* Main */\n  , function (vm, _ref43) {\n    var register = _ref43.op1;\n    var definition = vm.stack.pop();\n    var invocation = vm.stack.pop();\n    var manager = definition.manager;\n    var capabilities = capabilityFlagsFrom(manager.getCapabilities(definition.state));\n    var state = {\n      definition: definition,\n      manager: manager,\n      capabilities: capabilities,\n      state: null,\n      handle: invocation.handle,\n      table: invocation.symbolTable,\n      lookup: null\n    };\n    vm.loadValue(register, state);\n  });\n  APPEND_OPCODES.add(89\n  /* PopulateLayout */\n  , function (vm, _ref44) {\n    var _state = _ref44.op1;\n    var stack = vm.stack;\n    var handle = stack.pop();\n    var table = stack.pop();\n    var state = vm.fetchValue(_state);\n    state.handle = handle;\n    state.table = table;\n  });\n  APPEND_OPCODES.add(21\n  /* VirtualRootScope */\n  , function (vm, _ref45) {\n    var _state = _ref45.op1;\n    var symbols = vm.fetchValue(_state).table.symbols;\n    vm.pushRootScope(symbols.length + 1, true);\n  });\n  APPEND_OPCODES.add(87\n  /* SetupForEval */\n  , function (vm, _ref46) {\n    var _state = _ref46.op1;\n    var state = vm.fetchValue(_state);\n\n    if (state.table.hasEval) {\n      var lookup = state.lookup = (0, _util.dict)();\n      vm.scope().bindEvalScope(lookup);\n    }\n  });\n  APPEND_OPCODES.add(2\n  /* SetNamedVariables */\n  , function (vm, _ref47) {\n    var _state = _ref47.op1;\n    var state = vm.fetchValue(_state);\n    var scope = vm.scope();\n    var args = vm.stack.peek();\n    var callerNames = args.named.atNames;\n\n    for (var i = callerNames.length - 1; i >= 0; i--) {\n      var atName = callerNames[i];\n      var symbol = state.table.symbols.indexOf(callerNames[i]);\n      var value = args.named.get(atName, false);\n      if (symbol !== -1) scope.bindSymbol(symbol + 1, value);\n      if (state.lookup) state.lookup[atName] = value;\n    }\n  });\n\n  function bindBlock(symbolName, blockName, state, blocks, vm) {\n    var symbol = state.table.symbols.indexOf(symbolName);\n    var block = blocks.get(blockName);\n\n    if (symbol !== -1) {\n      vm.scope().bindBlock(symbol + 1, block);\n    }\n\n    if (state.lookup) state.lookup[symbolName] = block;\n  }\n\n  APPEND_OPCODES.add(3\n  /* SetBlocks */\n  , function (vm, _ref48) {\n    var _state = _ref48.op1;\n    var state = vm.fetchValue(_state);\n\n    var _vm$stack$peek = vm.stack.peek(),\n        blocks = _vm$stack$peek.blocks;\n\n    bindBlock('&attrs', 'attrs', state, blocks, vm);\n    bindBlock('&inverse', 'else', state, blocks, vm);\n    bindBlock('&default', 'main', state, blocks, vm);\n  }); // Dynamic Invocation Only\n\n  APPEND_OPCODES.add(90\n  /* InvokeComponentLayout */\n  , function (vm, _ref49) {\n    var _state = _ref49.op1;\n    var state = vm.fetchValue(_state);\n    vm.call(state.handle);\n  });\n  APPEND_OPCODES.add(94\n  /* DidRenderLayout */\n  , function (vm, _ref50) {\n    var _state = _ref50.op1;\n\n    var _vm$fetchValue5 = vm.fetchValue(_state),\n        manager = _vm$fetchValue5.manager,\n        state = _vm$fetchValue5.state;\n\n    var bounds = vm.elements().popBlock();\n    var mgr = manager;\n    mgr.didRenderLayout(state, bounds);\n    vm.env.didCreate(state, manager);\n    vm.updateWith(new DidUpdateLayoutOpcode(manager, state, bounds));\n  });\n  APPEND_OPCODES.add(92\n  /* CommitComponentTransaction */\n  , function (vm) {\n    vm.commitCacheGroup();\n  });\n\n  var UpdateComponentOpcode =\n  /*#__PURE__*/\n  function (_UpdatingOpcode7) {\n    (0, _emberBabel.inheritsLoose)(UpdateComponentOpcode, _UpdatingOpcode7);\n\n    function UpdateComponentOpcode(tag, component, manager, dynamicScope) {\n      var _this10;\n\n      _this10 = _UpdatingOpcode7.call(this) || this;\n      _this10.tag = tag;\n      _this10.component = component;\n      _this10.manager = manager;\n      _this10.dynamicScope = dynamicScope;\n      _this10.type = 'update-component';\n      return _this10;\n    }\n\n    var _proto19 = UpdateComponentOpcode.prototype;\n\n    _proto19.evaluate = function evaluate(_vm) {\n      var component = this.component,\n          manager = this.manager,\n          dynamicScope = this.dynamicScope;\n      manager.update(component, dynamicScope);\n    };\n\n    return UpdateComponentOpcode;\n  }(UpdatingOpcode);\n\n  var DidUpdateLayoutOpcode =\n  /*#__PURE__*/\n  function (_UpdatingOpcode8) {\n    (0, _emberBabel.inheritsLoose)(DidUpdateLayoutOpcode, _UpdatingOpcode8);\n\n    function DidUpdateLayoutOpcode(manager, component, bounds) {\n      var _this11;\n\n      _this11 = _UpdatingOpcode8.call(this) || this;\n      _this11.manager = manager;\n      _this11.component = component;\n      _this11.bounds = bounds;\n      _this11.type = 'did-update-layout';\n      _this11.tag = _reference.CONSTANT_TAG;\n      return _this11;\n    }\n\n    var _proto20 = DidUpdateLayoutOpcode.prototype;\n\n    _proto20.evaluate = function evaluate(vm) {\n      var manager = this.manager,\n          component = this.component,\n          bounds = this.bounds;\n      manager.didUpdateLayout(component, bounds);\n      vm.env.didUpdate(component, manager);\n    };\n\n    return DidUpdateLayoutOpcode;\n  }(UpdatingOpcode);\n  /* tslint:disable */\n\n\n  function debugCallback(context, get) {\n    console.info('Use `context`, and `get(<path>)` to debug this template.'); // for example...\n\n    context === get('this');\n    debugger;\n  }\n  /* tslint:enable */\n\n\n  var callback = debugCallback; // For testing purposes\n\n  function setDebuggerCallback(cb) {\n    callback = cb;\n  }\n\n  function resetDebuggerCallback() {\n    callback = debugCallback;\n  }\n\n  var ScopeInspector =\n  /*#__PURE__*/\n  function () {\n    function ScopeInspector(scope, symbols, evalInfo) {\n      this.scope = scope;\n      this.locals = (0, _util.dict)();\n\n      for (var i = 0; i < evalInfo.length; i++) {\n        var slot = evalInfo[i];\n        var name = symbols[slot - 1];\n        var ref = scope.getSymbol(slot);\n        this.locals[name] = ref;\n      }\n    }\n\n    var _proto21 = ScopeInspector.prototype;\n\n    _proto21.get = function get(path) {\n      var scope = this.scope,\n          locals = this.locals;\n      var parts = path.split('.');\n\n      var _path$split = path.split('.'),\n          head = _path$split[0],\n          tail = _path$split.slice(1);\n\n      var evalScope = scope.getEvalScope();\n      var ref;\n\n      if (head === 'this') {\n        ref = scope.getSelf();\n      } else if (locals[head]) {\n        ref = locals[head];\n      } else if (head.indexOf('@') === 0 && evalScope[head]) {\n        ref = evalScope[head];\n      } else {\n        ref = this.scope.getSelf();\n        tail = parts;\n      }\n\n      return tail.reduce(function (r, part) {\n        return r.get(part);\n      }, ref);\n    };\n\n    return ScopeInspector;\n  }();\n\n  APPEND_OPCODES.add(97\n  /* Debugger */\n  , function (vm, _ref51) {\n    var _symbols = _ref51.op1,\n        _evalInfo = _ref51.op2;\n    var symbols = vm.constants.getStringArray(_symbols);\n    var evalInfo = vm.constants.getArray(_evalInfo);\n    var inspector = new ScopeInspector(vm.scope(), symbols, evalInfo);\n    callback(vm.getSelf().value(), function (path) {\n      return inspector.get(path).value();\n    });\n  });\n  APPEND_OPCODES.add(95\n  /* InvokePartial */\n  , function (vm, _ref52) {\n    var _meta = _ref52.op1,\n        _symbols = _ref52.op2,\n        _evalInfo = _ref52.op3;\n    var constants = vm.constants,\n        resolver = vm.constants.resolver,\n        stack = vm.stack;\n    var name = stack.pop().value();\n    var meta = constants.getSerializable(_meta);\n    var outerSymbols = constants.getStringArray(_symbols);\n    var evalInfo = constants.getArray(_evalInfo);\n    var handle = resolver.lookupPartial(name, meta);\n    var definition = resolver.resolve(handle);\n\n    var _definition$getPartia = definition.getPartial(),\n        symbolTable = _definition$getPartia.symbolTable,\n        vmHandle = _definition$getPartia.handle;\n\n    {\n      var partialSymbols = symbolTable.symbols;\n      var outerScope = vm.scope();\n      var partialScope = vm.pushRootScope(partialSymbols.length, false);\n      var evalScope = outerScope.getEvalScope();\n      partialScope.bindCallerScope(outerScope.getCallerScope());\n      partialScope.bindEvalScope(evalScope);\n      partialScope.bindSelf(outerScope.getSelf());\n      var locals = Object.create(outerScope.getPartialMap());\n\n      for (var i = 0; i < evalInfo.length; i++) {\n        var slot = evalInfo[i];\n        var _name2 = outerSymbols[slot - 1];\n        var ref = outerScope.getSymbol(slot);\n        locals[_name2] = ref;\n      }\n\n      if (evalScope) {\n        for (var _i3 = 0; _i3 < partialSymbols.length; _i3++) {\n          var _name3 = partialSymbols[_i3];\n          var symbol = _i3 + 1;\n          var value = evalScope[_name3];\n          if (value !== undefined) partialScope.bind(symbol, value);\n        }\n      }\n\n      partialScope.bindPartialMap(locals);\n      vm.pushFrame(); // sp += 2\n\n      vm.call(vmHandle);\n    }\n  });\n\n  var IterablePresenceReference =\n  /*#__PURE__*/\n  function () {\n    function IterablePresenceReference(artifacts) {\n      this.tag = artifacts.tag;\n      this.artifacts = artifacts;\n    }\n\n    var _proto22 = IterablePresenceReference.prototype;\n\n    _proto22.value = function value() {\n      return !this.artifacts.isEmpty();\n    };\n\n    return IterablePresenceReference;\n  }();\n\n  APPEND_OPCODES.add(66\n  /* PutIterator */\n  , function (vm) {\n    var stack = vm.stack;\n    var listRef = stack.pop();\n    var key = stack.pop();\n    var iterable = vm.env.iterableFor(listRef, key.value());\n    var iterator = new _reference.ReferenceIterator(iterable);\n    stack.push(iterator);\n    stack.push(new IterablePresenceReference(iterator.artifacts));\n  });\n  APPEND_OPCODES.add(64\n  /* EnterList */\n  , function (vm, _ref53) {\n    var relativeStart = _ref53.op1;\n    vm.enterList(relativeStart);\n  });\n  APPEND_OPCODES.add(65\n  /* ExitList */\n  , function (vm) {\n    vm.exitList();\n  });\n  APPEND_OPCODES.add(67\n  /* Iterate */\n  , function (vm, _ref54) {\n    var breaks = _ref54.op1;\n    var stack = vm.stack;\n    var item = stack.peek().next();\n\n    if (item) {\n      var tryOpcode = vm.iterate(item.memo, item.value);\n      vm.enterItem(item.key, tryOpcode);\n    } else {\n      vm.goto(breaks);\n    }\n  });\n\n  var Cursor = function Cursor(element, nextSibling) {\n    this.element = element;\n    this.nextSibling = nextSibling;\n  };\n\n  _exports.Cursor = Cursor;\n\n  var ConcreteBounds =\n  /*#__PURE__*/\n  function () {\n    function ConcreteBounds(parentNode, first, last) {\n      this.parentNode = parentNode;\n      this.first = first;\n      this.last = last;\n    }\n\n    var _proto23 = ConcreteBounds.prototype;\n\n    _proto23.parentElement = function parentElement() {\n      return this.parentNode;\n    };\n\n    _proto23.firstNode = function firstNode() {\n      return this.first;\n    };\n\n    _proto23.lastNode = function lastNode() {\n      return this.last;\n    };\n\n    return ConcreteBounds;\n  }();\n\n  _exports.ConcreteBounds = ConcreteBounds;\n\n  var SingleNodeBounds =\n  /*#__PURE__*/\n  function () {\n    function SingleNodeBounds(parentNode, node) {\n      this.parentNode = parentNode;\n      this.node = node;\n    }\n\n    var _proto24 = SingleNodeBounds.prototype;\n\n    _proto24.parentElement = function parentElement() {\n      return this.parentNode;\n    };\n\n    _proto24.firstNode = function firstNode() {\n      return this.node;\n    };\n\n    _proto24.lastNode = function lastNode() {\n      return this.node;\n    };\n\n    return SingleNodeBounds;\n  }();\n\n  function _move(bounds, reference) {\n    var parent = bounds.parentElement();\n    var first = bounds.firstNode();\n    var last = bounds.lastNode();\n    var current = first;\n\n    while (true) {\n      var next = current.nextSibling;\n      parent.insertBefore(current, reference);\n\n      if (current === last) {\n        return next;\n      }\n\n      current = next;\n    }\n  }\n\n  function clear(bounds) {\n    var parent = bounds.parentElement();\n    var first = bounds.firstNode();\n    var last = bounds.lastNode();\n    var current = first;\n\n    while (true) {\n      var next = current.nextSibling;\n      parent.removeChild(current);\n\n      if (current === last) {\n        return next;\n      }\n\n      current = next;\n    }\n  } // Patch:    insertAdjacentHTML on SVG Fix\n  // Browsers: Safari, IE, Edge, Firefox ~33-34\n  // Reason:   insertAdjacentHTML does not exist on SVG elements in Safari. It is\n  //           present but throws an exception on IE and Edge. Old versions of\n  //           Firefox create nodes in the incorrect namespace.\n  // Fix:      Since IE and Edge silently fail to create SVG nodes using\n  //           innerHTML, and because Firefox may create nodes in the incorrect\n  //           namespace using innerHTML on SVG elements, an HTML-string wrapping\n  //           approach is used. A pre/post SVG tag is added to the string, then\n  //           that whole string is added to a div. The created nodes are plucked\n  //           out and applied to the target location on DOM.\n\n\n  function applySVGInnerHTMLFix(document, DOMClass, svgNamespace) {\n    if (!document) return DOMClass;\n\n    if (!shouldApplyFix(document, svgNamespace)) {\n      return DOMClass;\n    }\n\n    var div = document.createElement('div');\n    return (\n      /*#__PURE__*/\n      function (_DOMClass) {\n        (0, _emberBabel.inheritsLoose)(DOMChangesWithSVGInnerHTMLFix, _DOMClass);\n\n        function DOMChangesWithSVGInnerHTMLFix() {\n          return _DOMClass.apply(this, arguments) || this;\n        }\n\n        var _proto25 = DOMChangesWithSVGInnerHTMLFix.prototype;\n\n        _proto25.insertHTMLBefore = function insertHTMLBefore(parent, nextSibling, html) {\n          if (html === '') {\n            return _DOMClass.prototype.insertHTMLBefore.call(this, parent, nextSibling, html);\n          }\n\n          if (parent.namespaceURI !== svgNamespace) {\n            return _DOMClass.prototype.insertHTMLBefore.call(this, parent, nextSibling, html);\n          }\n\n          return fixSVG(parent, div, html, nextSibling);\n        };\n\n        return DOMChangesWithSVGInnerHTMLFix;\n      }(DOMClass)\n    );\n  }\n\n  function fixSVG(parent, div, html, reference) {\n    var source; // This is important, because decendants of the <foreignObject> integration\n    // point are parsed in the HTML namespace\n\n    if (parent.tagName.toUpperCase() === 'FOREIGNOBJECT') {\n      // IE, Edge: also do not correctly support using `innerHTML` on SVG\n      // namespaced elements. So here a wrapper is used.\n      var wrappedHtml = '<svg><foreignObject>' + html + '</foreignObject></svg>';\n      div.innerHTML = wrappedHtml;\n      source = div.firstChild.firstChild;\n    } else {\n      // IE, Edge: also do not correctly support using `innerHTML` on SVG\n      // namespaced elements. So here a wrapper is used.\n      var _wrappedHtml = '<svg>' + html + '</svg>';\n\n      div.innerHTML = _wrappedHtml;\n      source = div.firstChild;\n    }\n\n    return moveNodesBefore(source, parent, reference);\n  }\n\n  function shouldApplyFix(document, svgNamespace) {\n    var svg = document.createElementNS(svgNamespace, 'svg');\n\n    try {\n      svg['insertAdjacentHTML']('beforeend', '<circle></circle>');\n    } catch (e) {// IE, Edge: Will throw, insertAdjacentHTML is unsupported on SVG\n      // Safari: Will throw, insertAdjacentHTML is not present on SVG\n    } finally {\n      // FF: Old versions will create a node in the wrong namespace\n      if (svg.childNodes.length === 1 && svg.firstChild.namespaceURI === SVG_NAMESPACE) {\n        // The test worked as expected, no fix required\n        return false;\n      }\n\n      return true;\n    }\n  } // Patch:    Adjacent text node merging fix\n  // Browsers: IE, Edge, Firefox w/o inspector open\n  // Reason:   These browsers will merge adjacent text nodes. For exmaple given\n  //           <div>Hello</div> with div.insertAdjacentHTML(' world') browsers\n  //           with proper behavior will populate div.childNodes with two items.\n  //           These browsers will populate it with one merged node instead.\n  // Fix:      Add these nodes to a wrapper element, then iterate the childNodes\n  //           of that wrapper and move the nodes to their target location. Note\n  //           that potential SVG bugs will have been handled before this fix.\n  //           Note that this fix must only apply to the previous text node, as\n  //           the base implementation of `insertHTMLBefore` already handles\n  //           following text nodes correctly.\n\n\n  function applyTextNodeMergingFix(document, DOMClass) {\n    if (!document) return DOMClass;\n\n    if (!shouldApplyFix$1(document)) {\n      return DOMClass;\n    }\n\n    return (\n      /*#__PURE__*/\n      function (_DOMClass2) {\n        (0, _emberBabel.inheritsLoose)(DOMChangesWithTextNodeMergingFix, _DOMClass2);\n\n        function DOMChangesWithTextNodeMergingFix(document) {\n          var _this12;\n\n          _this12 = _DOMClass2.call(this, document) || this;\n          _this12.uselessComment = document.createComment('');\n          return _this12;\n        }\n\n        var _proto26 = DOMChangesWithTextNodeMergingFix.prototype;\n\n        _proto26.insertHTMLBefore = function insertHTMLBefore(parent, nextSibling, html) {\n          if (html === '') {\n            return _DOMClass2.prototype.insertHTMLBefore.call(this, parent, nextSibling, html);\n          }\n\n          var didSetUselessComment = false;\n          var nextPrevious = nextSibling ? nextSibling.previousSibling : parent.lastChild;\n\n          if (nextPrevious && nextPrevious instanceof Text) {\n            didSetUselessComment = true;\n            parent.insertBefore(this.uselessComment, nextSibling);\n          }\n\n          var bounds = _DOMClass2.prototype.insertHTMLBefore.call(this, parent, nextSibling, html);\n\n          if (didSetUselessComment) {\n            parent.removeChild(this.uselessComment);\n          }\n\n          return bounds;\n        };\n\n        return DOMChangesWithTextNodeMergingFix;\n      }(DOMClass)\n    );\n  }\n\n  function shouldApplyFix$1(document) {\n    var mergingTextDiv = document.createElement('div');\n    mergingTextDiv.innerHTML = 'first';\n    mergingTextDiv.insertAdjacentHTML('beforeend', 'second');\n\n    if (mergingTextDiv.childNodes.length === 2) {\n      // It worked as expected, no fix required\n      return false;\n    }\n\n    return true;\n  }\n\n  var SVG_NAMESPACE = \"http://www.w3.org/2000/svg\"\n  /* SVG */\n  ; // http://www.w3.org/TR/html/syntax.html#html-integration-point\n\n  _exports.SVG_NAMESPACE = SVG_NAMESPACE;\n  var SVG_INTEGRATION_POINTS = {\n    foreignObject: 1,\n    desc: 1,\n    title: 1\n  }; // http://www.w3.org/TR/html/syntax.html#adjust-svg-attributes\n  // TODO: Adjust SVG attributes\n  // http://www.w3.org/TR/html/syntax.html#parsing-main-inforeign\n  // TODO: Adjust SVG elements\n  // http://www.w3.org/TR/html/syntax.html#parsing-main-inforeign\n\n  var BLACKLIST_TABLE = Object.create(null);\n  ['b', 'big', 'blockquote', 'body', 'br', 'center', 'code', 'dd', 'div', 'dl', 'dt', 'em', 'embed', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'hr', 'i', 'img', 'li', 'listing', 'main', 'meta', 'nobr', 'ol', 'p', 'pre', 'ruby', 's', 'small', 'span', 'strong', 'strike', 'sub', 'sup', 'table', 'tt', 'u', 'ul', 'var'].forEach(function (tag) {\n    return BLACKLIST_TABLE[tag] = 1;\n  });\n  var WHITESPACE = /[\\t-\\r \\xA0\\u1680\\u180E\\u2000-\\u200A\\u2028\\u2029\\u202F\\u205F\\u3000\\uFEFF]/;\n  var doc = typeof document === 'undefined' ? null : document;\n\n  function isWhitespace(string) {\n    return WHITESPACE.test(string);\n  }\n\n  function moveNodesBefore(source, target, nextSibling) {\n    var first = source.firstChild;\n    var last = first;\n    var current = first;\n\n    while (current) {\n      var next = current.nextSibling;\n      target.insertBefore(current, nextSibling);\n      last = current;\n      current = next;\n    }\n\n    return new ConcreteBounds(target, first, last);\n  }\n\n  var DOMOperations =\n  /*#__PURE__*/\n  function () {\n    function DOMOperations(document) {\n      this.document = document;\n      this.setupUselessElement();\n    } // split into seperate method so that NodeDOMTreeConstruction\n    // can override it.\n\n\n    var _proto27 = DOMOperations.prototype;\n\n    _proto27.setupUselessElement = function setupUselessElement() {\n      this.uselessElement = this.document.createElement('div');\n    };\n\n    _proto27.createElement = function createElement(tag, context) {\n      var isElementInSVGNamespace, isHTMLIntegrationPoint;\n\n      if (context) {\n        isElementInSVGNamespace = context.namespaceURI === SVG_NAMESPACE || tag === 'svg';\n        isHTMLIntegrationPoint = SVG_INTEGRATION_POINTS[context.tagName];\n      } else {\n        isElementInSVGNamespace = tag === 'svg';\n        isHTMLIntegrationPoint = false;\n      }\n\n      if (isElementInSVGNamespace && !isHTMLIntegrationPoint) {\n        // FIXME: This does not properly handle <font> with color, face, or\n        // size attributes, which is also disallowed by the spec. We should fix\n        // this.\n        if (BLACKLIST_TABLE[tag]) {\n          throw new Error(\"Cannot create a \" + tag + \" inside an SVG context\");\n        }\n\n        return this.document.createElementNS(SVG_NAMESPACE, tag);\n      } else {\n        return this.document.createElement(tag);\n      }\n    };\n\n    _proto27.insertBefore = function insertBefore(parent, node, reference) {\n      parent.insertBefore(node, reference);\n    };\n\n    _proto27.insertHTMLBefore = function insertHTMLBefore(parent, nextSibling, html) {\n      if (html === '') {\n        var comment = this.createComment('');\n        parent.insertBefore(comment, nextSibling);\n        return new ConcreteBounds(parent, comment, comment);\n      }\n\n      var prev = nextSibling ? nextSibling.previousSibling : parent.lastChild;\n      var last;\n\n      if (nextSibling === null) {\n        parent.insertAdjacentHTML(\"beforeend\"\n        /* beforeend */\n        , html);\n        last = parent.lastChild;\n      } else if (nextSibling instanceof HTMLElement) {\n        nextSibling.insertAdjacentHTML(\"beforebegin\"\n        /* beforebegin */\n        , html);\n        last = nextSibling.previousSibling;\n      } else {\n        // Non-element nodes do not support insertAdjacentHTML, so add an\n        // element and call it on that element. Then remove the element.\n        //\n        // This also protects Edge, IE and Firefox w/o the inspector open\n        // from merging adjacent text nodes. See ./compat/text-node-merging-fix.ts\n        var uselessElement = this.uselessElement;\n        parent.insertBefore(uselessElement, nextSibling);\n        uselessElement.insertAdjacentHTML(\"beforebegin\"\n        /* beforebegin */\n        , html);\n        last = uselessElement.previousSibling;\n        parent.removeChild(uselessElement);\n      }\n\n      var first = prev ? prev.nextSibling : parent.firstChild;\n      return new ConcreteBounds(parent, first, last);\n    };\n\n    _proto27.createTextNode = function createTextNode(text) {\n      return this.document.createTextNode(text);\n    };\n\n    _proto27.createComment = function createComment(data) {\n      return this.document.createComment(data);\n    };\n\n    return DOMOperations;\n  }();\n\n  var DOM;\n\n  (function (DOM) {\n    var TreeConstruction =\n    /*#__PURE__*/\n    function (_DOMOperations) {\n      (0, _emberBabel.inheritsLoose)(TreeConstruction, _DOMOperations);\n\n      function TreeConstruction() {\n        return _DOMOperations.apply(this, arguments) || this;\n      }\n\n      var _proto28 = TreeConstruction.prototype;\n\n      _proto28.createElementNS = function createElementNS(namespace, tag) {\n        return this.document.createElementNS(namespace, tag);\n      };\n\n      _proto28.setAttribute = function setAttribute(element, name, value) {\n        var namespace = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n\n        if (namespace) {\n          element.setAttributeNS(namespace, name, value);\n        } else {\n          element.setAttribute(name, value);\n        }\n      };\n\n      return TreeConstruction;\n    }(DOMOperations);\n\n    DOM.TreeConstruction = TreeConstruction;\n    var appliedTreeContruction = TreeConstruction;\n    appliedTreeContruction = applyTextNodeMergingFix(doc, appliedTreeContruction);\n    appliedTreeContruction = applySVGInnerHTMLFix(doc, appliedTreeContruction, SVG_NAMESPACE);\n    DOM.DOMTreeConstruction = appliedTreeContruction;\n  })(DOM || (DOM = {}));\n\n  var DOMChanges =\n  /*#__PURE__*/\n  function (_DOMOperations2) {\n    (0, _emberBabel.inheritsLoose)(DOMChanges, _DOMOperations2);\n\n    function DOMChanges(document) {\n      var _this13;\n\n      _this13 = _DOMOperations2.call(this, document) || this;\n      _this13.document = document;\n      _this13.namespace = null;\n      return _this13;\n    }\n\n    var _proto29 = DOMChanges.prototype;\n\n    _proto29.setAttribute = function setAttribute(element, name, value) {\n      element.setAttribute(name, value);\n    };\n\n    _proto29.removeAttribute = function removeAttribute(element, name) {\n      element.removeAttribute(name);\n    };\n\n    _proto29.insertAfter = function insertAfter(element, node, reference) {\n      this.insertBefore(element, node, reference.nextSibling);\n    };\n\n    return DOMChanges;\n  }(DOMOperations);\n\n  _exports.IDOMChanges = DOMChanges;\n  var helper = DOMChanges;\n  helper = applyTextNodeMergingFix(doc, helper);\n  helper = applySVGInnerHTMLFix(doc, helper, SVG_NAMESPACE);\n  var helper$1 = helper;\n  _exports.DOMChanges = helper$1;\n  var DOMTreeConstruction = DOM.DOMTreeConstruction;\n  _exports.DOMTreeConstruction = DOMTreeConstruction;\n  var badProtocols = ['javascript:', 'vbscript:'];\n  var badTags = ['A', 'BODY', 'LINK', 'IMG', 'IFRAME', 'BASE', 'FORM'];\n  var badTagsForDataURI = ['EMBED'];\n  var badAttributes = ['href', 'src', 'background', 'action'];\n  var badAttributesForDataURI = ['src'];\n\n  function has(array, item) {\n    return array.indexOf(item) !== -1;\n  }\n\n  function checkURI(tagName, attribute) {\n    return (tagName === null || has(badTags, tagName)) && has(badAttributes, attribute);\n  }\n\n  function checkDataURI(tagName, attribute) {\n    if (tagName === null) return false;\n    return has(badTagsForDataURI, tagName) && has(badAttributesForDataURI, attribute);\n  }\n\n  function requiresSanitization(tagName, attribute) {\n    return checkURI(tagName, attribute) || checkDataURI(tagName, attribute);\n  }\n\n  function sanitizeAttributeValue(env, element, attribute, value) {\n    var tagName = null;\n\n    if (value === null || value === undefined) {\n      return value;\n    }\n\n    if (isSafeString(value)) {\n      return value.toHTML();\n    }\n\n    if (!element) {\n      tagName = null;\n    } else {\n      tagName = element.tagName.toUpperCase();\n    }\n\n    var str = normalizeStringValue(value);\n\n    if (checkURI(tagName, attribute)) {\n      var protocol = env.protocolForURL(str);\n\n      if (has(badProtocols, protocol)) {\n        return \"unsafe:\" + str;\n      }\n    }\n\n    if (checkDataURI(tagName, attribute)) {\n      return \"unsafe:\" + str;\n    }\n\n    return str;\n  }\n  /*\n   * @method normalizeProperty\n   * @param element {HTMLElement}\n   * @param slotName {String}\n   * @returns {Object} { name, type }\n   */\n\n\n  function normalizeProperty(element, slotName) {\n    var type, normalized;\n\n    if (slotName in element) {\n      normalized = slotName;\n      type = 'prop';\n    } else {\n      var lower = slotName.toLowerCase();\n\n      if (lower in element) {\n        type = 'prop';\n        normalized = lower;\n      } else {\n        type = 'attr';\n        normalized = slotName;\n      }\n    }\n\n    if (type === 'prop' && (normalized.toLowerCase() === 'style' || preferAttr(element.tagName, normalized))) {\n      type = 'attr';\n    }\n\n    return {\n      normalized: normalized,\n      type: type\n    };\n  } // properties that MUST be set as attributes, due to:\n  // * browser bug\n  // * strange spec outlier\n\n\n  var ATTR_OVERRIDES = {\n    INPUT: {\n      form: true,\n      // Chrome 46.0.2464.0: 'autocorrect' in document.createElement('input') === false\n      // Safari 8.0.7: 'autocorrect' in document.createElement('input') === false\n      // Mobile Safari (iOS 8.4 simulator): 'autocorrect' in document.createElement('input') === true\n      autocorrect: true,\n      // Chrome 54.0.2840.98: 'list' in document.createElement('input') === true\n      // Safari 9.1.3: 'list' in document.createElement('input') === false\n      list: true\n    },\n    // element.form is actually a legitimate readOnly property, that is to be\n    // mutated, but must be mutated by setAttribute...\n    SELECT: {\n      form: true\n    },\n    OPTION: {\n      form: true\n    },\n    TEXTAREA: {\n      form: true\n    },\n    LABEL: {\n      form: true\n    },\n    FIELDSET: {\n      form: true\n    },\n    LEGEND: {\n      form: true\n    },\n    OBJECT: {\n      form: true\n    },\n    BUTTON: {\n      form: true\n    }\n  };\n\n  function preferAttr(tagName, propName) {\n    var tag = ATTR_OVERRIDES[tagName.toUpperCase()];\n    return tag && tag[propName.toLowerCase()] || false;\n  }\n\n  function dynamicAttribute(element, attr, namespace) {\n    var tagName = element.tagName,\n        namespaceURI = element.namespaceURI;\n    var attribute = {\n      element: element,\n      name: attr,\n      namespace: namespace\n    };\n\n    if (namespaceURI === SVG_NAMESPACE) {\n      return buildDynamicAttribute(tagName, attr, attribute);\n    }\n\n    var _normalizeProperty = normalizeProperty(element, attr),\n        type = _normalizeProperty.type,\n        normalized = _normalizeProperty.normalized;\n\n    if (type === 'attr') {\n      return buildDynamicAttribute(tagName, normalized, attribute);\n    } else {\n      return buildDynamicProperty(tagName, normalized, attribute);\n    }\n  }\n\n  function buildDynamicAttribute(tagName, name, attribute) {\n    if (requiresSanitization(tagName, name)) {\n      return new SafeDynamicAttribute(attribute);\n    } else {\n      return new SimpleDynamicAttribute(attribute);\n    }\n  }\n\n  function buildDynamicProperty(tagName, name, attribute) {\n    if (requiresSanitization(tagName, name)) {\n      return new SafeDynamicProperty(name, attribute);\n    }\n\n    if (isUserInputValue(tagName, name)) {\n      return new InputValueDynamicAttribute(name, attribute);\n    }\n\n    if (isOptionSelected(tagName, name)) {\n      return new OptionSelectedDynamicAttribute(name, attribute);\n    }\n\n    return new DefaultDynamicProperty(name, attribute);\n  }\n\n  var DynamicAttribute = function DynamicAttribute(attribute) {\n    this.attribute = attribute;\n  };\n\n  _exports.DynamicAttribute = DynamicAttribute;\n\n  var SimpleDynamicAttribute =\n  /*#__PURE__*/\n  function (_DynamicAttribute) {\n    (0, _emberBabel.inheritsLoose)(SimpleDynamicAttribute, _DynamicAttribute);\n\n    function SimpleDynamicAttribute() {\n      return _DynamicAttribute.apply(this, arguments) || this;\n    }\n\n    var _proto30 = SimpleDynamicAttribute.prototype;\n\n    _proto30.set = function set(dom, value, _env) {\n      var normalizedValue = normalizeValue(value);\n\n      if (normalizedValue !== null) {\n        var _this$attribute = this.attribute,\n            name = _this$attribute.name,\n            namespace = _this$attribute.namespace;\n\n        dom.__setAttribute(name, normalizedValue, namespace);\n      }\n    };\n\n    _proto30.update = function update(value, _env) {\n      var normalizedValue = normalizeValue(value);\n      var _this$attribute2 = this.attribute,\n          element = _this$attribute2.element,\n          name = _this$attribute2.name;\n\n      if (normalizedValue === null) {\n        element.removeAttribute(name);\n      } else {\n        element.setAttribute(name, normalizedValue);\n      }\n    };\n\n    return SimpleDynamicAttribute;\n  }(DynamicAttribute);\n\n  _exports.SimpleDynamicAttribute = SimpleDynamicAttribute;\n\n  var DefaultDynamicProperty =\n  /*#__PURE__*/\n  function (_DynamicAttribute2) {\n    (0, _emberBabel.inheritsLoose)(DefaultDynamicProperty, _DynamicAttribute2);\n\n    function DefaultDynamicProperty(normalizedName, attribute) {\n      var _this14;\n\n      _this14 = _DynamicAttribute2.call(this, attribute) || this;\n      _this14.normalizedName = normalizedName;\n      return _this14;\n    }\n\n    var _proto31 = DefaultDynamicProperty.prototype;\n\n    _proto31.set = function set(dom, value, _env) {\n      if (value !== null && value !== undefined) {\n        this.value = value;\n\n        dom.__setProperty(this.normalizedName, value);\n      }\n    };\n\n    _proto31.update = function update(value, _env) {\n      var element = this.attribute.element;\n\n      if (this.value !== value) {\n        element[this.normalizedName] = this.value = value;\n\n        if (value === null || value === undefined) {\n          this.removeAttribute();\n        }\n      }\n    };\n\n    _proto31.removeAttribute = function removeAttribute() {\n      // TODO this sucks but to preserve properties first and to meet current\n      // semantics we must do this.\n      var _this$attribute3 = this.attribute,\n          element = _this$attribute3.element,\n          namespace = _this$attribute3.namespace;\n\n      if (namespace) {\n        element.removeAttributeNS(namespace, this.normalizedName);\n      } else {\n        element.removeAttribute(this.normalizedName);\n      }\n    };\n\n    return DefaultDynamicProperty;\n  }(DynamicAttribute);\n\n  var SafeDynamicProperty =\n  /*#__PURE__*/\n  function (_DefaultDynamicProper) {\n    (0, _emberBabel.inheritsLoose)(SafeDynamicProperty, _DefaultDynamicProper);\n\n    function SafeDynamicProperty() {\n      return _DefaultDynamicProper.apply(this, arguments) || this;\n    }\n\n    var _proto32 = SafeDynamicProperty.prototype;\n\n    _proto32.set = function set(dom, value, env) {\n      var _this$attribute4 = this.attribute,\n          element = _this$attribute4.element,\n          name = _this$attribute4.name;\n      var sanitized = sanitizeAttributeValue(env, element, name, value);\n\n      _DefaultDynamicProper.prototype.set.call(this, dom, sanitized, env);\n    };\n\n    _proto32.update = function update(value, env) {\n      var _this$attribute5 = this.attribute,\n          element = _this$attribute5.element,\n          name = _this$attribute5.name;\n      var sanitized = sanitizeAttributeValue(env, element, name, value);\n\n      _DefaultDynamicProper.prototype.update.call(this, sanitized, env);\n    };\n\n    return SafeDynamicProperty;\n  }(DefaultDynamicProperty);\n\n  var SafeDynamicAttribute =\n  /*#__PURE__*/\n  function (_SimpleDynamicAttribu) {\n    (0, _emberBabel.inheritsLoose)(SafeDynamicAttribute, _SimpleDynamicAttribu);\n\n    function SafeDynamicAttribute() {\n      return _SimpleDynamicAttribu.apply(this, arguments) || this;\n    }\n\n    var _proto33 = SafeDynamicAttribute.prototype;\n\n    _proto33.set = function set(dom, value, env) {\n      var _this$attribute6 = this.attribute,\n          element = _this$attribute6.element,\n          name = _this$attribute6.name;\n      var sanitized = sanitizeAttributeValue(env, element, name, value);\n\n      _SimpleDynamicAttribu.prototype.set.call(this, dom, sanitized, env);\n    };\n\n    _proto33.update = function update(value, env) {\n      var _this$attribute7 = this.attribute,\n          element = _this$attribute7.element,\n          name = _this$attribute7.name;\n      var sanitized = sanitizeAttributeValue(env, element, name, value);\n\n      _SimpleDynamicAttribu.prototype.update.call(this, sanitized, env);\n    };\n\n    return SafeDynamicAttribute;\n  }(SimpleDynamicAttribute);\n\n  var InputValueDynamicAttribute =\n  /*#__PURE__*/\n  function (_DefaultDynamicProper2) {\n    (0, _emberBabel.inheritsLoose)(InputValueDynamicAttribute, _DefaultDynamicProper2);\n\n    function InputValueDynamicAttribute() {\n      return _DefaultDynamicProper2.apply(this, arguments) || this;\n    }\n\n    var _proto34 = InputValueDynamicAttribute.prototype;\n\n    _proto34.set = function set(dom, value) {\n      dom.__setProperty('value', normalizeStringValue(value));\n    };\n\n    _proto34.update = function update(value) {\n      var input = this.attribute.element;\n      var currentValue = input.value;\n      var normalizedValue = normalizeStringValue(value);\n\n      if (currentValue !== normalizedValue) {\n        input.value = normalizedValue;\n      }\n    };\n\n    return InputValueDynamicAttribute;\n  }(DefaultDynamicProperty);\n\n  var OptionSelectedDynamicAttribute =\n  /*#__PURE__*/\n  function (_DefaultDynamicProper3) {\n    (0, _emberBabel.inheritsLoose)(OptionSelectedDynamicAttribute, _DefaultDynamicProper3);\n\n    function OptionSelectedDynamicAttribute() {\n      return _DefaultDynamicProper3.apply(this, arguments) || this;\n    }\n\n    var _proto35 = OptionSelectedDynamicAttribute.prototype;\n\n    _proto35.set = function set(dom, value) {\n      if (value !== null && value !== undefined && value !== false) {\n        dom.__setProperty('selected', true);\n      }\n    };\n\n    _proto35.update = function update(value) {\n      var option = this.attribute.element;\n\n      if (value) {\n        option.selected = true;\n      } else {\n        option.selected = false;\n      }\n    };\n\n    return OptionSelectedDynamicAttribute;\n  }(DefaultDynamicProperty);\n\n  function isOptionSelected(tagName, attribute) {\n    return tagName === 'OPTION' && attribute === 'selected';\n  }\n\n  function isUserInputValue(tagName, attribute) {\n    return (tagName === 'INPUT' || tagName === 'TEXTAREA') && attribute === 'value';\n  }\n\n  function normalizeValue(value) {\n    if (value === false || value === undefined || value === null || typeof value.toString === 'undefined') {\n      return null;\n    }\n\n    if (value === true) {\n      return '';\n    } // onclick function etc in SSR\n\n\n    if (typeof value === 'function') {\n      return null;\n    }\n\n    return String(value);\n  }\n\n  var Scope =\n  /*#__PURE__*/\n  function () {\n    function Scope( // the 0th slot is `self`\n    slots, callerScope, // named arguments and blocks passed to a layout that uses eval\n    evalScope, // locals in scope when the partial was invoked\n    partialMap) {\n      this.slots = slots;\n      this.callerScope = callerScope;\n      this.evalScope = evalScope;\n      this.partialMap = partialMap;\n    }\n\n    Scope.root = function root(self) {\n      var size = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n      var refs = new Array(size + 1);\n\n      for (var i = 0; i <= size; i++) {\n        refs[i] = UNDEFINED_REFERENCE;\n      }\n\n      return new Scope(refs, null, null, null).init({\n        self: self\n      });\n    };\n\n    Scope.sized = function sized() {\n      var size = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n      var refs = new Array(size + 1);\n\n      for (var i = 0; i <= size; i++) {\n        refs[i] = UNDEFINED_REFERENCE;\n      }\n\n      return new Scope(refs, null, null, null);\n    };\n\n    var _proto36 = Scope.prototype;\n\n    _proto36.init = function init(_ref55) {\n      var self = _ref55.self;\n      this.slots[0] = self;\n      return this;\n    };\n\n    _proto36.getSelf = function getSelf() {\n      return this.get(0);\n    };\n\n    _proto36.getSymbol = function getSymbol(symbol) {\n      return this.get(symbol);\n    };\n\n    _proto36.getBlock = function getBlock(symbol) {\n      var block = this.get(symbol);\n      return block === UNDEFINED_REFERENCE ? null : block;\n    };\n\n    _proto36.getEvalScope = function getEvalScope() {\n      return this.evalScope;\n    };\n\n    _proto36.getPartialMap = function getPartialMap() {\n      return this.partialMap;\n    };\n\n    _proto36.bind = function bind(symbol, value) {\n      this.set(symbol, value);\n    };\n\n    _proto36.bindSelf = function bindSelf(self) {\n      this.set(0, self);\n    };\n\n    _proto36.bindSymbol = function bindSymbol(symbol, value) {\n      this.set(symbol, value);\n    };\n\n    _proto36.bindBlock = function bindBlock(symbol, value) {\n      this.set(symbol, value);\n    };\n\n    _proto36.bindEvalScope = function bindEvalScope(map) {\n      this.evalScope = map;\n    };\n\n    _proto36.bindPartialMap = function bindPartialMap(map) {\n      this.partialMap = map;\n    };\n\n    _proto36.bindCallerScope = function bindCallerScope(scope) {\n      this.callerScope = scope;\n    };\n\n    _proto36.getCallerScope = function getCallerScope() {\n      return this.callerScope;\n    };\n\n    _proto36.child = function child() {\n      return new Scope(this.slots.slice(), this.callerScope, this.evalScope, this.partialMap);\n    };\n\n    _proto36.get = function get(index) {\n      if (index >= this.slots.length) {\n        throw new RangeError(\"BUG: cannot get $\" + index + \" from scope; length=\" + this.slots.length);\n      }\n\n      return this.slots[index];\n    };\n\n    _proto36.set = function 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\n      this.slots[index] = value;\n    };\n\n    return Scope;\n  }();\n\n  _exports.Scope = Scope;\n\n  var Transaction =\n  /*#__PURE__*/\n  function () {\n    function Transaction() {\n      this.scheduledInstallManagers = [];\n      this.scheduledInstallModifiers = [];\n      this.scheduledUpdateModifierManagers = [];\n      this.scheduledUpdateModifiers = [];\n      this.createdComponents = [];\n      this.createdManagers = [];\n      this.updatedComponents = [];\n      this.updatedManagers = [];\n      this.destructors = [];\n    }\n\n    var _proto37 = Transaction.prototype;\n\n    _proto37.didCreate = function didCreate(component, manager) {\n      this.createdComponents.push(component);\n      this.createdManagers.push(manager);\n    };\n\n    _proto37.didUpdate = function didUpdate(component, manager) {\n      this.updatedComponents.push(component);\n      this.updatedManagers.push(manager);\n    };\n\n    _proto37.scheduleInstallModifier = function scheduleInstallModifier(modifier, manager) {\n      this.scheduledInstallModifiers.push(modifier);\n      this.scheduledInstallManagers.push(manager);\n    };\n\n    _proto37.scheduleUpdateModifier = function scheduleUpdateModifier(modifier, manager) {\n      this.scheduledUpdateModifiers.push(modifier);\n      this.scheduledUpdateModifierManagers.push(manager);\n    };\n\n    _proto37.didDestroy = function didDestroy(d) {\n      this.destructors.push(d);\n    };\n\n    _proto37.commit = function commit() {\n      var createdComponents = this.createdComponents,\n          createdManagers = this.createdManagers;\n\n      for (var i = 0; i < createdComponents.length; i++) {\n        var component = createdComponents[i];\n        var manager = createdManagers[i];\n        manager.didCreate(component);\n      }\n\n      var updatedComponents = this.updatedComponents,\n          updatedManagers = this.updatedManagers;\n\n      for (var _i4 = 0; _i4 < updatedComponents.length; _i4++) {\n        var _component = updatedComponents[_i4];\n        var _manager2 = updatedManagers[_i4];\n\n        _manager2.didUpdate(_component);\n      }\n\n      var destructors = this.destructors;\n\n      for (var _i5 = 0; _i5 < destructors.length; _i5++) {\n        destructors[_i5].destroy();\n      }\n\n      var scheduledInstallManagers = this.scheduledInstallManagers,\n          scheduledInstallModifiers = this.scheduledInstallModifiers;\n\n      for (var _i6 = 0; _i6 < scheduledInstallManagers.length; _i6++) {\n        var modifier = scheduledInstallModifiers[_i6];\n        var _manager3 = scheduledInstallManagers[_i6];\n\n        _manager3.install(modifier);\n      }\n\n      var scheduledUpdateModifierManagers = this.scheduledUpdateModifierManagers,\n          scheduledUpdateModifiers = this.scheduledUpdateModifiers;\n\n      for (var _i7 = 0; _i7 < scheduledUpdateModifierManagers.length; _i7++) {\n        var _modifier = scheduledUpdateModifiers[_i7];\n        var _manager4 = scheduledUpdateModifierManagers[_i7];\n\n        _manager4.update(_modifier);\n      }\n    };\n\n    return Transaction;\n  }();\n\n  var Environment =\n  /*#__PURE__*/\n  function () {\n    function Environment(_ref56) {\n      var appendOperations = _ref56.appendOperations,\n          updateOperations = _ref56.updateOperations;\n      this._transaction = null;\n      this.appendOperations = appendOperations;\n      this.updateOperations = updateOperations;\n    }\n\n    var _proto38 = Environment.prototype;\n\n    _proto38.toConditionalReference = function toConditionalReference(reference) {\n      return new ConditionalReference(reference);\n    };\n\n    _proto38.getAppendOperations = function getAppendOperations() {\n      return this.appendOperations;\n    };\n\n    _proto38.getDOM = function getDOM() {\n      return this.updateOperations;\n    };\n\n    _proto38.begin = function begin() {\n      this._transaction = new Transaction();\n    };\n\n    _proto38.didCreate = function didCreate(component, manager) {\n      this.transaction.didCreate(component, manager);\n    };\n\n    _proto38.didUpdate = function didUpdate(component, manager) {\n      this.transaction.didUpdate(component, manager);\n    };\n\n    _proto38.scheduleInstallModifier = function scheduleInstallModifier(modifier, manager) {\n      this.transaction.scheduleInstallModifier(modifier, manager);\n    };\n\n    _proto38.scheduleUpdateModifier = function scheduleUpdateModifier(modifier, manager) {\n      this.transaction.scheduleUpdateModifier(modifier, manager);\n    };\n\n    _proto38.didDestroy = function didDestroy(d) {\n      this.transaction.didDestroy(d);\n    };\n\n    _proto38.commit = function commit() {\n      var transaction = this.transaction;\n      this._transaction = null;\n      transaction.commit();\n    };\n\n    _proto38.attributeFor = function attributeFor(element, attr, _isTrusting) {\n      var namespace = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n      return dynamicAttribute(element, attr, namespace);\n    };\n\n    (0, _emberBabel.createClass)(Environment, [{\n      key: \"transaction\",\n      get: function () {\n        return this._transaction;\n      }\n    }]);\n    return Environment;\n  }();\n\n  _exports.Environment = Environment;\n\n  var DefaultEnvironment =\n  /*#__PURE__*/\n  function (_Environment) {\n    (0, _emberBabel.inheritsLoose)(DefaultEnvironment, _Environment);\n\n    function DefaultEnvironment(options) {\n      if (!options) {\n        var _document = window.document;\n        var appendOperations = new DOMTreeConstruction(_document);\n        var updateOperations = new DOMChanges(_document);\n        options = {\n          appendOperations: appendOperations,\n          updateOperations: updateOperations\n        };\n      }\n\n      return _Environment.call(this, options) || this;\n    }\n\n    return DefaultEnvironment;\n  }(Environment);\n\n  _exports.DefaultEnvironment = DefaultEnvironment;\n\n  var LowLevelVM =\n  /*#__PURE__*/\n  function () {\n    function LowLevelVM(stack, heap, program, externs) {\n      var pc = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : -1;\n      var ra = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : -1;\n      this.stack = stack;\n      this.heap = heap;\n      this.program = program;\n      this.externs = externs;\n      this.pc = pc;\n      this.ra = ra;\n      this.currentOpSize = 0;\n    } // Start a new frame and save $ra and $fp on the stack\n\n\n    var _proto39 = LowLevelVM.prototype;\n\n    _proto39.pushFrame = function pushFrame() {\n      this.stack.push(this.ra);\n      this.stack.push(this.stack.fp);\n      this.stack.fp = this.stack.sp - 1;\n    } // Restore $ra, $sp and $fp\n    ;\n\n    _proto39.popFrame = function popFrame() {\n      this.stack.sp = this.stack.fp - 1;\n      this.ra = this.stack.get(0);\n      this.stack.fp = this.stack.get(1);\n    };\n\n    _proto39.pushSmallFrame = function pushSmallFrame() {\n      this.stack.push(this.ra);\n    };\n\n    _proto39.popSmallFrame = function popSmallFrame() {\n      this.ra = this.stack.popSmi();\n    } // Jump to an address in `program`\n    ;\n\n    _proto39.goto = function goto(offset) {\n      var addr = this.pc + offset - this.currentOpSize;\n      this.pc = addr;\n    } // Save $pc into $ra, then jump to a new address in `program` (jal in MIPS)\n    ;\n\n    _proto39.call = function call(handle) {\n      this.ra = this.pc;\n      this.pc = this.heap.getaddr(handle);\n    } // Put a specific `program` address in $ra\n    ;\n\n    _proto39.returnTo = function returnTo(offset) {\n      var addr = this.pc + offset - this.currentOpSize;\n      this.ra = addr;\n    } // Return to the `program` address stored in $ra\n    ;\n\n    _proto39.return = function _return() {\n      this.pc = this.ra;\n    };\n\n    _proto39.nextStatement = function nextStatement() {\n      var pc = this.pc,\n          program = this.program;\n\n      if (pc === -1) {\n        return null;\n      } // We have to save off the current operations size so that\n      // when we do a jump we can calculate the correct offset\n      // to where we are going. We can't simply ask for the size\n      // in a jump because we have have already incremented the\n      // program counter to the next instruction prior to executing.\n\n\n      var _this$program$opcode = this.program.opcode(pc),\n          size = _this$program$opcode.size;\n\n      var operationSize = this.currentOpSize = size;\n      this.pc += operationSize;\n      return program.opcode(pc);\n    };\n\n    _proto39.evaluateOuter = function evaluateOuter(opcode, vm) {\n      {\n        this.evaluateInner(opcode, vm);\n      }\n    };\n\n    _proto39.evaluateInner = function evaluateInner(opcode, vm) {\n      if (opcode.isMachine) {\n        this.evaluateMachine(opcode);\n      } else {\n        this.evaluateSyscall(opcode, vm);\n      }\n    };\n\n    _proto39.evaluateMachine = function evaluateMachine(opcode) {\n      switch (opcode.type) {\n        case 57\n        /* PushFrame */\n        :\n          return this.pushFrame();\n\n        case 58\n        /* PopFrame */\n        :\n          return this.popFrame();\n\n        case 59\n        /* PushSmallFrame */\n        :\n          return this.pushSmallFrame();\n\n        case 60\n        /* PopSmallFrame */\n        :\n          return this.popSmallFrame();\n\n        case 50\n        /* InvokeStatic */\n        :\n          return this.call(opcode.op1);\n\n        case 49\n        /* InvokeVirtual */\n        :\n          return this.call(this.stack.popSmi());\n\n        case 52\n        /* Jump */\n        :\n          return this.goto(opcode.op1);\n\n        case 24\n        /* Return */\n        :\n          return this.return();\n\n        case 25\n        /* ReturnTo */\n        :\n          return this.returnTo(opcode.op1);\n      }\n    };\n\n    _proto39.evaluateSyscall = function evaluateSyscall(opcode, vm) {\n      APPEND_OPCODES.evaluate(vm, opcode, opcode.type);\n    };\n\n    return LowLevelVM;\n  }();\n\n  var First =\n  /*#__PURE__*/\n  function () {\n    function First(node) {\n      this.node = node;\n    }\n\n    var _proto40 = First.prototype;\n\n    _proto40.firstNode = function firstNode() {\n      return this.node;\n    };\n\n    return First;\n  }();\n\n  var Last =\n  /*#__PURE__*/\n  function () {\n    function Last(node) {\n      this.node = node;\n    }\n\n    var _proto41 = Last.prototype;\n\n    _proto41.lastNode = function lastNode() {\n      return this.node;\n    };\n\n    return Last;\n  }();\n\n  var NewElementBuilder =\n  /*#__PURE__*/\n  function () {\n    function NewElementBuilder(env, parentNode, nextSibling) {\n      this.constructing = null;\n      this.operations = null;\n      this.cursorStack = new _util.Stack();\n      this.modifierStack = new _util.Stack();\n      this.blockStack = new _util.Stack();\n      this.pushElement(parentNode, nextSibling);\n      this.env = env;\n      this.dom = env.getAppendOperations();\n      this.updateOperations = env.getDOM();\n    }\n\n    NewElementBuilder.forInitialRender = function forInitialRender(env, cursor) {\n      var builder = new this(env, cursor.element, cursor.nextSibling);\n      builder.pushSimpleBlock();\n      return builder;\n    };\n\n    NewElementBuilder.resume = function resume(env, tracker, nextSibling) {\n      var parentNode = tracker.parentElement();\n      var stack = new this(env, parentNode, nextSibling);\n      stack.pushSimpleBlock();\n      stack.pushBlockTracker(tracker);\n      return stack;\n    };\n\n    var _proto42 = NewElementBuilder.prototype;\n\n    _proto42.expectConstructing = function expectConstructing(method) {\n      return this.constructing;\n    };\n\n    _proto42.block = function block() {\n      return this.blockStack.current;\n    };\n\n    _proto42.popElement = function popElement() {\n      this.cursorStack.pop();\n      this.cursorStack.current;\n    };\n\n    _proto42.pushSimpleBlock = function pushSimpleBlock() {\n      return this.pushBlockTracker(new SimpleBlockTracker(this.element));\n    };\n\n    _proto42.pushUpdatableBlock = function pushUpdatableBlock() {\n      return this.pushBlockTracker(new UpdatableBlockTracker(this.element));\n    };\n\n    _proto42.pushBlockList = function pushBlockList(list) {\n      return this.pushBlockTracker(new BlockListTracker(this.element, list));\n    };\n\n    _proto42.pushBlockTracker = function pushBlockTracker(tracker) {\n      var isRemote = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n      var current = this.blockStack.current;\n\n      if (current !== null) {\n        current.newDestroyable(tracker);\n\n        if (!isRemote) {\n          current.didAppendBounds(tracker);\n        }\n      }\n\n      this.__openBlock();\n\n      this.blockStack.push(tracker);\n      return tracker;\n    };\n\n    _proto42.popBlock = function popBlock() {\n      this.block().finalize(this);\n\n      this.__closeBlock();\n\n      return this.blockStack.pop();\n    };\n\n    _proto42.__openBlock = function __openBlock() {};\n\n    _proto42.__closeBlock = function __closeBlock() {} // todo return seems unused\n    ;\n\n    _proto42.openElement = function openElement(tag) {\n      var element = this.__openElement(tag);\n\n      this.constructing = element;\n      return element;\n    };\n\n    _proto42.__openElement = function __openElement(tag) {\n      return this.dom.createElement(tag, this.element);\n    };\n\n    _proto42.flushElement = function flushElement(modifiers) {\n      var parent = this.element;\n      var element = this.constructing;\n\n      this.__flushElement(parent, element);\n\n      this.constructing = null;\n      this.operations = null;\n      this.pushModifiers(modifiers);\n      this.pushElement(element, null);\n      this.didOpenElement(element);\n    };\n\n    _proto42.__flushElement = function __flushElement(parent, constructing) {\n      this.dom.insertBefore(parent, constructing, this.nextSibling);\n    };\n\n    _proto42.closeElement = function closeElement() {\n      this.willCloseElement();\n      this.popElement();\n      return this.popModifiers();\n    };\n\n    _proto42.pushRemoteElement = function pushRemoteElement(element, guid) {\n      var nextSibling = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n\n      this.__pushRemoteElement(element, guid, nextSibling);\n    };\n\n    _proto42.__pushRemoteElement = function __pushRemoteElement(element, _guid, nextSibling) {\n      this.pushElement(element, nextSibling);\n      var tracker = new RemoteBlockTracker(element);\n      this.pushBlockTracker(tracker, true);\n    };\n\n    _proto42.popRemoteElement = function popRemoteElement() {\n      this.popBlock();\n      this.popElement();\n    };\n\n    _proto42.pushElement = function pushElement(element, nextSibling) {\n      this.cursorStack.push(new Cursor(element, nextSibling));\n    };\n\n    _proto42.pushModifiers = function pushModifiers(modifiers) {\n      this.modifierStack.push(modifiers);\n    };\n\n    _proto42.popModifiers = function popModifiers() {\n      return this.modifierStack.pop();\n    };\n\n    _proto42.didAddDestroyable = function didAddDestroyable(d) {\n      this.block().newDestroyable(d);\n    };\n\n    _proto42.didAppendBounds = function didAppendBounds(bounds) {\n      this.block().didAppendBounds(bounds);\n      return bounds;\n    };\n\n    _proto42.didAppendNode = function didAppendNode(node) {\n      this.block().didAppendNode(node);\n      return node;\n    };\n\n    _proto42.didOpenElement = function didOpenElement(element) {\n      this.block().openElement(element);\n      return element;\n    };\n\n    _proto42.willCloseElement = function willCloseElement() {\n      this.block().closeElement();\n    };\n\n    _proto42.appendText = function appendText(string) {\n      return this.didAppendNode(this.__appendText(string));\n    };\n\n    _proto42.__appendText = function __appendText(text) {\n      var dom = this.dom,\n          element = this.element,\n          nextSibling = this.nextSibling;\n      var node = dom.createTextNode(text);\n      dom.insertBefore(element, node, nextSibling);\n      return node;\n    };\n\n    _proto42.__appendNode = function __appendNode(node) {\n      this.dom.insertBefore(this.element, node, this.nextSibling);\n      return node;\n    };\n\n    _proto42.__appendFragment = function __appendFragment(fragment) {\n      var first = fragment.firstChild;\n\n      if (first) {\n        var ret = new ConcreteBounds(this.element, first, fragment.lastChild);\n        this.dom.insertBefore(this.element, fragment, this.nextSibling);\n        return ret;\n      } else {\n        return new SingleNodeBounds(this.element, this.__appendComment(''));\n      }\n    };\n\n    _proto42.__appendHTML = function __appendHTML(html) {\n      return this.dom.insertHTMLBefore(this.element, this.nextSibling, html);\n    };\n\n    _proto42.appendDynamicHTML = function appendDynamicHTML(value) {\n      var bounds = this.trustedContent(value);\n      this.didAppendBounds(bounds);\n    };\n\n    _proto42.appendDynamicText = function appendDynamicText(value) {\n      var node = this.untrustedContent(value);\n      this.didAppendNode(node);\n      return node;\n    };\n\n    _proto42.appendDynamicFragment = function appendDynamicFragment(value) {\n      var bounds = this.__appendFragment(value);\n\n      this.didAppendBounds(bounds);\n    };\n\n    _proto42.appendDynamicNode = function appendDynamicNode(value) {\n      var node = this.__appendNode(value);\n\n      var bounds = new SingleNodeBounds(this.element, node);\n      this.didAppendBounds(bounds);\n    };\n\n    _proto42.trustedContent = function trustedContent(value) {\n      return this.__appendHTML(value);\n    };\n\n    _proto42.untrustedContent = function untrustedContent(value) {\n      return this.__appendText(value);\n    };\n\n    _proto42.appendComment = function appendComment(string) {\n      return this.didAppendNode(this.__appendComment(string));\n    };\n\n    _proto42.__appendComment = function __appendComment(string) {\n      var dom = this.dom,\n          element = this.element,\n          nextSibling = this.nextSibling;\n      var node = dom.createComment(string);\n      dom.insertBefore(element, node, nextSibling);\n      return node;\n    };\n\n    _proto42.__setAttribute = function __setAttribute(name, value, namespace) {\n      this.dom.setAttribute(this.constructing, name, value, namespace);\n    };\n\n    _proto42.__setProperty = function __setProperty(name, value) {\n      this.constructing[name] = value;\n    };\n\n    _proto42.setStaticAttribute = function setStaticAttribute(name, value, namespace) {\n      this.__setAttribute(name, value, namespace);\n    };\n\n    _proto42.setDynamicAttribute = function setDynamicAttribute(name, value, trusting, namespace) {\n      var element = this.constructing;\n      var attribute = this.env.attributeFor(element, name, trusting, namespace);\n      attribute.set(this, value, this.env);\n      return attribute;\n    };\n\n    (0, _emberBabel.createClass)(NewElementBuilder, [{\n      key: \"element\",\n      get: function () {\n        return this.cursorStack.current.element;\n      }\n    }, {\n      key: \"nextSibling\",\n      get: function () {\n        return this.cursorStack.current.nextSibling;\n      }\n    }]);\n    return NewElementBuilder;\n  }();\n\n  _exports.NewElementBuilder = NewElementBuilder;\n\n  var SimpleBlockTracker =\n  /*#__PURE__*/\n  function () {\n    function SimpleBlockTracker(parent) {\n      this.parent = parent;\n      this.first = null;\n      this.last = null;\n      this.destroyables = null;\n      this.nesting = 0;\n    }\n\n    var _proto43 = SimpleBlockTracker.prototype;\n\n    _proto43.destroy = function destroy() {\n      var destroyables = this.destroyables;\n\n      if (destroyables && destroyables.length) {\n        for (var i = 0; i < destroyables.length; i++) {\n          destroyables[i].destroy();\n        }\n      }\n    };\n\n    _proto43.parentElement = function parentElement() {\n      return this.parent;\n    };\n\n    _proto43.firstNode = function firstNode() {\n      var first = this.first;\n      return first.firstNode();\n    };\n\n    _proto43.lastNode = function lastNode() {\n      var last = this.last;\n      return last.lastNode();\n    };\n\n    _proto43.openElement = function openElement(element) {\n      this.didAppendNode(element);\n      this.nesting++;\n    };\n\n    _proto43.closeElement = function closeElement() {\n      this.nesting--;\n    };\n\n    _proto43.didAppendNode = function didAppendNode(node) {\n      if (this.nesting !== 0) return;\n\n      if (!this.first) {\n        this.first = new First(node);\n      }\n\n      this.last = new Last(node);\n    };\n\n    _proto43.didAppendBounds = function didAppendBounds(bounds) {\n      if (this.nesting !== 0) return;\n\n      if (!this.first) {\n        this.first = bounds;\n      }\n\n      this.last = bounds;\n    };\n\n    _proto43.newDestroyable = function newDestroyable(d) {\n      this.destroyables = this.destroyables || [];\n      this.destroyables.push(d);\n    };\n\n    _proto43.finalize = function finalize(stack) {\n      if (this.first === null) {\n        stack.appendComment('');\n      }\n    };\n\n    return SimpleBlockTracker;\n  }();\n\n  var RemoteBlockTracker =\n  /*#__PURE__*/\n  function (_SimpleBlockTracker) {\n    (0, _emberBabel.inheritsLoose)(RemoteBlockTracker, _SimpleBlockTracker);\n\n    function RemoteBlockTracker() {\n      return _SimpleBlockTracker.apply(this, arguments) || this;\n    }\n\n    var _proto44 = RemoteBlockTracker.prototype;\n\n    _proto44.destroy = function destroy() {\n      _SimpleBlockTracker.prototype.destroy.call(this);\n\n      clear(this);\n    };\n\n    return RemoteBlockTracker;\n  }(SimpleBlockTracker);\n\n  var UpdatableBlockTracker =\n  /*#__PURE__*/\n  function (_SimpleBlockTracker2) {\n    (0, _emberBabel.inheritsLoose)(UpdatableBlockTracker, _SimpleBlockTracker2);\n\n    function UpdatableBlockTracker() {\n      return _SimpleBlockTracker2.apply(this, arguments) || this;\n    }\n\n    var _proto45 = UpdatableBlockTracker.prototype;\n\n    _proto45.reset = function reset(env) {\n      var destroyables = this.destroyables;\n\n      if (destroyables && destroyables.length) {\n        for (var i = 0; i < destroyables.length; i++) {\n          env.didDestroy(destroyables[i]);\n        }\n      }\n\n      var nextSibling = clear(this);\n      this.first = null;\n      this.last = null;\n      this.destroyables = null;\n      this.nesting = 0;\n      return nextSibling;\n    };\n\n    return UpdatableBlockTracker;\n  }(SimpleBlockTracker);\n\n  var BlockListTracker =\n  /*#__PURE__*/\n  function () {\n    function BlockListTracker(parent, boundList) {\n      this.parent = parent;\n      this.boundList = boundList;\n      this.parent = parent;\n      this.boundList = boundList;\n    }\n\n    var _proto46 = BlockListTracker.prototype;\n\n    _proto46.destroy = function destroy() {\n      this.boundList.forEachNode(function (node) {\n        return node.destroy();\n      });\n    };\n\n    _proto46.parentElement = function parentElement() {\n      return this.parent;\n    };\n\n    _proto46.firstNode = function firstNode() {\n      var head = this.boundList.head();\n      return head.firstNode();\n    };\n\n    _proto46.lastNode = function lastNode() {\n      var tail = this.boundList.tail();\n      return tail.lastNode();\n    };\n\n    _proto46.openElement = function openElement(_element) {};\n\n    _proto46.closeElement = function closeElement() {};\n\n    _proto46.didAppendNode = function didAppendNode(_node) {};\n\n    _proto46.didAppendBounds = function didAppendBounds(_bounds) {};\n\n    _proto46.newDestroyable = function newDestroyable(_d) {};\n\n    _proto46.finalize = function finalize(_stack) {};\n\n    return BlockListTracker;\n  }();\n\n  function clientBuilder(env, cursor) {\n    return NewElementBuilder.forInitialRender(env, cursor);\n  }\n\n  var MAX_SMI = 0xfffffff;\n\n  var InnerStack =\n  /*#__PURE__*/\n  function () {\n    function InnerStack() {\n      var inner = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : new _lowLevel.Stack();\n      var js = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n      this.inner = inner;\n      this.js = js;\n    }\n\n    var _proto47 = InnerStack.prototype;\n\n    _proto47.slice = function slice(start, end) {\n      var inner;\n\n      if (typeof start === 'number' && typeof end === 'number') {\n        inner = this.inner.slice(start, end);\n      } else if (typeof start === 'number' && end === undefined) {\n        inner = this.inner.sliceFrom(start);\n      } else {\n        inner = this.inner.clone();\n      }\n\n      return new InnerStack(inner, this.js.slice(start, end));\n    };\n\n    _proto47.sliceInner = function sliceInner(start, end) {\n      var out = [];\n\n      for (var i = start; i < end; i++) {\n        out.push(this.get(i));\n      }\n\n      return out;\n    };\n\n    _proto47.copy = function copy(from, to) {\n      this.inner.copy(from, to);\n    };\n\n    _proto47.write = function write(pos, value) {\n      if (isImmediate(value)) {\n        this.inner.writeRaw(pos, encodeImmediate(value));\n      } else {\n        var idx = this.js.length;\n        this.js.push(value);\n        this.inner.writeRaw(pos, ~idx);\n      }\n    };\n\n    _proto47.writeRaw = function writeRaw(pos, value) {\n      this.inner.writeRaw(pos, value);\n    };\n\n    _proto47.get = function get(pos) {\n      var value = this.inner.getRaw(pos);\n\n      if (value < 0) {\n        return this.js[~value];\n      } else {\n        return decodeImmediate(value);\n      }\n    };\n\n    _proto47.reset = function reset() {\n      this.inner.reset();\n      this.js.length = 0;\n    };\n\n    (0, _emberBabel.createClass)(InnerStack, [{\n      key: \"length\",\n      get: function () {\n        return this.inner.len();\n      }\n    }]);\n    return InnerStack;\n  }();\n\n  var EvaluationStack =\n  /*#__PURE__*/\n  function () {\n    function EvaluationStack(stack, fp, sp) {\n      this.stack = stack;\n      this.fp = fp;\n      this.sp = sp;\n    }\n\n    EvaluationStack.empty = function empty() {\n      return new this(new InnerStack(), 0, -1);\n    };\n\n    EvaluationStack.restore = function restore(snapshot) {\n      var stack = new InnerStack();\n\n      for (var i = 0; i < snapshot.length; i++) {\n        stack.write(i, snapshot[i]);\n      }\n\n      return new this(stack, 0, snapshot.length - 1);\n    };\n\n    var _proto48 = EvaluationStack.prototype;\n\n    _proto48.push = function push(value) {\n      this.stack.write(++this.sp, value);\n    };\n\n    _proto48.pushEncodedImmediate = function pushEncodedImmediate(value) {\n      this.stack.writeRaw(++this.sp, value);\n    };\n\n    _proto48.pushNull = function pushNull() {\n      this.stack.write(++this.sp, null);\n    };\n\n    _proto48.dup = function dup() {\n      var position = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.sp;\n      this.stack.copy(position, ++this.sp);\n    };\n\n    _proto48.copy = function copy(from, to) {\n      this.stack.copy(from, to);\n    };\n\n    _proto48.pop = function pop() {\n      var n = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;\n      var top = this.stack.get(this.sp);\n      this.sp -= n;\n      return top;\n    };\n\n    _proto48.popSmi = function popSmi() {\n      return this.stack.get(this.sp--);\n    };\n\n    _proto48.peek = function peek() {\n      var offset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n      return this.stack.get(this.sp - offset);\n    };\n\n    _proto48.get = function get(offset) {\n      var base = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.fp;\n      return this.stack.get(base + offset);\n    };\n\n    _proto48.set = function set(value, offset) {\n      var base = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.fp;\n      this.stack.write(base + offset, value);\n    };\n\n    _proto48.slice = function slice(start, end) {\n      return this.stack.slice(start, end);\n    };\n\n    _proto48.sliceArray = function sliceArray(start, end) {\n      return this.stack.sliceInner(start, end);\n    };\n\n    _proto48.capture = function capture(items) {\n      var end = this.sp + 1;\n      var start = end - items;\n      return this.stack.sliceInner(start, end);\n    };\n\n    _proto48.reset = function reset() {\n      this.stack.reset();\n    };\n\n    _proto48.toArray = function toArray() {\n      return this.stack.sliceInner(this.fp, this.sp + 1);\n    };\n\n    return EvaluationStack;\n  }();\n\n  function isImmediate(value) {\n    var type = typeof value;\n    if (value === null || value === undefined) return true;\n\n    switch (type) {\n      case 'boolean':\n      case 'undefined':\n        return true;\n\n      case 'number':\n        // not an integer\n        if (value % 1 !== 0) return false;\n        var abs = Math.abs(value);\n        if (abs > MAX_SMI) return false;\n        return true;\n\n      default:\n        return false;\n    }\n  }\n\n  function encodeSmi(primitive) {\n    if (primitive < 0) {\n      var abs = Math.abs(primitive);\n      if (abs > MAX_SMI) throw new Error('not smi');\n      return Math.abs(primitive) << 3 | 4\n      /* NEGATIVE */\n      ;\n    } else {\n      if (primitive > MAX_SMI) throw new Error('not smi');\n      return primitive << 3 | 0\n      /* NUMBER */\n      ;\n    }\n  }\n\n  function encodeImmediate(primitive) {\n    switch (typeof primitive) {\n      case 'number':\n        return encodeSmi(primitive);\n\n      case 'boolean':\n        return primitive ? 11\n        /* True */\n        : 3\n        /* False */\n        ;\n\n      case 'object':\n        // assume null\n        return 19\n        /* Null */\n        ;\n\n      case 'undefined':\n        return 27\n        /* Undef */\n        ;\n\n      default:\n        throw (0, _util.unreachable)();\n    }\n  }\n\n  function decodeSmi(smi) {\n    switch (smi & 7) {\n      case 0\n      /* NUMBER */\n      :\n        return smi >> 3;\n\n      case 4\n      /* NEGATIVE */\n      :\n        return -(smi >> 3);\n\n      default:\n        throw (0, _util.unreachable)();\n    }\n  }\n\n  function decodeImmediate(immediate) {\n    switch (immediate) {\n      case 3\n      /* False */\n      :\n        return false;\n\n      case 11\n      /* True */\n      :\n        return true;\n\n      case 19\n      /* Null */\n      :\n        return null;\n\n      case 27\n      /* Undef */\n      :\n        return undefined;\n\n      default:\n        return decodeSmi(immediate);\n    }\n  }\n\n  var UpdatingVM =\n  /*#__PURE__*/\n  function () {\n    function UpdatingVM(env, program, _ref57) {\n      var _ref57$alwaysRevalida = _ref57.alwaysRevalidate,\n          alwaysRevalidate = _ref57$alwaysRevalida === void 0 ? false : _ref57$alwaysRevalida;\n      this.frameStack = new _util.Stack();\n      this.env = env;\n      this.constants = program.constants;\n      this.dom = env.getDOM();\n      this.alwaysRevalidate = alwaysRevalidate;\n    }\n\n    var _proto49 = UpdatingVM.prototype;\n\n    _proto49.execute = function execute(opcodes, handler) {\n      var frameStack = this.frameStack;\n      this.try(opcodes, handler);\n\n      while (true) {\n        if (frameStack.isEmpty()) break;\n        var opcode = this.frame.nextStatement();\n\n        if (opcode === null) {\n          this.frameStack.pop();\n          continue;\n        }\n\n        opcode.evaluate(this);\n      }\n    };\n\n    _proto49.goto = function goto(op) {\n      this.frame.goto(op);\n    };\n\n    _proto49.try = function _try(ops, handler) {\n      this.frameStack.push(new UpdatingVMFrame(ops, handler));\n    };\n\n    _proto49.throw = function _throw() {\n      this.frame.handleException();\n      this.frameStack.pop();\n    };\n\n    (0, _emberBabel.createClass)(UpdatingVM, [{\n      key: \"frame\",\n      get: function () {\n        return this.frameStack.current;\n      }\n    }]);\n    return UpdatingVM;\n  }();\n\n  _exports.UpdatingVM = UpdatingVM;\n\n  var BlockOpcode =\n  /*#__PURE__*/\n  function (_UpdatingOpcode9) {\n    (0, _emberBabel.inheritsLoose)(BlockOpcode, _UpdatingOpcode9);\n\n    function BlockOpcode(start, state, runtime, bounds, children) {\n      var _this15;\n\n      _this15 = _UpdatingOpcode9.call(this) || this;\n      _this15.start = start;\n      _this15.state = state;\n      _this15.runtime = runtime;\n      _this15.type = 'block';\n      _this15.next = null;\n      _this15.prev = null;\n      _this15.children = children;\n      _this15.bounds = bounds;\n      return _this15;\n    }\n\n    var _proto50 = BlockOpcode.prototype;\n\n    _proto50.parentElement = function parentElement() {\n      return this.bounds.parentElement();\n    };\n\n    _proto50.firstNode = function firstNode() {\n      return this.bounds.firstNode();\n    };\n\n    _proto50.lastNode = function lastNode() {\n      return this.bounds.lastNode();\n    };\n\n    _proto50.evaluate = function evaluate(vm) {\n      vm.try(this.children, null);\n    };\n\n    _proto50.destroy = function destroy() {\n      this.bounds.destroy();\n    };\n\n    _proto50.didDestroy = function didDestroy() {\n      this.runtime.env.didDestroy(this.bounds);\n    };\n\n    return BlockOpcode;\n  }(UpdatingOpcode);\n\n  var TryOpcode =\n  /*#__PURE__*/\n  function (_BlockOpcode) {\n    (0, _emberBabel.inheritsLoose)(TryOpcode, _BlockOpcode);\n\n    function TryOpcode(start, state, runtime, bounds, children) {\n      var _this16;\n\n      _this16 = _BlockOpcode.call(this, start, state, runtime, bounds, children) || this;\n      _this16.type = 'try';\n      _this16.tag = _this16._tag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n      return _this16;\n    }\n\n    var _proto51 = TryOpcode.prototype;\n\n    _proto51.didInitializeChildren = function didInitializeChildren() {\n      this._tag.inner.update((0, _reference.combineSlice)(this.children));\n    };\n\n    _proto51.evaluate = function evaluate(vm) {\n      vm.try(this.children, this);\n    };\n\n    _proto51.handleException = function handleException() {\n      var _this17 = this;\n\n      var state = this.state,\n          bounds = this.bounds,\n          children = this.children,\n          start = this.start,\n          prev = this.prev,\n          next = this.next,\n          runtime = this.runtime;\n      children.clear();\n      var elementStack = NewElementBuilder.resume(runtime.env, bounds, bounds.reset(runtime.env));\n      var vm = VM.resume(state, runtime, elementStack);\n      var updating = new _util.LinkedList();\n      vm.execute(start, function (vm) {\n        vm.stack = EvaluationStack.restore(state.stack);\n        vm.updatingOpcodeStack.push(updating);\n        vm.updateWith(_this17);\n        vm.updatingOpcodeStack.push(children);\n      });\n      this.prev = prev;\n      this.next = next;\n    };\n\n    return TryOpcode;\n  }(BlockOpcode);\n\n  var ListRevalidationDelegate =\n  /*#__PURE__*/\n  function () {\n    function ListRevalidationDelegate(opcode, marker) {\n      this.opcode = opcode;\n      this.marker = marker;\n      this.didInsert = false;\n      this.didDelete = false;\n      this.map = opcode.map;\n      this.updating = opcode['children'];\n    }\n\n    var _proto52 = ListRevalidationDelegate.prototype;\n\n    _proto52.insert = function insert(key, item, memo, before) {\n      var map = this.map,\n          opcode = this.opcode,\n          updating = this.updating;\n      var nextSibling = null;\n      var reference = null;\n\n      if (typeof before === 'string') {\n        reference = map[before];\n        nextSibling = reference['bounds'].firstNode();\n      } else {\n        nextSibling = this.marker;\n      }\n\n      var vm = opcode.vmForInsertion(nextSibling);\n      var tryOpcode = null;\n      var start = opcode.start;\n      vm.execute(start, function (vm) {\n        map[key] = tryOpcode = vm.iterate(memo, item);\n        vm.updatingOpcodeStack.push(new _util.LinkedList());\n        vm.updateWith(tryOpcode);\n        vm.updatingOpcodeStack.push(tryOpcode.children);\n      });\n      updating.insertBefore(tryOpcode, reference);\n      this.didInsert = true;\n    };\n\n    _proto52.retain = function retain(_key, _item, _memo) {};\n\n    _proto52.move = function move(key, _item, _memo, before) {\n      var map = this.map,\n          updating = this.updating;\n      var entry = map[key];\n      var reference = map[before] || null;\n\n      if (typeof before === 'string') {\n        _move(entry, reference.firstNode());\n      } else {\n        _move(entry, this.marker);\n      }\n\n      updating.remove(entry);\n      updating.insertBefore(entry, reference);\n    };\n\n    _proto52.delete = function _delete(key) {\n      var map = this.map;\n      var opcode = map[key];\n      opcode.didDestroy();\n      clear(opcode);\n      this.updating.remove(opcode);\n      delete map[key];\n      this.didDelete = true;\n    };\n\n    _proto52.done = function done() {\n      this.opcode.didInitializeChildren(this.didInsert || this.didDelete);\n    };\n\n    return ListRevalidationDelegate;\n  }();\n\n  var ListBlockOpcode =\n  /*#__PURE__*/\n  function (_BlockOpcode2) {\n    (0, _emberBabel.inheritsLoose)(ListBlockOpcode, _BlockOpcode2);\n\n    function ListBlockOpcode(start, state, runtime, bounds, children, artifacts) {\n      var _this18;\n\n      _this18 = _BlockOpcode2.call(this, start, state, runtime, bounds, children) || this;\n      _this18.type = 'list-block';\n      _this18.map = (0, _util.dict)();\n      _this18.lastIterated = _reference.INITIAL;\n      _this18.artifacts = artifacts;\n\n      var _tag = _this18._tag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n\n      _this18.tag = (0, _reference.combine)([artifacts.tag, _tag]);\n      return _this18;\n    }\n\n    var _proto53 = ListBlockOpcode.prototype;\n\n    _proto53.didInitializeChildren = function didInitializeChildren() {\n      var listDidChange = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n      this.lastIterated = this.artifacts.tag.value();\n\n      if (listDidChange) {\n        this._tag.inner.update((0, _reference.combineSlice)(this.children));\n      }\n    };\n\n    _proto53.evaluate = function evaluate(vm) {\n      var artifacts = this.artifacts,\n          lastIterated = this.lastIterated;\n\n      if (!artifacts.tag.validate(lastIterated)) {\n        var bounds = this.bounds;\n        var dom = vm.dom;\n        var marker = dom.createComment('');\n        dom.insertAfter(bounds.parentElement(), marker, bounds.lastNode());\n        var target = new ListRevalidationDelegate(this, marker);\n        var synchronizer = new _reference.IteratorSynchronizer({\n          target: target,\n          artifacts: artifacts\n        });\n        synchronizer.sync();\n        this.parentElement().removeChild(marker);\n      } // Run now-updated updating opcodes\n\n\n      _BlockOpcode2.prototype.evaluate.call(this, vm);\n    };\n\n    _proto53.vmForInsertion = function vmForInsertion(nextSibling) {\n      var bounds = this.bounds,\n          state = this.state,\n          runtime = this.runtime;\n      var elementStack = NewElementBuilder.forInitialRender(runtime.env, {\n        element: bounds.parentElement(),\n        nextSibling: nextSibling\n      });\n      return VM.resume(state, runtime, elementStack);\n    };\n\n    return ListBlockOpcode;\n  }(BlockOpcode);\n\n  var UpdatingVMFrame =\n  /*#__PURE__*/\n  function () {\n    function UpdatingVMFrame(ops, exceptionHandler) {\n      this.ops = ops;\n      this.exceptionHandler = exceptionHandler;\n      this.current = ops.head();\n    }\n\n    var _proto54 = UpdatingVMFrame.prototype;\n\n    _proto54.goto = function goto(op) {\n      this.current = op;\n    };\n\n    _proto54.nextStatement = function nextStatement() {\n      var current = this.current,\n          ops = this.ops;\n      if (current) this.current = ops.nextNode(current);\n      return current;\n    };\n\n    _proto54.handleException = function handleException() {\n      if (this.exceptionHandler) {\n        this.exceptionHandler.handleException();\n      }\n    };\n\n    return UpdatingVMFrame;\n  }();\n\n  var RenderResult =\n  /*#__PURE__*/\n  function () {\n    function RenderResult(env, program, updating, bounds) {\n      this.env = env;\n      this.program = program;\n      this.updating = updating;\n      this.bounds = bounds;\n    }\n\n    var _proto55 = RenderResult.prototype;\n\n    _proto55.rerender = function rerender() {\n      var _ref58 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {\n        alwaysRevalidate: false\n      },\n          _ref58$alwaysRevalida = _ref58.alwaysRevalidate,\n          alwaysRevalidate = _ref58$alwaysRevalida === void 0 ? false : _ref58$alwaysRevalida;\n\n      var env = this.env,\n          program = this.program,\n          updating = this.updating;\n      var vm = new UpdatingVM(env, program, {\n        alwaysRevalidate: alwaysRevalidate\n      });\n      vm.execute(updating, this);\n    };\n\n    _proto55.parentElement = function parentElement() {\n      return this.bounds.parentElement();\n    };\n\n    _proto55.firstNode = function firstNode() {\n      return this.bounds.firstNode();\n    };\n\n    _proto55.lastNode = function lastNode() {\n      return this.bounds.lastNode();\n    };\n\n    _proto55.handleException = function handleException() {\n      throw 'this should never happen';\n    };\n\n    _proto55.destroy = function destroy() {\n      this.bounds.destroy();\n      clear(this.bounds);\n    };\n\n    return RenderResult;\n  }();\n\n  _exports.RenderResult = RenderResult;\n\n  var Arguments =\n  /*#__PURE__*/\n  function () {\n    function Arguments() {\n      this.stack = null;\n      this.positional = new PositionalArguments();\n      this.named = new NamedArguments();\n      this.blocks = new BlockArguments();\n    }\n\n    var _proto56 = Arguments.prototype;\n\n    _proto56.empty = function empty(stack) {\n      var base = stack.sp + 1;\n      this.named.empty(stack, base);\n      this.positional.empty(stack, base);\n      this.blocks.empty(stack, base);\n      return this;\n    };\n\n    _proto56.setup = function setup(stack, names, blockNames, positionalCount, synthetic) {\n      this.stack = stack;\n      /*\n             | ... | blocks      | positional  | named |\n             | ... | b0    b1    | p0 p1 p2 p3 | n0 n1 |\n       index | ... | 4/5/6 7/8/9 | 10 11 12 13 | 14 15 |\n                     ^             ^             ^  ^\n                   bbase         pbase       nbase  sp\n      */\n\n      var named = this.named;\n      var namedCount = names.length;\n      var namedBase = stack.sp - namedCount + 1;\n      named.setup(stack, namedBase, namedCount, names, synthetic);\n      var positional = this.positional;\n      var positionalBase = namedBase - positionalCount;\n      positional.setup(stack, positionalBase, positionalCount);\n      var blocks = this.blocks;\n      var blocksCount = blockNames.length;\n      var blocksBase = positionalBase - blocksCount * 3;\n      blocks.setup(stack, blocksBase, blocksCount, blockNames);\n    };\n\n    _proto56.at = function at(pos) {\n      return this.positional.at(pos);\n    };\n\n    _proto56.realloc = function realloc(offset) {\n      var stack = this.stack;\n\n      if (offset > 0 && stack !== null) {\n        var positional = this.positional,\n            named = this.named;\n        var newBase = positional.base + offset;\n        var length = positional.length + named.length;\n\n        for (var i = length - 1; i >= 0; i--) {\n          stack.copy(i + positional.base, i + newBase);\n        }\n\n        positional.base += offset;\n        named.base += offset;\n        stack.sp += offset;\n      }\n    };\n\n    _proto56.capture = function capture() {\n      var positional = this.positional.length === 0 ? EMPTY_POSITIONAL : this.positional.capture();\n      var named = this.named.length === 0 ? EMPTY_NAMED : this.named.capture();\n      return new CapturedArguments(this.tag, positional, named, this.length);\n    };\n\n    _proto56.clear = function clear() {\n      var stack = this.stack,\n          length = this.length;\n      if (length > 0 && stack !== null) stack.pop(length);\n    };\n\n    (0, _emberBabel.createClass)(Arguments, [{\n      key: \"tag\",\n      get: function () {\n        return (0, _reference.combineTagged)([this.positional, this.named]);\n      }\n    }, {\n      key: \"base\",\n      get: function () {\n        return this.blocks.base;\n      }\n    }, {\n      key: \"length\",\n      get: function () {\n        return this.positional.length + this.named.length + this.blocks.length * 3;\n      }\n    }]);\n    return Arguments;\n  }();\n\n  var CapturedArguments =\n  /*#__PURE__*/\n  function () {\n    function CapturedArguments(tag, positional, named, length) {\n      this.tag = tag;\n      this.positional = positional;\n      this.named = named;\n      this.length = length;\n    }\n\n    var _proto57 = CapturedArguments.prototype;\n\n    _proto57.value = function value() {\n      return {\n        named: this.named.value(),\n        positional: this.positional.value()\n      };\n    };\n\n    return CapturedArguments;\n  }();\n\n  var PositionalArguments =\n  /*#__PURE__*/\n  function () {\n    function PositionalArguments() {\n      this.base = 0;\n      this.length = 0;\n      this.stack = null;\n      this._tag = null;\n      this._references = null;\n    }\n\n    var _proto58 = PositionalArguments.prototype;\n\n    _proto58.empty = function empty(stack, base) {\n      this.stack = stack;\n      this.base = base;\n      this.length = 0;\n      this._tag = _reference.CONSTANT_TAG;\n      this._references = _util.EMPTY_ARRAY;\n    };\n\n    _proto58.setup = function setup(stack, base, length) {\n      this.stack = stack;\n      this.base = base;\n      this.length = length;\n\n      if (length === 0) {\n        this._tag = _reference.CONSTANT_TAG;\n        this._references = _util.EMPTY_ARRAY;\n      } else {\n        this._tag = null;\n        this._references = null;\n      }\n    };\n\n    _proto58.at = function at(position) {\n      var base = this.base,\n          length = this.length,\n          stack = this.stack;\n\n      if (position < 0 || position >= length) {\n        return UNDEFINED_REFERENCE;\n      }\n\n      return stack.get(position, base);\n    };\n\n    _proto58.capture = function capture() {\n      return new CapturedPositionalArguments(this.tag, this.references);\n    };\n\n    _proto58.prepend = function prepend(other) {\n      var additions = other.length;\n\n      if (additions > 0) {\n        var base = this.base,\n            length = this.length,\n            stack = this.stack;\n        this.base = base = base - additions;\n        this.length = length + additions;\n\n        for (var i = 0; i < additions; i++) {\n          stack.set(other.at(i), i, base);\n        }\n\n        this._tag = null;\n        this._references = null;\n      }\n    };\n\n    (0, _emberBabel.createClass)(PositionalArguments, [{\n      key: \"tag\",\n      get: function () {\n        var tag = this._tag;\n\n        if (!tag) {\n          tag = this._tag = (0, _reference.combineTagged)(this.references);\n        }\n\n        return tag;\n      }\n    }, {\n      key: \"references\",\n      get: function () {\n        var references = this._references;\n\n        if (!references) {\n          var stack = this.stack,\n              base = this.base,\n              length = this.length;\n          references = this._references = stack.sliceArray(base, base + length);\n        }\n\n        return references;\n      }\n    }]);\n    return PositionalArguments;\n  }();\n\n  var CapturedPositionalArguments =\n  /*#__PURE__*/\n  function () {\n    function CapturedPositionalArguments(tag, references) {\n      var length = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : references.length;\n      this.tag = tag;\n      this.references = references;\n      this.length = length;\n    }\n\n    CapturedPositionalArguments.empty = function empty() {\n      return new CapturedPositionalArguments(_reference.CONSTANT_TAG, _util.EMPTY_ARRAY, 0);\n    };\n\n    var _proto59 = CapturedPositionalArguments.prototype;\n\n    _proto59.at = function at(position) {\n      return this.references[position];\n    };\n\n    _proto59.value = function value() {\n      return this.references.map(this.valueOf);\n    };\n\n    _proto59.get = function get(name) {\n      var references = this.references,\n          length = this.length;\n\n      if (name === 'length') {\n        return PrimitiveReference.create(length);\n      } else {\n        var idx = parseInt(name, 10);\n\n        if (idx < 0 || idx >= length) {\n          return UNDEFINED_REFERENCE;\n        } else {\n          return references[idx];\n        }\n      }\n    };\n\n    _proto59.valueOf = function valueOf(reference) {\n      return reference.value();\n    };\n\n    return CapturedPositionalArguments;\n  }();\n\n  var NamedArguments =\n  /*#__PURE__*/\n  function () {\n    function NamedArguments() {\n      this.base = 0;\n      this.length = 0;\n      this._references = null;\n      this._names = _util.EMPTY_ARRAY;\n      this._atNames = _util.EMPTY_ARRAY;\n    }\n\n    var _proto60 = NamedArguments.prototype;\n\n    _proto60.empty = function empty(stack, base) {\n      this.stack = stack;\n      this.base = base;\n      this.length = 0;\n      this._references = _util.EMPTY_ARRAY;\n      this._names = _util.EMPTY_ARRAY;\n      this._atNames = _util.EMPTY_ARRAY;\n    };\n\n    _proto60.setup = function setup(stack, base, length, names, synthetic) {\n      this.stack = stack;\n      this.base = base;\n      this.length = length;\n\n      if (length === 0) {\n        this._references = _util.EMPTY_ARRAY;\n        this._names = _util.EMPTY_ARRAY;\n        this._atNames = _util.EMPTY_ARRAY;\n      } else {\n        this._references = null;\n\n        if (synthetic) {\n          this._names = names;\n          this._atNames = null;\n        } else {\n          this._names = null;\n          this._atNames = names;\n        }\n      }\n    };\n\n    _proto60.has = function has(name) {\n      return this.names.indexOf(name) !== -1;\n    };\n\n    _proto60.get = function get(name) {\n      var synthetic = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n      var base = this.base,\n          stack = this.stack;\n      var names = synthetic ? this.names : this.atNames;\n      var idx = names.indexOf(name);\n\n      if (idx === -1) {\n        return UNDEFINED_REFERENCE;\n      }\n\n      return stack.get(idx, base);\n    };\n\n    _proto60.capture = function capture() {\n      return new CapturedNamedArguments(this.tag, this.names, this.references);\n    };\n\n    _proto60.merge = function merge(other) {\n      var extras = other.length;\n\n      if (extras > 0) {\n        var names = this.names,\n            length = this.length,\n            stack = this.stack;\n        var extraNames = other.names;\n\n        if (Object.isFrozen(names) && names.length === 0) {\n          names = [];\n        }\n\n        for (var i = 0; i < extras; i++) {\n          var name = extraNames[i];\n          var idx = names.indexOf(name);\n\n          if (idx === -1) {\n            length = names.push(name);\n            stack.push(other.references[i]);\n          }\n        }\n\n        this.length = length;\n        this._references = null;\n        this._names = names;\n        this._atNames = null;\n      }\n    };\n\n    _proto60.toSyntheticName = function toSyntheticName(name) {\n      return name.slice(1);\n    };\n\n    _proto60.toAtName = function toAtName(name) {\n      return \"@\" + name;\n    };\n\n    (0, _emberBabel.createClass)(NamedArguments, [{\n      key: \"tag\",\n      get: function () {\n        return (0, _reference.combineTagged)(this.references);\n      }\n    }, {\n      key: \"names\",\n      get: function () {\n        var names = this._names;\n\n        if (!names) {\n          names = this._names = this._atNames.map(this.toSyntheticName);\n        }\n\n        return names;\n      }\n    }, {\n      key: \"atNames\",\n      get: function () {\n        var atNames = this._atNames;\n\n        if (!atNames) {\n          atNames = this._atNames = this._names.map(this.toAtName);\n        }\n\n        return atNames;\n      }\n    }, {\n      key: \"references\",\n      get: function () {\n        var references = this._references;\n\n        if (!references) {\n          var base = this.base,\n              length = this.length,\n              stack = this.stack;\n          references = this._references = stack.sliceArray(base, base + length);\n        }\n\n        return references;\n      }\n    }]);\n    return NamedArguments;\n  }();\n\n  var CapturedNamedArguments =\n  /*#__PURE__*/\n  function () {\n    function CapturedNamedArguments(tag, names, references) {\n      this.tag = tag;\n      this.names = names;\n      this.references = references;\n      this.length = names.length;\n      this._map = null;\n    }\n\n    var _proto61 = CapturedNamedArguments.prototype;\n\n    _proto61.has = function has(name) {\n      return this.names.indexOf(name) !== -1;\n    };\n\n    _proto61.get = function get(name) {\n      var names = this.names,\n          references = this.references;\n      var idx = names.indexOf(name);\n\n      if (idx === -1) {\n        return UNDEFINED_REFERENCE;\n      } else {\n        return references[idx];\n      }\n    };\n\n    _proto61.value = function value() {\n      var names = this.names,\n          references = this.references;\n      var out = (0, _util.dict)();\n\n      for (var i = 0; i < names.length; i++) {\n        var name = names[i];\n        out[name] = references[i].value();\n      }\n\n      return out;\n    };\n\n    (0, _emberBabel.createClass)(CapturedNamedArguments, [{\n      key: \"map\",\n      get: function () {\n        var map = this._map;\n\n        if (!map) {\n          var names = this.names,\n              references = this.references;\n          map = this._map = (0, _util.dict)();\n\n          for (var i = 0; i < names.length; i++) {\n            var name = names[i];\n            map[name] = references[i];\n          }\n        }\n\n        return map;\n      }\n    }]);\n    return CapturedNamedArguments;\n  }();\n\n  var BlockArguments =\n  /*#__PURE__*/\n  function () {\n    function BlockArguments() {\n      this.internalValues = null;\n      this.internalTag = null;\n      this.names = _util.EMPTY_ARRAY;\n      this.length = 0;\n      this.base = 0;\n    }\n\n    var _proto62 = BlockArguments.prototype;\n\n    _proto62.empty = function empty(stack, base) {\n      this.stack = stack;\n      this.names = _util.EMPTY_ARRAY;\n      this.base = base;\n      this.length = 0;\n      this.internalTag = _reference.CONSTANT_TAG;\n      this.internalValues = _util.EMPTY_ARRAY;\n    };\n\n    _proto62.setup = function setup(stack, base, length, names) {\n      this.stack = stack;\n      this.names = names;\n      this.base = base;\n      this.length = length;\n\n      if (length === 0) {\n        this.internalTag = _reference.CONSTANT_TAG;\n        this.internalValues = _util.EMPTY_ARRAY;\n      } else {\n        this.internalTag = null;\n        this.internalValues = null;\n      }\n    };\n\n    _proto62.has = function has(name) {\n      return this.names.indexOf(name) !== -1;\n    };\n\n    _proto62.get = function get(name) {\n      var base = this.base,\n          stack = this.stack,\n          names = this.names;\n      var idx = names.indexOf(name);\n\n      if (names.indexOf(name) === -1) {\n        return null;\n      }\n\n      var table = stack.get(idx * 3, base);\n      var scope = stack.get(idx * 3 + 1, base); // FIXME(mmun): shouldn't need to cast this\n\n      var handle = stack.get(idx * 3 + 2, base);\n      return handle === null ? null : [handle, scope, table];\n    };\n\n    _proto62.capture = function capture() {\n      return new CapturedBlockArguments(this.names, this.values);\n    };\n\n    (0, _emberBabel.createClass)(BlockArguments, [{\n      key: \"values\",\n      get: function () {\n        var values = this.internalValues;\n\n        if (!values) {\n          var base = this.base,\n              length = this.length,\n              stack = this.stack;\n          values = this.internalValues = stack.sliceArray(base, base + length * 3);\n        }\n\n        return values;\n      }\n    }]);\n    return BlockArguments;\n  }();\n\n  var CapturedBlockArguments =\n  /*#__PURE__*/\n  function () {\n    function CapturedBlockArguments(names, values) {\n      this.names = names;\n      this.values = values;\n      this.length = names.length;\n    }\n\n    var _proto63 = CapturedBlockArguments.prototype;\n\n    _proto63.has = function has(name) {\n      return this.names.indexOf(name) !== -1;\n    };\n\n    _proto63.get = function get(name) {\n      var idx = this.names.indexOf(name);\n      if (idx === -1) return null;\n      return [this.values[idx * 3 + 2], this.values[idx * 3 + 1], this.values[idx * 3]];\n    };\n\n    return CapturedBlockArguments;\n  }();\n\n  var EMPTY_NAMED = new CapturedNamedArguments(_reference.CONSTANT_TAG, _util.EMPTY_ARRAY, _util.EMPTY_ARRAY);\n  var EMPTY_POSITIONAL = new CapturedPositionalArguments(_reference.CONSTANT_TAG, _util.EMPTY_ARRAY);\n  var EMPTY_ARGS = new CapturedArguments(_reference.CONSTANT_TAG, EMPTY_POSITIONAL, EMPTY_NAMED, 0);\n  _exports.EMPTY_ARGS = EMPTY_ARGS;\n\n  var VM =\n  /*#__PURE__*/\n  function () {\n    function VM(runtime, scope, dynamicScope, elementStack) {\n      var _this19 = this;\n\n      this.runtime = runtime;\n      this.elementStack = elementStack;\n      this.dynamicScopeStack = new _util.Stack();\n      this.scopeStack = new _util.Stack();\n      this.updatingOpcodeStack = new _util.Stack();\n      this.cacheGroups = new _util.Stack();\n      this.listBlockStack = new _util.Stack();\n      this.s0 = null;\n      this.s1 = null;\n      this.t0 = null;\n      this.t1 = null;\n      this.v0 = null;\n      this.heap = this.program.heap;\n      this.constants = this.program.constants;\n      this.elementStack = elementStack;\n      this.scopeStack.push(scope);\n      this.dynamicScopeStack.push(dynamicScope);\n      this.args = new Arguments();\n      this.inner = new LowLevelVM(EvaluationStack.empty(), this.heap, runtime.program, {\n        debugBefore: function (opcode) {\n          return APPEND_OPCODES.debugBefore(_this19, opcode, opcode.type);\n        },\n        debugAfter: function (opcode, state) {\n          APPEND_OPCODES.debugAfter(_this19, opcode, opcode.type, state);\n        }\n      });\n    }\n\n    var _proto64 = VM.prototype; // Fetch a value from a register onto the stack\n\n    _proto64.fetch = function fetch(register) {\n      this.stack.push(this[_vm2.Register[register]]);\n    } // Load a value from the stack into a register\n    ;\n\n    _proto64.load = function load(register) {\n      this[_vm2.Register[register]] = this.stack.pop();\n    } // Fetch a value from a register\n    ;\n\n    _proto64.fetchValue = function fetchValue(register) {\n      return this[_vm2.Register[register]];\n    } // Load a value into a register\n    ;\n\n    _proto64.loadValue = function loadValue(register, value) {\n      this[_vm2.Register[register]] = value;\n    }\n    /**\n     * Migrated to Inner\n     */\n    // Start a new frame and save $ra and $fp on the stack\n    ;\n\n    _proto64.pushFrame = function pushFrame() {\n      this.inner.pushFrame();\n    } // Restore $ra, $sp and $fp\n    ;\n\n    _proto64.popFrame = function popFrame() {\n      this.inner.popFrame();\n    } // Jump to an address in `program`\n    ;\n\n    _proto64.goto = function goto(offset) {\n      this.inner.goto(offset);\n    } // Save $pc into $ra, then jump to a new address in `program` (jal in MIPS)\n    ;\n\n    _proto64.call = function call(handle) {\n      this.inner.call(handle);\n    } // Put a specific `program` address in $ra\n    ;\n\n    _proto64.returnTo = function returnTo(offset) {\n      this.inner.returnTo(offset);\n    } // Return to the `program` address stored in $ra\n    ;\n\n    _proto64.return = function _return() {\n      this.inner.return();\n    }\n    /**\n     * End of migrated.\n     */\n    ;\n\n    VM.initial = function initial(program, env, self, dynamicScope, elementStack, handle) {\n      var scopeSize = program.heap.scopesizeof(handle);\n      var scope = Scope.root(self, scopeSize);\n      var vm = new VM({\n        program: program,\n        env: env\n      }, scope, dynamicScope, elementStack);\n      vm.pc = vm.heap.getaddr(handle);\n      vm.updatingOpcodeStack.push(new _util.LinkedList());\n      return vm;\n    };\n\n    VM.empty = function empty(program, env, elementStack, handle) {\n      var dynamicScope = {\n        get: function () {\n          return UNDEFINED_REFERENCE;\n        },\n        set: function () {\n          return UNDEFINED_REFERENCE;\n        },\n        child: function () {\n          return dynamicScope;\n        }\n      };\n      var vm = new VM({\n        program: program,\n        env: env\n      }, Scope.root(UNDEFINED_REFERENCE, 0), dynamicScope, elementStack);\n      vm.updatingOpcodeStack.push(new _util.LinkedList());\n      vm.pc = vm.heap.getaddr(handle);\n      return vm;\n    };\n\n    VM.resume = function resume(_ref59, runtime, stack) {\n      var scope = _ref59.scope,\n          dynamicScope = _ref59.dynamicScope;\n      return new VM(runtime, scope, dynamicScope, stack);\n    };\n\n    _proto64.capture = function capture(args) {\n      return {\n        dynamicScope: this.dynamicScope(),\n        scope: this.scope(),\n        stack: this.stack.capture(args)\n      };\n    };\n\n    _proto64.beginCacheGroup = function beginCacheGroup() {\n      this.cacheGroups.push(this.updating().tail());\n    };\n\n    _proto64.commitCacheGroup = function commitCacheGroup() {\n      //        JumpIfNotModified(END)\n      //        (head)\n      //        (....)\n      //        (tail)\n      //        DidModify\n      // END:   Noop\n      var END = new LabelOpcode('END');\n      var opcodes = this.updating();\n      var marker = this.cacheGroups.pop();\n      var head = marker ? opcodes.nextNode(marker) : opcodes.head();\n      var tail = opcodes.tail();\n      var tag = (0, _reference.combineSlice)(new _util.ListSlice(head, tail));\n      var guard = new JumpIfNotModifiedOpcode(tag, END);\n      opcodes.insertBefore(guard, head);\n      opcodes.append(new DidModifyOpcode(guard));\n      opcodes.append(END);\n    };\n\n    _proto64.enter = function enter(args) {\n      var updating = new _util.LinkedList();\n      var state = this.capture(args);\n      var tracker = this.elements().pushUpdatableBlock();\n      var tryOpcode = new TryOpcode(this.heap.gethandle(this.pc), state, this.runtime, tracker, updating);\n      this.didEnter(tryOpcode);\n    };\n\n    _proto64.iterate = function iterate(memo, value) {\n      var stack = this.stack;\n      stack.push(value);\n      stack.push(memo);\n      var state = this.capture(2);\n      var tracker = this.elements().pushUpdatableBlock(); // let ip = this.ip;\n      // this.ip = end + 4;\n      // this.frames.push(ip);\n\n      return new TryOpcode(this.heap.gethandle(this.pc), state, this.runtime, tracker, new _util.LinkedList());\n    };\n\n    _proto64.enterItem = function enterItem(key, opcode) {\n      this.listBlock().map[key] = opcode;\n      this.didEnter(opcode);\n    };\n\n    _proto64.enterList = function enterList(relativeStart) {\n      var updating = new _util.LinkedList();\n      var state = this.capture(0);\n      var tracker = this.elements().pushBlockList(updating);\n      var artifacts = this.stack.peek().artifacts;\n      var addr = this.pc + relativeStart - this.currentOpSize;\n      var start = this.heap.gethandle(addr);\n      var opcode = new ListBlockOpcode(start, state, this.runtime, tracker, updating, artifacts);\n      this.listBlockStack.push(opcode);\n      this.didEnter(opcode);\n    };\n\n    _proto64.didEnter = function didEnter(opcode) {\n      this.updateWith(opcode);\n      this.updatingOpcodeStack.push(opcode.children);\n    };\n\n    _proto64.exit = function exit() {\n      this.elements().popBlock();\n      this.updatingOpcodeStack.pop();\n      var parent = this.updating().tail();\n      parent.didInitializeChildren();\n    };\n\n    _proto64.exitList = function exitList() {\n      this.exit();\n      this.listBlockStack.pop();\n    };\n\n    _proto64.updateWith = function updateWith(opcode) {\n      this.updating().append(opcode);\n    };\n\n    _proto64.listBlock = function listBlock() {\n      return this.listBlockStack.current;\n    };\n\n    _proto64.updating = function updating() {\n      return this.updatingOpcodeStack.current;\n    };\n\n    _proto64.elements = function elements() {\n      return this.elementStack;\n    };\n\n    _proto64.scope = function scope() {\n      return this.scopeStack.current;\n    };\n\n    _proto64.dynamicScope = function dynamicScope() {\n      return this.dynamicScopeStack.current;\n    };\n\n    _proto64.pushChildScope = function pushChildScope() {\n      this.scopeStack.push(this.scope().child());\n    };\n\n    _proto64.pushDynamicScope = function pushDynamicScope() {\n      var child = this.dynamicScope().child();\n      this.dynamicScopeStack.push(child);\n      return child;\n    };\n\n    _proto64.pushRootScope = function pushRootScope(size, bindCaller) {\n      var scope = Scope.sized(size);\n      if (bindCaller) scope.bindCallerScope(this.scope());\n      this.scopeStack.push(scope);\n      return scope;\n    };\n\n    _proto64.pushScope = function pushScope(scope) {\n      this.scopeStack.push(scope);\n    };\n\n    _proto64.popScope = function popScope() {\n      this.scopeStack.pop();\n    };\n\n    _proto64.popDynamicScope = function popDynamicScope() {\n      this.dynamicScopeStack.pop();\n    };\n\n    _proto64.newDestroyable = function newDestroyable(d) {\n      this.elements().didAddDestroyable(d);\n    } /// SCOPE HELPERS\n    ;\n\n    _proto64.getSelf = function getSelf() {\n      return this.scope().getSelf();\n    };\n\n    _proto64.referenceForSymbol = function referenceForSymbol(symbol) {\n      return this.scope().getSymbol(symbol);\n    } /// EXECUTION\n    ;\n\n    _proto64.execute = function execute(start, initialize) {\n      this.pc = this.heap.getaddr(start);\n      if (initialize) initialize(this);\n      var result;\n\n      while (true) {\n        result = this.next();\n        if (result.done) break;\n      }\n\n      return result.value;\n    };\n\n    _proto64.next = function next() {\n      var env = this.env,\n          program = this.program,\n          updatingOpcodeStack = this.updatingOpcodeStack,\n          elementStack = this.elementStack;\n      var opcode = this.inner.nextStatement();\n      var result;\n\n      if (opcode !== null) {\n        this.inner.evaluateOuter(opcode, this);\n        result = {\n          done: false,\n          value: null\n        };\n      } else {\n        // Unload the stack\n        this.stack.reset();\n        result = {\n          done: true,\n          value: new RenderResult(env, program, updatingOpcodeStack.pop(), elementStack.popBlock())\n        };\n      }\n\n      return result;\n    };\n\n    _proto64.bindDynamicScope = function bindDynamicScope(names) {\n      var scope = this.dynamicScope();\n\n      for (var i = names.length - 1; i >= 0; i--) {\n        var name = this.constants.getString(names[i]);\n        scope.set(name, this.stack.pop());\n      }\n    };\n\n    (0, _emberBabel.createClass)(VM, [{\n      key: \"stack\",\n      get: function () {\n        return this.inner.stack;\n      },\n      set: function (value) {\n        this.inner.stack = value;\n      }\n      /* Registers */\n\n    }, {\n      key: \"currentOpSize\",\n      set: function (value) {\n        this.inner.currentOpSize = value;\n      },\n      get: function () {\n        return this.inner.currentOpSize;\n      }\n    }, {\n      key: \"pc\",\n      get: function () {\n        return this.inner.pc;\n      },\n      set: function (value) {\n        this.inner.pc = value;\n      }\n    }, {\n      key: \"ra\",\n      get: function () {\n        return this.inner.ra;\n      },\n      set: function (value) {\n        this.inner.ra = value;\n      }\n    }, {\n      key: \"fp\",\n      get: function () {\n        return this.stack.fp;\n      },\n      set: function (fp) {\n        this.stack.fp = fp;\n      }\n    }, {\n      key: \"sp\",\n      get: function () {\n        return this.stack.sp;\n      },\n      set: function (sp) {\n        this.stack.sp = sp;\n      }\n    }, {\n      key: \"program\",\n      get: function () {\n        return this.runtime.program;\n      }\n    }, {\n      key: \"env\",\n      get: function () {\n        return this.runtime.env;\n      }\n    }]);\n    return VM;\n  }();\n\n  _exports.LowLevelVM = VM;\n\n  var TemplateIteratorImpl =\n  /*#__PURE__*/\n  function () {\n    function TemplateIteratorImpl(vm) {\n      this.vm = vm;\n    }\n\n    var _proto65 = TemplateIteratorImpl.prototype;\n\n    _proto65.next = function next() {\n      return this.vm.next();\n    };\n\n    return TemplateIteratorImpl;\n  }();\n\n  function renderMain(program, env, self, dynamicScope, builder, handle) {\n    var vm = VM.initial(program, env, self, dynamicScope, builder, handle);\n    return new TemplateIteratorImpl(vm);\n  }\n  /**\n   * Returns a TemplateIterator configured to render a root component.\n   */\n\n\n  function renderComponent(program, env, builder, main, name) {\n    var args = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : {};\n    var vm = VM.empty(program, env, builder, main);\n    var resolver = vm.constants.resolver;\n    var definition = resolveComponent(resolver, name, null);\n    var manager = definition.manager,\n        state = definition.state;\n    var capabilities = capabilityFlagsFrom(manager.getCapabilities(state));\n    var invocation;\n\n    if (hasStaticLayoutCapability(capabilities, manager)) {\n      invocation = manager.getLayout(state, resolver);\n    } else {\n      throw new Error('Cannot invoke components with dynamic layouts as a root component.');\n    } // Get a list of tuples of argument names and references, like\n    // [['title', reference], ['name', reference]]\n\n\n    var argList = Object.keys(args).map(function (key) {\n      return [key, args[key]];\n    });\n    var blockNames = ['main', 'else', 'attrs']; // Prefix argument names with `@` symbol\n\n    var argNames = argList.map(function (_ref60) {\n      var name = _ref60[0];\n      return \"@\" + name;\n    });\n    vm.pushFrame(); // Push blocks on to the stack, three stack values per block\n\n    for (var i = 0; i < 3 * blockNames.length; i++) {\n      vm.stack.push(null);\n    }\n\n    vm.stack.push(null); // For each argument, push its backing reference on to the stack\n\n    argList.forEach(function (_ref61) {\n      var reference = _ref61[1];\n      vm.stack.push(reference);\n    }); // Configure VM based on blocks and args just pushed on to the stack.\n\n    vm.args.setup(vm.stack, argNames, blockNames, 0, false); // Needed for the Op.Main opcode: arguments, component invocation object, and\n    // component definition.\n\n    vm.stack.push(vm.args);\n    vm.stack.push(invocation);\n    vm.stack.push(definition);\n    return new TemplateIteratorImpl(vm);\n  }\n\n  var DynamicVarReference =\n  /*#__PURE__*/\n  function () {\n    function DynamicVarReference(scope, nameRef) {\n      this.scope = scope;\n      this.nameRef = nameRef;\n\n      var varTag = this.varTag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n\n      this.tag = (0, _reference.combine)([nameRef.tag, varTag]);\n    }\n\n    var _proto66 = DynamicVarReference.prototype;\n\n    _proto66.value = function value() {\n      return this.getVar().value();\n    };\n\n    _proto66.get = function get(key) {\n      return this.getVar().get(key);\n    };\n\n    _proto66.getVar = function getVar() {\n      var name = String(this.nameRef.value());\n      var ref = this.scope.get(name);\n      this.varTag.inner.update(ref.tag);\n      return ref;\n    };\n\n    return DynamicVarReference;\n  }();\n\n  function getDynamicVar(vm, args) {\n    var scope = vm.dynamicScope();\n    var nameRef = args.positional.at(0);\n    return new DynamicVarReference(scope, nameRef);\n  }\n  /** @internal */\n\n\n  var DEFAULT_CAPABILITIES = {\n    dynamicLayout: true,\n    dynamicTag: true,\n    prepareArgs: true,\n    createArgs: true,\n    attributeHook: false,\n    elementHook: false,\n    dynamicScope: true,\n    createCaller: false,\n    updateHook: true,\n    createInstance: true\n  };\n  _exports.DEFAULT_CAPABILITIES = DEFAULT_CAPABILITIES;\n  var MINIMAL_CAPABILITIES = {\n    dynamicLayout: false,\n    dynamicTag: false,\n    prepareArgs: false,\n    createArgs: false,\n    attributeHook: false,\n    elementHook: false,\n    dynamicScope: false,\n    createCaller: false,\n    updateHook: false,\n    createInstance: false\n  };\n  _exports.MINIMAL_CAPABILITIES = MINIMAL_CAPABILITIES;\n  var SERIALIZATION_FIRST_NODE_STRING = '%+b:0%';\n  _exports.SERIALIZATION_FIRST_NODE_STRING = SERIALIZATION_FIRST_NODE_STRING;\n\n  function isSerializationFirstNode(node) {\n    return node.nodeValue === SERIALIZATION_FIRST_NODE_STRING;\n  }\n\n  var RehydratingCursor =\n  /*#__PURE__*/\n  function (_Cursor) {\n    (0, _emberBabel.inheritsLoose)(RehydratingCursor, _Cursor);\n\n    function RehydratingCursor(element, nextSibling, startingBlockDepth) {\n      var _this20;\n\n      _this20 = _Cursor.call(this, element, nextSibling) || this;\n      _this20.startingBlockDepth = startingBlockDepth;\n      _this20.candidate = null;\n      _this20.injectedOmittedNode = false;\n      _this20.openBlockDepth = startingBlockDepth - 1;\n      return _this20;\n    }\n\n    return RehydratingCursor;\n  }(Cursor);\n\n  var RehydrateBuilder =\n  /*#__PURE__*/\n  function (_NewElementBuilder) {\n    (0, _emberBabel.inheritsLoose)(RehydrateBuilder, _NewElementBuilder); // private candidate: Option<Simple.Node> = null;\n\n    function RehydrateBuilder(env, parentNode, nextSibling) {\n      var _this21;\n\n      _this21 = _NewElementBuilder.call(this, env, parentNode, nextSibling) || this;\n      _this21.unmatchedAttributes = null;\n      _this21.blockDepth = 0;\n      if (nextSibling) throw new Error('Rehydration with nextSibling not supported');\n      var node = _this21.currentCursor.element.firstChild;\n\n      while (node !== null) {\n        if (isComment(node) && isSerializationFirstNode(node)) {\n          break;\n        }\n\n        node = node.nextSibling;\n      }\n\n      _this21.candidate = node;\n      return _this21;\n    }\n\n    var _proto67 = RehydrateBuilder.prototype;\n\n    _proto67.pushElement = function pushElement(element, nextSibling) {\n      var _this$blockDepth = this.blockDepth,\n          blockDepth = _this$blockDepth === void 0 ? 0 : _this$blockDepth;\n      var cursor = new RehydratingCursor(element, nextSibling, blockDepth);\n      var currentCursor = this.currentCursor;\n\n      if (currentCursor) {\n        if (currentCursor.candidate) {\n          /**\n           * <div>   <---------------  currentCursor.element\n           *   <!--%+b:1%-->\n           *   <div> <---------------  currentCursor.candidate -> cursor.element\n           *     <!--%+b:2%--> <-  currentCursor.candidate.firstChild -> cursor.candidate\n           *     Foo\n           *     <!--%-b:2%-->\n           *   </div>\n           *   <!--%-b:1%-->  <--  becomes currentCursor.candidate\n           */\n          // where to rehydrate from if we are in rehydration mode\n          cursor.candidate = element.firstChild; // where to continue when we pop\n\n          currentCursor.candidate = element.nextSibling;\n        }\n      }\n\n      this.cursorStack.push(cursor);\n    };\n\n    _proto67.clearMismatch = function clearMismatch(candidate) {\n      var current = candidate;\n      var currentCursor = this.currentCursor;\n\n      if (currentCursor !== null) {\n        var openBlockDepth = currentCursor.openBlockDepth;\n\n        if (openBlockDepth >= currentCursor.startingBlockDepth) {\n          while (current && !(isComment(current) && getCloseBlockDepth(current) === openBlockDepth)) {\n            current = this.remove(current);\n          }\n        } else {\n          while (current !== null) {\n            current = this.remove(current);\n          }\n        } // current cursor parentNode should be openCandidate if element\n        // or openCandidate.parentNode if comment\n\n\n        currentCursor.nextSibling = current; // disable rehydration until we popElement or closeBlock for openBlockDepth\n\n        currentCursor.candidate = null;\n      }\n    };\n\n    _proto67.__openBlock = function __openBlock() {\n      var currentCursor = this.currentCursor;\n      if (currentCursor === null) return;\n      var blockDepth = this.blockDepth;\n      this.blockDepth++;\n      var candidate = currentCursor.candidate;\n      if (candidate === null) return;\n\n      if (isComment(candidate) && getOpenBlockDepth(candidate) === blockDepth) {\n        currentCursor.candidate = this.remove(candidate);\n        currentCursor.openBlockDepth = blockDepth;\n      } else {\n        this.clearMismatch(candidate);\n      }\n    };\n\n    _proto67.__closeBlock = function __closeBlock() {\n      var currentCursor = this.currentCursor;\n      if (currentCursor === null) return; // openBlock is the last rehydrated open block\n\n      var openBlockDepth = currentCursor.openBlockDepth; // this currently is the expected next open block depth\n\n      this.blockDepth--;\n      var candidate = currentCursor.candidate; // rehydrating\n\n      if (candidate !== null) {\n        if (isComment(candidate) && getCloseBlockDepth(candidate) === openBlockDepth) {\n          currentCursor.candidate = this.remove(candidate);\n          currentCursor.openBlockDepth--;\n        } else {\n          this.clearMismatch(candidate);\n        } // if the openBlockDepth matches the blockDepth we just closed to\n        // then restore rehydration\n\n      }\n\n      if (currentCursor.openBlockDepth === this.blockDepth) {\n        currentCursor.candidate = this.remove(currentCursor.nextSibling);\n        currentCursor.openBlockDepth--;\n      }\n    };\n\n    _proto67.__appendNode = function __appendNode(node) {\n      var candidate = this.candidate; // This code path is only used when inserting precisely one node. It needs more\n      // comparison logic, but we can probably lean on the cases where this code path\n      // is actually used.\n\n      if (candidate) {\n        return candidate;\n      } else {\n        return _NewElementBuilder.prototype.__appendNode.call(this, node);\n      }\n    };\n\n    _proto67.__appendHTML = function __appendHTML(html) {\n      var candidateBounds = this.markerBounds();\n\n      if (candidateBounds) {\n        var first = candidateBounds.firstNode();\n        var last = candidateBounds.lastNode();\n        var newBounds = new ConcreteBounds(this.element, first.nextSibling, last.previousSibling);\n        var possibleEmptyMarker = this.remove(first);\n        this.remove(last);\n\n        if (possibleEmptyMarker !== null && isEmpty$1(possibleEmptyMarker)) {\n          this.candidate = this.remove(possibleEmptyMarker);\n\n          if (this.candidate !== null) {\n            this.clearMismatch(this.candidate);\n          }\n        }\n\n        return newBounds;\n      } else {\n        return _NewElementBuilder.prototype.__appendHTML.call(this, html);\n      }\n    };\n\n    _proto67.remove = function remove(node) {\n      var element = node.parentNode;\n      var next = node.nextSibling;\n      element.removeChild(node);\n      return next;\n    };\n\n    _proto67.markerBounds = function markerBounds() {\n      var _candidate = this.candidate;\n\n      if (_candidate && isMarker(_candidate)) {\n        var first = _candidate;\n        var last = first.nextSibling;\n\n        while (last && !isMarker(last)) {\n          last = last.nextSibling;\n        }\n\n        return new ConcreteBounds(this.element, first, last);\n      } else {\n        return null;\n      }\n    };\n\n    _proto67.__appendText = function __appendText(string) {\n      var candidate = this.candidate;\n\n      if (candidate) {\n        if (isTextNode(candidate)) {\n          if (candidate.nodeValue !== string) {\n            candidate.nodeValue = string;\n          }\n\n          this.candidate = candidate.nextSibling;\n          return candidate;\n        } else if (candidate && (isSeparator(candidate) || isEmpty$1(candidate))) {\n          this.candidate = candidate.nextSibling;\n          this.remove(candidate);\n          return this.__appendText(string);\n        } else if (isEmpty$1(candidate)) {\n          var next = this.remove(candidate);\n          this.candidate = next;\n          var text = this.dom.createTextNode(string);\n          this.dom.insertBefore(this.element, text, next);\n          return text;\n        } else {\n          this.clearMismatch(candidate);\n          return _NewElementBuilder.prototype.__appendText.call(this, string);\n        }\n      } else {\n        return _NewElementBuilder.prototype.__appendText.call(this, string);\n      }\n    };\n\n    _proto67.__appendComment = function __appendComment(string) {\n      var _candidate = this.candidate;\n\n      if (_candidate && isComment(_candidate)) {\n        if (_candidate.nodeValue !== string) {\n          _candidate.nodeValue = string;\n        }\n\n        this.candidate = _candidate.nextSibling;\n        return _candidate;\n      } else if (_candidate) {\n        this.clearMismatch(_candidate);\n      }\n\n      return _NewElementBuilder.prototype.__appendComment.call(this, string);\n    };\n\n    _proto67.__openElement = function __openElement(tag) {\n      var _candidate = this.candidate;\n\n      if (_candidate && isElement(_candidate) && isSameNodeType(_candidate, tag)) {\n        this.unmatchedAttributes = [].slice.call(_candidate.attributes);\n        return _candidate;\n      } else if (_candidate) {\n        if (isElement(_candidate) && _candidate.tagName === 'TBODY') {\n          this.pushElement(_candidate, null);\n          this.currentCursor.injectedOmittedNode = true;\n          return this.__openElement(tag);\n        }\n\n        this.clearMismatch(_candidate);\n      }\n\n      return _NewElementBuilder.prototype.__openElement.call(this, tag);\n    };\n\n    _proto67.__setAttribute = function __setAttribute(name, value, namespace) {\n      var unmatched = this.unmatchedAttributes;\n\n      if (unmatched) {\n        var attr = findByName(unmatched, name);\n\n        if (attr) {\n          if (attr.value !== value) {\n            attr.value = value;\n          }\n\n          unmatched.splice(unmatched.indexOf(attr), 1);\n          return;\n        }\n      }\n\n      return _NewElementBuilder.prototype.__setAttribute.call(this, name, value, namespace);\n    };\n\n    _proto67.__setProperty = function __setProperty(name, value) {\n      var unmatched = this.unmatchedAttributes;\n\n      if (unmatched) {\n        var attr = findByName(unmatched, name);\n\n        if (attr) {\n          if (attr.value !== value) {\n            attr.value = value;\n          }\n\n          unmatched.splice(unmatched.indexOf(attr), 1);\n          return;\n        }\n      }\n\n      return _NewElementBuilder.prototype.__setProperty.call(this, name, value);\n    };\n\n    _proto67.__flushElement = function __flushElement(parent, constructing) {\n      var unmatched = this.unmatchedAttributes;\n\n      if (unmatched) {\n        for (var i = 0; i < unmatched.length; i++) {\n          this.constructing.removeAttribute(unmatched[i].name);\n        }\n\n        this.unmatchedAttributes = null;\n      } else {\n        _NewElementBuilder.prototype.__flushElement.call(this, parent, constructing);\n      }\n    };\n\n    _proto67.willCloseElement = function willCloseElement() {\n      var candidate = this.candidate,\n          currentCursor = this.currentCursor;\n\n      if (candidate !== null) {\n        this.clearMismatch(candidate);\n      }\n\n      if (currentCursor && currentCursor.injectedOmittedNode) {\n        this.popElement();\n      }\n\n      _NewElementBuilder.prototype.willCloseElement.call(this);\n    };\n\n    _proto67.getMarker = function getMarker(element, guid) {\n      var marker = element.querySelector(\"script[glmr=\\\"\" + guid + \"\\\"]\");\n\n      if (marker) {\n        return marker;\n      }\n\n      throw new Error('Cannot find serialized cursor for `in-element`');\n    };\n\n    _proto67.__pushRemoteElement = function __pushRemoteElement(element, cursorId) {\n      var nextSibling = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n      var marker = this.getMarker(element, cursorId);\n\n      if (marker.parentNode === element) {\n        var currentCursor = this.currentCursor;\n        var candidate = currentCursor.candidate;\n        this.pushElement(element, nextSibling);\n        currentCursor.candidate = candidate;\n        this.candidate = this.remove(marker);\n        var tracker = new RemoteBlockTracker(element);\n        this.pushBlockTracker(tracker, true);\n      }\n    };\n\n    _proto67.didAppendBounds = function didAppendBounds(bounds) {\n      _NewElementBuilder.prototype.didAppendBounds.call(this, bounds);\n\n      if (this.candidate) {\n        var last = bounds.lastNode();\n        this.candidate = last && last.nextSibling;\n      }\n\n      return bounds;\n    };\n\n    (0, _emberBabel.createClass)(RehydrateBuilder, [{\n      key: \"currentCursor\",\n      get: function () {\n        return this.cursorStack.current;\n      }\n    }, {\n      key: \"candidate\",\n      get: function () {\n        if (this.currentCursor) {\n          return this.currentCursor.candidate;\n        }\n\n        return null;\n      },\n      set: function (node) {\n        this.currentCursor.candidate = node;\n      }\n    }]);\n    return RehydrateBuilder;\n  }(NewElementBuilder);\n\n  _exports.RehydrateBuilder = RehydrateBuilder;\n\n  function isTextNode(node) {\n    return node.nodeType === 3;\n  }\n\n  function isComment(node) {\n    return node.nodeType === 8;\n  }\n\n  function getOpenBlockDepth(node) {\n    var boundsDepth = node.nodeValue.match(/^%\\+b:(\\d+)%$/);\n\n    if (boundsDepth && boundsDepth[1]) {\n      return Number(boundsDepth[1]);\n    } else {\n      return null;\n    }\n  }\n\n  function getCloseBlockDepth(node) {\n    var boundsDepth = node.nodeValue.match(/^%\\-b:(\\d+)%$/);\n\n    if (boundsDepth && boundsDepth[1]) {\n      return Number(boundsDepth[1]);\n    } else {\n      return null;\n    }\n  }\n\n  function isElement(node) {\n    return node.nodeType === 1;\n  }\n\n  function isMarker(node) {\n    return node.nodeType === 8 && node.nodeValue === '%glmr%';\n  }\n\n  function isSeparator(node) {\n    return node.nodeType === 8 && node.nodeValue === '%|%';\n  }\n\n  function isEmpty$1(node) {\n    return node.nodeType === 8 && node.nodeValue === '% %';\n  }\n\n  function isSameNodeType(candidate, tag) {\n    if (candidate.namespaceURI === SVG_NAMESPACE) {\n      return candidate.tagName === tag;\n    }\n\n    return candidate.tagName === tag.toUpperCase();\n  }\n\n  function findByName(array, name) {\n    for (var i = 0; i < array.length; i++) {\n      var attr = array[i];\n      if (attr.name === name) return attr;\n    }\n\n    return undefined;\n  }\n\n  function rehydrationBuilder(env, cursor) {\n    return RehydrateBuilder.forInitialRender(env, cursor);\n  }\n});","enifed(\"@glimmer/util\", [\"exports\", \"ember-babel\"], function (_exports, _emberBabel) {\n  \"use strict\";\n\n  _exports.assert = debugAssert;\n  _exports.assign = assign;\n  _exports.fillNulls = fillNulls;\n  _exports.ensureGuid = ensureGuid;\n  _exports.initializeGuid = initializeGuid;\n  _exports.dict = dict;\n  _exports.unwrap = unwrap;\n  _exports.expect = expect;\n  _exports.unreachable = unreachable;\n  _exports.EMPTY_ARRAY = _exports.ListSlice = _exports.ListNode = _exports.LinkedList = _exports.EMPTY_SLICE = _exports.DictSet = _exports.Stack = void 0;\n\n  function unwrap(val) {\n    if (val === null || val === undefined) throw new Error(\"Expected value to be present\");\n    return val;\n  }\n\n  function expect(val, message) {\n    if (val === null || val === undefined) throw new Error(message);\n    return val;\n  }\n\n  function unreachable() {\n    var message = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'unreachable';\n    return new Error(message);\n  } // import Logger from './logger';\n  // let alreadyWarned = false;\n\n\n  function debugAssert(test, msg) {\n    // if (!alreadyWarned) {\n    //   alreadyWarned = true;\n    //   Logger.warn(\"Don't leave debug assertions on in public builds\");\n    // }\n    if (!test) {\n      throw new Error(msg || 'assertion failure');\n    }\n  }\n\n  var objKeys = Object.keys;\n\n  function assign(obj) {\n    for (var i = 1; i < arguments.length; i++) {\n      var assignment = arguments[i];\n      if (assignment === null || typeof assignment !== 'object') continue;\n      var keys = objKeys(assignment);\n\n      for (var j = 0; j < keys.length; j++) {\n        var key = keys[j];\n        obj[key] = assignment[key];\n      }\n    }\n\n    return obj;\n  }\n\n  function fillNulls(count) {\n    var arr = new Array(count);\n\n    for (var i = 0; i < count; i++) {\n      arr[i] = null;\n    }\n\n    return arr;\n  }\n\n  var GUID = 0;\n\n  function initializeGuid(object) {\n    return object._guid = ++GUID;\n  }\n\n  function ensureGuid(object) {\n    return object._guid || initializeGuid(object);\n  }\n\n  function dict() {\n    return Object.create(null);\n  }\n\n  var DictSet =\n  /*#__PURE__*/\n  function () {\n    function DictSet() {\n      this.dict = dict();\n    }\n\n    var _proto = DictSet.prototype;\n\n    _proto.add = function add(obj) {\n      if (typeof obj === 'string') this.dict[obj] = obj;else this.dict[ensureGuid(obj)] = obj;\n      return this;\n    };\n\n    _proto.delete = function _delete(obj) {\n      if (typeof obj === 'string') delete this.dict[obj];else if (obj._guid) delete this.dict[obj._guid];\n    };\n\n    return DictSet;\n  }();\n\n  _exports.DictSet = DictSet;\n\n  var Stack =\n  /*#__PURE__*/\n  function () {\n    function Stack() {\n      this.stack = [];\n      this.current = null;\n    }\n\n    var _proto2 = Stack.prototype;\n\n    _proto2.push = function push(item) {\n      this.current = item;\n      this.stack.push(item);\n    };\n\n    _proto2.pop = function pop() {\n      var item = this.stack.pop();\n      var len = this.stack.length;\n      this.current = len === 0 ? null : this.stack[len - 1];\n      return item === undefined ? null : item;\n    };\n\n    _proto2.isEmpty = function isEmpty() {\n      return this.stack.length === 0;\n    };\n\n    (0, _emberBabel.createClass)(Stack, [{\n      key: \"size\",\n      get: function () {\n        return this.stack.length;\n      }\n    }]);\n    return Stack;\n  }();\n\n  _exports.Stack = Stack;\n\n  var ListNode = function ListNode(value) {\n    this.next = null;\n    this.prev = null;\n    this.value = value;\n  };\n\n  _exports.ListNode = ListNode;\n\n  var LinkedList =\n  /*#__PURE__*/\n  function () {\n    function LinkedList() {\n      this.clear();\n    }\n\n    var _proto3 = LinkedList.prototype;\n\n    _proto3.head = function head() {\n      return this._head;\n    };\n\n    _proto3.tail = function tail() {\n      return this._tail;\n    };\n\n    _proto3.clear = function clear() {\n      this._head = this._tail = null;\n    };\n\n    _proto3.toArray = function toArray() {\n      var out = [];\n      this.forEachNode(function (n) {\n        return out.push(n);\n      });\n      return out;\n    };\n\n    _proto3.nextNode = function nextNode(node) {\n      return node.next;\n    };\n\n    _proto3.forEachNode = function forEachNode(callback) {\n      var node = this._head;\n\n      while (node !== null) {\n        callback(node);\n        node = node.next;\n      }\n    };\n\n    _proto3.insertBefore = function insertBefore(node) {\n      var reference = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n      if (reference === null) return this.append(node);\n      if (reference.prev) reference.prev.next = node;else this._head = node;\n      node.prev = reference.prev;\n      node.next = reference;\n      reference.prev = node;\n      return node;\n    };\n\n    _proto3.append = function append(node) {\n      var tail = this._tail;\n\n      if (tail) {\n        tail.next = node;\n        node.prev = tail;\n        node.next = null;\n      } else {\n        this._head = node;\n      }\n\n      return this._tail = node;\n    };\n\n    _proto3.remove = function remove(node) {\n      if (node.prev) node.prev.next = node.next;else this._head = node.next;\n      if (node.next) node.next.prev = node.prev;else this._tail = node.prev;\n      return node;\n    };\n\n    return LinkedList;\n  }();\n\n  _exports.LinkedList = LinkedList;\n\n  var ListSlice =\n  /*#__PURE__*/\n  function () {\n    function ListSlice(head, tail) {\n      this._head = head;\n      this._tail = tail;\n    }\n\n    var _proto4 = ListSlice.prototype;\n\n    _proto4.forEachNode = function forEachNode(callback) {\n      var node = this._head;\n\n      while (node !== null) {\n        callback(node);\n        node = this.nextNode(node);\n      }\n    };\n\n    _proto4.head = function head() {\n      return this._head;\n    };\n\n    _proto4.tail = function tail() {\n      return this._tail;\n    };\n\n    _proto4.toArray = function toArray() {\n      var out = [];\n      this.forEachNode(function (n) {\n        return out.push(n);\n      });\n      return out;\n    };\n\n    _proto4.nextNode = function nextNode(node) {\n      if (node === this._tail) return null;\n      return node.next;\n    };\n\n    return ListSlice;\n  }();\n\n  _exports.ListSlice = ListSlice;\n  var EMPTY_SLICE = new ListSlice(null, null);\n  _exports.EMPTY_SLICE = EMPTY_SLICE;\n  var EMPTY_ARRAY = Object.freeze([]);\n  _exports.EMPTY_ARRAY = EMPTY_ARRAY;\n});","enifed(\"@glimmer/vm\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.Register = void 0;\n\n  /**\n   * Registers\n   *\n   * For the most part, these follows MIPS naming conventions, however the\n   * register numbers are different.\n   */\n  var Register;\n  _exports.Register = Register;\n\n  (function (Register) {\n    // $0 or $pc (program counter): pointer into `program` for the next insturction; -1 means exit\n    Register[Register[\"pc\"] = 0] = \"pc\"; // $1 or $ra (return address): pointer into `program` for the return\n\n    Register[Register[\"ra\"] = 1] = \"ra\"; // $2 or $fp (frame pointer): pointer into the `evalStack` for the base of the stack\n\n    Register[Register[\"fp\"] = 2] = \"fp\"; // $3 or $sp (stack pointer): pointer into the `evalStack` for the top of the stack\n\n    Register[Register[\"sp\"] = 3] = \"sp\"; // $4-$5 or $s0-$s1 (saved): callee saved general-purpose registers\n\n    Register[Register[\"s0\"] = 4] = \"s0\";\n    Register[Register[\"s1\"] = 5] = \"s1\"; // $6-$7 or $t0-$t1 (temporaries): caller saved general-purpose registers\n\n    Register[Register[\"t0\"] = 6] = \"t0\";\n    Register[Register[\"t1\"] = 7] = \"t1\"; // $8 or $v0 (return value)\n\n    Register[Register[\"v0\"] = 8] = \"v0\";\n  })(Register || (_exports.Register = Register = {}));\n});","enifed(\"@glimmer/wire-format\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.is = is;\n  _exports.isAttribute = isAttribute;\n  _exports.isArgument = isArgument;\n  _exports.isMaybeLocal = _exports.isGet = _exports.isFlushElement = _exports.Ops = void 0;\n  var Opcodes;\n  _exports.Ops = Opcodes;\n\n  (function (Opcodes) {\n    // Statements\n    Opcodes[Opcodes[\"Text\"] = 0] = \"Text\";\n    Opcodes[Opcodes[\"Append\"] = 1] = \"Append\";\n    Opcodes[Opcodes[\"Comment\"] = 2] = \"Comment\";\n    Opcodes[Opcodes[\"Modifier\"] = 3] = \"Modifier\";\n    Opcodes[Opcodes[\"Block\"] = 4] = \"Block\";\n    Opcodes[Opcodes[\"Component\"] = 5] = \"Component\";\n    Opcodes[Opcodes[\"DynamicComponent\"] = 6] = \"DynamicComponent\";\n    Opcodes[Opcodes[\"OpenElement\"] = 7] = \"OpenElement\";\n    Opcodes[Opcodes[\"FlushElement\"] = 8] = \"FlushElement\";\n    Opcodes[Opcodes[\"CloseElement\"] = 9] = \"CloseElement\";\n    Opcodes[Opcodes[\"StaticAttr\"] = 10] = \"StaticAttr\";\n    Opcodes[Opcodes[\"DynamicAttr\"] = 11] = \"DynamicAttr\";\n    Opcodes[Opcodes[\"ComponentAttr\"] = 12] = \"ComponentAttr\";\n    Opcodes[Opcodes[\"AttrSplat\"] = 13] = \"AttrSplat\";\n    Opcodes[Opcodes[\"Yield\"] = 14] = \"Yield\";\n    Opcodes[Opcodes[\"Partial\"] = 15] = \"Partial\";\n    Opcodes[Opcodes[\"DynamicArg\"] = 16] = \"DynamicArg\";\n    Opcodes[Opcodes[\"StaticArg\"] = 17] = \"StaticArg\";\n    Opcodes[Opcodes[\"TrustingAttr\"] = 18] = \"TrustingAttr\";\n    Opcodes[Opcodes[\"TrustingComponentAttr\"] = 19] = \"TrustingComponentAttr\";\n    Opcodes[Opcodes[\"Debugger\"] = 20] = \"Debugger\";\n    Opcodes[Opcodes[\"ClientSideStatement\"] = 21] = \"ClientSideStatement\"; // Expressions\n\n    Opcodes[Opcodes[\"Unknown\"] = 22] = \"Unknown\";\n    Opcodes[Opcodes[\"Get\"] = 23] = \"Get\";\n    Opcodes[Opcodes[\"MaybeLocal\"] = 24] = \"MaybeLocal\";\n    Opcodes[Opcodes[\"HasBlock\"] = 25] = \"HasBlock\";\n    Opcodes[Opcodes[\"HasBlockParams\"] = 26] = \"HasBlockParams\";\n    Opcodes[Opcodes[\"Undefined\"] = 27] = \"Undefined\";\n    Opcodes[Opcodes[\"Helper\"] = 28] = \"Helper\";\n    Opcodes[Opcodes[\"Concat\"] = 29] = \"Concat\";\n    Opcodes[Opcodes[\"ClientSideExpression\"] = 30] = \"ClientSideExpression\";\n  })(Opcodes || (_exports.Ops = Opcodes = {}));\n\n  function is(variant) {\n    return function (value) {\n      return Array.isArray(value) && value[0] === variant;\n    };\n  } // Statements\n\n\n  var isFlushElement = is(Opcodes.FlushElement);\n  _exports.isFlushElement = isFlushElement;\n\n  function isAttribute(val) {\n    return val[0] === Opcodes.StaticAttr || val[0] === Opcodes.DynamicAttr || val[0] === Opcodes.ComponentAttr || val[0] === Opcodes.TrustingAttr || val[0] === Opcodes.TrustingComponentAttr || val[0] === Opcodes.AttrSplat || val[0] === Opcodes.Modifier;\n  }\n\n  function isArgument(val) {\n    return val[0] === Opcodes.StaticArg || val[0] === Opcodes.DynamicArg;\n  } // Expressions\n\n\n  var isGet = is(Opcodes.Get);\n  _exports.isGet = isGet;\n  var isMaybeLocal = is(Opcodes.MaybeLocal);\n  _exports.isMaybeLocal = isMaybeLocal;\n});","enifed(\"backburner\", [\"exports\", \"ember-babel\"], function (_exports, _emberBabel) {\n  \"use strict\";\n\n  _exports.buildPlatform = buildPlatform;\n  _exports.default = void 0;\n  var SET_TIMEOUT = setTimeout;\n\n  var NOOP = function () {};\n\n  function buildNext(flush) {\n    // Using \"promises first\" here to:\n    //\n    // 1) Ensure more consistent experience on browsers that\n    //    have differently queued microtasks (separate queues for\n    //    MutationObserver vs Promises).\n    // 2) Ensure better debugging experiences (it shows up in Chrome\n    //    call stack as \"Promise.then (async)\") which is more consistent\n    //    with user expectations\n    //\n    // When Promise is unavailable use MutationObserver (mostly so that we\n    // still get microtasks on IE11), and when neither MutationObserver and\n    // Promise are present use a plain old setTimeout.\n    if (typeof Promise === 'function') {\n      var autorunPromise = Promise.resolve();\n      return function () {\n        return autorunPromise.then(flush);\n      };\n    } else if (typeof MutationObserver === 'function') {\n      var iterations = 0;\n      var observer = new MutationObserver(flush);\n      var node = document.createTextNode('');\n      observer.observe(node, {\n        characterData: true\n      });\n      return function () {\n        iterations = ++iterations % 2;\n        node.data = '' + iterations;\n        return iterations;\n      };\n    } else {\n      return function () {\n        return SET_TIMEOUT(flush, 0);\n      };\n    }\n  }\n\n  function buildPlatform(flush) {\n    var clearNext = NOOP;\n    return {\n      setTimeout: function (fn, ms) {\n        return setTimeout(fn, ms);\n      },\n      clearTimeout: function (timerId) {\n        return clearTimeout(timerId);\n      },\n      now: function () {\n        return Date.now();\n      },\n      next: buildNext(flush),\n      clearNext: clearNext\n    };\n  }\n\n  var NUMBER = /\\d+/;\n  var TIMERS_OFFSET = 6;\n\n  function isCoercableNumber(suspect) {\n    var type = typeof suspect;\n    return type === 'number' && suspect === suspect || type === 'string' && NUMBER.test(suspect);\n  }\n\n  function getOnError(options) {\n    return options.onError || options.onErrorTarget && options.onErrorTarget[options.onErrorMethod];\n  }\n\n  function findItem(target, method, collection) {\n    var index = -1;\n\n    for (var i = 0, l = collection.length; i < l; i += 4) {\n      if (collection[i] === target && collection[i + 1] === method) {\n        index = i;\n        break;\n      }\n    }\n\n    return index;\n  }\n\n  function findTimerItem(target, method, collection) {\n    var index = -1;\n\n    for (var i = 2, l = collection.length; i < l; i += 6) {\n      if (collection[i] === target && collection[i + 1] === method) {\n        index = i - 2;\n        break;\n      }\n    }\n\n    return index;\n  }\n\n  function getQueueItems(items, queueItemLength) {\n    var queueItemPositionOffset = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n    var queueItems = [];\n\n    for (var i = 0; i < items.length; i += queueItemLength) {\n      var maybeError = items[i + 3\n      /* stack */\n      + queueItemPositionOffset];\n      var queueItem = {\n        target: items[i + 0\n        /* target */\n        + queueItemPositionOffset],\n        method: items[i + 1\n        /* method */\n        + queueItemPositionOffset],\n        args: items[i + 2\n        /* args */\n        + queueItemPositionOffset],\n        stack: maybeError !== undefined && 'stack' in maybeError ? maybeError.stack : ''\n      };\n      queueItems.push(queueItem);\n    }\n\n    return queueItems;\n  }\n\n  function binarySearch(time, timers) {\n    var start = 0;\n    var end = timers.length - TIMERS_OFFSET;\n    var middle;\n    var l;\n\n    while (start < end) {\n      // since timers is an array of pairs 'l' will always\n      // be an integer\n      l = (end - start) / TIMERS_OFFSET; // compensate for the index in case even number\n      // of pairs inside timers\n\n      middle = start + l - l % TIMERS_OFFSET;\n\n      if (time >= timers[middle]) {\n        start = middle + TIMERS_OFFSET;\n      } else {\n        end = middle;\n      }\n    }\n\n    return time >= timers[start] ? start + TIMERS_OFFSET : start;\n  }\n\n  var QUEUE_ITEM_LENGTH = 4;\n\n  var Queue =\n  /*#__PURE__*/\n  function () {\n    function Queue(name) {\n      var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      var globalOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n      this._queueBeingFlushed = [];\n      this.targetQueues = new Map();\n      this.index = 0;\n      this._queue = [];\n      this.name = name;\n      this.options = options;\n      this.globalOptions = globalOptions;\n    }\n\n    var _proto = Queue.prototype;\n\n    _proto.stackFor = function stackFor(index) {\n      if (index < this._queue.length) {\n        var entry = this._queue[index * 3 + QUEUE_ITEM_LENGTH];\n\n        if (entry) {\n          return entry.stack;\n        } else {\n          return null;\n        }\n      }\n    };\n\n    _proto.flush = function flush(sync) {\n      var _this$options = this.options,\n          before = _this$options.before,\n          after = _this$options.after;\n      var target;\n      var method;\n      var args;\n      var errorRecordedForStack;\n      this.targetQueues.clear();\n\n      if (this._queueBeingFlushed.length === 0) {\n        this._queueBeingFlushed = this._queue;\n        this._queue = [];\n      }\n\n      if (before !== undefined) {\n        before();\n      }\n\n      var invoke;\n      var queueItems = this._queueBeingFlushed;\n\n      if (queueItems.length > 0) {\n        var onError = getOnError(this.globalOptions);\n        invoke = onError ? this.invokeWithOnError : this.invoke;\n\n        for (var i = this.index; i < queueItems.length; i += QUEUE_ITEM_LENGTH) {\n          this.index += QUEUE_ITEM_LENGTH;\n          method = queueItems[i + 1]; // method could have been nullified / canceled during flush\n\n          if (method !== null) {\n            //\n            //    ** Attention intrepid developer **\n            //\n            //    To find out the stack of this task when it was scheduled onto\n            //    the run loop, add the following to your app.js:\n            //\n            //    Ember.run.backburner.DEBUG = true; // NOTE: This slows your app, don't leave it on in production.\n            //\n            //    Once that is in place, when you are at a breakpoint and navigate\n            //    here in the stack explorer, you can look at `errorRecordedForStack.stack`,\n            //    which will be the captured stack when this job was scheduled.\n            //\n            //    One possible long-term solution is the following Chrome issue:\n            //       https://bugs.chromium.org/p/chromium/issues/detail?id=332624\n            //\n            target = queueItems[i];\n            args = queueItems[i + 2];\n            errorRecordedForStack = queueItems[i + 3]; // Debugging assistance\n\n            invoke(target, method, args, onError, errorRecordedForStack);\n          }\n\n          if (this.index !== this._queueBeingFlushed.length && this.globalOptions.mustYield && this.globalOptions.mustYield()) {\n            return 1\n            /* Pause */\n            ;\n          }\n        }\n      }\n\n      if (after !== undefined) {\n        after();\n      }\n\n      this._queueBeingFlushed.length = 0;\n      this.index = 0;\n\n      if (sync !== false && this._queue.length > 0) {\n        // check if new items have been added\n        this.flush(true);\n      }\n    };\n\n    _proto.hasWork = function hasWork() {\n      return this._queueBeingFlushed.length > 0 || this._queue.length > 0;\n    };\n\n    _proto.cancel = function cancel(_ref) {\n      var target = _ref.target,\n          method = _ref.method;\n      var queue = this._queue;\n      var targetQueueMap = this.targetQueues.get(target);\n\n      if (targetQueueMap !== undefined) {\n        targetQueueMap.delete(method);\n      }\n\n      var index = findItem(target, method, queue);\n\n      if (index > -1) {\n        queue.splice(index, QUEUE_ITEM_LENGTH);\n        return true;\n      } // if not found in current queue\n      // could be in the queue that is being flushed\n\n\n      queue = this._queueBeingFlushed;\n      index = findItem(target, method, queue);\n\n      if (index > -1) {\n        queue[index + 1] = null;\n        return true;\n      }\n\n      return false;\n    };\n\n    _proto.push = function push(target, method, args, stack) {\n      this._queue.push(target, method, args, stack);\n\n      return {\n        queue: this,\n        target: target,\n        method: method\n      };\n    };\n\n    _proto.pushUnique = function pushUnique(target, method, args, stack) {\n      var localQueueMap = this.targetQueues.get(target);\n\n      if (localQueueMap === undefined) {\n        localQueueMap = new Map();\n        this.targetQueues.set(target, localQueueMap);\n      }\n\n      var index = localQueueMap.get(method);\n\n      if (index === undefined) {\n        var queueIndex = this._queue.push(target, method, args, stack) - QUEUE_ITEM_LENGTH;\n        localQueueMap.set(method, queueIndex);\n      } else {\n        var queue = this._queue;\n        queue[index + 2] = args; // replace args\n\n        queue[index + 3] = stack; // replace stack\n      }\n\n      return {\n        queue: this,\n        target: target,\n        method: method\n      };\n    };\n\n    _proto._getDebugInfo = function _getDebugInfo(debugEnabled) {\n      if (debugEnabled) {\n        var debugInfo = getQueueItems(this._queue, QUEUE_ITEM_LENGTH);\n        return debugInfo;\n      }\n\n      return undefined;\n    };\n\n    _proto.invoke = function invoke(target, method, args\n    /*, onError, errorRecordedForStack */\n    ) {\n      if (args === undefined) {\n        method.call(target);\n      } else {\n        method.apply(target, args);\n      }\n    };\n\n    _proto.invokeWithOnError = function 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    return Queue;\n  }();\n\n  var DeferredActionQueues =\n  /*#__PURE__*/\n  function () {\n    function DeferredActionQueues() {\n      var queueNames = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n      var options = arguments.length > 1 ? arguments[1] : undefined;\n      this.queues = {};\n      this.queueNameIndex = 0;\n      this.queueNames = queueNames;\n      queueNames.reduce(function (queues, queueName) {\n        queues[queueName] = new Queue(queueName, options[queueName], options);\n        return queues;\n      }, this.queues);\n    }\n    /**\n     * @method schedule\n     * @param {String} queueName\n     * @param {Any} target\n     * @param {Any} method\n     * @param {Any} args\n     * @param {Boolean} onceFlag\n     * @param {Any} stack\n     * @return queue\n     */\n\n\n    var _proto2 = DeferredActionQueues.prototype;\n\n    _proto2.schedule = function schedule(queueName, target, method, args, onceFlag, stack) {\n      var queues = this.queues;\n      var queue = queues[queueName];\n\n      if (queue === undefined) {\n        throw new Error(\"You attempted to schedule an action in a queue (\" + queueName + \") that doesn't exist\");\n      }\n\n      if (method === undefined || method === null) {\n        throw new Error(\"You attempted to schedule an action in a queue (\" + queueName + \") for a method that doesn't exist\");\n      }\n\n      this.queueNameIndex = 0;\n\n      if (onceFlag) {\n        return queue.pushUnique(target, method, args, stack);\n      } else {\n        return queue.push(target, method, args, stack);\n      }\n    }\n    /**\n     * DeferredActionQueues.flush() calls Queue.flush()\n     *\n     * @method flush\n     * @param {Boolean} fromAutorun\n     */\n    ;\n\n    _proto2.flush = function flush() {\n      var fromAutorun = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n      var queue;\n      var queueName;\n      var numberOfQueues = this.queueNames.length;\n\n      while (this.queueNameIndex < numberOfQueues) {\n        queueName = this.queueNames[this.queueNameIndex];\n        queue = this.queues[queueName];\n\n        if (queue.hasWork() === false) {\n          this.queueNameIndex++;\n\n          if (fromAutorun && this.queueNameIndex < numberOfQueues) {\n            return 1\n            /* Pause */\n            ;\n          }\n        } else {\n          if (queue.flush(false\n          /* async */\n          ) === 1\n          /* Pause */\n          ) {\n              return 1\n              /* Pause */\n              ;\n            }\n        }\n      }\n    }\n    /**\n     * Returns debug information for the current queues.\n     *\n     * @method _getDebugInfo\n     * @param {Boolean} debugEnabled\n     * @returns {IDebugInfo | undefined}\n     */\n    ;\n\n    _proto2._getDebugInfo = function _getDebugInfo(debugEnabled) {\n      if (debugEnabled) {\n        var debugInfo = {};\n        var queue;\n        var queueName;\n        var numberOfQueues = this.queueNames.length;\n        var i = 0;\n\n        while (i < numberOfQueues) {\n          queueName = this.queueNames[i];\n          queue = this.queues[queueName];\n          debugInfo[queueName] = queue._getDebugInfo(debugEnabled);\n          i++;\n        }\n\n        return debugInfo;\n      }\n\n      return;\n    };\n\n    return DeferredActionQueues;\n  }();\n\n  function iteratorDrain(fn) {\n    var iterator = fn();\n    var result = iterator.next();\n\n    while (result.done === false) {\n      result.value();\n      result = iterator.next();\n    }\n  }\n\n  var noop = function () {};\n\n  var DISABLE_SCHEDULE = Object.freeze([]);\n\n  function parseArgs() {\n    var length = arguments.length;\n    var args;\n    var method;\n    var target;\n\n    if (length === 0) {} else if (length === 1) {\n      target = null;\n      method = arguments[0];\n    } else {\n      var argsIndex = 2;\n      var methodOrTarget = arguments[0];\n      var methodOrArgs = arguments[1];\n      var type = typeof methodOrArgs;\n\n      if (type === 'function') {\n        target = methodOrTarget;\n        method = methodOrArgs;\n      } else if (methodOrTarget !== null && type === 'string' && methodOrArgs in methodOrTarget) {\n        target = methodOrTarget;\n        method = target[methodOrArgs];\n      } else if (typeof methodOrTarget === 'function') {\n        argsIndex = 1;\n        target = null;\n        method = methodOrTarget;\n      }\n\n      if (length > argsIndex) {\n        var len = length - argsIndex;\n        args = new Array(len);\n\n        for (var i = 0; i < len; i++) {\n          args[i] = arguments[i + argsIndex];\n        }\n      }\n    }\n\n    return [target, method, args];\n  }\n\n  function parseTimerArgs() {\n    var _parseArgs = parseArgs.apply(void 0, arguments),\n        target = _parseArgs[0],\n        method = _parseArgs[1],\n        args = _parseArgs[2];\n\n    var wait = 0;\n    var length = args !== undefined ? args.length : 0;\n\n    if (length > 0) {\n      var last = args[length - 1];\n\n      if (isCoercableNumber(last)) {\n        wait = parseInt(args.pop(), 10);\n      }\n    }\n\n    return [target, method, args, wait];\n  }\n\n  function parseDebounceArgs() {\n    var target;\n    var method;\n    var isImmediate;\n    var args;\n    var wait;\n\n    if (arguments.length === 2) {\n      method = arguments[0];\n      wait = arguments[1];\n      target = null;\n    } else {\n      var _parseArgs2 = parseArgs.apply(void 0, arguments);\n\n      target = _parseArgs2[0];\n      method = _parseArgs2[1];\n      args = _parseArgs2[2];\n\n      if (args === undefined) {\n        wait = 0;\n      } else {\n        wait = args.pop();\n\n        if (!isCoercableNumber(wait)) {\n          isImmediate = wait === true;\n          wait = args.pop();\n        }\n      }\n    }\n\n    wait = parseInt(wait, 10);\n    return [target, method, args, wait, isImmediate];\n  }\n\n  var UUID = 0;\n  var beginCount = 0;\n  var endCount = 0;\n  var beginEventCount = 0;\n  var endEventCount = 0;\n  var runCount = 0;\n  var joinCount = 0;\n  var deferCount = 0;\n  var scheduleCount = 0;\n  var scheduleIterableCount = 0;\n  var deferOnceCount = 0;\n  var scheduleOnceCount = 0;\n  var setTimeoutCount = 0;\n  var laterCount = 0;\n  var throttleCount = 0;\n  var debounceCount = 0;\n  var cancelTimersCount = 0;\n  var cancelCount = 0;\n  var autorunsCreatedCount = 0;\n  var autorunsCompletedCount = 0;\n  var deferredActionQueuesCreatedCount = 0;\n  var nestedDeferredActionQueuesCreated = 0;\n\n  var Backburner =\n  /*#__PURE__*/\n  function () {\n    function Backburner(queueNames, options) {\n      var _this = this;\n\n      this.DEBUG = false;\n      this.currentInstance = null;\n      this.instanceStack = [];\n      this._eventCallbacks = {\n        end: [],\n        begin: []\n      };\n      this._timerTimeoutId = null;\n      this._timers = [];\n      this._autorun = false;\n      this._autorunStack = null;\n      this.queueNames = queueNames;\n      this.options = options || {};\n\n      if (typeof this.options.defaultQueue === 'string') {\n        this._defaultQueue = this.options.defaultQueue;\n      } else {\n        this._defaultQueue = this.queueNames[0];\n      }\n\n      this._onBegin = this.options.onBegin || noop;\n      this._onEnd = this.options.onEnd || noop;\n      this._boundRunExpiredTimers = this._runExpiredTimers.bind(this);\n\n      this._boundAutorunEnd = function () {\n        autorunsCompletedCount++; // if the autorun was already flushed, do nothing\n\n        if (_this._autorun === false) {\n          return;\n        }\n\n        _this._autorun = false;\n        _this._autorunStack = null;\n\n        _this._end(true\n        /* fromAutorun */\n        );\n      };\n\n      var builder = this.options._buildPlatform || buildPlatform;\n      this._platform = builder(this._boundAutorunEnd);\n    }\n\n    var _proto3 = Backburner.prototype;\n    /*\n      @method begin\n      @return instantiated class DeferredActionQueues\n    */\n\n    _proto3.begin = function begin() {\n      beginCount++;\n      var options = this.options;\n      var previousInstance = this.currentInstance;\n      var current;\n\n      if (this._autorun !== false) {\n        current = previousInstance;\n\n        this._cancelAutorun();\n      } else {\n        if (previousInstance !== null) {\n          nestedDeferredActionQueuesCreated++;\n          this.instanceStack.push(previousInstance);\n        }\n\n        deferredActionQueuesCreatedCount++;\n        current = this.currentInstance = new DeferredActionQueues(this.queueNames, options);\n        beginEventCount++;\n\n        this._trigger('begin', current, previousInstance);\n      }\n\n      this._onBegin(current, previousInstance);\n\n      return current;\n    };\n\n    _proto3.end = function end() {\n      endCount++;\n\n      this._end(false);\n    };\n\n    _proto3.on = function on(eventName, callback) {\n      if (typeof callback !== 'function') {\n        throw new TypeError(\"Callback must be a function\");\n      }\n\n      var callbacks = this._eventCallbacks[eventName];\n\n      if (callbacks !== undefined) {\n        callbacks.push(callback);\n      } else {\n        throw new TypeError(\"Cannot on() event \" + eventName + \" because it does not exist\");\n      }\n    };\n\n    _proto3.off = function off(eventName, callback) {\n      var callbacks = this._eventCallbacks[eventName];\n\n      if (!eventName || callbacks === undefined) {\n        throw new TypeError(\"Cannot off() event \" + eventName + \" because it does not exist\");\n      }\n\n      var callbackFound = false;\n\n      if (callback) {\n        for (var i = 0; i < callbacks.length; i++) {\n          if (callbacks[i] === callback) {\n            callbackFound = true;\n            callbacks.splice(i, 1);\n            i--;\n          }\n        }\n      }\n\n      if (!callbackFound) {\n        throw new TypeError(\"Cannot off() callback that does not exist\");\n      }\n    };\n\n    _proto3.run = function run() {\n      runCount++;\n\n      var _parseArgs3 = parseArgs.apply(void 0, arguments),\n          target = _parseArgs3[0],\n          method = _parseArgs3[1],\n          args = _parseArgs3[2];\n\n      return this._run(target, method, args);\n    };\n\n    _proto3.join = function join() {\n      joinCount++;\n\n      var _parseArgs4 = parseArgs.apply(void 0, arguments),\n          target = _parseArgs4[0],\n          method = _parseArgs4[1],\n          args = _parseArgs4[2];\n\n      return this._join(target, method, args);\n    }\n    /**\n     * @deprecated please use schedule instead.\n     */\n    ;\n\n    _proto3.defer = function defer(queueName, target, method) {\n      deferCount++;\n\n      for (var _len = arguments.length, args = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n        args[_key - 3] = arguments[_key];\n      }\n\n      return this.schedule.apply(this, [queueName, target, method].concat(args));\n    };\n\n    _proto3.schedule = function schedule(queueName) {\n      scheduleCount++;\n\n      for (var _len2 = arguments.length, _args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n        _args[_key2 - 1] = arguments[_key2];\n      }\n\n      var _parseArgs5 = parseArgs.apply(void 0, _args),\n          target = _parseArgs5[0],\n          method = _parseArgs5[1],\n          args = _parseArgs5[2];\n\n      var stack = this.DEBUG ? new Error() : undefined;\n      return this._ensureInstance().schedule(queueName, target, method, args, false, stack);\n    }\n    /*\n      Defer the passed iterable of functions to run inside the specified queue.\n         @method scheduleIterable\n      @param {String} queueName\n      @param {Iterable} an iterable of functions to execute\n      @return method result\n    */\n    ;\n\n    _proto3.scheduleIterable = function scheduleIterable(queueName, iterable) {\n      scheduleIterableCount++;\n      var stack = this.DEBUG ? new Error() : undefined;\n      return this._ensureInstance().schedule(queueName, null, iteratorDrain, [iterable], false, stack);\n    }\n    /**\n     * @deprecated please use scheduleOnce instead.\n     */\n    ;\n\n    _proto3.deferOnce = function deferOnce(queueName, target, method) {\n      deferOnceCount++;\n\n      for (var _len3 = arguments.length, args = new Array(_len3 > 3 ? _len3 - 3 : 0), _key3 = 3; _key3 < _len3; _key3++) {\n        args[_key3 - 3] = arguments[_key3];\n      }\n\n      return this.scheduleOnce.apply(this, [queueName, target, method].concat(args));\n    };\n\n    _proto3.scheduleOnce = function scheduleOnce(queueName) {\n      scheduleOnceCount++;\n\n      for (var _len4 = arguments.length, _args = new Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {\n        _args[_key4 - 1] = arguments[_key4];\n      }\n\n      var _parseArgs6 = parseArgs.apply(void 0, _args),\n          target = _parseArgs6[0],\n          method = _parseArgs6[1],\n          args = _parseArgs6[2];\n\n      var stack = this.DEBUG ? new Error() : undefined;\n      return this._ensureInstance().schedule(queueName, target, method, args, true, stack);\n    };\n\n    _proto3.setTimeout = function setTimeout() {\n      setTimeoutCount++;\n      return this.later.apply(this, arguments);\n    };\n\n    _proto3.later = function later() {\n      laterCount++;\n\n      var _parseTimerArgs = parseTimerArgs.apply(void 0, arguments),\n          target = _parseTimerArgs[0],\n          method = _parseTimerArgs[1],\n          args = _parseTimerArgs[2],\n          wait = _parseTimerArgs[3];\n\n      return this._later(target, method, args, wait);\n    };\n\n    _proto3.throttle = function throttle() {\n      throttleCount++;\n\n      var _parseDebounceArgs = parseDebounceArgs.apply(void 0, arguments),\n          target = _parseDebounceArgs[0],\n          method = _parseDebounceArgs[1],\n          args = _parseDebounceArgs[2],\n          wait = _parseDebounceArgs[3],\n          _parseDebounceArgs$ = _parseDebounceArgs[4],\n          isImmediate = _parseDebounceArgs$ === void 0 ? true : _parseDebounceArgs$;\n\n      var index = findTimerItem(target, method, this._timers);\n      var timerId;\n\n      if (index === -1) {\n        timerId = this._later(target, method, isImmediate ? DISABLE_SCHEDULE : args, wait);\n\n        if (isImmediate) {\n          this._join(target, method, args);\n        }\n      } else {\n        timerId = this._timers[index + 1];\n        var argIndex = index + 4;\n\n        if (this._timers[argIndex] !== DISABLE_SCHEDULE) {\n          this._timers[argIndex] = args;\n        }\n      }\n\n      return timerId;\n    };\n\n    _proto3.debounce = function debounce() {\n      debounceCount++;\n\n      var _parseDebounceArgs2 = parseDebounceArgs.apply(void 0, arguments),\n          target = _parseDebounceArgs2[0],\n          method = _parseDebounceArgs2[1],\n          args = _parseDebounceArgs2[2],\n          wait = _parseDebounceArgs2[3],\n          _parseDebounceArgs2$ = _parseDebounceArgs2[4],\n          isImmediate = _parseDebounceArgs2$ === void 0 ? false : _parseDebounceArgs2$;\n\n      var _timers = this._timers;\n      var index = findTimerItem(target, method, _timers);\n      var timerId;\n\n      if (index === -1) {\n        timerId = this._later(target, method, isImmediate ? DISABLE_SCHEDULE : args, wait);\n\n        if (isImmediate) {\n          this._join(target, method, args);\n        }\n      } else {\n        var executeAt = this._platform.now() + wait;\n        var argIndex = index + 4;\n\n        if (_timers[argIndex] === DISABLE_SCHEDULE) {\n          args = DISABLE_SCHEDULE;\n        }\n\n        timerId = _timers[index + 1];\n        var i = binarySearch(executeAt, _timers);\n\n        if (index + TIMERS_OFFSET === i) {\n          _timers[index] = executeAt;\n          _timers[argIndex] = args;\n        } else {\n          var stack = this._timers[index + 5];\n\n          this._timers.splice(i, 0, executeAt, timerId, target, method, args, stack);\n\n          this._timers.splice(index, TIMERS_OFFSET);\n        }\n\n        if (index === 0) {\n          this._reinstallTimerTimeout();\n        }\n      }\n\n      return timerId;\n    };\n\n    _proto3.cancelTimers = function cancelTimers() {\n      cancelTimersCount++;\n\n      this._clearTimerTimeout();\n\n      this._timers = [];\n\n      this._cancelAutorun();\n    };\n\n    _proto3.hasTimers = function hasTimers() {\n      return this._timers.length > 0 || this._autorun;\n    };\n\n    _proto3.cancel = function cancel(timer) {\n      cancelCount++;\n\n      if (timer === null || timer === undefined) {\n        return false;\n      }\n\n      var timerType = typeof timer;\n\n      if (timerType === 'number') {\n        // we're cancelling a setTimeout or throttle or debounce\n        return this._cancelLaterTimer(timer);\n      } else if (timerType === 'object' && timer.queue && timer.method) {\n        // we're cancelling a deferOnce\n        return timer.queue.cancel(timer);\n      }\n\n      return false;\n    };\n\n    _proto3.ensureInstance = function ensureInstance() {\n      this._ensureInstance();\n    }\n    /**\n     * Returns debug information related to the current instance of Backburner\n     *\n     * @method getDebugInfo\n     * @returns {Object | undefined} Will return and Object containing debug information if\n     * the DEBUG flag is set to true on the current instance of Backburner, else undefined.\n     */\n    ;\n\n    _proto3.getDebugInfo = function getDebugInfo() {\n      var _this2 = this;\n\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].concat(this.instanceStack).map(function (deferredActionQueue) {\n            return deferredActionQueue && deferredActionQueue._getDebugInfo(_this2.DEBUG);\n          })\n        };\n      }\n\n      return undefined;\n    };\n\n    _proto3._end = function _end(fromAutorun) {\n      var currentInstance = this.currentInstance;\n      var nextInstance = null;\n\n      if (currentInstance === null) {\n        throw new Error(\"end called without begin\");\n      } // Prevent double-finally bug in Safari 6.0.2 and iOS 6\n      // This bug appears to be resolved in Safari 6.0.5 and iOS 7\n\n\n      var finallyAlreadyCalled = false;\n      var result;\n\n      try {\n        result = currentInstance.flush(fromAutorun);\n      } finally {\n        if (!finallyAlreadyCalled) {\n          finallyAlreadyCalled = true;\n\n          if (result === 1\n          /* Pause */\n          ) {\n              var plannedNextQueue = this.queueNames[currentInstance.queueNameIndex];\n\n              this._scheduleAutorun(plannedNextQueue);\n            } else {\n            this.currentInstance = null;\n\n            if (this.instanceStack.length > 0) {\n              nextInstance = this.instanceStack.pop();\n              this.currentInstance = nextInstance;\n            }\n\n            this._trigger('end', currentInstance, nextInstance);\n\n            this._onEnd(currentInstance, nextInstance);\n          }\n        }\n      }\n    };\n\n    _proto3._join = function _join(target, method, args) {\n      if (this.currentInstance === null) {\n        return this._run(target, method, args);\n      }\n\n      if (target === undefined && args === undefined) {\n        return method();\n      } else {\n        return method.apply(target, args);\n      }\n    };\n\n    _proto3._run = function _run(target, method, args) {\n      var onError = getOnError(this.options);\n      this.begin();\n\n      if (onError) {\n        try {\n          return method.apply(target, args);\n        } catch (error) {\n          onError(error);\n        } finally {\n          this.end();\n        }\n      } else {\n        try {\n          return method.apply(target, args);\n        } finally {\n          this.end();\n        }\n      }\n    };\n\n    _proto3._cancelAutorun = function _cancelAutorun() {\n      if (this._autorun) {\n        this._platform.clearNext();\n\n        this._autorun = false;\n        this._autorunStack = null;\n      }\n    };\n\n    _proto3._later = function _later(target, method, args, wait) {\n      var stack = this.DEBUG ? new Error() : undefined;\n      var executeAt = this._platform.now() + wait;\n      var id = UUID++;\n\n      if (this._timers.length === 0) {\n        this._timers.push(executeAt, id, target, method, args, stack);\n\n        this._installTimerTimeout();\n      } else {\n        // find position to insert\n        var i = binarySearch(executeAt, this._timers);\n\n        this._timers.splice(i, 0, executeAt, id, target, method, args, stack); // always reinstall since it could be out of sync\n\n\n        this._reinstallTimerTimeout();\n      }\n\n      return id;\n    };\n\n    _proto3._cancelLaterTimer = function _cancelLaterTimer(timer) {\n      for (var i = 1; i < this._timers.length; i += TIMERS_OFFSET) {\n        if (this._timers[i] === timer) {\n          this._timers.splice(i - 1, TIMERS_OFFSET);\n\n          if (i === 1) {\n            this._reinstallTimerTimeout();\n          }\n\n          return true;\n        }\n      }\n\n      return false;\n    }\n    /**\n     Trigger an event. Supports up to two arguments. Designed around\n     triggering transition events from one run loop instance to the\n     next, which requires an argument for the  instance and then\n     an argument for the next instance.\n        @private\n     @method _trigger\n     @param {String} eventName\n     @param {any} arg1\n     @param {any} arg2\n     */\n    ;\n\n    _proto3._trigger = function _trigger(eventName, arg1, arg2) {\n      var callbacks = this._eventCallbacks[eventName];\n\n      if (callbacks !== undefined) {\n        for (var i = 0; i < callbacks.length; i++) {\n          callbacks[i](arg1, arg2);\n        }\n      }\n    };\n\n    _proto3._runExpiredTimers = function _runExpiredTimers() {\n      this._timerTimeoutId = null;\n\n      if (this._timers.length > 0) {\n        this.begin();\n\n        this._scheduleExpiredTimers();\n\n        this.end();\n      }\n    };\n\n    _proto3._scheduleExpiredTimers = function _scheduleExpiredTimers() {\n      var timers = this._timers;\n      var i = 0;\n      var l = timers.length;\n      var defaultQueue = this._defaultQueue;\n\n      var n = this._platform.now();\n\n      for (; i < l; i += TIMERS_OFFSET) {\n        var executeAt = timers[i];\n\n        if (executeAt > n) {\n          break;\n        }\n\n        var args = timers[i + 4];\n\n        if (args !== DISABLE_SCHEDULE) {\n          var target = timers[i + 2];\n          var method = timers[i + 3];\n          var stack = timers[i + 5];\n          this.currentInstance.schedule(defaultQueue, target, method, args, false, stack);\n        }\n      }\n\n      timers.splice(0, i);\n\n      this._installTimerTimeout();\n    };\n\n    _proto3._reinstallTimerTimeout = function _reinstallTimerTimeout() {\n      this._clearTimerTimeout();\n\n      this._installTimerTimeout();\n    };\n\n    _proto3._clearTimerTimeout = function _clearTimerTimeout() {\n      if (this._timerTimeoutId === null) {\n        return;\n      }\n\n      this._platform.clearTimeout(this._timerTimeoutId);\n\n      this._timerTimeoutId = null;\n    };\n\n    _proto3._installTimerTimeout = function _installTimerTimeout() {\n      if (this._timers.length === 0) {\n        return;\n      }\n\n      var minExpiresAt = this._timers[0];\n\n      var n = this._platform.now();\n\n      var wait = Math.max(0, minExpiresAt - n);\n      this._timerTimeoutId = this._platform.setTimeout(this._boundRunExpiredTimers, wait);\n    };\n\n    _proto3._ensureInstance = function _ensureInstance() {\n      var currentInstance = this.currentInstance;\n\n      if (currentInstance === null) {\n        this._autorunStack = this.DEBUG ? new Error() : undefined;\n        currentInstance = this.begin();\n\n        this._scheduleAutorun(this.queueNames[0]);\n      }\n\n      return currentInstance;\n    };\n\n    _proto3._scheduleAutorun = function _scheduleAutorun(plannedNextQueue) {\n      autorunsCreatedCount++;\n      var next = this._platform.next;\n      var flush = this.options.flush;\n\n      if (flush) {\n        flush(plannedNextQueue, next);\n      } else {\n        next();\n      }\n\n      this._autorun = true;\n    };\n\n    (0, _emberBabel.createClass)(Backburner, [{\n      key: \"counters\",\n      get: function () {\n        return {\n          begin: beginCount,\n          end: endCount,\n          events: {\n            begin: beginEventCount,\n            end: endEventCount\n          },\n          autoruns: {\n            created: autorunsCreatedCount,\n            completed: autorunsCompletedCount\n          },\n          run: runCount,\n          join: joinCount,\n          defer: deferCount,\n          schedule: scheduleCount,\n          scheduleIterable: scheduleIterableCount,\n          deferOnce: deferOnceCount,\n          scheduleOnce: scheduleOnceCount,\n          setTimeout: setTimeoutCount,\n          later: laterCount,\n          throttle: throttleCount,\n          debounce: debounceCount,\n          cancelTimers: cancelTimersCount,\n          cancel: cancelCount,\n          loops: {\n            total: deferredActionQueuesCreatedCount,\n            nested: nestedDeferredActionQueuesCreated\n          }\n        };\n      }\n    }, {\n      key: \"defaultQueue\",\n      get: function () {\n        return this._defaultQueue;\n      }\n    }]);\n    return Backburner;\n  }();\n\n  Backburner.Queue = Queue;\n  Backburner.buildPlatform = buildPlatform;\n  Backburner.buildNext = buildNext;\n  var _default = Backburner;\n  _exports.default = _default;\n});","enifed(\"dag-map\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /**\n   * A topologically ordered map of key/value pairs with a simple API for adding constraints.\n   *\n   * Edges can forward reference keys that have not been added yet (the forward reference will\n   * map the key to undefined).\n   */\n  var DAG = function () {\n    function DAG() {\n      this._vertices = new Vertices();\n    }\n    /**\n     * Adds a key/value pair with dependencies on other key/value pairs.\n     *\n     * @public\n     * @param key    The key of the vertex to be added.\n     * @param value  The value of that vertex.\n     * @param before A key or array of keys of the vertices that must\n     *               be visited before this vertex.\n     * @param after  An string or array of strings with the keys of the\n     *               vertices that must be after this vertex is visited.\n     */\n\n\n    DAG.prototype.add = function (key, value, before, after) {\n      if (!key) throw new Error('argument `key` is required');\n      var vertices = this._vertices;\n      var v = vertices.add(key);\n      v.val = value;\n\n      if (before) {\n        if (typeof before === \"string\") {\n          vertices.addEdge(v, vertices.add(before));\n        } else {\n          for (var i = 0; i < before.length; i++) {\n            vertices.addEdge(v, vertices.add(before[i]));\n          }\n        }\n      }\n\n      if (after) {\n        if (typeof after === \"string\") {\n          vertices.addEdge(vertices.add(after), v);\n        } else {\n          for (var i = 0; i < after.length; i++) {\n            vertices.addEdge(vertices.add(after[i]), v);\n          }\n        }\n      }\n    };\n    /**\n     * @deprecated please use add.\n     */\n\n\n    DAG.prototype.addEdges = function (key, value, before, after) {\n      this.add(key, value, before, after);\n    };\n    /**\n     * Visits key/value pairs in topological order.\n     *\n     * @public\n     * @param callback The function to be invoked with each key/value.\n     */\n\n\n    DAG.prototype.each = function (callback) {\n      this._vertices.walk(callback);\n    };\n    /**\n     * @deprecated please use each.\n     */\n\n\n    DAG.prototype.topsort = function (callback) {\n      this.each(callback);\n    };\n\n    return DAG;\n  }();\n\n  var _default = DAG;\n  /** @private */\n\n  _exports.default = _default;\n\n  var Vertices = function () {\n    function Vertices() {\n      this.length = 0;\n      this.stack = new IntStack();\n      this.path = new IntStack();\n      this.result = new IntStack();\n    }\n\n    Vertices.prototype.add = function (key) {\n      if (!key) throw new Error(\"missing key\");\n      var l = this.length | 0;\n      var vertex;\n\n      for (var i = 0; i < l; i++) {\n        vertex = this[i];\n        if (vertex.key === key) return vertex;\n      }\n\n      this.length = l + 1;\n      return this[l] = {\n        idx: l,\n        key: key,\n        val: undefined,\n        out: false,\n        flag: false,\n        length: 0\n      };\n    };\n\n    Vertices.prototype.addEdge = function (v, w) {\n      this.check(v, w.key);\n      var l = w.length | 0;\n\n      for (var i = 0; i < l; i++) {\n        if (w[i] === v.idx) return;\n      }\n\n      w.length = l + 1;\n      w[l] = v.idx;\n      v.out = true;\n    };\n\n    Vertices.prototype.walk = function (cb) {\n      this.reset();\n\n      for (var i = 0; i < this.length; i++) {\n        var vertex = this[i];\n        if (vertex.out) continue;\n        this.visit(vertex, \"\");\n      }\n\n      this.each(this.result, cb);\n    };\n\n    Vertices.prototype.check = function (v, w) {\n      if (v.key === w) {\n        throw new Error(\"cycle detected: \" + w + \" <- \" + w);\n      } // quick check\n\n\n      if (v.length === 0) return; // shallow check\n\n      for (var i = 0; i < v.length; i++) {\n        var key = this[v[i]].key;\n\n        if (key === w) {\n          throw new Error(\"cycle detected: \" + w + \" <- \" + v.key + \" <- \" + w);\n        }\n      } // deep check\n\n\n      this.reset();\n      this.visit(v, w);\n\n      if (this.path.length > 0) {\n        var msg_1 = \"cycle detected: \" + w;\n        this.each(this.path, function (key) {\n          msg_1 += \" <- \" + key;\n        });\n        throw new Error(msg_1);\n      }\n    };\n\n    Vertices.prototype.reset = function () {\n      this.stack.length = 0;\n      this.path.length = 0;\n      this.result.length = 0;\n\n      for (var i = 0, l = this.length; i < l; i++) {\n        this[i].flag = false;\n      }\n    };\n\n    Vertices.prototype.visit = function (start, search) {\n      var _a = this,\n          stack = _a.stack,\n          path = _a.path,\n          result = _a.result;\n\n      stack.push(start.idx);\n\n      while (stack.length) {\n        var index = stack.pop() | 0;\n\n        if (index >= 0) {\n          // enter\n          var vertex = this[index];\n          if (vertex.flag) continue;\n          vertex.flag = true;\n          path.push(index);\n          if (search === vertex.key) break; // push exit\n\n          stack.push(~index);\n          this.pushIncoming(vertex);\n        } else {\n          // exit\n          path.pop();\n          result.push(~index);\n        }\n      }\n    };\n\n    Vertices.prototype.pushIncoming = function (incomming) {\n      var stack = this.stack;\n\n      for (var i = incomming.length - 1; i >= 0; i--) {\n        var index = incomming[i];\n\n        if (!this[index].flag) {\n          stack.push(index);\n        }\n      }\n    };\n\n    Vertices.prototype.each = function (indices, cb) {\n      for (var i = 0, l = indices.length; i < l; i++) {\n        var vertex = this[indices[i]];\n        cb(vertex.key, vertex.val);\n      }\n    };\n\n    return Vertices;\n  }();\n  /** @private */\n\n\n  var IntStack = function () {\n    function IntStack() {\n      this.length = 0;\n    }\n\n    IntStack.prototype.push = function (n) {\n      this[this.length++] = n | 0;\n    };\n\n    IntStack.prototype.pop = function () {\n      return this[--this.length] | 0;\n    };\n\n    return IntStack;\n  }();\n});","enifed(\"ember-babel\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.wrapNativeSuper = wrapNativeSuper;\n  _exports.classCallCheck = classCallCheck;\n  _exports.inheritsLoose = inheritsLoose;\n  _exports.taggedTemplateLiteralLoose = taggedTemplateLiteralLoose;\n  _exports.createClass = createClass;\n  _exports.assertThisInitialized = assertThisInitialized;\n  _exports.possibleConstructorReturn = possibleConstructorReturn;\n  _exports.objectDestructuringEmpty = objectDestructuringEmpty;\n  var setPrototypeOf = Object.setPrototypeOf;\n  var nativeWrapperCache = new Map(); // Super minimal version of Babel's wrapNativeSuper. We only use this for\n  // extending Function, for ComputedDecoratorImpl and AliasDecoratorImpl. We know\n  // we will never directly create an instance of these classes so no need to\n  // include `construct` code or other helpers.\n\n  function wrapNativeSuper(Class) {\n    if (nativeWrapperCache.has(Class)) {\n      return nativeWrapperCache.get(Class);\n    }\n\n    function Wrapper() {}\n\n    Wrapper.prototype = Object.create(Class.prototype, {\n      constructor: {\n        value: Wrapper,\n        enumerable: false,\n        writable: true,\n        configurable: true\n      }\n    });\n    nativeWrapperCache.set(Class, Wrapper);\n    return setPrototypeOf(Wrapper, Class);\n  }\n\n  function classCallCheck(instance, Constructor) {\n    if (true\n    /* DEBUG */\n    ) {\n        if (!(instance instanceof Constructor)) {\n          throw new TypeError('Cannot call a class as a function');\n        }\n      }\n  }\n  /*\n    Overrides default `inheritsLoose` to _also_ call `Object.setPrototypeOf`.\n    This is needed so that we can use `loose` option with the\n    `@babel/plugin-transform-classes` (because we want simple assignment to the\n    prototype whereever possible) but also keep our constructor based prototypal\n    inheritance working properly\n  */\n\n\n  function inheritsLoose(subClass, superClass) {\n    if (true\n    /* DEBUG */\n    ) {\n        if (typeof superClass !== 'function' && superClass !== null) {\n          throw new TypeError('Super expression must either be null or a function');\n        }\n      }\n\n    subClass.prototype = Object.create(superClass === null ? null : superClass.prototype, {\n      constructor: {\n        value: subClass,\n        writable: true,\n        configurable: true\n      }\n    });\n\n    if (superClass !== null) {\n      setPrototypeOf(subClass, superClass);\n    }\n  }\n\n  function taggedTemplateLiteralLoose(strings, raw) {\n    if (!raw) {\n      raw = strings.slice(0);\n    }\n\n    strings.raw = raw;\n    return strings;\n  }\n\n  function _defineProperties(target, props) {\n    for (var i = 0; i < props.length; i++) {\n      var descriptor = props[i];\n      descriptor.enumerable = descriptor.enumerable || false;\n      descriptor.configurable = true;\n      if ('value' in descriptor) descriptor.writable = true;\n      Object.defineProperty(target, descriptor.key, descriptor);\n    }\n  }\n  /*\n    Differs from default implementation by avoiding boolean coercion of\n    `protoProps` and `staticProps`.\n  */\n\n\n  function createClass(Constructor, protoProps, staticProps) {\n    if (protoProps !== null && protoProps !== undefined) {\n      _defineProperties(Constructor.prototype, protoProps);\n    }\n\n    if (staticProps !== null && staticProps !== undefined) {\n      _defineProperties(Constructor, staticProps);\n    }\n\n    return Constructor;\n  }\n\n  function assertThisInitialized(self) {\n    if (true\n    /* DEBUG */\n    && self === void 0) {\n      throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n    }\n\n    return self;\n  }\n  /*\n    Adds `DEBUG` guard to error being thrown, and avoids boolean coercion of `call`.\n  */\n\n\n  function possibleConstructorReturn(self, call) {\n    if (typeof call === 'object' && call !== null || typeof call === 'function') {\n      return call;\n    }\n\n    return assertThisInitialized(self);\n  }\n\n  function objectDestructuringEmpty(obj) {\n    if (true\n    /* DEBUG */\n    && (obj === null || obj === undefined)) {\n      throw new TypeError('Cannot destructure undefined');\n    }\n  }\n});","enifed(\"ember-testing/index\", [\"exports\", \"ember-testing/lib/test\", \"ember-testing/lib/adapters/adapter\", \"ember-testing/lib/setup_for_testing\", \"ember-testing/lib/adapters/qunit\", \"ember-testing/lib/support\", \"ember-testing/lib/ext/application\", \"ember-testing/lib/ext/rsvp\", \"ember-testing/lib/helpers\", \"ember-testing/lib/initializers\"], function (_exports, _test, _adapter, _setup_for_testing, _qunit, _support, _application, _rsvp, _helpers, _initializers) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"Test\", {\n    enumerable: true,\n    get: function () {\n      return _test.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Adapter\", {\n    enumerable: true,\n    get: function () {\n      return _adapter.default;\n    }\n  });\n  Object.defineProperty(_exports, \"setupForTesting\", {\n    enumerable: true,\n    get: function () {\n      return _setup_for_testing.default;\n    }\n  });\n  Object.defineProperty(_exports, \"QUnitAdapter\", {\n    enumerable: true,\n    get: function () {\n      return _qunit.default;\n    }\n  });\n});","enifed(\"ember-testing/lib/adapters/adapter\", [\"exports\", \"@ember/-internals/runtime\"], function (_exports, _runtime) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  function K() {\n    return this;\n  }\n  /**\n   @module @ember/test\n  */\n\n  /**\n    The primary purpose of this class is to create hooks that can be implemented\n    by an adapter for various test frameworks.\n  \n    @class TestAdapter\n    @public\n  */\n\n\n  var _default = _runtime.Object.extend({\n    /**\n      This callback will be called whenever an async operation is about to start.\n       Override this to call your framework's methods that handle async\n      operations.\n       @public\n      @method asyncStart\n    */\n    asyncStart: K,\n\n    /**\n      This callback will be called whenever an async operation has completed.\n       @public\n      @method asyncEnd\n    */\n    asyncEnd: K,\n\n    /**\n      Override this method with your testing framework's false assertion.\n      This function is called whenever an exception occurs causing the testing\n      promise to fail.\n       QUnit example:\n       ```javascript\n        exception: function(error) {\n          ok(false, error);\n        };\n      ```\n       @public\n      @method exception\n      @param {String} error The exception to be raised.\n    */\n    exception: function (error) {\n      throw error;\n    }\n  });\n\n  _exports.default = _default;\n});","enifed(\"ember-testing/lib/adapters/qunit\", [\"exports\", \"@ember/-internals/utils\", \"ember-testing/lib/adapters/adapter\"], function (_exports, _utils, _adapter) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  /* globals QUnit */\n\n  /**\n     @module ember\n  */\n\n  /**\n    This class implements the methods defined by TestAdapter for the\n    QUnit testing framework.\n  \n    @class QUnitAdapter\n    @namespace Ember.Test\n    @extends TestAdapter\n    @public\n  */\n  var _default = _adapter.default.extend({\n    init: function () {\n      this.doneCallbacks = [];\n    },\n    asyncStart: function () {\n      if (typeof QUnit.stop === 'function') {\n        // very old QUnit version\n        QUnit.stop();\n      } else {\n        this.doneCallbacks.push(QUnit.config.current ? QUnit.config.current.assert.async() : null);\n      }\n    },\n    asyncEnd: function () {\n      // checking for QUnit.stop here (even though we _need_ QUnit.start) because\n      // QUnit.start() still exists in QUnit 2.x (it just throws an error when calling\n      // inside a test context)\n      if (typeof QUnit.stop === 'function') {\n        QUnit.start();\n      } else {\n        var done = this.doneCallbacks.pop(); // This can be null if asyncStart() was called outside of a test\n\n        if (done) {\n          done();\n        }\n      }\n    },\n    exception: function (error) {\n      QUnit.config.current.assert.ok(false, (0, _utils.inspect)(error));\n    }\n  });\n\n  _exports.default = _default;\n});","enifed(\"ember-testing/lib/events\", [\"exports\", \"@ember/runloop\", \"@ember/polyfills\", \"ember-testing/lib/helpers/-is-form-control\"], function (_exports, _runloop, _polyfills, _isFormControl) {\n  \"use strict\";\n\n  _exports.focus = focus;\n  _exports.fireEvent = fireEvent;\n  var DEFAULT_EVENT_OPTIONS = {\n    canBubble: true,\n    cancelable: true\n  };\n  var KEYBOARD_EVENT_TYPES = ['keydown', 'keypress', 'keyup'];\n  var MOUSE_EVENT_TYPES = ['click', 'mousedown', 'mouseup', 'dblclick', 'mouseenter', 'mouseleave', 'mousemove', 'mouseout', 'mouseover'];\n\n  function focus(el) {\n    if (!el) {\n      return;\n    }\n\n    if (el.isContentEditable || (0, _isFormControl.default)(el)) {\n      var type = el.getAttribute('type');\n\n      if (type !== 'checkbox' && type !== 'radio' && type !== 'hidden') {\n        (0, _runloop.run)(null, function () {\n          var browserIsNotFocused = document.hasFocus && !document.hasFocus(); // makes `document.activeElement` be `element`. If the browser is focused, it also fires a focus event\n\n          el.focus(); // Firefox does not trigger the `focusin` event if the window\n          // does not have focus. If the document does not have focus then\n          // fire `focusin` event as well.\n\n          if (browserIsNotFocused) {\n            // if the browser is not focused the previous `el.focus()` didn't fire an event, so we simulate it\n            fireEvent(el, 'focus', {\n              bubbles: false\n            });\n            fireEvent(el, 'focusin');\n          }\n        });\n      }\n    }\n  }\n\n  function fireEvent(element, type) {\n    var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n    if (!element) {\n      return;\n    }\n\n    var event;\n\n    if (KEYBOARD_EVENT_TYPES.indexOf(type) > -1) {\n      event = buildKeyboardEvent(type, options);\n    } else if (MOUSE_EVENT_TYPES.indexOf(type) > -1) {\n      var rect = element.getBoundingClientRect();\n      var x = rect.left + 1;\n      var y = rect.top + 1;\n      var simulatedCoordinates = {\n        screenX: x + 5,\n        screenY: y + 95,\n        clientX: x,\n        clientY: y\n      };\n      event = buildMouseEvent(type, (0, _polyfills.assign)(simulatedCoordinates, options));\n    } else {\n      event = buildBasicEvent(type, options);\n    }\n\n    element.dispatchEvent(event);\n  }\n\n  function buildBasicEvent(type) {\n    var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n    var event = document.createEvent('Events'); // Event.bubbles is read only\n\n    var bubbles = options.bubbles !== undefined ? options.bubbles : true;\n    var cancelable = options.cancelable !== undefined ? options.cancelable : true;\n    delete options.bubbles;\n    delete options.cancelable;\n    event.initEvent(type, bubbles, cancelable);\n    (0, _polyfills.assign)(event, options);\n    return event;\n  }\n\n  function buildMouseEvent(type) {\n    var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n    var event;\n\n    try {\n      event = document.createEvent('MouseEvents');\n      var eventOpts = (0, _polyfills.assign)({}, DEFAULT_EVENT_OPTIONS, options);\n      event.initMouseEvent(type, eventOpts.canBubble, eventOpts.cancelable, window, eventOpts.detail, eventOpts.screenX, eventOpts.screenY, eventOpts.clientX, eventOpts.clientY, eventOpts.ctrlKey, eventOpts.altKey, eventOpts.shiftKey, eventOpts.metaKey, eventOpts.button, eventOpts.relatedTarget);\n    } catch (e) {\n      event = buildBasicEvent(type, options);\n    }\n\n    return event;\n  }\n\n  function buildKeyboardEvent(type) {\n    var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n    var event;\n\n    try {\n      event = document.createEvent('KeyEvents');\n      var eventOpts = (0, _polyfills.assign)({}, DEFAULT_EVENT_OPTIONS, options);\n      event.initKeyEvent(type, eventOpts.canBubble, eventOpts.cancelable, window, eventOpts.ctrlKey, eventOpts.altKey, eventOpts.shiftKey, eventOpts.metaKey, eventOpts.keyCode, eventOpts.charCode);\n    } catch (e) {\n      event = buildBasicEvent(type, options);\n    }\n\n    return event;\n  }\n});","enifed(\"ember-testing/lib/ext/application\", [\"@ember/application\", \"ember-testing/lib/setup_for_testing\", \"ember-testing/lib/test/helpers\", \"ember-testing/lib/test/promise\", \"ember-testing/lib/test/run\", \"ember-testing/lib/test/on_inject_helpers\", \"ember-testing/lib/test/adapter\"], function (_application, _setup_for_testing, _helpers, _promise, _run, _on_inject_helpers, _adapter) {\n  \"use strict\";\n\n  _application.default.reopen({\n    /**\n     This property contains the testing helpers for the current application. These\n     are created once you call `injectTestHelpers` on your `Application`\n     instance. The included helpers are also available on the `window` object by\n     default, but can be used from this object on the individual application also.\n       @property testHelpers\n      @type {Object}\n      @default {}\n      @public\n    */\n    testHelpers: {},\n\n    /**\n     This property will contain the original methods that were registered\n     on the `helperContainer` before `injectTestHelpers` is called.\n      When `removeTestHelpers` is called, these methods are restored to the\n     `helperContainer`.\n       @property originalMethods\n      @type {Object}\n      @default {}\n      @private\n      @since 1.3.0\n    */\n    originalMethods: {},\n\n    /**\n    This property indicates whether or not this application is currently in\n    testing mode. This is set when `setupForTesting` is called on the current\n    application.\n     @property testing\n    @type {Boolean}\n    @default false\n    @since 1.3.0\n    @public\n    */\n    testing: false,\n\n    /**\n      This hook defers the readiness of the application, so that you can start\n      the app when your tests are ready to run. It also sets the router's\n      location to 'none', so that the window's location will not be modified\n      (preventing both accidental leaking of state between tests and interference\n      with your testing framework). `setupForTesting` should only be called after\n      setting a custom `router` class (for example `App.Router = Router.extend(`).\n       Example:\n       ```\n      App.setupForTesting();\n      ```\n       @method setupForTesting\n      @public\n    */\n    setupForTesting: function () {\n      (0, _setup_for_testing.default)();\n      this.testing = true;\n      this.resolveRegistration('router:main').reopen({\n        location: 'none'\n      });\n    },\n\n    /**\n      This will be used as the container to inject the test helpers into. By\n      default the helpers are injected into `window`.\n       @property helperContainer\n      @type {Object} The object to be used for test helpers.\n      @default window\n      @since 1.2.0\n      @private\n    */\n    helperContainer: null,\n\n    /**\n      This injects the test helpers into the `helperContainer` object. If an object is provided\n      it will be used as the helperContainer. If `helperContainer` is not set it will default\n      to `window`. If a function of the same name has already been defined it will be cached\n      (so that it can be reset if the helper is removed with `unregisterHelper` or\n      `removeTestHelpers`).\n       Any callbacks registered with `onInjectHelpers` will be called once the\n      helpers have been injected.\n       Example:\n      ```\n      App.injectTestHelpers();\n      ```\n       @method injectTestHelpers\n      @public\n    */\n    injectTestHelpers: function (helperContainer) {\n      if (helperContainer) {\n        this.helperContainer = helperContainer;\n      } else {\n        this.helperContainer = window;\n      }\n\n      this.reopen({\n        willDestroy: function () {\n          this._super.apply(this, arguments);\n\n          this.removeTestHelpers();\n        }\n      });\n      this.testHelpers = {};\n\n      for (var name in _helpers.helpers) {\n        this.originalMethods[name] = this.helperContainer[name];\n        this.testHelpers[name] = this.helperContainer[name] = helper(this, name);\n        protoWrap(_promise.default.prototype, name, helper(this, name), _helpers.helpers[name].meta.wait);\n      }\n\n      (0, _on_inject_helpers.invokeInjectHelpersCallbacks)(this);\n    },\n\n    /**\n      This removes all helpers that have been registered, and resets and functions\n      that were overridden by the helpers.\n       Example:\n       ```javascript\n      App.removeTestHelpers();\n      ```\n       @public\n      @method removeTestHelpers\n    */\n    removeTestHelpers: function () {\n      if (!this.helperContainer) {\n        return;\n      }\n\n      for (var name in _helpers.helpers) {\n        this.helperContainer[name] = this.originalMethods[name];\n        delete _promise.default.prototype[name];\n        delete this.testHelpers[name];\n        delete this.originalMethods[name];\n      }\n    }\n  }); // This method is no longer needed\n  // But still here for backwards compatibility\n  // of helper chaining\n\n\n  function protoWrap(proto, name, callback, isAsync) {\n    proto[name] = function () {\n      for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n\n      if (isAsync) {\n        return callback.apply(this, args);\n      } else {\n        return this.then(function () {\n          return callback.apply(this, args);\n        });\n      }\n    };\n  }\n\n  function helper(app, name) {\n    var fn = _helpers.helpers[name].method;\n    var meta = _helpers.helpers[name].meta;\n\n    if (!meta.wait) {\n      return function () {\n        for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n          args[_key2] = arguments[_key2];\n        }\n\n        return fn.apply(app, [app].concat(args));\n      };\n    }\n\n    return function () {\n      for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n        args[_key3] = arguments[_key3];\n      }\n\n      var lastPromise = (0, _run.default)(function () {\n        return (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\n      (0, _adapter.asyncStart)();\n      return lastPromise.then(function () {\n        return fn.apply(app, [app].concat(args));\n      }).finally(_adapter.asyncEnd);\n    };\n  }\n});","enifed(\"ember-testing/lib/ext/rsvp\", [\"exports\", \"@ember/-internals/runtime\", \"@ember/runloop\", \"@ember/debug\", \"ember-testing/lib/test/adapter\"], function (_exports, _runtime, _runloop, _debug, _adapter) {\n  \"use strict\";\n\n  _exports.default = void 0;\n\n  _runtime.RSVP.configure('async', function (callback, promise) {\n    // if schedule will cause autorun, we need to inform adapter\n    if ((0, _debug.isTesting)() && !_runloop.backburner.currentInstance) {\n      (0, _adapter.asyncStart)();\n\n      _runloop.backburner.schedule('actions', function () {\n        (0, _adapter.asyncEnd)();\n        callback(promise);\n      });\n    } else {\n      _runloop.backburner.schedule('actions', function () {\n        return callback(promise);\n      });\n    }\n  });\n\n  var _default = _runtime.RSVP;\n  _exports.default = _default;\n});","enifed(\"ember-testing/lib/helpers\", [\"ember-testing/lib/test/helpers\", \"ember-testing/lib/helpers/and_then\", \"ember-testing/lib/helpers/click\", \"ember-testing/lib/helpers/current_path\", \"ember-testing/lib/helpers/current_route_name\", \"ember-testing/lib/helpers/current_url\", \"ember-testing/lib/helpers/fill_in\", \"ember-testing/lib/helpers/find\", \"ember-testing/lib/helpers/find_with_assert\", \"ember-testing/lib/helpers/key_event\", \"ember-testing/lib/helpers/pause_test\", \"ember-testing/lib/helpers/trigger_event\", \"ember-testing/lib/helpers/visit\", \"ember-testing/lib/helpers/wait\"], function (_helpers, _and_then, _click, _current_path, _current_route_name, _current_url, _fill_in, _find, _find_with_assert, _key_event, _pause_test, _trigger_event, _visit, _wait) {\n  \"use strict\";\n\n  (0, _helpers.registerAsyncHelper)('visit', _visit.default);\n  (0, _helpers.registerAsyncHelper)('click', _click.default);\n  (0, _helpers.registerAsyncHelper)('keyEvent', _key_event.default);\n  (0, _helpers.registerAsyncHelper)('fillIn', _fill_in.default);\n  (0, _helpers.registerAsyncHelper)('wait', _wait.default);\n  (0, _helpers.registerAsyncHelper)('andThen', _and_then.default);\n  (0, _helpers.registerAsyncHelper)('pauseTest', _pause_test.pauseTest);\n  (0, _helpers.registerAsyncHelper)('triggerEvent', _trigger_event.default);\n  (0, _helpers.registerHelper)('find', _find.default);\n  (0, _helpers.registerHelper)('findWithAssert', _find_with_assert.default);\n  (0, _helpers.registerHelper)('currentRouteName', _current_route_name.default);\n  (0, _helpers.registerHelper)('currentPath', _current_path.default);\n  (0, _helpers.registerHelper)('currentURL', _current_url.default);\n  (0, _helpers.registerHelper)('resumeTest', _pause_test.resumeTest);\n});","enifed(\"ember-testing/lib/helpers/-is-form-control\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.default = isFormControl;\n  var FORM_CONTROL_TAGS = ['INPUT', 'BUTTON', 'SELECT', 'TEXTAREA'];\n  /**\n    @private\n    @param {Element} element the element to check\n    @returns {boolean} `true` when the element is a form control, `false` otherwise\n  */\n\n  function isFormControl(element) {\n    var tagName = element.tagName,\n        type = element.type;\n\n    if (type === 'hidden') {\n      return false;\n    }\n\n    return FORM_CONTROL_TAGS.indexOf(tagName) > -1;\n  }\n});","enifed(\"ember-testing/lib/helpers/and_then\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.default = andThen;\n\n  function andThen(app, callback) {\n    return app.testHelpers.wait(callback(app));\n  }\n});","enifed(\"ember-testing/lib/helpers/click\", [\"exports\", \"ember-testing/lib/events\"], function (_exports, _events) {\n  \"use strict\";\n\n  _exports.default = click;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Clicks an element and triggers any actions triggered by the element's `click`\n    event.\n  \n    Example:\n  \n    ```javascript\n    click('.some-jQuery-selector').then(function() {\n      // assert something\n    });\n    ```\n  \n    @method click\n    @param {String} selector jQuery selector for finding element on the DOM\n    @param {Object} context A DOM Element, Document, or jQuery to use as context\n    @return {RSVP.Promise<undefined>}\n    @public\n  */\n  function click(app, selector, context) {\n    var $el = app.testHelpers.findWithAssert(selector, context);\n    var el = $el[0];\n    (0, _events.fireEvent)(el, 'mousedown');\n    (0, _events.focus)(el);\n    (0, _events.fireEvent)(el, 'mouseup');\n    (0, _events.fireEvent)(el, 'click');\n    return app.testHelpers.wait();\n  }\n});","enifed(\"ember-testing/lib/helpers/current_path\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  _exports.default = currentPath;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Returns the current path.\n  \n  Example:\n  \n  ```javascript\n  function validateURL() {\n    equal(currentPath(), 'some.path.index', \"correct path was transitioned into.\");\n  }\n  \n  click('#some-link-id').then(validateURL);\n  ```\n  \n  @method currentPath\n  @return {Object} The currently active path.\n  @since 1.5.0\n  @public\n  */\n  function currentPath(app) {\n    var routingService = app.__container__.lookup('service:-routing');\n\n    return (0, _metal.get)(routingService, 'currentPath');\n  }\n});","enifed(\"ember-testing/lib/helpers/current_route_name\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  _exports.default = currentRouteName;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Returns the currently active route name.\n  \n  Example:\n  \n  ```javascript\n  function validateRouteName() {\n    equal(currentRouteName(), 'some.path', \"correct route was transitioned into.\");\n  }\n  visit('/some/path').then(validateRouteName)\n  ```\n  \n  @method currentRouteName\n  @return {Object} The name of the currently active route.\n  @since 1.5.0\n  @public\n  */\n  function currentRouteName(app) {\n    var routingService = app.__container__.lookup('service:-routing');\n\n    return (0, _metal.get)(routingService, 'currentRouteName');\n  }\n});","enifed(\"ember-testing/lib/helpers/current_url\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  _exports.default = currentURL;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Returns the current URL.\n  \n  Example:\n  \n  ```javascript\n  function validateURL() {\n    equal(currentURL(), '/some/path', \"correct URL was transitioned into.\");\n  }\n  \n  click('#some-link-id').then(validateURL);\n  ```\n  \n  @method currentURL\n  @return {Object} The currently active URL.\n  @since 1.5.0\n  @public\n  */\n  function currentURL(app) {\n    var router = app.__container__.lookup('router:main');\n\n    return (0, _metal.get)(router, 'location').getURL();\n  }\n});","enifed(\"ember-testing/lib/helpers/fill_in\", [\"exports\", \"ember-testing/lib/events\", \"ember-testing/lib/helpers/-is-form-control\"], function (_exports, _events, _isFormControl) {\n  \"use strict\";\n\n  _exports.default = fillIn;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Fills in an input element with some text.\n  \n    Example:\n  \n    ```javascript\n    fillIn('#email', 'you@example.com').then(function() {\n      // assert something\n    });\n    ```\n  \n    @method fillIn\n    @param {String} selector jQuery selector finding an input element on the DOM\n    to fill text with\n    @param {String} text text to place inside the input element\n    @return {RSVP.Promise<undefined>}\n    @public\n  */\n  function fillIn(app, selector, contextOrText, text) {\n    var $el, el, context;\n\n    if (text === undefined) {\n      text = contextOrText;\n    } else {\n      context = contextOrText;\n    }\n\n    $el = app.testHelpers.findWithAssert(selector, context);\n    el = $el[0];\n    (0, _events.focus)(el);\n\n    if ((0, _isFormControl.default)(el)) {\n      el.value = text;\n    } else {\n      el.innerHTML = text;\n    }\n\n    (0, _events.fireEvent)(el, 'input');\n    (0, _events.fireEvent)(el, 'change');\n    return app.testHelpers.wait();\n  }\n});","enifed(\"ember-testing/lib/helpers/find\", [\"exports\", \"@ember/-internals/metal\", \"@ember/debug\", \"@ember/-internals/views\"], function (_exports, _metal, _debug, _views) {\n  \"use strict\";\n\n  _exports.default = find;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Finds an element in the context of the app's container element. A simple alias\n    for `app.$(selector)`.\n  \n    Example:\n  \n    ```javascript\n    var $el = find('.my-selector');\n    ```\n  \n    With the `context` param:\n  \n    ```javascript\n    var $el = find('.my-selector', '.parent-element-class');\n    ```\n  \n    @method find\n    @param {String} selector jQuery selector for element lookup\n    @param {String} [context] (optional) jQuery selector that will limit the selector\n                              argument to find only within the context's children\n    @return {Object} DOM element representing the results of the query\n    @public\n  */\n  function find(app, selector, context) {\n    if (_views.jQueryDisabled) {\n      true && !false && (0, _debug.assert)('If jQuery is disabled, please import and use helpers from @ember/test-helpers [https://github.com/emberjs/ember-test-helpers]. Note: `find` is not an available helper.');\n    }\n\n    var $el;\n    context = context || (0, _metal.get)(app, 'rootElement');\n    $el = app.$(selector, context);\n    return $el;\n  }\n});","enifed(\"ember-testing/lib/helpers/find_with_assert\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.default = findWithAssert;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Like `find`, but throws an error if the element selector returns no results.\n  \n    Example:\n  \n    ```javascript\n    var $el = findWithAssert('.doesnt-exist'); // throws error\n    ```\n  \n    With the `context` param:\n  \n    ```javascript\n    var $el = findWithAssert('.selector-id', '.parent-element-class'); // assert will pass\n    ```\n  \n    @method findWithAssert\n    @param {String} selector jQuery selector string for finding an element within\n    the DOM\n    @param {String} [context] (optional) jQuery selector that will limit the\n    selector argument to find only within the context's children\n    @return {Object} jQuery object representing the results of the query\n    @throws {Error} throws error if object returned has a length of 0\n    @public\n  */\n  function findWithAssert(app, selector, context) {\n    var $el = app.testHelpers.find(selector, context);\n\n    if ($el.length === 0) {\n      throw new Error('Element ' + selector + ' not found.');\n    }\n\n    return $el;\n  }\n});","enifed(\"ember-testing/lib/helpers/key_event\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.default = keyEvent;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Simulates a key event, e.g. `keypress`, `keydown`, `keyup` with the desired keyCode\n    Example:\n    ```javascript\n    keyEvent('.some-jQuery-selector', 'keypress', 13).then(function() {\n     // assert something\n    });\n    ```\n    @method keyEvent\n    @param {String} selector jQuery selector for finding element on the DOM\n    @param {String} type the type of key event, e.g. `keypress`, `keydown`, `keyup`\n    @param {Number} keyCode the keyCode of the simulated key event\n    @return {RSVP.Promise<undefined>}\n    @since 1.5.0\n    @public\n  */\n  function keyEvent(app, selector, contextOrType, typeOrKeyCode, keyCode) {\n    var context, type;\n\n    if (keyCode === undefined) {\n      context = null;\n      keyCode = typeOrKeyCode;\n      type = contextOrType;\n    } else {\n      context = contextOrType;\n      type = typeOrKeyCode;\n    }\n\n    return app.testHelpers.triggerEvent(selector, context, type, {\n      keyCode: keyCode,\n      which: keyCode\n    });\n  }\n});","enifed(\"ember-testing/lib/helpers/pause_test\", [\"exports\", \"@ember/-internals/runtime\", \"@ember/debug\"], function (_exports, _runtime, _debug) {\n  \"use strict\";\n\n  _exports.resumeTest = resumeTest;\n  _exports.pauseTest = pauseTest;\n\n  /**\n  @module ember\n  */\n  var resume;\n  /**\n   Resumes a test paused by `pauseTest`.\n  \n   @method resumeTest\n   @return {void}\n   @public\n  */\n\n  function resumeTest() {\n    true && !resume && (0, _debug.assert)('Testing has not been paused. There is nothing to resume.', resume);\n    resume();\n    resume = undefined;\n  }\n  /**\n   Pauses the current test - this is useful for debugging while testing or for test-driving.\n   It allows you to inspect the state of your application at any point.\n   Example (The test will pause before clicking the button):\n  \n   ```javascript\n   visit('/')\n   return pauseTest();\n   click('.btn');\n   ```\n  \n   You may want to turn off the timeout before pausing.\n  \n   qunit (timeout available to use as of 2.4.0):\n  \n   ```\n   visit('/');\n   assert.timeout(0);\n   return pauseTest();\n   click('.btn');\n   ```\n  \n   mocha (timeout happens automatically as of ember-mocha v0.14.0):\n  \n   ```\n   visit('/');\n   this.timeout(0);\n   return pauseTest();\n   click('.btn');\n   ```\n  \n  \n   @since 1.9.0\n   @method pauseTest\n   @return {Object} A promise that will never resolve\n   @public\n  */\n\n\n  function pauseTest() {\n    (0, _debug.info)('Testing paused. Use `resumeTest()` to continue.');\n    return new _runtime.RSVP.Promise(function (resolve) {\n      resume = resolve;\n    }, 'TestAdapter paused promise');\n  }\n});","enifed(\"ember-testing/lib/helpers/trigger_event\", [\"exports\", \"ember-testing/lib/events\"], function (_exports, _events) {\n  \"use strict\";\n\n  _exports.default = triggerEvent;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Triggers the given DOM event on the element identified by the provided selector.\n    Example:\n    ```javascript\n    triggerEvent('#some-elem-id', 'blur');\n    ```\n    This is actually used internally by the `keyEvent` helper like so:\n    ```javascript\n    triggerEvent('#some-elem-id', 'keypress', { keyCode: 13 });\n    ```\n   @method triggerEvent\n   @param {String} selector jQuery selector for finding element on the DOM\n   @param {String} [context] jQuery selector that will limit the selector\n                             argument to find only within the context's children\n   @param {String} type The event type to be triggered.\n   @param {Object} [options] The options to be passed to jQuery.Event.\n   @return {RSVP.Promise<undefined>}\n   @since 1.5.0\n   @public\n  */\n  function triggerEvent(app, selector, contextOrType, typeOrOptions, possibleOptions) {\n    var arity = arguments.length;\n    var context, type, options;\n\n    if (arity === 3) {\n      // context and options are optional, so this is\n      // app, selector, type\n      context = null;\n      type = contextOrType;\n      options = {};\n    } else if (arity === 4) {\n      // context and options are optional, so this is\n      if (typeof typeOrOptions === 'object') {\n        // either\n        // app, selector, type, options\n        context = null;\n        type = contextOrType;\n        options = typeOrOptions;\n      } else {\n        // or\n        // app, selector, context, type\n        context = contextOrType;\n        type = typeOrOptions;\n        options = {};\n      }\n    } else {\n      context = contextOrType;\n      type = typeOrOptions;\n      options = possibleOptions;\n    }\n\n    var $el = app.testHelpers.findWithAssert(selector, context);\n    var el = $el[0];\n    (0, _events.fireEvent)(el, type, options);\n    return app.testHelpers.wait();\n  }\n});","enifed(\"ember-testing/lib/helpers/visit\", [\"exports\", \"@ember/runloop\"], function (_exports, _runloop) {\n  \"use strict\";\n\n  _exports.default = visit;\n\n  /**\n    Loads a route, sets up any controllers, and renders any templates associated\n    with the route as though a real user had triggered the route change while\n    using your app.\n  \n    Example:\n  \n    ```javascript\n    visit('posts/index').then(function() {\n      // assert something\n    });\n    ```\n  \n    @method visit\n    @param {String} url the name of the route\n    @return {RSVP.Promise<undefined>}\n    @public\n  */\n  function visit(app, url) {\n    var router = app.__container__.lookup('router:main');\n\n    var shouldHandleURL = false;\n    app.boot().then(function () {\n      router.location.setURL(url);\n\n      if (shouldHandleURL) {\n        (0, _runloop.run)(app.__deprecatedInstance__, 'handleURL', url);\n      }\n    });\n\n    if (app._readinessDeferrals > 0) {\n      router.initialURL = url;\n      (0, _runloop.run)(app, 'advanceReadiness');\n      delete router.initialURL;\n    } else {\n      shouldHandleURL = true;\n    }\n\n    return app.testHelpers.wait();\n  }\n});","enifed(\"ember-testing/lib/helpers/wait\", [\"exports\", \"ember-testing/lib/test/waiters\", \"@ember/-internals/runtime\", \"@ember/runloop\", \"ember-testing/lib/test/pending_requests\"], function (_exports, _waiters, _runtime, _runloop, _pending_requests) {\n  \"use strict\";\n\n  _exports.default = wait;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Causes the run loop to process any pending events. This is used to ensure that\n    any async operations from other helpers (or your assertions) have been processed.\n  \n    This is most often used as the return value for the helper functions (see 'click',\n    'fillIn','visit',etc). However, there is a method to register a test helper which\n    utilizes this method without the need to actually call `wait()` in your helpers.\n  \n    The `wait` helper is built into `registerAsyncHelper` by default. You will not need\n    to `return app.testHelpers.wait();` - the wait behavior is provided for you.\n  \n    Example:\n  \n    ```javascript\n    import { registerAsyncHelper } from '@ember/test';\n  \n    registerAsyncHelper('loginUser', function(app, username, password) {\n      visit('secured/path/here')\n        .fillIn('#username', username)\n        .fillIn('#password', password)\n        .click('.submit');\n    });\n    ```\n  \n    @method wait\n    @param {Object} value The value to be returned.\n    @return {RSVP.Promise<any>} Promise that resolves to the passed value.\n    @public\n    @since 1.0.0\n  */\n  function wait(app, value) {\n    return new _runtime.RSVP.Promise(function (resolve) {\n      var router = app.__container__.lookup('router:main'); // Every 10ms, poll for the async thing to have finished\n\n\n      var watcher = setInterval(function () {\n        // 1. If the router is loading, keep polling\n        var routerIsLoading = router._routerMicrolib && Boolean(router._routerMicrolib.activeTransition);\n\n        if (routerIsLoading) {\n          return;\n        } // 2. If there are pending Ajax requests, keep polling\n\n\n        if ((0, _pending_requests.pendingRequests)()) {\n          return;\n        } // 3. If there are scheduled timers or we are inside of a run loop, keep polling\n\n\n        if ((0, _runloop.hasScheduledTimers)() || (0, _runloop.getCurrentRunLoop)()) {\n          return;\n        }\n\n        if ((0, _waiters.checkWaiters)()) {\n          return;\n        } // Stop polling\n\n\n        clearInterval(watcher); // Synchronously resolve the promise\n\n        (0, _runloop.run)(null, resolve, value);\n      }, 10);\n    });\n  }\n});","enifed(\"ember-testing/lib/initializers\", [\"@ember/application\"], function (_application) {\n  \"use strict\";\n\n  var name = 'deferReadiness in `testing` mode';\n  (0, _application.onLoad)('Ember.Application', function (Application) {\n    if (!Application.initializers[name]) {\n      Application.initializer({\n        name: name,\n        initialize: function (application) {\n          if (application.testing) {\n            application.deferReadiness();\n          }\n        }\n      });\n    }\n  });\n});","enifed(\"ember-testing/lib/setup_for_testing\", [\"exports\", \"@ember/debug\", \"@ember/-internals/views\", \"ember-testing/lib/test/adapter\", \"ember-testing/lib/test/pending_requests\", \"ember-testing/lib/adapters/adapter\", \"ember-testing/lib/adapters/qunit\"], function (_exports, _debug, _views, _adapter, _pending_requests, _adapter2, _qunit) {\n  \"use strict\";\n\n  _exports.default = setupForTesting;\n\n  /* global self */\n\n  /**\n    Sets Ember up for testing. This is useful to perform\n    basic setup steps in order to unit test.\n  \n    Use `App.setupForTesting` to perform integration tests (full\n    application testing).\n  \n    @method setupForTesting\n    @namespace Ember\n    @since 1.5.0\n    @private\n  */\n  function setupForTesting() {\n    (0, _debug.setTesting)(true);\n    var adapter = (0, _adapter.getAdapter)(); // if adapter is not manually set default to QUnit\n\n    if (!adapter) {\n      (0, _adapter.setAdapter)(typeof self.QUnit === 'undefined' ? _adapter2.default.create() : _qunit.default.create());\n    }\n\n    if (!_views.jQueryDisabled) {\n      (0, _views.jQuery)(document).off('ajaxSend', _pending_requests.incrementPendingRequests);\n      (0, _views.jQuery)(document).off('ajaxComplete', _pending_requests.decrementPendingRequests);\n      (0, _pending_requests.clearPendingRequests)();\n      (0, _views.jQuery)(document).on('ajaxSend', _pending_requests.incrementPendingRequests);\n      (0, _views.jQuery)(document).on('ajaxComplete', _pending_requests.decrementPendingRequests);\n    }\n  }\n});","enifed(\"ember-testing/lib/support\", [\"@ember/debug\", \"@ember/-internals/views\", \"@ember/-internals/browser-environment\"], function (_debug, _views, _browserEnvironment) {\n  \"use strict\";\n\n  /**\n    @module ember\n  */\n  var $ = _views.jQuery;\n  /**\n    This method creates a checkbox and triggers the click event to fire the\n    passed in handler. It is used to correct for a bug in older versions\n    of jQuery (e.g 1.8.3).\n  \n    @private\n    @method testCheckboxClick\n  */\n\n  function testCheckboxClick(handler) {\n    var input = document.createElement('input');\n    $(input).attr('type', 'checkbox').css({\n      position: 'absolute',\n      left: '-1000px',\n      top: '-1000px'\n    }).appendTo('body').on('click', handler).trigger('click').remove();\n  }\n\n  if (_browserEnvironment.hasDOM && !_views.jQueryDisabled) {\n    $(function () {\n      /*\n        Determine whether a checkbox checked using jQuery's \"click\" method will have\n        the correct value for its checked property.\n         If we determine that the current jQuery version exhibits this behavior,\n        patch it to work correctly as in the commit for the actual fix:\n        https://github.com/jquery/jquery/commit/1fb2f92.\n      */\n      testCheckboxClick(function () {\n        if (!this.checked && !$.event.special.click) {\n          $.event.special.click = {\n            // For checkbox, fire native event so checked state will be right\n            trigger: function () {\n              if (this.nodeName === 'INPUT' && this.type === 'checkbox' && this.click) {\n                this.click();\n                return false;\n              }\n            }\n          };\n        }\n      }); // Try again to verify that the patch took effect or blow up.\n\n      testCheckboxClick(function () {\n        true && (0, _debug.warn)(\"clicked checkboxes should be checked! the jQuery patch didn't work\", this.checked, {\n          id: 'ember-testing.test-checkbox-click'\n        });\n      });\n    });\n  }\n});","enifed(\"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  _exports.default = void 0;\n\n  /**\n    @module ember\n  */\n\n  /**\n    This is a container for an assortment of testing related functionality:\n  \n    * Choose your default test adapter (for your framework of choice).\n    * Register/Unregister additional test helpers.\n    * Setup callbacks to be fired when the test helpers are injected into\n      your application.\n  \n    @class Test\n    @namespace Ember\n    @public\n  */\n  var Test = {\n    /**\n      Hash containing all known test helpers.\n       @property _helpers\n      @private\n      @since 1.7.0\n    */\n    _helpers: _helpers.helpers,\n    registerHelper: _helpers.registerHelper,\n    registerAsyncHelper: _helpers.registerAsyncHelper,\n    unregisterHelper: _helpers.unregisterHelper,\n    onInjectHelpers: _on_inject_helpers.onInjectHelpers,\n    Promise: _promise.default,\n    promise: _promise.promise,\n    resolve: _promise.resolve,\n    registerWaiter: _waiters.registerWaiter,\n    unregisterWaiter: _waiters.unregisterWaiter,\n    checkWaiters: _waiters.checkWaiters\n  };\n  /**\n   Used to allow ember-testing to communicate with a specific testing\n   framework.\n  \n   You can manually set it before calling `App.setupForTesting()`.\n  \n   Example:\n  \n   ```javascript\n   Ember.Test.adapter = MyCustomAdapter.create()\n   ```\n  \n   If you do not set it, ember-testing will default to `Ember.Test.QUnitAdapter`.\n  \n   @public\n   @for Ember.Test\n   @property adapter\n   @type {Class} The adapter to be used.\n   @default Ember.Test.QUnitAdapter\n  */\n\n  Object.defineProperty(Test, 'adapter', {\n    get: _adapter.getAdapter,\n    set: _adapter.setAdapter\n  });\n  var _default = Test;\n  _exports.default = _default;\n});","enifed(\"ember-testing/lib/test/adapter\", [\"exports\", \"@ember/-internals/error-handling\"], function (_exports, _errorHandling) {\n  \"use strict\";\n\n  _exports.getAdapter = getAdapter;\n  _exports.setAdapter = setAdapter;\n  _exports.asyncStart = asyncStart;\n  _exports.asyncEnd = asyncEnd;\n  var adapter;\n\n  function getAdapter() {\n    return adapter;\n  }\n\n  function setAdapter(value) {\n    adapter = value;\n\n    if (value && typeof value.exception === 'function') {\n      (0, _errorHandling.setDispatchOverride)(adapterDispatch);\n    } else {\n      (0, _errorHandling.setDispatchOverride)(null);\n    }\n  }\n\n  function asyncStart() {\n    if (adapter) {\n      adapter.asyncStart();\n    }\n  }\n\n  function asyncEnd() {\n    if (adapter) {\n      adapter.asyncEnd();\n    }\n  }\n\n  function adapterDispatch(error) {\n    adapter.exception(error);\n    console.error(error.stack); // eslint-disable-line no-console\n  }\n});","enifed(\"ember-testing/lib/test/helpers\", [\"exports\", \"ember-testing/lib/test/promise\"], function (_exports, _promise) {\n  \"use strict\";\n\n  _exports.registerHelper = registerHelper;\n  _exports.registerAsyncHelper = registerAsyncHelper;\n  _exports.unregisterHelper = unregisterHelper;\n  _exports.helpers = void 0;\n  var helpers = {};\n  /**\n   @module @ember/test\n  */\n\n  /**\n    `registerHelper` is used to register a test helper that will be injected\n    when `App.injectTestHelpers` is called.\n  \n    The helper method will always be called with the current Application as\n    the first parameter.\n  \n    For example:\n  \n    ```javascript\n    import { registerHelper } from '@ember/test';\n    import { run } from '@ember/runloop';\n  \n    registerHelper('boot', function(app) {\n      run(app, app.advanceReadiness);\n    });\n    ```\n  \n    This helper can later be called without arguments because it will be\n    called with `app` as the first parameter.\n  \n    ```javascript\n    import Application from '@ember/application';\n  \n    App = Application.create();\n    App.injectTestHelpers();\n    boot();\n    ```\n  \n    @public\n    @for @ember/test\n    @static\n    @method registerHelper\n    @param {String} name The name of the helper method to add.\n    @param {Function} helperMethod\n    @param options {Object}\n  */\n\n  _exports.helpers = helpers;\n\n  function registerHelper(name, helperMethod) {\n    helpers[name] = {\n      method: helperMethod,\n      meta: {\n        wait: false\n      }\n    };\n  }\n  /**\n    `registerAsyncHelper` is used to register an async test helper that will be injected\n    when `App.injectTestHelpers` is called.\n  \n    The helper method will always be called with the current Application as\n    the first parameter.\n  \n    For example:\n  \n    ```javascript\n    import { registerAsyncHelper } from '@ember/test';\n    import { run } from '@ember/runloop';\n  \n    registerAsyncHelper('boot', function(app) {\n      run(app, app.advanceReadiness);\n    });\n    ```\n  \n    The advantage of an async helper is that it will not run\n    until the last async helper has completed.  All async helpers\n    after it will wait for it complete before running.\n  \n  \n    For example:\n  \n    ```javascript\n    import { registerAsyncHelper } from '@ember/test';\n  \n    registerAsyncHelper('deletePost', function(app, postId) {\n      click('.delete-' + postId);\n    });\n  \n    // ... in your test\n    visit('/post/2');\n    deletePost(2);\n    visit('/post/3');\n    deletePost(3);\n    ```\n  \n    @public\n    @for @ember/test\n    @method registerAsyncHelper\n    @param {String} name The name of the helper method to add.\n    @param {Function} helperMethod\n    @since 1.2.0\n  */\n\n\n  function registerAsyncHelper(name, helperMethod) {\n    helpers[name] = {\n      method: helperMethod,\n      meta: {\n        wait: true\n      }\n    };\n  }\n  /**\n    Remove a previously added helper method.\n  \n    Example:\n  \n    ```javascript\n    import { unregisterHelper } from '@ember/test';\n  \n    unregisterHelper('wait');\n    ```\n  \n    @public\n    @method unregisterHelper\n    @static\n    @for @ember/test\n    @param {String} name The helper to remove.\n  */\n\n\n  function unregisterHelper(name) {\n    delete helpers[name];\n    delete _promise.default.prototype[name];\n  }\n});","enifed(\"ember-testing/lib/test/on_inject_helpers\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.onInjectHelpers = onInjectHelpers;\n  _exports.invokeInjectHelpersCallbacks = invokeInjectHelpersCallbacks;\n  _exports.callbacks = void 0;\n  var callbacks = [];\n  /**\n    Used to register callbacks to be fired whenever `App.injectTestHelpers`\n    is called.\n  \n    The callback will receive the current application as an argument.\n  \n    Example:\n  \n    ```javascript\n    import $ from 'jquery';\n  \n    Ember.Test.onInjectHelpers(function() {\n      $(document).ajaxSend(function() {\n        Test.pendingRequests++;\n      });\n  \n      $(document).ajaxComplete(function() {\n        Test.pendingRequests--;\n      });\n    });\n    ```\n  \n    @public\n    @for Ember.Test\n    @method onInjectHelpers\n    @param {Function} callback The function to be called.\n  */\n\n  _exports.callbacks = callbacks;\n\n  function onInjectHelpers(callback) {\n    callbacks.push(callback);\n  }\n\n  function invokeInjectHelpersCallbacks(app) {\n    for (var i = 0; i < callbacks.length; i++) {\n      callbacks[i](app);\n    }\n  }\n});","enifed(\"ember-testing/lib/test/pending_requests\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.pendingRequests = pendingRequests;\n  _exports.clearPendingRequests = clearPendingRequests;\n  _exports.incrementPendingRequests = incrementPendingRequests;\n  _exports.decrementPendingRequests = decrementPendingRequests;\n  var requests = [];\n\n  function pendingRequests() {\n    return requests.length;\n  }\n\n  function clearPendingRequests() {\n    requests.length = 0;\n  }\n\n  function incrementPendingRequests(_, xhr) {\n    requests.push(xhr);\n  }\n\n  function decrementPendingRequests(_, xhr) {\n    setTimeout(function () {\n      for (var i = 0; i < requests.length; i++) {\n        if (xhr === requests[i]) {\n          requests.splice(i, 1);\n          break;\n        }\n      }\n    }, 0);\n  }\n});","enifed(\"ember-testing/lib/test/promise\", [\"exports\", \"ember-babel\", \"@ember/-internals/runtime\", \"ember-testing/lib/test/run\"], function (_exports, _emberBabel, _runtime, _run) {\n  \"use strict\";\n\n  _exports.promise = promise;\n  _exports.resolve = resolve;\n  _exports.getLastPromise = getLastPromise;\n  _exports.default = void 0;\n  var lastPromise;\n\n  var TestPromise =\n  /*#__PURE__*/\n  function (_RSVP$Promise) {\n    (0, _emberBabel.inheritsLoose)(TestPromise, _RSVP$Promise);\n\n    function TestPromise() {\n      var _this;\n\n      _this = _RSVP$Promise.apply(this, arguments) || this;\n      lastPromise = (0, _emberBabel.assertThisInitialized)(_this);\n      return _this;\n    }\n\n    var _proto = TestPromise.prototype;\n\n    _proto.then = function then(_onFulfillment) {\n      var _RSVP$Promise$prototy;\n\n      var onFulfillment = typeof _onFulfillment === 'function' ? function (result) {\n        return isolate(_onFulfillment, result);\n      } : undefined;\n\n      for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n        args[_key - 1] = arguments[_key];\n      }\n\n      return (_RSVP$Promise$prototy = _RSVP$Promise.prototype.then).call.apply(_RSVP$Promise$prototy, [this, onFulfillment].concat(args));\n    };\n\n    return TestPromise;\n  }(_runtime.RSVP.Promise);\n  /**\n    This returns a thenable tailored for testing.  It catches failed\n    `onSuccess` callbacks and invokes the `Ember.Test.adapter.exception`\n    callback in the last chained then.\n  \n    This method should be returned by async helpers such as `wait`.\n  \n    @public\n    @for Ember.Test\n    @method promise\n    @param {Function} resolver The function used to resolve the promise.\n    @param {String} label An optional string for identifying the promise.\n  */\n\n\n  _exports.default = TestPromise;\n\n  function promise(resolver, label) {\n    var fullLabel = \"Ember.Test.promise: \" + (label || '<Unknown Promise>');\n    return new TestPromise(resolver, fullLabel);\n  }\n  /**\n    Replacement for `Ember.RSVP.resolve`\n    The only difference is this uses\n    an instance of `Ember.Test.Promise`\n  \n    @public\n    @for Ember.Test\n    @method resolve\n    @param {Mixed} The value to resolve\n    @since 1.2.0\n  */\n\n\n  function resolve(result, label) {\n    return TestPromise.resolve(result, label);\n  }\n\n  function getLastPromise() {\n    return lastPromise;\n  } // This method isolates nested async methods\n  // so that they don't conflict with other last promises.\n  //\n  // 1. Set `Ember.Test.lastPromise` to null\n  // 2. Invoke method\n  // 3. Return the last promise created during method\n\n\n  function isolate(onFulfillment, result) {\n    // Reset lastPromise for nested helpers\n    lastPromise = null;\n    var value = onFulfillment(result);\n    var promise = lastPromise;\n    lastPromise = null; // If the method returned a promise\n    // return that promise. If not,\n    // return the last async helper's promise\n\n    if (value && value instanceof TestPromise || !promise) {\n      return value;\n    } else {\n      return (0, _run.default)(function () {\n        return resolve(promise).then(function () {\n          return value;\n        });\n      });\n    }\n  }\n});","enifed(\"ember-testing/lib/test/run\", [\"exports\", \"@ember/runloop\"], function (_exports, _runloop) {\n  \"use strict\";\n\n  _exports.default = run;\n\n  function run(fn) {\n    if (!(0, _runloop.getCurrentRunLoop)()) {\n      return (0, _runloop.run)(fn);\n    } else {\n      return fn();\n    }\n  }\n});","enifed(\"ember-testing/lib/test/waiters\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.registerWaiter = registerWaiter;\n  _exports.unregisterWaiter = unregisterWaiter;\n  _exports.checkWaiters = checkWaiters;\n\n  /**\n   @module @ember/test\n  */\n  var contexts = [];\n  var callbacks = [];\n  /**\n     This allows ember-testing to play nicely with other asynchronous\n     events, such as an application that is waiting for a CSS3\n     transition or an IndexDB transaction. The waiter runs periodically\n     after each async helper (i.e. `click`, `andThen`, `visit`, etc) has executed,\n     until the returning result is truthy. After the waiters finish, the next async helper\n     is executed and the process repeats.\n  \n     For example:\n  \n     ```javascript\n     import { registerWaiter } from '@ember/test';\n  \n     registerWaiter(function() {\n       return myPendingTransactions() === 0;\n     });\n     ```\n     The `context` argument allows you to optionally specify the `this`\n     with which your callback will be invoked.\n  \n     For example:\n  \n     ```javascript\n     import { registerWaiter } from '@ember/test';\n  \n     registerWaiter(MyDB, MyDB.hasPendingTransactions);\n     ```\n  \n     @public\n     @for @ember/test\n     @static\n     @method registerWaiter\n     @param {Object} context (optional)\n     @param {Function} callback\n     @since 1.2.0\n  */\n\n  function registerWaiter(context, callback) {\n    if (arguments.length === 1) {\n      callback = context;\n      context = null;\n    }\n\n    if (indexOf(context, callback) > -1) {\n      return;\n    }\n\n    contexts.push(context);\n    callbacks.push(callback);\n  }\n  /**\n     `unregisterWaiter` is used to unregister a callback that was\n     registered with `registerWaiter`.\n  \n     @public\n     @for @ember/test\n     @static\n     @method unregisterWaiter\n     @param {Object} context (optional)\n     @param {Function} callback\n     @since 1.2.0\n  */\n\n\n  function unregisterWaiter(context, callback) {\n    if (!callbacks.length) {\n      return;\n    }\n\n    if (arguments.length === 1) {\n      callback = context;\n      context = null;\n    }\n\n    var i = indexOf(context, callback);\n\n    if (i === -1) {\n      return;\n    }\n\n    contexts.splice(i, 1);\n    callbacks.splice(i, 1);\n  }\n  /**\n    Iterates through each registered test waiter, and invokes\n    its callback. If any waiter returns false, this method will return\n    true indicating that the waiters have not settled yet.\n  \n    This is generally used internally from the acceptance/integration test\n    infrastructure.\n  \n    @public\n    @for @ember/test\n    @static\n    @method checkWaiters\n  */\n\n\n  function checkWaiters() {\n    if (!callbacks.length) {\n      return false;\n    }\n\n    for (var i = 0; i < callbacks.length; i++) {\n      var context = contexts[i];\n      var callback = callbacks[i];\n\n      if (!callback.call(context)) {\n        return true;\n      }\n    }\n\n    return false;\n  }\n\n  function indexOf(context, callback) {\n    for (var i = 0; i < callbacks.length; i++) {\n      if (callbacks[i] === callback && contexts[i] === context) {\n        return i;\n      }\n    }\n\n    return -1;\n  }\n});","enifed(\"ember/index\", [\"exports\", \"require\", \"@ember/-internals/environment\", \"node-module\", \"@ember/-internals/utils\", \"@ember/-internals/container\", \"@ember/instrumentation\", \"@ember/-internals/meta\", \"@ember/-internals/metal\", \"@ember/canary-features\", \"@ember/debug\", \"backburner\", \"@ember/-internals/console\", \"@ember/controller\", \"@ember/controller/lib/controller_mixin\", \"@ember/string\", \"@ember/service\", \"@ember/object\", \"@ember/object/computed\", \"@ember/-internals/runtime\", \"@ember/-internals/glimmer\", \"ember/version\", \"@ember/-internals/views\", \"@ember/-internals/routing\", \"@ember/-internals/extension-support\", \"@ember/error\", \"@ember/runloop\", \"@ember/-internals/error-handling\", \"@ember/-internals/owner\", \"@ember/application\", \"@ember/application/globals-resolver\", \"@ember/application/instance\", \"@ember/engine\", \"@ember/engine/instance\", \"@ember/polyfills\", \"@ember/deprecated-features\"], function (_exports, _require, _environment, _nodeModule, utils, _container, instrumentation, _meta, metal, _canaryFeatures, EmberDebug, _backburner, _console, _controller, _controller_mixin, _string, _service, _object, _computed, _runtime, _glimmer, _version, views, routing, extensionSupport, _error, runloop, _errorHandling, _owner, _application, _globalsResolver, _instance, _engine, _instance2, _polyfills, _deprecatedFeatures) {\n  \"use strict\";\n\n  _exports.default = void 0;\n  // eslint-disable-next-line import/no-unresolved\n  // ****@ember/-internals/environment****\n  var Ember = typeof _environment.context.imports.Ember === 'object' && _environment.context.imports.Ember || {};\n  Ember.isNamespace = true;\n\n  Ember.toString = function () {\n    return 'Ember';\n  };\n\n  Object.defineProperty(Ember, 'ENV', {\n    get: _environment.getENV,\n    enumerable: false\n  });\n  Object.defineProperty(Ember, 'lookup', {\n    get: _environment.getLookup,\n    set: _environment.setLookup,\n    enumerable: false\n  });\n\n  if (_deprecatedFeatures.EMBER_EXTEND_PROTOTYPES) {\n    Object.defineProperty(Ember, 'EXTEND_PROTOTYPES', {\n      enumerable: false,\n      get: function () {\n        true && !false && (0, EmberDebug.deprecate)('Accessing Ember.EXTEND_PROTOTYPES is deprecated, please migrate to Ember.ENV.EXTEND_PROTOTYPES', false, {\n          id: 'ember-env.old-extend-prototypes',\n          until: '4.0.0'\n        });\n        return _environment.ENV.EXTEND_PROTOTYPES;\n      }\n    });\n  } // ****@ember/application****\n\n\n  Ember.getOwner = _owner.getOwner;\n  Ember.setOwner = _owner.setOwner;\n  Ember.Application = _application.default;\n  Ember.DefaultResolver = Ember.Resolver = _globalsResolver.default;\n  Ember.ApplicationInstance = _instance.default; // ****@ember/engine****\n\n  Ember.Engine = _engine.default;\n  Ember.EngineInstance = _instance2.default; // ****@ember/polyfills****\n\n  Ember.assign = _polyfills.assign;\n  Ember.merge = _polyfills.merge; // ****@ember/-internals/utils****\n\n  Ember.generateGuid = utils.generateGuid;\n  Ember.GUID_KEY = utils.GUID_KEY;\n  Ember.guidFor = utils.guidFor;\n  Ember.inspect = utils.inspect;\n  Ember.makeArray = utils.makeArray;\n  Ember.canInvoke = utils.canInvoke;\n  Ember.tryInvoke = utils.tryInvoke;\n  Ember.wrap = utils.wrap;\n  Ember.uuid = utils.uuid;\n  Object.defineProperty(Ember, 'NAME_KEY', {\n    enumerable: false,\n    get: function () {\n      true && !false && (0, EmberDebug.deprecate)('Using `Ember.NAME_KEY` is deprecated, override `.toString` instead', false, {\n        id: 'ember-name-key-usage',\n        until: '3.9.0'\n      });\n      return utils.NAME_KEY;\n    }\n  }); // ****@ember/-internals/container****\n\n  Ember.Container = _container.Container;\n  Ember.Registry = _container.Registry; // ****@ember/debug****\n\n  Ember.assert = EmberDebug.assert;\n  Ember.warn = EmberDebug.warn;\n  Ember.debug = EmberDebug.debug;\n  Ember.deprecate = EmberDebug.deprecate;\n  Ember.deprecateFunc = EmberDebug.deprecateFunc;\n  Ember.runInDebug = EmberDebug.runInDebug; // ****@ember/error****\n\n  Ember.Error = _error.default;\n  /**\n    @public\n    @class Ember.Debug\n  */\n\n  Ember.Debug = {\n    registerDeprecationHandler: EmberDebug.registerDeprecationHandler,\n    registerWarnHandler: EmberDebug.registerWarnHandler,\n    isComputed: metal.isComputed\n  }; // ****@ember/instrumentation****\n\n  Ember.instrument = instrumentation.instrument;\n  Ember.subscribe = instrumentation.subscribe;\n  Ember.Instrumentation = {\n    instrument: instrumentation.instrument,\n    subscribe: instrumentation.subscribe,\n    unsubscribe: instrumentation.unsubscribe,\n    reset: instrumentation.reset\n  }; // ****@ember/runloop****\n  // Using _globalsRun here so that mutating the function (adding\n  // `next`, `later`, etc to it) is only available in globals builds\n\n  Ember.run = runloop._globalsRun;\n  Ember.run.backburner = runloop.backburner;\n  Ember.run.begin = runloop.begin;\n  Ember.run.bind = runloop.bind;\n  Ember.run.cancel = runloop.cancel;\n  Ember.run.debounce = runloop.debounce;\n  Ember.run.end = runloop.end;\n  Ember.run.hasScheduledTimers = runloop.hasScheduledTimers;\n  Ember.run.join = runloop.join;\n  Ember.run.later = runloop.later;\n  Ember.run.next = runloop.next;\n  Ember.run.once = runloop.once;\n  Ember.run.schedule = runloop.schedule;\n  Ember.run.scheduleOnce = runloop.scheduleOnce;\n  Ember.run.throttle = runloop.throttle;\n  Ember.run.cancelTimers = runloop.cancelTimers;\n  Object.defineProperty(Ember.run, 'currentRunLoop', {\n    get: runloop.getCurrentRunLoop,\n    enumerable: false\n  }); // ****@ember/-internals/metal****\n  // Using _globalsComputed here so that mutating the function is only available\n  // in globals builds\n\n  var computed = metal._globalsComputed;\n  Ember.computed = computed;\n  Ember._descriptor = metal.nativeDescDecorator;\n  Ember._tracked = metal.tracked;\n  computed.alias = metal.alias;\n  Ember.cacheFor = metal.getCachedValueFor;\n  Ember.ComputedProperty = metal.ComputedProperty;\n  Object.defineProperty(Ember, '_setComputedDecorator', {\n    get: function () {\n      true && !false && (0, EmberDebug.deprecate)('Please migrate from Ember._setComputedDecorator to Ember._setClassicDecorator', false, {\n        id: 'ember._setComputedDecorator',\n        until: '3.13.0'\n      });\n      return metal.setClassicDecorator;\n    }\n  });\n  Ember._setClassicDecorator = metal.setClassicDecorator;\n  Ember.meta = _meta.meta;\n  Ember.get = metal.get;\n  Ember.getWithDefault = metal.getWithDefault;\n  Ember._getPath = metal._getPath;\n  Ember.set = metal.set;\n  Ember.trySet = metal.trySet;\n  Ember.FEATURES = (0, _polyfills.assign)({\n    isEnabled: _canaryFeatures.isEnabled\n  }, _canaryFeatures.FEATURES);\n  Ember._Cache = utils.Cache;\n  Ember.on = metal.on;\n  Ember.addListener = metal.addListener;\n  Ember.removeListener = metal.removeListener;\n  Ember.sendEvent = metal.sendEvent;\n  Ember.hasListeners = metal.hasListeners;\n  Ember.isNone = metal.isNone;\n  Ember.isEmpty = metal.isEmpty;\n  Ember.isBlank = metal.isBlank;\n  Ember.isPresent = metal.isPresent;\n  Ember.notifyPropertyChange = metal.notifyPropertyChange;\n  Ember.overrideChains = metal.overrideChains;\n  Ember.beginPropertyChanges = metal.beginPropertyChanges;\n  Ember.endPropertyChanges = metal.endPropertyChanges;\n  Ember.changeProperties = metal.changeProperties;\n  Ember.platform = {\n    defineProperty: true,\n    hasPropertyAccessors: true\n  };\n  Ember.defineProperty = metal.defineProperty;\n  Ember.watchKey = metal.watchKey;\n  Ember.unwatchKey = metal.unwatchKey;\n  Ember.removeChainWatcher = metal.removeChainWatcher;\n  Ember._ChainNode = metal.ChainNode;\n  Ember.finishChains = metal.finishChains;\n  Ember.watchPath = metal.watchPath;\n  Ember.unwatchPath = metal.unwatchPath;\n  Ember.watch = metal.watch;\n  Ember.isWatching = metal.isWatching;\n  Ember.unwatch = metal.unwatch;\n  Ember.destroy = _meta.deleteMeta;\n  Ember.libraries = metal.libraries;\n  Ember.getProperties = metal.getProperties;\n  Ember.setProperties = metal.setProperties;\n  Ember.expandProperties = metal.expandProperties;\n  Ember.addObserver = metal.addObserver;\n  Ember.removeObserver = metal.removeObserver;\n  Ember.aliasMethod = metal.aliasMethod;\n  Ember.observer = metal.observer;\n  Ember.mixin = metal.mixin;\n  Ember.Mixin = metal.Mixin;\n  /**\n    A function may be assigned to `Ember.onerror` to be called when Ember\n    internals encounter an error. This is useful for specialized error handling\n    and reporting code.\n  \n    ```javascript\n    import $ from 'jquery';\n  \n    Ember.onerror = function(error) {\n      $.ajax('/report-error', 'POST', {\n        stack: error.stack,\n        otherInformation: 'whatever app state you want to provide'\n      });\n    };\n    ```\n  \n    Internally, `Ember.onerror` is used as Backburner's error handler.\n  \n    @event onerror\n    @for Ember\n    @param {Exception} error the error object\n    @public\n  */\n\n  Object.defineProperty(Ember, 'onerror', {\n    get: _errorHandling.getOnerror,\n    set: _errorHandling.setOnerror,\n    enumerable: false\n  });\n  Object.defineProperty(Ember, 'testing', {\n    get: EmberDebug.isTesting,\n    set: EmberDebug.setTesting,\n    enumerable: false\n  });\n  Ember._Backburner = _backburner.default; // ****@ember/-internals/console****\n\n  if (_deprecatedFeatures.LOGGER) {\n    Ember.Logger = _console.default;\n  } // ****@ember/-internals/runtime****\n\n\n  Ember.A = _runtime.A;\n  Ember.String = {\n    loc: _string.loc,\n    w: _string.w,\n    dasherize: _string.dasherize,\n    decamelize: _string.decamelize,\n    camelize: _string.camelize,\n    classify: _string.classify,\n    underscore: _string.underscore,\n    capitalize: _string.capitalize\n  };\n  Ember.Object = _runtime.Object;\n  Ember._RegistryProxyMixin = _runtime.RegistryProxyMixin;\n  Ember._ContainerProxyMixin = _runtime.ContainerProxyMixin;\n  Ember.compare = _runtime.compare;\n  Ember.copy = _runtime.copy;\n  Ember.isEqual = _runtime.isEqual;\n\n  if (true\n  /* EMBER_FRAMEWORK_OBJECT_OWNER_ARGUMENT */\n  ) {\n      Ember._setFrameworkClass = _runtime.setFrameworkClass;\n    }\n  /**\n  @module ember\n  */\n\n  /**\n    Namespace for injection helper methods.\n  \n    @class inject\n    @namespace Ember\n    @static\n    @public\n  */\n\n\n  Ember.inject = function inject() {\n    true && !false && (0, EmberDebug.assert)(\"Injected properties must be created through helpers, see '\" + Object.keys(inject).map(function (k) {\n      return \"'inject.\" + k + \"'\";\n    }).join(' or ') + \"'\");\n  };\n\n  Ember.inject.service = _service.inject;\n  Ember.inject.controller = _controller.inject;\n  Ember.Array = _runtime.Array;\n  Ember.Comparable = _runtime.Comparable;\n  Ember.Enumerable = _runtime.Enumerable;\n  Ember.ArrayProxy = _runtime.ArrayProxy;\n  Ember.ObjectProxy = _runtime.ObjectProxy;\n  Ember.ActionHandler = _runtime.ActionHandler;\n  Ember.CoreObject = _runtime.CoreObject;\n  Ember.NativeArray = _runtime.NativeArray;\n  Ember.Copyable = _runtime.Copyable;\n  Ember.MutableEnumerable = _runtime.MutableEnumerable;\n  Ember.MutableArray = _runtime.MutableArray;\n  Ember.TargetActionSupport = _runtime.TargetActionSupport;\n  Ember.Evented = _runtime.Evented;\n  Ember.PromiseProxyMixin = _runtime.PromiseProxyMixin;\n  Ember.Observable = _runtime.Observable;\n  Ember.typeOf = _runtime.typeOf;\n  Ember.isArray = _runtime.isArray;\n  Ember.Object = _runtime.Object;\n  Ember.onLoad = _application.onLoad;\n  Ember.runLoadHooks = _application.runLoadHooks;\n  Ember.Controller = _controller.default;\n  Ember.ControllerMixin = _controller_mixin.default;\n  Ember.Service = _service.default;\n  Ember._ProxyMixin = _runtime._ProxyMixin;\n  Ember.RSVP = _runtime.RSVP;\n  Ember.Namespace = _runtime.Namespace;\n  Ember._action = _object.action;\n  computed.empty = _computed.empty;\n  computed.notEmpty = _computed.notEmpty;\n  computed.none = _computed.none;\n  computed.not = _computed.not;\n  computed.bool = _computed.bool;\n  computed.match = _computed.match;\n  computed.equal = _computed.equal;\n  computed.gt = _computed.gt;\n  computed.gte = _computed.gte;\n  computed.lt = _computed.lt;\n  computed.lte = _computed.lte;\n  computed.oneWay = _computed.oneWay;\n  computed.reads = _computed.oneWay;\n  computed.readOnly = _computed.readOnly;\n  computed.deprecatingAlias = _computed.deprecatingAlias;\n  computed.and = _computed.and;\n  computed.or = _computed.or;\n  computed.sum = _computed.sum;\n  computed.min = _computed.min;\n  computed.max = _computed.max;\n  computed.map = _computed.map;\n  computed.sort = _computed.sort;\n  computed.setDiff = _computed.setDiff;\n  computed.mapBy = _computed.mapBy;\n  computed.filter = _computed.filter;\n  computed.filterBy = _computed.filterBy;\n  computed.uniq = _computed.uniq;\n  computed.uniqBy = _computed.uniqBy;\n  computed.union = _computed.union;\n  computed.intersect = _computed.intersect;\n  computed.collect = _computed.collect;\n  /**\n    Defines the hash of localized strings for the current language. Used by\n    the `String.loc` helper. To localize, add string values to this\n    hash.\n  \n    @property STRINGS\n    @for Ember\n    @type Object\n    @private\n  */\n\n  Object.defineProperty(Ember, 'STRINGS', {\n    configurable: false,\n    get: _string._getStrings,\n    set: _string._setStrings\n  });\n  /**\n    Whether searching on the global for new Namespace instances is enabled.\n  \n    This is only exported here as to not break any addons.  Given the new\n    visit API, you will have issues if you treat this as a indicator of\n    booted.\n  \n    Internally this is only exposing a flag in Namespace.\n  \n    @property BOOTED\n    @for Ember\n    @type Boolean\n    @private\n  */\n\n  Object.defineProperty(Ember, 'BOOTED', {\n    configurable: false,\n    enumerable: false,\n    get: metal.isNamespaceSearchDisabled,\n    set: metal.setNamespaceSearchDisabled\n  }); // ****@ember/-internals/glimmer****\n\n  Ember.Component = _glimmer.Component;\n  _glimmer.Helper.helper = _glimmer.helper;\n  Ember.Helper = _glimmer.Helper;\n  Ember.Checkbox = _glimmer.Checkbox;\n  Ember.TextField = _glimmer.TextField;\n  Ember.TextArea = _glimmer.TextArea;\n  Ember.LinkComponent = _glimmer.LinkComponent;\n  Ember._setComponentManager = _glimmer.setComponentManager;\n  Ember._componentManagerCapabilities = _glimmer.capabilities;\n  Ember._setModifierManager = _glimmer.setModifierManager;\n  Ember._modifierManagerCapabilties = _glimmer.modifierCapabilties;\n  Ember.Handlebars = {\n    template: _glimmer.template,\n    Utils: {\n      escapeExpression: _glimmer.escapeExpression\n    }\n  };\n  Ember.HTMLBars = {\n    template: _glimmer.template\n  };\n\n  if (_environment.ENV.EXTEND_PROTOTYPES.String) {\n    String.prototype.htmlSafe = function () {\n      return (0, _glimmer.htmlSafe)(this);\n    };\n  }\n\n  Ember.String.htmlSafe = _glimmer.htmlSafe;\n  Ember.String.isHTMLSafe = _glimmer.isHTMLSafe;\n  /**\n    Global hash of shared templates. This will automatically be populated\n    by the build tools so that you can store your Handlebars templates in\n    separate files that get loaded into JavaScript at buildtime.\n  \n    @property TEMPLATES\n    @for Ember\n    @type Object\n    @private\n  */\n\n  Object.defineProperty(Ember, 'TEMPLATES', {\n    get: _glimmer.getTemplates,\n    set: _glimmer.setTemplates,\n    configurable: false,\n    enumerable: false\n  });\n  /**\n    The semantic version\n  \n    @property VERSION\n    @type String\n    @public\n  */\n\n  Ember.VERSION = _version.default; // ****@ember/-internals/views****\n\n  if (_deprecatedFeatures.JQUERY_INTEGRATION && !views.jQueryDisabled) {\n    Object.defineProperty(Ember, '$', {\n      get: function () {\n        true && !false && (0, EmberDebug.deprecate)(\"Using Ember.$() has been deprecated, use `import jQuery from 'jquery';` instead\", false, {\n          id: 'ember-views.curly-components.jquery-element',\n          until: '4.0.0',\n          url: 'https://emberjs.com/deprecations/v3.x#toc_jquery-apis'\n        });\n        return views.jQuery;\n      },\n      configurable: true,\n      enumerable: true\n    });\n  }\n\n  Ember.ViewUtils = {\n    isSimpleClick: views.isSimpleClick,\n    getElementView: views.getElementView,\n    getViewElement: views.getViewElement,\n    getViewBounds: views.getViewBounds,\n    getViewClientRects: views.getViewClientRects,\n    getViewBoundingClientRect: views.getViewBoundingClientRect,\n    getRootViews: views.getRootViews,\n    getChildViews: views.getChildViews,\n    isSerializationFirstNode: _glimmer.isSerializationFirstNode\n  };\n  Ember.TextSupport = views.TextSupport;\n  Ember.ComponentLookup = views.ComponentLookup;\n  Ember.EventDispatcher = views.EventDispatcher; // ****@ember/-internals/routing****\n\n  Ember.Location = routing.Location;\n  Ember.AutoLocation = routing.AutoLocation;\n  Ember.HashLocation = routing.HashLocation;\n  Ember.HistoryLocation = routing.HistoryLocation;\n  Ember.NoneLocation = routing.NoneLocation;\n  Ember.controllerFor = routing.controllerFor;\n  Ember.generateControllerFactory = routing.generateControllerFactory;\n  Ember.generateController = routing.generateController;\n  Ember.RouterDSL = routing.RouterDSL;\n  Ember.Router = routing.Router;\n  Ember.Route = routing.Route;\n  (0, _application.runLoadHooks)('Ember.Application', _application.default);\n  Ember.DataAdapter = extensionSupport.DataAdapter;\n  Ember.ContainerDebugAdapter = extensionSupport.ContainerDebugAdapter;\n\n  if ((0, _require.has)('ember-template-compiler')) {\n    (0, _require.default)(\"ember-template-compiler\");\n  } // do this to ensure that Ember.Test is defined properly on the global\n  // if it is present.\n\n\n  if ((0, _require.has)('ember-testing')) {\n    var testing = (0, _require.default)(\"ember-testing\");\n    Ember.Test = testing.Test;\n    Ember.Test.Adapter = testing.Adapter;\n    Ember.Test.QUnitAdapter = testing.QUnitAdapter;\n    Ember.setupForTesting = testing.setupForTesting;\n  }\n\n  (0, _application.runLoadHooks)('Ember');\n  var _default = Ember;\n  _exports.default = _default;\n\n  if (_nodeModule.IS_NODE) {\n    _nodeModule.module.exports = Ember;\n  } else {\n    _environment.context.exports.Ember = _environment.context.exports.Em = Ember;\n  }\n  /**\n   @module jquery\n   @public\n   */\n\n  /**\n   @class jquery\n   @public\n   @static\n   */\n\n  /**\n    Alias for jQuery\n  \n    @for jquery\n    @method $\n    @static\n    @public\n  */\n\n});","enifed(\"ember/version\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.default = void 0;\n  var _default = \"3.11.1\";\n  _exports.default = _default;\n});","/*global enifed, module */\nenifed('node-module', ['exports'], function(_exports) {\n  var IS_NODE = typeof module === 'object' && typeof module.require === 'function';\n  if (IS_NODE) {\n    _exports.require = module.require;\n    _exports.module = module;\n    _exports.IS_NODE = IS_NODE;\n  } else {\n    _exports.require = null;\n    _exports.module = null;\n    _exports.IS_NODE = IS_NODE;\n  }\n});\n","enifed(\"route-recognizer\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  _exports.default = void 0;\n  var createObject = Object.create;\n\n  function createMap() {\n    var map = createObject(null);\n    map[\"__\"] = undefined;\n    delete map[\"__\"];\n    return map;\n  }\n\n  var Target = function Target(path, matcher, delegate) {\n    this.path = path;\n    this.matcher = matcher;\n    this.delegate = delegate;\n  };\n\n  Target.prototype.to = function to(target, callback) {\n    var delegate = this.delegate;\n\n    if (delegate && delegate.willAddRoute) {\n      target = delegate.willAddRoute(this.matcher.target, target);\n    }\n\n    this.matcher.add(this.path, target);\n\n    if (callback) {\n      if (callback.length === 0) {\n        throw new Error(\"You must have an argument in the function passed to `to`\");\n      }\n\n      this.matcher.addChild(this.path, target, callback, this.delegate);\n    }\n  };\n\n  var Matcher = function Matcher(target) {\n    this.routes = createMap();\n    this.children = createMap();\n    this.target = target;\n  };\n\n  Matcher.prototype.add = function add(path, target) {\n    this.routes[path] = target;\n  };\n\n  Matcher.prototype.addChild = function addChild(path, target, callback, delegate) {\n    var matcher = new Matcher(target);\n    this.children[path] = matcher;\n    var match = generateMatch(path, matcher, delegate);\n\n    if (delegate && delegate.contextEntered) {\n      delegate.contextEntered(target, match);\n    }\n\n    callback(match);\n  };\n\n  function generateMatch(startingPath, matcher, delegate) {\n    function match(path, callback) {\n      var fullPath = startingPath + path;\n\n      if (callback) {\n        callback(generateMatch(fullPath, matcher, delegate));\n      } else {\n        return new Target(fullPath, matcher, delegate);\n      }\n    }\n\n    return match;\n  }\n\n  function addRoute(routeArray, path, handler) {\n    var len = 0;\n\n    for (var i = 0; i < routeArray.length; i++) {\n      len += routeArray[i].path.length;\n    }\n\n    path = path.substr(len);\n    var route = {\n      path: path,\n      handler: handler\n    };\n    routeArray.push(route);\n  }\n\n  function eachRoute(baseRoute, matcher, callback, binding) {\n    var routes = matcher.routes;\n    var paths = Object.keys(routes);\n\n    for (var i = 0; i < paths.length; i++) {\n      var path = paths[i];\n      var routeArray = baseRoute.slice();\n      addRoute(routeArray, path, routes[path]);\n      var nested = matcher.children[path];\n\n      if (nested) {\n        eachRoute(routeArray, nested, callback, binding);\n      } else {\n        callback.call(binding, routeArray);\n      }\n    }\n  }\n\n  var map = function (callback, addRouteCallback) {\n    var matcher = new Matcher();\n    callback(generateMatch(\"\", matcher, this.delegate));\n    eachRoute([], matcher, function (routes) {\n      if (addRouteCallback) {\n        addRouteCallback(this, routes);\n      } else {\n        this.add(routes);\n      }\n    }, this);\n  }; // Normalizes percent-encoded values in `path` to upper-case and decodes percent-encoded\n  // values that are not reserved (i.e., unicode characters, emoji, etc). The reserved\n  // chars are \"/\" and \"%\".\n  // Safe to call multiple times on the same path.\n  // Normalizes percent-encoded values in `path` to upper-case and decodes percent-encoded\n\n\n  function normalizePath(path) {\n    return path.split(\"/\").map(normalizeSegment).join(\"/\");\n  } // We want to ensure the characters \"%\" and \"/\" remain in percent-encoded\n  // form when normalizing paths, so replace them with their encoded form after\n  // decoding the rest of the path\n\n\n  var SEGMENT_RESERVED_CHARS = /%|\\//g;\n\n  function normalizeSegment(segment) {\n    if (segment.length < 3 || segment.indexOf(\"%\") === -1) {\n      return segment;\n    }\n\n    return decodeURIComponent(segment).replace(SEGMENT_RESERVED_CHARS, encodeURIComponent);\n  } // We do not want to encode these characters when generating dynamic path segments\n  // See https://tools.ietf.org/html/rfc3986#section-3.3\n  // sub-delims: \"!\", \"$\", \"&\", \"'\", \"(\", \")\", \"*\", \"+\", \",\", \";\", \"=\"\n  // others allowed by RFC 3986: \":\", \"@\"\n  //\n  // First encode the entire path segment, then decode any of the encoded special chars.\n  //\n  // The chars \"!\", \"'\", \"(\", \")\", \"*\" do not get changed by `encodeURIComponent`,\n  // so the possible encoded chars are:\n  // ['%24', '%26', '%2B', '%2C', '%3B', '%3D', '%3A', '%40'].\n\n\n  var PATH_SEGMENT_ENCODINGS = /%(?:2(?:4|6|B|C)|3(?:B|D|A)|40)/g;\n\n  function encodePathSegment(str) {\n    return encodeURIComponent(str).replace(PATH_SEGMENT_ENCODINGS, decodeURIComponent);\n  }\n\n  var escapeRegex = /(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\)/g;\n  var isArray = Array.isArray;\n  var hasOwnProperty = Object.prototype.hasOwnProperty;\n\n  function getParam(params, key) {\n    if (typeof params !== \"object\" || params === null) {\n      throw new Error(\"You must pass an object as the second argument to `generate`.\");\n    }\n\n    if (!hasOwnProperty.call(params, key)) {\n      throw new Error(\"You must provide param `\" + key + \"` to `generate`.\");\n    }\n\n    var value = params[key];\n    var str = typeof value === \"string\" ? value : \"\" + value;\n\n    if (str.length === 0) {\n      throw new Error(\"You must provide a param `\" + key + \"`.\");\n    }\n\n    return str;\n  }\n\n  var eachChar = [];\n\n  eachChar[0\n  /* Static */\n  ] = function (segment, currentState) {\n    var state = currentState;\n    var value = segment.value;\n\n    for (var i = 0; i < value.length; i++) {\n      var ch = value.charCodeAt(i);\n      state = state.put(ch, false, false);\n    }\n\n    return state;\n  };\n\n  eachChar[1\n  /* Dynamic */\n  ] = function (_, currentState) {\n    return currentState.put(47\n    /* SLASH */\n    , true, true);\n  };\n\n  eachChar[2\n  /* Star */\n  ] = function (_, currentState) {\n    return currentState.put(-1\n    /* ANY */\n    , false, true);\n  };\n\n  eachChar[4\n  /* Epsilon */\n  ] = function (_, currentState) {\n    return currentState;\n  };\n\n  var regex = [];\n\n  regex[0\n  /* Static */\n  ] = function (segment) {\n    return segment.value.replace(escapeRegex, \"\\\\$1\");\n  };\n\n  regex[1\n  /* Dynamic */\n  ] = function () {\n    return \"([^/]+)\";\n  };\n\n  regex[2\n  /* Star */\n  ] = function () {\n    return \"(.+)\";\n  };\n\n  regex[4\n  /* Epsilon */\n  ] = function () {\n    return \"\";\n  };\n\n  var generate = [];\n\n  generate[0\n  /* Static */\n  ] = function (segment) {\n    return segment.value;\n  };\n\n  generate[1\n  /* Dynamic */\n  ] = function (segment, params) {\n    var value = getParam(params, segment.value);\n\n    if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS) {\n      return encodePathSegment(value);\n    } else {\n      return value;\n    }\n  };\n\n  generate[2\n  /* Star */\n  ] = function (segment, params) {\n    return getParam(params, segment.value);\n  };\n\n  generate[4\n  /* Epsilon */\n  ] = function () {\n    return \"\";\n  };\n\n  var EmptyObject = Object.freeze({});\n  var EmptyArray = Object.freeze([]); // The `names` will be populated with the paramter name for each dynamic/star\n  // segment. `shouldDecodes` will be populated with a boolean for each dyanamic/star\n  // segment, indicating whether it should be decoded during recognition.\n\n  function parse(segments, route, types) {\n    // normalize route as not starting with a \"/\". Recognition will\n    // also normalize.\n    if (route.length > 0 && route.charCodeAt(0) === 47\n    /* SLASH */\n    ) {\n        route = route.substr(1);\n      }\n\n    var parts = route.split(\"/\");\n    var names = undefined;\n    var shouldDecodes = undefined;\n\n    for (var i = 0; i < parts.length; i++) {\n      var part = parts[i];\n      var flags = 0;\n      var type = 0;\n\n      if (part === \"\") {\n        type = 4\n        /* Epsilon */\n        ;\n      } else if (part.charCodeAt(0) === 58\n      /* COLON */\n      ) {\n          type = 1\n          /* Dynamic */\n          ;\n        } else if (part.charCodeAt(0) === 42\n      /* STAR */\n      ) {\n          type = 2\n          /* Star */\n          ;\n        } else {\n        type = 0\n        /* Static */\n        ;\n      }\n\n      flags = 2 << type;\n\n      if (flags & 12\n      /* Named */\n      ) {\n          part = part.slice(1);\n          names = names || [];\n          names.push(part);\n          shouldDecodes = shouldDecodes || [];\n          shouldDecodes.push((flags & 4\n          /* Decoded */\n          ) !== 0);\n        }\n\n      if (flags & 14\n      /* Counted */\n      ) {\n          types[type]++;\n        }\n\n      segments.push({\n        type: type,\n        value: normalizeSegment(part)\n      });\n    }\n\n    return {\n      names: names || EmptyArray,\n      shouldDecodes: shouldDecodes || EmptyArray\n    };\n  }\n\n  function isEqualCharSpec(spec, char, negate) {\n    return spec.char === char && spec.negate === negate;\n  } // A State has a character specification and (`charSpec`) and a list of possible\n  // subsequent states (`nextStates`).\n  //\n  // If a State is an accepting state, it will also have several additional\n  // properties:\n  //\n  // * `regex`: A regular expression that is used to extract parameters from paths\n  //   that reached this accepting state.\n  // * `handlers`: Information on how to convert the list of captures into calls\n  //   to registered handlers with the specified parameters\n  // * `types`: How many static, dynamic or star segments in this route. Used to\n  //   decide which route to use if multiple registered routes match a path.\n  //\n  // Currently, State is implemented naively by looping over `nextStates` and\n  // comparing a character specification against a character. A more efficient\n  // implementation would use a hash of keys pointing at one or more next states.\n\n\n  var State = function State(states, id, char, negate, repeat) {\n    this.states = states;\n    this.id = id;\n    this.char = char;\n    this.negate = negate;\n    this.nextStates = repeat ? id : null;\n    this.pattern = \"\";\n    this._regex = undefined;\n    this.handlers = undefined;\n    this.types = undefined;\n  };\n\n  State.prototype.regex = function regex$1() {\n    if (!this._regex) {\n      this._regex = new RegExp(this.pattern);\n    }\n\n    return this._regex;\n  };\n\n  State.prototype.get = function get(char, negate) {\n    var this$1 = this;\n    var nextStates = this.nextStates;\n\n    if (nextStates === null) {\n      return;\n    }\n\n    if (isArray(nextStates)) {\n      for (var i = 0; i < nextStates.length; i++) {\n        var child = this$1.states[nextStates[i]];\n\n        if (isEqualCharSpec(child, char, negate)) {\n          return child;\n        }\n      }\n    } else {\n      var child$1 = this.states[nextStates];\n\n      if (isEqualCharSpec(child$1, char, negate)) {\n        return child$1;\n      }\n    }\n  };\n\n  State.prototype.put = function put(char, negate, repeat) {\n    var state; // If the character specification already exists in a child of the current\n    // state, just return that state.\n\n    if (state = this.get(char, negate)) {\n      return state;\n    } // Make a new state for the character spec\n\n\n    var states = this.states;\n    state = new State(states, states.length, char, negate, repeat);\n    states[states.length] = state; // Insert the new state as a child of the current state\n\n    if (this.nextStates == null) {\n      this.nextStates = state.id;\n    } else if (isArray(this.nextStates)) {\n      this.nextStates.push(state.id);\n    } else {\n      this.nextStates = [this.nextStates, state.id];\n    } // Return the new state\n\n\n    return state;\n  }; // Find a list of child states matching the next character\n\n\n  State.prototype.match = function match(ch) {\n    var this$1 = this;\n    var nextStates = this.nextStates;\n\n    if (!nextStates) {\n      return [];\n    }\n\n    var returned = [];\n\n    if (isArray(nextStates)) {\n      for (var i = 0; i < nextStates.length; i++) {\n        var child = this$1.states[nextStates[i]];\n\n        if (isMatch(child, ch)) {\n          returned.push(child);\n        }\n      }\n    } else {\n      var child$1 = this.states[nextStates];\n\n      if (isMatch(child$1, ch)) {\n        returned.push(child$1);\n      }\n    }\n\n    return returned;\n  };\n\n  function isMatch(spec, char) {\n    return spec.negate ? spec.char !== char && spec.char !== -1\n    /* ANY */\n    : spec.char === char || spec.char === -1\n    /* ANY */\n    ;\n  } // This is a somewhat naive strategy, but should work in a lot of cases\n  // A better strategy would properly resolve /posts/:id/new and /posts/edit/:id.\n  //\n  // This strategy generally prefers more static and less dynamic matching.\n  // Specifically, it\n  //\n  //  * prefers fewer stars to more, then\n  //  * prefers using stars for less of the match to more, then\n  //  * prefers fewer dynamic segments to more, then\n  //  * prefers more static segments to more\n\n\n  function sortSolutions(states) {\n    return states.sort(function (a, b) {\n      var ref = a.types || [0, 0, 0];\n      var astatics = ref[0];\n      var adynamics = ref[1];\n      var astars = ref[2];\n      var ref$1 = b.types || [0, 0, 0];\n      var bstatics = ref$1[0];\n      var bdynamics = ref$1[1];\n      var bstars = ref$1[2];\n\n      if (astars !== bstars) {\n        return astars - bstars;\n      }\n\n      if (astars) {\n        if (astatics !== bstatics) {\n          return bstatics - astatics;\n        }\n\n        if (adynamics !== bdynamics) {\n          return bdynamics - adynamics;\n        }\n      }\n\n      if (adynamics !== bdynamics) {\n        return adynamics - bdynamics;\n      }\n\n      if (astatics !== bstatics) {\n        return bstatics - astatics;\n      }\n\n      return 0;\n    });\n  }\n\n  function recognizeChar(states, ch) {\n    var nextStates = [];\n\n    for (var i = 0, l = states.length; i < l; i++) {\n      var state = states[i];\n      nextStates = nextStates.concat(state.match(ch));\n    }\n\n    return nextStates;\n  }\n\n  var RecognizeResults = function RecognizeResults(queryParams) {\n    this.length = 0;\n    this.queryParams = queryParams || {};\n  };\n\n  RecognizeResults.prototype.splice = Array.prototype.splice;\n  RecognizeResults.prototype.slice = Array.prototype.slice;\n  RecognizeResults.prototype.push = Array.prototype.push;\n\n  function findHandler(state, originalPath, queryParams) {\n    var handlers = state.handlers;\n    var regex = state.regex();\n\n    if (!regex || !handlers) {\n      throw new Error(\"state not initialized\");\n    }\n\n    var captures = originalPath.match(regex);\n    var currentCapture = 1;\n    var result = new RecognizeResults(queryParams);\n    result.length = handlers.length;\n\n    for (var i = 0; i < handlers.length; i++) {\n      var handler = handlers[i];\n      var names = handler.names;\n      var shouldDecodes = handler.shouldDecodes;\n      var params = EmptyObject;\n      var isDynamic = false;\n\n      if (names !== EmptyArray && shouldDecodes !== EmptyArray) {\n        for (var j = 0; j < names.length; j++) {\n          isDynamic = true;\n          var name = names[j];\n          var capture = captures && captures[currentCapture++];\n\n          if (params === EmptyObject) {\n            params = {};\n          }\n\n          if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS && shouldDecodes[j]) {\n            params[name] = capture && decodeURIComponent(capture);\n          } else {\n            params[name] = capture;\n          }\n        }\n      }\n\n      result[i] = {\n        handler: handler.handler,\n        params: params,\n        isDynamic: isDynamic\n      };\n    }\n\n    return result;\n  }\n\n  function decodeQueryParamPart(part) {\n    // http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.1\n    part = part.replace(/\\+/gm, \"%20\");\n    var result;\n\n    try {\n      result = decodeURIComponent(part);\n    } catch (error) {\n      result = \"\";\n    }\n\n    return result;\n  }\n\n  var RouteRecognizer = function RouteRecognizer() {\n    this.names = createMap();\n    var states = [];\n    var state = new State(states, 0, -1\n    /* ANY */\n    , true, false);\n    states[0] = state;\n    this.states = states;\n    this.rootState = state;\n  };\n\n  RouteRecognizer.prototype.add = function add(routes, options) {\n    var currentState = this.rootState;\n    var pattern = \"^\";\n    var types = [0, 0, 0];\n    var handlers = new Array(routes.length);\n    var allSegments = [];\n    var isEmpty = true;\n    var j = 0;\n\n    for (var i = 0; i < routes.length; i++) {\n      var route = routes[i];\n      var ref = parse(allSegments, route.path, types);\n      var names = ref.names;\n      var shouldDecodes = ref.shouldDecodes; // preserve j so it points to the start of newly added segments\n\n      for (; j < allSegments.length; j++) {\n        var segment = allSegments[j];\n\n        if (segment.type === 4\n        /* Epsilon */\n        ) {\n            continue;\n          }\n\n        isEmpty = false; // Add a \"/\" for the new segment\n\n        currentState = currentState.put(47\n        /* SLASH */\n        , false, false);\n        pattern += \"/\"; // Add a representation of the segment to the NFA and regex\n\n        currentState = eachChar[segment.type](segment, currentState);\n        pattern += regex[segment.type](segment);\n      }\n\n      handlers[i] = {\n        handler: route.handler,\n        names: names,\n        shouldDecodes: shouldDecodes\n      };\n    }\n\n    if (isEmpty) {\n      currentState = currentState.put(47\n      /* SLASH */\n      , false, false);\n      pattern += \"/\";\n    }\n\n    currentState.handlers = handlers;\n    currentState.pattern = pattern + \"$\";\n    currentState.types = types;\n    var name;\n\n    if (typeof options === \"object\" && options !== null && options.as) {\n      name = options.as;\n    }\n\n    if (name) {\n      // if (this.names[name]) {\n      //   throw new Error(\"You may not add a duplicate route named `\" + name + \"`.\");\n      // }\n      this.names[name] = {\n        segments: allSegments,\n        handlers: handlers\n      };\n    }\n  };\n\n  RouteRecognizer.prototype.handlersFor = function handlersFor(name) {\n    var route = this.names[name];\n\n    if (!route) {\n      throw new Error(\"There is no route named \" + name);\n    }\n\n    var result = new Array(route.handlers.length);\n\n    for (var i = 0; i < route.handlers.length; i++) {\n      var handler = route.handlers[i];\n      result[i] = handler;\n    }\n\n    return result;\n  };\n\n  RouteRecognizer.prototype.hasRoute = function hasRoute(name) {\n    return !!this.names[name];\n  };\n\n  RouteRecognizer.prototype.generate = function generate$1(name, params) {\n    var route = this.names[name];\n    var output = \"\";\n\n    if (!route) {\n      throw new Error(\"There is no route named \" + name);\n    }\n\n    var segments = route.segments;\n\n    for (var i = 0; i < segments.length; i++) {\n      var segment = segments[i];\n\n      if (segment.type === 4\n      /* Epsilon */\n      ) {\n          continue;\n        }\n\n      output += \"/\";\n      output += generate[segment.type](segment, params);\n    }\n\n    if (output.charAt(0) !== \"/\") {\n      output = \"/\" + output;\n    }\n\n    if (params && params.queryParams) {\n      output += this.generateQueryString(params.queryParams);\n    }\n\n    return output;\n  };\n\n  RouteRecognizer.prototype.generateQueryString = function generateQueryString(params) {\n    var pairs = [];\n    var keys = Object.keys(params);\n    keys.sort();\n\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i];\n      var value = params[key];\n\n      if (value == null) {\n        continue;\n      }\n\n      var pair = encodeURIComponent(key);\n\n      if (isArray(value)) {\n        for (var j = 0; j < value.length; j++) {\n          var arrayPair = key + \"[]\" + \"=\" + encodeURIComponent(value[j]);\n          pairs.push(arrayPair);\n        }\n      } else {\n        pair += \"=\" + encodeURIComponent(value);\n        pairs.push(pair);\n      }\n    }\n\n    if (pairs.length === 0) {\n      return \"\";\n    }\n\n    return \"?\" + pairs.join(\"&\");\n  };\n\n  RouteRecognizer.prototype.parseQueryString = function parseQueryString(queryString) {\n    var pairs = queryString.split(\"&\");\n    var queryParams = {};\n\n    for (var i = 0; i < pairs.length; i++) {\n      var pair = pairs[i].split(\"=\"),\n          key = decodeQueryParamPart(pair[0]),\n          keyLength = key.length,\n          isArray = false,\n          value = void 0;\n\n      if (pair.length === 1) {\n        value = \"true\";\n      } else {\n        // Handle arrays\n        if (keyLength > 2 && key.slice(keyLength - 2) === \"[]\") {\n          isArray = true;\n          key = key.slice(0, keyLength - 2);\n\n          if (!queryParams[key]) {\n            queryParams[key] = [];\n          }\n        }\n\n        value = pair[1] ? decodeQueryParamPart(pair[1]) : \"\";\n      }\n\n      if (isArray) {\n        queryParams[key].push(value);\n      } else {\n        queryParams[key] = value;\n      }\n    }\n\n    return queryParams;\n  };\n\n  RouteRecognizer.prototype.recognize = function recognize(path) {\n    var results;\n    var states = [this.rootState];\n    var queryParams = {};\n    var isSlashDropped = false;\n    var hashStart = path.indexOf(\"#\");\n\n    if (hashStart !== -1) {\n      path = path.substr(0, hashStart);\n    }\n\n    var queryStart = path.indexOf(\"?\");\n\n    if (queryStart !== -1) {\n      var queryString = path.substr(queryStart + 1, path.length);\n      path = path.substr(0, queryStart);\n      queryParams = this.parseQueryString(queryString);\n    }\n\n    if (path.charAt(0) !== \"/\") {\n      path = \"/\" + path;\n    }\n\n    var originalPath = path;\n\n    if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS) {\n      path = normalizePath(path);\n    } else {\n      path = decodeURI(path);\n      originalPath = decodeURI(originalPath);\n    }\n\n    var pathLen = path.length;\n\n    if (pathLen > 1 && path.charAt(pathLen - 1) === \"/\") {\n      path = path.substr(0, pathLen - 1);\n      originalPath = originalPath.substr(0, originalPath.length - 1);\n      isSlashDropped = true;\n    }\n\n    for (var i = 0; i < path.length; i++) {\n      states = recognizeChar(states, path.charCodeAt(i));\n\n      if (!states.length) {\n        break;\n      }\n    }\n\n    var solutions = [];\n\n    for (var i$1 = 0; i$1 < states.length; i$1++) {\n      if (states[i$1].handlers) {\n        solutions.push(states[i$1]);\n      }\n    }\n\n    states = sortSolutions(solutions);\n    var state = solutions[0];\n\n    if (state && state.handlers) {\n      // if a trailing slash was dropped and a star segment is the last segment\n      // specified, put the trailing slash back\n      if (isSlashDropped && state.pattern && state.pattern.slice(-5) === \"(.+)$\") {\n        originalPath = originalPath + \"/\";\n      }\n\n      results = findHandler(state, originalPath, queryParams);\n    }\n\n    return results;\n  };\n\n  RouteRecognizer.VERSION = \"0.3.4\"; // Set to false to opt-out of encoding and decoding path segments.\n  // See https://github.com/tildeio/route-recognizer/pull/55\n\n  RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS = true;\n  RouteRecognizer.Normalizer = {\n    normalizeSegment: normalizeSegment,\n    normalizePath: normalizePath,\n    encodePathSegment: encodePathSegment\n  };\n  RouteRecognizer.prototype.map = map;\n  var _default = RouteRecognizer;\n  _exports.default = _default;\n});","enifed(\"router_js\", [\"exports\", \"@ember/polyfills\", \"ember-babel\", \"rsvp\", \"route-recognizer\"], function (_exports, _polyfills, _emberBabel, _rsvp, _routeRecognizer) {\n  \"use strict\";\n\n  _exports.logAbort = logAbort;\n  _exports.InternalRouteInfo = _exports.TransitionError = _exports.TransitionState = _exports.QUERY_PARAMS_SYMBOL = _exports.PARAMS_SYMBOL = _exports.STATE_SYMBOL = _exports.InternalTransition = _exports.default = void 0;\n\n  var TransitionAbortedError = function () {\n    TransitionAbortedError.prototype = Object.create(Error.prototype);\n    TransitionAbortedError.prototype.constructor = TransitionAbortedError;\n\n    function TransitionAbortedError(message) {\n      var error = Error.call(this, message);\n      this.name = 'TransitionAborted';\n      this.message = message || 'TransitionAborted';\n\n      if (Error.captureStackTrace) {\n        Error.captureStackTrace(this, TransitionAbortedError);\n      } else {\n        this.stack = error.stack;\n      }\n    }\n\n    return TransitionAbortedError;\n  }();\n\n  var slice = Array.prototype.slice;\n  var hasOwnProperty = Object.prototype.hasOwnProperty;\n  /**\n    Determines if an object is Promise by checking if it is \"thenable\".\n  **/\n\n  function isPromise(p) {\n    return p !== null && typeof p === 'object' && typeof p.then === 'function';\n  }\n\n  function merge(hash, other) {\n    for (var prop in other) {\n      if (hasOwnProperty.call(other, prop)) {\n        hash[prop] = other[prop];\n      }\n    }\n  }\n  /**\n    @private\n  \n    Extracts query params from the end of an array\n  **/\n\n\n  function extractQueryParams(array) {\n    var len = array && array.length,\n        head,\n        queryParams;\n\n    if (len && len > 0) {\n      var obj = array[len - 1];\n\n      if (isQueryParams(obj)) {\n        queryParams = obj.queryParams;\n        head = slice.call(array, 0, len - 1);\n        return [head, queryParams];\n      }\n    }\n\n    return [array, null];\n  }\n\n  function isQueryParams(obj) {\n    return obj && hasOwnProperty.call(obj, 'queryParams');\n  }\n  /**\n    @private\n  \n    Coerces query param properties and array elements into strings.\n  **/\n\n\n  function coerceQueryParamsToString(queryParams) {\n    for (var key in queryParams) {\n      var val = queryParams[key];\n\n      if (typeof val === 'number') {\n        queryParams[key] = '' + val;\n      } else if (Array.isArray(val)) {\n        for (var i = 0, l = val.length; i < l; i++) {\n          val[i] = '' + val[i];\n        }\n      }\n    }\n  }\n  /**\n    @private\n   */\n\n\n  function _log(router) {\n    if (!router.log) {\n      return;\n    }\n\n    for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n      args[_key - 1] = arguments[_key];\n    }\n\n    if (args.length === 2) {\n      var sequence = args[0],\n          msg = args[1];\n      router.log('Transition #' + sequence + ': ' + msg);\n    } else {\n      var _msg = args[0];\n      router.log(_msg);\n    }\n  }\n\n  function isParam(object) {\n    return typeof object === 'string' || object instanceof String || typeof object === 'number' || object instanceof Number;\n  }\n\n  function forEach(array, callback) {\n    for (var i = 0, l = array.length; i < l && callback(array[i]) !== false; i++) {// empty intentionally\n    }\n  }\n\n  function getChangelist(oldObject, newObject) {\n    var key;\n    var results = {\n      all: {},\n      changed: {},\n      removed: {}\n    };\n    merge(results.all, newObject);\n    var didChange = false;\n    coerceQueryParamsToString(oldObject);\n    coerceQueryParamsToString(newObject); // Calculate removals\n\n    for (key in oldObject) {\n      if (hasOwnProperty.call(oldObject, key)) {\n        if (!hasOwnProperty.call(newObject, key)) {\n          didChange = true;\n          results.removed[key] = oldObject[key];\n        }\n      }\n    } // Calculate changes\n\n\n    for (key in newObject) {\n      if (hasOwnProperty.call(newObject, key)) {\n        var oldElement = oldObject[key];\n        var newElement = newObject[key];\n\n        if (isArray(oldElement) && isArray(newElement)) {\n          if (oldElement.length !== newElement.length) {\n            results.changed[key] = newObject[key];\n            didChange = true;\n          } else {\n            for (var i = 0, l = oldElement.length; i < l; i++) {\n              if (oldElement[i] !== newElement[i]) {\n                results.changed[key] = newObject[key];\n                didChange = true;\n              }\n            }\n          }\n        } else if (oldObject[key] !== newObject[key]) {\n          results.changed[key] = newObject[key];\n          didChange = true;\n        }\n      }\n    }\n\n    return didChange ? results : undefined;\n  }\n\n  function isArray(obj) {\n    return Array.isArray(obj);\n  }\n\n  function _promiseLabel(label) {\n    return 'Router: ' + label;\n  }\n\n  var STATE_SYMBOL = \"__STATE__-2619860001345920-3322w3\";\n  _exports.STATE_SYMBOL = STATE_SYMBOL;\n  var PARAMS_SYMBOL = \"__PARAMS__-261986232992830203-23323\";\n  _exports.PARAMS_SYMBOL = PARAMS_SYMBOL;\n  var QUERY_PARAMS_SYMBOL = \"__QPS__-2619863929824844-32323\";\n  /**\n    A Transition is a thennable (a promise-like object) that represents\n    an attempt to transition to another route. It can be aborted, either\n    explicitly via `abort` or by attempting another transition while a\n    previous one is still underway. An aborted transition can also\n    be `retry()`d later.\n  \n    @class Transition\n    @constructor\n    @param {Object} router\n    @param {Object} intent\n    @param {Object} state\n    @param {Object} error\n    @private\n   */\n\n  _exports.QUERY_PARAMS_SYMBOL = QUERY_PARAMS_SYMBOL;\n\n  var Transition =\n  /*#__PURE__*/\n  function () {\n    function Transition(router, intent, state) {\n      var _this = this;\n\n      var error = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : undefined;\n      var previousTransition = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : undefined;\n      this.from = null;\n      this.to = undefined;\n      this.isAborted = false;\n      this.isActive = true;\n      this.urlMethod = 'update';\n      this.resolveIndex = 0;\n      this.queryParamsOnly = false;\n      this.isTransition = true;\n      this.isCausedByAbortingTransition = false;\n      this.isCausedByInitialTransition = false;\n      this.isCausedByAbortingReplaceTransition = false;\n      this._visibleQueryParams = {};\n      this[STATE_SYMBOL] = state || router.state;\n      this.intent = intent;\n      this.router = router;\n      this.data = intent && intent.data || {};\n      this.resolvedModels = {};\n      this[QUERY_PARAMS_SYMBOL] = {};\n      this.promise = undefined;\n      this.error = undefined;\n      this[PARAMS_SYMBOL] = {};\n      this.routeInfos = [];\n      this.targetName = undefined;\n      this.pivotHandler = undefined;\n      this.sequence = -1;\n\n      if (error) {\n        this.promise = _rsvp.Promise.reject(error);\n        this.error = error;\n        return;\n      } // if you're doing multiple redirects, need the new transition to know if it\n      // is actually part of the first transition or not. Any further redirects\n      // in the initial transition also need to know if they are part of the\n      // initial transition\n\n\n      this.isCausedByAbortingTransition = !!previousTransition;\n      this.isCausedByInitialTransition = !!previousTransition && (previousTransition.isCausedByInitialTransition || previousTransition.sequence === 0); // Every transition in the chain is a replace\n\n      this.isCausedByAbortingReplaceTransition = !!previousTransition && previousTransition.urlMethod === 'replace' && (!previousTransition.isCausedByAbortingTransition || previousTransition.isCausedByAbortingReplaceTransition);\n\n      if (state) {\n        this[PARAMS_SYMBOL] = state.params;\n        this[QUERY_PARAMS_SYMBOL] = state.queryParams;\n        this.routeInfos = state.routeInfos;\n        var len = state.routeInfos.length;\n\n        if (len) {\n          this.targetName = state.routeInfos[len - 1].name;\n        }\n\n        for (var i = 0; i < len; ++i) {\n          var handlerInfo = state.routeInfos[i]; // TODO: this all seems hacky\n\n          if (!handlerInfo.isResolved) {\n            break;\n          }\n\n          this.pivotHandler = handlerInfo.route;\n        }\n\n        this.sequence = router.currentSequence++;\n        this.promise = state.resolve(function () {\n          if (_this.isAborted) {\n            return _rsvp.Promise.reject(false, _promiseLabel('Transition aborted - reject'));\n          }\n\n          return _rsvp.Promise.resolve(true);\n        }, this).catch(function (result) {\n          return _rsvp.Promise.reject(_this.router.transitionDidError(result, _this));\n        }, _promiseLabel('Handle Abort'));\n      } else {\n        this.promise = _rsvp.Promise.resolve(this[STATE_SYMBOL]);\n        this[PARAMS_SYMBOL] = {};\n      }\n    }\n    /**\n      The Transition's internal promise. Calling `.then` on this property\n      is that same as calling `.then` on the Transition object itself, but\n      this property is exposed for when you want to pass around a\n      Transition's promise, but not the Transition object itself, since\n      Transition object can be externally `abort`ed, while the promise\n      cannot.\n         @property promise\n      @type {Object}\n      @public\n     */\n\n    /**\n      Custom state can be stored on a Transition's `data` object.\n      This can be useful for decorating a Transition within an earlier\n      hook and shared with a later hook. Properties set on `data` will\n      be copied to new transitions generated by calling `retry` on this\n      transition.\n         @property data\n      @type {Object}\n      @public\n     */\n\n    /**\n      A standard promise hook that resolves if the transition\n      succeeds and rejects if it fails/redirects/aborts.\n         Forwards to the internal `promise` property which you can\n      use in situations where you want to pass around a thennable,\n      but not the Transition itself.\n         @method then\n      @param {Function} onFulfilled\n      @param {Function} onRejected\n      @param {String} label optional string for labeling the promise.\n      Useful for tooling.\n      @return {Promise}\n      @public\n     */\n\n\n    var _proto = Transition.prototype;\n\n    _proto.then = function then(onFulfilled, onRejected, label) {\n      return this.promise.then(onFulfilled, onRejected, label);\n    }\n    /**\n         Forwards to the internal `promise` property which you can\n      use in situations where you want to pass around a thennable,\n      but not the Transition itself.\n         @method catch\n      @param {Function} onRejection\n      @param {String} label optional string for labeling the promise.\n      Useful for tooling.\n      @return {Promise}\n      @public\n     */\n    ;\n\n    _proto.catch = function _catch(onRejection, label) {\n      return this.promise.catch(onRejection, label);\n    }\n    /**\n         Forwards to the internal `promise` property which you can\n      use in situations where you want to pass around a thennable,\n      but not the Transition itself.\n         @method finally\n      @param {Function} callback\n      @param {String} label optional string for labeling the promise.\n      Useful for tooling.\n      @return {Promise}\n      @public\n     */\n    ;\n\n    _proto.finally = function _finally(callback, label) {\n      return this.promise.finally(callback, label);\n    }\n    /**\n      Aborts the Transition. Note you can also implicitly abort a transition\n      by initiating another transition while a previous one is underway.\n         @method abort\n      @return {Transition} this transition\n      @public\n     */\n    ;\n\n    _proto.abort = function abort() {\n      this.rollback();\n      var transition = new Transition(this.router, undefined, undefined, undefined);\n      transition.to = this.from;\n      transition.from = this.from;\n      transition.isAborted = true;\n      this.router.routeWillChange(transition);\n      this.router.routeDidChange(transition);\n      return this;\n    };\n\n    _proto.rollback = function rollback() {\n      if (!this.isAborted) {\n        _log(this.router, this.sequence, this.targetName + ': transition was aborted');\n\n        if (this.intent !== undefined && this.intent !== null) {\n          this.intent.preTransitionState = this.router.state;\n        }\n\n        this.isAborted = true;\n        this.isActive = false;\n        this.router.activeTransition = undefined;\n      }\n    };\n\n    _proto.redirect = function redirect(newTransition) {\n      this.rollback();\n      this.router.routeWillChange(newTransition);\n    }\n    /**\n         Retries a previously-aborted transition (making sure to abort the\n      transition if it's still active). Returns a new transition that\n      represents the new attempt to transition.\n         @method retry\n      @return {Transition} new transition\n      @public\n     */\n    ;\n\n    _proto.retry = function retry() {\n      // TODO: add tests for merged state retry()s\n      this.abort();\n      var newTransition = this.router.transitionByIntent(this.intent, false); // inheriting a `null` urlMethod is not valid\n      // the urlMethod is only set to `null` when\n      // the transition is initiated *after* the url\n      // has been updated (i.e. `router.handleURL`)\n      //\n      // in that scenario, the url method cannot be\n      // inherited for a new transition because then\n      // the url would not update even though it should\n\n      if (this.urlMethod !== null) {\n        newTransition.method(this.urlMethod);\n      }\n\n      return newTransition;\n    }\n    /**\n         Sets the URL-changing method to be employed at the end of a\n      successful transition. By default, a new Transition will just\n      use `updateURL`, but passing 'replace' to this method will\n      cause the URL to update using 'replaceWith' instead. Omitting\n      a parameter will disable the URL change, allowing for transitions\n      that don't update the URL at completion (this is also used for\n      handleURL, since the URL has already changed before the\n      transition took place).\n         @method method\n      @param {String} method the type of URL-changing method to use\n        at the end of a transition. Accepted values are 'replace',\n        falsy values, or any other non-falsy value (which is\n        interpreted as an updateURL transition).\n         @return {Transition} this transition\n      @public\n     */\n    ;\n\n    _proto.method = function method(_method) {\n      this.urlMethod = _method;\n      return this;\n    } // Alias 'trigger' as 'send'\n    ;\n\n    _proto.send = function send() {\n      var ignoreFailure = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n\n      var _name = arguments.length > 1 ? arguments[1] : undefined;\n\n      var err = arguments.length > 2 ? arguments[2] : undefined;\n      var transition = arguments.length > 3 ? arguments[3] : undefined;\n      var handler = arguments.length > 4 ? arguments[4] : undefined;\n      this.trigger(ignoreFailure, _name, err, transition, handler);\n    }\n    /**\n         Fires an event on the current list of resolved/resolving\n      handlers within this transition. Useful for firing events\n      on route hierarchies that haven't fully been entered yet.\n         Note: This method is also aliased as `send`\n         @method trigger\n      @param {Boolean} [ignoreFailure=false] a boolean specifying whether unhandled events throw an error\n      @param {String} name the name of the event to fire\n      @public\n     */\n    ;\n\n    _proto.trigger = function trigger() {\n      var ignoreFailure = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n      var name = arguments.length > 1 ? arguments[1] : undefined; // TODO: Deprecate the current signature\n\n      if (typeof ignoreFailure === 'string') {\n        name = ignoreFailure;\n        ignoreFailure = false;\n      }\n\n      for (var _len2 = arguments.length, args = new Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n        args[_key2 - 2] = arguments[_key2];\n      }\n\n      this.router.triggerEvent(this[STATE_SYMBOL].routeInfos.slice(0, this.resolveIndex + 1), ignoreFailure, name, args);\n    }\n    /**\n      Transitions are aborted and their promises rejected\n      when redirects occur; this method returns a promise\n      that will follow any redirects that occur and fulfill\n      with the value fulfilled by any redirecting transitions\n      that occur.\n         @method followRedirects\n      @return {Promise} a promise that fulfills with the same\n        value that the final redirecting transition fulfills with\n      @public\n     */\n    ;\n\n    _proto.followRedirects = function followRedirects() {\n      var router = this.router;\n      return this.promise.catch(function (reason) {\n        if (router.activeTransition) {\n          return router.activeTransition.followRedirects();\n        }\n\n        return _rsvp.Promise.reject(reason);\n      });\n    };\n\n    _proto.toString = function toString() {\n      return 'Transition (sequence ' + this.sequence + ')';\n    }\n    /**\n      @private\n     */\n    ;\n\n    _proto.log = function log(message) {\n      _log(this.router, this.sequence, message);\n    };\n\n    return Transition;\n  }();\n  /**\n    @private\n  \n    Logs and returns an instance of TransitionAborted.\n   */\n\n\n  _exports.InternalTransition = Transition;\n\n  function logAbort(transition) {\n    _log(transition.router, transition.sequence, 'detected abort.');\n\n    return new TransitionAbortedError();\n  }\n\n  function isTransition(obj) {\n    return typeof obj === 'object' && obj instanceof Transition && obj.isTransition;\n  }\n\n  function prepareResult(obj) {\n    if (isTransition(obj)) {\n      return null;\n    }\n\n    return obj;\n  }\n\n  var ROUTE_INFOS = new WeakMap();\n\n  function toReadOnlyRouteInfo(routeInfos) {\n    var queryParams = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n    var includeAttributes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n    return routeInfos.map(function (info, i) {\n      var name = info.name,\n          params = info.params,\n          paramNames = info.paramNames,\n          context = info.context,\n          route = info.route;\n\n      if (ROUTE_INFOS.has(info) && includeAttributes) {\n        var _routeInfo = ROUTE_INFOS.get(info);\n\n        _routeInfo = attachMetadata(route, _routeInfo);\n        var routeInfoWithAttribute = createRouteInfoWithAttributes(_routeInfo, context);\n        ROUTE_INFOS.set(info, routeInfoWithAttribute);\n        return routeInfoWithAttribute;\n      }\n\n      var routeInfo = {\n        find: function (predicate, thisArg) {\n          var publicInfo;\n          var arr = [];\n\n          if (predicate.length === 3) {\n            arr = routeInfos.map(function (info) {\n              return ROUTE_INFOS.get(info);\n            });\n          }\n\n          for (var _i = 0; routeInfos.length > _i; _i++) {\n            publicInfo = ROUTE_INFOS.get(routeInfos[_i]);\n\n            if (predicate.call(thisArg, publicInfo, _i, arr)) {\n              return publicInfo;\n            }\n          }\n\n          return undefined;\n        },\n\n        get name() {\n          return name;\n        },\n\n        get paramNames() {\n          return paramNames;\n        },\n\n        get metadata() {\n          return buildRouteInfoMetadata(info.route);\n        },\n\n        get parent() {\n          var parent = routeInfos[i - 1];\n\n          if (parent === undefined) {\n            return null;\n          }\n\n          return ROUTE_INFOS.get(parent);\n        },\n\n        get child() {\n          var child = routeInfos[i + 1];\n\n          if (child === undefined) {\n            return null;\n          }\n\n          return ROUTE_INFOS.get(child);\n        },\n\n        get localName() {\n          var parts = this.name.split('.');\n          return parts[parts.length - 1];\n        },\n\n        get params() {\n          return params;\n        },\n\n        get queryParams() {\n          return queryParams;\n        }\n\n      };\n\n      if (includeAttributes) {\n        routeInfo = createRouteInfoWithAttributes(routeInfo, context);\n      }\n\n      ROUTE_INFOS.set(info, routeInfo);\n      return routeInfo;\n    });\n  }\n\n  function createRouteInfoWithAttributes(routeInfo, context) {\n    var attributes = {\n      get attributes() {\n        return context;\n      }\n\n    };\n\n    if (Object.isFrozen(routeInfo) || routeInfo.hasOwnProperty('attributes')) {\n      return Object.freeze((0, _polyfills.assign)({}, routeInfo, attributes));\n    }\n\n    return (0, _polyfills.assign)(routeInfo, attributes);\n  }\n\n  function buildRouteInfoMetadata(route) {\n    if (route !== undefined && route !== null && route.buildRouteInfoMetadata !== undefined) {\n      return route.buildRouteInfoMetadata();\n    }\n\n    return null;\n  }\n\n  function attachMetadata(route, routeInfo) {\n    var metadata = {\n      get metadata() {\n        return buildRouteInfoMetadata(route);\n      }\n\n    };\n\n    if (Object.isFrozen(routeInfo) || routeInfo.hasOwnProperty('metadata')) {\n      return Object.freeze((0, _polyfills.assign)({}, routeInfo, metadata));\n    }\n\n    return (0, _polyfills.assign)(routeInfo, metadata);\n  }\n\n  var InternalRouteInfo =\n  /*#__PURE__*/\n  function () {\n    function InternalRouteInfo(router, name, paramNames, route) {\n      this._routePromise = undefined;\n      this._route = null;\n      this.params = {};\n      this.isResolved = false;\n      this.name = name;\n      this.paramNames = paramNames;\n      this.router = router;\n\n      if (route) {\n        this._processRoute(route);\n      }\n    }\n\n    var _proto2 = InternalRouteInfo.prototype;\n\n    _proto2.getModel = function getModel(_transition) {\n      return _rsvp.Promise.resolve(this.context);\n    };\n\n    _proto2.serialize = function serialize(_context) {\n      return this.params || {};\n    };\n\n    _proto2.resolve = function resolve(shouldContinue, transition) {\n      var _this2 = this;\n\n      return _rsvp.Promise.resolve(this.routePromise).then(function (route) {\n        return _this2.checkForAbort(shouldContinue, route);\n      }).then(function () {\n        return _this2.runBeforeModelHook(transition);\n      }).then(function () {\n        return _this2.checkForAbort(shouldContinue, null);\n      }).then(function () {\n        return _this2.getModel(transition);\n      }).then(function (resolvedModel) {\n        return _this2.checkForAbort(shouldContinue, resolvedModel);\n      }).then(function (resolvedModel) {\n        return _this2.runAfterModelHook(transition, resolvedModel);\n      }).then(function (resolvedModel) {\n        return _this2.becomeResolved(transition, resolvedModel);\n      });\n    };\n\n    _proto2.becomeResolved = function becomeResolved(transition, resolvedContext) {\n      var params = this.serialize(resolvedContext);\n\n      if (transition) {\n        this.stashResolvedModel(transition, resolvedContext);\n        transition[PARAMS_SYMBOL] = transition[PARAMS_SYMBOL] || {};\n        transition[PARAMS_SYMBOL][this.name] = params;\n      }\n\n      var context;\n      var contextsMatch = resolvedContext === this.context;\n\n      if ('context' in this || !contextsMatch) {\n        context = resolvedContext;\n      }\n\n      var cached = ROUTE_INFOS.get(this);\n      var resolved = new ResolvedRouteInfo(this.router, this.name, this.paramNames, params, this.route, context);\n\n      if (cached !== undefined) {\n        ROUTE_INFOS.set(resolved, cached);\n      }\n\n      return resolved;\n    };\n\n    _proto2.shouldSupercede = function shouldSupercede(routeInfo) {\n      // Prefer this newer routeInfo over `other` if:\n      // 1) The other one doesn't exist\n      // 2) The names don't match\n      // 3) This route has a context that doesn't match\n      //    the other one (or the other one doesn't have one).\n      // 4) This route has parameters that don't match the other.\n      if (!routeInfo) {\n        return true;\n      }\n\n      var contextsMatch = routeInfo.context === this.context;\n      return routeInfo.name !== this.name || 'context' in this && !contextsMatch || this.hasOwnProperty('params') && !paramsMatch(this.params, routeInfo.params);\n    };\n\n    _proto2.log = function log(transition, message) {\n      if (transition.log) {\n        transition.log(this.name + ': ' + message);\n      }\n    };\n\n    _proto2.updateRoute = function updateRoute(route) {\n      route._internalName = this.name;\n      return this.route = route;\n    };\n\n    _proto2.runBeforeModelHook = function runBeforeModelHook(transition) {\n      if (transition.trigger) {\n        transition.trigger(true, 'willResolveModel', transition, this.route);\n      }\n\n      var result;\n\n      if (this.route) {\n        if (this.route.beforeModel !== undefined) {\n          result = this.route.beforeModel(transition);\n        }\n      }\n\n      if (isTransition(result)) {\n        result = null;\n      }\n\n      return _rsvp.Promise.resolve(result);\n    };\n\n    _proto2.runAfterModelHook = function runAfterModelHook(transition, resolvedModel) {\n      // Stash the resolved model on the payload.\n      // This makes it possible for users to swap out\n      // the resolved model in afterModel.\n      var name = this.name;\n      this.stashResolvedModel(transition, resolvedModel);\n      var result;\n\n      if (this.route !== undefined) {\n        if (this.route.afterModel !== undefined) {\n          result = this.route.afterModel(resolvedModel, transition);\n        }\n      }\n\n      result = prepareResult(result);\n      return _rsvp.Promise.resolve(result).then(function () {\n        // Ignore the fulfilled value returned from afterModel.\n        // Return the value stashed in resolvedModels, which\n        // might have been swapped out in afterModel.\n        return transition.resolvedModels[name];\n      });\n    };\n\n    _proto2.checkForAbort = function checkForAbort(shouldContinue, value) {\n      return _rsvp.Promise.resolve(shouldContinue()).then(function () {\n        // We don't care about shouldContinue's resolve value;\n        // pass along the original value passed to this fn.\n        return value;\n      }, null);\n    };\n\n    _proto2.stashResolvedModel = function stashResolvedModel(transition, resolvedModel) {\n      transition.resolvedModels = transition.resolvedModels || {};\n      transition.resolvedModels[this.name] = resolvedModel;\n    };\n\n    _proto2.fetchRoute = function fetchRoute() {\n      var route = this.router.getRoute(this.name);\n      return this._processRoute(route);\n    };\n\n    _proto2._processRoute = function _processRoute(route) {\n      var _this3 = this; // Setup a routePromise so that we can wait for asynchronously loaded routes\n\n\n      this.routePromise = _rsvp.Promise.resolve(route); // Wait until the 'route' property has been updated when chaining to a route\n      // that is a promise\n\n      if (isPromise(route)) {\n        this.routePromise = this.routePromise.then(function (r) {\n          return _this3.updateRoute(r);\n        }); // set to undefined to avoid recursive loop in the route getter\n\n        return this.route = undefined;\n      } else if (route) {\n        return this.updateRoute(route);\n      }\n\n      return undefined;\n    };\n\n    (0, _emberBabel.createClass)(InternalRouteInfo, [{\n      key: \"route\",\n      get: function () {\n        // _route could be set to either a route object or undefined, so we\n        // compare against null to know when it's been set\n        if (this._route !== null) {\n          return this._route;\n        }\n\n        return this.fetchRoute();\n      },\n      set: function (route) {\n        this._route = route;\n      }\n    }, {\n      key: \"routePromise\",\n      get: function () {\n        if (this._routePromise) {\n          return this._routePromise;\n        }\n\n        this.fetchRoute();\n        return this._routePromise;\n      },\n      set: function (routePromise) {\n        this._routePromise = routePromise;\n      }\n    }]);\n    return InternalRouteInfo;\n  }();\n\n  _exports.InternalRouteInfo = InternalRouteInfo;\n\n  var ResolvedRouteInfo =\n  /*#__PURE__*/\n  function (_InternalRouteInfo) {\n    (0, _emberBabel.inheritsLoose)(ResolvedRouteInfo, _InternalRouteInfo);\n\n    function ResolvedRouteInfo(router, name, paramNames, params, route, context) {\n      var _this4;\n\n      _this4 = _InternalRouteInfo.call(this, router, name, paramNames, route) || this;\n      _this4.params = params;\n      _this4.isResolved = true;\n      _this4.context = context;\n      return _this4;\n    }\n\n    var _proto3 = ResolvedRouteInfo.prototype;\n\n    _proto3.resolve = function resolve(_shouldContinue, transition) {\n      // A ResolvedRouteInfo just resolved with itself.\n      if (transition && transition.resolvedModels) {\n        transition.resolvedModels[this.name] = this.context;\n      }\n\n      return _rsvp.Promise.resolve(this);\n    };\n\n    return ResolvedRouteInfo;\n  }(InternalRouteInfo);\n\n  var UnresolvedRouteInfoByParam =\n  /*#__PURE__*/\n  function (_InternalRouteInfo2) {\n    (0, _emberBabel.inheritsLoose)(UnresolvedRouteInfoByParam, _InternalRouteInfo2);\n\n    function UnresolvedRouteInfoByParam(router, name, paramNames, params, route) {\n      var _this5;\n\n      _this5 = _InternalRouteInfo2.call(this, router, name, paramNames, route) || this;\n      _this5.params = {};\n      _this5.params = params;\n      return _this5;\n    }\n\n    var _proto4 = UnresolvedRouteInfoByParam.prototype;\n\n    _proto4.getModel = function getModel(transition) {\n      var fullParams = this.params;\n\n      if (transition && transition[QUERY_PARAMS_SYMBOL]) {\n        fullParams = {};\n        merge(fullParams, this.params);\n        fullParams.queryParams = transition[QUERY_PARAMS_SYMBOL];\n      }\n\n      var route = this.route;\n      var result = undefined;\n\n      if (route.deserialize) {\n        result = route.deserialize(fullParams, transition);\n      } else if (route.model) {\n        result = route.model(fullParams, transition);\n      }\n\n      if (result && isTransition(result)) {\n        result = undefined;\n      }\n\n      return _rsvp.Promise.resolve(result);\n    };\n\n    return UnresolvedRouteInfoByParam;\n  }(InternalRouteInfo);\n\n  var UnresolvedRouteInfoByObject =\n  /*#__PURE__*/\n  function (_InternalRouteInfo3) {\n    (0, _emberBabel.inheritsLoose)(UnresolvedRouteInfoByObject, _InternalRouteInfo3);\n\n    function UnresolvedRouteInfoByObject(router, name, paramNames, context) {\n      var _this6;\n\n      _this6 = _InternalRouteInfo3.call(this, router, name, paramNames) || this;\n      _this6.context = context;\n      _this6.serializer = _this6.router.getSerializer(name);\n      return _this6;\n    }\n\n    var _proto5 = UnresolvedRouteInfoByObject.prototype;\n\n    _proto5.getModel = function getModel(transition) {\n      if (this.router.log !== undefined) {\n        this.router.log(this.name + ': resolving provided model');\n      }\n\n      return _InternalRouteInfo3.prototype.getModel.call(this, transition);\n    }\n    /**\n      @private\n         Serializes a route using its custom `serialize` method or\n      by a default that looks up the expected property name from\n      the dynamic segment.\n         @param {Object} model the model to be serialized for this route\n    */\n    ;\n\n    _proto5.serialize = function serialize(model) {\n      var paramNames = this.paramNames,\n          context = this.context;\n\n      if (!model) {\n        model = context;\n      }\n\n      var object = {};\n\n      if (isParam(model)) {\n        object[paramNames[0]] = model;\n        return object;\n      } // Use custom serialize if it exists.\n\n\n      if (this.serializer) {\n        // invoke this.serializer unbound (getSerializer returns a stateless function)\n        return this.serializer.call(null, model, paramNames);\n      } else if (this.route !== undefined) {\n        if (this.route.serialize) {\n          return this.route.serialize(model, paramNames);\n        }\n      }\n\n      if (paramNames.length !== 1) {\n        return;\n      }\n\n      var name = paramNames[0];\n\n      if (/_id$/.test(name)) {\n        object[name] = model.id;\n      } else {\n        object[name] = model;\n      }\n\n      return object;\n    };\n\n    return UnresolvedRouteInfoByObject;\n  }(InternalRouteInfo);\n\n  function paramsMatch(a, b) {\n    if (!a !== !b) {\n      // Only one is null.\n      return false;\n    }\n\n    if (!a) {\n      // Both must be null.\n      return true;\n    } // Note: this assumes that both params have the same\n    // number of keys, but since we're comparing the\n    // same routes, they should.\n\n\n    for (var k in a) {\n      if (a.hasOwnProperty(k) && a[k] !== b[k]) {\n        return false;\n      }\n    }\n\n    return true;\n  }\n\n  var TransitionIntent = function TransitionIntent(router) {\n    var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n    this.router = router;\n    this.data = data;\n  };\n\n  var TransitionState =\n  /*#__PURE__*/\n  function () {\n    function TransitionState() {\n      this.routeInfos = [];\n      this.queryParams = {};\n      this.params = {};\n    }\n\n    var _proto6 = TransitionState.prototype;\n\n    _proto6.promiseLabel = function promiseLabel(label) {\n      var targetName = '';\n      forEach(this.routeInfos, function (routeInfo) {\n        if (targetName !== '') {\n          targetName += '.';\n        }\n\n        targetName += routeInfo.name;\n        return true;\n      });\n      return _promiseLabel(\"'\" + targetName + \"': \" + label);\n    };\n\n    _proto6.resolve = function resolve(shouldContinue, transition) {\n      // First, calculate params for this state. This is useful\n      // information to provide to the various route hooks.\n      var params = this.params;\n      forEach(this.routeInfos, function (routeInfo) {\n        params[routeInfo.name] = routeInfo.params || {};\n        return true;\n      });\n      transition.resolveIndex = 0;\n      var currentState = this;\n      var wasAborted = false; // The prelude RSVP.resolve() asyncs us into the promise land.\n\n      return _rsvp.Promise.resolve(null, this.promiseLabel('Start transition')).then(resolveOneRouteInfo, null, this.promiseLabel('Resolve route')).catch(handleError, this.promiseLabel('Handle error'));\n\n      function innerShouldContinue() {\n        return _rsvp.Promise.resolve(shouldContinue(), currentState.promiseLabel('Check if should continue')).catch(function (reason) {\n          // We distinguish between errors that occurred\n          // during resolution (e.g. before\"Model/model/afterModel),\n          // and aborts due to a rejecting promise from shouldContinue().\n          wasAborted = true;\n          return _rsvp.Promise.reject(reason);\n        }, currentState.promiseLabel('Handle abort'));\n      }\n\n      function handleError(error) {\n        // This is the only possible\n        // reject value of TransitionState#resolve\n        var routeInfos = currentState.routeInfos;\n        var errorHandlerIndex = transition.resolveIndex >= routeInfos.length ? routeInfos.length - 1 : transition.resolveIndex;\n        return _rsvp.Promise.reject(new TransitionError(error, currentState.routeInfos[errorHandlerIndex].route, wasAborted, currentState));\n      }\n\n      function proceed(resolvedRouteInfo) {\n        var wasAlreadyResolved = currentState.routeInfos[transition.resolveIndex].isResolved; // Swap the previously unresolved routeInfo with\n        // the resolved routeInfo\n\n        currentState.routeInfos[transition.resolveIndex++] = resolvedRouteInfo;\n\n        if (!wasAlreadyResolved) {\n          // Call the redirect hook. The reason we call it here\n          // vs. afterModel is so that redirects into child\n          // routes don't re-run the model hooks for this\n          // already-resolved route.\n          var route = resolvedRouteInfo.route;\n\n          if (route !== undefined) {\n            if (route.redirect) {\n              route.redirect(resolvedRouteInfo.context, transition);\n            }\n          }\n        } // Proceed after ensuring that the redirect hook\n        // didn't abort this transition by transitioning elsewhere.\n\n\n        return innerShouldContinue().then(resolveOneRouteInfo, null, currentState.promiseLabel('Resolve route'));\n      }\n\n      function resolveOneRouteInfo() {\n        if (transition.resolveIndex === currentState.routeInfos.length) {\n          // This is is the only possible\n          // fulfill value of TransitionState#resolve\n          return currentState;\n        }\n\n        var routeInfo = currentState.routeInfos[transition.resolveIndex];\n        return routeInfo.resolve(innerShouldContinue, transition).then(proceed, null, currentState.promiseLabel('Proceed'));\n      }\n    };\n\n    return TransitionState;\n  }();\n\n  _exports.TransitionState = TransitionState;\n\n  var TransitionError = function TransitionError(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\n  var NamedTransitionIntent =\n  /*#__PURE__*/\n  function (_TransitionIntent) {\n    (0, _emberBabel.inheritsLoose)(NamedTransitionIntent, _TransitionIntent);\n\n    function NamedTransitionIntent(router, name, pivotHandler) {\n      var _this7;\n\n      var contexts = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];\n      var queryParams = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {};\n      var data = arguments.length > 5 ? arguments[5] : undefined;\n      _this7 = _TransitionIntent.call(this, router, data) || this;\n      _this7.preTransitionState = undefined;\n      _this7.name = name;\n      _this7.pivotHandler = pivotHandler;\n      _this7.contexts = contexts;\n      _this7.queryParams = queryParams;\n      return _this7;\n    }\n\n    var _proto7 = NamedTransitionIntent.prototype;\n\n    _proto7.applyToState = function applyToState(oldState, isIntermediate) {\n      // TODO: WTF fix me\n      var partitionedArgs = extractQueryParams([this.name].concat(this.contexts)),\n          pureArgs = partitionedArgs[0],\n          handlers = this.router.recognizer.handlersFor(pureArgs[0]);\n      var targetRouteName = handlers[handlers.length - 1].handler;\n      return this.applyToHandlers(oldState, handlers, targetRouteName, isIntermediate, false);\n    };\n\n    _proto7.applyToHandlers = function applyToHandlers(oldState, parsedHandlers, targetRouteName, isIntermediate, checkingIfActive) {\n      var i, len;\n      var newState = new TransitionState();\n      var objects = this.contexts.slice(0);\n      var invalidateIndex = parsedHandlers.length; // Pivot handlers are provided for refresh transitions\n\n      if (this.pivotHandler) {\n        for (i = 0, len = parsedHandlers.length; i < len; ++i) {\n          if (parsedHandlers[i].handler === this.pivotHandler._internalName) {\n            invalidateIndex = i;\n            break;\n          }\n        }\n      }\n\n      for (i = parsedHandlers.length - 1; i >= 0; --i) {\n        var result = parsedHandlers[i];\n        var name = result.handler;\n        var oldHandlerInfo = oldState.routeInfos[i];\n        var newHandlerInfo = null;\n\n        if (result.names.length > 0) {\n          if (i >= invalidateIndex) {\n            newHandlerInfo = this.createParamHandlerInfo(name, result.names, objects, oldHandlerInfo);\n          } else {\n            newHandlerInfo = this.getHandlerInfoForDynamicSegment(name, result.names, objects, oldHandlerInfo, targetRouteName, i);\n          }\n        } else {\n          // This route has no dynamic segment.\n          // Therefore treat as a param-based handlerInfo\n          // with empty params. This will cause the `model`\n          // hook to be called with empty params, which is desirable.\n          newHandlerInfo = this.createParamHandlerInfo(name, result.names, objects, oldHandlerInfo);\n        }\n\n        if (checkingIfActive) {\n          // If we're performing an isActive check, we want to\n          // serialize URL params with the provided context, but\n          // ignore mismatches between old and new context.\n          newHandlerInfo = newHandlerInfo.becomeResolved(null, newHandlerInfo.context);\n          var oldContext = oldHandlerInfo && oldHandlerInfo.context;\n\n          if (result.names.length > 0 && oldHandlerInfo.context !== undefined && newHandlerInfo.context === oldContext) {\n            // If contexts match in isActive test, assume params also match.\n            // This allows for flexibility in not requiring that every last\n            // handler provide a `serialize` method\n            newHandlerInfo.params = oldHandlerInfo && oldHandlerInfo.params;\n          }\n\n          newHandlerInfo.context = oldContext;\n        }\n\n        var handlerToUse = oldHandlerInfo;\n\n        if (i >= invalidateIndex || newHandlerInfo.shouldSupercede(oldHandlerInfo)) {\n          invalidateIndex = Math.min(i, invalidateIndex);\n          handlerToUse = newHandlerInfo;\n        }\n\n        if (isIntermediate && !checkingIfActive) {\n          handlerToUse = handlerToUse.becomeResolved(null, handlerToUse.context);\n        }\n\n        newState.routeInfos.unshift(handlerToUse);\n      }\n\n      if (objects.length > 0) {\n        throw new Error('More context objects were passed than there are dynamic segments for the route: ' + targetRouteName);\n      }\n\n      if (!isIntermediate) {\n        this.invalidateChildren(newState.routeInfos, invalidateIndex);\n      }\n\n      merge(newState.queryParams, this.queryParams || {});\n      return newState;\n    };\n\n    _proto7.invalidateChildren = function invalidateChildren(handlerInfos, invalidateIndex) {\n      for (var i = invalidateIndex, l = handlerInfos.length; i < l; ++i) {\n        var handlerInfo = handlerInfos[i];\n\n        if (handlerInfo.isResolved) {\n          var _handlerInfos$i = handlerInfos[i],\n              name = _handlerInfos$i.name,\n              params = _handlerInfos$i.params,\n              route = _handlerInfos$i.route,\n              paramNames = _handlerInfos$i.paramNames;\n          handlerInfos[i] = new UnresolvedRouteInfoByParam(this.router, name, paramNames, params, route);\n        }\n      }\n    };\n\n    _proto7.getHandlerInfoForDynamicSegment = function getHandlerInfoForDynamicSegment(name, names, objects, oldHandlerInfo, _targetRouteName, i) {\n      var objectToUse;\n\n      if (objects.length > 0) {\n        // Use the objects provided for this transition.\n        objectToUse = objects[objects.length - 1];\n\n        if (isParam(objectToUse)) {\n          return this.createParamHandlerInfo(name, names, objects, oldHandlerInfo);\n        } else {\n          objects.pop();\n        }\n      } else if (oldHandlerInfo && oldHandlerInfo.name === name) {\n        // Reuse the matching oldHandlerInfo\n        return oldHandlerInfo;\n      } else {\n        if (this.preTransitionState) {\n          var preTransitionHandlerInfo = this.preTransitionState.routeInfos[i];\n          objectToUse = preTransitionHandlerInfo && preTransitionHandlerInfo.context;\n        } else {\n          // Ideally we should throw this error to provide maximal\n          // information to the user that not enough context objects\n          // were provided, but this proves too cumbersome in Ember\n          // in cases where inner template helpers are evaluated\n          // before parent helpers un-render, in which cases this\n          // error somewhat prematurely fires.\n          //throw new Error(\"Not enough context objects were provided to complete a transition to \" + targetRouteName + \". Specifically, the \" + name + \" route needs an object that can be serialized into its dynamic URL segments [\" + names.join(', ') + \"]\");\n          return oldHandlerInfo;\n        }\n      }\n\n      return new UnresolvedRouteInfoByObject(this.router, name, names, objectToUse);\n    };\n\n    _proto7.createParamHandlerInfo = function createParamHandlerInfo(name, names, objects, oldHandlerInfo) {\n      var params = {}; // Soak up all the provided string/numbers\n\n      var numNames = names.length;\n      var missingParams = [];\n\n      while (numNames--) {\n        // Only use old params if the names match with the new handler\n        var oldParams = oldHandlerInfo && name === oldHandlerInfo.name && oldHandlerInfo.params || {};\n        var peek = objects[objects.length - 1];\n        var paramName = names[numNames];\n\n        if (isParam(peek)) {\n          params[paramName] = '' + objects.pop();\n        } else {\n          // If we're here, this means only some of the params\n          // were string/number params, so try and use a param\n          // value from a previous handler.\n          if (oldParams.hasOwnProperty(paramName)) {\n            params[paramName] = oldParams[paramName];\n          } else {\n            missingParams.push(paramName);\n          }\n        }\n      }\n\n      if (missingParams.length > 0) {\n        throw new Error(\"You didn't provide enough string/numeric parameters to satisfy all of the dynamic segments for route \" + name + \".\" + (\" Missing params: \" + missingParams));\n      }\n\n      return new UnresolvedRouteInfoByParam(this.router, name, names, params);\n    };\n\n    return NamedTransitionIntent;\n  }(TransitionIntent);\n\n  var UnrecognizedURLError = function () {\n    UnrecognizedURLError.prototype = Object.create(Error.prototype);\n    UnrecognizedURLError.prototype.constructor = UnrecognizedURLError;\n\n    function UnrecognizedURLError(message) {\n      var error = Error.call(this, message);\n      this.name = 'UnrecognizedURLError';\n      this.message = message || 'UnrecognizedURL';\n\n      if (Error.captureStackTrace) {\n        Error.captureStackTrace(this, UnrecognizedURLError);\n      } else {\n        this.stack = error.stack;\n      }\n    }\n\n    return UnrecognizedURLError;\n  }();\n\n  var URLTransitionIntent =\n  /*#__PURE__*/\n  function (_TransitionIntent2) {\n    (0, _emberBabel.inheritsLoose)(URLTransitionIntent, _TransitionIntent2);\n\n    function URLTransitionIntent(router, url, data) {\n      var _this8;\n\n      _this8 = _TransitionIntent2.call(this, router, data) || this;\n      _this8.url = url;\n      _this8.preTransitionState = undefined;\n      return _this8;\n    }\n\n    var _proto8 = URLTransitionIntent.prototype;\n\n    _proto8.applyToState = function applyToState(oldState) {\n      var newState = new TransitionState();\n      var results = this.router.recognizer.recognize(this.url),\n          i,\n          len;\n\n      if (!results) {\n        throw new UnrecognizedURLError(this.url);\n      }\n\n      var statesDiffer = false;\n      var _url = this.url; // Checks if a handler is accessible by URL. If it is not, an error is thrown.\n      // For the case where the handler is loaded asynchronously, the error will be\n      // thrown once it is loaded.\n\n      function checkHandlerAccessibility(handler) {\n        if (handler && handler.inaccessibleByURL) {\n          throw new UnrecognizedURLError(_url);\n        }\n\n        return handler;\n      }\n\n      for (i = 0, len = results.length; i < len; ++i) {\n        var result = results[i];\n        var name = result.handler;\n        var paramNames = [];\n\n        if (this.router.recognizer.hasRoute(name)) {\n          paramNames = this.router.recognizer.handlersFor(name)[i].names;\n        }\n\n        var newRouteInfo = new UnresolvedRouteInfoByParam(this.router, name, paramNames, result.params);\n        var route = newRouteInfo.route;\n\n        if (route) {\n          checkHandlerAccessibility(route);\n        } else {\n          // If the hanlder is being loaded asynchronously, check if we can\n          // access it after it has resolved\n          newRouteInfo.routePromise = newRouteInfo.routePromise.then(checkHandlerAccessibility);\n        }\n\n        var oldRouteInfo = oldState.routeInfos[i];\n\n        if (statesDiffer || newRouteInfo.shouldSupercede(oldRouteInfo)) {\n          statesDiffer = true;\n          newState.routeInfos[i] = newRouteInfo;\n        } else {\n          newState.routeInfos[i] = oldRouteInfo;\n        }\n      }\n\n      merge(newState.queryParams, results.queryParams);\n      return newState;\n    };\n\n    return URLTransitionIntent;\n  }(TransitionIntent);\n\n  var Router =\n  /*#__PURE__*/\n  function () {\n    function Router(logger) {\n      this._lastQueryParams = {};\n      this.state = undefined;\n      this.oldState = undefined;\n      this.activeTransition = undefined;\n      this.currentRouteInfos = undefined;\n      this._changedQueryParams = undefined;\n      this.currentSequence = 0;\n      this.log = logger;\n      this.recognizer = new _routeRecognizer.default();\n      this.reset();\n    }\n    /**\n      The main entry point into the router. The API is essentially\n      the same as the `map` method in `route-recognizer`.\n         This method extracts the String handler at the last `.to()`\n      call and uses it as the name of the whole route.\n         @param {Function} callback\n    */\n\n\n    var _proto9 = Router.prototype;\n\n    _proto9.map = function map(callback) {\n      this.recognizer.map(callback, function (recognizer, routes) {\n        for (var i = routes.length - 1, proceed = true; i >= 0 && proceed; --i) {\n          var route = routes[i];\n          var handler = route.handler;\n          recognizer.add(routes, {\n            as: handler\n          });\n          proceed = route.path === '/' || route.path === '' || handler.slice(-6) === '.index';\n        }\n      });\n    };\n\n    _proto9.hasRoute = function hasRoute(route) {\n      return this.recognizer.hasRoute(route);\n    };\n\n    _proto9.queryParamsTransition = function queryParamsTransition(changelist, wasTransitioning, oldState, newState) {\n      var _this9 = this;\n\n      this.fireQueryParamDidChange(newState, changelist);\n\n      if (!wasTransitioning && this.activeTransition) {\n        // One of the routes in queryParamsDidChange\n        // caused a transition. Just return that transition.\n        return this.activeTransition;\n      } else {\n        // Running queryParamsDidChange didn't change anything.\n        // Just update query params and be on our way.\n        // We have to return a noop transition that will\n        // perform a URL update at the end. This gives\n        // the user the ability to set the url update\n        // method (default is replaceState).\n        var newTransition = new Transition(this, undefined, undefined);\n        newTransition.queryParamsOnly = true;\n        oldState.queryParams = this.finalizeQueryParamChange(newState.routeInfos, newState.queryParams, newTransition);\n        newTransition[QUERY_PARAMS_SYMBOL] = newState.queryParams;\n        this.toReadOnlyInfos(newTransition, newState);\n        this.routeWillChange(newTransition);\n        newTransition.promise = newTransition.promise.then(function (result) {\n          _this9._updateURL(newTransition, oldState);\n\n          _this9.didTransition(_this9.currentRouteInfos);\n\n          _this9.toInfos(newTransition, newState.routeInfos, true);\n\n          _this9.routeDidChange(newTransition);\n\n          return result;\n        }, null, _promiseLabel('Transition complete'));\n        return newTransition;\n      }\n    };\n\n    _proto9.transitionByIntent = function transitionByIntent(intent, isIntermediate) {\n      try {\n        return this.getTransitionByIntent(intent, isIntermediate);\n      } catch (e) {\n        return new Transition(this, intent, undefined, e, undefined);\n      }\n    };\n\n    _proto9.recognize = function recognize(url) {\n      var intent = new URLTransitionIntent(this, url);\n      var newState = this.generateNewState(intent);\n\n      if (newState === null) {\n        return newState;\n      }\n\n      var readonlyInfos = toReadOnlyRouteInfo(newState.routeInfos, newState.queryParams);\n      return readonlyInfos[readonlyInfos.length - 1];\n    };\n\n    _proto9.recognizeAndLoad = function recognizeAndLoad(url) {\n      var intent = new URLTransitionIntent(this, url);\n      var newState = this.generateNewState(intent);\n\n      if (newState === null) {\n        return _rsvp.Promise.reject(\"URL \" + url + \" was not recognized\");\n      }\n\n      var newTransition = new Transition(this, intent, newState, undefined);\n      return newTransition.then(function () {\n        var routeInfosWithAttributes = toReadOnlyRouteInfo(newState.routeInfos, newTransition[QUERY_PARAMS_SYMBOL], true);\n        return routeInfosWithAttributes[routeInfosWithAttributes.length - 1];\n      });\n    };\n\n    _proto9.generateNewState = function generateNewState(intent) {\n      try {\n        return intent.applyToState(this.state, false);\n      } catch (e) {\n        return null;\n      }\n    };\n\n    _proto9.getTransitionByIntent = function getTransitionByIntent(intent, isIntermediate) {\n      var _this10 = this;\n\n      var wasTransitioning = !!this.activeTransition;\n      var oldState = wasTransitioning ? this.activeTransition[STATE_SYMBOL] : this.state;\n      var newTransition;\n      var newState = intent.applyToState(oldState, isIntermediate);\n      var queryParamChangelist = getChangelist(oldState.queryParams, newState.queryParams);\n\n      if (routeInfosEqual(newState.routeInfos, oldState.routeInfos)) {\n        // This is a no-op transition. See if query params changed.\n        if (queryParamChangelist) {\n          var _newTransition = this.queryParamsTransition(queryParamChangelist, wasTransitioning, oldState, newState);\n\n          _newTransition.queryParamsOnly = true;\n          return _newTransition;\n        } // No-op. No need to create a new transition.\n\n\n        return this.activeTransition || new Transition(this, undefined, undefined);\n      }\n\n      if (isIntermediate) {\n        var transition = new Transition(this, undefined, undefined);\n        this.toReadOnlyInfos(transition, newState);\n        this.setupContexts(newState);\n        this.routeWillChange(transition);\n        return this.activeTransition;\n      } // Create a new transition to the destination route.\n\n\n      newTransition = new Transition(this, intent, newState, undefined, this.activeTransition); // transition is to same route with same params, only query params differ.\n      // not caught above probably because refresh() has been used\n\n      if (routeInfosSameExceptQueryParams(newState.routeInfos, oldState.routeInfos)) {\n        newTransition.queryParamsOnly = true;\n      }\n\n      this.toReadOnlyInfos(newTransition, newState); // Abort and usurp any previously active transition.\n\n      if (this.activeTransition) {\n        this.activeTransition.redirect(newTransition);\n      }\n\n      this.activeTransition = newTransition; // Transition promises by default resolve with resolved state.\n      // For our purposes, swap out the promise to resolve\n      // after the transition has been finalized.\n\n      newTransition.promise = newTransition.promise.then(function (result) {\n        return _this10.finalizeTransition(newTransition, result);\n      }, null, _promiseLabel('Settle transition promise when transition is finalized'));\n\n      if (!wasTransitioning) {\n        this.notifyExistingHandlers(newState, newTransition);\n      }\n\n      this.fireQueryParamDidChange(newState, queryParamChangelist);\n      return newTransition;\n    }\n    /**\n    @private\n       Begins and returns a Transition based on the provided\n    arguments. Accepts arguments in the form of both URL\n    transitions and named transitions.\n       @param {Router} router\n    @param {Array[Object]} args arguments passed to transitionTo,\n      replaceWith, or handleURL\n    */\n    ;\n\n    _proto9.doTransition = function doTransition(name) {\n      var modelsArray = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n      var isIntermediate = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n      var lastArg = modelsArray[modelsArray.length - 1];\n      var queryParams = {};\n\n      if (lastArg !== undefined && lastArg.hasOwnProperty('queryParams')) {\n        queryParams = modelsArray.pop().queryParams;\n      }\n\n      var intent;\n\n      if (name === undefined) {\n        _log(this, 'Updating query params'); // A query param update is really just a transition\n        // into the route you're already on.\n\n\n        var routeInfos = this.state.routeInfos;\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\n        intent = new URLTransitionIntent(this, name);\n      } else {\n        _log(this, 'Attempting transition to ' + name);\n\n        intent = new NamedTransitionIntent(this, name, undefined, modelsArray, queryParams);\n      }\n\n      return this.transitionByIntent(intent, isIntermediate);\n    }\n    /**\n    @private\n       Updates the URL (if necessary) and calls `setupContexts`\n    to update the router's array of `currentRouteInfos`.\n    */\n    ;\n\n    _proto9.finalizeTransition = function finalizeTransition(transition, newState) {\n      try {\n        _log(transition.router, transition.sequence, 'Resolved all models on destination route; finalizing transition.');\n\n        var routeInfos = newState.routeInfos; // Run all the necessary enter/setup/exit hooks\n\n        this.setupContexts(newState, transition); // Check if a redirect occurred in enter/setup\n\n        if (transition.isAborted) {\n          // TODO: cleaner way? distinguish b/w targetRouteInfos?\n          this.state.routeInfos = this.currentRouteInfos;\n          return _rsvp.Promise.reject(logAbort(transition));\n        }\n\n        this._updateURL(transition, newState);\n\n        transition.isActive = false;\n        this.activeTransition = undefined;\n        this.triggerEvent(this.currentRouteInfos, true, 'didTransition', []);\n        this.didTransition(this.currentRouteInfos);\n        this.toInfos(transition, newState.routeInfos, true);\n        this.routeDidChange(transition);\n\n        _log(this, transition.sequence, 'TRANSITION COMPLETE.'); // Resolve with the final route.\n\n\n        return routeInfos[routeInfos.length - 1].route;\n      } catch (e) {\n        if (!(e instanceof TransitionAbortedError)) {\n          var infos = transition[STATE_SYMBOL].routeInfos;\n          transition.trigger(true, 'error', e, transition, infos[infos.length - 1].route);\n          transition.abort();\n        }\n\n        throw e;\n      }\n    }\n    /**\n    @private\n       Takes an Array of `RouteInfo`s, figures out which ones are\n    exiting, entering, or changing contexts, and calls the\n    proper route hooks.\n       For example, consider the following tree of routes. Each route is\n    followed by the URL segment it handles.\n       ```\n    |~index (\"/\")\n    | |~posts (\"/posts\")\n    | | |-showPost (\"/:id\")\n    | | |-newPost (\"/new\")\n    | | |-editPost (\"/edit\")\n    | |~about (\"/about/:id\")\n    ```\n       Consider the following transitions:\n       1. A URL transition to `/posts/1`.\n       1. Triggers the `*model` callbacks on the\n          `index`, `posts`, and `showPost` routes\n       2. Triggers the `enter` callback on the same\n       3. Triggers the `setup` callback on the same\n    2. A direct transition to `newPost`\n       1. Triggers the `exit` callback on `showPost`\n       2. Triggers the `enter` callback on `newPost`\n       3. Triggers the `setup` callback on `newPost`\n    3. A direct transition to `about` with a specified\n       context object\n       1. Triggers the `exit` callback on `newPost`\n          and `posts`\n       2. Triggers the `serialize` callback on `about`\n       3. Triggers the `enter` callback on `about`\n       4. Triggers the `setup` callback on `about`\n       @param {Router} transition\n    @param {TransitionState} newState\n    */\n    ;\n\n    _proto9.setupContexts = function setupContexts(newState, transition) {\n      var partition = this.partitionRoutes(this.state, newState);\n      var i, l, route;\n\n      for (i = 0, l = partition.exited.length; i < l; i++) {\n        route = partition.exited[i].route;\n        delete route.context;\n\n        if (route !== undefined) {\n          if (route._internalReset !== undefined) {\n            route._internalReset(true, transition);\n          }\n\n          if (route.exit !== undefined) {\n            route.exit(transition);\n          }\n        }\n      }\n\n      var oldState = this.oldState = this.state;\n      this.state = newState;\n      var currentRouteInfos = this.currentRouteInfos = partition.unchanged.slice();\n\n      try {\n        for (i = 0, l = partition.reset.length; i < l; i++) {\n          route = partition.reset[i].route;\n\n          if (route !== undefined) {\n            if (route._internalReset !== undefined) {\n              route._internalReset(false, transition);\n            }\n          }\n        }\n\n        for (i = 0, l = partition.updatedContext.length; i < l; i++) {\n          this.routeEnteredOrUpdated(currentRouteInfos, partition.updatedContext[i], false, transition);\n        }\n\n        for (i = 0, l = partition.entered.length; i < l; i++) {\n          this.routeEnteredOrUpdated(currentRouteInfos, partition.entered[i], true, transition);\n        }\n      } catch (e) {\n        this.state = oldState;\n        this.currentRouteInfos = oldState.routeInfos;\n        throw e;\n      }\n\n      this.state.queryParams = this.finalizeQueryParamChange(currentRouteInfos, newState.queryParams, transition);\n    }\n    /**\n    @private\n       Fires queryParamsDidChange event\n    */\n    ;\n\n    _proto9.fireQueryParamDidChange = function fireQueryParamDidChange(newState, queryParamChangelist) {\n      // If queryParams changed trigger event\n      if (queryParamChangelist) {\n        // This is a little hacky but we need some way of storing\n        // changed query params given that no activeTransition\n        // is guaranteed to have occurred.\n        this._changedQueryParams = queryParamChangelist.all;\n        this.triggerEvent(newState.routeInfos, true, 'queryParamsDidChange', [queryParamChangelist.changed, queryParamChangelist.all, queryParamChangelist.removed]);\n        this._changedQueryParams = undefined;\n      }\n    }\n    /**\n    @private\n       Helper method used by setupContexts. Handles errors or redirects\n    that may happen in enter/setup.\n    */\n    ;\n\n    _proto9.routeEnteredOrUpdated = function routeEnteredOrUpdated(currentRouteInfos, routeInfo, enter, transition) {\n      var route = routeInfo.route,\n          context = routeInfo.context;\n\n      function _routeEnteredOrUpdated(route) {\n        if (enter) {\n          if (route.enter !== undefined) {\n            route.enter(transition);\n          }\n        }\n\n        if (transition && transition.isAborted) {\n          throw new TransitionAbortedError();\n        }\n\n        route.context = context;\n\n        if (route.contextDidChange !== undefined) {\n          route.contextDidChange();\n        }\n\n        if (route.setup !== undefined) {\n          route.setup(context, transition);\n        }\n\n        if (transition && transition.isAborted) {\n          throw new TransitionAbortedError();\n        }\n\n        currentRouteInfos.push(routeInfo);\n        return route;\n      } // If the route doesn't exist, it means we haven't resolved the route promise yet\n\n\n      if (route === undefined) {\n        routeInfo.routePromise = routeInfo.routePromise.then(_routeEnteredOrUpdated);\n      } else {\n        _routeEnteredOrUpdated(route);\n      }\n\n      return true;\n    }\n    /**\n    @private\n       This function is called when transitioning from one URL to\n    another to determine which routes are no longer active,\n    which routes are newly active, and which routes remain\n    active but have their context changed.\n       Take a list of old routes and new routes and partition\n    them into four buckets:\n       * unchanged: the route was active in both the old and\n      new URL, and its context remains the same\n    * updated context: the route was active in both the\n      old and new URL, but its context changed. The route's\n      `setup` method, if any, will be called with the new\n      context.\n    * exited: the route was active in the old URL, but is\n      no longer active.\n    * entered: the route was not active in the old URL, but\n      is now active.\n       The PartitionedRoutes structure has four fields:\n       * `updatedContext`: a list of `RouteInfo` objects that\n      represent routes that remain active but have a changed\n      context\n    * `entered`: a list of `RouteInfo` objects that represent\n      routes that are newly active\n    * `exited`: a list of `RouteInfo` objects that are no\n      longer active.\n    * `unchanged`: a list of `RouteInfo` objects that remain active.\n       @param {Array[InternalRouteInfo]} oldRoutes a list of the route\n      information for the previous URL (or `[]` if this is the\n      first handled transition)\n    @param {Array[InternalRouteInfo]} newRoutes a list of the route\n      information for the new URL\n       @return {Partition}\n    */\n    ;\n\n    _proto9.partitionRoutes = function partitionRoutes(oldState, newState) {\n      var oldRouteInfos = oldState.routeInfos;\n      var newRouteInfos = newState.routeInfos;\n      var routes = {\n        updatedContext: [],\n        exited: [],\n        entered: [],\n        unchanged: [],\n        reset: []\n      };\n      var routeChanged,\n          contextChanged = false,\n          i,\n          l;\n\n      for (i = 0, l = newRouteInfos.length; i < l; i++) {\n        var oldRouteInfo = oldRouteInfos[i],\n            newRouteInfo = newRouteInfos[i];\n\n        if (!oldRouteInfo || oldRouteInfo.route !== newRouteInfo.route) {\n          routeChanged = true;\n        }\n\n        if (routeChanged) {\n          routes.entered.push(newRouteInfo);\n\n          if (oldRouteInfo) {\n            routes.exited.unshift(oldRouteInfo);\n          }\n        } else if (contextChanged || oldRouteInfo.context !== newRouteInfo.context) {\n          contextChanged = true;\n          routes.updatedContext.push(newRouteInfo);\n        } else {\n          routes.unchanged.push(oldRouteInfo);\n        }\n      }\n\n      for (i = newRouteInfos.length, l = oldRouteInfos.length; i < l; i++) {\n        routes.exited.unshift(oldRouteInfos[i]);\n      }\n\n      routes.reset = routes.updatedContext.slice();\n      routes.reset.reverse();\n      return routes;\n    };\n\n    _proto9._updateURL = function _updateURL(transition, state) {\n      var urlMethod = transition.urlMethod;\n\n      if (!urlMethod) {\n        return;\n      }\n\n      var routeInfos = state.routeInfos;\n      var routeName = routeInfos[routeInfos.length - 1].name;\n      var params = {};\n\n      for (var i = routeInfos.length - 1; i >= 0; --i) {\n        var routeInfo = routeInfos[i];\n        merge(params, routeInfo.params);\n\n        if (routeInfo.route.inaccessibleByURL) {\n          urlMethod = null;\n        }\n      }\n\n      if (urlMethod) {\n        params.queryParams = transition._visibleQueryParams || state.queryParams;\n        var url = this.recognizer.generate(routeName, params); // transitions during the initial transition must always use replaceURL.\n        // When the app boots, you are at a url, e.g. /foo. If some route\n        // redirects to bar as part of the initial transition, you don't want to\n        // add a history entry for /foo. If you do, pressing back will immediately\n        // hit the redirect again and take you back to /bar, thus killing the back\n        // button\n\n        var initial = transition.isCausedByInitialTransition; // say you are at / and you click a link to route /foo. In /foo's\n        // route, the transition is aborted using replacewith('/bar').\n        // Because the current url is still /, the history entry for / is\n        // removed from the history. Clicking back will take you to the page\n        // you were on before /, which is often not even the app, thus killing\n        // the back button. That's why updateURL is always correct for an\n        // aborting transition that's not the initial transition\n\n        var replaceAndNotAborting = urlMethod === 'replace' && !transition.isCausedByAbortingTransition; // because calling refresh causes an aborted transition, this needs to be\n        // special cased - if the initial transition is a replace transition, the\n        // urlMethod should be honored here.\n\n        var isQueryParamsRefreshTransition = transition.queryParamsOnly && urlMethod === 'replace'; // say you are at / and you a `replaceWith(/foo)` is called. Then, that\n        // transition is aborted with `replaceWith(/bar)`. At the end, we should\n        // end up with /bar replacing /. We are replacing the replace. We only\n        // will replace the initial route if all subsequent aborts are also\n        // replaces. However, there is some ambiguity around the correct behavior\n        // here.\n\n        var replacingReplace = urlMethod === 'replace' && transition.isCausedByAbortingReplaceTransition;\n\n        if (initial || replaceAndNotAborting || isQueryParamsRefreshTransition || replacingReplace) {\n          this.replaceURL(url);\n        } else {\n          this.updateURL(url);\n        }\n      }\n    };\n\n    _proto9.finalizeQueryParamChange = function finalizeQueryParamChange(resolvedHandlers, newQueryParams, transition) {\n      // We fire a finalizeQueryParamChange event which\n      // gives the new route hierarchy a chance to tell\n      // us which query params it's consuming and what\n      // their final values are. If a query param is\n      // no longer consumed in the final route hierarchy,\n      // its serialized segment will be removed\n      // from the URL.\n      for (var k in newQueryParams) {\n        if (newQueryParams.hasOwnProperty(k) && newQueryParams[k] === null) {\n          delete newQueryParams[k];\n        }\n      }\n\n      var finalQueryParamsArray = [];\n      this.triggerEvent(resolvedHandlers, true, 'finalizeQueryParamChange', [newQueryParams, finalQueryParamsArray, transition]);\n\n      if (transition) {\n        transition._visibleQueryParams = {};\n      }\n\n      var finalQueryParams = {};\n\n      for (var i = 0, len = finalQueryParamsArray.length; i < len; ++i) {\n        var qp = finalQueryParamsArray[i];\n        finalQueryParams[qp.key] = qp.value;\n\n        if (transition && qp.visible !== false) {\n          transition._visibleQueryParams[qp.key] = qp.value;\n        }\n      }\n\n      return finalQueryParams;\n    };\n\n    _proto9.toReadOnlyInfos = function toReadOnlyInfos(newTransition, newState) {\n      var oldRouteInfos = this.state.routeInfos;\n      this.fromInfos(newTransition, oldRouteInfos);\n      this.toInfos(newTransition, newState.routeInfos);\n      this._lastQueryParams = newState.queryParams;\n    };\n\n    _proto9.fromInfos = function fromInfos(newTransition, oldRouteInfos) {\n      if (newTransition !== undefined && oldRouteInfos.length > 0) {\n        var fromInfos = toReadOnlyRouteInfo(oldRouteInfos, (0, _polyfills.assign)({}, this._lastQueryParams), true);\n        newTransition.from = fromInfos[fromInfos.length - 1] || null;\n      }\n    };\n\n    _proto9.toInfos = function toInfos(newTransition, newRouteInfos) {\n      var includeAttributes = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n      if (newTransition !== undefined && newRouteInfos.length > 0) {\n        var toInfos = toReadOnlyRouteInfo(newRouteInfos, (0, _polyfills.assign)({}, newTransition[QUERY_PARAMS_SYMBOL]), includeAttributes);\n        newTransition.to = toInfos[toInfos.length - 1] || null;\n      }\n    };\n\n    _proto9.notifyExistingHandlers = function notifyExistingHandlers(newState, newTransition) {\n      var oldRouteInfos = this.state.routeInfos,\n          i,\n          oldRouteInfoLen,\n          oldHandler,\n          newRouteInfo;\n      oldRouteInfoLen = oldRouteInfos.length;\n\n      for (i = 0; i < oldRouteInfoLen; i++) {\n        oldHandler = oldRouteInfos[i];\n        newRouteInfo = newState.routeInfos[i];\n\n        if (!newRouteInfo || oldHandler.name !== newRouteInfo.name) {\n          break;\n        }\n\n        if (!newRouteInfo.isResolved) {}\n      }\n\n      this.triggerEvent(oldRouteInfos, true, 'willTransition', [newTransition]);\n      this.routeWillChange(newTransition);\n      this.willTransition(oldRouteInfos, newState.routeInfos, newTransition);\n    }\n    /**\n      Clears the current and target route routes and triggers exit\n      on each of them starting at the leaf and traversing up through\n      its ancestors.\n    */\n    ;\n\n    _proto9.reset = function reset() {\n      if (this.state) {\n        forEach(this.state.routeInfos.slice().reverse(), function (routeInfo) {\n          var route = routeInfo.route;\n\n          if (route !== undefined) {\n            if (route.exit !== undefined) {\n              route.exit();\n            }\n          }\n\n          return true;\n        });\n      }\n\n      this.oldState = undefined;\n      this.state = new TransitionState();\n      this.currentRouteInfos = undefined;\n    }\n    /**\n      let handler = routeInfo.handler;\n      The entry point for handling a change to the URL (usually\n      via the back and forward button).\n         Returns an Array of handlers and the parameters associated\n      with those parameters.\n         @param {String} url a URL to process\n         @return {Array} an Array of `[handler, parameter]` tuples\n    */\n    ;\n\n    _proto9.handleURL = function handleURL(url) {\n      // Perform a URL-based transition, but don't change\n      // the URL afterward, since it already happened.\n      if (url.charAt(0) !== '/') {\n        url = '/' + url;\n      }\n\n      return this.doTransition(url).method(null);\n    }\n    /**\n      Transition into the specified named route.\n         If necessary, trigger the exit callback on any routes\n      that are no longer represented by the target route.\n         @param {String} name the name of the route\n    */\n    ;\n\n    _proto9.transitionTo = function transitionTo(name) {\n      for (var _len3 = arguments.length, contexts = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {\n        contexts[_key3 - 1] = arguments[_key3];\n      }\n\n      if (typeof name === 'object') {\n        contexts.push(name);\n        return this.doTransition(undefined, contexts, false);\n      }\n\n      return this.doTransition(name, contexts);\n    };\n\n    _proto9.intermediateTransitionTo = function intermediateTransitionTo(name) {\n      for (var _len4 = arguments.length, args = new Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {\n        args[_key4 - 1] = arguments[_key4];\n      }\n\n      return this.doTransition(name, args, true);\n    };\n\n    _proto9.refresh = function refresh(pivotRoute) {\n      var previousTransition = this.activeTransition;\n      var state = previousTransition ? previousTransition[STATE_SYMBOL] : this.state;\n      var routeInfos = state.routeInfos;\n\n      if (pivotRoute === undefined) {\n        pivotRoute = routeInfos[0].route;\n      }\n\n      _log(this, 'Starting a refresh transition');\n\n      var name = routeInfos[routeInfos.length - 1].name;\n      var intent = new NamedTransitionIntent(this, name, pivotRoute, [], this._changedQueryParams || state.queryParams);\n      var newTransition = this.transitionByIntent(intent, false); // if the previous transition is a replace transition, that needs to be preserved\n\n      if (previousTransition && previousTransition.urlMethod === 'replace') {\n        newTransition.method(previousTransition.urlMethod);\n      }\n\n      return newTransition;\n    }\n    /**\n      Identical to `transitionTo` except that the current URL will be replaced\n      if possible.\n         This method is intended primarily for use with `replaceState`.\n         @param {String} name the name of the route\n    */\n    ;\n\n    _proto9.replaceWith = function replaceWith(name) {\n      return this.doTransition(name).method('replace');\n    }\n    /**\n      Take a named route and context objects and generate a\n      URL.\n         @param {String} name the name of the route to generate\n        a URL for\n      @param {...Object} objects a list of objects to serialize\n         @return {String} a URL\n    */\n    ;\n\n    _proto9.generate = function generate(routeName) {\n      for (var _len5 = arguments.length, args = new Array(_len5 > 1 ? _len5 - 1 : 0), _key5 = 1; _key5 < _len5; _key5++) {\n        args[_key5 - 1] = arguments[_key5];\n      }\n\n      var partitionedArgs = extractQueryParams(args),\n          suppliedParams = partitionedArgs[0],\n          queryParams = partitionedArgs[1]; // Construct a TransitionIntent with the provided params\n      // and apply it to the present state of the router.\n\n      var intent = new NamedTransitionIntent(this, routeName, undefined, suppliedParams);\n      var state = intent.applyToState(this.state, false);\n      var params = {};\n\n      for (var i = 0, len = state.routeInfos.length; i < len; ++i) {\n        var routeInfo = state.routeInfos[i];\n        var routeParams = routeInfo.serialize();\n        merge(params, routeParams);\n      }\n\n      params.queryParams = queryParams;\n      return this.recognizer.generate(routeName, params);\n    };\n\n    _proto9.applyIntent = function applyIntent(routeName, contexts) {\n      var intent = new NamedTransitionIntent(this, routeName, undefined, contexts);\n      var state = this.activeTransition && this.activeTransition[STATE_SYMBOL] || this.state;\n      return intent.applyToState(state, false);\n    };\n\n    _proto9.isActiveIntent = function isActiveIntent(routeName, contexts, queryParams, _state) {\n      var state = _state || this.state,\n          targetRouteInfos = state.routeInfos,\n          routeInfo,\n          len;\n\n      if (!targetRouteInfos.length) {\n        return false;\n      }\n\n      var targetHandler = targetRouteInfos[targetRouteInfos.length - 1].name;\n      var recogHandlers = this.recognizer.handlersFor(targetHandler);\n      var index = 0;\n\n      for (len = recogHandlers.length; index < len; ++index) {\n        routeInfo = targetRouteInfos[index];\n\n        if (routeInfo.name === routeName) {\n          break;\n        }\n      }\n\n      if (index === recogHandlers.length) {\n        // The provided route name isn't even in the route hierarchy.\n        return false;\n      }\n\n      var testState = new TransitionState();\n      testState.routeInfos = targetRouteInfos.slice(0, index + 1);\n      recogHandlers = recogHandlers.slice(0, index + 1);\n      var intent = new NamedTransitionIntent(this, targetHandler, undefined, contexts);\n      var newState = intent.applyToHandlers(testState, recogHandlers, targetHandler, true, true);\n      var routesEqual = routeInfosEqual(newState.routeInfos, testState.routeInfos);\n\n      if (!queryParams || !routesEqual) {\n        return routesEqual;\n      } // Get a hash of QPs that will still be active on new route\n\n\n      var activeQPsOnNewHandler = {};\n      merge(activeQPsOnNewHandler, queryParams);\n      var activeQueryParams = state.queryParams;\n\n      for (var key in activeQueryParams) {\n        if (activeQueryParams.hasOwnProperty(key) && activeQPsOnNewHandler.hasOwnProperty(key)) {\n          activeQPsOnNewHandler[key] = activeQueryParams[key];\n        }\n      }\n\n      return routesEqual && !getChangelist(activeQPsOnNewHandler, queryParams);\n    };\n\n    _proto9.isActive = function isActive(routeName) {\n      for (var _len6 = arguments.length, args = new Array(_len6 > 1 ? _len6 - 1 : 0), _key6 = 1; _key6 < _len6; _key6++) {\n        args[_key6 - 1] = arguments[_key6];\n      }\n\n      var partitionedArgs = extractQueryParams(args);\n      return this.isActiveIntent(routeName, partitionedArgs[0], partitionedArgs[1]);\n    };\n\n    _proto9.trigger = function trigger(name) {\n      for (var _len7 = arguments.length, args = new Array(_len7 > 1 ? _len7 - 1 : 0), _key7 = 1; _key7 < _len7; _key7++) {\n        args[_key7 - 1] = arguments[_key7];\n      }\n\n      this.triggerEvent(this.currentRouteInfos, false, name, args);\n    };\n\n    return Router;\n  }();\n\n  function routeInfosEqual(routeInfos, otherRouteInfos) {\n    if (routeInfos.length !== otherRouteInfos.length) {\n      return false;\n    }\n\n    for (var i = 0, len = routeInfos.length; i < len; ++i) {\n      if (routeInfos[i] !== otherRouteInfos[i]) {\n        return false;\n      }\n    }\n\n    return true;\n  }\n\n  function routeInfosSameExceptQueryParams(routeInfos, otherRouteInfos) {\n    if (routeInfos.length !== otherRouteInfos.length) {\n      return false;\n    }\n\n    for (var i = 0, len = routeInfos.length; i < len; ++i) {\n      if (routeInfos[i].name !== otherRouteInfos[i].name) {\n        return false;\n      }\n\n      if (!paramsEqual(routeInfos[i].params, otherRouteInfos[i].params)) {\n        return false;\n      }\n    }\n\n    return true;\n  }\n\n  function paramsEqual(params, otherParams) {\n    if (!params && !otherParams) {\n      return true;\n    } else if (!params && !!otherParams || !!params && !otherParams) {\n      // one is falsy but other is not;\n      return false;\n    }\n\n    var keys = Object.keys(params);\n    var otherKeys = Object.keys(otherParams);\n\n    if (keys.length !== otherKeys.length) {\n      return false;\n    }\n\n    for (var i = 0, len = keys.length; i < len; ++i) {\n      var key = keys[i];\n\n      if (params[key] !== otherParams[key]) {\n        return false;\n      }\n    }\n\n    return true;\n  }\n\n  var _default = Router;\n  _exports.default = _default;\n});","enifed(\"rsvp\", [\"exports\", \"node-module\", \"ember-babel\"], function (_exports, _nodeModule, _emberBabel) {\n  \"use strict\";\n\n  _exports.asap = asap;\n  _exports.all = all$1;\n  _exports.allSettled = allSettled;\n  _exports.race = race$1;\n  _exports.hash = hash;\n  _exports.hashSettled = hashSettled;\n  _exports.rethrow = rethrow;\n  _exports.defer = defer;\n  _exports.denodeify = denodeify;\n  _exports.configure = configure;\n  _exports.on = on;\n  _exports.off = off;\n  _exports.resolve = resolve$2;\n  _exports.reject = reject$2;\n  _exports.map = map;\n  _exports.filter = filter;\n  _exports.async = _exports.EventTarget = _exports.Promise = _exports.cast = _exports.default = void 0;\n\n  function callbacksFor(object) {\n    var callbacks = object._promiseCallbacks;\n\n    if (!callbacks) {\n      callbacks = object._promiseCallbacks = {};\n    }\n\n    return callbacks;\n  }\n  /**\n    @class EventTarget\n    @for rsvp\n    @public\n  */\n\n\n  var EventTarget = {\n    /**\n      `EventTarget.mixin` extends an object with EventTarget methods. For\n      Example:\n       ```javascript\n      import EventTarget from 'rsvp';\n       let object = {};\n       EventTarget.mixin(object);\n       object.on('finished', function(event) {\n        // handle event\n      });\n       object.trigger('finished', { detail: value });\n      ```\n       `EventTarget.mixin` also works with prototypes:\n       ```javascript\n      import EventTarget from 'rsvp';\n       let Person = function() {};\n      EventTarget.mixin(Person.prototype);\n       let yehuda = new Person();\n      let tom = new Person();\n       yehuda.on('poke', function(event) {\n        console.log('Yehuda says OW');\n      });\n       tom.on('poke', function(event) {\n        console.log('Tom says OW');\n      });\n       yehuda.trigger('poke');\n      tom.trigger('poke');\n      ```\n       @method mixin\n      @for rsvp\n      @private\n      @param {Object} object object to extend with EventTarget methods\n    */\n    mixin: function (object) {\n      object.on = this.on;\n      object.off = this.off;\n      object.trigger = this.trigger;\n      object._promiseCallbacks = undefined;\n      return object;\n    },\n\n    /**\n      Registers a callback to be executed when `eventName` is triggered\n       ```javascript\n      object.on('event', function(eventInfo){\n        // handle the event\n      });\n       object.trigger('event');\n      ```\n       @method on\n      @for EventTarget\n      @private\n      @param {String} eventName name of the event to listen for\n      @param {Function} callback function to be called when the event is triggered.\n    */\n    on: function (eventName, callback) {\n      if (typeof callback !== 'function') {\n        throw new TypeError('Callback must be a function');\n      }\n\n      var allCallbacks = callbacksFor(this);\n      var callbacks = allCallbacks[eventName];\n\n      if (!callbacks) {\n        callbacks = allCallbacks[eventName] = [];\n      }\n\n      if (callbacks.indexOf(callback) === -1) {\n        callbacks.push(callback);\n      }\n    },\n\n    /**\n      You can use `off` to stop firing a particular callback for an event:\n       ```javascript\n      function doStuff() { // do stuff! }\n      object.on('stuff', doStuff);\n       object.trigger('stuff'); // doStuff will be called\n       // Unregister ONLY the doStuff callback\n      object.off('stuff', doStuff);\n      object.trigger('stuff'); // doStuff will NOT be called\n      ```\n       If you don't pass a `callback` argument to `off`, ALL callbacks for the\n      event will not be executed when the event fires. For example:\n       ```javascript\n      let callback1 = function(){};\n      let callback2 = function(){};\n       object.on('stuff', callback1);\n      object.on('stuff', callback2);\n       object.trigger('stuff'); // callback1 and callback2 will be executed.\n       object.off('stuff');\n      object.trigger('stuff'); // callback1 and callback2 will not be executed!\n      ```\n       @method off\n      @for rsvp\n      @private\n      @param {String} eventName event to stop listening to\n      @param {Function} callback optional argument. If given, only the function\n      given will be removed from the event's callback queue. If no `callback`\n      argument is given, all callbacks will be removed from the event's callback\n      queue.\n    */\n    off: function (eventName, callback) {\n      var allCallbacks = callbacksFor(this);\n\n      if (!callback) {\n        allCallbacks[eventName] = [];\n        return;\n      }\n\n      var callbacks = allCallbacks[eventName];\n      var index = callbacks.indexOf(callback);\n\n      if (index !== -1) {\n        callbacks.splice(index, 1);\n      }\n    },\n\n    /**\n      Use `trigger` to fire custom events. For example:\n       ```javascript\n      object.on('foo', function(){\n        console.log('foo event happened!');\n      });\n      object.trigger('foo');\n      // 'foo event happened!' logged to the console\n      ```\n       You can also pass a value as a second argument to `trigger` that will be\n      passed as an argument to all event listeners for the event:\n       ```javascript\n      object.on('foo', function(value){\n        console.log(value.name);\n      });\n       object.trigger('foo', { name: 'bar' });\n      // 'bar' logged to the console\n      ```\n       @method trigger\n      @for rsvp\n      @private\n      @param {String} eventName name of the event to be triggered\n      @param {*} options optional value to be passed to any event handlers for\n      the given `eventName`\n    */\n    trigger: function (eventName, options, label) {\n      var allCallbacks = callbacksFor(this);\n      var callbacks = allCallbacks[eventName];\n\n      if (callbacks) {\n        // Don't cache the callbacks.length since it may grow\n        var callback;\n\n        for (var i = 0; i < callbacks.length; i++) {\n          callback = callbacks[i];\n          callback(options, label);\n        }\n      }\n    }\n  };\n  _exports.EventTarget = EventTarget;\n  var config = {\n    instrument: false\n  };\n  EventTarget['mixin'](config);\n\n  function configure(name, value) {\n    if (arguments.length === 2) {\n      config[name] = value;\n    } else {\n      return config[name];\n    }\n  }\n\n  var queue = [];\n\n  function scheduleFlush() {\n    setTimeout(function () {\n      for (var i = 0; i < queue.length; i++) {\n        var entry = queue[i];\n        var payload = entry.payload;\n        payload.guid = payload.key + payload.id;\n        payload.childGuid = payload.key + payload.childId;\n\n        if (payload.error) {\n          payload.stack = payload.error.stack;\n        }\n\n        config['trigger'](entry.name, entry.payload);\n      }\n\n      queue.length = 0;\n    }, 50);\n  }\n\n  function instrument(eventName, promise, child) {\n    if (1 === queue.push({\n      name: eventName,\n      payload: {\n        key: promise._guidKey,\n        id: promise._id,\n        eventName: eventName,\n        detail: promise._result,\n        childId: child && child._id,\n        label: promise._label,\n        timeStamp: Date.now(),\n        error: config[\"instrument-with-stack\"] ? new Error(promise._label) : null\n      }\n    })) {\n      scheduleFlush();\n    }\n  }\n  /**\n    `Promise.resolve` returns a promise that will become resolved with the\n    passed `value`. It is shorthand for the following:\n  \n    ```javascript\n    import Promise from 'rsvp';\n  \n    let promise = new Promise(function(resolve, reject){\n      resolve(1);\n    });\n  \n    promise.then(function(value){\n      // value === 1\n    });\n    ```\n  \n    Instead of writing the above, your code now simply becomes the following:\n  \n    ```javascript\n    import Promise from 'rsvp';\n  \n    let promise = RSVP.Promise.resolve(1);\n  \n    promise.then(function(value){\n      // value === 1\n    });\n    ```\n  \n    @method resolve\n    @for Promise\n    @static\n    @param {*} object value that the returned promise will be resolved with\n    @param {String} label optional string for identifying the returned promise.\n    Useful for tooling.\n    @return {Promise} a promise that will become fulfilled with the given\n    `value`\n  */\n\n\n  function resolve$$1(object, label) {\n    /*jshint validthis:true */\n    var Constructor = this;\n\n    if (object && typeof object === 'object' && object.constructor === Constructor) {\n      return object;\n    }\n\n    var promise = new Constructor(noop, label);\n    resolve$1(promise, object);\n    return promise;\n  }\n\n  function withOwnPromise() {\n    return new TypeError('A promises callback cannot return that same promise.');\n  }\n\n  function objectOrFunction(x) {\n    var type = typeof x;\n    return x !== null && (type === 'object' || type === 'function');\n  }\n\n  function noop() {}\n\n  var PENDING = void 0;\n  var FULFILLED = 1;\n  var REJECTED = 2;\n  var TRY_CATCH_ERROR = {\n    error: null\n  };\n\n  function getThen(promise) {\n    try {\n      return promise.then;\n    } catch (error) {\n      TRY_CATCH_ERROR.error = error;\n      return TRY_CATCH_ERROR;\n    }\n  }\n\n  var tryCatchCallback;\n\n  function tryCatcher() {\n    try {\n      var target = tryCatchCallback;\n      tryCatchCallback = null;\n      return target.apply(this, arguments);\n    } catch (e) {\n      TRY_CATCH_ERROR.error = e;\n      return TRY_CATCH_ERROR;\n    }\n  }\n\n  function tryCatch(fn) {\n    tryCatchCallback = fn;\n    return tryCatcher;\n  }\n\n  function handleForeignThenable(promise, thenable, then$$1) {\n    config.async(function (promise) {\n      var sealed = false;\n      var result = tryCatch(then$$1).call(thenable, function (value) {\n        if (sealed) {\n          return;\n        }\n\n        sealed = true;\n\n        if (thenable === value) {\n          fulfill(promise, value);\n        } else {\n          resolve$1(promise, value);\n        }\n      }, function (reason) {\n        if (sealed) {\n          return;\n        }\n\n        sealed = true;\n        reject(promise, reason);\n      }, 'Settle: ' + (promise._label || ' unknown promise'));\n\n      if (!sealed && result === TRY_CATCH_ERROR) {\n        sealed = true;\n        var error = TRY_CATCH_ERROR.error;\n        TRY_CATCH_ERROR.error = null;\n        reject(promise, error);\n      }\n    }, promise);\n  }\n\n  function handleOwnThenable(promise, thenable) {\n    if (thenable._state === FULFILLED) {\n      fulfill(promise, thenable._result);\n    } else if (thenable._state === REJECTED) {\n      thenable._onError = null;\n      reject(promise, thenable._result);\n    } else {\n      subscribe(thenable, undefined, function (value) {\n        if (thenable === value) {\n          fulfill(promise, value);\n        } else {\n          resolve$1(promise, value);\n        }\n      }, function (reason) {\n        return reject(promise, reason);\n      });\n    }\n  }\n\n  function handleMaybeThenable(promise, maybeThenable, then$$1) {\n    var isOwnThenable = maybeThenable.constructor === promise.constructor && then$$1 === then && promise.constructor.resolve === resolve$$1;\n\n    if (isOwnThenable) {\n      handleOwnThenable(promise, maybeThenable);\n    } else if (then$$1 === TRY_CATCH_ERROR) {\n      var error = TRY_CATCH_ERROR.error;\n      TRY_CATCH_ERROR.error = null;\n      reject(promise, error);\n    } else if (typeof then$$1 === 'function') {\n      handleForeignThenable(promise, maybeThenable, then$$1);\n    } else {\n      fulfill(promise, maybeThenable);\n    }\n  }\n\n  function resolve$1(promise, value) {\n    if (promise === value) {\n      fulfill(promise, value);\n    } else if (objectOrFunction(value)) {\n      handleMaybeThenable(promise, value, getThen(value));\n    } else {\n      fulfill(promise, value);\n    }\n  }\n\n  function publishRejection(promise) {\n    if (promise._onError) {\n      promise._onError(promise._result);\n    }\n\n    publish(promise);\n  }\n\n  function fulfill(promise, value) {\n    if (promise._state !== PENDING) {\n      return;\n    }\n\n    promise._result = value;\n    promise._state = FULFILLED;\n\n    if (promise._subscribers.length === 0) {\n      if (config.instrument) {\n        instrument('fulfilled', promise);\n      }\n    } else {\n      config.async(publish, promise);\n    }\n  }\n\n  function reject(promise, reason) {\n    if (promise._state !== PENDING) {\n      return;\n    }\n\n    promise._state = REJECTED;\n    promise._result = reason;\n    config.async(publishRejection, promise);\n  }\n\n  function subscribe(parent, child, onFulfillment, onRejection) {\n    var subscribers = parent._subscribers;\n    var length = subscribers.length;\n    parent._onError = null;\n    subscribers[length] = child;\n    subscribers[length + FULFILLED] = onFulfillment;\n    subscribers[length + REJECTED] = onRejection;\n\n    if (length === 0 && parent._state) {\n      config.async(publish, parent);\n    }\n  }\n\n  function publish(promise) {\n    var subscribers = promise._subscribers;\n    var settled = promise._state;\n\n    if (config.instrument) {\n      instrument(settled === FULFILLED ? 'fulfilled' : 'rejected', promise);\n    }\n\n    if (subscribers.length === 0) {\n      return;\n    }\n\n    var child,\n        callback,\n        result = promise._result;\n\n    for (var i = 0; i < subscribers.length; i += 3) {\n      child = subscribers[i];\n      callback = subscribers[i + settled];\n\n      if (child) {\n        invokeCallback(settled, child, callback, result);\n      } else {\n        callback(result);\n      }\n    }\n\n    promise._subscribers.length = 0;\n  }\n\n  function invokeCallback(state, promise, callback, result) {\n    var hasCallback = typeof callback === 'function';\n    var value;\n\n    if (hasCallback) {\n      value = tryCatch(callback)(result);\n    } else {\n      value = result;\n    }\n\n    if (promise._state !== PENDING) {// noop\n    } else if (value === promise) {\n      reject(promise, withOwnPromise());\n    } else if (value === TRY_CATCH_ERROR) {\n      var error = TRY_CATCH_ERROR.error;\n      TRY_CATCH_ERROR.error = null; // release\n\n      reject(promise, error);\n    } else if (hasCallback) {\n      resolve$1(promise, value);\n    } else if (state === FULFILLED) {\n      fulfill(promise, value);\n    } else if (state === REJECTED) {\n      reject(promise, value);\n    }\n  }\n\n  function initializePromise(promise, resolver) {\n    var resolved = false;\n\n    try {\n      resolver(function (value) {\n        if (resolved) {\n          return;\n        }\n\n        resolved = true;\n        resolve$1(promise, value);\n      }, function (reason) {\n        if (resolved) {\n          return;\n        }\n\n        resolved = true;\n        reject(promise, reason);\n      });\n    } catch (e) {\n      reject(promise, e);\n    }\n  }\n\n  function then(onFulfillment, onRejection, label) {\n    var parent = this;\n    var state = parent._state;\n\n    if (state === FULFILLED && !onFulfillment || state === REJECTED && !onRejection) {\n      config.instrument && instrument('chained', parent, parent);\n      return parent;\n    }\n\n    parent._onError = null;\n    var child = new parent.constructor(noop, label);\n    var result = parent._result;\n    config.instrument && instrument('chained', parent, child);\n\n    if (state === PENDING) {\n      subscribe(parent, child, onFulfillment, onRejection);\n    } else {\n      var callback = state === FULFILLED ? onFulfillment : onRejection;\n      config.async(function () {\n        return invokeCallback(state, child, callback, result);\n      });\n    }\n\n    return child;\n  }\n\n  var Enumerator =\n  /*#__PURE__*/\n  function () {\n    function Enumerator(Constructor, input, abortOnReject, label) {\n      this._instanceConstructor = Constructor;\n      this.promise = new Constructor(noop, label);\n      this._abortOnReject = abortOnReject;\n      this._isUsingOwnPromise = Constructor === Promise;\n      this._isUsingOwnResolve = Constructor.resolve === resolve$$1;\n\n      this._init.apply(this, arguments);\n    }\n\n    var _proto = Enumerator.prototype;\n\n    _proto._init = function _init(Constructor, input) {\n      var len = input.length || 0;\n      this.length = len;\n      this._remaining = len;\n      this._result = new Array(len);\n\n      this._enumerate(input);\n    };\n\n    _proto._enumerate = function _enumerate(input) {\n      var length = this.length;\n      var promise = this.promise;\n\n      for (var i = 0; promise._state === PENDING && i < length; i++) {\n        this._eachEntry(input[i], i, true);\n      }\n\n      this._checkFullfillment();\n    };\n\n    _proto._checkFullfillment = function _checkFullfillment() {\n      if (this._remaining === 0) {\n        var result = this._result;\n        fulfill(this.promise, result);\n        this._result = null;\n      }\n    };\n\n    _proto._settleMaybeThenable = function _settleMaybeThenable(entry, i, firstPass) {\n      var c = this._instanceConstructor;\n\n      if (this._isUsingOwnResolve) {\n        var then$$1 = getThen(entry);\n\n        if (then$$1 === then && entry._state !== PENDING) {\n          entry._onError = null;\n\n          this._settledAt(entry._state, i, entry._result, firstPass);\n        } else if (typeof then$$1 !== 'function') {\n          this._settledAt(FULFILLED, i, entry, firstPass);\n        } else if (this._isUsingOwnPromise) {\n          var promise = new c(noop);\n          handleMaybeThenable(promise, entry, then$$1);\n\n          this._willSettleAt(promise, i, firstPass);\n        } else {\n          this._willSettleAt(new c(function (resolve) {\n            return resolve(entry);\n          }), i, firstPass);\n        }\n      } else {\n        this._willSettleAt(c.resolve(entry), i, firstPass);\n      }\n    };\n\n    _proto._eachEntry = function _eachEntry(entry, i, firstPass) {\n      if (entry !== null && typeof entry === 'object') {\n        this._settleMaybeThenable(entry, i, firstPass);\n      } else {\n        this._setResultAt(FULFILLED, i, entry, firstPass);\n      }\n    };\n\n    _proto._settledAt = function _settledAt(state, i, value, firstPass) {\n      var promise = this.promise;\n\n      if (promise._state === PENDING) {\n        if (this._abortOnReject && state === REJECTED) {\n          reject(promise, value);\n        } else {\n          this._setResultAt(state, i, value, firstPass);\n\n          this._checkFullfillment();\n        }\n      }\n    };\n\n    _proto._setResultAt = function _setResultAt(state, i, value, firstPass) {\n      this._remaining--;\n      this._result[i] = value;\n    };\n\n    _proto._willSettleAt = function _willSettleAt(promise, i, firstPass) {\n      var _this = this;\n\n      subscribe(promise, undefined, function (value) {\n        return _this._settledAt(FULFILLED, i, value, firstPass);\n      }, function (reason) {\n        return _this._settledAt(REJECTED, i, reason, firstPass);\n      });\n    };\n\n    return Enumerator;\n  }();\n\n  function setSettledResult(state, i, value) {\n    this._remaining--;\n\n    if (state === FULFILLED) {\n      this._result[i] = {\n        state: 'fulfilled',\n        value: value\n      };\n    } else {\n      this._result[i] = {\n        state: 'rejected',\n        reason: value\n      };\n    }\n  }\n  /**\n    `Promise.all` accepts an array of promises, and returns a new promise which\n    is fulfilled with an array of fulfillment values for the passed promises, or\n    rejected with the reason of the first passed promise to be rejected. It casts all\n    elements of the passed iterable to promises as it runs this algorithm.\n  \n    Example:\n  \n    ```javascript\n    import Promise, { resolve } from 'rsvp';\n  \n    let promise1 = resolve(1);\n    let promise2 = resolve(2);\n    let promise3 = resolve(3);\n    let promises = [ promise1, promise2, promise3 ];\n  \n    Promise.all(promises).then(function(array){\n      // The array here would be [ 1, 2, 3 ];\n    });\n    ```\n  \n    If any of the `promises` given to `RSVP.all` are rejected, the first promise\n    that is rejected will be given as an argument to the returned promises's\n    rejection handler. For example:\n  \n    Example:\n  \n    ```javascript\n    import Promise, { resolve, reject } from 'rsvp';\n  \n    let promise1 = resolve(1);\n    let promise2 = reject(new Error(\"2\"));\n    let promise3 = reject(new Error(\"3\"));\n    let promises = [ promise1, promise2, promise3 ];\n  \n    Promise.all(promises).then(function(array){\n      // Code here never runs because there are rejected promises!\n    }, function(error) {\n      // error.message === \"2\"\n    });\n    ```\n  \n    @method all\n    @for Promise\n    @param {Array} entries array of promises\n    @param {String} label optional string for labeling the promise.\n    Useful for tooling.\n    @return {Promise} promise that is fulfilled when all `promises` have been\n    fulfilled, or rejected if any of them become rejected.\n    @static\n  */\n\n\n  function all(entries, label) {\n    if (!Array.isArray(entries)) {\n      return this.reject(new TypeError(\"Promise.all must be called with an array\"), label);\n    }\n\n    return new Enumerator(this, entries, true\n    /* abort on reject */\n    , label).promise;\n  }\n  /**\n    `Promise.race` returns a new promise which is settled in the same way as the\n    first passed promise to settle.\n  \n    Example:\n  \n    ```javascript\n    import Promise from 'rsvp';\n  \n    let promise1 = new Promise(function(resolve, reject){\n      setTimeout(function(){\n        resolve('promise 1');\n      }, 200);\n    });\n  \n    let promise2 = new Promise(function(resolve, reject){\n      setTimeout(function(){\n        resolve('promise 2');\n      }, 100);\n    });\n  \n    Promise.race([promise1, promise2]).then(function(result){\n      // result === 'promise 2' because it was resolved before promise1\n      // was resolved.\n    });\n    ```\n  \n    `Promise.race` is deterministic in that only the state of the first\n    settled promise matters. For example, even if other promises given to the\n    `promises` array argument are resolved, but the first settled promise has\n    become rejected before the other promises became fulfilled, the returned\n    promise will become rejected:\n  \n    ```javascript\n    import Promise from 'rsvp';\n  \n    let promise1 = new Promise(function(resolve, reject){\n      setTimeout(function(){\n        resolve('promise 1');\n      }, 200);\n    });\n  \n    let promise2 = new Promise(function(resolve, reject){\n      setTimeout(function(){\n        reject(new Error('promise 2'));\n      }, 100);\n    });\n  \n    Promise.race([promise1, promise2]).then(function(result){\n      // Code here never runs\n    }, function(reason){\n      // reason.message === 'promise 2' because promise 2 became rejected before\n      // promise 1 became fulfilled\n    });\n    ```\n  \n    An example real-world use case is implementing timeouts:\n  \n    ```javascript\n    import Promise from 'rsvp';\n  \n    Promise.race([ajax('foo.json'), timeout(5000)])\n    ```\n  \n    @method race\n    @for Promise\n    @static\n    @param {Array} entries array of promises to observe\n    @param {String} label optional string for describing the promise returned.\n    Useful for tooling.\n    @return {Promise} a promise which settles in the same way as the first passed\n    promise to settle.\n  */\n\n\n  function race(entries, label) {\n    /*jshint validthis:true */\n    var Constructor = this;\n    var promise = new Constructor(noop, label);\n\n    if (!Array.isArray(entries)) {\n      reject(promise, new TypeError('Promise.race must be called with an array'));\n      return promise;\n    }\n\n    for (var i = 0; promise._state === PENDING && i < entries.length; i++) {\n      subscribe(Constructor.resolve(entries[i]), undefined, function (value) {\n        return resolve$1(promise, value);\n      }, function (reason) {\n        return reject(promise, reason);\n      });\n    }\n\n    return promise;\n  }\n  /**\n    `Promise.reject` returns a promise rejected with the passed `reason`.\n    It is shorthand for the following:\n  \n    ```javascript\n    import Promise from 'rsvp';\n  \n    let promise = new Promise(function(resolve, reject){\n      reject(new Error('WHOOPS'));\n    });\n  \n    promise.then(function(value){\n      // Code here doesn't run because the promise is rejected!\n    }, function(reason){\n      // reason.message === 'WHOOPS'\n    });\n    ```\n  \n    Instead of writing the above, your code now simply becomes the following:\n  \n    ```javascript\n    import Promise from 'rsvp';\n  \n    let promise = Promise.reject(new Error('WHOOPS'));\n  \n    promise.then(function(value){\n      // Code here doesn't run because the promise is rejected!\n    }, function(reason){\n      // reason.message === 'WHOOPS'\n    });\n    ```\n  \n    @method reject\n    @for Promise\n    @static\n    @param {*} reason value that the returned promise will be rejected with.\n    @param {String} label optional string for identifying the returned promise.\n    Useful for tooling.\n    @return {Promise} a promise rejected with the given `reason`.\n  */\n\n\n  function reject$1(reason, label) {\n    /*jshint validthis:true */\n    var Constructor = this;\n    var promise = new Constructor(noop, label);\n    reject(promise, reason);\n    return promise;\n  }\n\n  var guidKey = 'rsvp_' + Date.now() + '-';\n  var counter = 0;\n\n  function needsResolver() {\n    throw new TypeError('You must pass a resolver function as the first argument to the promise constructor');\n  }\n\n  function needsNew() {\n    throw new TypeError(\"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.\");\n  }\n  /**\n    Promise objects represent the eventual result of an asynchronous operation. The\n    primary way of interacting with a promise is through its `then` method, which\n    registers callbacks to receive either a promise’s eventual value or the reason\n    why the promise cannot be fulfilled.\n  \n    Terminology\n    -----------\n  \n    - `promise` is an object or function with a `then` method whose behavior conforms to this specification.\n    - `thenable` is an object or function that defines a `then` method.\n    - `value` is any legal JavaScript value (including undefined, a thenable, or a promise).\n    - `exception` is a value that is thrown using the throw statement.\n    - `reason` is a value that indicates why a promise was rejected.\n    - `settled` the final resting state of a promise, fulfilled or rejected.\n  \n    A promise can be in one of three states: pending, fulfilled, or rejected.\n  \n    Promises that are fulfilled have a fulfillment value and are in the fulfilled\n    state.  Promises that are rejected have a rejection reason and are in the\n    rejected state.  A fulfillment value is never a thenable.\n  \n    Promises can also be said to *resolve* a value.  If this value is also a\n    promise, then the original promise's settled state will match the value's\n    settled state.  So a promise that *resolves* a promise that rejects will\n    itself reject, and a promise that *resolves* a promise that fulfills will\n    itself fulfill.\n  \n  \n    Basic Usage:\n    ------------\n  \n    ```js\n    let promise = new Promise(function(resolve, reject) {\n      // on success\n      resolve(value);\n  \n      // on failure\n      reject(reason);\n    });\n  \n    promise.then(function(value) {\n      // on fulfillment\n    }, function(reason) {\n      // on rejection\n    });\n    ```\n  \n    Advanced Usage:\n    ---------------\n  \n    Promises shine when abstracting away asynchronous interactions such as\n    `XMLHttpRequest`s.\n  \n    ```js\n    function getJSON(url) {\n      return new Promise(function(resolve, reject){\n        let xhr = new XMLHttpRequest();\n  \n        xhr.open('GET', url);\n        xhr.onreadystatechange = handler;\n        xhr.responseType = 'json';\n        xhr.setRequestHeader('Accept', 'application/json');\n        xhr.send();\n  \n        function handler() {\n          if (this.readyState === this.DONE) {\n            if (this.status === 200) {\n              resolve(this.response);\n            } else {\n              reject(new Error('getJSON: `' + url + '` failed with status: [' + this.status + ']'));\n            }\n          }\n        };\n      });\n    }\n  \n    getJSON('/posts.json').then(function(json) {\n      // on fulfillment\n    }, function(reason) {\n      // on rejection\n    });\n    ```\n  \n    Unlike callbacks, promises are great composable primitives.\n  \n    ```js\n    Promise.all([\n      getJSON('/posts'),\n      getJSON('/comments')\n    ]).then(function(values){\n      values[0] // => postsJSON\n      values[1] // => commentsJSON\n  \n      return values;\n    });\n    ```\n  \n    @class Promise\n    @public\n    @param {function} resolver\n    @param {String} label optional string for labeling the promise.\n    Useful for tooling.\n    @constructor\n  */\n\n\n  var Promise =\n  /*#__PURE__*/\n  function () {\n    function Promise(resolver, label) {\n      this._id = counter++;\n      this._label = label;\n      this._state = undefined;\n      this._result = undefined;\n      this._subscribers = [];\n      config.instrument && instrument('created', this);\n\n      if (noop !== resolver) {\n        typeof resolver !== 'function' && needsResolver();\n        this instanceof Promise ? initializePromise(this, resolver) : needsNew();\n      }\n    }\n\n    var _proto2 = Promise.prototype;\n\n    _proto2._onError = function _onError(reason) {\n      var _this2 = this;\n\n      config.after(function () {\n        if (_this2._onError) {\n          config.trigger('error', reason, _this2._label);\n        }\n      });\n    }\n    /**\n      `catch` is simply sugar for `then(undefined, onRejection)` which makes it the same\n      as the catch block of a try/catch statement.\n    \n      ```js\n      function findAuthor(){\n        throw new Error('couldn\\'t find that author');\n      }\n    \n      // synchronous\n      try {\n        findAuthor();\n      } catch(reason) {\n        // something went wrong\n      }\n    \n      // async with promises\n      findAuthor().catch(function(reason){\n        // something went wrong\n      });\n      ```\n    \n      @method catch\n      @param {Function} onRejection\n      @param {String} label optional string for labeling the promise.\n      Useful for tooling.\n      @return {Promise}\n    */\n    ;\n\n    _proto2.catch = function _catch(onRejection, label) {\n      return this.then(undefined, onRejection, label);\n    }\n    /**\n      `finally` will be invoked regardless of the promise's fate just as native\n      try/catch/finally behaves\n    \n      Synchronous example:\n    \n      ```js\n      findAuthor() {\n        if (Math.random() > 0.5) {\n          throw new Error();\n        }\n        return new Author();\n      }\n    \n      try {\n        return findAuthor(); // succeed or fail\n      } catch(error) {\n        return findOtherAuthor();\n      } finally {\n        // always runs\n        // doesn't affect the return value\n      }\n      ```\n    \n      Asynchronous example:\n    \n      ```js\n      findAuthor().catch(function(reason){\n        return findOtherAuthor();\n      }).finally(function(){\n        // author was either found, or not\n      });\n      ```\n    \n      @method finally\n      @param {Function} callback\n      @param {String} label optional string for labeling the promise.\n      Useful for tooling.\n      @return {Promise}\n    */\n    ;\n\n    _proto2.finally = function _finally(callback, label) {\n      var promise = this;\n      var constructor = promise.constructor;\n\n      if (typeof callback === 'function') {\n        return promise.then(function (value) {\n          return constructor.resolve(callback()).then(function () {\n            return value;\n          });\n        }, function (reason) {\n          return constructor.resolve(callback()).then(function () {\n            throw reason;\n          });\n        });\n      }\n\n      return promise.then(callback, callback);\n    };\n\n    return Promise;\n  }();\n\n  _exports.Promise = Promise;\n  Promise.cast = resolve$$1; // deprecated\n\n  Promise.all = all;\n  Promise.race = race;\n  Promise.resolve = resolve$$1;\n  Promise.reject = reject$1;\n  Promise.prototype._guidKey = guidKey;\n  /**\n    The primary way of interacting with a promise is through its `then` method,\n    which registers callbacks to receive either a promise's eventual value or the\n    reason why the promise cannot be fulfilled.\n  \n    ```js\n    findUser().then(function(user){\n      // user is available\n    }, function(reason){\n      // user is unavailable, and you are given the reason why\n    });\n    ```\n  \n    Chaining\n    --------\n  \n    The return value of `then` is itself a promise.  This second, 'downstream'\n    promise is resolved with the return value of the first promise's fulfillment\n    or rejection handler, or rejected if the handler throws an exception.\n  \n    ```js\n    findUser().then(function (user) {\n      return user.name;\n    }, function (reason) {\n      return 'default name';\n    }).then(function (userName) {\n      // If `findUser` fulfilled, `userName` will be the user's name, otherwise it\n      // will be `'default name'`\n    });\n  \n    findUser().then(function (user) {\n      throw new Error('Found user, but still unhappy');\n    }, function (reason) {\n      throw new Error('`findUser` rejected and we\\'re unhappy');\n    }).then(function (value) {\n      // never reached\n    }, function (reason) {\n      // if `findUser` fulfilled, `reason` will be 'Found user, but still unhappy'.\n      // If `findUser` rejected, `reason` will be '`findUser` rejected and we\\'re unhappy'.\n    });\n    ```\n    If the downstream promise does not specify a rejection handler, rejection reasons will be propagated further downstream.\n  \n    ```js\n    findUser().then(function (user) {\n      throw new PedagogicalException('Upstream error');\n    }).then(function (value) {\n      // never reached\n    }).then(function (value) {\n      // never reached\n    }, function (reason) {\n      // The `PedgagocialException` is propagated all the way down to here\n    });\n    ```\n  \n    Assimilation\n    ------------\n  \n    Sometimes the value you want to propagate to a downstream promise can only be\n    retrieved asynchronously. This can be achieved by returning a promise in the\n    fulfillment or rejection handler. The downstream promise will then be pending\n    until the returned promise is settled. This is called *assimilation*.\n  \n    ```js\n    findUser().then(function (user) {\n      return findCommentsByAuthor(user);\n    }).then(function (comments) {\n      // The user's comments are now available\n    });\n    ```\n  \n    If the assimliated promise rejects, then the downstream promise will also reject.\n  \n    ```js\n    findUser().then(function (user) {\n      return findCommentsByAuthor(user);\n    }).then(function (comments) {\n      // If `findCommentsByAuthor` fulfills, we'll have the value here\n    }, function (reason) {\n      // If `findCommentsByAuthor` rejects, we'll have the reason here\n    });\n    ```\n  \n    Simple Example\n    --------------\n  \n    Synchronous Example\n  \n    ```javascript\n    let result;\n  \n    try {\n      result = findResult();\n      // success\n    } catch(reason) {\n      // failure\n    }\n    ```\n  \n    Errback Example\n  \n    ```js\n    findResult(function(result, err){\n      if (err) {\n        // failure\n      } else {\n        // success\n      }\n    });\n    ```\n  \n    Promise Example;\n  \n    ```javascript\n    findResult().then(function(result){\n      // success\n    }, function(reason){\n      // failure\n    });\n    ```\n  \n    Advanced Example\n    --------------\n  \n    Synchronous Example\n  \n    ```javascript\n    let author, books;\n  \n    try {\n      author = findAuthor();\n      books  = findBooksByAuthor(author);\n      // success\n    } catch(reason) {\n      // failure\n    }\n    ```\n  \n    Errback Example\n  \n    ```js\n  \n    function foundBooks(books) {\n  \n    }\n  \n    function failure(reason) {\n  \n    }\n  \n    findAuthor(function(author, err){\n      if (err) {\n        failure(err);\n        // failure\n      } else {\n        try {\n          findBoooksByAuthor(author, function(books, err) {\n            if (err) {\n              failure(err);\n            } else {\n              try {\n                foundBooks(books);\n              } catch(reason) {\n                failure(reason);\n              }\n            }\n          });\n        } catch(error) {\n          failure(err);\n        }\n        // success\n      }\n    });\n    ```\n  \n    Promise Example;\n  \n    ```javascript\n    findAuthor().\n      then(findBooksByAuthor).\n      then(function(books){\n        // found books\n    }).catch(function(reason){\n      // something went wrong\n    });\n    ```\n  \n    @method then\n    @param {Function} onFulfillment\n    @param {Function} onRejection\n    @param {String} label optional string for labeling the promise.\n    Useful for tooling.\n    @return {Promise}\n  */\n\n  Promise.prototype.then = then;\n\n  function makeObject(_, argumentNames) {\n    var obj = {};\n    var length = _.length;\n    var args = new Array(length);\n\n    for (var x = 0; x < length; x++) {\n      args[x] = _[x];\n    }\n\n    for (var i = 0; i < argumentNames.length; i++) {\n      var name = argumentNames[i];\n      obj[name] = args[i + 1];\n    }\n\n    return obj;\n  }\n\n  function arrayResult(_) {\n    var length = _.length;\n    var args = new Array(length - 1);\n\n    for (var i = 1; i < length; i++) {\n      args[i - 1] = _[i];\n    }\n\n    return args;\n  }\n\n  function wrapThenable(then, promise) {\n    return {\n      then: function (onFulFillment, onRejection) {\n        return then.call(promise, onFulFillment, onRejection);\n      }\n    };\n  }\n  /**\n    `denodeify` takes a 'node-style' function and returns a function that\n    will return an `Promise`. You can use `denodeify` in Node.js or the\n    browser when you'd prefer to use promises over using callbacks. For example,\n    `denodeify` transforms the following:\n  \n    ```javascript\n    let fs = require('fs');\n  \n    fs.readFile('myfile.txt', function(err, data){\n      if (err) return handleError(err);\n      handleData(data);\n    });\n    ```\n  \n    into:\n  \n    ```javascript\n    let fs = require('fs');\n    let readFile = denodeify(fs.readFile);\n  \n    readFile('myfile.txt').then(handleData, handleError);\n    ```\n  \n    If the node function has multiple success parameters, then `denodeify`\n    just returns the first one:\n  \n    ```javascript\n    let request = denodeify(require('request'));\n  \n    request('http://example.com').then(function(res) {\n      // ...\n    });\n    ```\n  \n    However, if you need all success parameters, setting `denodeify`'s\n    second parameter to `true` causes it to return all success parameters\n    as an array:\n  \n    ```javascript\n    let request = denodeify(require('request'), true);\n  \n    request('http://example.com').then(function(result) {\n      // result[0] -> res\n      // result[1] -> body\n    });\n    ```\n  \n    Or if you pass it an array with names it returns the parameters as a hash:\n  \n    ```javascript\n    let request = denodeify(require('request'), ['res', 'body']);\n  \n    request('http://example.com').then(function(result) {\n      // result.res\n      // result.body\n    });\n    ```\n  \n    Sometimes you need to retain the `this`:\n  \n    ```javascript\n    let app = require('express')();\n    let render = denodeify(app.render.bind(app));\n    ```\n  \n    The denodified function inherits from the original function. It works in all\n    environments, except IE 10 and below. Consequently all properties of the original\n    function are available to you. However, any properties you change on the\n    denodeified function won't be changed on the original function. Example:\n  \n    ```javascript\n    let request = denodeify(require('request')),\n        cookieJar = request.jar(); // <- Inheritance is used here\n  \n    request('http://example.com', {jar: cookieJar}).then(function(res) {\n      // cookieJar.cookies holds now the cookies returned by example.com\n    });\n    ```\n  \n    Using `denodeify` makes it easier to compose asynchronous operations instead\n    of using callbacks. For example, instead of:\n  \n    ```javascript\n    let fs = require('fs');\n  \n    fs.readFile('myfile.txt', function(err, data){\n      if (err) { ... } // Handle error\n      fs.writeFile('myfile2.txt', data, function(err){\n        if (err) { ... } // Handle error\n        console.log('done')\n      });\n    });\n    ```\n  \n    you can chain the operations together using `then` from the returned promise:\n  \n    ```javascript\n    let fs = require('fs');\n    let readFile = denodeify(fs.readFile);\n    let writeFile = denodeify(fs.writeFile);\n  \n    readFile('myfile.txt').then(function(data){\n      return writeFile('myfile2.txt', data);\n    }).then(function(){\n      console.log('done')\n    }).catch(function(error){\n      // Handle error\n    });\n    ```\n  \n    @method denodeify\n    @public\n    @static\n    @for rsvp\n    @param {Function} nodeFunc a 'node-style' function that takes a callback as\n    its last argument. The callback expects an error to be passed as its first\n    argument (if an error occurred, otherwise null), and the value from the\n    operation as its second argument ('function(err, value){ }').\n    @param {Boolean|Array} [options] An optional paramter that if set\n    to `true` causes the promise to fulfill with the callback's success arguments\n    as an array. This is useful if the node function has multiple success\n    paramters. If you set this paramter to an array with names, the promise will\n    fulfill with a hash with these names as keys and the success parameters as\n    values.\n    @return {Function} a function that wraps `nodeFunc` to return a `Promise`\n  */\n\n\n  function denodeify(nodeFunc, options) {\n    var fn = function () {\n      var l = arguments.length;\n      var args = new Array(l + 1);\n      var promiseInput = false;\n\n      for (var i = 0; i < l; ++i) {\n        var arg = arguments[i];\n\n        if (!promiseInput) {\n          // TODO: clean this up\n          promiseInput = needsPromiseInput(arg);\n\n          if (promiseInput === TRY_CATCH_ERROR) {\n            var error = TRY_CATCH_ERROR.error;\n            TRY_CATCH_ERROR.error = null;\n            var p = new Promise(noop);\n            reject(p, error);\n            return p;\n          } else if (promiseInput && promiseInput !== true) {\n            arg = wrapThenable(promiseInput, arg);\n          }\n        }\n\n        args[i] = arg;\n      }\n\n      var promise = new Promise(noop);\n\n      args[l] = function (err, val) {\n        if (err) {\n          reject(promise, err);\n        } else if (options === undefined) {\n          resolve$1(promise, val);\n        } else if (options === true) {\n          resolve$1(promise, arrayResult(arguments));\n        } else if (Array.isArray(options)) {\n          resolve$1(promise, makeObject(arguments, options));\n        } else {\n          resolve$1(promise, val);\n        }\n      };\n\n      if (promiseInput) {\n        return handlePromiseInput(promise, args, nodeFunc, this);\n      } else {\n        return handleValueInput(promise, args, nodeFunc, this);\n      }\n    };\n\n    fn.__proto__ = nodeFunc;\n    return fn;\n  }\n\n  function handleValueInput(promise, args, nodeFunc, self) {\n    var result = tryCatch(nodeFunc).apply(self, args);\n\n    if (result === TRY_CATCH_ERROR) {\n      var error = TRY_CATCH_ERROR.error;\n      TRY_CATCH_ERROR.error = null;\n      reject(promise, error);\n    }\n\n    return promise;\n  }\n\n  function handlePromiseInput(promise, args, nodeFunc, self) {\n    return Promise.all(args).then(function (args) {\n      return handleValueInput(promise, args, nodeFunc, self);\n    });\n  }\n\n  function needsPromiseInput(arg) {\n    if (arg !== null && typeof arg === 'object') {\n      if (arg.constructor === Promise) {\n        return true;\n      } else {\n        return getThen(arg);\n      }\n    } else {\n      return false;\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\n\n  function all$1(array, label) {\n    return Promise.all(array, label);\n  }\n  /**\n  @module rsvp\n  @public\n  **/\n\n\n  var AllSettled =\n  /*#__PURE__*/\n  function (_Enumerator) {\n    (0, _emberBabel.inheritsLoose)(AllSettled, _Enumerator);\n\n    function AllSettled(Constructor, entries, label) {\n      return _Enumerator.call(this, Constructor, entries, false\n      /* don't abort on reject */\n      , label) || this;\n    }\n\n    return AllSettled;\n  }(Enumerator);\n\n  AllSettled.prototype._setResultAt = setSettledResult;\n  /**\n  `RSVP.allSettled` is similar to `RSVP.all`, but instead of implementing\n  a fail-fast method, it waits until all the promises have returned and\n  shows you all the results. This is useful if you want to handle multiple\n  promises' failure states together as a set.\n   Returns a promise that is fulfilled when all the given promises have been\n  settled. The return promise is fulfilled with an array of the states of\n  the promises passed into the `promises` array argument.\n   Each state object will either indicate fulfillment or rejection, and\n  provide the corresponding value or reason. The states will take one of\n  the following formats:\n   ```javascript\n  { state: 'fulfilled', value: value }\n    or\n  { state: 'rejected', reason: reason }\n  ```\n   Example:\n   ```javascript\n  let promise1 = RSVP.Promise.resolve(1);\n  let promise2 = RSVP.Promise.reject(new Error('2'));\n  let promise3 = RSVP.Promise.reject(new Error('3'));\n  let promises = [ promise1, promise2, promise3 ];\n   RSVP.allSettled(promises).then(function(array){\n    // array == [\n    //   { state: 'fulfilled', value: 1 },\n    //   { state: 'rejected', reason: Error },\n    //   { state: 'rejected', reason: Error }\n    // ]\n    // Note that for the second item, reason.message will be '2', and for the\n    // third item, reason.message will be '3'.\n  }, function(error) {\n    // Not run. (This block would only be called if allSettled had failed,\n    // for instance if passed an incorrect argument type.)\n  });\n  ```\n   @method allSettled\n  @public\n  @static\n  @for rsvp\n  @param {Array} entries\n  @param {String} label - optional string that describes the promise.\n  Useful for tooling.\n  @return {Promise} promise that is fulfilled with an array of the settled\n  states of the constituent promises.\n  */\n\n  function allSettled(entries, label) {\n    if (!Array.isArray(entries)) {\n      return Promise.reject(new TypeError(\"Promise.allSettled must be called with an array\"), label);\n    }\n\n    return new AllSettled(Promise, entries, label).promise;\n  }\n  /**\n    This is a convenient alias for `Promise.race`.\n  \n    @method race\n    @public\n    @static\n    @for rsvp\n    @param {Array} array Array of promises.\n    @param {String} label An optional label. This is useful\n    for tooling.\n   */\n\n\n  function race$1(array, label) {\n    return Promise.race(array, label);\n  }\n\n  var PromiseHash =\n  /*#__PURE__*/\n  function (_Enumerator2) {\n    (0, _emberBabel.inheritsLoose)(PromiseHash, _Enumerator2);\n\n    function PromiseHash(Constructor, object) {\n      var abortOnReject = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n      var label = arguments.length > 3 ? arguments[3] : undefined;\n      return _Enumerator2.call(this, Constructor, object, abortOnReject, label) || this;\n    }\n\n    var _proto3 = PromiseHash.prototype;\n\n    _proto3._init = function _init(Constructor, object) {\n      this._result = {};\n\n      this._enumerate(object);\n    };\n\n    _proto3._enumerate = function _enumerate(input) {\n      var keys = Object.keys(input);\n      var length = keys.length;\n      var promise = this.promise;\n      this._remaining = length;\n      var key, val;\n\n      for (var i = 0; promise._state === PENDING && i < length; i++) {\n        key = keys[i];\n        val = input[key];\n\n        this._eachEntry(val, key, true);\n      }\n\n      this._checkFullfillment();\n    };\n\n    return PromiseHash;\n  }(Enumerator);\n  /**\n    `hash` is similar to `all`, but takes an object instead of an array\n    for its `promises` argument.\n  \n    Returns a promise that is fulfilled when all the given promises have been\n    fulfilled, or rejected if any of them become rejected. The returned promise\n    is fulfilled with a hash that has the same key names as the `promises` object\n    argument. If any of the values in the object are not promises, they will\n    simply be copied over to the fulfilled object.\n  \n    Example:\n  \n    ```javascript\n    let promises = {\n      myPromise: resolve(1),\n      yourPromise: resolve(2),\n      theirPromise: resolve(3),\n      notAPromise: 4\n    };\n  \n    hash(promises).then(function(hash){\n      // hash here is an object that looks like:\n      // {\n      //   myPromise: 1,\n      //   yourPromise: 2,\n      //   theirPromise: 3,\n      //   notAPromise: 4\n      // }\n    });\n    ```\n  \n    If any of the `promises` given to `hash` are rejected, the first promise\n    that is rejected will be given as the reason to the rejection handler.\n  \n    Example:\n  \n    ```javascript\n    let promises = {\n      myPromise: resolve(1),\n      rejectedPromise: reject(new Error('rejectedPromise')),\n      anotherRejectedPromise: reject(new Error('anotherRejectedPromise')),\n    };\n  \n    hash(promises).then(function(hash){\n      // Code here never runs because there are rejected promises!\n    }, function(reason) {\n      // reason.message === 'rejectedPromise'\n    });\n    ```\n  \n    An important note: `hash` is intended for plain JavaScript objects that\n    are just a set of keys and values. `hash` will NOT preserve prototype\n    chains.\n  \n    Example:\n  \n    ```javascript\n    import { hash, resolve } from 'rsvp';\n    function MyConstructor(){\n      this.example = resolve('Example');\n    }\n  \n    MyConstructor.prototype = {\n      protoProperty: resolve('Proto Property')\n    };\n  \n    let myObject = new MyConstructor();\n  \n    hash(myObject).then(function(hash){\n      // protoProperty will not be present, instead you will just have an\n      // object that looks like:\n      // {\n      //   example: 'Example'\n      // }\n      //\n      // hash.hasOwnProperty('protoProperty'); // false\n      // 'undefined' === typeof hash.protoProperty\n    });\n    ```\n  \n    @method hash\n    @public\n    @static\n    @for rsvp\n    @param {Object} object\n    @param {String} label optional string that describes the promise.\n    Useful for tooling.\n    @return {Promise} promise that is fulfilled when all properties of `promises`\n    have been fulfilled, or rejected if any of them become rejected.\n  */\n\n\n  function hash(object, label) {\n    return Promise.resolve(object, label).then(function (object) {\n      if (object === null || typeof object !== 'object') {\n        throw new TypeError(\"Promise.hash must be called with an object\");\n      }\n\n      return new PromiseHash(Promise, object, label).promise;\n    });\n  }\n\n  var HashSettled =\n  /*#__PURE__*/\n  function (_PromiseHash) {\n    (0, _emberBabel.inheritsLoose)(HashSettled, _PromiseHash);\n\n    function HashSettled(Constructor, object, label) {\n      return _PromiseHash.call(this, Constructor, object, false, label) || this;\n    }\n\n    return HashSettled;\n  }(PromiseHash);\n\n  HashSettled.prototype._setResultAt = setSettledResult;\n  /**\n    `hashSettled` is similar to `allSettled`, but takes an object\n    instead of an array for its `promises` argument.\n  \n    Unlike `all` or `hash`, which implement a fail-fast method,\n    but like `allSettled`, `hashSettled` waits until all the\n    constituent promises have returned and then shows you all the results\n    with their states and values/reasons. This is useful if you want to\n    handle multiple promises' failure states together as a set.\n  \n    Returns a promise that is fulfilled when all the given promises have been\n    settled, or rejected if the passed parameters are invalid.\n  \n    The returned promise is fulfilled with a hash that has the same key names as\n    the `promises` object argument. If any of the values in the object are not\n    promises, they will be copied over to the fulfilled object and marked with state\n    'fulfilled'.\n  \n    Example:\n  \n    ```javascript\n    import { hashSettled, resolve } from 'rsvp';\n  \n    let promises = {\n      myPromise: resolve(1),\n      yourPromise: resolve(2),\n      theirPromise: resolve(3),\n      notAPromise: 4\n    };\n  \n    hashSettled(promises).then(function(hash){\n      // hash here is an object that looks like:\n      // {\n      //   myPromise: { state: 'fulfilled', value: 1 },\n      //   yourPromise: { state: 'fulfilled', value: 2 },\n      //   theirPromise: { state: 'fulfilled', value: 3 },\n      //   notAPromise: { state: 'fulfilled', value: 4 }\n      // }\n    });\n    ```\n  \n    If any of the `promises` given to `hash` are rejected, the state will\n    be set to 'rejected' and the reason for rejection provided.\n  \n    Example:\n  \n    ```javascript\n    import { hashSettled, reject, resolve } from 'rsvp';\n  \n    let promises = {\n      myPromise: resolve(1),\n      rejectedPromise: reject(new Error('rejection')),\n      anotherRejectedPromise: reject(new Error('more rejection')),\n    };\n  \n    hashSettled(promises).then(function(hash){\n      // hash here is an object that looks like:\n      // {\n      //   myPromise:              { state: 'fulfilled', value: 1 },\n      //   rejectedPromise:        { state: 'rejected', reason: Error },\n      //   anotherRejectedPromise: { state: 'rejected', reason: Error },\n      // }\n      // Note that for rejectedPromise, reason.message == 'rejection',\n      // and for anotherRejectedPromise, reason.message == 'more rejection'.\n    });\n    ```\n  \n    An important note: `hashSettled` is intended for plain JavaScript objects that\n    are just a set of keys and values. `hashSettled` will NOT preserve prototype\n    chains.\n  \n    Example:\n  \n    ```javascript\n    import Promise, { hashSettled, resolve } from 'rsvp';\n  \n    function MyConstructor(){\n      this.example = resolve('Example');\n    }\n  \n    MyConstructor.prototype = {\n      protoProperty: Promise.resolve('Proto Property')\n    };\n  \n    let myObject = new MyConstructor();\n  \n    hashSettled(myObject).then(function(hash){\n      // protoProperty will not be present, instead you will just have an\n      // object that looks like:\n      // {\n      //   example: { state: 'fulfilled', value: 'Example' }\n      // }\n      //\n      // hash.hasOwnProperty('protoProperty'); // false\n      // 'undefined' === typeof hash.protoProperty\n    });\n    ```\n  \n    @method hashSettled\n    @public\n    @for rsvp\n    @param {Object} object\n    @param {String} label optional string that describes the promise.\n    Useful for tooling.\n    @return {Promise} promise that is fulfilled when when all properties of `promises`\n    have been settled.\n    @static\n  */\n\n  function hashSettled(object, label) {\n    return Promise.resolve(object, label).then(function (object) {\n      if (object === null || typeof object !== 'object') {\n        throw new TypeError(\"hashSettled must be called with an object\");\n      }\n\n      return new HashSettled(Promise, object, false, label).promise;\n    });\n  }\n  /**\n    `rethrow` will rethrow an error on the next turn of the JavaScript event\n    loop in order to aid debugging.\n  \n    Promises A+ specifies that any exceptions that occur with a promise must be\n    caught by the promises implementation and bubbled to the last handler. For\n    this reason, it is recommended that you always specify a second rejection\n    handler function to `then`. However, `rethrow` will throw the exception\n    outside of the promise, so it bubbles up to your console if in the browser,\n    or domain/cause uncaught exception in Node. `rethrow` will also throw the\n    error again so the error can be handled by the promise per the spec.\n  \n    ```javascript\n    import { rethrow } from 'rsvp';\n  \n    function throws(){\n      throw new Error('Whoops!');\n    }\n  \n    let promise = new Promise(function(resolve, reject){\n      throws();\n    });\n  \n    promise.catch(rethrow).then(function(){\n      // Code here doesn't run because the promise became rejected due to an\n      // error!\n    }, function (err){\n      // handle the error here\n    });\n    ```\n  \n    The 'Whoops' error will be thrown on the next turn of the event loop\n    and you can watch for it in your console. You can also handle it using a\n    rejection handler given to `.then` or `.catch` on the returned promise.\n  \n    @method rethrow\n    @public\n    @static\n    @for rsvp\n    @param {Error} reason reason the promise became rejected.\n    @throws Error\n    @static\n  */\n\n\n  function rethrow(reason) {\n    setTimeout(function () {\n      throw reason;\n    });\n    throw reason;\n  }\n  /**\n    `defer` returns an object similar to jQuery's `$.Deferred`.\n    `defer` should be used when porting over code reliant on `$.Deferred`'s\n    interface. New code should use the `Promise` constructor instead.\n  \n    The object returned from `defer` is a plain object with three properties:\n  \n    * promise - an `Promise`.\n    * reject - a function that causes the `promise` property on this object to\n      become rejected\n    * resolve - a function that causes the `promise` property on this object to\n      become fulfilled.\n  \n    Example:\n  \n     ```javascript\n     let deferred = defer();\n  \n     deferred.resolve(\"Success!\");\n  \n     deferred.promise.then(function(value){\n       // value here is \"Success!\"\n     });\n     ```\n  \n    @method defer\n    @public\n    @static\n    @for rsvp\n    @param {String} label optional string for labeling the promise.\n    Useful for tooling.\n    @return {Object}\n   */\n\n\n  function defer(label) {\n    var deferred = {\n      resolve: undefined,\n      reject: undefined\n    };\n    deferred.promise = new Promise(function (resolve, reject) {\n      deferred.resolve = resolve;\n      deferred.reject = reject;\n    }, label);\n    return deferred;\n  }\n\n  var MapEnumerator =\n  /*#__PURE__*/\n  function (_Enumerator3) {\n    (0, _emberBabel.inheritsLoose)(MapEnumerator, _Enumerator3);\n\n    function MapEnumerator(Constructor, entries, mapFn, label) {\n      return _Enumerator3.call(this, Constructor, entries, true, label, mapFn) || this;\n    }\n\n    var _proto4 = MapEnumerator.prototype;\n\n    _proto4._init = function _init(Constructor, input, bool, label, mapFn) {\n      var len = input.length || 0;\n      this.length = len;\n      this._remaining = len;\n      this._result = new Array(len);\n      this._mapFn = mapFn;\n\n      this._enumerate(input);\n    };\n\n    _proto4._setResultAt = function _setResultAt(state, i, value, firstPass) {\n      if (firstPass) {\n        var val = tryCatch(this._mapFn)(value, i);\n\n        if (val === TRY_CATCH_ERROR) {\n          this._settledAt(REJECTED, i, val.error, false);\n        } else {\n          this._eachEntry(val, i, false);\n        }\n      } else {\n        this._remaining--;\n        this._result[i] = value;\n      }\n    };\n\n    return MapEnumerator;\n  }(Enumerator);\n  /**\n   `map` is similar to JavaScript's native `map` method. `mapFn` is eagerly called\n    meaning that as soon as any promise resolves its value will be passed to `mapFn`.\n    `map` returns a promise that will become fulfilled with the result of running\n    `mapFn` on the values the promises become fulfilled with.\n  \n    For example:\n  \n    ```javascript\n    import { map, resolve } from 'rsvp';\n  \n    let promise1 = resolve(1);\n    let promise2 = resolve(2);\n    let promise3 = resolve(3);\n    let promises = [ promise1, promise2, promise3 ];\n  \n    let mapFn = function(item){\n      return item + 1;\n    };\n  \n    map(promises, mapFn).then(function(result){\n      // result is [ 2, 3, 4 ]\n    });\n    ```\n  \n    If any of the `promises` given to `map` are rejected, the first promise\n    that is rejected will be given as an argument to the returned promise's\n    rejection handler. For example:\n  \n    ```javascript\n    import { map, reject, resolve } from 'rsvp';\n  \n    let promise1 = resolve(1);\n    let promise2 = reject(new Error('2'));\n    let promise3 = reject(new Error('3'));\n    let promises = [ promise1, promise2, promise3 ];\n  \n    let mapFn = function(item){\n      return item + 1;\n    };\n  \n    map(promises, mapFn).then(function(array){\n      // Code here never runs because there are rejected promises!\n    }, function(reason) {\n      // reason.message === '2'\n    });\n    ```\n  \n    `map` will also wait if a promise is returned from `mapFn`. For example,\n    say you want to get all comments from a set of blog posts, but you need\n    the blog posts first because they contain a url to those comments.\n  \n    ```javscript\n    import { map } from 'rsvp';\n  \n    let mapFn = function(blogPost){\n      // getComments does some ajax and returns an Promise that is fulfilled\n      // with some comments data\n      return getComments(blogPost.comments_url);\n    };\n  \n    // getBlogPosts does some ajax and returns an Promise that is fulfilled\n    // with some blog post data\n    map(getBlogPosts(), mapFn).then(function(comments){\n      // comments is the result of asking the server for the comments\n      // of all blog posts returned from getBlogPosts()\n    });\n    ```\n  \n    @method map\n    @public\n    @static\n    @for rsvp\n    @param {Array} promises\n    @param {Function} mapFn function to be called on each fulfilled promise.\n    @param {String} label optional string for labeling the promise.\n    Useful for tooling.\n    @return {Promise} promise that is fulfilled with the result of calling\n    `mapFn` on each fulfilled promise or value when they become fulfilled.\n     The promise will be rejected if any of the given `promises` become rejected.\n  */\n\n\n  function map(promises, mapFn, label) {\n    if (typeof mapFn !== 'function') {\n      return Promise.reject(new TypeError(\"map expects a function as a second argument\"), label);\n    }\n\n    return Promise.resolve(promises, label).then(function (promises) {\n      if (!Array.isArray(promises)) {\n        throw new TypeError(\"map must be called with an array\");\n      }\n\n      return new MapEnumerator(Promise, promises, mapFn, label).promise;\n    });\n  }\n  /**\n    This is a convenient alias for `Promise.resolve`.\n  \n    @method resolve\n    @public\n    @static\n    @for rsvp\n    @param {*} value value that the returned promise will be resolved with\n    @param {String} label optional string for identifying the returned promise.\n    Useful for tooling.\n    @return {Promise} a promise that will become fulfilled with the given\n    `value`\n  */\n\n\n  function resolve$2(value, label) {\n    return Promise.resolve(value, label);\n  }\n  /**\n    This is a convenient alias for `Promise.reject`.\n  \n    @method reject\n    @public\n    @static\n    @for rsvp\n    @param {*} reason value that the returned promise will be rejected with.\n    @param {String} label optional string for identifying the returned promise.\n    Useful for tooling.\n    @return {Promise} a promise rejected with the given `reason`.\n  */\n\n\n  function reject$2(reason, label) {\n    return Promise.reject(reason, label);\n  }\n\n  var EMPTY_OBJECT = {};\n\n  var FilterEnumerator =\n  /*#__PURE__*/\n  function (_MapEnumerator) {\n    (0, _emberBabel.inheritsLoose)(FilterEnumerator, _MapEnumerator);\n\n    function FilterEnumerator() {\n      return _MapEnumerator.apply(this, arguments) || this;\n    }\n\n    var _proto5 = FilterEnumerator.prototype;\n\n    _proto5._checkFullfillment = function _checkFullfillment() {\n      if (this._remaining === 0 && this._result !== null) {\n        var result = this._result.filter(function (val) {\n          return val !== EMPTY_OBJECT;\n        });\n\n        fulfill(this.promise, result);\n        this._result = null;\n      }\n    };\n\n    _proto5._setResultAt = function _setResultAt(state, i, value, firstPass) {\n      if (firstPass) {\n        this._result[i] = value;\n        var val = tryCatch(this._mapFn)(value, i);\n\n        if (val === TRY_CATCH_ERROR) {\n          this._settledAt(REJECTED, i, val.error, false);\n        } else {\n          this._eachEntry(val, i, false);\n        }\n      } else {\n        this._remaining--;\n\n        if (!value) {\n          this._result[i] = EMPTY_OBJECT;\n        }\n      }\n    };\n\n    return FilterEnumerator;\n  }(MapEnumerator);\n  /**\n   `filter` is similar to JavaScript's native `filter` method.\n   `filterFn` is eagerly called meaning that as soon as any promise\n    resolves its value will be passed to `filterFn`. `filter` returns\n    a promise that will become fulfilled with the result of running\n    `filterFn` on the values the promises become fulfilled with.\n  \n    For example:\n  \n    ```javascript\n    import { filter, resolve } from 'rsvp';\n  \n    let promise1 = resolve(1);\n    let promise2 = resolve(2);\n    let promise3 = resolve(3);\n  \n    let promises = [promise1, promise2, promise3];\n  \n    let filterFn = function(item){\n      return item > 1;\n    };\n  \n    filter(promises, filterFn).then(function(result){\n      // result is [ 2, 3 ]\n    });\n    ```\n  \n    If any of the `promises` given to `filter` are rejected, the first promise\n    that is rejected will be given as an argument to the returned promise's\n    rejection handler. For example:\n  \n    ```javascript\n    import { filter, reject, resolve } from 'rsvp';\n  \n    let promise1 = resolve(1);\n    let promise2 = reject(new Error('2'));\n    let promise3 = reject(new Error('3'));\n    let promises = [ promise1, promise2, promise3 ];\n  \n    let filterFn = function(item){\n      return item > 1;\n    };\n  \n    filter(promises, filterFn).then(function(array){\n      // Code here never runs because there are rejected promises!\n    }, function(reason) {\n      // reason.message === '2'\n    });\n    ```\n  \n    `filter` will also wait for any promises returned from `filterFn`.\n    For instance, you may want to fetch a list of users then return a subset\n    of those users based on some asynchronous operation:\n  \n    ```javascript\n    import { filter, resolve } from 'rsvp';\n  \n    let alice = { name: 'alice' };\n    let bob   = { name: 'bob' };\n    let users = [ alice, bob ];\n  \n    let promises = users.map(function(user){\n      return resolve(user);\n    });\n  \n    let filterFn = function(user){\n      // Here, Alice has permissions to create a blog post, but Bob does not.\n      return getPrivilegesForUser(user).then(function(privs){\n        return privs.can_create_blog_post === true;\n      });\n    };\n    filter(promises, filterFn).then(function(users){\n      // true, because the server told us only Alice can create a blog post.\n      users.length === 1;\n      // false, because Alice is the only user present in `users`\n      users[0] === bob;\n    });\n    ```\n  \n    @method filter\n    @public\n    @static\n    @for rsvp\n    @param {Array} promises\n    @param {Function} filterFn - function to be called on each resolved value to\n    filter the final results.\n    @param {String} label optional string describing the promise. Useful for\n    tooling.\n    @return {Promise}\n  */\n\n\n  function filter(promises, filterFn, label) {\n    if (typeof filterFn !== 'function') {\n      return Promise.reject(new TypeError(\"filter expects function as a second argument\"), label);\n    }\n\n    return Promise.resolve(promises, label).then(function (promises) {\n      if (!Array.isArray(promises)) {\n        throw new TypeError(\"filter must be called with an array\");\n      }\n\n      return new FilterEnumerator(Promise, promises, filterFn, label).promise;\n    });\n  }\n\n  var len = 0;\n  var vertxNext;\n\n  function asap(callback, arg) {\n    queue$1[len] = callback;\n    queue$1[len + 1] = arg;\n    len += 2;\n\n    if (len === 2) {\n      // If len is 1, that means that we need to schedule an async flush.\n      // If additional callbacks are queued before the queue is flushed, they\n      // will be processed by this flush that we are scheduling.\n      scheduleFlush$1();\n    }\n  }\n\n  var browserWindow = typeof window !== 'undefined' ? window : undefined;\n  var browserGlobal = browserWindow || {};\n  var BrowserMutationObserver = browserGlobal.MutationObserver || browserGlobal.WebKitMutationObserver;\n  var isNode = typeof self === 'undefined' && typeof process !== 'undefined' && {}.toString.call(process) === '[object process]'; // test for web worker but not in IE10\n\n  var isWorker = typeof Uint8ClampedArray !== 'undefined' && typeof importScripts !== 'undefined' && typeof MessageChannel !== 'undefined'; // node\n\n  function useNextTick() {\n    var nextTick = process.nextTick; // node version 0.10.x displays a deprecation warning when nextTick is used recursively\n    // setImmediate should be used instead instead\n\n    var version = process.versions.node.match(/^(?:(\\d+)\\.)?(?:(\\d+)\\.)?(\\*|\\d+)$/);\n\n    if (Array.isArray(version) && version[1] === '0' && version[2] === '10') {\n      nextTick = setImmediate;\n    }\n\n    return function () {\n      return nextTick(flush);\n    };\n  } // vertx\n\n\n  function useVertxTimer() {\n    if (typeof vertxNext !== 'undefined') {\n      return function () {\n        vertxNext(flush);\n      };\n    }\n\n    return useSetTimeout();\n  }\n\n  function useMutationObserver() {\n    var iterations = 0;\n    var observer = new BrowserMutationObserver(flush);\n    var node = document.createTextNode('');\n    observer.observe(node, {\n      characterData: true\n    });\n    return function () {\n      return node.data = iterations = ++iterations % 2;\n    };\n  } // web worker\n\n\n  function useMessageChannel() {\n    var channel = new MessageChannel();\n    channel.port1.onmessage = flush;\n    return function () {\n      return channel.port2.postMessage(0);\n    };\n  }\n\n  function useSetTimeout() {\n    return function () {\n      return setTimeout(flush, 1);\n    };\n  }\n\n  var queue$1 = new Array(1000);\n\n  function flush() {\n    for (var i = 0; i < len; i += 2) {\n      var callback = queue$1[i];\n      var arg = queue$1[i + 1];\n      callback(arg);\n      queue$1[i] = undefined;\n      queue$1[i + 1] = undefined;\n    }\n\n    len = 0;\n  }\n\n  function attemptVertex() {\n    try {\n      var vertx = Function('return this')().require('vertx');\n\n      vertxNext = vertx.runOnLoop || vertx.runOnContext;\n      return useVertxTimer();\n    } catch (e) {\n      return useSetTimeout();\n    }\n  }\n\n  var scheduleFlush$1; // Decide what async method to use to triggering processing of queued callbacks:\n\n  if (isNode) {\n    scheduleFlush$1 = useNextTick();\n  } else if (BrowserMutationObserver) {\n    scheduleFlush$1 = useMutationObserver();\n  } else if (isWorker) {\n    scheduleFlush$1 = useMessageChannel();\n  } else if (browserWindow === undefined && typeof _nodeModule.require === 'function') {\n    scheduleFlush$1 = attemptVertex();\n  } else {\n    scheduleFlush$1 = useSetTimeout();\n  } // defaults\n\n\n  config.async = asap;\n\n  config.after = function (cb) {\n    return setTimeout(cb, 0);\n  };\n\n  var cast = resolve$2;\n  _exports.cast = cast;\n\n  var async = function (callback, arg) {\n    return config.async(callback, arg);\n  };\n\n  _exports.async = async;\n\n  function on() {\n    config.on.apply(config, arguments);\n  }\n\n  function off() {\n    config.off.apply(config, arguments);\n  } // Set up instrumentation through `window.__PROMISE_INTRUMENTATION__`\n\n\n  if (typeof window !== 'undefined' && typeof window['__PROMISE_INSTRUMENTATION__'] === 'object') {\n    var callbacks = window['__PROMISE_INSTRUMENTATION__'];\n    configure('instrument', true);\n\n    for (var eventName in callbacks) {\n      if (callbacks.hasOwnProperty(eventName)) {\n        on(eventName, callbacks[eventName]);\n      }\n    }\n  } // the default export here is for backwards compat:\n  //   https://github.com/tildeio/rsvp.js/issues/434\n\n\n  var rsvp = {\n    asap: asap,\n    cast: cast,\n    Promise: Promise,\n    EventTarget: EventTarget,\n    all: all$1,\n    allSettled: allSettled,\n    race: race$1,\n    hash: hash,\n    hashSettled: hashSettled,\n    rethrow: rethrow,\n    defer: defer,\n    denodeify: denodeify,\n    configure: configure,\n    on: on,\n    off: off,\n    resolve: resolve$2,\n    reject: reject$2,\n    map: map,\n    async: async,\n    filter: filter\n  };\n  var _default = rsvp;\n  _exports.default = _default;\n});","requireModule('ember')","(function () {\n  function vendorModule() {\n    'use strict';\n\n    return {\n      'default': self['jQuery'],\n      __esModule: true\n    };\n  }\n\n  define('jquery', [], vendorModule);\n})();","(function () {\n  Ember.Component.reopen({\n    $: function $(sel) {\n      (true && !(this.tagName !== '') && Ember.assert(\"You cannot access this.$() on a component with `tagName: ''` specified.\", this.tagName !== ''));\n\n      if (this.element) {\n        return sel ? jQuery(sel, this.element) : jQuery(this.element);\n      }\n    }\n  });\n})();","// Do not edit this file; automatically generated by build.py.\n'use strict';\n\nvar $jscomp=$jscomp||{};$jscomp.scope={};var COMPILED=!0,goog=goog||{};goog.global=this;goog.isDef=function(a){return void 0!==a};goog.isString=function(a){return\"string\"==typeof a};goog.isBoolean=function(a){return\"boolean\"==typeof a};goog.isNumber=function(a){return\"number\"==typeof a};\ngoog.exportPath_=function(a,b,c){a=a.split(\".\");c=c||goog.global;a[0]in c||!c.execScript||c.execScript(\"var \"+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&goog.isDef(b)?c[d]=b:c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}};\ngoog.define=function(a,b){var c=b;COMPILED||(goog.global.CLOSURE_UNCOMPILED_DEFINES&&void 0===goog.global.CLOSURE_UNCOMPILED_DEFINES.nodeType&&Object.prototype.hasOwnProperty.call(goog.global.CLOSURE_UNCOMPILED_DEFINES,a)?c=goog.global.CLOSURE_UNCOMPILED_DEFINES[a]:goog.global.CLOSURE_DEFINES&&void 0===goog.global.CLOSURE_DEFINES.nodeType&&Object.prototype.hasOwnProperty.call(goog.global.CLOSURE_DEFINES,a)&&(c=goog.global.CLOSURE_DEFINES[a]));goog.exportPath_(a,c)};goog.DEBUG=!1;goog.LOCALE=\"en\";\ngoog.TRUSTED_SITE=!0;goog.STRICT_MODE_COMPATIBLE=!1;goog.DISALLOW_TEST_ONLY_CODE=COMPILED&&!goog.DEBUG;goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1;goog.provide=function(a){if(goog.isInModuleLoader_())throw Error(\"goog.provide can not be used within a goog.module.\");if(!COMPILED&&goog.isProvided_(a))throw Error('Namespace \"'+a+'\" already declared.');goog.constructNamespace_(a)};\ngoog.constructNamespace_=function(a,b){if(!COMPILED){delete goog.implicitNamespaces_[a];for(var c=a;(c=c.substring(0,c.lastIndexOf(\".\")))&&!goog.getObjectByName(c);)goog.implicitNamespaces_[c]=!0}goog.exportPath_(a,b)};goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/;\ngoog.module=function(a){if(!goog.isString(a)||!a||-1==a.search(goog.VALID_MODULE_RE_))throw Error(\"Invalid module identifier\");if(!goog.isInModuleLoader_())throw Error(\"Module \"+a+\" has been loaded incorrectly. Note, modules cannot be loaded as normal scripts. They require some kind of pre-processing step. You're likely trying to load a module via a script tag or as a part of a concatenated bundle without rewriting the module. For more info see: https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide.\");if(goog.moduleLoaderState_.moduleName)throw Error(\"goog.module may only be called once per module.\");\ngoog.moduleLoaderState_.moduleName=a;if(!COMPILED){if(goog.isProvided_(a))throw Error('Namespace \"'+a+'\" already declared.');delete goog.implicitNamespaces_[a]}};goog.module.get=function(a){return goog.module.getInternal_(a)};goog.module.getInternal_=function(a){if(!COMPILED){if(a in goog.loadedModules_)return goog.loadedModules_[a];if(!goog.implicitNamespaces_[a])return a=goog.getObjectByName(a),null!=a?a:null}return null};goog.moduleLoaderState_=null;\ngoog.isInModuleLoader_=function(){return null!=goog.moduleLoaderState_};goog.module.declareLegacyNamespace=function(){if(!COMPILED&&!goog.isInModuleLoader_())throw Error(\"goog.module.declareLegacyNamespace must be called from within a goog.module\");if(!COMPILED&&!goog.moduleLoaderState_.moduleName)throw Error(\"goog.module must be called prior to goog.module.declareLegacyNamespace.\");goog.moduleLoaderState_.declareLegacyNamespace=!0};\ngoog.setTestOnly=function(a){if(goog.DISALLOW_TEST_ONLY_CODE)throw a=a||\"\",Error(\"Importing test-only code into non-debug environment\"+(a?\": \"+a:\".\"));};goog.forwardDeclare=function(a){};COMPILED||(goog.isProvided_=function(a){return a in goog.loadedModules_||!goog.implicitNamespaces_[a]&&goog.isDefAndNotNull(goog.getObjectByName(a))},goog.implicitNamespaces_={\"goog.module\":!0});\ngoog.getObjectByName=function(a,b){for(var c=a.split(\".\"),d=b||goog.global,e=0;e<c.length;e++)if(d=d[c[e]],!goog.isDefAndNotNull(d))return null;return d};goog.globalize=function(a,b){var c=b||goog.global,d;for(d in a)c[d]=a[d]};\ngoog.addDependency=function(a,b,c,d){if(goog.DEPENDENCIES_ENABLED){var e;a=a.replace(/\\\\/g,\"/\");var f=goog.dependencies_;d&&\"boolean\"!==typeof d||(d=d?{module:\"goog\"}:{});for(var g=0;e=b[g];g++)f.nameToPath[e]=a,f.loadFlags[a]=d;for(d=0;b=c[d];d++)a in f.requires||(f.requires[a]={}),f.requires[a][b]=!0}};goog.ENABLE_DEBUG_LOADER=!0;goog.logToConsole_=function(a){goog.global.console&&goog.global.console.error(a)};\ngoog.require=function(a){if(!COMPILED){goog.ENABLE_DEBUG_LOADER&&goog.IS_OLD_IE_&&goog.maybeProcessDeferredDep_(a);if(goog.isProvided_(a)){if(goog.isInModuleLoader_())return goog.module.getInternal_(a)}else if(goog.ENABLE_DEBUG_LOADER){var b=goog.getPathFromDeps_(a);if(b)goog.writeScripts_(b);else throw a=\"goog.require could not find: \"+a,goog.logToConsole_(a),Error(a);}return null}};goog.basePath=\"\";goog.nullFunction=function(){};\ngoog.abstractMethod=function(){throw Error(\"unimplemented abstract method\");};goog.addSingletonGetter=function(a){a.instance_=void 0;a.getInstance=function(){if(a.instance_)return a.instance_;goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=a);return a.instance_=new a}};goog.instantiatedSingletons_=[];goog.LOAD_MODULE_USING_EVAL=!0;goog.SEAL_MODULE_EXPORTS=goog.DEBUG;goog.loadedModules_={};goog.DEPENDENCIES_ENABLED=!COMPILED&&goog.ENABLE_DEBUG_LOADER;goog.TRANSPILE=\"detect\";\ngoog.TRANSPILER=\"transpile.js\";\ngoog.DEPENDENCIES_ENABLED&&(goog.dependencies_={loadFlags:{},nameToPath:{},requires:{},visited:{},written:{},deferred:{}},goog.inHtmlDocument_=function(){var a=goog.global.document;return null!=a&&\"write\"in a},goog.findBasePath_=function(){if(goog.isDef(goog.global.CLOSURE_BASE_PATH)&&goog.isString(goog.global.CLOSURE_BASE_PATH))goog.basePath=goog.global.CLOSURE_BASE_PATH;else if(goog.inHtmlDocument_()){var a=goog.global.document,b=a.currentScript;a=b?[b]:a.getElementsByTagName(\"SCRIPT\");for(b=a.length-\n1;0<=b;--b){var c=a[b].src,d=c.lastIndexOf(\"?\");d=-1==d?c.length:d;if(\"base.js\"==c.substr(d-7,7)){goog.basePath=c.substr(0,d-7);break}}}},goog.importScript_=function(a,b){(goog.global.CLOSURE_IMPORT_SCRIPT||goog.writeScriptTag_)(a,b)&&(goog.dependencies_.written[a]=!0)},goog.IS_OLD_IE_=!(goog.global.atob||!goog.global.document||!goog.global.document.all),goog.oldIeWaiting_=!1,goog.importProcessedScript_=function(a,b,c){goog.importScript_(\"\",'goog.retrieveAndExec_(\"'+a+'\", '+b+\", \"+c+\");\")},goog.queuedModules_=\n[],goog.wrapModule_=function(a,b){return goog.LOAD_MODULE_USING_EVAL&&goog.isDef(goog.global.JSON)?\"goog.loadModule(\"+goog.global.JSON.stringify(b+\"\\n//# sourceURL=\"+a+\"\\n\")+\");\":'goog.loadModule(function(exports) {\"use strict\";'+b+\"\\n;return exports});\\n//# sourceURL=\"+a+\"\\n\"},goog.loadQueuedModules_=function(){var a=goog.queuedModules_.length;if(0<a){var b=goog.queuedModules_;goog.queuedModules_=[];for(var c=0;c<a;c++)goog.maybeProcessDeferredPath_(b[c])}goog.oldIeWaiting_=!1},goog.maybeProcessDeferredDep_=\nfunction(a){goog.isDeferredModule_(a)&&goog.allDepsAreAvailable_(a)&&(a=goog.getPathFromDeps_(a),goog.maybeProcessDeferredPath_(goog.basePath+a))},goog.isDeferredModule_=function(a){var b=(a=goog.getPathFromDeps_(a))&&goog.dependencies_.loadFlags[a]||{},c=b.lang||\"es3\";return a&&(\"goog\"==b.module||goog.needsTranspile_(c))?goog.basePath+a in goog.dependencies_.deferred:!1},goog.allDepsAreAvailable_=function(a){if((a=goog.getPathFromDeps_(a))&&a in goog.dependencies_.requires)for(var b in goog.dependencies_.requires[a])if(!goog.isProvided_(b)&&\n!goog.isDeferredModule_(b))return!1;return!0},goog.maybeProcessDeferredPath_=function(a){if(a in goog.dependencies_.deferred){var b=goog.dependencies_.deferred[a];delete goog.dependencies_.deferred[a];goog.globalEval(b)}},goog.loadModuleFromUrl=function(a){goog.retrieveAndExec_(a,!0,!1)},goog.writeScriptSrcNode_=function(a){goog.global.document.write('<script type=\"text/javascript\" src=\"'+a+'\">\\x3c/script>')},goog.appendScriptSrcNode_=function(a){var b=goog.global.document,c=b.createElement(\"script\");\nc.type=\"text/javascript\";c.src=a;c.defer=!1;c.async=!1;b.head.appendChild(c)},goog.writeScriptTag_=function(a,b){if(goog.inHtmlDocument_()){var c=goog.global.document;if(!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING&&\"complete\"==c.readyState){if(/\\bdeps.js$/.test(a))return!1;throw Error('Cannot write \"'+a+'\" after document load');}if(void 0===b)if(goog.IS_OLD_IE_){goog.oldIeWaiting_=!0;var d=\" onreadystatechange='goog.onScriptLoad_(this, \"+ ++goog.lastNonModuleScriptIndex_+\")' \";c.write('<script type=\"text/javascript\" src=\"'+\na+'\"'+d+\">\\x3c/script>\")}else goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING?goog.appendScriptSrcNode_(a):goog.writeScriptSrcNode_(a);else c.write('<script type=\"text/javascript\">'+goog.protectScriptTag_(b)+\"\\x3c/script>\");return!0}return!1},goog.protectScriptTag_=function(a){return a.replace(/<\\/(SCRIPT)/ig,\"\\\\x3c/$1\")},goog.needsTranspile_=function(a){if(\"always\"==goog.TRANSPILE)return!0;if(\"never\"==goog.TRANSPILE)return!1;goog.requiresTranspilation_||(goog.requiresTranspilation_=goog.createRequiresTranspilation_());\nif(a in goog.requiresTranspilation_)return goog.requiresTranspilation_[a];throw Error(\"Unknown language mode: \"+a);},goog.requiresTranspilation_=null,goog.lastNonModuleScriptIndex_=0,goog.onScriptLoad_=function(a,b){\"complete\"==a.readyState&&goog.lastNonModuleScriptIndex_==b&&goog.loadQueuedModules_();return!0},goog.writeScripts_=function(a){function b(a){if(!(a in e.written||a in e.visited)){e.visited[a]=!0;if(a in e.requires)for(var f in e.requires[a])if(!goog.isProvided_(f))if(f in e.nameToPath)b(e.nameToPath[f]);\nelse throw Error(\"Undefined nameToPath for \"+f);a in d||(d[a]=!0,c.push(a))}}var c=[],d={},e=goog.dependencies_;b(a);for(a=0;a<c.length;a++){var f=c[a];goog.dependencies_.written[f]=!0}var g=goog.moduleLoaderState_;goog.moduleLoaderState_=null;for(a=0;a<c.length;a++)if(f=c[a]){var h=e.loadFlags[f]||{},k=goog.needsTranspile_(h.lang||\"es3\");\"goog\"==h.module||k?goog.importProcessedScript_(goog.basePath+f,\"goog\"==h.module,k):goog.importScript_(goog.basePath+f)}else throw goog.moduleLoaderState_=g,Error(\"Undefined script input\");\ngoog.moduleLoaderState_=g},goog.getPathFromDeps_=function(a){return a in goog.dependencies_.nameToPath?goog.dependencies_.nameToPath[a]:null},goog.findBasePath_(),goog.global.CLOSURE_NO_DEPS||goog.importScript_(goog.basePath+\"deps.js\"));goog.hasBadLetScoping=null;goog.useSafari10Workaround=function(){if(null==goog.hasBadLetScoping){try{var a=!eval('\"use strict\";let x = 1; function f() { return typeof x; };f() == \"number\";')}catch(b){a=!1}goog.hasBadLetScoping=a}return goog.hasBadLetScoping};\ngoog.workaroundSafari10EvalBug=function(a){return\"(function(){\"+a+\"\\n;})();\\n\"};\ngoog.loadModule=function(a){var b=goog.moduleLoaderState_;try{goog.moduleLoaderState_={moduleName:void 0,declareLegacyNamespace:!1};if(goog.isFunction(a))var c=a.call(void 0,{});else if(goog.isString(a))goog.useSafari10Workaround()&&(a=goog.workaroundSafari10EvalBug(a)),c=goog.loadModuleFromSource_.call(void 0,a);else throw Error(\"Invalid module definition\");var d=goog.moduleLoaderState_.moduleName;if(!goog.isString(d)||!d)throw Error('Invalid module name \"'+d+'\"');goog.moduleLoaderState_.declareLegacyNamespace?\ngoog.constructNamespace_(d,c):goog.SEAL_MODULE_EXPORTS&&Object.seal&&\"object\"==typeof c&&null!=c&&Object.seal(c);goog.loadedModules_[d]=c}finally{goog.moduleLoaderState_=b}};goog.loadModuleFromSource_=function(a){eval(a);return{}};goog.normalizePath_=function(a){a=a.split(\"/\");for(var b=0;b<a.length;)\".\"==a[b]?a.splice(b,1):b&&\"..\"==a[b]&&a[b-1]&&\"..\"!=a[b-1]?a.splice(--b,2):b++;return a.join(\"/\")};\ngoog.loadFileSync_=function(a){if(goog.global.CLOSURE_LOAD_FILE_SYNC)return goog.global.CLOSURE_LOAD_FILE_SYNC(a);try{var b=new goog.global.XMLHttpRequest;b.open(\"get\",a,!1);b.send();return 0==b.status||200==b.status?b.responseText:null}catch(c){return null}};\ngoog.retrieveAndExec_=function(a,b,c){if(!COMPILED){var d=a;a=goog.normalizePath_(a);var e=goog.global.CLOSURE_IMPORT_SCRIPT||goog.writeScriptTag_,f=goog.loadFileSync_(a);if(null==f)throw Error('Load of \"'+a+'\" failed');c&&(f=goog.transpile_.call(goog.global,f,a));f=b?goog.wrapModule_(a,f):f+(\"\\n//# sourceURL=\"+a);goog.IS_OLD_IE_&&goog.oldIeWaiting_?(goog.dependencies_.deferred[d]=f,goog.queuedModules_.push(d)):e(a,f)}};\ngoog.transpile_=function(a,b){var c=goog.global.$jscomp;c||(goog.global.$jscomp=c={});var d=c.transpile;if(!d){var e=goog.basePath+goog.TRANSPILER,f=goog.loadFileSync_(e);if(f){eval(f+\"\\n//# sourceURL=\"+e);if(goog.global.$gwtExport&&goog.global.$gwtExport.$jscomp&&!goog.global.$gwtExport.$jscomp.transpile)throw Error('The transpiler did not properly export the \"transpile\" method. $gwtExport: '+JSON.stringify(goog.global.$gwtExport));goog.global.$jscomp.transpile=goog.global.$gwtExport.$jscomp.transpile;\nc=goog.global.$jscomp;d=c.transpile}}d||(d=c.transpile=function(a,b){goog.logToConsole_(b+\" requires transpilation but no transpiler was found.\");return a});return d(a,b)};\ngoog.typeOf=function(a){var b=typeof a;if(\"object\"==b)if(a){if(a instanceof Array)return\"array\";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if(\"[object Window]\"==c)return\"object\";if(\"[object Array]\"==c||\"number\"==typeof a.length&&\"undefined\"!=typeof a.splice&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"splice\"))return\"array\";if(\"[object Function]\"==c||\"undefined\"!=typeof a.call&&\"undefined\"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable(\"call\"))return\"function\"}else return\"null\";\nelse if(\"function\"==b&&\"undefined\"==typeof a.call)return\"object\";return b};goog.isNull=function(a){return null===a};goog.isDefAndNotNull=function(a){return null!=a};goog.isArray=function(a){return\"array\"==goog.typeOf(a)};goog.isArrayLike=function(a){var b=goog.typeOf(a);return\"array\"==b||\"object\"==b&&\"number\"==typeof a.length};goog.isDateLike=function(a){return goog.isObject(a)&&\"function\"==typeof a.getFullYear};goog.isFunction=function(a){return\"function\"==goog.typeOf(a)};\ngoog.isObject=function(a){var b=typeof a;return\"object\"==b&&null!=a||\"function\"==b};goog.getUid=function(a){return a[goog.UID_PROPERTY_]||(a[goog.UID_PROPERTY_]=++goog.uidCounter_)};goog.hasUid=function(a){return!!a[goog.UID_PROPERTY_]};goog.removeUid=function(a){null!==a&&\"removeAttribute\"in a&&a.removeAttribute(goog.UID_PROPERTY_);try{delete a[goog.UID_PROPERTY_]}catch(b){}};goog.UID_PROPERTY_=\"closure_uid_\"+(1E9*Math.random()>>>0);goog.uidCounter_=0;goog.getHashCode=goog.getUid;\ngoog.removeHashCode=goog.removeUid;goog.cloneObject=function(a){var b=goog.typeOf(a);if(\"object\"==b||\"array\"==b){if(a.clone)return a.clone();b=\"array\"==b?[]:{};for(var c in a)b[c]=goog.cloneObject(a[c]);return b}return a};goog.bindNative_=function(a,b,c){return a.call.apply(a.bind,arguments)};\ngoog.bindJs_=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}};goog.bind=function(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf(\"native code\")?goog.bind=goog.bindNative_:goog.bind=goog.bindJs_;return goog.bind.apply(null,arguments)};\ngoog.partial=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}};goog.mixin=function(a,b){for(var c in b)a[c]=b[c]};goog.now=goog.TRUSTED_SITE&&Date.now||function(){return+new Date};\ngoog.globalEval=function(a){if(goog.global.execScript)goog.global.execScript(a,\"JavaScript\");else if(goog.global.eval){if(null==goog.evalWorksForGlobals_)if(goog.global.eval(\"var _evalTest_ = 1;\"),\"undefined\"!=typeof goog.global._evalTest_){try{delete goog.global._evalTest_}catch(d){}goog.evalWorksForGlobals_=!0}else goog.evalWorksForGlobals_=!1;if(goog.evalWorksForGlobals_)goog.global.eval(a);else{var b=goog.global.document,c=b.createElement(\"SCRIPT\");c.type=\"text/javascript\";c.defer=!1;c.appendChild(b.createTextNode(a));\nb.body.appendChild(c);b.body.removeChild(c)}}else throw Error(\"goog.globalEval not available\");};goog.evalWorksForGlobals_=null;\ngoog.getCssName=function(a,b){if(\".\"==String(a).charAt(0))throw Error('className passed in goog.getCssName must not start with \".\". You passed: '+a);var c=function(a){return goog.cssNameMapping_[a]||a},d=function(a){a=a.split(\"-\");for(var b=[],d=0;d<a.length;d++)b.push(c(a[d]));return b.join(\"-\")};d=goog.cssNameMapping_?\"BY_WHOLE\"==goog.cssNameMappingStyle_?c:d:function(a){return a};d=b?a+\"-\"+d(b):d(a);return goog.global.CLOSURE_CSS_NAME_MAP_FN?goog.global.CLOSURE_CSS_NAME_MAP_FN(d):d};\ngoog.setCssNameMapping=function(a,b){goog.cssNameMapping_=a;goog.cssNameMappingStyle_=b};!COMPILED&&goog.global.CLOSURE_CSS_NAME_MAPPING&&(goog.cssNameMapping_=goog.global.CLOSURE_CSS_NAME_MAPPING);goog.getMsg=function(a,b){b&&(a=a.replace(/\\{\\$([^}]+)}/g,function(a,d){return null!=b&&d in b?b[d]:a}));return a};goog.getMsgWithFallback=function(a,b){return a};goog.exportSymbol=function(a,b,c){goog.exportPath_(a,b,c)};goog.exportProperty=function(a,b,c){a[b]=c};\ngoog.inherits=function(a,b){function c(){}c.prototype=b.prototype;a.superClass_=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.base=function(a,c,f){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];return b.prototype[c].apply(a,d)}};\ngoog.base=function(a,b,c){var d=arguments.callee.caller;if(goog.STRICT_MODE_COMPATIBLE||goog.DEBUG&&!d)throw Error(\"arguments.caller not defined.  goog.base() cannot be used with strict mode code. See http://www.ecma-international.org/ecma-262/5.1/#sec-C\");if(d.superClass_){for(var e=Array(arguments.length-1),f=1;f<arguments.length;f++)e[f-1]=arguments[f];return d.superClass_.constructor.apply(a,e)}e=Array(arguments.length-2);for(f=2;f<arguments.length;f++)e[f-2]=arguments[f];f=!1;for(var g=a.constructor;g;g=\ng.superClass_&&g.superClass_.constructor)if(g.prototype[b]===d)f=!0;else if(f)return g.prototype[b].apply(a,e);if(a[b]===d)return a.constructor.prototype[b].apply(a,e);throw Error(\"goog.base called from a method of one name to a method of a different name\");};goog.scope=function(a){if(goog.isInModuleLoader_())throw Error(\"goog.scope is not supported within a goog.module.\");a.call(goog.global)};COMPILED||(goog.global.COMPILED=COMPILED);\ngoog.defineClass=function(a,b){var c=b.constructor,d=b.statics;c&&c!=Object.prototype.constructor||(c=function(){throw Error(\"cannot instantiate an interface (no constructor defined).\");});c=goog.defineClass.createSealingConstructor_(c,a);a&&goog.inherits(c,a);delete b.constructor;delete b.statics;goog.defineClass.applyProperties_(c.prototype,b);null!=d&&(d instanceof Function?d(c):goog.defineClass.applyProperties_(c,d));return c};goog.defineClass.SEAL_CLASS_INSTANCES=goog.DEBUG;\ngoog.defineClass.createSealingConstructor_=function(a,b){if(!goog.defineClass.SEAL_CLASS_INSTANCES)return a;var c=!goog.defineClass.isUnsealable_(b),d=function(){var b=a.apply(this,arguments)||this;b[goog.UID_PROPERTY_]=b[goog.UID_PROPERTY_];this.constructor===d&&c&&Object.seal instanceof Function&&Object.seal(b);return b};return d};goog.defineClass.isUnsealable_=function(a){return a&&a.prototype&&a.prototype[goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_]};goog.defineClass.OBJECT_PROTOTYPE_FIELDS_=\"constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf\".split(\" \");\ngoog.defineClass.applyProperties_=function(a,b){for(var c in b)Object.prototype.hasOwnProperty.call(b,c)&&(a[c]=b[c]);for(var d=0;d<goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;d++)c=goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[d],Object.prototype.hasOwnProperty.call(b,c)&&(a[c]=b[c])};goog.tagUnsealableClass=function(a){!COMPILED&&goog.defineClass.SEAL_CLASS_INSTANCES&&(a.prototype[goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_]=!0)};goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_=\"goog_defineClass_legacy_unsealable\";\ngoog.createRequiresTranspilation_=function(){function a(a,b){d?c[a]=!0:b()?c[a]=!1:d=c[a]=!0}function b(a){try{return!!eval(a)}catch(g){return!1}}var c={es3:!1},d=!1,e=goog.global.navigator&&goog.global.navigator.userAgent?goog.global.navigator.userAgent:\"\";a(\"es5\",function(){return b(\"[1,].length==1\")});a(\"es6\",function(){var a=e.match(/Edge\\/(\\d+)(\\.\\d)*/i);return a&&15>Number(a[1])?!1:b('(()=>{\"use strict\";class X{constructor(){if(new.target!=String)throw 1;this.x=42}}let q=Reflect.construct(X,[],String);if(q.x!=42||!(q instanceof String))throw 1;for(const a of[2,3]){if(a==2)continue;function f(z={a}){let a=0;return z.a}{function f(){return 0;}}return f()==3}})()')});\na(\"es6-impl\",function(){return!0});a(\"es7\",function(){return b(\"2 ** 2 == 4\")});a(\"es8\",function(){return b(\"async () => 1, true\")});return c};goog.debug={};goog.debug.Error=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,goog.debug.Error);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a));this.reportErrorToServer=!0};goog.inherits(goog.debug.Error,Error);goog.debug.Error.prototype.name=\"CustomError\";goog.dom={};goog.dom.NodeType={ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12};goog.string={};goog.string.DETECT_DOUBLE_ESCAPING=!1;goog.string.FORCE_NON_DOM_HTML_UNESCAPING=!1;goog.string.Unicode={NBSP:\"\\u00a0\"};goog.string.startsWith=function(a,b){return 0==a.lastIndexOf(b,0)};goog.string.endsWith=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};goog.string.caseInsensitiveStartsWith=function(a,b){return 0==goog.string.caseInsensitiveCompare(b,a.substr(0,b.length))};\ngoog.string.caseInsensitiveEndsWith=function(a,b){return 0==goog.string.caseInsensitiveCompare(b,a.substr(a.length-b.length,b.length))};goog.string.caseInsensitiveEquals=function(a,b){return a.toLowerCase()==b.toLowerCase()};goog.string.subs=function(a,b){for(var c=a.split(\"%s\"),d=\"\",e=Array.prototype.slice.call(arguments,1);e.length&&1<c.length;)d+=c.shift()+e.shift();return d+c.join(\"%s\")};goog.string.collapseWhitespace=function(a){return a.replace(/[\\s\\xa0]+/g,\" \").replace(/^\\s+|\\s+$/g,\"\")};\ngoog.string.isEmptyOrWhitespace=function(a){return/^[\\s\\xa0]*$/.test(a)};goog.string.isEmptyString=function(a){return 0==a.length};goog.string.isEmpty=goog.string.isEmptyOrWhitespace;goog.string.isEmptyOrWhitespaceSafe=function(a){return goog.string.isEmptyOrWhitespace(goog.string.makeSafe(a))};goog.string.isEmptySafe=goog.string.isEmptyOrWhitespaceSafe;goog.string.isBreakingWhitespace=function(a){return!/[^\\t\\n\\r ]/.test(a)};goog.string.isAlpha=function(a){return!/[^a-zA-Z]/.test(a)};\ngoog.string.isNumeric=function(a){return!/[^0-9]/.test(a)};goog.string.isAlphaNumeric=function(a){return!/[^a-zA-Z0-9]/.test(a)};goog.string.isSpace=function(a){return\" \"==a};goog.string.isUnicodeChar=function(a){return 1==a.length&&\" \"<=a&&\"~\">=a||\"\\u0080\"<=a&&\"\\ufffd\">=a};goog.string.stripNewlines=function(a){return a.replace(/(\\r\\n|\\r|\\n)+/g,\" \")};goog.string.canonicalizeNewlines=function(a){return a.replace(/(\\r\\n|\\r|\\n)/g,\"\\n\")};\ngoog.string.normalizeWhitespace=function(a){return a.replace(/\\xa0|\\s/g,\" \")};goog.string.normalizeSpaces=function(a){return a.replace(/\\xa0|[ \\t]+/g,\" \")};goog.string.collapseBreakingSpaces=function(a){return a.replace(/[\\t\\r\\n ]+/g,\" \").replace(/^[\\t\\r\\n ]+|[\\t\\r\\n ]+$/g,\"\")};goog.string.trim=goog.TRUSTED_SITE&&String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\")};goog.string.trimLeft=function(a){return a.replace(/^[\\s\\xa0]+/,\"\")};\ngoog.string.trimRight=function(a){return a.replace(/[\\s\\xa0]+$/,\"\")};goog.string.caseInsensitiveCompare=function(a,b){var c=String(a).toLowerCase(),d=String(b).toLowerCase();return c<d?-1:c==d?0:1};\ngoog.string.numberAwareCompare_=function(a,b,c){if(a==b)return 0;if(!a)return-1;if(!b)return 1;for(var d=a.toLowerCase().match(c),e=b.toLowerCase().match(c),f=Math.min(d.length,e.length),g=0;g<f;g++){c=d[g];var h=e[g];if(c!=h)return a=parseInt(c,10),!isNaN(a)&&(b=parseInt(h,10),!isNaN(b)&&a-b)?a-b:c<h?-1:1}return d.length!=e.length?d.length-e.length:a<b?-1:1};goog.string.intAwareCompare=function(a,b){return goog.string.numberAwareCompare_(a,b,/\\d+|\\D+/g)};\ngoog.string.floatAwareCompare=function(a,b){return goog.string.numberAwareCompare_(a,b,/\\d+|\\.\\d+|\\D+/g)};goog.string.numerateCompare=goog.string.floatAwareCompare;goog.string.urlEncode=function(a){return encodeURIComponent(String(a))};goog.string.urlDecode=function(a){return decodeURIComponent(a.replace(/\\+/g,\" \"))};goog.string.newLineToBr=function(a,b){return a.replace(/(\\r\\n|\\r|\\n)/g,b?\"<br />\":\"<br>\")};\ngoog.string.htmlEscape=function(a,b){if(b)a=a.replace(goog.string.AMP_RE_,\"&amp;\").replace(goog.string.LT_RE_,\"&lt;\").replace(goog.string.GT_RE_,\"&gt;\").replace(goog.string.QUOT_RE_,\"&quot;\").replace(goog.string.SINGLE_QUOTE_RE_,\"&#39;\").replace(goog.string.NULL_RE_,\"&#0;\"),goog.string.DETECT_DOUBLE_ESCAPING&&(a=a.replace(goog.string.E_RE_,\"&#101;\"));else{if(!goog.string.ALL_RE_.test(a))return a;-1!=a.indexOf(\"&\")&&(a=a.replace(goog.string.AMP_RE_,\"&amp;\"));-1!=a.indexOf(\"<\")&&(a=a.replace(goog.string.LT_RE_,\n\"&lt;\"));-1!=a.indexOf(\">\")&&(a=a.replace(goog.string.GT_RE_,\"&gt;\"));-1!=a.indexOf('\"')&&(a=a.replace(goog.string.QUOT_RE_,\"&quot;\"));-1!=a.indexOf(\"'\")&&(a=a.replace(goog.string.SINGLE_QUOTE_RE_,\"&#39;\"));-1!=a.indexOf(\"\\x00\")&&(a=a.replace(goog.string.NULL_RE_,\"&#0;\"));goog.string.DETECT_DOUBLE_ESCAPING&&-1!=a.indexOf(\"e\")&&(a=a.replace(goog.string.E_RE_,\"&#101;\"))}return a};goog.string.AMP_RE_=/&/g;goog.string.LT_RE_=/</g;goog.string.GT_RE_=/>/g;goog.string.QUOT_RE_=/\"/g;\ngoog.string.SINGLE_QUOTE_RE_=/'/g;goog.string.NULL_RE_=/\\x00/g;goog.string.E_RE_=/e/g;goog.string.ALL_RE_=goog.string.DETECT_DOUBLE_ESCAPING?/[\\x00&<>\"'e]/:/[\\x00&<>\"']/;goog.string.unescapeEntities=function(a){return goog.string.contains(a,\"&\")?!goog.string.FORCE_NON_DOM_HTML_UNESCAPING&&\"document\"in goog.global?goog.string.unescapeEntitiesUsingDom_(a):goog.string.unescapePureXmlEntities_(a):a};\ngoog.string.unescapeEntitiesWithDocument=function(a,b){return goog.string.contains(a,\"&\")?goog.string.unescapeEntitiesUsingDom_(a,b):a};\ngoog.string.unescapeEntitiesUsingDom_=function(a,b){var c={\"&amp;\":\"&\",\"&lt;\":\"<\",\"&gt;\":\">\",\"&quot;\":'\"'};var d=b?b.createElement(\"div\"):goog.global.document.createElement(\"div\");return a.replace(goog.string.HTML_ENTITY_PATTERN_,function(a,b){var e=c[a];if(e)return e;if(\"#\"==b.charAt(0)){var f=Number(\"0\"+b.substr(1));isNaN(f)||(e=String.fromCharCode(f))}e||(d.innerHTML=a+\" \",e=d.firstChild.nodeValue.slice(0,-1));return c[a]=e})};\ngoog.string.unescapePureXmlEntities_=function(a){return a.replace(/&([^;]+);/g,function(a,c){switch(c){case \"amp\":return\"&\";case \"lt\":return\"<\";case \"gt\":return\">\";case \"quot\":return'\"';default:if(\"#\"==c.charAt(0)){var b=Number(\"0\"+c.substr(1));if(!isNaN(b))return String.fromCharCode(b)}return a}})};goog.string.HTML_ENTITY_PATTERN_=/&([^;\\s<&]+);?/g;goog.string.whitespaceEscape=function(a,b){return goog.string.newLineToBr(a.replace(/  /g,\" &#160;\"),b)};\ngoog.string.preserveSpaces=function(a){return a.replace(/(^|[\\n ]) /g,\"$1\"+goog.string.Unicode.NBSP)};goog.string.stripQuotes=function(a,b){for(var c=b.length,d=0;d<c;d++){var e=1==c?b:b.charAt(d);if(a.charAt(0)==e&&a.charAt(a.length-1)==e)return a.substring(1,a.length-1)}return a};goog.string.truncate=function(a,b,c){c&&(a=goog.string.unescapeEntities(a));a.length>b&&(a=a.substring(0,b-3)+\"...\");c&&(a=goog.string.htmlEscape(a));return a};\ngoog.string.truncateMiddle=function(a,b,c,d){c&&(a=goog.string.unescapeEntities(a));if(d&&a.length>b){d>b&&(d=b);var e=a.length-d;a=a.substring(0,b-d)+\"...\"+a.substring(e)}else a.length>b&&(d=Math.floor(b/2),e=a.length-d,a=a.substring(0,d+b%2)+\"...\"+a.substring(e));c&&(a=goog.string.htmlEscape(a));return a};goog.string.specialEscapeChars_={\"\\x00\":\"\\\\0\",\"\\b\":\"\\\\b\",\"\\f\":\"\\\\f\",\"\\n\":\"\\\\n\",\"\\r\":\"\\\\r\",\"\\t\":\"\\\\t\",\"\\x0B\":\"\\\\x0B\",'\"':'\\\\\"',\"\\\\\":\"\\\\\\\\\",\"<\":\"<\"};goog.string.jsEscapeCache_={\"'\":\"\\\\'\"};\ngoog.string.quote=function(a){a=String(a);for(var b=['\"'],c=0;c<a.length;c++){var d=a.charAt(c),e=d.charCodeAt(0);b[c+1]=goog.string.specialEscapeChars_[d]||(31<e&&127>e?d:goog.string.escapeChar(d))}b.push('\"');return b.join(\"\")};goog.string.escapeString=function(a){for(var b=[],c=0;c<a.length;c++)b[c]=goog.string.escapeChar(a.charAt(c));return b.join(\"\")};\ngoog.string.escapeChar=function(a){if(a in goog.string.jsEscapeCache_)return goog.string.jsEscapeCache_[a];if(a in goog.string.specialEscapeChars_)return goog.string.jsEscapeCache_[a]=goog.string.specialEscapeChars_[a];var b=a.charCodeAt(0);if(31<b&&127>b)var c=a;else{if(256>b){if(c=\"\\\\x\",16>b||256<b)c+=\"0\"}else c=\"\\\\u\",4096>b&&(c+=\"0\");c+=b.toString(16).toUpperCase()}return goog.string.jsEscapeCache_[a]=c};goog.string.contains=function(a,b){return-1!=a.indexOf(b)};\ngoog.string.caseInsensitiveContains=function(a,b){return goog.string.contains(a.toLowerCase(),b.toLowerCase())};goog.string.countOf=function(a,b){return a&&b?a.split(b).length-1:0};goog.string.removeAt=function(a,b,c){var d=a;0<=b&&b<a.length&&0<c&&(d=a.substr(0,b)+a.substr(b+c,a.length-b-c));return d};goog.string.remove=function(a,b){return a.replace(b,\"\")};goog.string.removeAll=function(a,b){var c=new RegExp(goog.string.regExpEscape(b),\"g\");return a.replace(c,\"\")};\ngoog.string.replaceAll=function(a,b,c){b=new RegExp(goog.string.regExpEscape(b),\"g\");return a.replace(b,c.replace(/\\$/g,\"$$$$\"))};goog.string.regExpEscape=function(a){return String(a).replace(/([-()\\[\\]{}+?*.$\\^|,:#<!\\\\])/g,\"\\\\$1\").replace(/\\x08/g,\"\\\\x08\")};goog.string.repeat=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};\ngoog.string.padNumber=function(a,b,c){a=goog.isDef(c)?a.toFixed(c):String(a);c=a.indexOf(\".\");-1==c&&(c=a.length);return goog.string.repeat(\"0\",Math.max(0,b-c))+a};goog.string.makeSafe=function(a){return null==a?\"\":String(a)};goog.string.buildString=function(a){return Array.prototype.join.call(arguments,\"\")};goog.string.getRandomString=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^goog.now()).toString(36)};\ngoog.string.compareVersions=function(a,b){for(var c=0,d=goog.string.trim(String(a)).split(\".\"),e=goog.string.trim(String(b)).split(\".\"),f=Math.max(d.length,e.length),g=0;0==c&&g<f;g++){var h=d[g]||\"\",k=e[g]||\"\";do{h=/(\\d*)(\\D*)(.*)/.exec(h)||[\"\",\"\",\"\",\"\"];k=/(\\d*)(\\D*)(.*)/.exec(k)||[\"\",\"\",\"\",\"\"];if(0==h[0].length&&0==k[0].length)break;c=0==h[1].length?0:parseInt(h[1],10);var n=0==k[1].length?0:parseInt(k[1],10);c=goog.string.compareElements_(c,n)||goog.string.compareElements_(0==h[2].length,0==k[2].length)||\ngoog.string.compareElements_(h[2],k[2]);h=h[3];k=k[3]}while(0==c)}return c};goog.string.compareElements_=function(a,b){return a<b?-1:a>b?1:0};goog.string.hashCode=function(a){for(var b=0,c=0;c<a.length;++c)b=31*b+a.charCodeAt(c)>>>0;return b};goog.string.uniqueStringCounter_=2147483648*Math.random()|0;goog.string.createUniqueString=function(){return\"goog_\"+goog.string.uniqueStringCounter_++};goog.string.toNumber=function(a){var b=Number(a);return 0==b&&goog.string.isEmptyOrWhitespace(a)?NaN:b};\ngoog.string.isLowerCamelCase=function(a){return/^[a-z]+([A-Z][a-z]*)*$/.test(a)};goog.string.isUpperCamelCase=function(a){return/^([A-Z][a-z]*)+$/.test(a)};goog.string.toCamelCase=function(a){return String(a).replace(/\\-([a-z])/g,function(a,c){return c.toUpperCase()})};goog.string.toSelectorCase=function(a){return String(a).replace(/([A-Z])/g,\"-$1\").toLowerCase()};\ngoog.string.toTitleCase=function(a,b){var c=goog.isString(b)?goog.string.regExpEscape(b):\"\\\\s\";return a.replace(new RegExp(\"(^\"+(c?\"|[\"+c+\"]+\":\"\")+\")([a-z])\",\"g\"),function(a,b,c){return b+c.toUpperCase()})};goog.string.capitalize=function(a){return String(a.charAt(0)).toUpperCase()+String(a.substr(1)).toLowerCase()};goog.string.parseInt=function(a){isFinite(a)&&(a=String(a));return goog.isString(a)?/^\\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN};\ngoog.string.splitLimit=function(a,b,c){a=a.split(b);for(var d=[];0<c&&a.length;)d.push(a.shift()),c--;a.length&&d.push(a.join(b));return d};goog.string.lastComponent=function(a,b){if(b)\"string\"==typeof b&&(b=[b]);else return a;for(var c=-1,d=0;d<b.length;d++)if(\"\"!=b[d]){var e=a.lastIndexOf(b[d]);e>c&&(c=e)}return-1==c?a:a.slice(c+1)};\ngoog.string.editDistance=function(a,b){var c=[],d=[];if(a==b)return 0;if(!a.length||!b.length)return Math.max(a.length,b.length);for(var e=0;e<b.length+1;e++)c[e]=e;for(e=0;e<a.length;e++){d[0]=e+1;for(var f=0;f<b.length;f++)d[f+1]=Math.min(d[f]+1,c[f+1]+1,c[f]+Number(a[e]!=b[f]));for(f=0;f<c.length;f++)c[f]=d[f]}return d[b.length]};goog.asserts={};goog.asserts.ENABLE_ASSERTS=goog.DEBUG;goog.asserts.AssertionError=function(a,b){b.unshift(a);goog.debug.Error.call(this,goog.string.subs.apply(null,b));b.shift();this.messagePattern=a};goog.inherits(goog.asserts.AssertionError,goog.debug.Error);goog.asserts.AssertionError.prototype.name=\"AssertionError\";goog.asserts.DEFAULT_ERROR_HANDLER=function(a){throw a;};goog.asserts.errorHandler_=goog.asserts.DEFAULT_ERROR_HANDLER;\ngoog.asserts.doAssertFailure_=function(a,b,c,d){var e=\"Assertion failed\";if(c){e+=\": \"+c;var f=d}else a&&(e+=\": \"+a,f=b);a=new goog.asserts.AssertionError(\"\"+e,f||[]);goog.asserts.errorHandler_(a)};goog.asserts.setErrorHandler=function(a){goog.asserts.ENABLE_ASSERTS&&(goog.asserts.errorHandler_=a)};goog.asserts.assert=function(a,b,c){goog.asserts.ENABLE_ASSERTS&&!a&&goog.asserts.doAssertFailure_(\"\",null,b,Array.prototype.slice.call(arguments,2));return a};\ngoog.asserts.fail=function(a,b){goog.asserts.ENABLE_ASSERTS&&goog.asserts.errorHandler_(new goog.asserts.AssertionError(\"Failure\"+(a?\": \"+a:\"\"),Array.prototype.slice.call(arguments,1)))};goog.asserts.assertNumber=function(a,b,c){goog.asserts.ENABLE_ASSERTS&&!goog.isNumber(a)&&goog.asserts.doAssertFailure_(\"Expected number but got %s: %s.\",[goog.typeOf(a),a],b,Array.prototype.slice.call(arguments,2));return a};\ngoog.asserts.assertString=function(a,b,c){goog.asserts.ENABLE_ASSERTS&&!goog.isString(a)&&goog.asserts.doAssertFailure_(\"Expected string but got %s: %s.\",[goog.typeOf(a),a],b,Array.prototype.slice.call(arguments,2));return a};goog.asserts.assertFunction=function(a,b,c){goog.asserts.ENABLE_ASSERTS&&!goog.isFunction(a)&&goog.asserts.doAssertFailure_(\"Expected function but got %s: %s.\",[goog.typeOf(a),a],b,Array.prototype.slice.call(arguments,2));return a};\ngoog.asserts.assertObject=function(a,b,c){goog.asserts.ENABLE_ASSERTS&&!goog.isObject(a)&&goog.asserts.doAssertFailure_(\"Expected object but got %s: %s.\",[goog.typeOf(a),a],b,Array.prototype.slice.call(arguments,2));return a};goog.asserts.assertArray=function(a,b,c){goog.asserts.ENABLE_ASSERTS&&!goog.isArray(a)&&goog.asserts.doAssertFailure_(\"Expected array but got %s: %s.\",[goog.typeOf(a),a],b,Array.prototype.slice.call(arguments,2));return a};\ngoog.asserts.assertBoolean=function(a,b,c){goog.asserts.ENABLE_ASSERTS&&!goog.isBoolean(a)&&goog.asserts.doAssertFailure_(\"Expected boolean but got %s: %s.\",[goog.typeOf(a),a],b,Array.prototype.slice.call(arguments,2));return a};goog.asserts.assertElement=function(a,b,c){!goog.asserts.ENABLE_ASSERTS||goog.isObject(a)&&a.nodeType==goog.dom.NodeType.ELEMENT||goog.asserts.doAssertFailure_(\"Expected Element but got %s: %s.\",[goog.typeOf(a),a],b,Array.prototype.slice.call(arguments,2));return a};\ngoog.asserts.assertInstanceof=function(a,b,c,d){!goog.asserts.ENABLE_ASSERTS||a instanceof b||goog.asserts.doAssertFailure_(\"Expected instanceof %s but got %s.\",[goog.asserts.getType_(b),goog.asserts.getType_(a)],c,Array.prototype.slice.call(arguments,3));return a};goog.asserts.assertObjectPrototypeIsIntact=function(){for(var a in Object.prototype)goog.asserts.fail(a+\" should not be enumerable in Object.prototype.\")};\ngoog.asserts.getType_=function(a){return a instanceof Function?a.displayName||a.name||\"unknown type name\":a instanceof Object?a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a):null===a?\"null\":typeof a};goog.array={};goog.NATIVE_ARRAY_PROTOTYPES=goog.TRUSTED_SITE;goog.array.ASSUME_NATIVE_FUNCTIONS=!1;goog.array.peek=function(a){return a[a.length-1]};goog.array.last=goog.array.peek;\ngoog.array.indexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.indexOf)?function(a,b,c){goog.asserts.assert(null!=a.length);return Array.prototype.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(goog.isString(a))return goog.isString(b)&&1==b.length?a.indexOf(b,c):-1;for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1};\ngoog.array.lastIndexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.lastIndexOf)?function(a,b,c){goog.asserts.assert(null!=a.length);return Array.prototype.lastIndexOf.call(a,b,null==c?a.length-1:c)}:function(a,b,c){c=null==c?a.length-1:c;0>c&&(c=Math.max(0,a.length+c));if(goog.isString(a))return goog.isString(b)&&1==b.length?a.lastIndexOf(b,c):-1;for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1};\ngoog.array.forEach=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.forEach)?function(a,b,c){goog.asserts.assert(null!=a.length);Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=goog.isString(a)?a.split(\"\"):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)};goog.array.forEachRight=function(a,b,c){var d=a.length,e=goog.isString(a)?a.split(\"\"):a;for(--d;0<=d;--d)d in e&&b.call(c,e[d],d,a)};\ngoog.array.filter=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.filter)?function(a,b,c){goog.asserts.assert(null!=a.length);return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,g=goog.isString(a)?a.split(\"\"):a,h=0;h<d;h++)if(h in g){var k=g[h];b.call(c,k,h,a)&&(e[f++]=k)}return e};\ngoog.array.map=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.map)?function(a,b,c){goog.asserts.assert(null!=a.length);return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f=goog.isString(a)?a.split(\"\"):a,g=0;g<d;g++)g in f&&(e[g]=b.call(c,f[g],g,a));return e};\ngoog.array.reduce=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduce)?function(a,b,c,d){goog.asserts.assert(null!=a.length);d&&(b=goog.bind(b,d));return Array.prototype.reduce.call(a,b,c)}:function(a,b,c,d){var e=c;goog.array.forEach(a,function(c,g){e=b.call(d,e,c,g,a)});return e};\ngoog.array.reduceRight=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduceRight)?function(a,b,c,d){goog.asserts.assert(null!=a.length);goog.asserts.assert(null!=b);d&&(b=goog.bind(b,d));return Array.prototype.reduceRight.call(a,b,c)}:function(a,b,c,d){var e=c;goog.array.forEachRight(a,function(c,g){e=b.call(d,e,c,g,a)});return e};\ngoog.array.some=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.some)?function(a,b,c){goog.asserts.assert(null!=a.length);return Array.prototype.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=goog.isString(a)?a.split(\"\"):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return!0;return!1};\ngoog.array.every=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.every)?function(a,b,c){goog.asserts.assert(null!=a.length);return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=goog.isString(a)?a.split(\"\"):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;return!0};goog.array.count=function(a,b,c){var d=0;goog.array.forEach(a,function(a,f,g){b.call(c,a,f,g)&&++d},c);return d};\ngoog.array.find=function(a,b,c){b=goog.array.findIndex(a,b,c);return 0>b?null:goog.isString(a)?a.charAt(b):a[b]};goog.array.findIndex=function(a,b,c){for(var d=a.length,e=goog.isString(a)?a.split(\"\"):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return f;return-1};goog.array.findRight=function(a,b,c){b=goog.array.findIndexRight(a,b,c);return 0>b?null:goog.isString(a)?a.charAt(b):a[b]};\ngoog.array.findIndexRight=function(a,b,c){var d=a.length,e=goog.isString(a)?a.split(\"\"):a;for(--d;0<=d;d--)if(d in e&&b.call(c,e[d],d,a))return d;return-1};goog.array.contains=function(a,b){return 0<=goog.array.indexOf(a,b)};goog.array.isEmpty=function(a){return 0==a.length};goog.array.clear=function(a){if(!goog.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0};goog.array.insert=function(a,b){goog.array.contains(a,b)||a.push(b)};\ngoog.array.insertAt=function(a,b,c){goog.array.splice(a,c,0,b)};goog.array.insertArrayAt=function(a,b,c){goog.partial(goog.array.splice,a,c,0).apply(null,b)};goog.array.insertBefore=function(a,b,c){var d;2==arguments.length||0>(d=goog.array.indexOf(a,c))?a.push(b):goog.array.insertAt(a,b,d)};goog.array.remove=function(a,b){var c=goog.array.indexOf(a,b),d;(d=0<=c)&&goog.array.removeAt(a,c);return d};\ngoog.array.removeLast=function(a,b){var c=goog.array.lastIndexOf(a,b);return 0<=c?(goog.array.removeAt(a,c),!0):!1};goog.array.removeAt=function(a,b){goog.asserts.assert(null!=a.length);return 1==Array.prototype.splice.call(a,b,1).length};goog.array.removeIf=function(a,b,c){b=goog.array.findIndex(a,b,c);return 0<=b?(goog.array.removeAt(a,b),!0):!1};goog.array.removeAllIf=function(a,b,c){var d=0;goog.array.forEachRight(a,function(e,f){b.call(c,e,f,a)&&goog.array.removeAt(a,f)&&d++});return d};\ngoog.array.concat=function(a){return Array.prototype.concat.apply([],arguments)};goog.array.join=function(a){return Array.prototype.concat.apply([],arguments)};goog.array.toArray=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]};goog.array.clone=goog.array.toArray;goog.array.extend=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(goog.isArrayLike(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var g=0;g<f;g++)a[e+g]=d[g]}else a.push(d)}};\ngoog.array.splice=function(a,b,c,d){goog.asserts.assert(null!=a.length);return Array.prototype.splice.apply(a,goog.array.slice(arguments,1))};goog.array.slice=function(a,b,c){goog.asserts.assert(null!=a.length);return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};\ngoog.array.removeDuplicates=function(a,b,c){b=b||a;var d=function(a){return goog.isObject(a)?\"o\"+goog.getUid(a):(typeof a).charAt(0)+a};c=c||d;d={};for(var e=0,f=0;f<a.length;){var g=a[f++],h=c(g);Object.prototype.hasOwnProperty.call(d,h)||(d[h]=!0,b[e++]=g)}b.length=e};goog.array.binarySearch=function(a,b,c){return goog.array.binarySearch_(a,c||goog.array.defaultCompare,!1,b)};goog.array.binarySelect=function(a,b,c){return goog.array.binarySearch_(a,b,!0,void 0,c)};\ngoog.array.binarySearch_=function(a,b,c,d,e){for(var f=0,g=a.length,h;f<g;){var k=f+g>>1;var n=c?b.call(e,a[k],k,a):b(d,a[k]);0<n?f=k+1:(g=k,h=!n)}return h?f:~f};goog.array.sort=function(a,b){a.sort(b||goog.array.defaultCompare)};goog.array.stableSort=function(a,b){for(var c=Array(a.length),d=0;d<a.length;d++)c[d]={index:d,value:a[d]};var e=b||goog.array.defaultCompare;goog.array.sort(c,function(a,b){return e(a.value,b.value)||a.index-b.index});for(d=0;d<a.length;d++)a[d]=c[d].value};\ngoog.array.sortByKey=function(a,b,c){var d=c||goog.array.defaultCompare;goog.array.sort(a,function(a,c){return d(b(a),b(c))})};goog.array.sortObjectsByKey=function(a,b,c){goog.array.sortByKey(a,function(a){return a[b]},c)};goog.array.isSorted=function(a,b,c){b=b||goog.array.defaultCompare;for(var d=1;d<a.length;d++){var e=b(a[d-1],a[d]);if(0<e||0==e&&c)return!1}return!0};\ngoog.array.equals=function(a,b,c){if(!goog.isArrayLike(a)||!goog.isArrayLike(b)||a.length!=b.length)return!1;var d=a.length;c=c||goog.array.defaultCompareEquality;for(var e=0;e<d;e++)if(!c(a[e],b[e]))return!1;return!0};goog.array.compare3=function(a,b,c){c=c||goog.array.defaultCompare;for(var d=Math.min(a.length,b.length),e=0;e<d;e++){var f=c(a[e],b[e]);if(0!=f)return f}return goog.array.defaultCompare(a.length,b.length)};goog.array.defaultCompare=function(a,b){return a>b?1:a<b?-1:0};\ngoog.array.inverseDefaultCompare=function(a,b){return-goog.array.defaultCompare(a,b)};goog.array.defaultCompareEquality=function(a,b){return a===b};goog.array.binaryInsert=function(a,b,c){c=goog.array.binarySearch(a,b,c);return 0>c?(goog.array.insertAt(a,b,-(c+1)),!0):!1};goog.array.binaryRemove=function(a,b,c){b=goog.array.binarySearch(a,b,c);return 0<=b?goog.array.removeAt(a,b):!1};\ngoog.array.bucket=function(a,b,c){for(var d={},e=0;e<a.length;e++){var f=a[e],g=b.call(c,f,e,a);goog.isDef(g)&&(d[g]||(d[g]=[])).push(f)}return d};goog.array.toObject=function(a,b,c){var d={};goog.array.forEach(a,function(e,f){d[b.call(c,e,f,a)]=e});return d};goog.array.range=function(a,b,c){var d=[],e=0,f=a;c=c||1;void 0!==b&&(e=a,f=b);if(0>c*(f-e))return[];if(0<c)for(a=e;a<f;a+=c)d.push(a);else for(a=e;a>f;a+=c)d.push(a);return d};\ngoog.array.repeat=function(a,b){for(var c=[],d=0;d<b;d++)c[d]=a;return c};goog.array.flatten=function(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(goog.isArray(d))for(var e=0;e<d.length;e+=8192){var f=goog.array.slice(d,e,e+8192);f=goog.array.flatten.apply(null,f);for(var g=0;g<f.length;g++)b.push(f[g])}else b.push(d)}return b};\ngoog.array.rotate=function(a,b){goog.asserts.assert(null!=a.length);a.length&&(b%=a.length,0<b?Array.prototype.unshift.apply(a,a.splice(-b,b)):0>b&&Array.prototype.push.apply(a,a.splice(0,-b)));return a};goog.array.moveItem=function(a,b,c){goog.asserts.assert(0<=b&&b<a.length);goog.asserts.assert(0<=c&&c<a.length);b=Array.prototype.splice.call(a,b,1);Array.prototype.splice.call(a,c,0,b[0])};\ngoog.array.zip=function(a){if(!arguments.length)return[];for(var b=[],c=arguments[0].length,d=1;d<arguments.length;d++)arguments[d].length<c&&(c=arguments[d].length);for(d=0;d<c;d++){for(var e=[],f=0;f<arguments.length;f++)e.push(arguments[f][d]);b.push(e)}return b};goog.array.shuffle=function(a,b){for(var c=b||Math.random,d=a.length-1;0<d;d--){var e=Math.floor(c()*(d+1)),f=a[d];a[d]=a[e];a[e]=f}};goog.array.copyByIndex=function(a,b){var c=[];goog.array.forEach(b,function(b){c.push(a[b])});return c};\ngoog.array.concatMap=function(a,b,c){return goog.array.concat.apply([],goog.array.map(a,b,c))};goog.math={};goog.math.randomInt=function(a){return Math.floor(Math.random()*a)};goog.math.uniformRandom=function(a,b){return a+Math.random()*(b-a)};goog.math.clamp=function(a,b,c){return Math.min(Math.max(a,b),c)};goog.math.modulo=function(a,b){var c=a%b;return 0>c*b?c+b:c};goog.math.lerp=function(a,b,c){return a+c*(b-a)};goog.math.nearlyEquals=function(a,b,c){return Math.abs(a-b)<=(c||1E-6)};goog.math.standardAngle=function(a){return goog.math.modulo(a,360)};\ngoog.math.standardAngleInRadians=function(a){return goog.math.modulo(a,2*Math.PI)};goog.math.toRadians=function(a){return a*Math.PI/180};goog.math.toDegrees=function(a){return 180*a/Math.PI};goog.math.angleDx=function(a,b){return b*Math.cos(goog.math.toRadians(a))};goog.math.angleDy=function(a,b){return b*Math.sin(goog.math.toRadians(a))};goog.math.angle=function(a,b,c,d){return goog.math.standardAngle(goog.math.toDegrees(Math.atan2(d-b,c-a)))};\ngoog.math.angleDifference=function(a,b){var c=goog.math.standardAngle(b)-goog.math.standardAngle(a);180<c?c-=360:-180>=c&&(c=360+c);return c};goog.math.sign=function(a){return 0<a?1:0>a?-1:a};\ngoog.math.longestCommonSubsequence=function(a,b,c,d){c=c||function(a,b){return a==b};d=d||function(b,c){return a[b]};for(var e=a.length,f=b.length,g=[],h=0;h<e+1;h++)g[h]=[],g[h][0]=0;for(var k=0;k<f+1;k++)g[0][k]=0;for(h=1;h<=e;h++)for(k=1;k<=f;k++)c(a[h-1],b[k-1])?g[h][k]=g[h-1][k-1]+1:g[h][k]=Math.max(g[h-1][k],g[h][k-1]);var n=[];h=e;for(k=f;0<h&&0<k;)c(a[h-1],b[k-1])?(n.unshift(d(h-1,k-1)),h--,k--):g[h-1][k]>g[h][k-1]?h--:k--;return n};\ngoog.math.sum=function(a){return goog.array.reduce(arguments,function(a,c){return a+c},0)};goog.math.average=function(a){return goog.math.sum.apply(null,arguments)/arguments.length};goog.math.sampleVariance=function(a){var b=arguments.length;if(2>b)return 0;var c=goog.math.average.apply(null,arguments);return goog.math.sum.apply(null,goog.array.map(arguments,function(a){return Math.pow(a-c,2)}))/(b-1)};goog.math.standardDeviation=function(a){return Math.sqrt(goog.math.sampleVariance.apply(null,arguments))};\ngoog.math.isInt=function(a){return isFinite(a)&&0==a%1};goog.math.isFiniteNumber=function(a){return isFinite(a)};goog.math.isNegativeZero=function(a){return 0==a&&0>1/a};goog.math.log10Floor=function(a){if(0<a){var b=Math.round(Math.log(a)*Math.LOG10E);return b-(parseFloat(\"1e\"+b)>a?1:0)}return 0==a?-Infinity:NaN};goog.math.safeFloor=function(a,b){goog.asserts.assert(!goog.isDef(b)||0<b);return Math.floor(a+(b||2E-15))};\ngoog.math.safeCeil=function(a,b){goog.asserts.assert(!goog.isDef(b)||0<b);return Math.ceil(a-(b||2E-15))};goog.math.Coordinate=function(a,b){this.x=goog.isDef(a)?a:0;this.y=goog.isDef(b)?b:0};goog.math.Coordinate.prototype.clone=function(){return new goog.math.Coordinate(this.x,this.y)};goog.DEBUG&&(goog.math.Coordinate.prototype.toString=function(){return\"(\"+this.x+\", \"+this.y+\")\"});goog.math.Coordinate.prototype.equals=function(a){return a instanceof goog.math.Coordinate&&goog.math.Coordinate.equals(this,a)};goog.math.Coordinate.equals=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};\ngoog.math.Coordinate.distance=function(a,b){var c=a.x-b.x,d=a.y-b.y;return Math.sqrt(c*c+d*d)};goog.math.Coordinate.magnitude=function(a){return Math.sqrt(a.x*a.x+a.y*a.y)};goog.math.Coordinate.azimuth=function(a){return goog.math.angle(0,0,a.x,a.y)};goog.math.Coordinate.squaredDistance=function(a,b){var c=a.x-b.x,d=a.y-b.y;return c*c+d*d};goog.math.Coordinate.difference=function(a,b){return new goog.math.Coordinate(a.x-b.x,a.y-b.y)};\ngoog.math.Coordinate.sum=function(a,b){return new goog.math.Coordinate(a.x+b.x,a.y+b.y)};goog.math.Coordinate.prototype.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};goog.math.Coordinate.prototype.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};goog.math.Coordinate.prototype.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};\ngoog.math.Coordinate.prototype.translate=function(a,b){a instanceof goog.math.Coordinate?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),goog.isNumber(b)&&(this.y+=b));return this};goog.math.Coordinate.prototype.scale=function(a,b){var c=goog.isNumber(b)?b:a;this.x*=a;this.y*=c;return this};goog.math.Coordinate.prototype.rotateRadians=function(a,b){var c=b||new goog.math.Coordinate(0,0),d=this.x,e=this.y,f=Math.cos(a),g=Math.sin(a);this.x=(d-c.x)*f-(e-c.y)*g+c.x;this.y=(d-c.x)*g+(e-c.y)*f+c.y};\ngoog.math.Coordinate.prototype.rotateDegrees=function(a,b){this.rotateRadians(goog.math.toRadians(a),b)};goog.labs={};goog.labs.userAgent={};goog.labs.userAgent.util={};goog.labs.userAgent.util.getNativeUserAgentString_=function(){var a=goog.labs.userAgent.util.getNavigator_();return a&&(a=a.userAgent)?a:\"\"};goog.labs.userAgent.util.getNavigator_=function(){return goog.global.navigator};goog.labs.userAgent.util.userAgent_=goog.labs.userAgent.util.getNativeUserAgentString_();goog.labs.userAgent.util.setUserAgent=function(a){goog.labs.userAgent.util.userAgent_=a||goog.labs.userAgent.util.getNativeUserAgentString_()};\ngoog.labs.userAgent.util.getUserAgent=function(){return goog.labs.userAgent.util.userAgent_};goog.labs.userAgent.util.matchUserAgent=function(a){var b=goog.labs.userAgent.util.getUserAgent();return goog.string.contains(b,a)};goog.labs.userAgent.util.matchUserAgentIgnoreCase=function(a){var b=goog.labs.userAgent.util.getUserAgent();return goog.string.caseInsensitiveContains(b,a)};\ngoog.labs.userAgent.util.extractVersionTuples=function(a){for(var b=RegExp(\"(\\\\w[\\\\w ]+)/([^\\\\s]+)\\\\s*(?:\\\\((.*?)\\\\))?\",\"g\"),c=[],d;d=b.exec(a);)c.push([d[1],d[2],d[3]||void 0]);return c};goog.object={};goog.object.is=function(a,b){return a===b?0!==a||1/a===1/b:a!==a&&b!==b};goog.object.forEach=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)};goog.object.filter=function(a,b,c){var d={},e;for(e in a)b.call(c,a[e],e,a)&&(d[e]=a[e]);return d};goog.object.map=function(a,b,c){var d={},e;for(e in a)d[e]=b.call(c,a[e],e,a);return d};goog.object.some=function(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return!0;return!1};\ngoog.object.every=function(a,b,c){for(var d in a)if(!b.call(c,a[d],d,a))return!1;return!0};goog.object.getCount=function(a){var b=0,c;for(c in a)b++;return b};goog.object.getAnyKey=function(a){for(var b in a)return b};goog.object.getAnyValue=function(a){for(var b in a)return a[b]};goog.object.contains=function(a,b){return goog.object.containsValue(a,b)};goog.object.getValues=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};\ngoog.object.getKeys=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};goog.object.getValueByKeys=function(a,b){var c=goog.isArrayLike(b),d=c?b:arguments;for(c=c?0:1;c<d.length;c++){if(null==a)return;a=a[d[c]]}return a};goog.object.containsKey=function(a,b){return null!==a&&b in a};goog.object.containsValue=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1};goog.object.findKey=function(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return d};\ngoog.object.findValue=function(a,b,c){return(b=goog.object.findKey(a,b,c))&&a[b]};goog.object.isEmpty=function(a){for(var b in a)return!1;return!0};goog.object.clear=function(a){for(var b in a)delete a[b]};goog.object.remove=function(a,b){var c;(c=b in a)&&delete a[b];return c};goog.object.add=function(a,b,c){if(null!==a&&b in a)throw Error('The object already contains the key \"'+b+'\"');goog.object.set(a,b,c)};goog.object.get=function(a,b,c){return null!==a&&b in a?a[b]:c};\ngoog.object.set=function(a,b,c){a[b]=c};goog.object.setIfUndefined=function(a,b,c){return b in a?a[b]:a[b]=c};goog.object.setWithReturnValueIfNotSet=function(a,b,c){if(b in a)return a[b];c=c();return a[b]=c};goog.object.equals=function(a,b){for(var c in a)if(!(c in b)||a[c]!==b[c])return!1;for(c in b)if(!(c in a))return!1;return!0};goog.object.clone=function(a){var b={},c;for(c in a)b[c]=a[c];return b};\ngoog.object.unsafeClone=function(a){var b=goog.typeOf(a);if(\"object\"==b||\"array\"==b){if(goog.isFunction(a.clone))return a.clone();b=\"array\"==b?[]:{};for(var c in a)b[c]=goog.object.unsafeClone(a[c]);return b}return a};goog.object.transpose=function(a){var b={},c;for(c in a)b[a[c]]=c;return b};goog.object.PROTOTYPE_FIELDS_=\"constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf\".split(\" \");\ngoog.object.extend=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<goog.object.PROTOTYPE_FIELDS_.length;f++)c=goog.object.PROTOTYPE_FIELDS_[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};\ngoog.object.create=function(a){var b=arguments.length;if(1==b&&goog.isArray(arguments[0]))return goog.object.create.apply(null,arguments[0]);if(b%2)throw Error(\"Uneven number of arguments\");for(var c={},d=0;d<b;d+=2)c[arguments[d]]=arguments[d+1];return c};goog.object.createSet=function(a){var b=arguments.length;if(1==b&&goog.isArray(arguments[0]))return goog.object.createSet.apply(null,arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c};\ngoog.object.createImmutableView=function(a){var b=a;Object.isFrozen&&!Object.isFrozen(a)&&(b=Object.create(a),Object.freeze(b));return b};goog.object.isImmutableView=function(a){return!!Object.isFrozen&&Object.isFrozen(a)};\ngoog.object.getAllPropertyNames=function(a,b,c){if(!a)return[];if(!Object.getOwnPropertyNames||!Object.getPrototypeOf)return goog.object.getKeys(a);for(var d={};a&&(a!==Object.prototype||b)&&(a!==Function.prototype||c);){for(var e=Object.getOwnPropertyNames(a),f=0;f<e.length;f++)d[e[f]]=!0;a=Object.getPrototypeOf(a)}return goog.object.getKeys(d)};goog.labs.userAgent.browser={};goog.labs.userAgent.browser.matchOpera_=function(){return goog.labs.userAgent.util.matchUserAgent(\"Opera\")};goog.labs.userAgent.browser.matchIE_=function(){return goog.labs.userAgent.util.matchUserAgent(\"Trident\")||goog.labs.userAgent.util.matchUserAgent(\"MSIE\")};goog.labs.userAgent.browser.matchEdge_=function(){return goog.labs.userAgent.util.matchUserAgent(\"Edge\")};goog.labs.userAgent.browser.matchFirefox_=function(){return goog.labs.userAgent.util.matchUserAgent(\"Firefox\")};\ngoog.labs.userAgent.browser.matchSafari_=function(){return goog.labs.userAgent.util.matchUserAgent(\"Safari\")&&!(goog.labs.userAgent.browser.matchChrome_()||goog.labs.userAgent.browser.matchCoast_()||goog.labs.userAgent.browser.matchOpera_()||goog.labs.userAgent.browser.matchEdge_()||goog.labs.userAgent.browser.isSilk()||goog.labs.userAgent.util.matchUserAgent(\"Android\"))};goog.labs.userAgent.browser.matchCoast_=function(){return goog.labs.userAgent.util.matchUserAgent(\"Coast\")};\ngoog.labs.userAgent.browser.matchIosWebview_=function(){return(goog.labs.userAgent.util.matchUserAgent(\"iPad\")||goog.labs.userAgent.util.matchUserAgent(\"iPhone\"))&&!goog.labs.userAgent.browser.matchSafari_()&&!goog.labs.userAgent.browser.matchChrome_()&&!goog.labs.userAgent.browser.matchCoast_()&&goog.labs.userAgent.util.matchUserAgent(\"AppleWebKit\")};\ngoog.labs.userAgent.browser.matchChrome_=function(){return(goog.labs.userAgent.util.matchUserAgent(\"Chrome\")||goog.labs.userAgent.util.matchUserAgent(\"CriOS\"))&&!goog.labs.userAgent.browser.matchEdge_()};goog.labs.userAgent.browser.matchAndroidBrowser_=function(){return goog.labs.userAgent.util.matchUserAgent(\"Android\")&&!(goog.labs.userAgent.browser.isChrome()||goog.labs.userAgent.browser.isFirefox()||goog.labs.userAgent.browser.isOpera()||goog.labs.userAgent.browser.isSilk())};\ngoog.labs.userAgent.browser.isOpera=goog.labs.userAgent.browser.matchOpera_;goog.labs.userAgent.browser.isIE=goog.labs.userAgent.browser.matchIE_;goog.labs.userAgent.browser.isEdge=goog.labs.userAgent.browser.matchEdge_;goog.labs.userAgent.browser.isFirefox=goog.labs.userAgent.browser.matchFirefox_;goog.labs.userAgent.browser.isSafari=goog.labs.userAgent.browser.matchSafari_;goog.labs.userAgent.browser.isCoast=goog.labs.userAgent.browser.matchCoast_;goog.labs.userAgent.browser.isIosWebview=goog.labs.userAgent.browser.matchIosWebview_;\ngoog.labs.userAgent.browser.isChrome=goog.labs.userAgent.browser.matchChrome_;goog.labs.userAgent.browser.isAndroidBrowser=goog.labs.userAgent.browser.matchAndroidBrowser_;goog.labs.userAgent.browser.isSilk=function(){return goog.labs.userAgent.util.matchUserAgent(\"Silk\")};\ngoog.labs.userAgent.browser.getVersion=function(){function a(a){a=goog.array.find(a,d);return c[a]||\"\"}var b=goog.labs.userAgent.util.getUserAgent();if(goog.labs.userAgent.browser.isIE())return goog.labs.userAgent.browser.getIEVersion_(b);b=goog.labs.userAgent.util.extractVersionTuples(b);var c={};goog.array.forEach(b,function(a){c[a[0]]=a[1]});var d=goog.partial(goog.object.containsKey,c);return goog.labs.userAgent.browser.isOpera()?a([\"Version\",\"Opera\"]):goog.labs.userAgent.browser.isEdge()?a([\"Edge\"]):\ngoog.labs.userAgent.browser.isChrome()?a([\"Chrome\",\"CriOS\"]):(b=b[2])&&b[1]||\"\"};goog.labs.userAgent.browser.isVersionOrHigher=function(a){return 0<=goog.string.compareVersions(goog.labs.userAgent.browser.getVersion(),a)};\ngoog.labs.userAgent.browser.getIEVersion_=function(a){var b=/rv: *([\\d\\.]*)/.exec(a);if(b&&b[1])return b[1];b=\"\";var c=/MSIE +([\\d\\.]+)/.exec(a);if(c&&c[1])if(a=/Trident\\/(\\d.\\d)/.exec(a),\"7.0\"==c[1])if(a&&a[1])switch(a[1]){case \"4.0\":b=\"8.0\";break;case \"5.0\":b=\"9.0\";break;case \"6.0\":b=\"10.0\";break;case \"7.0\":b=\"11.0\"}else b=\"7.0\";else b=c[1];return b};goog.labs.userAgent.engine={};goog.labs.userAgent.engine.isPresto=function(){return goog.labs.userAgent.util.matchUserAgent(\"Presto\")};goog.labs.userAgent.engine.isTrident=function(){return goog.labs.userAgent.util.matchUserAgent(\"Trident\")||goog.labs.userAgent.util.matchUserAgent(\"MSIE\")};goog.labs.userAgent.engine.isEdge=function(){return goog.labs.userAgent.util.matchUserAgent(\"Edge\")};\ngoog.labs.userAgent.engine.isWebKit=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase(\"WebKit\")&&!goog.labs.userAgent.engine.isEdge()};goog.labs.userAgent.engine.isGecko=function(){return goog.labs.userAgent.util.matchUserAgent(\"Gecko\")&&!goog.labs.userAgent.engine.isWebKit()&&!goog.labs.userAgent.engine.isTrident()&&!goog.labs.userAgent.engine.isEdge()};\ngoog.labs.userAgent.engine.getVersion=function(){var a=goog.labs.userAgent.util.getUserAgent();if(a){a=goog.labs.userAgent.util.extractVersionTuples(a);var b=goog.labs.userAgent.engine.getEngineTuple_(a);if(b)return\"Gecko\"==b[0]?goog.labs.userAgent.engine.getVersionForKey_(a,\"Firefox\"):b[1];a=a[0];var c;if(a&&(c=a[2])&&(c=/Trident\\/([^\\s;]+)/.exec(c)))return c[1]}return\"\"};\ngoog.labs.userAgent.engine.getEngineTuple_=function(a){if(!goog.labs.userAgent.engine.isEdge())return a[1];for(var b=0;b<a.length;b++){var c=a[b];if(\"Edge\"==c[0])return c}};goog.labs.userAgent.engine.isVersionOrHigher=function(a){return 0<=goog.string.compareVersions(goog.labs.userAgent.engine.getVersion(),a)};goog.labs.userAgent.engine.getVersionForKey_=function(a,b){var c=goog.array.find(a,function(a){return b==a[0]});return c&&c[1]||\"\"};goog.labs.userAgent.platform={};goog.labs.userAgent.platform.isAndroid=function(){return goog.labs.userAgent.util.matchUserAgent(\"Android\")};goog.labs.userAgent.platform.isIpod=function(){return goog.labs.userAgent.util.matchUserAgent(\"iPod\")};goog.labs.userAgent.platform.isIphone=function(){return goog.labs.userAgent.util.matchUserAgent(\"iPhone\")&&!goog.labs.userAgent.util.matchUserAgent(\"iPod\")&&!goog.labs.userAgent.util.matchUserAgent(\"iPad\")};goog.labs.userAgent.platform.isIpad=function(){return goog.labs.userAgent.util.matchUserAgent(\"iPad\")};\ngoog.labs.userAgent.platform.isIos=function(){return goog.labs.userAgent.platform.isIphone()||goog.labs.userAgent.platform.isIpad()||goog.labs.userAgent.platform.isIpod()};goog.labs.userAgent.platform.isMacintosh=function(){return goog.labs.userAgent.util.matchUserAgent(\"Macintosh\")};goog.labs.userAgent.platform.isLinux=function(){return goog.labs.userAgent.util.matchUserAgent(\"Linux\")};goog.labs.userAgent.platform.isWindows=function(){return goog.labs.userAgent.util.matchUserAgent(\"Windows\")};\ngoog.labs.userAgent.platform.isChromeOS=function(){return goog.labs.userAgent.util.matchUserAgent(\"CrOS\")};\ngoog.labs.userAgent.platform.getVersion=function(){var a=goog.labs.userAgent.util.getUserAgent(),b=\"\";goog.labs.userAgent.platform.isWindows()?(b=/Windows (?:NT|Phone) ([0-9.]+)/,b=(a=b.exec(a))?a[1]:\"0.0\"):goog.labs.userAgent.platform.isIos()?(b=/(?:iPhone|iPod|iPad|CPU)\\s+OS\\s+(\\S+)/,b=(a=b.exec(a))&&a[1].replace(/_/g,\".\")):goog.labs.userAgent.platform.isMacintosh()?(b=/Mac OS X ([0-9_.]+)/,b=(a=b.exec(a))?a[1].replace(/_/g,\".\"):\"10\"):goog.labs.userAgent.platform.isAndroid()?(b=/Android\\s+([^\\);]+)(\\)|;)/,\nb=(a=b.exec(a))&&a[1]):goog.labs.userAgent.platform.isChromeOS()&&(b=/(?:CrOS\\s+(?:i686|x86_64)\\s+([0-9.]+))/,b=(a=b.exec(a))&&a[1]);return b||\"\"};goog.labs.userAgent.platform.isVersionOrHigher=function(a){return 0<=goog.string.compareVersions(goog.labs.userAgent.platform.getVersion(),a)};goog.reflect={};goog.reflect.object=function(a,b){return b};goog.reflect.objectProperty=function(a,b){return a};goog.reflect.sinkValue=function(a){goog.reflect.sinkValue[\" \"](a);return a};goog.reflect.sinkValue[\" \"]=goog.nullFunction;goog.reflect.canAccessProperty=function(a,b){try{return goog.reflect.sinkValue(a[b]),!0}catch(c){}return!1};goog.reflect.cache=function(a,b,c,d){d=d?d(b):b;return Object.prototype.hasOwnProperty.call(a,d)?a[d]:a[d]=c(b)};goog.userAgent={};goog.userAgent.ASSUME_IE=!1;goog.userAgent.ASSUME_EDGE=!1;goog.userAgent.ASSUME_GECKO=!1;goog.userAgent.ASSUME_WEBKIT=!1;goog.userAgent.ASSUME_MOBILE_WEBKIT=!1;goog.userAgent.ASSUME_OPERA=!1;goog.userAgent.ASSUME_ANY_VERSION=!1;goog.userAgent.BROWSER_KNOWN_=goog.userAgent.ASSUME_IE||goog.userAgent.ASSUME_EDGE||goog.userAgent.ASSUME_GECKO||goog.userAgent.ASSUME_MOBILE_WEBKIT||goog.userAgent.ASSUME_WEBKIT||goog.userAgent.ASSUME_OPERA;goog.userAgent.getUserAgentString=function(){return goog.labs.userAgent.util.getUserAgent()};\ngoog.userAgent.getNavigator=function(){return goog.global.navigator||null};goog.userAgent.OPERA=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_OPERA:goog.labs.userAgent.browser.isOpera();goog.userAgent.IE=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_IE:goog.labs.userAgent.browser.isIE();goog.userAgent.EDGE=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_EDGE:goog.labs.userAgent.engine.isEdge();goog.userAgent.EDGE_OR_IE=goog.userAgent.EDGE||goog.userAgent.IE;\ngoog.userAgent.GECKO=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_GECKO:goog.labs.userAgent.engine.isGecko();goog.userAgent.WEBKIT=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_WEBKIT||goog.userAgent.ASSUME_MOBILE_WEBKIT:goog.labs.userAgent.engine.isWebKit();goog.userAgent.isMobile_=function(){return goog.userAgent.WEBKIT&&goog.labs.userAgent.util.matchUserAgent(\"Mobile\")};goog.userAgent.MOBILE=goog.userAgent.ASSUME_MOBILE_WEBKIT||goog.userAgent.isMobile_();goog.userAgent.SAFARI=goog.userAgent.WEBKIT;\ngoog.userAgent.determinePlatform_=function(){var a=goog.userAgent.getNavigator();return a&&a.platform||\"\"};goog.userAgent.PLATFORM=goog.userAgent.determinePlatform_();goog.userAgent.ASSUME_MAC=!1;goog.userAgent.ASSUME_WINDOWS=!1;goog.userAgent.ASSUME_LINUX=!1;goog.userAgent.ASSUME_X11=!1;goog.userAgent.ASSUME_ANDROID=!1;goog.userAgent.ASSUME_IPHONE=!1;goog.userAgent.ASSUME_IPAD=!1;goog.userAgent.ASSUME_IPOD=!1;\ngoog.userAgent.PLATFORM_KNOWN_=goog.userAgent.ASSUME_MAC||goog.userAgent.ASSUME_WINDOWS||goog.userAgent.ASSUME_LINUX||goog.userAgent.ASSUME_X11||goog.userAgent.ASSUME_ANDROID||goog.userAgent.ASSUME_IPHONE||goog.userAgent.ASSUME_IPAD||goog.userAgent.ASSUME_IPOD;goog.userAgent.MAC=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_MAC:goog.labs.userAgent.platform.isMacintosh();goog.userAgent.WINDOWS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_WINDOWS:goog.labs.userAgent.platform.isWindows();\ngoog.userAgent.isLegacyLinux_=function(){return goog.labs.userAgent.platform.isLinux()||goog.labs.userAgent.platform.isChromeOS()};goog.userAgent.LINUX=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_LINUX:goog.userAgent.isLegacyLinux_();goog.userAgent.isX11_=function(){var a=goog.userAgent.getNavigator();return!!a&&goog.string.contains(a.appVersion||\"\",\"X11\")};goog.userAgent.X11=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_X11:goog.userAgent.isX11_();\ngoog.userAgent.ANDROID=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_ANDROID:goog.labs.userAgent.platform.isAndroid();goog.userAgent.IPHONE=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPHONE:goog.labs.userAgent.platform.isIphone();goog.userAgent.IPAD=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPAD:goog.labs.userAgent.platform.isIpad();goog.userAgent.IPOD=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPOD:goog.labs.userAgent.platform.isIpod();\ngoog.userAgent.IOS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPHONE||goog.userAgent.ASSUME_IPAD||goog.userAgent.ASSUME_IPOD:goog.labs.userAgent.platform.isIos();goog.userAgent.determineVersion_=function(){var a=\"\",b=goog.userAgent.getVersionRegexResult_();b&&(a=b?b[1]:\"\");return goog.userAgent.IE&&(b=goog.userAgent.getDocumentMode_(),null!=b&&b>parseFloat(a))?String(b):a};\ngoog.userAgent.getVersionRegexResult_=function(){var a=goog.userAgent.getUserAgentString();if(goog.userAgent.GECKO)return/rv\\:([^\\);]+)(\\)|;)/.exec(a);if(goog.userAgent.EDGE)return/Edge\\/([\\d\\.]+)/.exec(a);if(goog.userAgent.IE)return/\\b(?:MSIE|rv)[: ]([^\\);]+)(\\)|;)/.exec(a);if(goog.userAgent.WEBKIT)return/WebKit\\/(\\S+)/.exec(a);if(goog.userAgent.OPERA)return/(?:Version)[ \\/]?(\\S+)/.exec(a)};goog.userAgent.getDocumentMode_=function(){var a=goog.global.document;return a?a.documentMode:void 0};\ngoog.userAgent.VERSION=goog.userAgent.determineVersion_();goog.userAgent.compare=function(a,b){return goog.string.compareVersions(a,b)};goog.userAgent.isVersionOrHigherCache_={};goog.userAgent.isVersionOrHigher=function(a){return goog.userAgent.ASSUME_ANY_VERSION||goog.reflect.cache(goog.userAgent.isVersionOrHigherCache_,a,function(){return 0<=goog.string.compareVersions(goog.userAgent.VERSION,a)})};goog.userAgent.isVersion=goog.userAgent.isVersionOrHigher;\ngoog.userAgent.isDocumentModeOrHigher=function(a){return Number(goog.userAgent.DOCUMENT_MODE)>=a};goog.userAgent.isDocumentMode=goog.userAgent.isDocumentModeOrHigher;goog.userAgent.DOCUMENT_MODE=function(){var a=goog.global.document,b=goog.userAgent.getDocumentMode_();if(a&&goog.userAgent.IE)return b||(\"CSS1Compat\"==a.compatMode?parseInt(goog.userAgent.VERSION,10):5)}();goog.Thenable=function(){};goog.Thenable.prototype.then=function(a,b,c){};goog.Thenable.IMPLEMENTED_BY_PROP=\"$goog_Thenable\";goog.Thenable.addImplementation=function(a){a.prototype.then=a.prototype.then;COMPILED?a.prototype[goog.Thenable.IMPLEMENTED_BY_PROP]=!0:a.prototype.$goog_Thenable=!0};goog.Thenable.isImplementedBy=function(a){if(!a)return!1;try{return COMPILED?!!a[goog.Thenable.IMPLEMENTED_BY_PROP]:!!a.$goog_Thenable}catch(b){return!1}};goog.async={};goog.async.FreeList=function(a,b,c){this.limit_=c;this.create_=a;this.reset_=b;this.occupants_=0;this.head_=null};goog.async.FreeList.prototype.get=function(){if(0<this.occupants_){this.occupants_--;var a=this.head_;this.head_=a.next;a.next=null}else a=this.create_();return a};goog.async.FreeList.prototype.put=function(a){this.reset_(a);this.occupants_<this.limit_&&(this.occupants_++,a.next=this.head_,this.head_=a)};goog.async.FreeList.prototype.occupants=function(){return this.occupants_};goog.async.WorkQueue=function(){this.workTail_=this.workHead_=null};goog.async.WorkQueue.DEFAULT_MAX_UNUSED=100;goog.async.WorkQueue.freelist_=new goog.async.FreeList(function(){return new goog.async.WorkItem},function(a){a.reset()},goog.async.WorkQueue.DEFAULT_MAX_UNUSED);goog.async.WorkQueue.prototype.add=function(a,b){var c=this.getUnusedItem_();c.set(a,b);this.workTail_?this.workTail_.next=c:(goog.asserts.assert(!this.workHead_),this.workHead_=c);this.workTail_=c};\ngoog.async.WorkQueue.prototype.remove=function(){var a=null;this.workHead_&&(a=this.workHead_,this.workHead_=this.workHead_.next,this.workHead_||(this.workTail_=null),a.next=null);return a};goog.async.WorkQueue.prototype.returnUnused=function(a){goog.async.WorkQueue.freelist_.put(a)};goog.async.WorkQueue.prototype.getUnusedItem_=function(){return goog.async.WorkQueue.freelist_.get()};goog.async.WorkItem=function(){this.next=this.scope=this.fn=null};\ngoog.async.WorkItem.prototype.set=function(a,b){this.fn=a;this.scope=b;this.next=null};goog.async.WorkItem.prototype.reset=function(){this.next=this.scope=this.fn=null};goog.debug.entryPointRegistry={};goog.debug.EntryPointMonitor=function(){};goog.debug.entryPointRegistry.refList_=[];goog.debug.entryPointRegistry.monitors_=[];goog.debug.entryPointRegistry.monitorsMayExist_=!1;goog.debug.entryPointRegistry.register=function(a){goog.debug.entryPointRegistry.refList_[goog.debug.entryPointRegistry.refList_.length]=a;if(goog.debug.entryPointRegistry.monitorsMayExist_)for(var b=goog.debug.entryPointRegistry.monitors_,c=0;c<b.length;c++)a(goog.bind(b[c].wrap,b[c]))};\ngoog.debug.entryPointRegistry.monitorAll=function(a){goog.debug.entryPointRegistry.monitorsMayExist_=!0;for(var b=goog.bind(a.wrap,a),c=0;c<goog.debug.entryPointRegistry.refList_.length;c++)goog.debug.entryPointRegistry.refList_[c](b);goog.debug.entryPointRegistry.monitors_.push(a)};\ngoog.debug.entryPointRegistry.unmonitorAllIfPossible=function(a){var b=goog.debug.entryPointRegistry.monitors_;goog.asserts.assert(a==b[b.length-1],\"Only the most recent monitor can be unwrapped.\");a=goog.bind(a.unwrap,a);for(var c=0;c<goog.debug.entryPointRegistry.refList_.length;c++)goog.debug.entryPointRegistry.refList_[c](a);b.length--};goog.dom.HtmlElement=function(){};goog.dom.TagName=function(a){this.tagName_=a};goog.dom.TagName.prototype.toString=function(){return this.tagName_};goog.dom.TagName.A=new goog.dom.TagName(\"A\");goog.dom.TagName.ABBR=new goog.dom.TagName(\"ABBR\");goog.dom.TagName.ACRONYM=new goog.dom.TagName(\"ACRONYM\");goog.dom.TagName.ADDRESS=new goog.dom.TagName(\"ADDRESS\");goog.dom.TagName.APPLET=new goog.dom.TagName(\"APPLET\");goog.dom.TagName.AREA=new goog.dom.TagName(\"AREA\");goog.dom.TagName.ARTICLE=new goog.dom.TagName(\"ARTICLE\");\ngoog.dom.TagName.ASIDE=new goog.dom.TagName(\"ASIDE\");goog.dom.TagName.AUDIO=new goog.dom.TagName(\"AUDIO\");goog.dom.TagName.B=new goog.dom.TagName(\"B\");goog.dom.TagName.BASE=new goog.dom.TagName(\"BASE\");goog.dom.TagName.BASEFONT=new goog.dom.TagName(\"BASEFONT\");goog.dom.TagName.BDI=new goog.dom.TagName(\"BDI\");goog.dom.TagName.BDO=new goog.dom.TagName(\"BDO\");goog.dom.TagName.BIG=new goog.dom.TagName(\"BIG\");goog.dom.TagName.BLOCKQUOTE=new goog.dom.TagName(\"BLOCKQUOTE\");goog.dom.TagName.BODY=new goog.dom.TagName(\"BODY\");\ngoog.dom.TagName.BR=new goog.dom.TagName(\"BR\");goog.dom.TagName.BUTTON=new goog.dom.TagName(\"BUTTON\");goog.dom.TagName.CANVAS=new goog.dom.TagName(\"CANVAS\");goog.dom.TagName.CAPTION=new goog.dom.TagName(\"CAPTION\");goog.dom.TagName.CENTER=new goog.dom.TagName(\"CENTER\");goog.dom.TagName.CITE=new goog.dom.TagName(\"CITE\");goog.dom.TagName.CODE=new goog.dom.TagName(\"CODE\");goog.dom.TagName.COL=new goog.dom.TagName(\"COL\");goog.dom.TagName.COLGROUP=new goog.dom.TagName(\"COLGROUP\");\ngoog.dom.TagName.COMMAND=new goog.dom.TagName(\"COMMAND\");goog.dom.TagName.DATA=new goog.dom.TagName(\"DATA\");goog.dom.TagName.DATALIST=new goog.dom.TagName(\"DATALIST\");goog.dom.TagName.DD=new goog.dom.TagName(\"DD\");goog.dom.TagName.DEL=new goog.dom.TagName(\"DEL\");goog.dom.TagName.DETAILS=new goog.dom.TagName(\"DETAILS\");goog.dom.TagName.DFN=new goog.dom.TagName(\"DFN\");goog.dom.TagName.DIALOG=new goog.dom.TagName(\"DIALOG\");goog.dom.TagName.DIR=new goog.dom.TagName(\"DIR\");goog.dom.TagName.DIV=new goog.dom.TagName(\"DIV\");\ngoog.dom.TagName.DL=new goog.dom.TagName(\"DL\");goog.dom.TagName.DT=new goog.dom.TagName(\"DT\");goog.dom.TagName.EM=new goog.dom.TagName(\"EM\");goog.dom.TagName.EMBED=new goog.dom.TagName(\"EMBED\");goog.dom.TagName.FIELDSET=new goog.dom.TagName(\"FIELDSET\");goog.dom.TagName.FIGCAPTION=new goog.dom.TagName(\"FIGCAPTION\");goog.dom.TagName.FIGURE=new goog.dom.TagName(\"FIGURE\");goog.dom.TagName.FONT=new goog.dom.TagName(\"FONT\");goog.dom.TagName.FOOTER=new goog.dom.TagName(\"FOOTER\");goog.dom.TagName.FORM=new goog.dom.TagName(\"FORM\");\ngoog.dom.TagName.FRAME=new goog.dom.TagName(\"FRAME\");goog.dom.TagName.FRAMESET=new goog.dom.TagName(\"FRAMESET\");goog.dom.TagName.H1=new goog.dom.TagName(\"H1\");goog.dom.TagName.H2=new goog.dom.TagName(\"H2\");goog.dom.TagName.H3=new goog.dom.TagName(\"H3\");goog.dom.TagName.H4=new goog.dom.TagName(\"H4\");goog.dom.TagName.H5=new goog.dom.TagName(\"H5\");goog.dom.TagName.H6=new goog.dom.TagName(\"H6\");goog.dom.TagName.HEAD=new goog.dom.TagName(\"HEAD\");goog.dom.TagName.HEADER=new goog.dom.TagName(\"HEADER\");\ngoog.dom.TagName.HGROUP=new goog.dom.TagName(\"HGROUP\");goog.dom.TagName.HR=new goog.dom.TagName(\"HR\");goog.dom.TagName.HTML=new goog.dom.TagName(\"HTML\");goog.dom.TagName.I=new goog.dom.TagName(\"I\");goog.dom.TagName.IFRAME=new goog.dom.TagName(\"IFRAME\");goog.dom.TagName.IMG=new goog.dom.TagName(\"IMG\");goog.dom.TagName.INPUT=new goog.dom.TagName(\"INPUT\");goog.dom.TagName.INS=new goog.dom.TagName(\"INS\");goog.dom.TagName.ISINDEX=new goog.dom.TagName(\"ISINDEX\");goog.dom.TagName.KBD=new goog.dom.TagName(\"KBD\");\ngoog.dom.TagName.KEYGEN=new goog.dom.TagName(\"KEYGEN\");goog.dom.TagName.LABEL=new goog.dom.TagName(\"LABEL\");goog.dom.TagName.LEGEND=new goog.dom.TagName(\"LEGEND\");goog.dom.TagName.LI=new goog.dom.TagName(\"LI\");goog.dom.TagName.LINK=new goog.dom.TagName(\"LINK\");goog.dom.TagName.MAP=new goog.dom.TagName(\"MAP\");goog.dom.TagName.MARK=new goog.dom.TagName(\"MARK\");goog.dom.TagName.MATH=new goog.dom.TagName(\"MATH\");goog.dom.TagName.MENU=new goog.dom.TagName(\"MENU\");goog.dom.TagName.META=new goog.dom.TagName(\"META\");\ngoog.dom.TagName.METER=new goog.dom.TagName(\"METER\");goog.dom.TagName.NAV=new goog.dom.TagName(\"NAV\");goog.dom.TagName.NOFRAMES=new goog.dom.TagName(\"NOFRAMES\");goog.dom.TagName.NOSCRIPT=new goog.dom.TagName(\"NOSCRIPT\");goog.dom.TagName.OBJECT=new goog.dom.TagName(\"OBJECT\");goog.dom.TagName.OL=new goog.dom.TagName(\"OL\");goog.dom.TagName.OPTGROUP=new goog.dom.TagName(\"OPTGROUP\");goog.dom.TagName.OPTION=new goog.dom.TagName(\"OPTION\");goog.dom.TagName.OUTPUT=new goog.dom.TagName(\"OUTPUT\");\ngoog.dom.TagName.P=new goog.dom.TagName(\"P\");goog.dom.TagName.PARAM=new goog.dom.TagName(\"PARAM\");goog.dom.TagName.PRE=new goog.dom.TagName(\"PRE\");goog.dom.TagName.PROGRESS=new goog.dom.TagName(\"PROGRESS\");goog.dom.TagName.Q=new goog.dom.TagName(\"Q\");goog.dom.TagName.RP=new goog.dom.TagName(\"RP\");goog.dom.TagName.RT=new goog.dom.TagName(\"RT\");goog.dom.TagName.RUBY=new goog.dom.TagName(\"RUBY\");goog.dom.TagName.S=new goog.dom.TagName(\"S\");goog.dom.TagName.SAMP=new goog.dom.TagName(\"SAMP\");\ngoog.dom.TagName.SCRIPT=new goog.dom.TagName(\"SCRIPT\");goog.dom.TagName.SECTION=new goog.dom.TagName(\"SECTION\");goog.dom.TagName.SELECT=new goog.dom.TagName(\"SELECT\");goog.dom.TagName.SMALL=new goog.dom.TagName(\"SMALL\");goog.dom.TagName.SOURCE=new goog.dom.TagName(\"SOURCE\");goog.dom.TagName.SPAN=new goog.dom.TagName(\"SPAN\");goog.dom.TagName.STRIKE=new goog.dom.TagName(\"STRIKE\");goog.dom.TagName.STRONG=new goog.dom.TagName(\"STRONG\");goog.dom.TagName.STYLE=new goog.dom.TagName(\"STYLE\");\ngoog.dom.TagName.SUB=new goog.dom.TagName(\"SUB\");goog.dom.TagName.SUMMARY=new goog.dom.TagName(\"SUMMARY\");goog.dom.TagName.SUP=new goog.dom.TagName(\"SUP\");goog.dom.TagName.SVG=new goog.dom.TagName(\"SVG\");goog.dom.TagName.TABLE=new goog.dom.TagName(\"TABLE\");goog.dom.TagName.TBODY=new goog.dom.TagName(\"TBODY\");goog.dom.TagName.TD=new goog.dom.TagName(\"TD\");goog.dom.TagName.TEMPLATE=new goog.dom.TagName(\"TEMPLATE\");goog.dom.TagName.TEXTAREA=new goog.dom.TagName(\"TEXTAREA\");goog.dom.TagName.TFOOT=new goog.dom.TagName(\"TFOOT\");\ngoog.dom.TagName.TH=new goog.dom.TagName(\"TH\");goog.dom.TagName.THEAD=new goog.dom.TagName(\"THEAD\");goog.dom.TagName.TIME=new goog.dom.TagName(\"TIME\");goog.dom.TagName.TITLE=new goog.dom.TagName(\"TITLE\");goog.dom.TagName.TR=new goog.dom.TagName(\"TR\");goog.dom.TagName.TRACK=new goog.dom.TagName(\"TRACK\");goog.dom.TagName.TT=new goog.dom.TagName(\"TT\");goog.dom.TagName.U=new goog.dom.TagName(\"U\");goog.dom.TagName.UL=new goog.dom.TagName(\"UL\");goog.dom.TagName.VAR=new goog.dom.TagName(\"VAR\");\ngoog.dom.TagName.VIDEO=new goog.dom.TagName(\"VIDEO\");goog.dom.TagName.WBR=new goog.dom.TagName(\"WBR\");goog.functions={};goog.functions.constant=function(a){return function(){return a}};goog.functions.FALSE=goog.functions.constant(!1);goog.functions.TRUE=goog.functions.constant(!0);goog.functions.NULL=goog.functions.constant(null);goog.functions.identity=function(a,b){return a};goog.functions.error=function(a){return function(){throw Error(a);}};goog.functions.fail=function(a){return function(){throw a;}};\ngoog.functions.lock=function(a,b){b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}};goog.functions.nth=function(a){return function(){return arguments[a]}};goog.functions.partialRight=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=Array.prototype.slice.call(arguments);b.push.apply(b,c);return a.apply(this,b)}};goog.functions.withReturnValue=function(a,b){return goog.functions.sequence(a,goog.functions.constant(b))};\ngoog.functions.equalTo=function(a,b){return function(c){return b?a==c:a===c}};goog.functions.compose=function(a,b){var c=arguments,d=c.length;return function(){var a;d&&(a=c[d-1].apply(this,arguments));for(var b=d-2;0<=b;b--)a=c[b].call(this,a);return a}};goog.functions.sequence=function(a){var b=arguments,c=b.length;return function(){for(var a,e=0;e<c;e++)a=b[e].apply(this,arguments);return a}};\ngoog.functions.and=function(a){var b=arguments,c=b.length;return function(){for(var a=0;a<c;a++)if(!b[a].apply(this,arguments))return!1;return!0}};goog.functions.or=function(a){var b=arguments,c=b.length;return function(){for(var a=0;a<c;a++)if(b[a].apply(this,arguments))return!0;return!1}};goog.functions.not=function(a){return function(){return!a.apply(this,arguments)}};\ngoog.functions.create=function(a,b){var c=function(){};c.prototype=a.prototype;c=new c;a.apply(c,Array.prototype.slice.call(arguments,1));return c};goog.functions.CACHE_RETURN_VALUE=!0;goog.functions.cacheReturnValue=function(a){var b=!1,c;return function(){if(!goog.functions.CACHE_RETURN_VALUE)return a();b||(c=a(),b=!0);return c}};goog.functions.once=function(a){var b=a;return function(){if(b){var a=b;b=null;a()}}};\ngoog.functions.debounce=function(a,b,c){var d=0;return function(e){goog.global.clearTimeout(d);var f=arguments;d=goog.global.setTimeout(function(){a.apply(c,f)},b)}};goog.functions.throttle=function(a,b,c){var d=0,e=!1,f=[],g=function(){d=0;e&&(e=!1,h())},h=function(){d=goog.global.setTimeout(g,b);a.apply(c,f)};return function(a){f=arguments;d?e=!0:h()}};goog.functions.rateLimit=function(a,b,c){var d=0,e=function(){d=0};return function(f){d||(d=goog.global.setTimeout(e,b),a.apply(c,arguments))}};goog.async.throwException=function(a){goog.global.setTimeout(function(){throw a;},0)};goog.async.nextTick=function(a,b,c){var d=a;b&&(d=goog.bind(a,b));d=goog.async.nextTick.wrapCallback_(d);goog.isFunction(goog.global.setImmediate)&&(c||goog.async.nextTick.useSetImmediate_())?goog.global.setImmediate(d):(goog.async.nextTick.setImmediate_||(goog.async.nextTick.setImmediate_=goog.async.nextTick.getSetImmediateEmulator_()),goog.async.nextTick.setImmediate_(d))};\ngoog.async.nextTick.useSetImmediate_=function(){return goog.global.Window&&goog.global.Window.prototype&&!goog.labs.userAgent.browser.isEdge()&&goog.global.Window.prototype.setImmediate==goog.global.setImmediate?!1:!0};\ngoog.async.nextTick.getSetImmediateEmulator_=function(){var a=goog.global.MessageChannel;\"undefined\"===typeof a&&\"undefined\"!==typeof window&&window.postMessage&&window.addEventListener&&!goog.labs.userAgent.engine.isPresto()&&(a=function(){var a=document.createElement(\"IFRAME\");a.style.display=\"none\";a.src=\"\";document.documentElement.appendChild(a);var b=a.contentWindow;a=b.document;a.open();a.write(\"\");a.close();var c=\"callImmediate\"+Math.random(),d=\"file:\"==b.location.protocol?\"*\":b.location.protocol+\n\"//\"+b.location.host;a=goog.bind(function(a){if((\"*\"==d||a.origin==d)&&a.data==c)this.port1.onmessage()},this);b.addEventListener(\"message\",a,!1);this.port1={};this.port2={postMessage:function(){b.postMessage(c,d)}}});if(\"undefined\"!==typeof a&&!goog.labs.userAgent.browser.isIE()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(goog.isDef(c.next)){c=c.next;var a=c.cb;c.cb=null;a()}};return function(a){d.next={cb:a};d=d.next;b.port2.postMessage(0)}}return\"undefined\"!==typeof document&&\"onreadystatechange\"in\ndocument.createElement(\"SCRIPT\")?function(a){var b=document.createElement(\"SCRIPT\");b.onreadystatechange=function(){b.onreadystatechange=null;b.parentNode.removeChild(b);b=null;a();a=null};document.documentElement.appendChild(b)}:function(a){goog.global.setTimeout(a,0)}};goog.async.nextTick.wrapCallback_=goog.functions.identity;goog.debug.entryPointRegistry.register(function(a){goog.async.nextTick.wrapCallback_=a});goog.async.run=function(a,b){goog.async.run.schedule_||goog.async.run.initializeRunner_();goog.async.run.workQueueScheduled_||(goog.async.run.schedule_(),goog.async.run.workQueueScheduled_=!0);goog.async.run.workQueue_.add(a,b)};goog.async.run.initializeRunner_=function(){if(-1!=String(goog.global.Promise).indexOf(\"[native code]\")){var a=goog.global.Promise.resolve(void 0);goog.async.run.schedule_=function(){a.then(goog.async.run.processWorkQueue)}}else goog.async.run.schedule_=function(){goog.async.nextTick(goog.async.run.processWorkQueue)}};\ngoog.async.run.forceNextTick=function(a){goog.async.run.schedule_=function(){goog.async.nextTick(goog.async.run.processWorkQueue);a&&a(goog.async.run.processWorkQueue)}};goog.async.run.workQueueScheduled_=!1;goog.async.run.workQueue_=new goog.async.WorkQueue;goog.DEBUG&&(goog.async.run.resetQueue=function(){goog.async.run.workQueueScheduled_=!1;goog.async.run.workQueue_=new goog.async.WorkQueue});\ngoog.async.run.processWorkQueue=function(){for(var a;a=goog.async.run.workQueue_.remove();){try{a.fn.call(a.scope)}catch(b){goog.async.throwException(b)}goog.async.run.workQueue_.returnUnused(a)}goog.async.run.workQueueScheduled_=!1};goog.promise={};goog.promise.Resolver=function(){};goog.Promise=function(a,b){this.state_=goog.Promise.State_.PENDING;this.result_=void 0;this.callbackEntriesTail_=this.callbackEntries_=this.parent_=null;this.executing_=!1;0<goog.Promise.UNHANDLED_REJECTION_DELAY?this.unhandledRejectionId_=0:0==goog.Promise.UNHANDLED_REJECTION_DELAY&&(this.hadUnhandledRejection_=!1);goog.Promise.LONG_STACK_TRACES&&(this.stack_=[],this.addStackTrace_(Error(\"created\")),this.currentStep_=0);if(a!=goog.nullFunction)try{var c=this;a.call(b,function(a){c.resolve_(goog.Promise.State_.FULFILLED,\na)},function(a){if(goog.DEBUG&&!(a instanceof goog.Promise.CancellationError))try{if(a instanceof Error)throw a;throw Error(\"Promise rejected.\");}catch(e){}c.resolve_(goog.Promise.State_.REJECTED,a)})}catch(d){this.resolve_(goog.Promise.State_.REJECTED,d)}};goog.Promise.LONG_STACK_TRACES=!1;goog.Promise.UNHANDLED_REJECTION_DELAY=0;goog.Promise.State_={PENDING:0,BLOCKED:1,FULFILLED:2,REJECTED:3};\ngoog.Promise.CallbackEntry_=function(){this.next=this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};goog.Promise.CallbackEntry_.prototype.reset=function(){this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};goog.Promise.DEFAULT_MAX_UNUSED=100;goog.Promise.freelist_=new goog.async.FreeList(function(){return new goog.Promise.CallbackEntry_},function(a){a.reset()},goog.Promise.DEFAULT_MAX_UNUSED);\ngoog.Promise.getCallbackEntry_=function(a,b,c){var d=goog.Promise.freelist_.get();d.onFulfilled=a;d.onRejected=b;d.context=c;return d};goog.Promise.returnEntry_=function(a){goog.Promise.freelist_.put(a)};goog.Promise.resolve=function(a){if(a instanceof goog.Promise)return a;var b=new goog.Promise(goog.nullFunction);b.resolve_(goog.Promise.State_.FULFILLED,a);return b};goog.Promise.reject=function(a){return new goog.Promise(function(b,c){c(a)})};\ngoog.Promise.resolveThen_=function(a,b,c){goog.Promise.maybeThen_(a,b,c,null)||goog.async.run(goog.partial(b,a))};goog.Promise.race=function(a){return new goog.Promise(function(b,c){a.length||b(void 0);for(var d=0,e;d<a.length;d++)e=a[d],goog.Promise.resolveThen_(e,b,c)})};\ngoog.Promise.all=function(a){return new goog.Promise(function(b,c){var d=a.length,e=[];if(d)for(var f=function(a,c){d--;e[a]=c;0==d&&b(e)},g=function(a){c(a)},h=0,k;h<a.length;h++)k=a[h],goog.Promise.resolveThen_(k,goog.partial(f,h),g);else b(e)})};\ngoog.Promise.allSettled=function(a){return new goog.Promise(function(b,c){var d=a.length,e=[];if(d)for(var f=function(a,c,f){d--;e[a]=c?{fulfilled:!0,value:f}:{fulfilled:!1,reason:f};0==d&&b(e)},g=0,h;g<a.length;g++)h=a[g],goog.Promise.resolveThen_(h,goog.partial(f,g,!0),goog.partial(f,g,!1));else b(e)})};\ngoog.Promise.firstFulfilled=function(a){return new goog.Promise(function(b,c){var d=a.length,e=[];if(d)for(var f=function(a){b(a)},g=function(a,b){d--;e[a]=b;0==d&&c(e)},h=0,k;h<a.length;h++)k=a[h],goog.Promise.resolveThen_(k,f,goog.partial(g,h));else b(void 0)})};goog.Promise.withResolver=function(){var a,b,c=new goog.Promise(function(c,e){a=c;b=e});return new goog.Promise.Resolver_(c,a,b)};\ngoog.Promise.prototype.then=function(a,b,c){null!=a&&goog.asserts.assertFunction(a,\"opt_onFulfilled should be a function.\");null!=b&&goog.asserts.assertFunction(b,\"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?\");goog.Promise.LONG_STACK_TRACES&&this.addStackTrace_(Error(\"then\"));return this.addChildPromise_(goog.isFunction(a)?a:null,goog.isFunction(b)?b:null,c)};goog.Thenable.addImplementation(goog.Promise);\ngoog.Promise.prototype.thenVoid=function(a,b,c){null!=a&&goog.asserts.assertFunction(a,\"opt_onFulfilled should be a function.\");null!=b&&goog.asserts.assertFunction(b,\"opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?\");goog.Promise.LONG_STACK_TRACES&&this.addStackTrace_(Error(\"then\"));this.addCallbackEntry_(goog.Promise.getCallbackEntry_(a||goog.nullFunction,b||null,c))};\ngoog.Promise.prototype.thenAlways=function(a,b){goog.Promise.LONG_STACK_TRACES&&this.addStackTrace_(Error(\"thenAlways\"));var c=goog.Promise.getCallbackEntry_(a,a,b);c.always=!0;this.addCallbackEntry_(c);return this};goog.Promise.prototype.thenCatch=function(a,b){goog.Promise.LONG_STACK_TRACES&&this.addStackTrace_(Error(\"thenCatch\"));return this.addChildPromise_(null,a,b)};\ngoog.Promise.prototype.cancel=function(a){this.state_==goog.Promise.State_.PENDING&&goog.async.run(function(){var b=new goog.Promise.CancellationError(a);this.cancelInternal_(b)},this)};goog.Promise.prototype.cancelInternal_=function(a){this.state_==goog.Promise.State_.PENDING&&(this.parent_?(this.parent_.cancelChild_(this,a),this.parent_=null):this.resolve_(goog.Promise.State_.REJECTED,a))};\ngoog.Promise.prototype.cancelChild_=function(a,b){if(this.callbackEntries_){for(var c=0,d=null,e=null,f=this.callbackEntries_;f&&(f.always||(c++,f.child==a&&(d=f),!(d&&1<c)));f=f.next)d||(e=f);d&&(this.state_==goog.Promise.State_.PENDING&&1==c?this.cancelInternal_(b):(e?this.removeEntryAfter_(e):this.popEntry_(),this.executeCallback_(d,goog.Promise.State_.REJECTED,b)))}};\ngoog.Promise.prototype.addCallbackEntry_=function(a){this.hasEntry_()||this.state_!=goog.Promise.State_.FULFILLED&&this.state_!=goog.Promise.State_.REJECTED||this.scheduleCallbacks_();this.queueEntry_(a)};\ngoog.Promise.prototype.addChildPromise_=function(a,b,c){var d=goog.Promise.getCallbackEntry_(null,null,null);d.child=new goog.Promise(function(e,f){d.onFulfilled=a?function(b){try{var d=a.call(c,b);e(d)}catch(k){f(k)}}:e;d.onRejected=b?function(a){try{var d=b.call(c,a);!goog.isDef(d)&&a instanceof goog.Promise.CancellationError?f(a):e(d)}catch(k){f(k)}}:f});d.child.parent_=this;this.addCallbackEntry_(d);return d.child};\ngoog.Promise.prototype.unblockAndFulfill_=function(a){goog.asserts.assert(this.state_==goog.Promise.State_.BLOCKED);this.state_=goog.Promise.State_.PENDING;this.resolve_(goog.Promise.State_.FULFILLED,a)};goog.Promise.prototype.unblockAndReject_=function(a){goog.asserts.assert(this.state_==goog.Promise.State_.BLOCKED);this.state_=goog.Promise.State_.PENDING;this.resolve_(goog.Promise.State_.REJECTED,a)};\ngoog.Promise.prototype.resolve_=function(a,b){this.state_==goog.Promise.State_.PENDING&&(this===b&&(a=goog.Promise.State_.REJECTED,b=new TypeError(\"Promise cannot resolve to itself\")),this.state_=goog.Promise.State_.BLOCKED,goog.Promise.maybeThen_(b,this.unblockAndFulfill_,this.unblockAndReject_,this)||(this.result_=b,this.state_=a,this.parent_=null,this.scheduleCallbacks_(),a!=goog.Promise.State_.REJECTED||b instanceof goog.Promise.CancellationError||goog.Promise.addUnhandledRejection_(this,b)))};\ngoog.Promise.maybeThen_=function(a,b,c,d){if(a instanceof goog.Promise)return a.thenVoid(b,c,d),!0;if(goog.Thenable.isImplementedBy(a))return a.then(b,c,d),!0;if(goog.isObject(a))try{var e=a.then;if(goog.isFunction(e))return goog.Promise.tryThen_(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1};goog.Promise.tryThen_=function(a,b,c,d,e){var f=!1,g=function(a){f||(f=!0,c.call(e,a))},h=function(a){f||(f=!0,d.call(e,a))};try{b.call(a,g,h)}catch(k){h(k)}};\ngoog.Promise.prototype.scheduleCallbacks_=function(){this.executing_||(this.executing_=!0,goog.async.run(this.executeCallbacks_,this))};goog.Promise.prototype.hasEntry_=function(){return!!this.callbackEntries_};goog.Promise.prototype.queueEntry_=function(a){goog.asserts.assert(null!=a.onFulfilled);this.callbackEntriesTail_?this.callbackEntriesTail_.next=a:this.callbackEntries_=a;this.callbackEntriesTail_=a};\ngoog.Promise.prototype.popEntry_=function(){var a=null;this.callbackEntries_&&(a=this.callbackEntries_,this.callbackEntries_=a.next,a.next=null);this.callbackEntries_||(this.callbackEntriesTail_=null);null!=a&&goog.asserts.assert(null!=a.onFulfilled);return a};goog.Promise.prototype.removeEntryAfter_=function(a){goog.asserts.assert(this.callbackEntries_);goog.asserts.assert(null!=a);a.next==this.callbackEntriesTail_&&(this.callbackEntriesTail_=a);a.next=a.next.next};\ngoog.Promise.prototype.executeCallbacks_=function(){for(var a;a=this.popEntry_();)goog.Promise.LONG_STACK_TRACES&&this.currentStep_++,this.executeCallback_(a,this.state_,this.result_);this.executing_=!1};\ngoog.Promise.prototype.executeCallback_=function(a,b,c){b==goog.Promise.State_.REJECTED&&a.onRejected&&!a.always&&this.removeUnhandledRejection_();if(a.child)a.child.parent_=null,goog.Promise.invokeCallback_(a,b,c);else try{a.always?a.onFulfilled.call(a.context):goog.Promise.invokeCallback_(a,b,c)}catch(d){goog.Promise.handleRejection_.call(null,d)}goog.Promise.returnEntry_(a)};\ngoog.Promise.invokeCallback_=function(a,b,c){b==goog.Promise.State_.FULFILLED?a.onFulfilled.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)};goog.Promise.prototype.addStackTrace_=function(a){if(goog.Promise.LONG_STACK_TRACES&&goog.isString(a.stack)){var b=a.stack.split(\"\\n\",4)[3];a=a.message;a+=Array(11-a.length).join(\" \");this.stack_.push(a+b)}};\ngoog.Promise.prototype.appendLongStack_=function(a){if(goog.Promise.LONG_STACK_TRACES&&a&&goog.isString(a.stack)&&this.stack_.length){for(var b=[\"Promise trace:\"],c=this;c;c=c.parent_){for(var d=this.currentStep_;0<=d;d--)b.push(c.stack_[d]);b.push(\"Value: [\"+(c.state_==goog.Promise.State_.REJECTED?\"REJECTED\":\"FULFILLED\")+\"] <\"+String(c.result_)+\">\")}a.stack+=\"\\n\\n\"+b.join(\"\\n\")}};\ngoog.Promise.prototype.removeUnhandledRejection_=function(){if(0<goog.Promise.UNHANDLED_REJECTION_DELAY)for(var a=this;a&&a.unhandledRejectionId_;a=a.parent_)goog.global.clearTimeout(a.unhandledRejectionId_),a.unhandledRejectionId_=0;else if(0==goog.Promise.UNHANDLED_REJECTION_DELAY)for(a=this;a&&a.hadUnhandledRejection_;a=a.parent_)a.hadUnhandledRejection_=!1};\ngoog.Promise.addUnhandledRejection_=function(a,b){0<goog.Promise.UNHANDLED_REJECTION_DELAY?a.unhandledRejectionId_=goog.global.setTimeout(function(){a.appendLongStack_(b);goog.Promise.handleRejection_.call(null,b)},goog.Promise.UNHANDLED_REJECTION_DELAY):0==goog.Promise.UNHANDLED_REJECTION_DELAY&&(a.hadUnhandledRejection_=!0,goog.async.run(function(){a.hadUnhandledRejection_&&(a.appendLongStack_(b),goog.Promise.handleRejection_.call(null,b))}))};goog.Promise.handleRejection_=goog.async.throwException;\ngoog.Promise.setUnhandledRejectionHandler=function(a){goog.Promise.handleRejection_=a};goog.Promise.CancellationError=function(a){goog.debug.Error.call(this,a)};goog.inherits(goog.Promise.CancellationError,goog.debug.Error);goog.Promise.CancellationError.prototype.name=\"cancel\";goog.Promise.Resolver_=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};goog.disposable={};goog.disposable.IDisposable=function(){};goog.disposable.IDisposable.prototype.dispose=goog.abstractMethod;goog.disposable.IDisposable.prototype.isDisposed=goog.abstractMethod;goog.Disposable=function(){goog.Disposable.MONITORING_MODE!=goog.Disposable.MonitoringMode.OFF&&(goog.Disposable.INCLUDE_STACK_ON_CREATION&&(this.creationStack=Error().stack),goog.Disposable.instances_[goog.getUid(this)]=this);this.disposed_=this.disposed_;this.onDisposeCallbacks_=this.onDisposeCallbacks_};goog.Disposable.MonitoringMode={OFF:0,PERMANENT:1,INTERACTIVE:2};goog.Disposable.MONITORING_MODE=0;goog.Disposable.INCLUDE_STACK_ON_CREATION=!0;goog.Disposable.instances_={};\ngoog.Disposable.getUndisposedObjects=function(){var a=[],b;for(b in goog.Disposable.instances_)goog.Disposable.instances_.hasOwnProperty(b)&&a.push(goog.Disposable.instances_[Number(b)]);return a};goog.Disposable.clearUndisposedObjects=function(){goog.Disposable.instances_={}};goog.Disposable.prototype.disposed_=!1;goog.Disposable.prototype.isDisposed=function(){return this.disposed_};goog.Disposable.prototype.getDisposed=goog.Disposable.prototype.isDisposed;\ngoog.Disposable.prototype.dispose=function(){if(!this.disposed_&&(this.disposed_=!0,this.disposeInternal(),goog.Disposable.MONITORING_MODE!=goog.Disposable.MonitoringMode.OFF)){var a=goog.getUid(this);if(goog.Disposable.MONITORING_MODE==goog.Disposable.MonitoringMode.PERMANENT&&!goog.Disposable.instances_.hasOwnProperty(a))throw Error(this+\" did not call the goog.Disposable base constructor or was disposed of after a clearUndisposedObjects call\");delete goog.Disposable.instances_[a]}};\ngoog.Disposable.prototype.registerDisposable=function(a){this.addOnDisposeCallback(goog.partial(goog.dispose,a))};goog.Disposable.prototype.addOnDisposeCallback=function(a,b){this.disposed_?goog.isDef(b)?a.call(b):a():(this.onDisposeCallbacks_||(this.onDisposeCallbacks_=[]),this.onDisposeCallbacks_.push(goog.isDef(b)?goog.bind(a,b):a))};goog.Disposable.prototype.disposeInternal=function(){if(this.onDisposeCallbacks_)for(;this.onDisposeCallbacks_.length;)this.onDisposeCallbacks_.shift()()};\ngoog.Disposable.isDisposed=function(a){return a&&\"function\"==typeof a.isDisposed?a.isDisposed():!1};goog.dispose=function(a){a&&\"function\"==typeof a.dispose&&a.dispose()};goog.disposeAll=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];goog.isArrayLike(d)?goog.disposeAll.apply(null,d):goog.dispose(d)}};goog.debug.errorcontext={};goog.debug.errorcontext.addErrorContext=function(a,b,c){a[goog.debug.errorcontext.CONTEXT_KEY_]||(a[goog.debug.errorcontext.CONTEXT_KEY_]={});a[goog.debug.errorcontext.CONTEXT_KEY_][b]=c};goog.debug.errorcontext.getErrorContext=function(a){return a[goog.debug.errorcontext.CONTEXT_KEY_]||{}};goog.debug.errorcontext.CONTEXT_KEY_=\"__closure__error__context__984382\";goog.debug.LOGGING_ENABLED=goog.DEBUG;goog.debug.FORCE_SLOPPY_STACKS=!1;goog.debug.catchErrors=function(a,b,c){c=c||goog.global;var d=c.onerror,e=!!b;goog.userAgent.WEBKIT&&!goog.userAgent.isVersionOrHigher(\"535.3\")&&(e=!e);c.onerror=function(b,c,h,k,n){d&&d(b,c,h,k,n);a({message:b,fileName:c,line:h,col:k,error:n});return e}};\ngoog.debug.expose=function(a,b){if(\"undefined\"==typeof a)return\"undefined\";if(null==a)return\"NULL\";var c=[],d;for(d in a)if(b||!goog.isFunction(a[d])){var e=d+\" = \";try{e+=a[d]}catch(f){e+=\"*** \"+f+\" ***\"}c.push(e)}return c.join(\"\\n\")};\ngoog.debug.deepExpose=function(a,b){var c=[],d=[],e={},f=function(a,g){var h=g+\"  \";try{if(goog.isDef(a))if(goog.isNull(a))c.push(\"NULL\");else if(goog.isString(a))c.push('\"'+a.replace(/\\n/g,\"\\n\"+g)+'\"');else if(goog.isFunction(a))c.push(String(a).replace(/\\n/g,\"\\n\"+g));else if(goog.isObject(a)){goog.hasUid(a)||d.push(a);var k=goog.getUid(a);if(e[k])c.push(\"*** reference loop detected (id=\"+k+\") ***\");else{e[k]=!0;c.push(\"{\");for(var l in a)if(b||!goog.isFunction(a[l]))c.push(\"\\n\"),c.push(h),c.push(l+\n\" = \"),f(a[l],h);c.push(\"\\n\"+g+\"}\");delete e[k]}}else c.push(a);else c.push(\"undefined\")}catch(m){c.push(\"*** \"+m+\" ***\")}};f(a,\"\");for(var g=0;g<d.length;g++)goog.removeUid(d[g]);return c.join(\"\")};goog.debug.exposeArray=function(a){for(var b=[],c=0;c<a.length;c++)goog.isArray(a[c])?b.push(goog.debug.exposeArray(a[c])):b.push(a[c]);return\"[ \"+b.join(\", \")+\" ]\"};\ngoog.debug.normalizeErrorObject=function(a){var b=goog.getObjectByName(\"window.location.href\");if(goog.isString(a))return{message:a,name:\"Unknown error\",lineNumber:\"Not available\",fileName:b,stack:\"Not available\"};var c=!1;try{var d=a.lineNumber||a.line||\"Not available\"}catch(f){d=\"Not available\",c=!0}try{var e=a.fileName||a.filename||a.sourceURL||goog.global.$googDebugFname||b}catch(f){e=\"Not available\",c=!0}return!c&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name?a:{message:a.message||\"Not available\",\nname:a.name||\"UnknownError\",lineNumber:d,fileName:e,stack:a.stack||\"Not available\"}};goog.debug.enhanceError=function(a,b){if(a instanceof Error)var c=a;else c=Error(a),Error.captureStackTrace&&Error.captureStackTrace(c,goog.debug.enhanceError);c.stack||(c.stack=goog.debug.getStacktrace(goog.debug.enhanceError));if(b){for(var d=0;c[\"message\"+d];)++d;c[\"message\"+d]=String(b)}return c};\ngoog.debug.enhanceErrorWithContext=function(a,b){var c=goog.debug.enhanceError(a);if(b)for(var d in b)goog.debug.errorcontext.addErrorContext(c,d,b[d]);return c};\ngoog.debug.getStacktraceSimple=function(a){if(!goog.debug.FORCE_SLOPPY_STACKS){var b=goog.debug.getNativeStackTrace_(goog.debug.getStacktraceSimple);if(b)return b}b=[];for(var c=arguments.callee.caller,d=0;c&&(!a||d<a);){b.push(goog.debug.getFunctionName(c));b.push(\"()\\n\");try{c=c.caller}catch(e){b.push(\"[exception trying to get caller]\\n\");break}d++;if(d>=goog.debug.MAX_STACK_DEPTH){b.push(\"[...long stack...]\");break}}a&&d>=a?b.push(\"[...reached max depth limit...]\"):b.push(\"[end]\");return b.join(\"\")};\ngoog.debug.MAX_STACK_DEPTH=50;goog.debug.getNativeStackTrace_=function(a){var b=Error();if(Error.captureStackTrace)return Error.captureStackTrace(b,a),String(b.stack);try{throw b;}catch(c){b=c}return(a=b.stack)?String(a):null};goog.debug.getStacktrace=function(a){var b;goog.debug.FORCE_SLOPPY_STACKS||(b=goog.debug.getNativeStackTrace_(a||goog.debug.getStacktrace));b||(b=goog.debug.getStacktraceHelper_(a||arguments.callee.caller,[]));return b};\ngoog.debug.getStacktraceHelper_=function(a,b){var c=[];if(goog.array.contains(b,a))c.push(\"[...circular reference...]\");else if(a&&b.length<goog.debug.MAX_STACK_DEPTH){c.push(goog.debug.getFunctionName(a)+\"(\");for(var d=a.arguments,e=0;d&&e<d.length;e++){0<e&&c.push(\", \");var f=d[e];switch(typeof f){case \"object\":f=f?\"object\":\"null\";break;case \"string\":break;case \"number\":f=String(f);break;case \"boolean\":f=f?\"true\":\"false\";break;case \"function\":f=(f=goog.debug.getFunctionName(f))?f:\"[fn]\";break;default:f=\ntypeof f}40<f.length&&(f=f.substr(0,40)+\"...\");c.push(f)}b.push(a);c.push(\")\\n\");try{c.push(goog.debug.getStacktraceHelper_(a.caller,b))}catch(g){c.push(\"[exception trying to get caller]\\n\")}}else a?c.push(\"[...long stack...]\"):c.push(\"[end]\");return c.join(\"\")};goog.debug.setFunctionResolver=function(a){goog.debug.fnNameResolver_=a};\ngoog.debug.getFunctionName=function(a){if(goog.debug.fnNameCache_[a])return goog.debug.fnNameCache_[a];if(goog.debug.fnNameResolver_){var b=goog.debug.fnNameResolver_(a);if(b)return goog.debug.fnNameCache_[a]=b}a=String(a);goog.debug.fnNameCache_[a]||(b=/function ([^\\(]+)/.exec(a),goog.debug.fnNameCache_[a]=b?b[1]:\"[Anonymous]\");return goog.debug.fnNameCache_[a]};\ngoog.debug.makeWhitespaceVisible=function(a){return a.replace(/ /g,\"[_]\").replace(/\\f/g,\"[f]\").replace(/\\n/g,\"[n]\\n\").replace(/\\r/g,\"[r]\").replace(/\\t/g,\"[t]\")};goog.debug.runtimeType=function(a){return a instanceof Function?a.displayName||a.name||\"unknown type name\":a instanceof Object?a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a):null===a?\"null\":typeof a};goog.debug.fnNameCache_={};goog.debug.freezeInternal_=goog.DEBUG&&Object.freeze||function(a){return a};\ngoog.debug.freeze=function(a){return goog.debug.freezeInternal_(a)};goog.events={};$jscomp.scope.purify=function(a){return a()};\ngoog.events.BrowserFeature={HAS_W3C_BUTTON:!goog.userAgent.IE||goog.userAgent.isDocumentModeOrHigher(9),HAS_W3C_EVENT_SUPPORT:!goog.userAgent.IE||goog.userAgent.isDocumentModeOrHigher(9),SET_KEY_CODE_TO_PREVENT_DEFAULT:goog.userAgent.IE&&!goog.userAgent.isVersionOrHigher(\"9\"),HAS_NAVIGATOR_ONLINE_PROPERTY:!goog.userAgent.WEBKIT||goog.userAgent.isVersionOrHigher(\"528\"),HAS_HTML5_NETWORK_EVENT_SUPPORT:goog.userAgent.GECKO&&goog.userAgent.isVersionOrHigher(\"1.9b\")||goog.userAgent.IE&&goog.userAgent.isVersionOrHigher(\"8\")||\ngoog.userAgent.OPERA&&goog.userAgent.isVersionOrHigher(\"9.5\")||goog.userAgent.WEBKIT&&goog.userAgent.isVersionOrHigher(\"528\"),HTML5_NETWORK_EVENTS_FIRE_ON_BODY:goog.userAgent.GECKO&&!goog.userAgent.isVersionOrHigher(\"8\")||goog.userAgent.IE&&!goog.userAgent.isVersionOrHigher(\"9\"),TOUCH_ENABLED:\"ontouchstart\"in goog.global||!!(goog.global.document&&document.documentElement&&\"ontouchstart\"in document.documentElement)||!(!goog.global.navigator||!goog.global.navigator.maxTouchPoints&&!goog.global.navigator.msMaxTouchPoints),\nPOINTER_EVENTS:\"PointerEvent\"in goog.global,MSPOINTER_EVENTS:\"MSPointerEvent\"in goog.global&&!(!goog.global.navigator||!goog.global.navigator.msPointerEnabled),PASSIVE_EVENTS:(0,$jscomp.scope.purify)(function(){if(!goog.global.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},\"passive\",{get:function(){a=!0}});goog.global.addEventListener(\"test\",goog.nullFunction,b);goog.global.removeEventListener(\"test\",goog.nullFunction,b);return a})};goog.events.EventId=function(a){this.id=a};goog.events.EventId.prototype.toString=function(){return this.id};goog.events.Event=function(a,b){this.type=a instanceof goog.events.EventId?String(a):a;this.currentTarget=this.target=b;this.defaultPrevented=this.propagationStopped_=!1;this.returnValue_=!0};goog.events.Event.prototype.stopPropagation=function(){this.propagationStopped_=!0};goog.events.Event.prototype.preventDefault=function(){this.defaultPrevented=!0;this.returnValue_=!1};goog.events.Event.stopPropagation=function(a){a.stopPropagation()};goog.events.Event.preventDefault=function(a){a.preventDefault()};goog.events.getVendorPrefixedName_=function(a){return goog.userAgent.WEBKIT?\"webkit\"+a:goog.userAgent.OPERA?\"o\"+a.toLowerCase():a.toLowerCase()};\ngoog.events.EventType={CLICK:\"click\",RIGHTCLICK:\"rightclick\",DBLCLICK:\"dblclick\",MOUSEDOWN:\"mousedown\",MOUSEUP:\"mouseup\",MOUSEOVER:\"mouseover\",MOUSEOUT:\"mouseout\",MOUSEMOVE:\"mousemove\",MOUSEENTER:\"mouseenter\",MOUSELEAVE:\"mouseleave\",SELECTIONCHANGE:\"selectionchange\",SELECTSTART:\"selectstart\",WHEEL:\"wheel\",KEYPRESS:\"keypress\",KEYDOWN:\"keydown\",KEYUP:\"keyup\",BLUR:\"blur\",FOCUS:\"focus\",DEACTIVATE:\"deactivate\",FOCUSIN:goog.userAgent.IE?\"focusin\":\"DOMFocusIn\",FOCUSOUT:goog.userAgent.IE?\"focusout\":\"DOMFocusOut\",\nCHANGE:\"change\",RESET:\"reset\",SELECT:\"select\",SUBMIT:\"submit\",INPUT:\"input\",PROPERTYCHANGE:\"propertychange\",DRAGSTART:\"dragstart\",DRAG:\"drag\",DRAGENTER:\"dragenter\",DRAGOVER:\"dragover\",DRAGLEAVE:\"dragleave\",DROP:\"drop\",DRAGEND:\"dragend\",TOUCHSTART:\"touchstart\",TOUCHMOVE:\"touchmove\",TOUCHEND:\"touchend\",TOUCHCANCEL:\"touchcancel\",BEFOREUNLOAD:\"beforeunload\",CONSOLEMESSAGE:\"consolemessage\",CONTEXTMENU:\"contextmenu\",DEVICEMOTION:\"devicemotion\",DEVICEORIENTATION:\"deviceorientation\",DOMCONTENTLOADED:\"DOMContentLoaded\",\nERROR:\"error\",HELP:\"help\",LOAD:\"load\",LOSECAPTURE:\"losecapture\",ORIENTATIONCHANGE:\"orientationchange\",READYSTATECHANGE:\"readystatechange\",RESIZE:\"resize\",SCROLL:\"scroll\",UNLOAD:\"unload\",CANPLAY:\"canplay\",CANPLAYTHROUGH:\"canplaythrough\",DURATIONCHANGE:\"durationchange\",EMPTIED:\"emptied\",ENDED:\"ended\",LOADEDDATA:\"loadeddata\",LOADEDMETADATA:\"loadedmetadata\",PAUSE:\"pause\",PLAY:\"play\",PLAYING:\"playing\",RATECHANGE:\"ratechange\",SEEKED:\"seeked\",SEEKING:\"seeking\",STALLED:\"stalled\",SUSPEND:\"suspend\",TIMEUPDATE:\"timeupdate\",\nVOLUMECHANGE:\"volumechange\",WAITING:\"waiting\",SOURCEOPEN:\"sourceopen\",SOURCEENDED:\"sourceended\",SOURCECLOSED:\"sourceclosed\",ABORT:\"abort\",UPDATE:\"update\",UPDATESTART:\"updatestart\",UPDATEEND:\"updateend\",HASHCHANGE:\"hashchange\",PAGEHIDE:\"pagehide\",PAGESHOW:\"pageshow\",POPSTATE:\"popstate\",COPY:\"copy\",PASTE:\"paste\",CUT:\"cut\",BEFORECOPY:\"beforecopy\",BEFORECUT:\"beforecut\",BEFOREPASTE:\"beforepaste\",ONLINE:\"online\",OFFLINE:\"offline\",MESSAGE:\"message\",CONNECT:\"connect\",INSTALL:\"install\",ACTIVATE:\"activate\",\nFETCH:\"fetch\",FOREIGNFETCH:\"foreignfetch\",MESSAGEERROR:\"messageerror\",STATECHANGE:\"statechange\",UPDATEFOUND:\"updatefound\",CONTROLLERCHANGE:\"controllerchange\",ANIMATIONSTART:goog.events.getVendorPrefixedName_(\"AnimationStart\"),ANIMATIONEND:goog.events.getVendorPrefixedName_(\"AnimationEnd\"),ANIMATIONITERATION:goog.events.getVendorPrefixedName_(\"AnimationIteration\"),TRANSITIONEND:goog.events.getVendorPrefixedName_(\"TransitionEnd\"),POINTERDOWN:\"pointerdown\",POINTERUP:\"pointerup\",POINTERCANCEL:\"pointercancel\",\nPOINTERMOVE:\"pointermove\",POINTEROVER:\"pointerover\",POINTEROUT:\"pointerout\",POINTERENTER:\"pointerenter\",POINTERLEAVE:\"pointerleave\",GOTPOINTERCAPTURE:\"gotpointercapture\",LOSTPOINTERCAPTURE:\"lostpointercapture\",MSGESTURECHANGE:\"MSGestureChange\",MSGESTUREEND:\"MSGestureEnd\",MSGESTUREHOLD:\"MSGestureHold\",MSGESTURESTART:\"MSGestureStart\",MSGESTURETAP:\"MSGestureTap\",MSGOTPOINTERCAPTURE:\"MSGotPointerCapture\",MSINERTIASTART:\"MSInertiaStart\",MSLOSTPOINTERCAPTURE:\"MSLostPointerCapture\",MSPOINTERCANCEL:\"MSPointerCancel\",\nMSPOINTERDOWN:\"MSPointerDown\",MSPOINTERENTER:\"MSPointerEnter\",MSPOINTERHOVER:\"MSPointerHover\",MSPOINTERLEAVE:\"MSPointerLeave\",MSPOINTERMOVE:\"MSPointerMove\",MSPOINTEROUT:\"MSPointerOut\",MSPOINTEROVER:\"MSPointerOver\",MSPOINTERUP:\"MSPointerUp\",TEXT:\"text\",TEXTINPUT:goog.userAgent.IE?\"textinput\":\"textInput\",COMPOSITIONSTART:\"compositionstart\",COMPOSITIONUPDATE:\"compositionupdate\",COMPOSITIONEND:\"compositionend\",BEFOREINPUT:\"beforeinput\",EXIT:\"exit\",LOADABORT:\"loadabort\",LOADCOMMIT:\"loadcommit\",LOADREDIRECT:\"loadredirect\",\nLOADSTART:\"loadstart\",LOADSTOP:\"loadstop\",RESPONSIVE:\"responsive\",SIZECHANGED:\"sizechanged\",UNRESPONSIVE:\"unresponsive\",VISIBILITYCHANGE:\"visibilitychange\",STORAGE:\"storage\",DOMSUBTREEMODIFIED:\"DOMSubtreeModified\",DOMNODEINSERTED:\"DOMNodeInserted\",DOMNODEREMOVED:\"DOMNodeRemoved\",DOMNODEREMOVEDFROMDOCUMENT:\"DOMNodeRemovedFromDocument\",DOMNODEINSERTEDINTODOCUMENT:\"DOMNodeInsertedIntoDocument\",DOMATTRMODIFIED:\"DOMAttrModified\",DOMCHARACTERDATAMODIFIED:\"DOMCharacterDataModified\",BEFOREPRINT:\"beforeprint\",\nAFTERPRINT:\"afterprint\"};goog.events.getPointerFallbackEventName_=function(a,b,c){return goog.events.BrowserFeature.POINTER_EVENTS?a:goog.events.BrowserFeature.MSPOINTER_EVENTS?b:c};\ngoog.events.PointerFallbackEventType={POINTERDOWN:goog.events.getPointerFallbackEventName_(goog.events.EventType.POINTERDOWN,goog.events.EventType.MSPOINTERDOWN,goog.events.EventType.MOUSEDOWN),POINTERUP:goog.events.getPointerFallbackEventName_(goog.events.EventType.POINTERUP,goog.events.EventType.MSPOINTERUP,goog.events.EventType.MOUSEUP),POINTERCANCEL:goog.events.getPointerFallbackEventName_(goog.events.EventType.POINTERCANCEL,goog.events.EventType.MSPOINTERCANCEL,\"mousecancel\"),POINTERMOVE:goog.events.getPointerFallbackEventName_(goog.events.EventType.POINTERMOVE,\ngoog.events.EventType.MSPOINTERMOVE,goog.events.EventType.MOUSEMOVE),POINTEROVER:goog.events.getPointerFallbackEventName_(goog.events.EventType.POINTEROVER,goog.events.EventType.MSPOINTEROVER,goog.events.EventType.MOUSEOVER),POINTEROUT:goog.events.getPointerFallbackEventName_(goog.events.EventType.POINTEROUT,goog.events.EventType.MSPOINTEROUT,goog.events.EventType.MOUSEOUT),POINTERENTER:goog.events.getPointerFallbackEventName_(goog.events.EventType.POINTERENTER,goog.events.EventType.MSPOINTERENTER,\ngoog.events.EventType.MOUSEENTER),POINTERLEAVE:goog.events.getPointerFallbackEventName_(goog.events.EventType.POINTERLEAVE,goog.events.EventType.MSPOINTERLEAVE,goog.events.EventType.MOUSELEAVE)};goog.events.BrowserEvent=function(a,b){goog.events.Event.call(this,a?a.type:\"\");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key=\"\";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.platformModifierKey=!1;this.pointerId=0;this.pointerType=\"\";this.event_=null;a&&this.init(a,b)};goog.inherits(goog.events.BrowserEvent,goog.events.Event);\ngoog.events.BrowserEvent.MouseButton={LEFT:0,MIDDLE:1,RIGHT:2};goog.events.BrowserEvent.PointerType={MOUSE:\"mouse\",PEN:\"pen\",TOUCH:\"touch\"};goog.events.BrowserEvent.IEButtonMap=goog.debug.freeze([1,4,2]);goog.events.BrowserEvent.IE_BUTTON_MAP=goog.events.BrowserEvent.IEButtonMap;goog.events.BrowserEvent.IE_POINTER_TYPE_MAP=goog.debug.freeze({2:goog.events.BrowserEvent.PointerType.TOUCH,3:goog.events.BrowserEvent.PointerType.PEN,4:goog.events.BrowserEvent.PointerType.MOUSE});\ngoog.events.BrowserEvent.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;var e=a.relatedTarget;e?goog.userAgent.GECKO&&(goog.reflect.canAccessProperty(e,\"nodeName\")||(e=null)):c==goog.events.EventType.MOUSEOVER?e=a.fromElement:c==goog.events.EventType.MOUSEOUT&&(e=a.toElement);this.relatedTarget=e;goog.isNull(d)?(this.offsetX=goog.userAgent.WEBKIT||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=\ngoog.userAgent.WEBKIT||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0):(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||\"\";this.charCode=a.charCode||(\"keypress\"==c?a.keyCode:0);this.ctrlKey=\na.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.platformModifierKey=goog.userAgent.MAC?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||0;this.pointerType=goog.events.BrowserEvent.getPointerType_(a);this.state=a.state;this.event_=a;a.defaultPrevented&&this.preventDefault()};\ngoog.events.BrowserEvent.prototype.isButton=function(a){return goog.events.BrowserFeature.HAS_W3C_BUTTON?this.event_.button==a:\"click\"==this.type?a==goog.events.BrowserEvent.MouseButton.LEFT:!!(this.event_.button&goog.events.BrowserEvent.IE_BUTTON_MAP[a])};goog.events.BrowserEvent.prototype.isMouseActionButton=function(){return this.isButton(goog.events.BrowserEvent.MouseButton.LEFT)&&!(goog.userAgent.WEBKIT&&goog.userAgent.MAC&&this.ctrlKey)};\ngoog.events.BrowserEvent.prototype.stopPropagation=function(){goog.events.BrowserEvent.superClass_.stopPropagation.call(this);this.event_.stopPropagation?this.event_.stopPropagation():this.event_.cancelBubble=!0};\ngoog.events.BrowserEvent.prototype.preventDefault=function(){goog.events.BrowserEvent.superClass_.preventDefault.call(this);var a=this.event_;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,goog.events.BrowserFeature.SET_KEY_CODE_TO_PREVENT_DEFAULT)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};goog.events.BrowserEvent.prototype.getBrowserEvent=function(){return this.event_};\ngoog.events.BrowserEvent.getPointerType_=function(a){return goog.isString(a.pointerType)?a.pointerType:goog.events.BrowserEvent.IE_POINTER_TYPE_MAP[a.pointerType]||\"\"};goog.events.Listenable=function(){};goog.events.Listenable.IMPLEMENTED_BY_PROP=\"closure_listenable_\"+(1E6*Math.random()|0);goog.events.Listenable.addImplementation=function(a){a.prototype[goog.events.Listenable.IMPLEMENTED_BY_PROP]=!0};goog.events.Listenable.isImplementedBy=function(a){return!(!a||!a[goog.events.Listenable.IMPLEMENTED_BY_PROP])};goog.events.ListenableKey=function(){};goog.events.ListenableKey.counter_=0;goog.events.ListenableKey.reserveKey=function(){return++goog.events.ListenableKey.counter_};goog.events.Listener=function(a,b,c,d,e,f){goog.events.Listener.ENABLE_MONITORING&&(this.creationStack=Error().stack);this.listener=a;this.proxy=b;this.src=c;this.type=d;this.capture=!!e;this.handler=f;this.key=goog.events.ListenableKey.reserveKey();this.removed=this.callOnce=!1};goog.events.Listener.ENABLE_MONITORING=!1;goog.events.Listener.prototype.markAsRemoved=function(){this.removed=!0;this.handler=this.src=this.proxy=this.listener=null};goog.events.ListenerMap=function(a){this.src=a;this.listeners={};this.typeCount_=0};goog.events.ListenerMap.prototype.getTypeCount=function(){return this.typeCount_};goog.events.ListenerMap.prototype.getListenerCount=function(){var a=0,b;for(b in this.listeners)a+=this.listeners[b].length;return a};\ngoog.events.ListenerMap.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.typeCount_++);var g=goog.events.ListenerMap.findListenerIndex_(a,b,d,e);-1<g?(b=a[g],c||(b.callOnce=!1)):(b=new goog.events.Listener(b,null,this.src,f,!!d,e),b.callOnce=c,a.push(b));return b};\ngoog.events.ListenerMap.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=goog.events.ListenerMap.findListenerIndex_(e,b,c,d);return-1<b?(e[b].markAsRemoved(),goog.array.removeAt(e,b),0==e.length&&(delete this.listeners[a],this.typeCount_--),!0):!1};\ngoog.events.ListenerMap.prototype.removeByKey=function(a){var b=a.type;if(!(b in this.listeners))return!1;var c=goog.array.remove(this.listeners[b],a);c&&(a.markAsRemoved(),0==this.listeners[b].length&&(delete this.listeners[b],this.typeCount_--));return c};goog.events.ListenerMap.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.listeners)if(!a||c==a){for(var d=this.listeners[c],e=0;e<d.length;e++)++b,d[e].markAsRemoved();delete this.listeners[c];this.typeCount_--}return b};\ngoog.events.ListenerMap.prototype.getListeners=function(a,b){var c=this.listeners[a.toString()],d=[];if(c)for(var e=0;e<c.length;++e){var f=c[e];f.capture==b&&d.push(f)}return d};goog.events.ListenerMap.prototype.getListener=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=goog.events.ListenerMap.findListenerIndex_(a,b,c,d));return-1<e?a[e]:null};\ngoog.events.ListenerMap.prototype.hasListener=function(a,b){var c=goog.isDef(a),d=c?a.toString():\"\",e=goog.isDef(b);return goog.object.some(this.listeners,function(a,g){for(var f=0;f<a.length;++f)if(!(c&&a[f].type!=d||e&&a[f].capture!=b))return!0;return!1})};goog.events.ListenerMap.findListenerIndex_=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.removed&&f.listener==b&&f.capture==!!c&&f.handler==d)return e}return-1};goog.events.LISTENER_MAP_PROP_=\"closure_lm_\"+(1E6*Math.random()|0);goog.events.onString_=\"on\";goog.events.onStringMap_={};goog.events.CaptureSimulationMode={OFF_AND_FAIL:0,OFF_AND_SILENT:1,ON:2};goog.events.CAPTURE_SIMULATION_MODE=2;goog.events.listenerCountEstimate_=0;\ngoog.events.listen=function(a,b,c,d,e){if(d&&d.once)return goog.events.listenOnce(a,b,c,d,e);if(goog.isArray(b)){for(var f=0;f<b.length;f++)goog.events.listen(a,b[f],c,d,e);return null}c=goog.events.wrapListener(c);return goog.events.Listenable.isImplementedBy(a)?(d=goog.isObject(d)?!!d.capture:!!d,a.listen(b,c,d,e)):goog.events.listen_(a,b,c,!1,d,e)};\ngoog.events.listen_=function(a,b,c,d,e,f){if(!b)throw Error(\"Invalid event type\");var g=goog.isObject(e)?!!e.capture:!!e;if(g&&!goog.events.BrowserFeature.HAS_W3C_EVENT_SUPPORT){if(goog.events.CAPTURE_SIMULATION_MODE==goog.events.CaptureSimulationMode.OFF_AND_FAIL)return goog.asserts.fail(\"Can not register capture listener in IE8-.\"),null;if(goog.events.CAPTURE_SIMULATION_MODE==goog.events.CaptureSimulationMode.OFF_AND_SILENT)return null}var h=goog.events.getListenerMap_(a);h||(a[goog.events.LISTENER_MAP_PROP_]=\nh=new goog.events.ListenerMap(a));c=h.add(b,c,d,g,f);if(c.proxy)return c;d=goog.events.getProxy();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)goog.events.BrowserFeature.PASSIVE_EVENTS||(e=g),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(goog.events.getOnString_(b.toString()),d);else throw Error(\"addEventListener and attachEvent are unavailable.\");goog.events.listenerCountEstimate_++;return c};\ngoog.events.getProxy=function(){var a=goog.events.handleBrowserEvent_,b=goog.events.BrowserFeature.HAS_W3C_EVENT_SUPPORT?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b};\ngoog.events.listenOnce=function(a,b,c,d,e){if(goog.isArray(b)){for(var f=0;f<b.length;f++)goog.events.listenOnce(a,b[f],c,d,e);return null}c=goog.events.wrapListener(c);return goog.events.Listenable.isImplementedBy(a)?(d=goog.isObject(d)?!!d.capture:!!d,a.listenOnce(b,c,d,e)):goog.events.listen_(a,b,c,!0,d,e)};goog.events.listenWithWrapper=function(a,b,c,d,e){b.listen(a,c,d,e)};\ngoog.events.unlisten=function(a,b,c,d,e){if(goog.isArray(b)){for(var f=0;f<b.length;f++)goog.events.unlisten(a,b[f],c,d,e);return null}d=goog.isObject(d)?!!d.capture:!!d;c=goog.events.wrapListener(c);if(goog.events.Listenable.isImplementedBy(a))return a.unlisten(b,c,d,e);if(!a)return!1;if(a=goog.events.getListenerMap_(a))if(b=a.getListener(b,c,d,e))return goog.events.unlistenByKey(b);return!1};\ngoog.events.unlistenByKey=function(a){if(goog.isNumber(a)||!a||a.removed)return!1;var b=a.src;if(goog.events.Listenable.isImplementedBy(b))return b.unlistenByKey(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent&&b.detachEvent(goog.events.getOnString_(c),d);goog.events.listenerCountEstimate_--;(c=goog.events.getListenerMap_(b))?(c.removeByKey(a),0==c.getTypeCount()&&(c.src=null,b[goog.events.LISTENER_MAP_PROP_]=null)):a.markAsRemoved();return!0};\ngoog.events.unlistenWithWrapper=function(a,b,c,d,e){b.unlisten(a,c,d,e)};goog.events.removeAll=function(a,b){if(!a)return 0;if(goog.events.Listenable.isImplementedBy(a))return a.removeAllListeners(b);var c=goog.events.getListenerMap_(a);if(!c)return 0;var d=0,e=b&&b.toString(),f;for(f in c.listeners)if(!e||f==e)for(var g=c.listeners[f].concat(),h=0;h<g.length;++h)goog.events.unlistenByKey(g[h])&&++d;return d};\ngoog.events.getListeners=function(a,b,c){return goog.events.Listenable.isImplementedBy(a)?a.getListeners(b,c):a?(a=goog.events.getListenerMap_(a))?a.getListeners(b,c):[]:[]};goog.events.getListener=function(a,b,c,d,e){c=goog.events.wrapListener(c);d=!!d;return goog.events.Listenable.isImplementedBy(a)?a.getListener(b,c,d,e):a?(a=goog.events.getListenerMap_(a))?a.getListener(b,c,d,e):null:null};\ngoog.events.hasListener=function(a,b,c){if(goog.events.Listenable.isImplementedBy(a))return a.hasListener(b,c);a=goog.events.getListenerMap_(a);return!!a&&a.hasListener(b,c)};goog.events.expose=function(a){var b=[],c;for(c in a)a[c]&&a[c].id?b.push(c+\" = \"+a[c]+\" (\"+a[c].id+\")\"):b.push(c+\" = \"+a[c]);return b.join(\"\\n\")};goog.events.getOnString_=function(a){return a in goog.events.onStringMap_?goog.events.onStringMap_[a]:goog.events.onStringMap_[a]=goog.events.onString_+a};\ngoog.events.fireListeners=function(a,b,c,d){return goog.events.Listenable.isImplementedBy(a)?a.fireListeners(b,c,d):goog.events.fireListeners_(a,b,c,d)};goog.events.fireListeners_=function(a,b,c,d){var e=!0;if(a=goog.events.getListenerMap_(a))if(b=a.listeners[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.removed&&(f=goog.events.fireListener(f,d),e=e&&!1!==f)}return e};\ngoog.events.fireListener=function(a,b){var c=a.listener,d=a.handler||a.src;a.callOnce&&goog.events.unlistenByKey(a);return c.call(d,b)};goog.events.getTotalListenerCount=function(){return goog.events.listenerCountEstimate_};goog.events.dispatchEvent=function(a,b){goog.asserts.assert(goog.events.Listenable.isImplementedBy(a),\"Can not use goog.events.dispatchEvent with non-goog.events.Listenable instance.\");return a.dispatchEvent(b)};\ngoog.events.protectBrowserEventEntryPoint=function(a){goog.events.handleBrowserEvent_=a.protectEntryPoint(goog.events.handleBrowserEvent_)};\ngoog.events.handleBrowserEvent_=function(a,b){if(a.removed)return!0;if(!goog.events.BrowserFeature.HAS_W3C_EVENT_SUPPORT){var c=b||goog.getObjectByName(\"window.event\"),d=new goog.events.BrowserEvent(c,this),e=!0;if(goog.events.CAPTURE_SIMULATION_MODE==goog.events.CaptureSimulationMode.ON){if(!goog.events.isMarkedIeEvent_(c)){goog.events.markIeEvent_(c);c=[];for(var f=d.currentTarget;f;f=f.parentNode)c.push(f);f=a.type;for(var g=c.length-1;!d.propagationStopped_&&0<=g;g--){d.currentTarget=c[g];var h=\ngoog.events.fireListeners_(c[g],f,!0,d);e=e&&h}for(g=0;!d.propagationStopped_&&g<c.length;g++)d.currentTarget=c[g],h=goog.events.fireListeners_(c[g],f,!1,d),e=e&&h}}else e=goog.events.fireListener(a,d);return e}return goog.events.fireListener(a,new goog.events.BrowserEvent(b,this))};goog.events.markIeEvent_=function(a){var b=!1;if(0==a.keyCode)try{a.keyCode=-1;return}catch(c){b=!0}if(b||void 0==a.returnValue)a.returnValue=!0};goog.events.isMarkedIeEvent_=function(a){return 0>a.keyCode||void 0!=a.returnValue};\ngoog.events.uniqueIdCounter_=0;goog.events.getUniqueId=function(a){return a+\"_\"+goog.events.uniqueIdCounter_++};goog.events.getListenerMap_=function(a){a=a[goog.events.LISTENER_MAP_PROP_];return a instanceof goog.events.ListenerMap?a:null};goog.events.LISTENER_WRAPPER_PROP_=\"__closure_events_fn_\"+(1E9*Math.random()>>>0);\ngoog.events.wrapListener=function(a){goog.asserts.assert(a,\"Listener can not be null.\");if(goog.isFunction(a))return a;goog.asserts.assert(a.handleEvent,\"An object listener must have handleEvent method.\");a[goog.events.LISTENER_WRAPPER_PROP_]||(a[goog.events.LISTENER_WRAPPER_PROP_]=function(b){return a.handleEvent(b)});return a[goog.events.LISTENER_WRAPPER_PROP_]};goog.debug.entryPointRegistry.register(function(a){goog.events.handleBrowserEvent_=a(goog.events.handleBrowserEvent_)});goog.events.EventTarget=function(){goog.Disposable.call(this);this.eventTargetListeners_=new goog.events.ListenerMap(this);this.actualEventTarget_=this;this.parentEventTarget_=null};goog.inherits(goog.events.EventTarget,goog.Disposable);goog.events.Listenable.addImplementation(goog.events.EventTarget);goog.events.EventTarget.MAX_ANCESTORS_=1E3;goog.events.EventTarget.prototype.getParentEventTarget=function(){return this.parentEventTarget_};\ngoog.events.EventTarget.prototype.setParentEventTarget=function(a){this.parentEventTarget_=a};goog.events.EventTarget.prototype.addEventListener=function(a,b,c,d){goog.events.listen(this,a,b,c,d)};goog.events.EventTarget.prototype.removeEventListener=function(a,b,c,d){goog.events.unlisten(this,a,b,c,d)};\ngoog.events.EventTarget.prototype.dispatchEvent=function(a){this.assertInitialized_();var b=this.getParentEventTarget();if(b){var c=[];for(var d=1;b;b=b.getParentEventTarget())c.push(b),goog.asserts.assert(++d<goog.events.EventTarget.MAX_ANCESTORS_,\"infinite loop\")}return goog.events.EventTarget.dispatchEventInternal_(this.actualEventTarget_,a,c)};\ngoog.events.EventTarget.prototype.disposeInternal=function(){goog.events.EventTarget.superClass_.disposeInternal.call(this);this.removeAllListeners();this.parentEventTarget_=null};goog.events.EventTarget.prototype.listen=function(a,b,c,d){this.assertInitialized_();return this.eventTargetListeners_.add(String(a),b,!1,c,d)};goog.events.EventTarget.prototype.listenOnce=function(a,b,c,d){return this.eventTargetListeners_.add(String(a),b,!0,c,d)};\ngoog.events.EventTarget.prototype.unlisten=function(a,b,c,d){return this.eventTargetListeners_.remove(String(a),b,c,d)};goog.events.EventTarget.prototype.unlistenByKey=function(a){return this.eventTargetListeners_.removeByKey(a)};goog.events.EventTarget.prototype.removeAllListeners=function(a){return this.eventTargetListeners_?this.eventTargetListeners_.removeAll(a):0};\ngoog.events.EventTarget.prototype.fireListeners=function(a,b,c){a=this.eventTargetListeners_.listeners[String(a)];if(!a)return!0;a=a.concat();for(var d=!0,e=0;e<a.length;++e){var f=a[e];if(f&&!f.removed&&f.capture==b){var g=f.listener,h=f.handler||f.src;f.callOnce&&this.unlistenByKey(f);d=!1!==g.call(h,c)&&d}}return d&&0!=c.returnValue_};goog.events.EventTarget.prototype.getListeners=function(a,b){return this.eventTargetListeners_.getListeners(String(a),b)};\ngoog.events.EventTarget.prototype.getListener=function(a,b,c,d){return this.eventTargetListeners_.getListener(String(a),b,c,d)};goog.events.EventTarget.prototype.hasListener=function(a,b){var c=goog.isDef(a)?String(a):void 0;return this.eventTargetListeners_.hasListener(c,b)};goog.events.EventTarget.prototype.setTargetForTesting=function(a){this.actualEventTarget_=a};goog.events.EventTarget.prototype.assertInitialized_=function(){goog.asserts.assert(this.eventTargetListeners_,\"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?\")};\ngoog.events.EventTarget.dispatchEventInternal_=function(a,b,c){var d=b.type||b;if(goog.isString(b))b=new goog.events.Event(b,a);else if(b instanceof goog.events.Event)b.target=b.target||a;else{var e=b;b=new goog.events.Event(d,a);goog.object.extend(b,e)}e=!0;if(c)for(var f=c.length-1;!b.propagationStopped_&&0<=f;f--){var g=b.currentTarget=c[f];e=g.fireListeners(d,!0,b)&&e}b.propagationStopped_||(g=b.currentTarget=a,e=g.fireListeners(d,!0,b)&&e,b.propagationStopped_||(e=g.fireListeners(d,!1,b)&&e));\nif(c)for(f=0;!b.propagationStopped_&&f<c.length;f++)g=b.currentTarget=c[f],e=g.fireListeners(d,!1,b)&&e;return e};goog.Timer=function(a,b){goog.events.EventTarget.call(this);this.interval_=a||1;this.timerObject_=b||goog.Timer.defaultTimerObject;this.boundTick_=goog.bind(this.tick_,this);this.last_=goog.now()};goog.inherits(goog.Timer,goog.events.EventTarget);goog.Timer.MAX_TIMEOUT_=2147483647;goog.Timer.INVALID_TIMEOUT_ID_=-1;goog.Timer.prototype.enabled=!1;goog.Timer.defaultTimerObject=goog.global;goog.Timer.intervalScale=.8;goog.Timer.prototype.timer_=null;goog.Timer.prototype.getInterval=function(){return this.interval_};\ngoog.Timer.prototype.setInterval=function(a){this.interval_=a;this.timer_&&this.enabled?(this.stop(),this.start()):this.timer_&&this.stop()};\ngoog.Timer.prototype.tick_=function(){if(this.enabled){var a=goog.now()-this.last_;0<a&&a<this.interval_*goog.Timer.intervalScale?this.timer_=this.timerObject_.setTimeout(this.boundTick_,this.interval_-a):(this.timer_&&(this.timerObject_.clearTimeout(this.timer_),this.timer_=null),this.dispatchTick(),this.enabled&&(this.timer_=this.timerObject_.setTimeout(this.boundTick_,this.interval_),this.last_=goog.now()))}};goog.Timer.prototype.dispatchTick=function(){this.dispatchEvent(goog.Timer.TICK)};\ngoog.Timer.prototype.start=function(){this.enabled=!0;this.timer_||(this.timer_=this.timerObject_.setTimeout(this.boundTick_,this.interval_),this.last_=goog.now())};goog.Timer.prototype.stop=function(){this.enabled=!1;this.timer_&&(this.timerObject_.clearTimeout(this.timer_),this.timer_=null)};goog.Timer.prototype.disposeInternal=function(){goog.Timer.superClass_.disposeInternal.call(this);this.stop();delete this.timerObject_};goog.Timer.TICK=\"tick\";\ngoog.Timer.callOnce=function(a,b,c){if(goog.isFunction(a))c&&(a=goog.bind(a,c));else if(a&&\"function\"==typeof a.handleEvent)a=goog.bind(a.handleEvent,a);else throw Error(\"Invalid listener argument\");return Number(b)>goog.Timer.MAX_TIMEOUT_?goog.Timer.INVALID_TIMEOUT_ID_:goog.Timer.defaultTimerObject.setTimeout(a,b||0)};goog.Timer.clear=function(a){goog.Timer.defaultTimerObject.clearTimeout(a)};\ngoog.Timer.promise=function(a,b){var c=null;return(new goog.Promise(function(d,e){c=goog.Timer.callOnce(function(){d(b)},a);c==goog.Timer.INVALID_TIMEOUT_ID_&&e(Error(\"Failed to schedule timer.\"))})).thenCatch(function(a){goog.Timer.clear(c);throw a;})};goog.dom.BrowserFeature={CAN_ADD_NAME_OR_TYPE_ATTRIBUTES:!goog.userAgent.IE||goog.userAgent.isDocumentModeOrHigher(9),CAN_USE_CHILDREN_ATTRIBUTE:!goog.userAgent.GECKO&&!goog.userAgent.IE||goog.userAgent.IE&&goog.userAgent.isDocumentModeOrHigher(9)||goog.userAgent.GECKO&&goog.userAgent.isVersionOrHigher(\"1.9.1\"),CAN_USE_INNER_TEXT:goog.userAgent.IE&&!goog.userAgent.isVersionOrHigher(\"9\"),CAN_USE_PARENT_ELEMENT_PROPERTY:goog.userAgent.IE||goog.userAgent.OPERA||goog.userAgent.WEBKIT,INNER_HTML_NEEDS_SCOPED_ELEMENT:goog.userAgent.IE,\nLEGACY_IE_RANGES:goog.userAgent.IE&&!goog.userAgent.isDocumentModeOrHigher(9)};goog.dom.asserts={};goog.dom.asserts.assertIsLocation=function(a){if(goog.asserts.ENABLE_ASSERTS){var b=goog.dom.asserts.getWindow_(a);\"undefined\"!=typeof b.Location&&\"undefined\"!=typeof b.Element&&goog.asserts.assert(a&&(a instanceof b.Location||!(a instanceof b.Element)),\"Argument is not a Location (or a non-Element mock); got: %s\",goog.dom.asserts.debugStringForType_(a))}return a};\ngoog.dom.asserts.assertIsHTMLAnchorElement=function(a){if(goog.asserts.ENABLE_ASSERTS){var b=goog.dom.asserts.getWindow_(a);\"undefined\"!=typeof b.HTMLAnchorElement&&\"undefined\"!=typeof b.Location&&\"undefined\"!=typeof b.Element&&goog.asserts.assert(a&&(a instanceof b.HTMLAnchorElement||!(a instanceof b.Location||a instanceof b.Element)),\"Argument is not a HTMLAnchorElement (or a non-Element mock); got: %s\",goog.dom.asserts.debugStringForType_(a))}return a};\ngoog.dom.asserts.assertIsHTMLLinkElement=function(a){if(goog.asserts.ENABLE_ASSERTS){var b=goog.dom.asserts.getWindow_(a);\"undefined\"!=typeof b.HTMLLinkElement&&\"undefined\"!=typeof b.Location&&\"undefined\"!=typeof b.Element&&goog.asserts.assert(a&&(a instanceof b.HTMLLinkElement||!(a instanceof b.Location||a instanceof b.Element)),\"Argument is not a HTMLLinkElement (or a non-Element mock); got: %s\",goog.dom.asserts.debugStringForType_(a))}return a};\ngoog.dom.asserts.assertIsHTMLImageElement=function(a){if(goog.asserts.ENABLE_ASSERTS){var b=goog.dom.asserts.getWindow_(a);\"undefined\"!=typeof b.HTMLImageElement&&\"undefined\"!=typeof b.Element&&goog.asserts.assert(a&&(a instanceof b.HTMLImageElement||!(a instanceof b.Element)),\"Argument is not a HTMLImageElement (or a non-Element mock); got: %s\",goog.dom.asserts.debugStringForType_(a))}return a};\ngoog.dom.asserts.assertIsHTMLEmbedElement=function(a){if(goog.asserts.ENABLE_ASSERTS){var b=goog.dom.asserts.getWindow_(a);\"undefined\"!=typeof b.HTMLEmbedElement&&\"undefined\"!=typeof b.Element&&goog.asserts.assert(a&&(a instanceof b.HTMLEmbedElement||!(a instanceof b.Element)),\"Argument is not a HTMLEmbedElement (or a non-Element mock); got: %s\",goog.dom.asserts.debugStringForType_(a))}return a};\ngoog.dom.asserts.assertIsHTMLFrameElement=function(a){if(goog.asserts.ENABLE_ASSERTS){var b=goog.dom.asserts.getWindow_(a);\"undefined\"!=typeof b.HTMLFrameElement&&\"undefined\"!=typeof b.Element&&goog.asserts.assert(a&&(a instanceof b.HTMLFrameElement||!(a instanceof b.Element)),\"Argument is not a HTMLFrameElement (or a non-Element mock); got: %s\",goog.dom.asserts.debugStringForType_(a))}return a};\ngoog.dom.asserts.assertIsHTMLIFrameElement=function(a){if(goog.asserts.ENABLE_ASSERTS){var b=goog.dom.asserts.getWindow_(a);\"undefined\"!=typeof b.HTMLIFrameElement&&\"undefined\"!=typeof b.Element&&goog.asserts.assert(a&&(a instanceof b.HTMLIFrameElement||!(a instanceof b.Element)),\"Argument is not a HTMLIFrameElement (or a non-Element mock); got: %s\",goog.dom.asserts.debugStringForType_(a))}return a};\ngoog.dom.asserts.assertIsHTMLObjectElement=function(a){if(goog.asserts.ENABLE_ASSERTS){var b=goog.dom.asserts.getWindow_(a);\"undefined\"!=typeof b.HTMLObjectElement&&\"undefined\"!=typeof b.Element&&goog.asserts.assert(a&&(a instanceof b.HTMLObjectElement||!(a instanceof b.Element)),\"Argument is not a HTMLObjectElement (or a non-Element mock); got: %s\",goog.dom.asserts.debugStringForType_(a))}return a};\ngoog.dom.asserts.assertIsHTMLScriptElement=function(a){if(goog.asserts.ENABLE_ASSERTS){var b=goog.dom.asserts.getWindow_(a);\"undefined\"!=typeof b.HTMLScriptElement&&\"undefined\"!=typeof b.Element&&goog.asserts.assert(a&&(a instanceof b.HTMLScriptElement||!(a instanceof b.Element)),\"Argument is not a HTMLScriptElement (or a non-Element mock); got: %s\",goog.dom.asserts.debugStringForType_(a))}return a};\ngoog.dom.asserts.debugStringForType_=function(a){return goog.isObject(a)?a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a):void 0===a?\"undefined\":null===a?\"null\":typeof a};goog.dom.asserts.getWindow_=function(a){return(a=a&&a.ownerDocument)&&(a.defaultView||a.parentWindow)||goog.global};goog.dom.tags={};goog.dom.tags.VOID_TAGS_={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};goog.dom.tags.isVoidTag=function(a){return!0===goog.dom.tags.VOID_TAGS_[a]};goog.string.TypedString=function(){};goog.string.Const=function(){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=\"\";this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=goog.string.Const.TYPE_MARKER_};goog.string.Const.prototype.implementsGoogStringTypedString=!0;goog.string.Const.prototype.getTypedStringValue=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_};\ngoog.string.Const.prototype.toString=function(){return\"Const{\"+this.stringConstValueWithSecurityContract__googStringSecurityPrivate_+\"}\"};goog.string.Const.unwrap=function(a){if(a instanceof goog.string.Const&&a.constructor===goog.string.Const&&a.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===goog.string.Const.TYPE_MARKER_)return a.stringConstValueWithSecurityContract__googStringSecurityPrivate_;goog.asserts.fail(\"expected object of type Const, got '\"+a+\"'\");return\"type_error:Const\"};\ngoog.string.Const.from=function(a){return goog.string.Const.create__googStringSecurityPrivate_(a)};goog.string.Const.TYPE_MARKER_={};goog.string.Const.create__googStringSecurityPrivate_=function(a){var b=new goog.string.Const;b.stringConstValueWithSecurityContract__googStringSecurityPrivate_=a;return b};goog.string.Const.EMPTY=goog.string.Const.from(\"\");goog.html={};goog.html.SafeScript=function(){this.privateDoNotAccessOrElseSafeScriptWrappedValue_=\"\";this.SAFE_SCRIPT_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_};goog.html.SafeScript.prototype.implementsGoogStringTypedString=!0;goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={};goog.html.SafeScript.fromConstant=function(a){a=goog.string.Const.unwrap(a);return 0===a.length?goog.html.SafeScript.EMPTY:goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(a)};\ngoog.html.SafeScript.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeScriptWrappedValue_};goog.DEBUG&&(goog.html.SafeScript.prototype.toString=function(){return\"SafeScript{\"+this.privateDoNotAccessOrElseSafeScriptWrappedValue_+\"}\"});\ngoog.html.SafeScript.unwrap=function(a){if(a instanceof goog.html.SafeScript&&a.constructor===goog.html.SafeScript&&a.SAFE_SCRIPT_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_)return a.privateDoNotAccessOrElseSafeScriptWrappedValue_;goog.asserts.fail(\"expected object of type SafeScript, got '\"+a+\"' of type \"+goog.typeOf(a));return\"type_error:SafeScript\"};goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse=function(a){return(new goog.html.SafeScript).initSecurityPrivateDoNotAccessOrElse_(a)};\ngoog.html.SafeScript.prototype.initSecurityPrivateDoNotAccessOrElse_=function(a){this.privateDoNotAccessOrElseSafeScriptWrappedValue_=a;return this};goog.html.SafeScript.EMPTY=goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(\"\");goog.fs={};goog.fs.url={};goog.fs.url.createObjectUrl=function(a){return goog.fs.url.getUrlObject_().createObjectURL(a)};goog.fs.url.revokeObjectUrl=function(a){goog.fs.url.getUrlObject_().revokeObjectURL(a)};goog.fs.url.getUrlObject_=function(){var a=goog.fs.url.findUrlObject_();if(null!=a)return a;throw Error(\"This browser doesn't seem to support blob URLs\");};\ngoog.fs.url.findUrlObject_=function(){return goog.isDef(goog.global.URL)&&goog.isDef(goog.global.URL.createObjectURL)?goog.global.URL:goog.isDef(goog.global.webkitURL)&&goog.isDef(goog.global.webkitURL.createObjectURL)?goog.global.webkitURL:goog.isDef(goog.global.createObjectURL)?goog.global:null};goog.fs.url.browserSupportsObjectUrls=function(){return null!=goog.fs.url.findUrlObject_()};goog.i18n={};goog.i18n.bidi={};goog.i18n.bidi.FORCE_RTL=!1;\ngoog.i18n.bidi.IS_RTL=goog.i18n.bidi.FORCE_RTL||(\"ar\"==goog.LOCALE.substring(0,2).toLowerCase()||\"fa\"==goog.LOCALE.substring(0,2).toLowerCase()||\"he\"==goog.LOCALE.substring(0,2).toLowerCase()||\"iw\"==goog.LOCALE.substring(0,2).toLowerCase()||\"ps\"==goog.LOCALE.substring(0,2).toLowerCase()||\"sd\"==goog.LOCALE.substring(0,2).toLowerCase()||\"ug\"==goog.LOCALE.substring(0,2).toLowerCase()||\"ur\"==goog.LOCALE.substring(0,2).toLowerCase()||\"yi\"==goog.LOCALE.substring(0,2).toLowerCase())&&(2==goog.LOCALE.length||\n\"-\"==goog.LOCALE.substring(2,3)||\"_\"==goog.LOCALE.substring(2,3))||3<=goog.LOCALE.length&&\"ckb\"==goog.LOCALE.substring(0,3).toLowerCase()&&(3==goog.LOCALE.length||\"-\"==goog.LOCALE.substring(3,4)||\"_\"==goog.LOCALE.substring(3,4));goog.i18n.bidi.Format={LRE:\"\\u202a\",RLE:\"\\u202b\",PDF:\"\\u202c\",LRM:\"\\u200e\",RLM:\"\\u200f\"};goog.i18n.bidi.Dir={LTR:1,RTL:-1,NEUTRAL:0};goog.i18n.bidi.RIGHT=\"right\";goog.i18n.bidi.LEFT=\"left\";goog.i18n.bidi.I18N_RIGHT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.LEFT:goog.i18n.bidi.RIGHT;\ngoog.i18n.bidi.I18N_LEFT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT;goog.i18n.bidi.toDir=function(a,b){return\"number\"==typeof a?0<a?goog.i18n.bidi.Dir.LTR:0>a?goog.i18n.bidi.Dir.RTL:b?null:goog.i18n.bidi.Dir.NEUTRAL:null==a?null:a?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR};goog.i18n.bidi.ltrChars_=\"A-Za-z\\u00c0-\\u00d6\\u00d8-\\u00f6\\u00f8-\\u02b8\\u0300-\\u0590\\u0800-\\u1fff\\u200e\\u2c00-\\ufb1c\\ufe00-\\ufe6f\\ufefd-\\uffff\";goog.i18n.bidi.rtlChars_=\"\\u0591-\\u06ef\\u06fa-\\u07ff\\u200f\\ufb1d-\\ufdff\\ufe70-\\ufefc\";\ngoog.i18n.bidi.htmlSkipReg_=/<[^>]*>|&[^;]+;/g;goog.i18n.bidi.stripHtmlIfNeeded_=function(a,b){return b?a.replace(goog.i18n.bidi.htmlSkipReg_,\"\"):a};goog.i18n.bidi.rtlCharReg_=new RegExp(\"[\"+goog.i18n.bidi.rtlChars_+\"]\");goog.i18n.bidi.ltrCharReg_=new RegExp(\"[\"+goog.i18n.bidi.ltrChars_+\"]\");goog.i18n.bidi.hasAnyRtl=function(a,b){return goog.i18n.bidi.rtlCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(a,b))};goog.i18n.bidi.hasRtlChar=goog.i18n.bidi.hasAnyRtl;\ngoog.i18n.bidi.hasAnyLtr=function(a,b){return goog.i18n.bidi.ltrCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(a,b))};goog.i18n.bidi.ltrRe_=new RegExp(\"^[\"+goog.i18n.bidi.ltrChars_+\"]\");goog.i18n.bidi.rtlRe_=new RegExp(\"^[\"+goog.i18n.bidi.rtlChars_+\"]\");goog.i18n.bidi.isRtlChar=function(a){return goog.i18n.bidi.rtlRe_.test(a)};goog.i18n.bidi.isLtrChar=function(a){return goog.i18n.bidi.ltrRe_.test(a)};goog.i18n.bidi.isNeutralChar=function(a){return!goog.i18n.bidi.isLtrChar(a)&&!goog.i18n.bidi.isRtlChar(a)};\ngoog.i18n.bidi.ltrDirCheckRe_=new RegExp(\"^[^\"+goog.i18n.bidi.rtlChars_+\"]*[\"+goog.i18n.bidi.ltrChars_+\"]\");goog.i18n.bidi.rtlDirCheckRe_=new RegExp(\"^[^\"+goog.i18n.bidi.ltrChars_+\"]*[\"+goog.i18n.bidi.rtlChars_+\"]\");goog.i18n.bidi.startsWithRtl=function(a,b){return goog.i18n.bidi.rtlDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(a,b))};goog.i18n.bidi.isRtlText=goog.i18n.bidi.startsWithRtl;\ngoog.i18n.bidi.startsWithLtr=function(a,b){return goog.i18n.bidi.ltrDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(a,b))};goog.i18n.bidi.isLtrText=goog.i18n.bidi.startsWithLtr;goog.i18n.bidi.isRequiredLtrRe_=/^http:\\/\\/.*/;goog.i18n.bidi.isNeutralText=function(a,b){a=goog.i18n.bidi.stripHtmlIfNeeded_(a,b);return goog.i18n.bidi.isRequiredLtrRe_.test(a)||!goog.i18n.bidi.hasAnyLtr(a)&&!goog.i18n.bidi.hasAnyRtl(a)};\ngoog.i18n.bidi.ltrExitDirCheckRe_=new RegExp(\"[\"+goog.i18n.bidi.ltrChars_+\"][^\"+goog.i18n.bidi.rtlChars_+\"]*$\");goog.i18n.bidi.rtlExitDirCheckRe_=new RegExp(\"[\"+goog.i18n.bidi.rtlChars_+\"][^\"+goog.i18n.bidi.ltrChars_+\"]*$\");goog.i18n.bidi.endsWithLtr=function(a,b){return goog.i18n.bidi.ltrExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(a,b))};goog.i18n.bidi.isLtrExitText=goog.i18n.bidi.endsWithLtr;\ngoog.i18n.bidi.endsWithRtl=function(a,b){return goog.i18n.bidi.rtlExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(a,b))};goog.i18n.bidi.isRtlExitText=goog.i18n.bidi.endsWithRtl;goog.i18n.bidi.rtlLocalesRe_=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Arab|Hebr|Thaa|Nkoo|Tfng))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;goog.i18n.bidi.isRtlLanguage=function(a){return goog.i18n.bidi.rtlLocalesRe_.test(a)};goog.i18n.bidi.bracketGuardTextRe_=/(\\(.*?\\)+)|(\\[.*?\\]+)|(\\{.*?\\}+)|(<.*?>+)/g;\ngoog.i18n.bidi.guardBracketInText=function(a,b){var c=(void 0===b?goog.i18n.bidi.hasAnyRtl(a):b)?goog.i18n.bidi.Format.RLM:goog.i18n.bidi.Format.LRM;return a.replace(goog.i18n.bidi.bracketGuardTextRe_,c+\"$&\"+c)};goog.i18n.bidi.enforceRtlInHtml=function(a){return\"<\"==a.charAt(0)?a.replace(/<\\w+/,\"$& dir=rtl\"):\"\\n<span dir=rtl>\"+a+\"</span>\"};goog.i18n.bidi.enforceRtlInText=function(a){return goog.i18n.bidi.Format.RLE+a+goog.i18n.bidi.Format.PDF};\ngoog.i18n.bidi.enforceLtrInHtml=function(a){return\"<\"==a.charAt(0)?a.replace(/<\\w+/,\"$& dir=ltr\"):\"\\n<span dir=ltr>\"+a+\"</span>\"};goog.i18n.bidi.enforceLtrInText=function(a){return goog.i18n.bidi.Format.LRE+a+goog.i18n.bidi.Format.PDF};goog.i18n.bidi.dimensionsRe_=/:\\s*([.\\d][.\\w]*)\\s+([.\\d][.\\w]*)\\s+([.\\d][.\\w]*)\\s+([.\\d][.\\w]*)/g;goog.i18n.bidi.leftRe_=/left/gi;goog.i18n.bidi.rightRe_=/right/gi;goog.i18n.bidi.tempRe_=/%%%%/g;\ngoog.i18n.bidi.mirrorCSS=function(a){return a.replace(goog.i18n.bidi.dimensionsRe_,\":$1 $4 $3 $2\").replace(goog.i18n.bidi.leftRe_,\"%%%%\").replace(goog.i18n.bidi.rightRe_,goog.i18n.bidi.LEFT).replace(goog.i18n.bidi.tempRe_,goog.i18n.bidi.RIGHT)};goog.i18n.bidi.doubleQuoteSubstituteRe_=/([\\u0591-\\u05f2])\"/g;goog.i18n.bidi.singleQuoteSubstituteRe_=/([\\u0591-\\u05f2])'/g;\ngoog.i18n.bidi.normalizeHebrewQuote=function(a){return a.replace(goog.i18n.bidi.doubleQuoteSubstituteRe_,\"$1\\u05f4\").replace(goog.i18n.bidi.singleQuoteSubstituteRe_,\"$1\\u05f3\")};goog.i18n.bidi.wordSeparatorRe_=/\\s+/;goog.i18n.bidi.hasNumeralsRe_=/[\\d\\u06f0-\\u06f9]/;goog.i18n.bidi.rtlDetectionThreshold_=.4;\ngoog.i18n.bidi.estimateDirection=function(a,b){for(var c=0,d=0,e=!1,f=goog.i18n.bidi.stripHtmlIfNeeded_(a,b).split(goog.i18n.bidi.wordSeparatorRe_),g=0;g<f.length;g++){var h=f[g];goog.i18n.bidi.startsWithRtl(h)?(c++,d++):goog.i18n.bidi.isRequiredLtrRe_.test(h)?e=!0:goog.i18n.bidi.hasAnyLtr(h)?d++:goog.i18n.bidi.hasNumeralsRe_.test(h)&&(e=!0)}return 0==d?e?goog.i18n.bidi.Dir.LTR:goog.i18n.bidi.Dir.NEUTRAL:c/d>goog.i18n.bidi.rtlDetectionThreshold_?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR};\ngoog.i18n.bidi.detectRtlDirectionality=function(a,b){return goog.i18n.bidi.estimateDirection(a,b)==goog.i18n.bidi.Dir.RTL};goog.i18n.bidi.setElementDirAndAlign=function(a,b){a&&(b=goog.i18n.bidi.toDir(b))&&(a.style.textAlign=b==goog.i18n.bidi.Dir.RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,a.dir=b==goog.i18n.bidi.Dir.RTL?\"rtl\":\"ltr\")};\ngoog.i18n.bidi.setElementDirByTextDirectionality=function(a,b){switch(goog.i18n.bidi.estimateDirection(b)){case goog.i18n.bidi.Dir.LTR:a.dir=\"ltr\";break;case goog.i18n.bidi.Dir.RTL:a.dir=\"rtl\";break;default:a.removeAttribute(\"dir\")}};goog.i18n.bidi.DirectionalString=function(){};goog.html.TrustedResourceUrl=function(){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=\"\";this.TRUSTED_RESOURCE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_};goog.html.TrustedResourceUrl.prototype.implementsGoogStringTypedString=!0;goog.html.TrustedResourceUrl.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_};\ngoog.html.TrustedResourceUrl.prototype.implementsGoogI18nBidiDirectionalString=!0;goog.html.TrustedResourceUrl.prototype.getDirection=function(){return goog.i18n.bidi.Dir.LTR};goog.DEBUG&&(goog.html.TrustedResourceUrl.prototype.toString=function(){return\"TrustedResourceUrl{\"+this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+\"}\"});\ngoog.html.TrustedResourceUrl.unwrap=function(a){if(a instanceof goog.html.TrustedResourceUrl&&a.constructor===goog.html.TrustedResourceUrl&&a.TRUSTED_RESOURCE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_)return a.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_;goog.asserts.fail(\"expected object of type TrustedResourceUrl, got '\"+a+\"' of type \"+goog.typeOf(a));return\"type_error:TrustedResourceUrl\"};\ngoog.html.TrustedResourceUrl.format=function(a,b){var c=goog.html.TrustedResourceUrl.format_(a,b);return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(c)};\ngoog.html.TrustedResourceUrl.format_=function(a,b){var c=goog.string.Const.unwrap(a);if(!goog.html.TrustedResourceUrl.BASE_URL_.test(c))throw Error(\"Invalid TrustedResourceUrl format: \"+c);return c.replace(goog.html.TrustedResourceUrl.FORMAT_MARKER_,function(a,e){if(!Object.prototype.hasOwnProperty.call(b,e))throw Error('Found marker, \"'+e+'\", in format string, \"'+c+'\", but no valid label mapping found in args: '+JSON.stringify(b));var d=b[e];return d instanceof goog.string.Const?goog.string.Const.unwrap(d):\nencodeURIComponent(String(d))})};goog.html.TrustedResourceUrl.FORMAT_MARKER_=/%{(\\w+)}/g;goog.html.TrustedResourceUrl.BASE_URL_=/^(?:https:)?\\/\\/[0-9a-z.:[\\]-]+\\/|^\\/[^\\/\\\\]|^about:blank(#|$)/i;goog.html.TrustedResourceUrl.formatWithParams=function(a,b,c){a=goog.html.TrustedResourceUrl.format_(a,b);b=/\\?/.test(a)?\"&\":\"?\";for(var d in c)for(var e=goog.isArray(c[d])?c[d]:[c[d]],f=0;f<e.length;f++)null!=e[f]&&(a+=b+encodeURIComponent(d)+\"=\"+encodeURIComponent(String(e[f])),b=\"&\");return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(a)};\ngoog.html.TrustedResourceUrl.fromConstant=function(a){return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(a))};goog.html.TrustedResourceUrl.fromConstants=function(a){for(var b=\"\",c=0;c<a.length;c++)b+=goog.string.Const.unwrap(a[c]);return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(b)};goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={};\ngoog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse=function(a){var b=new goog.html.TrustedResourceUrl;b.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=a;return b};goog.html.SafeUrl=function(){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=\"\";this.SAFE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_};goog.html.SafeUrl.INNOCUOUS_STRING=\"about:invalid#zClosurez\";goog.html.SafeUrl.prototype.implementsGoogStringTypedString=!0;goog.html.SafeUrl.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_};\ngoog.html.SafeUrl.prototype.implementsGoogI18nBidiDirectionalString=!0;goog.html.SafeUrl.prototype.getDirection=function(){return goog.i18n.bidi.Dir.LTR};goog.DEBUG&&(goog.html.SafeUrl.prototype.toString=function(){return\"SafeUrl{\"+this.privateDoNotAccessOrElseSafeHtmlWrappedValue_+\"}\"});\ngoog.html.SafeUrl.unwrap=function(a){if(a instanceof goog.html.SafeUrl&&a.constructor===goog.html.SafeUrl&&a.SAFE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_)return a.privateDoNotAccessOrElseSafeHtmlWrappedValue_;goog.asserts.fail(\"expected object of type SafeUrl, got '\"+a+\"' of type \"+goog.typeOf(a));return\"type_error:SafeUrl\"};goog.html.SafeUrl.fromConstant=function(a){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(a))};\ngoog.html.SAFE_MIME_TYPE_PATTERN_=/^(?:audio\\/(?:3gpp|3gpp2|aac|midi|mp4|mpeg|ogg|x-m4a|x-wav|webm)|image\\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|text\\/csv|video\\/(?:mpeg|mp4|ogg|webm))$/i;goog.html.SafeUrl.fromBlob=function(a){a=goog.html.SAFE_MIME_TYPE_PATTERN_.test(a.type)?goog.fs.url.createObjectUrl(a):goog.html.SafeUrl.INNOCUOUS_STRING;return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(a)};goog.html.DATA_URL_PATTERN_=/^data:([^;,]*);base64,[a-z0-9+\\/]+=*$/i;\ngoog.html.SafeUrl.fromDataUrl=function(a){var b=a.match(goog.html.DATA_URL_PATTERN_);b=b&&goog.html.SAFE_MIME_TYPE_PATTERN_.test(b[1]);return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(b?a:goog.html.SafeUrl.INNOCUOUS_STRING)};goog.html.SafeUrl.fromTelUrl=function(a){goog.string.caseInsensitiveStartsWith(a,\"tel:\")||(a=goog.html.SafeUrl.INNOCUOUS_STRING);return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(a)};goog.html.SafeUrl.fromTrustedResourceUrl=function(a){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.TrustedResourceUrl.unwrap(a))};\ngoog.html.SAFE_URL_PATTERN_=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;goog.html.SafeUrl.sanitize=function(a){if(a instanceof goog.html.SafeUrl)return a;a=a.implementsGoogStringTypedString?a.getTypedStringValue():String(a);goog.html.SAFE_URL_PATTERN_.test(a)||(a=goog.html.SafeUrl.INNOCUOUS_STRING);return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(a)};\ngoog.html.SafeUrl.sanitizeAssertUnchanged=function(a){if(a instanceof goog.html.SafeUrl)return a;a=a.implementsGoogStringTypedString?a.getTypedStringValue():String(a);goog.asserts.assert(goog.html.SAFE_URL_PATTERN_.test(a))||(a=goog.html.SafeUrl.INNOCUOUS_STRING);return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(a)};goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={};\ngoog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse=function(a){var b=new goog.html.SafeUrl;b.privateDoNotAccessOrElseSafeHtmlWrappedValue_=a;return b};goog.html.SafeUrl.ABOUT_BLANK=goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(\"about:blank\");goog.html.SafeStyle=function(){this.privateDoNotAccessOrElseSafeStyleWrappedValue_=\"\";this.SAFE_STYLE_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_};goog.html.SafeStyle.prototype.implementsGoogStringTypedString=!0;goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={};\ngoog.html.SafeStyle.fromConstant=function(a){a=goog.string.Const.unwrap(a);if(0===a.length)return goog.html.SafeStyle.EMPTY;goog.html.SafeStyle.checkStyle_(a);goog.asserts.assert(goog.string.endsWith(a,\";\"),\"Last character of style string is not ';': \"+a);goog.asserts.assert(goog.string.contains(a,\":\"),\"Style string must contain at least one ':', to specify a \\\"name: value\\\" pair: \"+a);return goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(a)};\ngoog.html.SafeStyle.checkStyle_=function(a){goog.asserts.assert(!/[<>]/.test(a),\"Forbidden characters in style string: \"+a)};goog.html.SafeStyle.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_};goog.DEBUG&&(goog.html.SafeStyle.prototype.toString=function(){return\"SafeStyle{\"+this.privateDoNotAccessOrElseSafeStyleWrappedValue_+\"}\"});\ngoog.html.SafeStyle.unwrap=function(a){if(a instanceof goog.html.SafeStyle&&a.constructor===goog.html.SafeStyle&&a.SAFE_STYLE_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_)return a.privateDoNotAccessOrElseSafeStyleWrappedValue_;goog.asserts.fail(\"expected object of type SafeStyle, got '\"+a+\"' of type \"+goog.typeOf(a));return\"type_error:SafeStyle\"};goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse=function(a){return(new goog.html.SafeStyle).initSecurityPrivateDoNotAccessOrElse_(a)};\ngoog.html.SafeStyle.prototype.initSecurityPrivateDoNotAccessOrElse_=function(a){this.privateDoNotAccessOrElseSafeStyleWrappedValue_=a;return this};goog.html.SafeStyle.EMPTY=goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(\"\");goog.html.SafeStyle.INNOCUOUS_STRING=\"zClosurez\";\ngoog.html.SafeStyle.create=function(a){var b=\"\",c;for(c in a){if(!/^[-_a-zA-Z0-9]+$/.test(c))throw Error(\"Name allows only [-_a-zA-Z0-9], got: \"+c);var d=a[c];null!=d&&(d=goog.isArray(d)?goog.array.map(d,goog.html.SafeStyle.sanitizePropertyValue_).join(\" \"):goog.html.SafeStyle.sanitizePropertyValue_(d),b+=c+\":\"+d+\";\")}if(!b)return goog.html.SafeStyle.EMPTY;goog.html.SafeStyle.checkStyle_(b);return goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(b)};\ngoog.html.SafeStyle.sanitizePropertyValue_=function(a){if(a instanceof goog.html.SafeUrl)return'url(\"'+goog.html.SafeUrl.unwrap(a).replace(/</g,\"%3c\").replace(/[\\\\\"]/g,\"\\\\$&\")+'\")';a=a instanceof goog.string.Const?goog.string.Const.unwrap(a):goog.html.SafeStyle.sanitizePropertyValueString_(String(a));goog.asserts.assert(!/[{;}]/.test(a),\"Value does not allow [{;}].\");return a};\ngoog.html.SafeStyle.sanitizePropertyValueString_=function(a){var b=a.replace(goog.html.SafeUrl.FUNCTIONS_RE_,\"$1\").replace(goog.html.SafeUrl.URL_RE_,\"url\");return goog.html.SafeStyle.VALUE_RE_.test(b)?goog.html.SafeStyle.hasBalancedQuotes_(a)?goog.html.SafeStyle.sanitizeUrl_(a):(goog.asserts.fail(\"String value requires balanced quotes, got: \"+a),goog.html.SafeStyle.INNOCUOUS_STRING):(goog.asserts.fail(\"String value allows only \"+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+\" and simple functions, got: \"+\na),goog.html.SafeStyle.INNOCUOUS_STRING)};goog.html.SafeStyle.hasBalancedQuotes_=function(a){for(var b=!0,c=!0,d=0;d<a.length;d++){var e=a.charAt(d);\"'\"==e&&c?b=!b:'\"'==e&&b&&(c=!c)}return b&&c};goog.html.SafeStyle.VALUE_ALLOWED_CHARS_=\"[-,.\\\"'%_!# a-zA-Z0-9]\";goog.html.SafeStyle.VALUE_RE_=new RegExp(\"^\"+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+\"+$\");goog.html.SafeUrl.URL_RE_=RegExp(\"\\\\b(url\\\\([ \\t\\n]*)('[ -&(-\\\\[\\\\]-~]*'|\\\"[ !#-\\\\[\\\\]-~]*\\\"|[!#-&*-\\\\[\\\\]-~]*)([ \\t\\n]*\\\\))\",\"g\");\ngoog.html.SafeUrl.FUNCTIONS_RE_=RegExp(\"\\\\b(hsl|hsla|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?)\\\\([-0-9a-z.%, ]+\\\\)\",\"g\");goog.html.SafeStyle.sanitizeUrl_=function(a){return a.replace(goog.html.SafeUrl.URL_RE_,function(a,c,d,e){var b=\"\";d=d.replace(/^(['\"])(.*)\\1$/,function(a,c,d){b=c;return d});a=goog.html.SafeUrl.sanitize(d).getTypedStringValue();return c+b+a+b+e})};\ngoog.html.SafeStyle.concat=function(a){var b=\"\",c=function(a){goog.isArray(a)?goog.array.forEach(a,c):b+=goog.html.SafeStyle.unwrap(a)};goog.array.forEach(arguments,c);return b?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(b):goog.html.SafeStyle.EMPTY};goog.html.SafeStyleSheet=function(){this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=\"\";this.SAFE_STYLE_SHEET_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_};goog.html.SafeStyleSheet.prototype.implementsGoogStringTypedString=!0;goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={};\ngoog.html.SafeStyleSheet.createRule=function(a,b){if(goog.string.contains(a,\"<\"))throw Error(\"Selector does not allow '<', got: \"+a);var c=a.replace(/('|\")((?!\\1)[^\\r\\n\\f\\\\]|\\\\[\\s\\S])*\\1/g,\"\");if(!/^[-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|]+$/.test(c))throw Error(\"Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\\\]()=^$|] and strings, got: \"+a);if(!goog.html.SafeStyleSheet.hasBalancedBrackets_(c))throw Error(\"() and [] in selector must be balanced, got: \"+a);b instanceof goog.html.SafeStyle||(b=goog.html.SafeStyle.create(b));\nc=a+\"{\"+goog.html.SafeStyle.unwrap(b)+\"}\";return goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(c)};goog.html.SafeStyleSheet.hasBalancedBrackets_=function(a){for(var b={\"(\":\")\",\"[\":\"]\"},c=[],d=0;d<a.length;d++){var e=a[d];if(b[e])c.push(b[e]);else if(goog.object.contains(b,e)&&c.pop()!=e)return!1}return 0==c.length};\ngoog.html.SafeStyleSheet.concat=function(a){var b=\"\",c=function(a){goog.isArray(a)?goog.array.forEach(a,c):b+=goog.html.SafeStyleSheet.unwrap(a)};goog.array.forEach(arguments,c);return goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(b)};\ngoog.html.SafeStyleSheet.fromConstant=function(a){a=goog.string.Const.unwrap(a);if(0===a.length)return goog.html.SafeStyleSheet.EMPTY;goog.asserts.assert(!goog.string.contains(a,\"<\"),\"Forbidden '<' character in style sheet string: \"+a);return goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(a)};goog.html.SafeStyleSheet.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_};\ngoog.DEBUG&&(goog.html.SafeStyleSheet.prototype.toString=function(){return\"SafeStyleSheet{\"+this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_+\"}\"});\ngoog.html.SafeStyleSheet.unwrap=function(a){if(a instanceof goog.html.SafeStyleSheet&&a.constructor===goog.html.SafeStyleSheet&&a.SAFE_STYLE_SHEET_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_)return a.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_;goog.asserts.fail(\"expected object of type SafeStyleSheet, got '\"+a+\"' of type \"+goog.typeOf(a));return\"type_error:SafeStyleSheet\"};\ngoog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse=function(a){return(new goog.html.SafeStyleSheet).initSecurityPrivateDoNotAccessOrElse_(a)};goog.html.SafeStyleSheet.prototype.initSecurityPrivateDoNotAccessOrElse_=function(a){this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=a;return this};goog.html.SafeStyleSheet.EMPTY=goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(\"\");goog.html.SafeHtml=function(){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=\"\";this.SAFE_HTML_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_;this.dir_=null};goog.html.SafeHtml.prototype.implementsGoogI18nBidiDirectionalString=!0;goog.html.SafeHtml.prototype.getDirection=function(){return this.dir_};goog.html.SafeHtml.prototype.implementsGoogStringTypedString=!0;goog.html.SafeHtml.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_};\ngoog.DEBUG&&(goog.html.SafeHtml.prototype.toString=function(){return\"SafeHtml{\"+this.privateDoNotAccessOrElseSafeHtmlWrappedValue_+\"}\"});\ngoog.html.SafeHtml.unwrap=function(a){if(a instanceof goog.html.SafeHtml&&a.constructor===goog.html.SafeHtml&&a.SAFE_HTML_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_)return a.privateDoNotAccessOrElseSafeHtmlWrappedValue_;goog.asserts.fail(\"expected object of type SafeHtml, got '\"+a+\"' of type \"+goog.typeOf(a));return\"type_error:SafeHtml\"};\ngoog.html.SafeHtml.htmlEscape=function(a){if(a instanceof goog.html.SafeHtml)return a;var b=null;a.implementsGoogI18nBidiDirectionalString&&(b=a.getDirection());a=a.implementsGoogStringTypedString?a.getTypedStringValue():String(a);return goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.htmlEscape(a),b)};\ngoog.html.SafeHtml.htmlEscapePreservingNewlines=function(a){if(a instanceof goog.html.SafeHtml)return a;a=goog.html.SafeHtml.htmlEscape(a);return goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.newLineToBr(goog.html.SafeHtml.unwrap(a)),a.getDirection())};\ngoog.html.SafeHtml.htmlEscapePreservingNewlinesAndSpaces=function(a){if(a instanceof goog.html.SafeHtml)return a;a=goog.html.SafeHtml.htmlEscape(a);return goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.whitespaceEscape(goog.html.SafeHtml.unwrap(a)),a.getDirection())};goog.html.SafeHtml.from=goog.html.SafeHtml.htmlEscape;goog.html.SafeHtml.VALID_NAMES_IN_TAG_=/^[a-zA-Z0-9-]+$/;\ngoog.html.SafeHtml.URL_ATTRIBUTES_={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0};goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};goog.html.SafeHtml.create=function(a,b,c){goog.html.SafeHtml.verifyTagName(String(a));return goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(String(a),b,c)};\ngoog.html.SafeHtml.verifyTagName=function(a){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(a))throw Error(\"Invalid tag name <\"+a+\">.\");if(a.toUpperCase()in goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_)throw Error(\"Tag name <\"+a+\"> is not allowed for SafeHtml.\");};\ngoog.html.SafeHtml.createIframe=function(a,b,c,d){a&&goog.html.TrustedResourceUrl.unwrap(a);var e={};e.src=a||null;e.srcdoc=b&&goog.html.SafeHtml.unwrap(b);a=goog.html.SafeHtml.combineAttributes(e,{sandbox:\"\"},c);return goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(\"iframe\",a,d)};\ngoog.html.SafeHtml.createSandboxIframe=function(a,b,c,d){if(!goog.html.SafeHtml.canUseSandboxIframe())throw Error(\"The browser does not support sandboxed iframes.\");var e={};e.src=a?goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(a)):null;e.srcdoc=b||null;e.sandbox=\"\";a=goog.html.SafeHtml.combineAttributes(e,{},c);return goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(\"iframe\",a,d)};\ngoog.html.SafeHtml.canUseSandboxIframe=function(){return goog.global.HTMLIFrameElement&&\"sandbox\"in goog.global.HTMLIFrameElement.prototype};goog.html.SafeHtml.createScriptSrc=function(a,b){goog.html.TrustedResourceUrl.unwrap(a);var c=goog.html.SafeHtml.combineAttributes({src:a},{},b);return goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(\"script\",c)};\ngoog.html.SafeHtml.createScript=function(a,b){for(var c in b){var d=c.toLowerCase();if(\"language\"==d||\"src\"==d||\"text\"==d||\"type\"==d)throw Error('Cannot set \"'+d+'\" attribute');}c=\"\";a=goog.array.concat(a);for(d=0;d<a.length;d++)c+=goog.html.SafeScript.unwrap(a[d]);c=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(c,goog.i18n.bidi.Dir.NEUTRAL);return goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(\"script\",b,c)};\ngoog.html.SafeHtml.createStyle=function(a,b){var c=goog.html.SafeHtml.combineAttributes({type:\"text/css\"},{},b),d=\"\";a=goog.array.concat(a);for(var e=0;e<a.length;e++)d+=goog.html.SafeStyleSheet.unwrap(a[e]);d=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(d,goog.i18n.bidi.Dir.NEUTRAL);return goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(\"style\",c,d)};\ngoog.html.SafeHtml.createMetaRefresh=function(a,b){var c=goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(a));(goog.labs.userAgent.browser.isIE()||goog.labs.userAgent.browser.isEdge())&&goog.string.contains(c,\";\")&&(c=\"'\"+c.replace(/'/g,\"%27\")+\"'\");return goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(\"meta\",{\"http-equiv\":\"refresh\",content:(b||0)+\"; url=\"+c})};\ngoog.html.SafeHtml.getAttrNameAndValue_=function(a,b,c){if(c instanceof goog.string.Const)c=goog.string.Const.unwrap(c);else if(\"style\"==b.toLowerCase())c=goog.html.SafeHtml.getStyleValue_(c);else{if(/^on/i.test(b))throw Error('Attribute \"'+b+'\" requires goog.string.Const value, \"'+c+'\" given.');if(b.toLowerCase()in goog.html.SafeHtml.URL_ATTRIBUTES_)if(c instanceof goog.html.TrustedResourceUrl)c=goog.html.TrustedResourceUrl.unwrap(c);else if(c instanceof goog.html.SafeUrl)c=goog.html.SafeUrl.unwrap(c);\nelse if(goog.isString(c))c=goog.html.SafeUrl.sanitize(c).getTypedStringValue();else throw Error('Attribute \"'+b+'\" on tag \"'+a+'\" requires goog.html.SafeUrl, goog.string.Const, or string, value \"'+c+'\" given.');}c.implementsGoogStringTypedString&&(c=c.getTypedStringValue());goog.asserts.assert(goog.isString(c)||goog.isNumber(c),\"String or number value expected, got \"+typeof c+\" with value: \"+c);return b+'=\"'+goog.string.htmlEscape(String(c))+'\"'};\ngoog.html.SafeHtml.getStyleValue_=function(a){if(!goog.isObject(a))throw Error('The \"style\" attribute requires goog.html.SafeStyle or map of style properties, '+typeof a+\" given: \"+a);a instanceof goog.html.SafeStyle||(a=goog.html.SafeStyle.create(a));return goog.html.SafeStyle.unwrap(a)};goog.html.SafeHtml.createWithDir=function(a,b,c,d){b=goog.html.SafeHtml.create(b,c,d);b.dir_=a;return b};\ngoog.html.SafeHtml.concat=function(a){var b=goog.i18n.bidi.Dir.NEUTRAL,c=\"\",d=function(a){goog.isArray(a)?goog.array.forEach(a,d):(a=goog.html.SafeHtml.htmlEscape(a),c+=goog.html.SafeHtml.unwrap(a),a=a.getDirection(),b==goog.i18n.bidi.Dir.NEUTRAL?b=a:a!=goog.i18n.bidi.Dir.NEUTRAL&&b!=a&&(b=null))};goog.array.forEach(arguments,d);return goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(c,b)};\ngoog.html.SafeHtml.concatWithDir=function(a,b){var c=goog.html.SafeHtml.concat(goog.array.slice(arguments,1));c.dir_=a;return c};goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={};goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse=function(a,b){return(new goog.html.SafeHtml).initSecurityPrivateDoNotAccessOrElse_(a,b)};goog.html.SafeHtml.prototype.initSecurityPrivateDoNotAccessOrElse_=function(a,b){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=a;this.dir_=b;return this};\ngoog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse=function(a,b,c){var d=null;var e=\"<\"+a+goog.html.SafeHtml.stringifyAttributes(a,b);goog.isDefAndNotNull(c)?goog.isArray(c)||(c=[c]):c=[];goog.dom.tags.isVoidTag(a.toLowerCase())?(goog.asserts.assert(!c.length,\"Void tag <\"+a+\"> does not allow content.\"),e+=\">\"):(d=goog.html.SafeHtml.concat(c),e+=\">\"+goog.html.SafeHtml.unwrap(d)+\"</\"+a+\">\",d=d.getDirection());(a=b&&b.dir)&&(d=/^(ltr|rtl|auto)$/i.test(a)?goog.i18n.bidi.Dir.NEUTRAL:\nnull);return goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(e,d)};goog.html.SafeHtml.stringifyAttributes=function(a,b){var c=\"\";if(b)for(var d in b){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(d))throw Error('Invalid attribute name \"'+d+'\".');var e=b[d];goog.isDefAndNotNull(e)&&(c+=\" \"+goog.html.SafeHtml.getAttrNameAndValue_(a,d,e))}return c};\ngoog.html.SafeHtml.combineAttributes=function(a,b,c){var d={},e;for(e in a)goog.asserts.assert(e.toLowerCase()==e,\"Must be lower case\"),d[e]=a[e];for(e in b)goog.asserts.assert(e.toLowerCase()==e,\"Must be lower case\"),d[e]=b[e];for(e in c){var f=e.toLowerCase();if(f in a)throw Error('Cannot override \"'+f+'\" attribute, got \"'+e+'\" with value \"'+c[e]+'\"');f in b&&delete d[f];d[e]=c[e]}return d};\ngoog.html.SafeHtml.DOCTYPE_HTML=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(\"<!DOCTYPE html>\",goog.i18n.bidi.Dir.NEUTRAL);goog.html.SafeHtml.EMPTY=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(\"\",goog.i18n.bidi.Dir.NEUTRAL);goog.html.SafeHtml.BR=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(\"<br>\",goog.i18n.bidi.Dir.NEUTRAL);goog.dom.safe={};goog.dom.safe.InsertAdjacentHtmlPosition={AFTERBEGIN:\"afterbegin\",AFTEREND:\"afterend\",BEFOREBEGIN:\"beforebegin\",BEFOREEND:\"beforeend\"};goog.dom.safe.insertAdjacentHtml=function(a,b,c){a.insertAdjacentHTML(b,goog.html.SafeHtml.unwrap(c))};goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};\ngoog.dom.safe.setInnerHtml=function(a,b){if(goog.asserts.ENABLE_ASSERTS){var c=a.tagName.toUpperCase();if(goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[c])throw Error(\"goog.dom.safe.setInnerHtml cannot be used to set content of \"+a.tagName+\".\");}a.innerHTML=goog.html.SafeHtml.unwrap(b)};goog.dom.safe.setOuterHtml=function(a,b){a.outerHTML=goog.html.SafeHtml.unwrap(b)};goog.dom.safe.setStyle=function(a,b){a.style.cssText=goog.html.SafeStyle.unwrap(b)};goog.dom.safe.documentWrite=function(a,b){a.write(goog.html.SafeHtml.unwrap(b))};\ngoog.dom.safe.setAnchorHref=function(a,b){goog.dom.asserts.assertIsHTMLAnchorElement(a);var c=b instanceof goog.html.SafeUrl?b:goog.html.SafeUrl.sanitizeAssertUnchanged(b);a.href=goog.html.SafeUrl.unwrap(c)};goog.dom.safe.setImageSrc=function(a,b){goog.dom.asserts.assertIsHTMLImageElement(a);var c=b instanceof goog.html.SafeUrl?b:goog.html.SafeUrl.sanitizeAssertUnchanged(b);a.src=goog.html.SafeUrl.unwrap(c)};\ngoog.dom.safe.setEmbedSrc=function(a,b){goog.dom.asserts.assertIsHTMLEmbedElement(a);a.src=goog.html.TrustedResourceUrl.unwrap(b)};goog.dom.safe.setFrameSrc=function(a,b){goog.dom.asserts.assertIsHTMLFrameElement(a);a.src=goog.html.TrustedResourceUrl.unwrap(b)};goog.dom.safe.setIframeSrc=function(a,b){goog.dom.asserts.assertIsHTMLIFrameElement(a);a.src=goog.html.TrustedResourceUrl.unwrap(b)};goog.dom.safe.setIframeSrcdoc=function(a,b){goog.dom.asserts.assertIsHTMLIFrameElement(a);a.srcdoc=goog.html.SafeHtml.unwrap(b)};\ngoog.dom.safe.setLinkHrefAndRel=function(a,b,c){goog.dom.asserts.assertIsHTMLLinkElement(a);a.rel=c;goog.string.caseInsensitiveContains(c,\"stylesheet\")?(goog.asserts.assert(b instanceof goog.html.TrustedResourceUrl,'URL must be TrustedResourceUrl because \"rel\" contains \"stylesheet\"'),a.href=goog.html.TrustedResourceUrl.unwrap(b)):a.href=b instanceof goog.html.TrustedResourceUrl?goog.html.TrustedResourceUrl.unwrap(b):b instanceof goog.html.SafeUrl?goog.html.SafeUrl.unwrap(b):goog.html.SafeUrl.sanitizeAssertUnchanged(b).getTypedStringValue()};\ngoog.dom.safe.setObjectData=function(a,b){goog.dom.asserts.assertIsHTMLObjectElement(a);a.data=goog.html.TrustedResourceUrl.unwrap(b)};goog.dom.safe.setScriptSrc=function(a,b){goog.dom.asserts.assertIsHTMLScriptElement(a);a.src=goog.html.TrustedResourceUrl.unwrap(b)};goog.dom.safe.setScriptContent=function(a,b){goog.dom.asserts.assertIsHTMLScriptElement(a);a.text=goog.html.SafeScript.unwrap(b)};\ngoog.dom.safe.setLocationHref=function(a,b){goog.dom.asserts.assertIsLocation(a);var c=b instanceof goog.html.SafeUrl?b:goog.html.SafeUrl.sanitizeAssertUnchanged(b);a.href=goog.html.SafeUrl.unwrap(c)};goog.dom.safe.openInWindow=function(a,b,c,d,e){a=a instanceof goog.html.SafeUrl?a:goog.html.SafeUrl.sanitizeAssertUnchanged(a);return(b||window).open(goog.html.SafeUrl.unwrap(a),c?goog.string.Const.unwrap(c):\"\",d,e)};goog.html.uncheckedconversions={};goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract=function(a,b,c){goog.asserts.assertString(goog.string.Const.unwrap(a),\"must provide justification\");goog.asserts.assert(!goog.string.isEmptyOrWhitespace(goog.string.Const.unwrap(a)),\"must provide non-empty justification\");return goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(b,c||null)};\ngoog.html.uncheckedconversions.safeScriptFromStringKnownToSatisfyTypeContract=function(a,b){goog.asserts.assertString(goog.string.Const.unwrap(a),\"must provide justification\");goog.asserts.assert(!goog.string.isEmptyOrWhitespace(goog.string.Const.unwrap(a)),\"must provide non-empty justification\");return goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(b)};\ngoog.html.uncheckedconversions.safeStyleFromStringKnownToSatisfyTypeContract=function(a,b){goog.asserts.assertString(goog.string.Const.unwrap(a),\"must provide justification\");goog.asserts.assert(!goog.string.isEmptyOrWhitespace(goog.string.Const.unwrap(a)),\"must provide non-empty justification\");return goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(b)};\ngoog.html.uncheckedconversions.safeStyleSheetFromStringKnownToSatisfyTypeContract=function(a,b){goog.asserts.assertString(goog.string.Const.unwrap(a),\"must provide justification\");goog.asserts.assert(!goog.string.isEmptyOrWhitespace(goog.string.Const.unwrap(a)),\"must provide non-empty justification\");return goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(b)};\ngoog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract=function(a,b){goog.asserts.assertString(goog.string.Const.unwrap(a),\"must provide justification\");goog.asserts.assert(!goog.string.isEmptyOrWhitespace(goog.string.Const.unwrap(a)),\"must provide non-empty justification\");return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(b)};\ngoog.html.uncheckedconversions.trustedResourceUrlFromStringKnownToSatisfyTypeContract=function(a,b){goog.asserts.assertString(goog.string.Const.unwrap(a),\"must provide justification\");goog.asserts.assert(!goog.string.isEmptyOrWhitespace(goog.string.Const.unwrap(a)),\"must provide non-empty justification\");return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(b)};goog.math.Size=function(a,b){this.width=a;this.height=b};goog.math.Size.equals=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};goog.math.Size.prototype.clone=function(){return new goog.math.Size(this.width,this.height)};goog.DEBUG&&(goog.math.Size.prototype.toString=function(){return\"(\"+this.width+\" x \"+this.height+\")\"});goog.math.Size.prototype.getLongest=function(){return Math.max(this.width,this.height)};\ngoog.math.Size.prototype.getShortest=function(){return Math.min(this.width,this.height)};goog.math.Size.prototype.area=function(){return this.width*this.height};goog.math.Size.prototype.perimeter=function(){return 2*(this.width+this.height)};goog.math.Size.prototype.aspectRatio=function(){return this.width/this.height};goog.math.Size.prototype.isEmpty=function(){return!this.area()};goog.math.Size.prototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};\ngoog.math.Size.prototype.fitsInside=function(a){return this.width<=a.width&&this.height<=a.height};goog.math.Size.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};goog.math.Size.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};goog.math.Size.prototype.scale=function(a,b){var c=goog.isNumber(b)?b:a;this.width*=a;this.height*=c;return this};\ngoog.math.Size.prototype.scaleToCover=function(a){a=this.aspectRatio()<=a.aspectRatio()?a.width/this.width:a.height/this.height;return this.scale(a)};goog.math.Size.prototype.scaleToFit=function(a){a=this.aspectRatio()>a.aspectRatio()?a.width/this.width:a.height/this.height;return this.scale(a)};goog.dom.ASSUME_QUIRKS_MODE=!1;goog.dom.ASSUME_STANDARDS_MODE=!1;goog.dom.COMPAT_MODE_KNOWN_=goog.dom.ASSUME_QUIRKS_MODE||goog.dom.ASSUME_STANDARDS_MODE;goog.dom.getDomHelper=function(a){return a?new goog.dom.DomHelper(goog.dom.getOwnerDocument(a)):goog.dom.defaultDomHelper_||(goog.dom.defaultDomHelper_=new goog.dom.DomHelper)};goog.dom.getDocument=function(){return document};goog.dom.getElement=function(a){return goog.dom.getElementHelper_(document,a)};\ngoog.dom.getElementHelper_=function(a,b){return goog.isString(b)?a.getElementById(b):b};goog.dom.getRequiredElement=function(a){return goog.dom.getRequiredElementHelper_(document,a)};goog.dom.getRequiredElementHelper_=function(a,b){goog.asserts.assertString(b);var c=goog.dom.getElementHelper_(a,b);return c=goog.asserts.assertElement(c,\"No element found with id: \"+b)};goog.dom.$=goog.dom.getElement;goog.dom.getElementsByTagName=function(a,b){return(b||document).getElementsByTagName(String(a))};\ngoog.dom.getElementsByTagNameAndClass=function(a,b,c){return goog.dom.getElementsByTagNameAndClass_(document,a,b,c)};goog.dom.getElementByTagNameAndClass=function(a,b,c){return goog.dom.getElementByTagNameAndClass_(document,a,b,c)};goog.dom.getElementsByClass=function(a,b){var c=b||document;return goog.dom.canUseQuerySelector_(c)?c.querySelectorAll(\".\"+a):goog.dom.getElementsByTagNameAndClass_(document,\"*\",a,b)};\ngoog.dom.getElementByClass=function(a,b){var c=b||document;return(c.getElementsByClassName?c.getElementsByClassName(a)[0]:goog.dom.getElementByTagNameAndClass_(document,\"*\",a,b))||null};goog.dom.getRequiredElementByClass=function(a,b){var c=goog.dom.getElementByClass(a,b);return goog.asserts.assert(c,\"No element found with className: \"+a)};goog.dom.canUseQuerySelector_=function(a){return!(!a.querySelectorAll||!a.querySelector)};\ngoog.dom.getElementsByTagNameAndClass_=function(a,b,c,d){a=d||a;b=b&&\"*\"!=b?String(b).toUpperCase():\"\";if(goog.dom.canUseQuerySelector_(a)&&(b||c))return a.querySelectorAll(b+(c?\".\"+c:\"\"));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};for(var e=0,f=0,g;g=a[f];f++)b==g.nodeName&&(d[e++]=g);d.length=e;return d}return a}a=a.getElementsByTagName(b||\"*\");if(c){d={};for(f=e=0;g=a[f];f++)b=g.className,\"function\"==typeof b.split&&goog.array.contains(b.split(/\\s+/),c)&&(d[e++]=g);\nd.length=e;return d}return a};goog.dom.getElementByTagNameAndClass_=function(a,b,c,d){var e=d||a,f=b&&\"*\"!=b?String(b).toUpperCase():\"\";return goog.dom.canUseQuerySelector_(e)&&(f||c)?e.querySelector(f+(c?\".\"+c:\"\")):goog.dom.getElementsByTagNameAndClass_(a,b,c,d)[0]||null};goog.dom.$$=goog.dom.getElementsByTagNameAndClass;\ngoog.dom.setProperties=function(a,b){goog.object.forEach(b,function(b,d){b&&b.implementsGoogStringTypedString&&(b=b.getTypedStringValue());\"style\"==d?a.style.cssText=b:\"class\"==d?a.className=b:\"for\"==d?a.htmlFor=b:goog.dom.DIRECT_ATTRIBUTE_MAP_.hasOwnProperty(d)?a.setAttribute(goog.dom.DIRECT_ATTRIBUTE_MAP_[d],b):goog.string.startsWith(d,\"aria-\")||goog.string.startsWith(d,\"data-\")?a.setAttribute(d,b):a[d]=b})};\ngoog.dom.DIRECT_ATTRIBUTE_MAP_={cellpadding:\"cellPadding\",cellspacing:\"cellSpacing\",colspan:\"colSpan\",frameborder:\"frameBorder\",height:\"height\",maxlength:\"maxLength\",nonce:\"nonce\",role:\"role\",rowspan:\"rowSpan\",type:\"type\",usemap:\"useMap\",valign:\"vAlign\",width:\"width\"};goog.dom.getViewportSize=function(a){return goog.dom.getViewportSize_(a||window)};goog.dom.getViewportSize_=function(a){a=a.document;a=goog.dom.isCss1CompatMode_(a)?a.documentElement:a.body;return new goog.math.Size(a.clientWidth,a.clientHeight)};\ngoog.dom.getDocumentHeight=function(){return goog.dom.getDocumentHeight_(window)};goog.dom.getDocumentHeightForWindow=function(a){return goog.dom.getDocumentHeight_(a)};\ngoog.dom.getDocumentHeight_=function(a){var b=a.document,c=0;if(b){c=b.body;var d=b.documentElement;if(!d||!c)return 0;a=goog.dom.getViewportSize_(a).height;if(goog.dom.isCss1CompatMode_(b)&&d.scrollHeight)c=d.scrollHeight!=a?d.scrollHeight:d.offsetHeight;else{b=d.scrollHeight;var e=d.offsetHeight;d.clientHeight!=e&&(b=c.scrollHeight,e=c.offsetHeight);c=b>a?b>e?b:e:b<e?b:e}}return c};goog.dom.getPageScroll=function(a){return goog.dom.getDomHelper((a||goog.global||window).document).getDocumentScroll()};\ngoog.dom.getDocumentScroll=function(){return goog.dom.getDocumentScroll_(document)};goog.dom.getDocumentScroll_=function(a){var b=goog.dom.getDocumentScrollElement_(a);a=goog.dom.getWindow_(a);return goog.userAgent.IE&&goog.userAgent.isVersionOrHigher(\"10\")&&a.pageYOffset!=b.scrollTop?new goog.math.Coordinate(b.scrollLeft,b.scrollTop):new goog.math.Coordinate(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};goog.dom.getDocumentScrollElement=function(){return goog.dom.getDocumentScrollElement_(document)};\ngoog.dom.getDocumentScrollElement_=function(a){return a.scrollingElement?a.scrollingElement:!goog.userAgent.WEBKIT&&goog.dom.isCss1CompatMode_(a)?a.documentElement:a.body||a.documentElement};goog.dom.getWindow=function(a){return a?goog.dom.getWindow_(a):window};goog.dom.getWindow_=function(a){return a.parentWindow||a.defaultView};goog.dom.createDom=function(a,b,c){return goog.dom.createDom_(document,arguments)};\ngoog.dom.createDom_=function(a,b){var c=String(b[0]),d=b[1];if(!goog.dom.BrowserFeature.CAN_ADD_NAME_OR_TYPE_ATTRIBUTES&&d&&(d.name||d.type)){c=[\"<\",c];d.name&&c.push(' name=\"',goog.string.htmlEscape(d.name),'\"');if(d.type){c.push(' type=\"',goog.string.htmlEscape(d.type),'\"');var e={};goog.object.extend(e,d);delete e.type;d=e}c.push(\">\");c=c.join(\"\")}c=a.createElement(c);d&&(goog.isString(d)?c.className=d:goog.isArray(d)?c.className=d.join(\" \"):goog.dom.setProperties(c,d));2<b.length&&goog.dom.append_(a,\nc,b,2);return c};goog.dom.append_=function(a,b,c,d){function e(c){c&&b.appendChild(goog.isString(c)?a.createTextNode(c):c)}for(;d<c.length;d++){var f=c[d];goog.isArrayLike(f)&&!goog.dom.isNodeLike(f)?goog.array.forEach(goog.dom.isNodeList(f)?goog.array.toArray(f):f,e):e(f)}};goog.dom.$dom=goog.dom.createDom;goog.dom.createElement=function(a){return goog.dom.createElement_(document,a)};goog.dom.createElement_=function(a,b){return a.createElement(String(b))};goog.dom.createTextNode=function(a){return document.createTextNode(String(a))};\ngoog.dom.createTable=function(a,b,c){return goog.dom.createTable_(document,a,b,!!c)};goog.dom.createTable_=function(a,b,c,d){for(var e=goog.dom.createElement_(a,\"TABLE\"),f=e.appendChild(goog.dom.createElement_(a,\"TBODY\")),g=0;g<b;g++){for(var h=goog.dom.createElement_(a,\"TR\"),k=0;k<c;k++){var n=goog.dom.createElement_(a,\"TD\");d&&goog.dom.setTextContent(n,goog.string.Unicode.NBSP);h.appendChild(n)}f.appendChild(h)}return e};\ngoog.dom.constHtmlToNode=function(a){var b=goog.array.map(arguments,goog.string.Const.unwrap);b=goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from(\"Constant HTML string, that gets turned into a Node later, so it will be automatically balanced.\"),b.join(\"\"));return goog.dom.safeHtmlToNode(b)};goog.dom.safeHtmlToNode=function(a){return goog.dom.safeHtmlToNode_(document,a)};\ngoog.dom.safeHtmlToNode_=function(a,b){var c=goog.dom.createElement_(a,\"DIV\");goog.dom.BrowserFeature.INNER_HTML_NEEDS_SCOPED_ELEMENT?(goog.dom.safe.setInnerHtml(c,goog.html.SafeHtml.concat(goog.html.SafeHtml.BR,b)),c.removeChild(c.firstChild)):goog.dom.safe.setInnerHtml(c,b);return goog.dom.childrenToNode_(a,c)};goog.dom.childrenToNode_=function(a,b){if(1==b.childNodes.length)return b.removeChild(b.firstChild);for(var c=a.createDocumentFragment();b.firstChild;)c.appendChild(b.firstChild);return c};\ngoog.dom.isCss1CompatMode=function(){return goog.dom.isCss1CompatMode_(document)};goog.dom.isCss1CompatMode_=function(a){return goog.dom.COMPAT_MODE_KNOWN_?goog.dom.ASSUME_STANDARDS_MODE:\"CSS1Compat\"==a.compatMode};goog.dom.canHaveChildren=function(a){if(a.nodeType!=goog.dom.NodeType.ELEMENT)return!1;switch(a.tagName){case \"APPLET\":case \"AREA\":case \"BASE\":case \"BR\":case \"COL\":case \"COMMAND\":case \"EMBED\":case \"FRAME\":case \"HR\":case \"IMG\":case \"INPUT\":case \"IFRAME\":case \"ISINDEX\":case \"KEYGEN\":case \"LINK\":case \"NOFRAMES\":case \"NOSCRIPT\":case \"META\":case \"OBJECT\":case \"PARAM\":case \"SCRIPT\":case \"SOURCE\":case \"STYLE\":case \"TRACK\":case \"WBR\":return!1}return!0};\ngoog.dom.appendChild=function(a,b){a.appendChild(b)};goog.dom.append=function(a,b){goog.dom.append_(goog.dom.getOwnerDocument(a),a,arguments,1)};goog.dom.removeChildren=function(a){for(var b;b=a.firstChild;)a.removeChild(b)};goog.dom.insertSiblingBefore=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b)};goog.dom.insertSiblingAfter=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};goog.dom.insertChildAt=function(a,b,c){a.insertBefore(b,a.childNodes[c]||null)};\ngoog.dom.removeNode=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null};goog.dom.replaceNode=function(a,b){var c=b.parentNode;c&&c.replaceChild(a,b)};goog.dom.flattenElement=function(a){var b,c=a.parentNode;if(c&&c.nodeType!=goog.dom.NodeType.DOCUMENT_FRAGMENT){if(a.removeNode)return a.removeNode(!1);for(;b=a.firstChild;)c.insertBefore(b,a);return goog.dom.removeNode(a)}};\ngoog.dom.getChildren=function(a){return goog.dom.BrowserFeature.CAN_USE_CHILDREN_ATTRIBUTE&&void 0!=a.children?a.children:goog.array.filter(a.childNodes,function(a){return a.nodeType==goog.dom.NodeType.ELEMENT})};goog.dom.getFirstElementChild=function(a){return goog.isDef(a.firstElementChild)?a.firstElementChild:goog.dom.getNextElementNode_(a.firstChild,!0)};goog.dom.getLastElementChild=function(a){return goog.isDef(a.lastElementChild)?a.lastElementChild:goog.dom.getNextElementNode_(a.lastChild,!1)};\ngoog.dom.getNextElementSibling=function(a){return goog.isDef(a.nextElementSibling)?a.nextElementSibling:goog.dom.getNextElementNode_(a.nextSibling,!0)};goog.dom.getPreviousElementSibling=function(a){return goog.isDef(a.previousElementSibling)?a.previousElementSibling:goog.dom.getNextElementNode_(a.previousSibling,!1)};goog.dom.getNextElementNode_=function(a,b){for(;a&&a.nodeType!=goog.dom.NodeType.ELEMENT;)a=b?a.nextSibling:a.previousSibling;return a};\ngoog.dom.getNextNode=function(a){if(!a)return null;if(a.firstChild)return a.firstChild;for(;a&&!a.nextSibling;)a=a.parentNode;return a?a.nextSibling:null};goog.dom.getPreviousNode=function(a){if(!a)return null;if(!a.previousSibling)return a.parentNode;for(a=a.previousSibling;a&&a.lastChild;)a=a.lastChild;return a};goog.dom.isNodeLike=function(a){return goog.isObject(a)&&0<a.nodeType};goog.dom.isElement=function(a){return goog.isObject(a)&&a.nodeType==goog.dom.NodeType.ELEMENT};\ngoog.dom.isWindow=function(a){return goog.isObject(a)&&a.window==a};goog.dom.getParentElement=function(a){var b;if(goog.dom.BrowserFeature.CAN_USE_PARENT_ELEMENT_PROPERTY&&!(goog.userAgent.IE&&goog.userAgent.isVersionOrHigher(\"9\")&&!goog.userAgent.isVersionOrHigher(\"10\")&&goog.global.SVGElement&&a instanceof goog.global.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return goog.dom.isElement(b)?b:null};\ngoog.dom.contains=function(a,b){if(!a||!b)return!1;if(a.contains&&b.nodeType==goog.dom.NodeType.ELEMENT)return a==b||a.contains(b);if(\"undefined\"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};\ngoog.dom.compareNodeOrder=function(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if(goog.userAgent.IE&&!goog.userAgent.isDocumentModeOrHigher(9)){if(a.nodeType==goog.dom.NodeType.DOCUMENT)return-1;if(b.nodeType==goog.dom.NodeType.DOCUMENT)return 1}if(\"sourceIndex\"in a||a.parentNode&&\"sourceIndex\"in a.parentNode){var c=a.nodeType==goog.dom.NodeType.ELEMENT,d=b.nodeType==goog.dom.NodeType.ELEMENT;if(c&&d)return a.sourceIndex-b.sourceIndex;var e=a.parentNode,\nf=b.parentNode;return e==f?goog.dom.compareSiblingOrder_(a,b):!c&&goog.dom.contains(e,b)?-1*goog.dom.compareParentsDescendantNodeIe_(a,b):!d&&goog.dom.contains(f,a)?goog.dom.compareParentsDescendantNodeIe_(b,a):(c?a.sourceIndex:e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}d=goog.dom.getOwnerDocument(a);c=d.createRange();c.selectNode(a);c.collapse(!0);d=d.createRange();d.selectNode(b);d.collapse(!0);return c.compareBoundaryPoints(goog.global.Range.START_TO_END,d)};\ngoog.dom.compareParentsDescendantNodeIe_=function(a,b){var c=a.parentNode;if(c==b)return-1;for(var d=b;d.parentNode!=c;)d=d.parentNode;return goog.dom.compareSiblingOrder_(d,a)};goog.dom.compareSiblingOrder_=function(a,b){for(var c=b;c=c.previousSibling;)if(c==a)return-1;return 1};\ngoog.dom.findCommonAncestor=function(a){var b,c=arguments.length;if(!c)return null;if(1==c)return arguments[0];var d=[],e=Infinity;for(b=0;b<c;b++){for(var f=[],g=arguments[b];g;)f.unshift(g),g=g.parentNode;d.push(f);e=Math.min(e,f.length)}f=null;for(b=0;b<e;b++){g=d[0][b];for(var h=1;h<c;h++)if(g!=d[h][b])return f;f=g}return f};goog.dom.getOwnerDocument=function(a){goog.asserts.assert(a,\"Node cannot be null or undefined.\");return a.nodeType==goog.dom.NodeType.DOCUMENT?a:a.ownerDocument||a.document};\ngoog.dom.getFrameContentDocument=function(a){return a.contentDocument||a.contentWindow.document};goog.dom.getFrameContentWindow=function(a){try{return a.contentWindow||(a.contentDocument?goog.dom.getWindow(a.contentDocument):null)}catch(b){}return null};\ngoog.dom.setTextContent=function(a,b){goog.asserts.assert(null!=a,\"goog.dom.setTextContent expects a non-null value for node\");if(\"textContent\"in a)a.textContent=b;else if(a.nodeType==goog.dom.NodeType.TEXT)a.data=String(b);else if(a.firstChild&&a.firstChild.nodeType==goog.dom.NodeType.TEXT){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else{goog.dom.removeChildren(a);var c=goog.dom.getOwnerDocument(a);a.appendChild(c.createTextNode(String(b)))}};\ngoog.dom.getOuterHtml=function(a){goog.asserts.assert(null!==a,\"goog.dom.getOuterHtml expects a non-null value for element\");if(\"outerHTML\"in a)return a.outerHTML;var b=goog.dom.getOwnerDocument(a);b=goog.dom.createElement_(b,\"DIV\");b.appendChild(a.cloneNode(!0));return b.innerHTML};goog.dom.findNode=function(a,b){var c=[];return goog.dom.findNodes_(a,b,c,!0)?c[0]:void 0};goog.dom.findNodes=function(a,b){var c=[];goog.dom.findNodes_(a,b,c,!1);return c};\ngoog.dom.findNodes_=function(a,b,c,d){if(null!=a)for(a=a.firstChild;a;){if(b(a)&&(c.push(a),d)||goog.dom.findNodes_(a,b,c,d))return!0;a=a.nextSibling}return!1};goog.dom.TAGS_TO_IGNORE_={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1};goog.dom.PREDEFINED_TAG_VALUES_={IMG:\" \",BR:\"\\n\"};goog.dom.isFocusableTabIndex=function(a){return goog.dom.hasSpecifiedTabIndex_(a)&&goog.dom.isTabIndexFocusable_(a)};goog.dom.setFocusableTabIndex=function(a,b){b?a.tabIndex=0:(a.tabIndex=-1,a.removeAttribute(\"tabIndex\"))};\ngoog.dom.isFocusable=function(a){var b;return(b=goog.dom.nativelySupportsFocus_(a)?!a.disabled&&(!goog.dom.hasSpecifiedTabIndex_(a)||goog.dom.isTabIndexFocusable_(a)):goog.dom.isFocusableTabIndex(a))&&goog.userAgent.IE?goog.dom.hasNonZeroBoundingRect_(a):b};goog.dom.hasSpecifiedTabIndex_=function(a){return goog.userAgent.IE&&!goog.userAgent.isVersionOrHigher(\"9\")?(a=a.getAttributeNode(\"tabindex\"),goog.isDefAndNotNull(a)&&a.specified):a.hasAttribute(\"tabindex\")};\ngoog.dom.isTabIndexFocusable_=function(a){a=a.tabIndex;return goog.isNumber(a)&&0<=a&&32768>a};goog.dom.nativelySupportsFocus_=function(a){return\"A\"==a.tagName||\"INPUT\"==a.tagName||\"TEXTAREA\"==a.tagName||\"SELECT\"==a.tagName||\"BUTTON\"==a.tagName};goog.dom.hasNonZeroBoundingRect_=function(a){a=!goog.isFunction(a.getBoundingClientRect)||goog.userAgent.IE&&null==a.parentElement?{height:a.offsetHeight,width:a.offsetWidth}:a.getBoundingClientRect();return goog.isDefAndNotNull(a)&&0<a.height&&0<a.width};\ngoog.dom.getTextContent=function(a){if(goog.dom.BrowserFeature.CAN_USE_INNER_TEXT&&null!==a&&\"innerText\"in a)a=goog.string.canonicalizeNewlines(a.innerText);else{var b=[];goog.dom.getTextContent_(a,b,!0);a=b.join(\"\")}a=a.replace(/ \\xAD /g,\" \").replace(/\\xAD/g,\"\");a=a.replace(/\\u200B/g,\"\");goog.dom.BrowserFeature.CAN_USE_INNER_TEXT||(a=a.replace(/ +/g,\" \"));\" \"!=a&&(a=a.replace(/^\\s*/,\"\"));return a};goog.dom.getRawTextContent=function(a){var b=[];goog.dom.getTextContent_(a,b,!1);return b.join(\"\")};\ngoog.dom.getTextContent_=function(a,b,c){if(!(a.nodeName in goog.dom.TAGS_TO_IGNORE_))if(a.nodeType==goog.dom.NodeType.TEXT)c?b.push(String(a.nodeValue).replace(/(\\r\\n|\\r|\\n)/g,\"\")):b.push(a.nodeValue);else if(a.nodeName in goog.dom.PREDEFINED_TAG_VALUES_)b.push(goog.dom.PREDEFINED_TAG_VALUES_[a.nodeName]);else for(a=a.firstChild;a;)goog.dom.getTextContent_(a,b,c),a=a.nextSibling};goog.dom.getNodeTextLength=function(a){return goog.dom.getTextContent(a).length};\ngoog.dom.getNodeTextOffset=function(a,b){for(var c=b||goog.dom.getOwnerDocument(a).body,d=[];a&&a!=c;){for(var e=a;e=e.previousSibling;)d.unshift(goog.dom.getTextContent(e));a=a.parentNode}return goog.string.trimLeft(d.join(\"\")).replace(/ +/g,\" \").length};\ngoog.dom.getNodeAtOffset=function(a,b,c){a=[a];for(var d=0,e=null;0<a.length&&d<b;)if(e=a.pop(),!(e.nodeName in goog.dom.TAGS_TO_IGNORE_))if(e.nodeType==goog.dom.NodeType.TEXT){var f=e.nodeValue.replace(/(\\r\\n|\\r|\\n)/g,\"\").replace(/ +/g,\" \");d+=f.length}else if(e.nodeName in goog.dom.PREDEFINED_TAG_VALUES_)d+=goog.dom.PREDEFINED_TAG_VALUES_[e.nodeName].length;else for(f=e.childNodes.length-1;0<=f;f--)a.push(e.childNodes[f]);goog.isObject(c)&&(c.remainder=e?e.nodeValue.length+b-d-1:0,c.node=e);return e};\ngoog.dom.isNodeList=function(a){if(a&&\"number\"==typeof a.length){if(goog.isObject(a))return\"function\"==typeof a.item||\"string\"==typeof a.item;if(goog.isFunction(a))return\"function\"==typeof a.item}return!1};goog.dom.getAncestorByTagNameAndClass=function(a,b,c,d){if(!b&&!c)return null;var e=b?String(b).toUpperCase():null;return goog.dom.getAncestor(a,function(a){return(!e||a.nodeName==e)&&(!c||goog.isString(a.className)&&goog.array.contains(a.className.split(/\\s+/),c))},!0,d)};\ngoog.dom.getAncestorByClass=function(a,b,c){return goog.dom.getAncestorByTagNameAndClass(a,null,b,c)};goog.dom.getAncestor=function(a,b,c,d){a&&!c&&(a=a.parentNode);for(c=0;a&&(null==d||c<=d);){goog.asserts.assert(\"parentNode\"!=a.name);if(b(a))return a;a=a.parentNode;c++}return null};goog.dom.getActiveElement=function(a){try{return a&&a.activeElement}catch(b){}return null};\ngoog.dom.getPixelRatio=function(){var a=goog.dom.getWindow();return goog.isDef(a.devicePixelRatio)?a.devicePixelRatio:a.matchMedia?goog.dom.matchesPixelRatio_(3)||goog.dom.matchesPixelRatio_(2)||goog.dom.matchesPixelRatio_(1.5)||goog.dom.matchesPixelRatio_(1)||.75:1};goog.dom.matchesPixelRatio_=function(a){return goog.dom.getWindow().matchMedia(\"(min-resolution: \"+a+\"dppx),(min--moz-device-pixel-ratio: \"+a+\"),(min-resolution: \"+96*a+\"dpi)\").matches?a:0};goog.dom.getCanvasContext2D=function(a){return a.getContext(\"2d\")};\ngoog.dom.DomHelper=function(a){this.document_=a||goog.global.document||document};goog.dom.DomHelper.prototype.getDomHelper=goog.dom.getDomHelper;goog.dom.DomHelper.prototype.setDocument=function(a){this.document_=a};goog.dom.DomHelper.prototype.getDocument=function(){return this.document_};goog.dom.DomHelper.prototype.getElement=function(a){return goog.dom.getElementHelper_(this.document_,a)};\ngoog.dom.DomHelper.prototype.getRequiredElement=function(a){return goog.dom.getRequiredElementHelper_(this.document_,a)};goog.dom.DomHelper.prototype.$=goog.dom.DomHelper.prototype.getElement;goog.dom.DomHelper.prototype.getElementsByTagName=function(a,b){return(b||this.document_).getElementsByTagName(String(a))};goog.dom.DomHelper.prototype.getElementsByTagNameAndClass=function(a,b,c){return goog.dom.getElementsByTagNameAndClass_(this.document_,a,b,c)};\ngoog.dom.DomHelper.prototype.getElementByTagNameAndClass=function(a,b,c){return goog.dom.getElementByTagNameAndClass_(this.document_,a,b,c)};goog.dom.DomHelper.prototype.getElementsByClass=function(a,b){return goog.dom.getElementsByClass(a,b||this.document_)};goog.dom.DomHelper.prototype.getElementByClass=function(a,b){return goog.dom.getElementByClass(a,b||this.document_)};goog.dom.DomHelper.prototype.getRequiredElementByClass=function(a,b){return goog.dom.getRequiredElementByClass(a,b||this.document_)};\ngoog.dom.DomHelper.prototype.$$=goog.dom.DomHelper.prototype.getElementsByTagNameAndClass;goog.dom.DomHelper.prototype.setProperties=goog.dom.setProperties;goog.dom.DomHelper.prototype.getViewportSize=function(a){return goog.dom.getViewportSize(a||this.getWindow())};goog.dom.DomHelper.prototype.getDocumentHeight=function(){return goog.dom.getDocumentHeight_(this.getWindow())};goog.dom.DomHelper.prototype.createDom=function(a,b,c){return goog.dom.createDom_(this.document_,arguments)};\ngoog.dom.DomHelper.prototype.$dom=goog.dom.DomHelper.prototype.createDom;goog.dom.DomHelper.prototype.createElement=function(a){return goog.dom.createElement_(this.document_,a)};goog.dom.DomHelper.prototype.createTextNode=function(a){return this.document_.createTextNode(String(a))};goog.dom.DomHelper.prototype.createTable=function(a,b,c){return goog.dom.createTable_(this.document_,a,b,!!c)};goog.dom.DomHelper.prototype.safeHtmlToNode=function(a){return goog.dom.safeHtmlToNode_(this.document_,a)};\ngoog.dom.DomHelper.prototype.isCss1CompatMode=function(){return goog.dom.isCss1CompatMode_(this.document_)};goog.dom.DomHelper.prototype.getWindow=function(){return goog.dom.getWindow_(this.document_)};goog.dom.DomHelper.prototype.getDocumentScrollElement=function(){return goog.dom.getDocumentScrollElement_(this.document_)};goog.dom.DomHelper.prototype.getDocumentScroll=function(){return goog.dom.getDocumentScroll_(this.document_)};\ngoog.dom.DomHelper.prototype.getActiveElement=function(a){return goog.dom.getActiveElement(a||this.document_)};goog.dom.DomHelper.prototype.appendChild=goog.dom.appendChild;goog.dom.DomHelper.prototype.append=goog.dom.append;goog.dom.DomHelper.prototype.canHaveChildren=goog.dom.canHaveChildren;goog.dom.DomHelper.prototype.removeChildren=goog.dom.removeChildren;goog.dom.DomHelper.prototype.insertSiblingBefore=goog.dom.insertSiblingBefore;goog.dom.DomHelper.prototype.insertSiblingAfter=goog.dom.insertSiblingAfter;\ngoog.dom.DomHelper.prototype.insertChildAt=goog.dom.insertChildAt;goog.dom.DomHelper.prototype.removeNode=goog.dom.removeNode;goog.dom.DomHelper.prototype.replaceNode=goog.dom.replaceNode;goog.dom.DomHelper.prototype.flattenElement=goog.dom.flattenElement;goog.dom.DomHelper.prototype.getChildren=goog.dom.getChildren;goog.dom.DomHelper.prototype.getFirstElementChild=goog.dom.getFirstElementChild;goog.dom.DomHelper.prototype.getLastElementChild=goog.dom.getLastElementChild;\ngoog.dom.DomHelper.prototype.getNextElementSibling=goog.dom.getNextElementSibling;goog.dom.DomHelper.prototype.getPreviousElementSibling=goog.dom.getPreviousElementSibling;goog.dom.DomHelper.prototype.getNextNode=goog.dom.getNextNode;goog.dom.DomHelper.prototype.getPreviousNode=goog.dom.getPreviousNode;goog.dom.DomHelper.prototype.isNodeLike=goog.dom.isNodeLike;goog.dom.DomHelper.prototype.isElement=goog.dom.isElement;goog.dom.DomHelper.prototype.isWindow=goog.dom.isWindow;\ngoog.dom.DomHelper.prototype.getParentElement=goog.dom.getParentElement;goog.dom.DomHelper.prototype.contains=goog.dom.contains;goog.dom.DomHelper.prototype.compareNodeOrder=goog.dom.compareNodeOrder;goog.dom.DomHelper.prototype.findCommonAncestor=goog.dom.findCommonAncestor;goog.dom.DomHelper.prototype.getOwnerDocument=goog.dom.getOwnerDocument;goog.dom.DomHelper.prototype.getFrameContentDocument=goog.dom.getFrameContentDocument;goog.dom.DomHelper.prototype.getFrameContentWindow=goog.dom.getFrameContentWindow;\ngoog.dom.DomHelper.prototype.setTextContent=goog.dom.setTextContent;goog.dom.DomHelper.prototype.getOuterHtml=goog.dom.getOuterHtml;goog.dom.DomHelper.prototype.findNode=goog.dom.findNode;goog.dom.DomHelper.prototype.findNodes=goog.dom.findNodes;goog.dom.DomHelper.prototype.isFocusableTabIndex=goog.dom.isFocusableTabIndex;goog.dom.DomHelper.prototype.setFocusableTabIndex=goog.dom.setFocusableTabIndex;goog.dom.DomHelper.prototype.isFocusable=goog.dom.isFocusable;\ngoog.dom.DomHelper.prototype.getTextContent=goog.dom.getTextContent;goog.dom.DomHelper.prototype.getNodeTextLength=goog.dom.getNodeTextLength;goog.dom.DomHelper.prototype.getNodeTextOffset=goog.dom.getNodeTextOffset;goog.dom.DomHelper.prototype.getNodeAtOffset=goog.dom.getNodeAtOffset;goog.dom.DomHelper.prototype.isNodeList=goog.dom.isNodeList;goog.dom.DomHelper.prototype.getAncestorByTagNameAndClass=goog.dom.getAncestorByTagNameAndClass;goog.dom.DomHelper.prototype.getAncestorByClass=goog.dom.getAncestorByClass;\ngoog.dom.DomHelper.prototype.getAncestor=goog.dom.getAncestor;goog.dom.DomHelper.prototype.getCanvasContext2D=goog.dom.getCanvasContext2D;goog.color={};\ngoog.color.names={aliceblue:\"#f0f8ff\",antiquewhite:\"#faebd7\",aqua:\"#00ffff\",aquamarine:\"#7fffd4\",azure:\"#f0ffff\",beige:\"#f5f5dc\",bisque:\"#ffe4c4\",black:\"#000000\",blanchedalmond:\"#ffebcd\",blue:\"#0000ff\",blueviolet:\"#8a2be2\",brown:\"#a52a2a\",burlywood:\"#deb887\",cadetblue:\"#5f9ea0\",chartreuse:\"#7fff00\",chocolate:\"#d2691e\",coral:\"#ff7f50\",cornflowerblue:\"#6495ed\",cornsilk:\"#fff8dc\",crimson:\"#dc143c\",cyan:\"#00ffff\",darkblue:\"#00008b\",darkcyan:\"#008b8b\",darkgoldenrod:\"#b8860b\",darkgray:\"#a9a9a9\",darkgreen:\"#006400\",\ndarkgrey:\"#a9a9a9\",darkkhaki:\"#bdb76b\",darkmagenta:\"#8b008b\",darkolivegreen:\"#556b2f\",darkorange:\"#ff8c00\",darkorchid:\"#9932cc\",darkred:\"#8b0000\",darksalmon:\"#e9967a\",darkseagreen:\"#8fbc8f\",darkslateblue:\"#483d8b\",darkslategray:\"#2f4f4f\",darkslategrey:\"#2f4f4f\",darkturquoise:\"#00ced1\",darkviolet:\"#9400d3\",deeppink:\"#ff1493\",deepskyblue:\"#00bfff\",dimgray:\"#696969\",dimgrey:\"#696969\",dodgerblue:\"#1e90ff\",firebrick:\"#b22222\",floralwhite:\"#fffaf0\",forestgreen:\"#228b22\",fuchsia:\"#ff00ff\",gainsboro:\"#dcdcdc\",\nghostwhite:\"#f8f8ff\",gold:\"#ffd700\",goldenrod:\"#daa520\",gray:\"#808080\",green:\"#008000\",greenyellow:\"#adff2f\",grey:\"#808080\",honeydew:\"#f0fff0\",hotpink:\"#ff69b4\",indianred:\"#cd5c5c\",indigo:\"#4b0082\",ivory:\"#fffff0\",khaki:\"#f0e68c\",lavender:\"#e6e6fa\",lavenderblush:\"#fff0f5\",lawngreen:\"#7cfc00\",lemonchiffon:\"#fffacd\",lightblue:\"#add8e6\",lightcoral:\"#f08080\",lightcyan:\"#e0ffff\",lightgoldenrodyellow:\"#fafad2\",lightgray:\"#d3d3d3\",lightgreen:\"#90ee90\",lightgrey:\"#d3d3d3\",lightpink:\"#ffb6c1\",lightsalmon:\"#ffa07a\",\nlightseagreen:\"#20b2aa\",lightskyblue:\"#87cefa\",lightslategray:\"#778899\",lightslategrey:\"#778899\",lightsteelblue:\"#b0c4de\",lightyellow:\"#ffffe0\",lime:\"#00ff00\",limegreen:\"#32cd32\",linen:\"#faf0e6\",magenta:\"#ff00ff\",maroon:\"#800000\",mediumaquamarine:\"#66cdaa\",mediumblue:\"#0000cd\",mediumorchid:\"#ba55d3\",mediumpurple:\"#9370db\",mediumseagreen:\"#3cb371\",mediumslateblue:\"#7b68ee\",mediumspringgreen:\"#00fa9a\",mediumturquoise:\"#48d1cc\",mediumvioletred:\"#c71585\",midnightblue:\"#191970\",mintcream:\"#f5fffa\",mistyrose:\"#ffe4e1\",\nmoccasin:\"#ffe4b5\",navajowhite:\"#ffdead\",navy:\"#000080\",oldlace:\"#fdf5e6\",olive:\"#808000\",olivedrab:\"#6b8e23\",orange:\"#ffa500\",orangered:\"#ff4500\",orchid:\"#da70d6\",palegoldenrod:\"#eee8aa\",palegreen:\"#98fb98\",paleturquoise:\"#afeeee\",palevioletred:\"#db7093\",papayawhip:\"#ffefd5\",peachpuff:\"#ffdab9\",peru:\"#cd853f\",pink:\"#ffc0cb\",plum:\"#dda0dd\",powderblue:\"#b0e0e6\",purple:\"#800080\",red:\"#ff0000\",rosybrown:\"#bc8f8f\",royalblue:\"#4169e1\",saddlebrown:\"#8b4513\",salmon:\"#fa8072\",sandybrown:\"#f4a460\",seagreen:\"#2e8b57\",\nseashell:\"#fff5ee\",sienna:\"#a0522d\",silver:\"#c0c0c0\",skyblue:\"#87ceeb\",slateblue:\"#6a5acd\",slategray:\"#708090\",slategrey:\"#708090\",snow:\"#fffafa\",springgreen:\"#00ff7f\",steelblue:\"#4682b4\",tan:\"#d2b48c\",teal:\"#008080\",thistle:\"#d8bfd8\",tomato:\"#ff6347\",turquoise:\"#40e0d0\",violet:\"#ee82ee\",wheat:\"#f5deb3\",white:\"#ffffff\",whitesmoke:\"#f5f5f5\",yellow:\"#ffff00\",yellowgreen:\"#9acd32\"};goog.color.parse=function(a){var b={};a=String(a);var c=goog.color.prependHashIfNecessaryHelper(a);if(goog.color.isValidHexColor_(c))return b.hex=goog.color.normalizeHex(c),b.type=\"hex\",b;c=goog.color.isValidRgbColor_(a);if(c.length)return b.hex=goog.color.rgbArrayToHex(c),b.type=\"rgb\",b;if(goog.color.names&&(c=goog.color.names[a.toLowerCase()]))return b.hex=c,b.type=\"named\",b;throw Error(a+\" is not a valid color string\");};\ngoog.color.isValidColor=function(a){var b=goog.color.prependHashIfNecessaryHelper(a);return!!(goog.color.isValidHexColor_(b)||goog.color.isValidRgbColor_(a).length||goog.color.names&&goog.color.names[a.toLowerCase()])};goog.color.parseRgb=function(a){var b=goog.color.isValidRgbColor_(a);if(!b.length)throw Error(a+\" is not a valid RGB color\");return b};goog.color.hexToRgbStyle=function(a){return goog.color.rgbStyle_(goog.color.hexToRgb(a))};goog.color.hexTripletRe_=/#(.)(.)(.)/;\ngoog.color.normalizeHex=function(a){if(!goog.color.isValidHexColor_(a))throw Error(\"'\"+a+\"' is not a valid hex color\");4==a.length&&(a=a.replace(goog.color.hexTripletRe_,\"#$1$1$2$2$3$3\"));return a.toLowerCase()};goog.color.hexToRgb=function(a){a=goog.color.normalizeHex(a);var b=parseInt(a.substr(1,2),16),c=parseInt(a.substr(3,2),16);a=parseInt(a.substr(5,2),16);return[b,c,a]};\ngoog.color.rgbToHex=function(a,b,c){a=Number(a);b=Number(b);c=Number(c);if(a!=(a&255)||b!=(b&255)||c!=(c&255))throw Error('\"('+a+\",\"+b+\",\"+c+'\") is not a valid RGB color');a=goog.color.prependZeroIfNecessaryHelper(a.toString(16));b=goog.color.prependZeroIfNecessaryHelper(b.toString(16));c=goog.color.prependZeroIfNecessaryHelper(c.toString(16));return\"#\"+a+b+c};goog.color.rgbArrayToHex=function(a){return goog.color.rgbToHex(a[0],a[1],a[2])};\ngoog.color.rgbToHsl=function(a,b,c){a/=255;b/=255;c/=255;var d=Math.max(a,b,c),e=Math.min(a,b,c),f=0,g=0,h=.5*(d+e);d!=e&&(d==a?f=60*(b-c)/(d-e):d==b?f=60*(c-a)/(d-e)+120:d==c&&(f=60*(a-b)/(d-e)+240),g=0<h&&.5>=h?(d-e)/(2*h):(d-e)/(2-2*h));return[Math.round(f+360)%360,g,h]};goog.color.rgbArrayToHsl=function(a){return goog.color.rgbToHsl(a[0],a[1],a[2])};goog.color.hueToRgb_=function(a,b,c){0>c?c+=1:1<c&&--c;return 1>6*c?a+6*(b-a)*c:1>2*c?b:2>3*c?a+(b-a)*(2/3-c)*6:a};\ngoog.color.hslToRgb=function(a,b,c){a/=360;if(0==b)c=b=a=255*c;else{var d=.5>c?c*(1+b):c+b-b*c;var e=2*c-d;c=255*goog.color.hueToRgb_(e,d,a+1/3);b=255*goog.color.hueToRgb_(e,d,a);a=255*goog.color.hueToRgb_(e,d,a-1/3)}return[Math.round(c),Math.round(b),Math.round(a)]};goog.color.hslArrayToRgb=function(a){return goog.color.hslToRgb(a[0],a[1],a[2])};goog.color.validHexColorRe_=/^#(?:[0-9a-f]{3}){1,2}$/i;goog.color.isValidHexColor_=function(a){return goog.color.validHexColorRe_.test(a)};\ngoog.color.normalizedHexColorRe_=/^#[0-9a-f]{6}$/;goog.color.isNormalizedHexColor_=function(a){return goog.color.normalizedHexColorRe_.test(a)};goog.color.rgbColorRe_=/^(?:rgb)?\\((0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2}),\\s?(0|[1-9]\\d{0,2})\\)$/i;goog.color.isValidRgbColor_=function(a){var b=a.match(goog.color.rgbColorRe_);if(b){a=Number(b[1]);var c=Number(b[2]);b=Number(b[3]);if(0<=a&&255>=a&&0<=c&&255>=c&&0<=b&&255>=b)return[a,c,b]}return[]};\ngoog.color.prependZeroIfNecessaryHelper=function(a){return 1==a.length?\"0\"+a:a};goog.color.prependHashIfNecessaryHelper=function(a){return\"#\"==a.charAt(0)?a:\"#\"+a};goog.color.rgbStyle_=function(a){return\"rgb(\"+a.join(\",\")+\")\"};\ngoog.color.hsvToRgb=function(a,b,c){var d=0,e=0,f=0;if(0==b)f=e=d=c;else{var g=Math.floor(a/60),h=a/60-g;a=c*(1-b);var k=c*(1-b*h);b=c*(1-b*(1-h));switch(g){case 1:d=k;e=c;f=a;break;case 2:d=a;e=c;f=b;break;case 3:d=a;e=k;f=c;break;case 4:d=b;e=a;f=c;break;case 5:d=c;e=a;f=k;break;case 6:case 0:d=c,e=b,f=a}}return[Math.floor(d),Math.floor(e),Math.floor(f)]};\ngoog.color.rgbToHsv=function(a,b,c){var d=Math.max(Math.max(a,b),c),e=Math.min(Math.min(a,b),c);if(e==d)e=a=0;else{var f=d-e;e=f/d;a=60*(a==d?(b-c)/f:b==d?2+(c-a)/f:4+(a-b)/f);0>a&&(a+=360);360<a&&(a-=360)}return[a,e,d]};goog.color.rgbArrayToHsv=function(a){return goog.color.rgbToHsv(a[0],a[1],a[2])};goog.color.hsvArrayToRgb=function(a){return goog.color.hsvToRgb(a[0],a[1],a[2])};goog.color.hexToHsl=function(a){a=goog.color.hexToRgb(a);return goog.color.rgbToHsl(a[0],a[1],a[2])};\ngoog.color.hslToHex=function(a,b,c){return goog.color.rgbArrayToHex(goog.color.hslToRgb(a,b,c))};goog.color.hslArrayToHex=function(a){return goog.color.rgbArrayToHex(goog.color.hslToRgb(a[0],a[1],a[2]))};goog.color.hexToHsv=function(a){return goog.color.rgbArrayToHsv(goog.color.hexToRgb(a))};goog.color.hsvToHex=function(a,b,c){return goog.color.rgbArrayToHex(goog.color.hsvToRgb(a,b,c))};goog.color.hsvArrayToHex=function(a){return goog.color.hsvToHex(a[0],a[1],a[2])};\ngoog.color.hslDistance=function(a,b){var c=.5>=a[2]?a[1]*a[2]:a[1]*(1-a[2]);var d=.5>=b[2]?b[1]*b[2]:b[1]*(1-b[2]);return(a[2]-b[2])*(a[2]-b[2])+c*c+d*d-2*c*d*Math.cos(2*(a[0]/360-b[0]/360)*Math.PI)};goog.color.blend=function(a,b,c){c=goog.math.clamp(c,0,1);return[Math.round(c*a[0]+(1-c)*b[0]),Math.round(c*a[1]+(1-c)*b[1]),Math.round(c*a[2]+(1-c)*b[2])]};goog.color.darken=function(a,b){return goog.color.blend([0,0,0],a,b)};goog.color.lighten=function(a,b){return goog.color.blend([255,255,255],a,b)};\ngoog.color.highContrast=function(a,b){for(var c=[],d=0;d<b.length;d++)c.push({color:b[d],diff:goog.color.yiqBrightnessDiff_(b[d],a)+goog.color.colorDiff_(b[d],a)});c.sort(function(a,b){return b.diff-a.diff});return c[0].color};goog.color.yiqBrightness_=function(a){return Math.round((299*a[0]+587*a[1]+114*a[2])/1E3)};goog.color.yiqBrightnessDiff_=function(a,b){return Math.abs(goog.color.yiqBrightness_(a)-goog.color.yiqBrightness_(b))};\ngoog.color.colorDiff_=function(a,b){return Math.abs(a[0]-b[0])+Math.abs(a[1]-b[1])+Math.abs(a[2]-b[2])};goog.dom.vendor={};goog.dom.vendor.getVendorJsPrefix=function(){return goog.userAgent.WEBKIT?\"Webkit\":goog.userAgent.GECKO?\"Moz\":goog.userAgent.IE?\"ms\":goog.userAgent.OPERA?\"O\":null};goog.dom.vendor.getVendorPrefix=function(){return goog.userAgent.WEBKIT?\"-webkit\":goog.userAgent.GECKO?\"-moz\":goog.userAgent.IE?\"-ms\":goog.userAgent.OPERA?\"-o\":null};\ngoog.dom.vendor.getPrefixedPropertyName=function(a,b){if(b&&a in b)return a;var c=goog.dom.vendor.getVendorJsPrefix();return c?(c=c.toLowerCase(),c+=goog.string.toTitleCase(a),!goog.isDef(b)||c in b?c:null):null};goog.dom.vendor.getPrefixedEventType=function(a){return((goog.dom.vendor.getVendorJsPrefix()||\"\")+a).toLowerCase()};goog.math.Box=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};goog.math.Box.boundingBox=function(a){for(var b=new goog.math.Box(arguments[0].y,arguments[0].x,arguments[0].y,arguments[0].x),c=1;c<arguments.length;c++)b.expandToIncludeCoordinate(arguments[c]);return b};goog.math.Box.prototype.getWidth=function(){return this.right-this.left};goog.math.Box.prototype.getHeight=function(){return this.bottom-this.top};\ngoog.math.Box.prototype.clone=function(){return new goog.math.Box(this.top,this.right,this.bottom,this.left)};goog.DEBUG&&(goog.math.Box.prototype.toString=function(){return\"(\"+this.top+\"t, \"+this.right+\"r, \"+this.bottom+\"b, \"+this.left+\"l)\"});goog.math.Box.prototype.contains=function(a){return goog.math.Box.contains(this,a)};\ngoog.math.Box.prototype.expand=function(a,b,c,d){goog.isObject(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};goog.math.Box.prototype.expandToInclude=function(a){this.left=Math.min(this.left,a.left);this.top=Math.min(this.top,a.top);this.right=Math.max(this.right,a.right);this.bottom=Math.max(this.bottom,a.bottom)};\ngoog.math.Box.prototype.expandToIncludeCoordinate=function(a){this.top=Math.min(this.top,a.y);this.right=Math.max(this.right,a.x);this.bottom=Math.max(this.bottom,a.y);this.left=Math.min(this.left,a.x)};goog.math.Box.equals=function(a,b){return a==b?!0:a&&b?a.top==b.top&&a.right==b.right&&a.bottom==b.bottom&&a.left==b.left:!1};\ngoog.math.Box.contains=function(a,b){return a&&b?b instanceof goog.math.Box?b.left>=a.left&&b.right<=a.right&&b.top>=a.top&&b.bottom<=a.bottom:b.x>=a.left&&b.x<=a.right&&b.y>=a.top&&b.y<=a.bottom:!1};goog.math.Box.relativePositionX=function(a,b){return b.x<a.left?b.x-a.left:b.x>a.right?b.x-a.right:0};goog.math.Box.relativePositionY=function(a,b){return b.y<a.top?b.y-a.top:b.y>a.bottom?b.y-a.bottom:0};\ngoog.math.Box.distance=function(a,b){var c=goog.math.Box.relativePositionX(a,b),d=goog.math.Box.relativePositionY(a,b);return Math.sqrt(c*c+d*d)};goog.math.Box.intersects=function(a,b){return a.left<=b.right&&b.left<=a.right&&a.top<=b.bottom&&b.top<=a.bottom};goog.math.Box.intersectsWithPadding=function(a,b,c){return a.left<=b.right+c&&b.left<=a.right+c&&a.top<=b.bottom+c&&b.top<=a.bottom+c};\ngoog.math.Box.prototype.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};goog.math.Box.prototype.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};\ngoog.math.Box.prototype.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};goog.math.Box.prototype.translate=function(a,b){a instanceof goog.math.Coordinate?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(goog.asserts.assertNumber(a),this.left+=a,this.right+=a,goog.isNumber(b)&&(this.top+=b,this.bottom+=b));return this};\ngoog.math.Box.prototype.scale=function(a,b){var c=goog.isNumber(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};goog.math.IRect=function(){};goog.math.Rect=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};goog.math.Rect.prototype.clone=function(){return new goog.math.Rect(this.left,this.top,this.width,this.height)};goog.math.Rect.prototype.toBox=function(){return new goog.math.Box(this.top,this.left+this.width,this.top+this.height,this.left)};goog.math.Rect.createFromPositionAndSize=function(a,b){return new goog.math.Rect(a.x,a.y,b.width,b.height)};\ngoog.math.Rect.createFromBox=function(a){return new goog.math.Rect(a.left,a.top,a.right-a.left,a.bottom-a.top)};goog.DEBUG&&(goog.math.Rect.prototype.toString=function(){return\"(\"+this.left+\", \"+this.top+\" - \"+this.width+\"w x \"+this.height+\"h)\"});goog.math.Rect.equals=function(a,b){return a==b?!0:a&&b?a.left==b.left&&a.width==b.width&&a.top==b.top&&a.height==b.height:!1};\ngoog.math.Rect.prototype.intersection=function(a){var b=Math.max(this.left,a.left),c=Math.min(this.left+this.width,a.left+a.width);if(b<=c){var d=Math.max(this.top,a.top);a=Math.min(this.top+this.height,a.top+a.height);if(d<=a)return this.left=b,this.top=d,this.width=c-b,this.height=a-d,!0}return!1};\ngoog.math.Rect.intersection=function(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top),f=Math.min(a.top+a.height,b.top+b.height);if(e<=f)return new goog.math.Rect(c,e,d-c,f-e)}return null};goog.math.Rect.intersects=function(a,b){return a.left<=b.left+b.width&&b.left<=a.left+a.width&&a.top<=b.top+b.height&&b.top<=a.top+a.height};goog.math.Rect.prototype.intersects=function(a){return goog.math.Rect.intersects(this,a)};\ngoog.math.Rect.difference=function(a,b){var c=goog.math.Rect.intersection(a,b);if(!c||!c.height||!c.width)return[a.clone()];c=[];var d=a.top,e=a.height,f=a.left+a.width,g=a.top+a.height,h=b.left+b.width,k=b.top+b.height;b.top>a.top&&(c.push(new goog.math.Rect(a.left,a.top,a.width,b.top-a.top)),d=b.top,e-=b.top-a.top);k<g&&(c.push(new goog.math.Rect(a.left,k,a.width,g-k)),e=k-d);b.left>a.left&&c.push(new goog.math.Rect(a.left,d,b.left-a.left,e));h<f&&c.push(new goog.math.Rect(h,d,f-h,e));return c};\ngoog.math.Rect.prototype.difference=function(a){return goog.math.Rect.difference(this,a)};goog.math.Rect.prototype.boundingRect=function(a){var b=Math.max(this.left+this.width,a.left+a.width),c=Math.max(this.top+this.height,a.top+a.height);this.left=Math.min(this.left,a.left);this.top=Math.min(this.top,a.top);this.width=b-this.left;this.height=c-this.top};goog.math.Rect.boundingRect=function(a,b){if(!a||!b)return null;var c=new goog.math.Rect(a.left,a.top,a.width,a.height);c.boundingRect(b);return c};\ngoog.math.Rect.prototype.contains=function(a){return a instanceof goog.math.Coordinate?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};goog.math.Rect.prototype.squaredDistance=function(a){var b=a.x<this.left?this.left-a.x:Math.max(a.x-(this.left+this.width),0);a=a.y<this.top?this.top-a.y:Math.max(a.y-(this.top+this.height),0);return b*b+a*a};\ngoog.math.Rect.prototype.distance=function(a){return Math.sqrt(this.squaredDistance(a))};goog.math.Rect.prototype.getSize=function(){return new goog.math.Size(this.width,this.height)};goog.math.Rect.prototype.getTopLeft=function(){return new goog.math.Coordinate(this.left,this.top)};goog.math.Rect.prototype.getCenter=function(){return new goog.math.Coordinate(this.left+this.width/2,this.top+this.height/2)};\ngoog.math.Rect.prototype.getBottomRight=function(){return new goog.math.Coordinate(this.left+this.width,this.top+this.height)};goog.math.Rect.prototype.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};goog.math.Rect.prototype.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};\ngoog.math.Rect.prototype.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};goog.math.Rect.prototype.translate=function(a,b){a instanceof goog.math.Coordinate?(this.left+=a.x,this.top+=a.y):(this.left+=goog.asserts.assertNumber(a),goog.isNumber(b)&&(this.top+=b));return this};\ngoog.math.Rect.prototype.scale=function(a,b){var c=goog.isNumber(b)?b:a;this.left*=a;this.width*=a;this.top*=c;this.height*=c;return this};goog.style={};goog.style.setStyle=function(a,b,c){if(goog.isString(b))goog.style.setStyle_(a,c,b);else for(var d in b)goog.style.setStyle_(a,b[d],d)};goog.style.setStyle_=function(a,b,c){(c=goog.style.getVendorJsStyleName_(a,c))&&(a.style[c]=b)};goog.style.styleNameCache_={};\ngoog.style.getVendorJsStyleName_=function(a,b){var c=goog.style.styleNameCache_[b];if(!c){var d=goog.string.toCamelCase(b);c=d;void 0===a.style[d]&&(d=goog.dom.vendor.getVendorJsPrefix()+goog.string.toTitleCase(d),void 0!==a.style[d]&&(c=d));goog.style.styleNameCache_[b]=c}return c};\ngoog.style.getVendorStyleName_=function(a,b){var c=goog.string.toCamelCase(b);return void 0===a.style[c]&&(c=goog.dom.vendor.getVendorJsPrefix()+goog.string.toTitleCase(c),void 0!==a.style[c])?goog.dom.vendor.getVendorPrefix()+\"-\"+b:b};goog.style.getStyle=function(a,b){var c=a.style[goog.string.toCamelCase(b)];return\"undefined\"!==typeof c?c:a.style[goog.style.getVendorJsStyleName_(a,b)]||\"\"};\ngoog.style.getComputedStyle=function(a,b){var c=goog.dom.getOwnerDocument(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||\"\":\"\"};goog.style.getCascadedStyle=function(a,b){return a.currentStyle?a.currentStyle[b]:null};goog.style.getStyle_=function(a,b){return goog.style.getComputedStyle(a,b)||goog.style.getCascadedStyle(a,b)||a.style&&a.style[b]};\ngoog.style.getComputedBoxSizing=function(a){return goog.style.getStyle_(a,\"boxSizing\")||goog.style.getStyle_(a,\"MozBoxSizing\")||goog.style.getStyle_(a,\"WebkitBoxSizing\")||null};goog.style.getComputedPosition=function(a){return goog.style.getStyle_(a,\"position\")};goog.style.getBackgroundColor=function(a){return goog.style.getStyle_(a,\"backgroundColor\")};goog.style.getComputedOverflowX=function(a){return goog.style.getStyle_(a,\"overflowX\")};\ngoog.style.getComputedOverflowY=function(a){return goog.style.getStyle_(a,\"overflowY\")};goog.style.getComputedZIndex=function(a){return goog.style.getStyle_(a,\"zIndex\")};goog.style.getComputedTextAlign=function(a){return goog.style.getStyle_(a,\"textAlign\")};goog.style.getComputedCursor=function(a){return goog.style.getStyle_(a,\"cursor\")};goog.style.getComputedTransform=function(a){var b=goog.style.getVendorStyleName_(a,\"transform\");return goog.style.getStyle_(a,b)||goog.style.getStyle_(a,\"transform\")};\ngoog.style.setPosition=function(a,b,c){if(b instanceof goog.math.Coordinate){var d=b.x;b=b.y}else d=b,b=c;a.style.left=goog.style.getPixelStyleValue_(d,!1);a.style.top=goog.style.getPixelStyleValue_(b,!1)};goog.style.getPosition=function(a){return new goog.math.Coordinate(a.offsetLeft,a.offsetTop)};\ngoog.style.getClientViewportElement=function(a){a=a?goog.dom.getOwnerDocument(a):goog.dom.getDocument();return!goog.userAgent.IE||goog.userAgent.isDocumentModeOrHigher(9)||goog.dom.getDomHelper(a).isCss1CompatMode()?a.documentElement:a.body};goog.style.getViewportPageOffset=function(a){var b=a.body;a=a.documentElement;return new goog.math.Coordinate(b.scrollLeft||a.scrollLeft,b.scrollTop||a.scrollTop)};\ngoog.style.getBoundingClientRect_=function(a){try{var b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}goog.userAgent.IE&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b};\ngoog.style.getOffsetParent=function(a){if(goog.userAgent.IE&&!goog.userAgent.isDocumentModeOrHigher(8))return goog.asserts.assert(a&&\"offsetParent\"in a),a.offsetParent;var b=goog.dom.getOwnerDocument(a),c=goog.style.getStyle_(a,\"position\"),d=\"fixed\"==c||\"absolute\"==c;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(a.nodeType==goog.dom.NodeType.DOCUMENT_FRAGMENT&&a.host&&(a=a.host),c=goog.style.getStyle_(a,\"position\"),d=d&&\"static\"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||\na.scrollHeight>a.clientHeight||\"fixed\"==c||\"absolute\"==c||\"relative\"==c))return a;return null};\ngoog.style.getVisibleRectForElement=function(a){for(var b=new goog.math.Box(0,Infinity,Infinity,0),c=goog.dom.getDomHelper(a),d=c.getDocument().body,e=c.getDocument().documentElement,f=c.getDocumentScrollElement();a=goog.style.getOffsetParent(a);)if(!(goog.userAgent.IE&&0==a.clientWidth||goog.userAgent.WEBKIT&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&\"visible\"!=goog.style.getStyle_(a,\"overflow\")){var g=goog.style.getPageOffset(a),h=goog.style.getClientLeftTop(a);g.x+=h.x;g.y+=h.y;b.top=Math.max(b.top,\ng.y);b.right=Math.min(b.right,g.x+a.clientWidth);b.bottom=Math.min(b.bottom,g.y+a.clientHeight);b.left=Math.max(b.left,g.x)}d=f.scrollLeft;f=f.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,f);c=c.getViewportSize();b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,f+c.height);return 0<=b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null};\ngoog.style.getContainerOffsetToScrollInto=function(a,b,c){var d=b||goog.dom.getDocumentScrollElement(),e=goog.style.getPageOffset(a),f=goog.style.getPageOffset(d),g=goog.style.getBorderBox(d);d==goog.dom.getDocumentScrollElement()?(b=e.x-d.scrollLeft,e=e.y-d.scrollTop,goog.userAgent.IE&&!goog.userAgent.isDocumentModeOrHigher(10)&&(b+=g.left,e+=g.top)):(b=e.x-f.x-g.left,e=e.y-f.y-g.top);g=goog.style.getSizeWithDisplay_(a);a=d.clientWidth-g.width;g=d.clientHeight-g.height;f=d.scrollLeft;d=d.scrollTop;\nc?(f+=b-a/2,d+=e-g/2):(f+=Math.min(b,Math.max(b-a,0)),d+=Math.min(e,Math.max(e-g,0)));return new goog.math.Coordinate(f,d)};goog.style.scrollIntoContainerView=function(a,b,c){b=b||goog.dom.getDocumentScrollElement();a=goog.style.getContainerOffsetToScrollInto(a,b,c);b.scrollLeft=a.x;b.scrollTop=a.y};goog.style.getClientLeftTop=function(a){return new goog.math.Coordinate(a.clientLeft,a.clientTop)};\ngoog.style.getPageOffset=function(a){var b=goog.dom.getOwnerDocument(a);goog.asserts.assertObject(a,\"Parameter is required\");var c=new goog.math.Coordinate(0,0),d=goog.style.getClientViewportElement(b);if(a==d)return c;a=goog.style.getBoundingClientRect_(a);b=goog.dom.getDomHelper(b).getDocumentScroll();c.x=a.left+b.x;c.y=a.top+b.y;return c};goog.style.getPageOffsetLeft=function(a){return goog.style.getPageOffset(a).x};goog.style.getPageOffsetTop=function(a){return goog.style.getPageOffset(a).y};\ngoog.style.getFramedPageOffset=function(a,b){var c=new goog.math.Coordinate(0,0),d=goog.dom.getWindow(goog.dom.getOwnerDocument(a));if(!goog.reflect.canAccessProperty(d,\"parent\"))return c;var e=a;do{var f=d==b?goog.style.getPageOffset(e):goog.style.getClientPositionForElement_(goog.asserts.assert(e));c.x+=f.x;c.y+=f.y}while(d&&d!=b&&d!=d.parent&&(e=d.frameElement)&&(d=d.parent));return c};\ngoog.style.translateRectForAnotherFrame=function(a,b,c){if(b.getDocument()!=c.getDocument()){var d=b.getDocument().body;c=goog.style.getFramedPageOffset(d,c.getWindow());c=goog.math.Coordinate.difference(c,goog.style.getPageOffset(d));!goog.userAgent.IE||goog.userAgent.isDocumentModeOrHigher(9)||b.isCss1CompatMode()||(c=goog.math.Coordinate.difference(c,b.getDocumentScroll()));a.left+=c.x;a.top+=c.y}};\ngoog.style.getRelativePosition=function(a,b){var c=goog.style.getClientPosition(a),d=goog.style.getClientPosition(b);return new goog.math.Coordinate(c.x-d.x,c.y-d.y)};goog.style.getClientPositionForElement_=function(a){a=goog.style.getBoundingClientRect_(a);return new goog.math.Coordinate(a.left,a.top)};\ngoog.style.getClientPosition=function(a){goog.asserts.assert(a);if(a.nodeType==goog.dom.NodeType.ELEMENT)return goog.style.getClientPositionForElement_(a);a=a.changedTouches?a.changedTouches[0]:a;return new goog.math.Coordinate(a.clientX,a.clientY)};goog.style.setPageOffset=function(a,b,c){var d=goog.style.getPageOffset(a);b instanceof goog.math.Coordinate&&(c=b.y,b=b.x);b=goog.asserts.assertNumber(b)-d.x;goog.style.setPosition(a,a.offsetLeft+b,a.offsetTop+(Number(c)-d.y))};\ngoog.style.setSize=function(a,b,c){if(b instanceof goog.math.Size)c=b.height,b=b.width;else if(void 0==c)throw Error(\"missing height argument\");goog.style.setWidth(a,b);goog.style.setHeight(a,c)};goog.style.getPixelStyleValue_=function(a,b){\"number\"==typeof a&&(a=(b?Math.round(a):a)+\"px\");return a};goog.style.setHeight=function(a,b){a.style.height=goog.style.getPixelStyleValue_(b,!0)};goog.style.setWidth=function(a,b){a.style.width=goog.style.getPixelStyleValue_(b,!0)};\ngoog.style.getSize=function(a){return goog.style.evaluateWithTemporaryDisplay_(goog.style.getSizeWithDisplay_,a)};goog.style.evaluateWithTemporaryDisplay_=function(a,b){if(\"none\"!=goog.style.getStyle_(b,\"display\"))return a(b);var c=b.style,d=c.display,e=c.visibility,f=c.position;c.visibility=\"hidden\";c.position=\"absolute\";c.display=\"inline\";var g=a(b);c.display=d;c.position=f;c.visibility=e;return g};\ngoog.style.getSizeWithDisplay_=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=goog.userAgent.WEBKIT&&!b&&!c;return goog.isDef(b)&&!d||!a.getBoundingClientRect?new goog.math.Size(b,c):(a=goog.style.getBoundingClientRect_(a),new goog.math.Size(a.right-a.left,a.bottom-a.top))};goog.style.getTransformedSize=function(a){if(!a.getBoundingClientRect)return null;a=goog.style.evaluateWithTemporaryDisplay_(goog.style.getBoundingClientRect_,a);return new goog.math.Size(a.right-a.left,a.bottom-a.top)};\ngoog.style.getBounds=function(a){var b=goog.style.getPageOffset(a);a=goog.style.getSize(a);return new goog.math.Rect(b.x,b.y,a.width,a.height)};goog.style.toCamelCase=function(a){return goog.string.toCamelCase(String(a))};goog.style.toSelectorCase=function(a){return goog.string.toSelectorCase(a)};\ngoog.style.getOpacity=function(a){goog.asserts.assert(a);var b=a.style;a=\"\";\"opacity\"in b?a=b.opacity:\"MozOpacity\"in b?a=b.MozOpacity:\"filter\"in b&&(b=b.filter.match(/alpha\\(opacity=([\\d.]+)\\)/))&&(a=String(b[1]/100));return\"\"==a?a:Number(a)};goog.style.setOpacity=function(a,b){goog.asserts.assert(a);var c=a.style;\"opacity\"in c?c.opacity=b:\"MozOpacity\"in c?c.MozOpacity=b:\"filter\"in c&&(c.filter=\"\"===b?\"\":\"alpha(opacity=\"+100*Number(b)+\")\")};\ngoog.style.setTransparentBackgroundImage=function(a,b){var c=a.style;goog.userAgent.IE&&!goog.userAgent.isVersionOrHigher(\"8\")?c.filter='progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"'+b+'\", sizingMethod=\"crop\")':(c.backgroundImage=\"url(\"+b+\")\",c.backgroundPosition=\"top left\",c.backgroundRepeat=\"no-repeat\")};goog.style.clearTransparentBackgroundImage=function(a){a=a.style;\"filter\"in a?a.filter=\"\":a.backgroundImage=\"none\"};\ngoog.style.showElement=function(a,b){goog.style.setElementShown(a,b)};goog.style.setElementShown=function(a,b){a.style.display=b?\"\":\"none\"};goog.style.isElementShown=function(a){return\"none\"!=a.style.display};\ngoog.style.installSafeStyleSheet=function(a,b){var c=goog.dom.getDomHelper(b),d=c.getDocument();if(goog.userAgent.IE&&d.createStyleSheet){var e=d.createStyleSheet();goog.style.setSafeStyleSheet(e,a)}else d=c.getElementsByTagNameAndClass(\"HEAD\")[0],d||(e=c.getElementsByTagNameAndClass(\"BODY\")[0],d=c.createDom(\"HEAD\"),e.parentNode.insertBefore(d,e)),e=c.createDom(\"STYLE\"),goog.style.setSafeStyleSheet(e,a),c.appendChild(d,e);return e};\ngoog.style.uninstallStyles=function(a){goog.dom.removeNode(a.ownerNode||a.owningElement||a)};goog.style.setSafeStyleSheet=function(a,b){var c=goog.html.SafeStyleSheet.unwrap(b);goog.userAgent.IE&&goog.isDef(a.cssText)?a.cssText=c:a.innerHTML=c};goog.style.setPreWrap=function(a){a=a.style;goog.userAgent.IE&&!goog.userAgent.isVersionOrHigher(\"8\")?(a.whiteSpace=\"pre\",a.wordWrap=\"break-word\"):a.whiteSpace=goog.userAgent.GECKO?\"-moz-pre-wrap\":\"pre-wrap\"};\ngoog.style.setInlineBlock=function(a){a=a.style;a.position=\"relative\";goog.userAgent.IE&&!goog.userAgent.isVersionOrHigher(\"8\")?(a.zoom=\"1\",a.display=\"inline\"):a.display=\"inline-block\"};goog.style.isRightToLeft=function(a){return\"rtl\"==goog.style.getStyle_(a,\"direction\")};goog.style.unselectableStyle_=goog.userAgent.GECKO?\"MozUserSelect\":goog.userAgent.WEBKIT||goog.userAgent.EDGE?\"WebkitUserSelect\":null;\ngoog.style.isUnselectable=function(a){return goog.style.unselectableStyle_?\"none\"==a.style[goog.style.unselectableStyle_].toLowerCase():goog.userAgent.IE||goog.userAgent.OPERA?\"on\"==a.getAttribute(\"unselectable\"):!1};\ngoog.style.setUnselectable=function(a,b,c){c=c?null:a.getElementsByTagName(\"*\");var d=goog.style.unselectableStyle_;if(d){if(b=b?\"none\":\"\",a.style&&(a.style[d]=b),c){a=0;for(var e;e=c[a];a++)e.style&&(e.style[d]=b)}}else if(goog.userAgent.IE||goog.userAgent.OPERA)if(b=b?\"on\":\"\",a.setAttribute(\"unselectable\",b),c)for(a=0;e=c[a];a++)e.setAttribute(\"unselectable\",b)};goog.style.getBorderBoxSize=function(a){return new goog.math.Size(a.offsetWidth,a.offsetHeight)};\ngoog.style.setBorderBoxSize=function(a,b){var c=goog.dom.getOwnerDocument(a),d=goog.dom.getDomHelper(c).isCss1CompatMode();if(!goog.userAgent.IE||goog.userAgent.isVersionOrHigher(\"10\")||d&&goog.userAgent.isVersionOrHigher(\"8\"))goog.style.setBoxSizingSize_(a,b,\"border-box\");else if(c=a.style,d){d=goog.style.getPaddingBox(a);var e=goog.style.getBorderBox(a);c.pixelWidth=b.width-e.left-d.left-d.right-e.right;c.pixelHeight=b.height-e.top-d.top-d.bottom-e.bottom}else c.pixelWidth=b.width,c.pixelHeight=\nb.height};\ngoog.style.getContentBoxSize=function(a){var b=goog.dom.getOwnerDocument(a),c=goog.userAgent.IE&&a.currentStyle;if(c&&goog.dom.getDomHelper(b).isCss1CompatMode()&&\"auto\"!=c.width&&\"auto\"!=c.height&&!c.boxSizing)return b=goog.style.getIePixelValue_(a,c.width,\"width\",\"pixelWidth\"),a=goog.style.getIePixelValue_(a,c.height,\"height\",\"pixelHeight\"),new goog.math.Size(b,a);c=goog.style.getBorderBoxSize(a);b=goog.style.getPaddingBox(a);a=goog.style.getBorderBox(a);return new goog.math.Size(c.width-a.left-\nb.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom)};\ngoog.style.setContentBoxSize=function(a,b){var c=goog.dom.getOwnerDocument(a),d=goog.dom.getDomHelper(c).isCss1CompatMode();if(!goog.userAgent.IE||goog.userAgent.isVersionOrHigher(\"10\")||d&&goog.userAgent.isVersionOrHigher(\"8\"))goog.style.setBoxSizingSize_(a,b,\"content-box\");else if(c=a.style,d)c.pixelWidth=b.width,c.pixelHeight=b.height;else{d=goog.style.getPaddingBox(a);var e=goog.style.getBorderBox(a);c.pixelWidth=b.width+e.left+d.left+d.right+e.right;c.pixelHeight=b.height+e.top+d.top+d.bottom+\ne.bottom}};goog.style.setBoxSizingSize_=function(a,b,c){a=a.style;goog.userAgent.GECKO?a.MozBoxSizing=c:goog.userAgent.WEBKIT?a.WebkitBoxSizing=c:a.boxSizing=c;a.width=Math.max(b.width,0)+\"px\";a.height=Math.max(b.height,0)+\"px\"};goog.style.getIePixelValue_=function(a,b,c,d){if(/^\\d+px?$/.test(b))return parseInt(b,10);var e=a.style[c],f=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b=a.style[d];a.style[c]=e;a.runtimeStyle[c]=f;return+b};\ngoog.style.getIePixelDistance_=function(a,b){var c=goog.style.getCascadedStyle(a,b);return c?goog.style.getIePixelValue_(a,c,\"left\",\"pixelLeft\"):0};\ngoog.style.getBox_=function(a,b){if(goog.userAgent.IE){var c=goog.style.getIePixelDistance_(a,b+\"Left\"),d=goog.style.getIePixelDistance_(a,b+\"Right\"),e=goog.style.getIePixelDistance_(a,b+\"Top\"),f=goog.style.getIePixelDistance_(a,b+\"Bottom\");return new goog.math.Box(e,d,f,c)}c=goog.style.getComputedStyle(a,b+\"Left\");d=goog.style.getComputedStyle(a,b+\"Right\");e=goog.style.getComputedStyle(a,b+\"Top\");f=goog.style.getComputedStyle(a,b+\"Bottom\");return new goog.math.Box(parseFloat(e),parseFloat(d),parseFloat(f),\nparseFloat(c))};goog.style.getPaddingBox=function(a){return goog.style.getBox_(a,\"padding\")};goog.style.getMarginBox=function(a){return goog.style.getBox_(a,\"margin\")};goog.style.ieBorderWidthKeywords_={thin:2,medium:4,thick:6};\ngoog.style.getIePixelBorder_=function(a,b){if(\"none\"==goog.style.getCascadedStyle(a,b+\"Style\"))return 0;var c=goog.style.getCascadedStyle(a,b+\"Width\");return c in goog.style.ieBorderWidthKeywords_?goog.style.ieBorderWidthKeywords_[c]:goog.style.getIePixelValue_(a,c,\"left\",\"pixelLeft\")};\ngoog.style.getBorderBox=function(a){if(goog.userAgent.IE&&!goog.userAgent.isDocumentModeOrHigher(9)){var b=goog.style.getIePixelBorder_(a,\"borderLeft\"),c=goog.style.getIePixelBorder_(a,\"borderRight\"),d=goog.style.getIePixelBorder_(a,\"borderTop\");a=goog.style.getIePixelBorder_(a,\"borderBottom\");return new goog.math.Box(d,c,a,b)}b=goog.style.getComputedStyle(a,\"borderLeftWidth\");c=goog.style.getComputedStyle(a,\"borderRightWidth\");d=goog.style.getComputedStyle(a,\"borderTopWidth\");a=goog.style.getComputedStyle(a,\n\"borderBottomWidth\");return new goog.math.Box(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};goog.style.getFontFamily=function(a){var b=goog.dom.getOwnerDocument(a),c=\"\";if(b.body.createTextRange&&goog.dom.contains(b,a)){b=b.body.createTextRange();b.moveToElementText(a);try{c=b.queryCommandValue(\"FontName\")}catch(d){c=\"\"}}c||(c=goog.style.getStyle_(a,\"fontFamily\"));a=c.split(\",\");1<a.length&&(c=a[0]);return goog.string.stripQuotes(c,\"\\\"'\")};goog.style.lengthUnitRegex_=/[^\\d]+$/;\ngoog.style.getLengthUnits=function(a){return(a=a.match(goog.style.lengthUnitRegex_))&&a[0]||null};goog.style.ABSOLUTE_CSS_LENGTH_UNITS_={cm:1,\"in\":1,mm:1,pc:1,pt:1};goog.style.CONVERTIBLE_RELATIVE_CSS_UNITS_={em:1,ex:1};\ngoog.style.getFontSize=function(a){var b=goog.style.getStyle_(a,\"fontSize\"),c=goog.style.getLengthUnits(b);if(b&&\"px\"==c)return parseInt(b,10);if(goog.userAgent.IE){if(String(c)in goog.style.ABSOLUTE_CSS_LENGTH_UNITS_)return goog.style.getIePixelValue_(a,b,\"left\",\"pixelLeft\");if(a.parentNode&&a.parentNode.nodeType==goog.dom.NodeType.ELEMENT&&String(c)in goog.style.CONVERTIBLE_RELATIVE_CSS_UNITS_)return a=a.parentNode,c=goog.style.getStyle_(a,\"fontSize\"),goog.style.getIePixelValue_(a,b==c?\"1em\":b,\n\"left\",\"pixelLeft\")}c=goog.dom.createDom(\"SPAN\",{style:\"visibility:hidden;position:absolute;line-height:0;padding:0;margin:0;border:0;height:1em;\"});goog.dom.appendChild(a,c);b=c.offsetHeight;goog.dom.removeNode(c);return b};goog.style.parseStyleAttribute=function(a){var b={};goog.array.forEach(a.split(/\\s*;\\s*/),function(a){var c=a.match(/\\s*([\\w-]+)\\s*\\:(.+)/);c&&(a=c[1],c=goog.string.trim(c[2]),b[goog.string.toCamelCase(a.toLowerCase())]=c)});return b};\ngoog.style.toStyleAttribute=function(a){var b=[];goog.object.forEach(a,function(a,d){b.push(goog.string.toSelectorCase(d),\":\",a,\";\")});return b.join(\"\")};goog.style.setFloat=function(a,b){a.style[goog.userAgent.IE?\"styleFloat\":\"cssFloat\"]=b};goog.style.getFloat=function(a){return a.style[goog.userAgent.IE?\"styleFloat\":\"cssFloat\"]||\"\"};\ngoog.style.getScrollbarWidth=function(a){var b=goog.dom.createElement(\"DIV\");a&&(b.className=a);b.style.cssText=\"overflow:auto;position:absolute;top:0;width:100px;height:100px\";a=goog.dom.createElement(\"DIV\");goog.style.setSize(a,\"200px\",\"200px\");b.appendChild(a);goog.dom.appendChild(goog.dom.getDocument().body,b);a=b.offsetWidth-b.clientWidth;goog.dom.removeNode(b);return a};goog.style.MATRIX_TRANSLATION_REGEX_=/matrix\\([0-9\\.\\-]+, [0-9\\.\\-]+, [0-9\\.\\-]+, [0-9\\.\\-]+, ([0-9\\.\\-]+)p?x?, ([0-9\\.\\-]+)p?x?\\)/;\ngoog.style.getCssTranslation=function(a){a=goog.style.getComputedTransform(a);return a?(a=a.match(goog.style.MATRIX_TRANSLATION_REGEX_))?new goog.math.Coordinate(parseFloat(a[1]),parseFloat(a[2])):new goog.math.Coordinate(0,0):new goog.math.Coordinate(0,0)};goog.events.EventHandler=function(a){goog.Disposable.call(this);this.handler_=a;this.keys_={}};goog.inherits(goog.events.EventHandler,goog.Disposable);goog.events.EventHandler.typeArray_=[];goog.events.EventHandler.prototype.listen=function(a,b,c,d){return this.listen_(a,b,c,d)};goog.events.EventHandler.prototype.listenWithScope=function(a,b,c,d,e){return this.listen_(a,b,c,d,e)};\ngoog.events.EventHandler.prototype.listen_=function(a,b,c,d,e){goog.isArray(b)||(b&&(goog.events.EventHandler.typeArray_[0]=b.toString()),b=goog.events.EventHandler.typeArray_);for(var f=0;f<b.length;f++){var g=goog.events.listen(a,b[f],c||this.handleEvent,d||!1,e||this.handler_||this);if(!g)break;this.keys_[g.key]=g}return this};goog.events.EventHandler.prototype.listenOnce=function(a,b,c,d){return this.listenOnce_(a,b,c,d)};\ngoog.events.EventHandler.prototype.listenOnceWithScope=function(a,b,c,d,e){return this.listenOnce_(a,b,c,d,e)};goog.events.EventHandler.prototype.listenOnce_=function(a,b,c,d,e){if(goog.isArray(b))for(var f=0;f<b.length;f++)this.listenOnce_(a,b[f],c,d,e);else{a=goog.events.listenOnce(a,b,c||this.handleEvent,d,e||this.handler_||this);if(!a)return this;this.keys_[a.key]=a}return this};goog.events.EventHandler.prototype.listenWithWrapper=function(a,b,c,d){return this.listenWithWrapper_(a,b,c,d)};\ngoog.events.EventHandler.prototype.listenWithWrapperAndScope=function(a,b,c,d,e){return this.listenWithWrapper_(a,b,c,d,e)};goog.events.EventHandler.prototype.listenWithWrapper_=function(a,b,c,d,e){b.listen(a,c,d,e||this.handler_||this,this);return this};goog.events.EventHandler.prototype.getListenerCount=function(){var a=0,b;for(b in this.keys_)Object.prototype.hasOwnProperty.call(this.keys_,b)&&a++;return a};\ngoog.events.EventHandler.prototype.unlisten=function(a,b,c,d,e){if(goog.isArray(b))for(var f=0;f<b.length;f++)this.unlisten(a,b[f],c,d,e);else if(d=goog.isObject(d)?!!d.capture:!!d,a=goog.events.getListener(a,b,c||this.handleEvent,d,e||this.handler_||this))goog.events.unlistenByKey(a),delete this.keys_[a.key];return this};goog.events.EventHandler.prototype.unlistenWithWrapper=function(a,b,c,d,e){b.unlisten(a,c,d,e||this.handler_||this,this);return this};\ngoog.events.EventHandler.prototype.removeAll=function(){goog.object.forEach(this.keys_,function(a,b){this.keys_.hasOwnProperty(b)&&goog.events.unlistenByKey(a)},this);this.keys_={}};goog.events.EventHandler.prototype.disposeInternal=function(){goog.events.EventHandler.superClass_.disposeInternal.call(this);this.removeAll()};goog.events.EventHandler.prototype.handleEvent=function(a){throw Error(\"EventHandler.handleEvent not implemented\");};goog.ui={};goog.ui.IdGenerator=function(){};goog.addSingletonGetter(goog.ui.IdGenerator);goog.ui.IdGenerator.prototype.nextId_=0;goog.ui.IdGenerator.prototype.getNextUniqueId=function(){return\":\"+(this.nextId_++).toString(36)};goog.ui.Component=function(a){goog.events.EventTarget.call(this);this.dom_=a||goog.dom.getDomHelper();this.rightToLeft_=goog.ui.Component.defaultRightToLeft_;this.id_=null;this.inDocument_=!1;this.element_=null;this.googUiComponentHandler_=void 0;this.childIndex_=this.children_=this.parent_=this.model_=null;this.wasDecorated_=!1};goog.inherits(goog.ui.Component,goog.events.EventTarget);goog.ui.Component.ALLOW_DETACHED_DECORATION=!1;goog.ui.Component.prototype.idGenerator_=goog.ui.IdGenerator.getInstance();\ngoog.ui.Component.DEFAULT_BIDI_DIR=0;goog.ui.Component.defaultRightToLeft_=1==goog.ui.Component.DEFAULT_BIDI_DIR?!1:-1==goog.ui.Component.DEFAULT_BIDI_DIR?!0:null;\ngoog.ui.Component.EventType={BEFORE_SHOW:\"beforeshow\",SHOW:\"show\",HIDE:\"hide\",DISABLE:\"disable\",ENABLE:\"enable\",HIGHLIGHT:\"highlight\",UNHIGHLIGHT:\"unhighlight\",ACTIVATE:\"activate\",DEACTIVATE:\"deactivate\",SELECT:\"select\",UNSELECT:\"unselect\",CHECK:\"check\",UNCHECK:\"uncheck\",FOCUS:\"focus\",BLUR:\"blur\",OPEN:\"open\",CLOSE:\"close\",ENTER:\"enter\",LEAVE:\"leave\",ACTION:\"action\",CHANGE:\"change\"};\ngoog.ui.Component.Error={NOT_SUPPORTED:\"Method not supported\",DECORATE_INVALID:\"Invalid element to decorate\",ALREADY_RENDERED:\"Component already rendered\",PARENT_UNABLE_TO_BE_SET:\"Unable to set parent component\",CHILD_INDEX_OUT_OF_BOUNDS:\"Child component index out of bounds\",NOT_OUR_CHILD:\"Child is not in parent component\",NOT_IN_DOCUMENT:\"Operation not supported while component is not in document\",STATE_INVALID:\"Invalid component state\"};\ngoog.ui.Component.State={ALL:255,DISABLED:1,HOVER:2,ACTIVE:4,SELECTED:8,CHECKED:16,FOCUSED:32,OPENED:64};\ngoog.ui.Component.getStateTransitionEvent=function(a,b){switch(a){case goog.ui.Component.State.DISABLED:return b?goog.ui.Component.EventType.DISABLE:goog.ui.Component.EventType.ENABLE;case goog.ui.Component.State.HOVER:return b?goog.ui.Component.EventType.HIGHLIGHT:goog.ui.Component.EventType.UNHIGHLIGHT;case goog.ui.Component.State.ACTIVE:return b?goog.ui.Component.EventType.ACTIVATE:goog.ui.Component.EventType.DEACTIVATE;case goog.ui.Component.State.SELECTED:return b?goog.ui.Component.EventType.SELECT:\ngoog.ui.Component.EventType.UNSELECT;case goog.ui.Component.State.CHECKED:return b?goog.ui.Component.EventType.CHECK:goog.ui.Component.EventType.UNCHECK;case goog.ui.Component.State.FOCUSED:return b?goog.ui.Component.EventType.FOCUS:goog.ui.Component.EventType.BLUR;case goog.ui.Component.State.OPENED:return b?goog.ui.Component.EventType.OPEN:goog.ui.Component.EventType.CLOSE}throw Error(goog.ui.Component.Error.STATE_INVALID);};\ngoog.ui.Component.setDefaultRightToLeft=function(a){goog.ui.Component.defaultRightToLeft_=a};goog.ui.Component.prototype.getId=function(){return this.id_||(this.id_=this.idGenerator_.getNextUniqueId())};goog.ui.Component.prototype.setId=function(a){this.parent_&&this.parent_.childIndex_&&(goog.object.remove(this.parent_.childIndex_,this.id_),goog.object.add(this.parent_.childIndex_,a,this));this.id_=a};goog.ui.Component.prototype.getElement=function(){return this.element_};\ngoog.ui.Component.prototype.getElementStrict=function(){var a=this.element_;goog.asserts.assert(a,\"Can not call getElementStrict before rendering/decorating.\");return a};goog.ui.Component.prototype.setElementInternal=function(a){this.element_=a};goog.ui.Component.prototype.getElementsByClass=function(a){return this.element_?this.dom_.getElementsByClass(a,this.element_):[]};goog.ui.Component.prototype.getElementByClass=function(a){return this.element_?this.dom_.getElementByClass(a,this.element_):null};\ngoog.ui.Component.prototype.getRequiredElementByClass=function(a){var b=this.getElementByClass(a);goog.asserts.assert(b,\"Expected element in component with class: %s\",a);return b};goog.ui.Component.prototype.getHandler=function(){this.googUiComponentHandler_||(this.googUiComponentHandler_=new goog.events.EventHandler(this));return this.googUiComponentHandler_};\ngoog.ui.Component.prototype.setParent=function(a){if(this==a)throw Error(goog.ui.Component.Error.PARENT_UNABLE_TO_BE_SET);if(a&&this.parent_&&this.id_&&this.parent_.getChild(this.id_)&&this.parent_!=a)throw Error(goog.ui.Component.Error.PARENT_UNABLE_TO_BE_SET);this.parent_=a;goog.ui.Component.superClass_.setParentEventTarget.call(this,a)};goog.ui.Component.prototype.getParent=function(){return this.parent_};\ngoog.ui.Component.prototype.setParentEventTarget=function(a){if(this.parent_&&this.parent_!=a)throw Error(goog.ui.Component.Error.NOT_SUPPORTED);goog.ui.Component.superClass_.setParentEventTarget.call(this,a)};goog.ui.Component.prototype.getDomHelper=function(){return this.dom_};goog.ui.Component.prototype.isInDocument=function(){return this.inDocument_};goog.ui.Component.prototype.createDom=function(){this.element_=this.dom_.createElement(\"DIV\")};goog.ui.Component.prototype.render=function(a){this.render_(a)};\ngoog.ui.Component.prototype.renderBefore=function(a){this.render_(a.parentNode,a)};goog.ui.Component.prototype.render_=function(a,b){if(this.inDocument_)throw Error(goog.ui.Component.Error.ALREADY_RENDERED);this.element_||this.createDom();a?a.insertBefore(this.element_,b||null):this.dom_.getDocument().body.appendChild(this.element_);this.parent_&&!this.parent_.isInDocument()||this.enterDocument()};\ngoog.ui.Component.prototype.decorate=function(a){if(this.inDocument_)throw Error(goog.ui.Component.Error.ALREADY_RENDERED);if(a&&this.canDecorate(a)){this.wasDecorated_=!0;var b=goog.dom.getOwnerDocument(a);this.dom_&&this.dom_.getDocument()==b||(this.dom_=goog.dom.getDomHelper(a));this.decorateInternal(a);goog.ui.Component.ALLOW_DETACHED_DECORATION&&!goog.dom.contains(b,a)||this.enterDocument()}else throw Error(goog.ui.Component.Error.DECORATE_INVALID);};goog.ui.Component.prototype.canDecorate=function(a){return!0};\ngoog.ui.Component.prototype.wasDecorated=function(){return this.wasDecorated_};goog.ui.Component.prototype.decorateInternal=function(a){this.element_=a};goog.ui.Component.prototype.enterDocument=function(){this.inDocument_=!0;this.forEachChild(function(a){!a.isInDocument()&&a.getElement()&&a.enterDocument()})};\ngoog.ui.Component.prototype.exitDocument=function(){this.forEachChild(function(a){a.isInDocument()&&a.exitDocument()});this.googUiComponentHandler_&&this.googUiComponentHandler_.removeAll();this.inDocument_=!1};\ngoog.ui.Component.prototype.disposeInternal=function(){this.inDocument_&&this.exitDocument();this.googUiComponentHandler_&&(this.googUiComponentHandler_.dispose(),delete this.googUiComponentHandler_);this.forEachChild(function(a){a.dispose()});!this.wasDecorated_&&this.element_&&goog.dom.removeNode(this.element_);this.parent_=this.model_=this.element_=this.childIndex_=this.children_=null;goog.ui.Component.superClass_.disposeInternal.call(this)};\ngoog.ui.Component.prototype.makeId=function(a){return this.getId()+\".\"+a};goog.ui.Component.prototype.makeIds=function(a){var b={},c;for(c in a)b[c]=this.makeId(a[c]);return b};goog.ui.Component.prototype.getModel=function(){return this.model_};goog.ui.Component.prototype.setModel=function(a){this.model_=a};goog.ui.Component.prototype.getFragmentFromId=function(a){return a.substring(this.getId().length+1)};\ngoog.ui.Component.prototype.getElementByFragment=function(a){if(!this.inDocument_)throw Error(goog.ui.Component.Error.NOT_IN_DOCUMENT);return this.dom_.getElement(this.makeId(a))};goog.ui.Component.prototype.addChild=function(a,b){this.addChildAt(a,this.getChildCount(),b)};\ngoog.ui.Component.prototype.addChildAt=function(a,b,c){goog.asserts.assert(!!a,\"Provided element must not be null.\");if(a.inDocument_&&(c||!this.inDocument_))throw Error(goog.ui.Component.Error.ALREADY_RENDERED);if(0>b||b>this.getChildCount())throw Error(goog.ui.Component.Error.CHILD_INDEX_OUT_OF_BOUNDS);this.childIndex_&&this.children_||(this.childIndex_={},this.children_=[]);a.getParent()==this?(goog.object.set(this.childIndex_,a.getId(),a),goog.array.remove(this.children_,a)):goog.object.add(this.childIndex_,\na.getId(),a);a.setParent(this);goog.array.insertAt(this.children_,a,b);a.inDocument_&&this.inDocument_&&a.getParent()==this?(c=this.getContentElement(),b=c.childNodes[b]||null,b!=a.getElement()&&c.insertBefore(a.getElement(),b)):c?(this.element_||this.createDom(),b=this.getChildAt(b+1),a.render_(this.getContentElement(),b?b.element_:null)):this.inDocument_&&!a.inDocument_&&a.element_&&a.element_.parentNode&&a.element_.parentNode.nodeType==goog.dom.NodeType.ELEMENT&&a.enterDocument()};\ngoog.ui.Component.prototype.getContentElement=function(){return this.element_};goog.ui.Component.prototype.isRightToLeft=function(){null==this.rightToLeft_&&(this.rightToLeft_=goog.style.isRightToLeft(this.inDocument_?this.element_:this.dom_.getDocument().body));return this.rightToLeft_};goog.ui.Component.prototype.setRightToLeft=function(a){if(this.inDocument_)throw Error(goog.ui.Component.Error.ALREADY_RENDERED);this.rightToLeft_=a};\ngoog.ui.Component.prototype.hasChildren=function(){return!!this.children_&&0!=this.children_.length};goog.ui.Component.prototype.getChildCount=function(){return this.children_?this.children_.length:0};goog.ui.Component.prototype.getChildIds=function(){var a=[];this.forEachChild(function(b){a.push(b.getId())});return a};goog.ui.Component.prototype.getChild=function(a){return this.childIndex_&&a?goog.object.get(this.childIndex_,a)||null:null};\ngoog.ui.Component.prototype.getChildAt=function(a){return this.children_?this.children_[a]||null:null};goog.ui.Component.prototype.forEachChild=function(a,b){this.children_&&goog.array.forEach(this.children_,a,b)};goog.ui.Component.prototype.indexOfChild=function(a){return this.children_&&a?goog.array.indexOf(this.children_,a):-1};\ngoog.ui.Component.prototype.removeChild=function(a,b){if(a){var c=goog.isString(a)?a:a.getId();a=this.getChild(c);c&&a&&(goog.object.remove(this.childIndex_,c),goog.array.remove(this.children_,a),b&&(a.exitDocument(),a.element_&&goog.dom.removeNode(a.element_)),a.setParent(null))}if(!a)throw Error(goog.ui.Component.Error.NOT_OUR_CHILD);return a};goog.ui.Component.prototype.removeChildAt=function(a,b){return this.removeChild(this.getChildAt(a),b)};\ngoog.ui.Component.prototype.removeChildren=function(a){for(var b=[];this.hasChildren();)b.push(this.removeChildAt(0,a));return b};goog.a11y={};goog.a11y.aria={};\ngoog.a11y.aria.Role={ALERT:\"alert\",ALERTDIALOG:\"alertdialog\",APPLICATION:\"application\",ARTICLE:\"article\",BANNER:\"banner\",BUTTON:\"button\",CHECKBOX:\"checkbox\",COLUMNHEADER:\"columnheader\",COMBOBOX:\"combobox\",COMPLEMENTARY:\"complementary\",CONTENTINFO:\"contentinfo\",DEFINITION:\"definition\",DIALOG:\"dialog\",DIRECTORY:\"directory\",DOCUMENT:\"document\",FORM:\"form\",GRID:\"grid\",GRIDCELL:\"gridcell\",GROUP:\"group\",HEADING:\"heading\",IMG:\"img\",LINK:\"link\",LIST:\"list\",LISTBOX:\"listbox\",LISTITEM:\"listitem\",LOG:\"log\",\nMAIN:\"main\",MARQUEE:\"marquee\",MATH:\"math\",MENU:\"menu\",MENUBAR:\"menubar\",MENU_ITEM:\"menuitem\",MENU_ITEM_CHECKBOX:\"menuitemcheckbox\",MENU_ITEM_RADIO:\"menuitemradio\",NAVIGATION:\"navigation\",NOTE:\"note\",OPTION:\"option\",PRESENTATION:\"presentation\",PROGRESSBAR:\"progressbar\",RADIO:\"radio\",RADIOGROUP:\"radiogroup\",REGION:\"region\",ROW:\"row\",ROWGROUP:\"rowgroup\",ROWHEADER:\"rowheader\",SCROLLBAR:\"scrollbar\",SEARCH:\"search\",SEPARATOR:\"separator\",SLIDER:\"slider\",SPINBUTTON:\"spinbutton\",STATUS:\"status\",TAB:\"tab\",\nTAB_LIST:\"tablist\",TAB_PANEL:\"tabpanel\",TEXTBOX:\"textbox\",TEXTINFO:\"textinfo\",TIMER:\"timer\",TOOLBAR:\"toolbar\",TOOLTIP:\"tooltip\",TREE:\"tree\",TREEGRID:\"treegrid\",TREEITEM:\"treeitem\"};goog.a11y.aria.State={ACTIVEDESCENDANT:\"activedescendant\",ATOMIC:\"atomic\",AUTOCOMPLETE:\"autocomplete\",BUSY:\"busy\",CHECKED:\"checked\",COLINDEX:\"colindex\",CONTROLS:\"controls\",DESCRIBEDBY:\"describedby\",DISABLED:\"disabled\",DROPEFFECT:\"dropeffect\",EXPANDED:\"expanded\",FLOWTO:\"flowto\",GRABBED:\"grabbed\",HASPOPUP:\"haspopup\",HIDDEN:\"hidden\",INVALID:\"invalid\",LABEL:\"label\",LABELLEDBY:\"labelledby\",LEVEL:\"level\",LIVE:\"live\",MULTILINE:\"multiline\",MULTISELECTABLE:\"multiselectable\",ORIENTATION:\"orientation\",OWNS:\"owns\",\nPOSINSET:\"posinset\",PRESSED:\"pressed\",READONLY:\"readonly\",RELEVANT:\"relevant\",REQUIRED:\"required\",ROWINDEX:\"rowindex\",SELECTED:\"selected\",SETSIZE:\"setsize\",SORT:\"sort\",VALUEMAX:\"valuemax\",VALUEMIN:\"valuemin\",VALUENOW:\"valuenow\",VALUETEXT:\"valuetext\"};goog.a11y.aria.AutoCompleteValues={INLINE:\"inline\",LIST:\"list\",BOTH:\"both\",NONE:\"none\"};goog.a11y.aria.DropEffectValues={COPY:\"copy\",MOVE:\"move\",LINK:\"link\",EXECUTE:\"execute\",POPUP:\"popup\",NONE:\"none\"};\ngoog.a11y.aria.LivePriority={OFF:\"off\",POLITE:\"polite\",ASSERTIVE:\"assertive\"};goog.a11y.aria.OrientationValues={VERTICAL:\"vertical\",HORIZONTAL:\"horizontal\"};goog.a11y.aria.RelevantValues={ADDITIONS:\"additions\",REMOVALS:\"removals\",TEXT:\"text\",ALL:\"all\"};goog.a11y.aria.SortValues={ASCENDING:\"ascending\",DESCENDING:\"descending\",NONE:\"none\",OTHER:\"other\"};goog.a11y.aria.CheckedValues={TRUE:\"true\",FALSE:\"false\",MIXED:\"mixed\",UNDEFINED:\"undefined\"};\ngoog.a11y.aria.ExpandedValues={TRUE:\"true\",FALSE:\"false\",UNDEFINED:\"undefined\"};goog.a11y.aria.GrabbedValues={TRUE:\"true\",FALSE:\"false\",UNDEFINED:\"undefined\"};goog.a11y.aria.InvalidValues={FALSE:\"false\",TRUE:\"true\",GRAMMAR:\"grammar\",SPELLING:\"spelling\"};goog.a11y.aria.PressedValues={TRUE:\"true\",FALSE:\"false\",MIXED:\"mixed\",UNDEFINED:\"undefined\"};goog.a11y.aria.SelectedValues={TRUE:\"true\",FALSE:\"false\",UNDEFINED:\"undefined\"};goog.a11y.aria.datatables={};\ngoog.a11y.aria.datatables.getDefaultValuesMap=function(){goog.a11y.aria.DefaultStateValueMap_||(goog.a11y.aria.DefaultStateValueMap_=goog.object.create(goog.a11y.aria.State.ATOMIC,!1,goog.a11y.aria.State.AUTOCOMPLETE,\"none\",goog.a11y.aria.State.DROPEFFECT,\"none\",goog.a11y.aria.State.HASPOPUP,!1,goog.a11y.aria.State.LIVE,\"off\",goog.a11y.aria.State.MULTILINE,!1,goog.a11y.aria.State.MULTISELECTABLE,!1,goog.a11y.aria.State.ORIENTATION,\"vertical\",goog.a11y.aria.State.READONLY,!1,goog.a11y.aria.State.RELEVANT,\n\"additions text\",goog.a11y.aria.State.REQUIRED,!1,goog.a11y.aria.State.SORT,\"none\",goog.a11y.aria.State.BUSY,!1,goog.a11y.aria.State.DISABLED,!1,goog.a11y.aria.State.HIDDEN,!1,goog.a11y.aria.State.INVALID,\"false\"));return goog.a11y.aria.DefaultStateValueMap_};goog.a11y.aria.ARIA_PREFIX_=\"aria-\";goog.a11y.aria.ROLE_ATTRIBUTE_=\"role\";goog.a11y.aria.TAGS_WITH_ASSUMED_ROLES_=goog.object.createSet(\"A AREA BUTTON HEAD INPUT LINK MENU META OPTGROUP OPTION PROGRESS STYLE SELECT SOURCE TEXTAREA TITLE TRACK\".split(\" \"));\ngoog.a11y.aria.CONTAINER_ROLES_=[goog.a11y.aria.Role.COMBOBOX,goog.a11y.aria.Role.GRID,goog.a11y.aria.Role.GROUP,goog.a11y.aria.Role.LISTBOX,goog.a11y.aria.Role.MENU,goog.a11y.aria.Role.MENUBAR,goog.a11y.aria.Role.RADIOGROUP,goog.a11y.aria.Role.ROW,goog.a11y.aria.Role.ROWGROUP,goog.a11y.aria.Role.TAB_LIST,goog.a11y.aria.Role.TEXTBOX,goog.a11y.aria.Role.TOOLBAR,goog.a11y.aria.Role.TREE,goog.a11y.aria.Role.TREEGRID];\ngoog.a11y.aria.setRole=function(a,b){b?(goog.asserts.ENABLE_ASSERTS&&goog.asserts.assert(goog.object.containsValue(goog.a11y.aria.Role,b),\"No such ARIA role \"+b),a.setAttribute(goog.a11y.aria.ROLE_ATTRIBUTE_,b)):goog.a11y.aria.removeRole(a)};goog.a11y.aria.getRole=function(a){return a.getAttribute(goog.a11y.aria.ROLE_ATTRIBUTE_)||null};goog.a11y.aria.removeRole=function(a){a.removeAttribute(goog.a11y.aria.ROLE_ATTRIBUTE_)};\ngoog.a11y.aria.setState=function(a,b,c){goog.isArray(c)&&(c=c.join(\" \"));var d=goog.a11y.aria.getAriaAttributeName_(b);\"\"===c||void 0==c?(c=goog.a11y.aria.datatables.getDefaultValuesMap(),b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)};goog.a11y.aria.toggleState=function(a,b){var c=goog.a11y.aria.getState(a,b);goog.string.isEmptyOrWhitespace(goog.string.makeSafe(c))||\"true\"==c||\"false\"==c?goog.a11y.aria.setState(a,b,\"true\"==c?\"false\":\"true\"):goog.a11y.aria.removeState(a,b)};\ngoog.a11y.aria.removeState=function(a,b){a.removeAttribute(goog.a11y.aria.getAriaAttributeName_(b))};goog.a11y.aria.getState=function(a,b){var c=a.getAttribute(goog.a11y.aria.getAriaAttributeName_(b));return null==c||void 0==c?\"\":String(c)};goog.a11y.aria.getActiveDescendant=function(a){var b=goog.a11y.aria.getState(a,goog.a11y.aria.State.ACTIVEDESCENDANT);return goog.dom.getOwnerDocument(a).getElementById(b)};\ngoog.a11y.aria.setActiveDescendant=function(a,b){var c=\"\";b&&(c=b.id,goog.asserts.assert(c,\"The active element should have an id.\"));goog.a11y.aria.setState(a,goog.a11y.aria.State.ACTIVEDESCENDANT,c)};goog.a11y.aria.getLabel=function(a){return goog.a11y.aria.getState(a,goog.a11y.aria.State.LABEL)};goog.a11y.aria.setLabel=function(a,b){goog.a11y.aria.setState(a,goog.a11y.aria.State.LABEL,b)};\ngoog.a11y.aria.assertRoleIsSetInternalUtil=function(a,b){if(!goog.a11y.aria.TAGS_WITH_ASSUMED_ROLES_[a.tagName]){var c=goog.a11y.aria.getRole(a);goog.asserts.assert(null!=c,\"The element ARIA role cannot be null.\");goog.asserts.assert(goog.array.contains(b,c),'Non existing or incorrect role set for element.The role set is \"'+c+'\". The role should be any of \"'+b+'\". Check the ARIA specification for more details http://www.w3.org/TR/wai-aria/roles.')}};\ngoog.a11y.aria.getStateBoolean=function(a,b){var c=a.getAttribute(goog.a11y.aria.getAriaAttributeName_(b));goog.asserts.assert(goog.isBoolean(c)||null==c||\"true\"==c||\"false\"==c);return null==c?c:goog.isBoolean(c)?c:\"true\"==c};goog.a11y.aria.getStateNumber=function(a,b){var c=a.getAttribute(goog.a11y.aria.getAriaAttributeName_(b));goog.asserts.assert((null==c||!isNaN(Number(c)))&&!goog.isBoolean(c));return null==c?null:Number(c)};\ngoog.a11y.aria.getStateString=function(a,b){var c=a.getAttribute(goog.a11y.aria.getAriaAttributeName_(b));goog.asserts.assert((null==c||goog.isString(c))&&(\"\"==c||isNaN(Number(c)))&&\"true\"!=c&&\"false\"!=c);return null==c||\"\"==c?null:c};goog.a11y.aria.getStringArrayStateInternalUtil=function(a,b){var c=a.getAttribute(goog.a11y.aria.getAriaAttributeName_(b));return goog.a11y.aria.splitStringOnWhitespace_(c)};goog.a11y.aria.hasState=function(a,b){return a.hasAttribute(goog.a11y.aria.getAriaAttributeName_(b))};\ngoog.a11y.aria.isContainerRole=function(a){a=goog.a11y.aria.getRole(a);return goog.array.contains(goog.a11y.aria.CONTAINER_ROLES_,a)};goog.a11y.aria.splitStringOnWhitespace_=function(a){return a?a.split(/\\s+/):[]};goog.a11y.aria.getAriaAttributeName_=function(a){goog.asserts.ENABLE_ASSERTS&&(goog.asserts.assert(a,\"ARIA attribute cannot be empty.\"),goog.asserts.assert(goog.object.containsValue(goog.a11y.aria.State,a),\"No such ARIA attribute \"+a));return goog.a11y.aria.ARIA_PREFIX_+a};goog.events.KeyCodes={WIN_KEY_FF_LINUX:0,MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PLUS_SIGN:43,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,FF_SEMICOLON:59,FF_EQUALS:61,FF_DASH:173,QUESTION_MARK:63,AT_SIGN:64,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,\nQ:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SCROLL_LOCK:145,FIRST_MEDIA_KEY:166,LAST_MEDIA_KEY:183,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,\nSLASH:191,APOSTROPHE:192,TILDE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,MAC_WK_CMD_LEFT:91,MAC_WK_CMD_RIGHT:93,WIN_IME:229,VK_NONAME:252,PHANTOM:255};\ngoog.events.KeyCodes.isTextModifyingKeyEvent=function(a){if(a.altKey&&!a.ctrlKey||a.metaKey||a.keyCode>=goog.events.KeyCodes.F1&&a.keyCode<=goog.events.KeyCodes.F12)return!1;switch(a.keyCode){case goog.events.KeyCodes.ALT:case goog.events.KeyCodes.CAPS_LOCK:case goog.events.KeyCodes.CONTEXT_MENU:case goog.events.KeyCodes.CTRL:case goog.events.KeyCodes.DOWN:case goog.events.KeyCodes.END:case goog.events.KeyCodes.ESC:case goog.events.KeyCodes.HOME:case goog.events.KeyCodes.INSERT:case goog.events.KeyCodes.LEFT:case goog.events.KeyCodes.MAC_FF_META:case goog.events.KeyCodes.META:case goog.events.KeyCodes.NUMLOCK:case goog.events.KeyCodes.NUM_CENTER:case goog.events.KeyCodes.PAGE_DOWN:case goog.events.KeyCodes.PAGE_UP:case goog.events.KeyCodes.PAUSE:case goog.events.KeyCodes.PHANTOM:case goog.events.KeyCodes.PRINT_SCREEN:case goog.events.KeyCodes.RIGHT:case goog.events.KeyCodes.SCROLL_LOCK:case goog.events.KeyCodes.SHIFT:case goog.events.KeyCodes.UP:case goog.events.KeyCodes.VK_NONAME:case goog.events.KeyCodes.WIN_KEY:case goog.events.KeyCodes.WIN_KEY_RIGHT:return!1;case goog.events.KeyCodes.WIN_KEY_FF_LINUX:return!goog.userAgent.GECKO;\ndefault:return a.keyCode<goog.events.KeyCodes.FIRST_MEDIA_KEY||a.keyCode>goog.events.KeyCodes.LAST_MEDIA_KEY}};\ngoog.events.KeyCodes.firesKeyPressEvent=function(a,b,c,d,e,f){if(!(goog.userAgent.IE||goog.userAgent.EDGE||goog.userAgent.WEBKIT&&goog.userAgent.isVersionOrHigher(\"525\")))return!0;if(goog.userAgent.MAC&&e)return goog.events.KeyCodes.isCharacterKey(a);if(e&&!d)return!1;goog.isNumber(b)&&(b=goog.events.KeyCodes.normalizeKeyCode(b));e=b==goog.events.KeyCodes.CTRL||b==goog.events.KeyCodes.ALT||goog.userAgent.MAC&&b==goog.events.KeyCodes.META;f=b==goog.events.KeyCodes.SHIFT&&(d||f);if((!c||goog.userAgent.MAC)&&\ne||goog.userAgent.MAC&&f)return!1;if((goog.userAgent.WEBKIT||goog.userAgent.EDGE)&&d&&c)switch(a){case goog.events.KeyCodes.BACKSLASH:case goog.events.KeyCodes.OPEN_SQUARE_BRACKET:case goog.events.KeyCodes.CLOSE_SQUARE_BRACKET:case goog.events.KeyCodes.TILDE:case goog.events.KeyCodes.SEMICOLON:case goog.events.KeyCodes.DASH:case goog.events.KeyCodes.EQUALS:case goog.events.KeyCodes.COMMA:case goog.events.KeyCodes.PERIOD:case goog.events.KeyCodes.SLASH:case goog.events.KeyCodes.APOSTROPHE:case goog.events.KeyCodes.SINGLE_QUOTE:return!1}if(goog.userAgent.IE&&\nd&&b==a)return!1;switch(a){case goog.events.KeyCodes.ENTER:return!0;case goog.events.KeyCodes.ESC:return!(goog.userAgent.WEBKIT||goog.userAgent.EDGE)}return goog.events.KeyCodes.isCharacterKey(a)};\ngoog.events.KeyCodes.isCharacterKey=function(a){if(a>=goog.events.KeyCodes.ZERO&&a<=goog.events.KeyCodes.NINE||a>=goog.events.KeyCodes.NUM_ZERO&&a<=goog.events.KeyCodes.NUM_MULTIPLY||a>=goog.events.KeyCodes.A&&a<=goog.events.KeyCodes.Z||(goog.userAgent.WEBKIT||goog.userAgent.EDGE)&&0==a)return!0;switch(a){case goog.events.KeyCodes.SPACE:case goog.events.KeyCodes.PLUS_SIGN:case goog.events.KeyCodes.QUESTION_MARK:case goog.events.KeyCodes.AT_SIGN:case goog.events.KeyCodes.NUM_PLUS:case goog.events.KeyCodes.NUM_MINUS:case goog.events.KeyCodes.NUM_PERIOD:case goog.events.KeyCodes.NUM_DIVISION:case goog.events.KeyCodes.SEMICOLON:case goog.events.KeyCodes.FF_SEMICOLON:case goog.events.KeyCodes.DASH:case goog.events.KeyCodes.EQUALS:case goog.events.KeyCodes.FF_EQUALS:case goog.events.KeyCodes.COMMA:case goog.events.KeyCodes.PERIOD:case goog.events.KeyCodes.SLASH:case goog.events.KeyCodes.APOSTROPHE:case goog.events.KeyCodes.SINGLE_QUOTE:case goog.events.KeyCodes.OPEN_SQUARE_BRACKET:case goog.events.KeyCodes.BACKSLASH:case goog.events.KeyCodes.CLOSE_SQUARE_BRACKET:return!0;default:return!1}};\ngoog.events.KeyCodes.normalizeKeyCode=function(a){return goog.userAgent.GECKO?goog.events.KeyCodes.normalizeGeckoKeyCode(a):goog.userAgent.MAC&&goog.userAgent.WEBKIT?goog.events.KeyCodes.normalizeMacWebKitKeyCode(a):a};\ngoog.events.KeyCodes.normalizeGeckoKeyCode=function(a){switch(a){case goog.events.KeyCodes.FF_EQUALS:return goog.events.KeyCodes.EQUALS;case goog.events.KeyCodes.FF_SEMICOLON:return goog.events.KeyCodes.SEMICOLON;case goog.events.KeyCodes.FF_DASH:return goog.events.KeyCodes.DASH;case goog.events.KeyCodes.MAC_FF_META:return goog.events.KeyCodes.META;case goog.events.KeyCodes.WIN_KEY_FF_LINUX:return goog.events.KeyCodes.WIN_KEY;default:return a}};\ngoog.events.KeyCodes.normalizeMacWebKitKeyCode=function(a){switch(a){case goog.events.KeyCodes.MAC_WK_CMD_RIGHT:return goog.events.KeyCodes.META;default:return a}};goog.events.KeyHandler=function(a,b){goog.events.EventTarget.call(this);a&&this.attach(a,b)};goog.inherits(goog.events.KeyHandler,goog.events.EventTarget);goog.events.KeyHandler.prototype.element_=null;goog.events.KeyHandler.prototype.keyPressKey_=null;goog.events.KeyHandler.prototype.keyDownKey_=null;goog.events.KeyHandler.prototype.keyUpKey_=null;goog.events.KeyHandler.prototype.lastKey_=-1;goog.events.KeyHandler.prototype.keyCode_=-1;goog.events.KeyHandler.prototype.altKey_=!1;\ngoog.events.KeyHandler.EventType={KEY:\"key\"};\ngoog.events.KeyHandler.safariKey_={3:goog.events.KeyCodes.ENTER,12:goog.events.KeyCodes.NUMLOCK,63232:goog.events.KeyCodes.UP,63233:goog.events.KeyCodes.DOWN,63234:goog.events.KeyCodes.LEFT,63235:goog.events.KeyCodes.RIGHT,63236:goog.events.KeyCodes.F1,63237:goog.events.KeyCodes.F2,63238:goog.events.KeyCodes.F3,63239:goog.events.KeyCodes.F4,63240:goog.events.KeyCodes.F5,63241:goog.events.KeyCodes.F6,63242:goog.events.KeyCodes.F7,63243:goog.events.KeyCodes.F8,63244:goog.events.KeyCodes.F9,63245:goog.events.KeyCodes.F10,\n63246:goog.events.KeyCodes.F11,63247:goog.events.KeyCodes.F12,63248:goog.events.KeyCodes.PRINT_SCREEN,63272:goog.events.KeyCodes.DELETE,63273:goog.events.KeyCodes.HOME,63275:goog.events.KeyCodes.END,63276:goog.events.KeyCodes.PAGE_UP,63277:goog.events.KeyCodes.PAGE_DOWN,63289:goog.events.KeyCodes.NUMLOCK,63302:goog.events.KeyCodes.INSERT};\ngoog.events.KeyHandler.keyIdentifier_={Up:goog.events.KeyCodes.UP,Down:goog.events.KeyCodes.DOWN,Left:goog.events.KeyCodes.LEFT,Right:goog.events.KeyCodes.RIGHT,Enter:goog.events.KeyCodes.ENTER,F1:goog.events.KeyCodes.F1,F2:goog.events.KeyCodes.F2,F3:goog.events.KeyCodes.F3,F4:goog.events.KeyCodes.F4,F5:goog.events.KeyCodes.F5,F6:goog.events.KeyCodes.F6,F7:goog.events.KeyCodes.F7,F8:goog.events.KeyCodes.F8,F9:goog.events.KeyCodes.F9,F10:goog.events.KeyCodes.F10,F11:goog.events.KeyCodes.F11,F12:goog.events.KeyCodes.F12,\n\"U+007F\":goog.events.KeyCodes.DELETE,Home:goog.events.KeyCodes.HOME,End:goog.events.KeyCodes.END,PageUp:goog.events.KeyCodes.PAGE_UP,PageDown:goog.events.KeyCodes.PAGE_DOWN,Insert:goog.events.KeyCodes.INSERT};goog.events.KeyHandler.USES_KEYDOWN_=goog.userAgent.IE||goog.userAgent.EDGE||goog.userAgent.WEBKIT&&goog.userAgent.isVersionOrHigher(\"525\");goog.events.KeyHandler.SAVE_ALT_FOR_KEYPRESS_=goog.userAgent.MAC&&goog.userAgent.GECKO;\ngoog.events.KeyHandler.prototype.handleKeyDown_=function(a){(goog.userAgent.WEBKIT||goog.userAgent.EDGE)&&(this.lastKey_==goog.events.KeyCodes.CTRL&&!a.ctrlKey||this.lastKey_==goog.events.KeyCodes.ALT&&!a.altKey||goog.userAgent.MAC&&this.lastKey_==goog.events.KeyCodes.META&&!a.metaKey)&&this.resetState();-1==this.lastKey_&&(a.ctrlKey&&a.keyCode!=goog.events.KeyCodes.CTRL?this.lastKey_=goog.events.KeyCodes.CTRL:a.altKey&&a.keyCode!=goog.events.KeyCodes.ALT?this.lastKey_=goog.events.KeyCodes.ALT:a.metaKey&&\na.keyCode!=goog.events.KeyCodes.META&&(this.lastKey_=goog.events.KeyCodes.META));goog.events.KeyHandler.USES_KEYDOWN_&&!goog.events.KeyCodes.firesKeyPressEvent(a.keyCode,this.lastKey_,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?this.handleEvent(a):(this.keyCode_=goog.events.KeyCodes.normalizeKeyCode(a.keyCode),goog.events.KeyHandler.SAVE_ALT_FOR_KEYPRESS_&&(this.altKey_=a.altKey))};goog.events.KeyHandler.prototype.resetState=function(){this.keyCode_=this.lastKey_=-1};\ngoog.events.KeyHandler.prototype.handleKeyup_=function(a){this.resetState();this.altKey_=a.altKey};\ngoog.events.KeyHandler.prototype.handleEvent=function(a){var b=a.getBrowserEvent(),c=b.altKey;if(goog.userAgent.IE&&a.type==goog.events.EventType.KEYPRESS){var d=this.keyCode_;var e=d!=goog.events.KeyCodes.ENTER&&d!=goog.events.KeyCodes.ESC?b.keyCode:0}else(goog.userAgent.WEBKIT||goog.userAgent.EDGE)&&a.type==goog.events.EventType.KEYPRESS?(d=this.keyCode_,e=0<=b.charCode&&63232>b.charCode&&goog.events.KeyCodes.isCharacterKey(d)?b.charCode:0):goog.userAgent.OPERA&&!goog.userAgent.WEBKIT?(d=this.keyCode_,\ne=goog.events.KeyCodes.isCharacterKey(d)?b.keyCode:0):(d=b.keyCode||this.keyCode_,e=b.charCode||0,goog.events.KeyHandler.SAVE_ALT_FOR_KEYPRESS_&&(c=this.altKey_),goog.userAgent.MAC&&e==goog.events.KeyCodes.QUESTION_MARK&&d==goog.events.KeyCodes.WIN_KEY&&(d=goog.events.KeyCodes.SLASH));var f=d=goog.events.KeyCodes.normalizeKeyCode(d);d?63232<=d&&d in goog.events.KeyHandler.safariKey_?f=goog.events.KeyHandler.safariKey_[d]:25==d&&a.shiftKey&&(f=9):b.keyIdentifier&&b.keyIdentifier in goog.events.KeyHandler.keyIdentifier_&&\n(f=goog.events.KeyHandler.keyIdentifier_[b.keyIdentifier]);a=f==this.lastKey_;this.lastKey_=f;b=new goog.events.KeyEvent(f,e,a,b);b.altKey=c;this.dispatchEvent(b)};goog.events.KeyHandler.prototype.getElement=function(){return this.element_};\ngoog.events.KeyHandler.prototype.attach=function(a,b){this.keyUpKey_&&this.detach();this.element_=a;this.keyPressKey_=goog.events.listen(this.element_,goog.events.EventType.KEYPRESS,this,b);this.keyDownKey_=goog.events.listen(this.element_,goog.events.EventType.KEYDOWN,this.handleKeyDown_,b,this);this.keyUpKey_=goog.events.listen(this.element_,goog.events.EventType.KEYUP,this.handleKeyup_,b,this)};\ngoog.events.KeyHandler.prototype.detach=function(){this.keyPressKey_&&(goog.events.unlistenByKey(this.keyPressKey_),goog.events.unlistenByKey(this.keyDownKey_),goog.events.unlistenByKey(this.keyUpKey_),this.keyUpKey_=this.keyDownKey_=this.keyPressKey_=null);this.element_=null;this.keyCode_=this.lastKey_=-1};goog.events.KeyHandler.prototype.disposeInternal=function(){goog.events.KeyHandler.superClass_.disposeInternal.call(this);this.detach()};\ngoog.events.KeyEvent=function(a,b,c,d){goog.events.BrowserEvent.call(this,d);this.type=goog.events.KeyHandler.EventType.KEY;this.keyCode=a;this.charCode=b;this.repeat=c};goog.inherits(goog.events.KeyEvent,goog.events.BrowserEvent);goog.dom.classlist={};goog.dom.classlist.ALWAYS_USE_DOM_TOKEN_LIST=!1;goog.dom.classlist.get=function(a){if(goog.dom.classlist.ALWAYS_USE_DOM_TOKEN_LIST||a.classList)return a.classList;a=a.className;return goog.isString(a)&&a.match(/\\S+/g)||[]};goog.dom.classlist.set=function(a,b){a.className=b};goog.dom.classlist.contains=function(a,b){return goog.dom.classlist.ALWAYS_USE_DOM_TOKEN_LIST||a.classList?a.classList.contains(b):goog.array.contains(goog.dom.classlist.get(a),b)};\ngoog.dom.classlist.add=function(a,b){goog.dom.classlist.ALWAYS_USE_DOM_TOKEN_LIST||a.classList?a.classList.add(b):goog.dom.classlist.contains(a,b)||(a.className+=0<a.className.length?\" \"+b:b)};\ngoog.dom.classlist.addAll=function(a,b){if(goog.dom.classlist.ALWAYS_USE_DOM_TOKEN_LIST||a.classList)goog.array.forEach(b,function(b){goog.dom.classlist.add(a,b)});else{var c={};goog.array.forEach(goog.dom.classlist.get(a),function(a){c[a]=!0});goog.array.forEach(b,function(a){c[a]=!0});a.className=\"\";for(var d in c)a.className+=0<a.className.length?\" \"+d:d}};\ngoog.dom.classlist.remove=function(a,b){goog.dom.classlist.ALWAYS_USE_DOM_TOKEN_LIST||a.classList?a.classList.remove(b):goog.dom.classlist.contains(a,b)&&(a.className=goog.array.filter(goog.dom.classlist.get(a),function(a){return a!=b}).join(\" \"))};\ngoog.dom.classlist.removeAll=function(a,b){goog.dom.classlist.ALWAYS_USE_DOM_TOKEN_LIST||a.classList?goog.array.forEach(b,function(b){goog.dom.classlist.remove(a,b)}):a.className=goog.array.filter(goog.dom.classlist.get(a),function(a){return!goog.array.contains(b,a)}).join(\" \")};goog.dom.classlist.enable=function(a,b,c){c?goog.dom.classlist.add(a,b):goog.dom.classlist.remove(a,b)};goog.dom.classlist.enableAll=function(a,b,c){(c?goog.dom.classlist.addAll:goog.dom.classlist.removeAll)(a,b)};\ngoog.dom.classlist.swap=function(a,b,c){return goog.dom.classlist.contains(a,b)?(goog.dom.classlist.remove(a,b),goog.dom.classlist.add(a,c),!0):!1};goog.dom.classlist.toggle=function(a,b){var c=!goog.dom.classlist.contains(a,b);goog.dom.classlist.enable(a,b,c);return c};goog.dom.classlist.addRemove=function(a,b,c){goog.dom.classlist.remove(a,b);goog.dom.classlist.add(a,c)};goog.ui.registry={};goog.ui.registry.getDefaultRenderer=function(a){for(var b;a;){b=goog.getUid(a);if(b=goog.ui.registry.defaultRenderers_[b])break;a=a.superClass_?a.superClass_.constructor:null}return b?goog.isFunction(b.getInstance)?b.getInstance():new b:null};\ngoog.ui.registry.setDefaultRenderer=function(a,b){if(!goog.isFunction(a))throw Error(\"Invalid component class \"+a);if(!goog.isFunction(b))throw Error(\"Invalid renderer class \"+b);var c=goog.getUid(a);goog.ui.registry.defaultRenderers_[c]=b};goog.ui.registry.getDecoratorByClassName=function(a){return a in goog.ui.registry.decoratorFunctions_?goog.ui.registry.decoratorFunctions_[a]():null};\ngoog.ui.registry.setDecoratorByClassName=function(a,b){if(!a)throw Error(\"Invalid class name \"+a);if(!goog.isFunction(b))throw Error(\"Invalid decorator function \"+b);goog.ui.registry.decoratorFunctions_[a]=b};goog.ui.registry.getDecorator=function(a){goog.asserts.assert(a);for(var b=goog.dom.classlist.get(a),c=0,d=b.length;c<d;c++)if(a=goog.ui.registry.getDecoratorByClassName(b[c]))return a;return null};\ngoog.ui.registry.reset=function(){goog.ui.registry.defaultRenderers_={};goog.ui.registry.decoratorFunctions_={}};goog.ui.registry.defaultRenderers_={};goog.ui.registry.decoratorFunctions_={};goog.ui.ContainerRenderer=function(a){this.ariaRole_=a};goog.addSingletonGetter(goog.ui.ContainerRenderer);goog.ui.ContainerRenderer.getCustomRenderer=function(a,b){var c=new a;c.getCssClass=function(){return b};return c};goog.ui.ContainerRenderer.CSS_CLASS=\"goog-container\";goog.ui.ContainerRenderer.prototype.getAriaRole=function(){return this.ariaRole_};goog.ui.ContainerRenderer.prototype.enableTabIndex=function(a,b){a&&(a.tabIndex=b?0:-1)};\ngoog.ui.ContainerRenderer.prototype.createDom=function(a){return a.getDomHelper().createDom(\"DIV\",this.getClassNames(a).join(\" \"))};goog.ui.ContainerRenderer.prototype.getContentElement=function(a){return a};goog.ui.ContainerRenderer.prototype.canDecorate=function(a){return\"DIV\"==a.tagName};\ngoog.ui.ContainerRenderer.prototype.decorate=function(a,b){b.id&&a.setId(b.id);var c=this.getCssClass(),d=!1,e=goog.dom.classlist.get(b);e&&goog.array.forEach(e,function(b){b==c?d=!0:b&&this.setStateFromClassName(a,b,c)},this);d||goog.dom.classlist.add(b,c);this.decorateChildren(a,this.getContentElement(b));return b};\ngoog.ui.ContainerRenderer.prototype.setStateFromClassName=function(a,b,c){b==c+\"-disabled\"?a.setEnabled(!1):b==c+\"-horizontal\"?a.setOrientation(goog.ui.Container.Orientation.HORIZONTAL):b==c+\"-vertical\"&&a.setOrientation(goog.ui.Container.Orientation.VERTICAL)};\ngoog.ui.ContainerRenderer.prototype.decorateChildren=function(a,b,c){if(b){c=c||b.firstChild;for(var d;c&&c.parentNode==b;){d=c.nextSibling;if(c.nodeType==goog.dom.NodeType.ELEMENT){var e=this.getDecoratorForChild(c);e&&(e.setElementInternal(c),a.isEnabled()||e.setEnabled(!1),a.addChild(e),e.decorate(c))}else c.nodeValue&&\"\"!=goog.string.trim(c.nodeValue)||b.removeChild(c);c=d}}};goog.ui.ContainerRenderer.prototype.getDecoratorForChild=function(a){return goog.ui.registry.getDecorator(a)};\ngoog.ui.ContainerRenderer.prototype.initializeDom=function(a){a=a.getElement();goog.asserts.assert(a,\"The container DOM element cannot be null.\");goog.style.setUnselectable(a,!0,goog.userAgent.GECKO);goog.userAgent.IE&&(a.hideFocus=!0);var b=this.getAriaRole();b&&goog.a11y.aria.setRole(a,b)};goog.ui.ContainerRenderer.prototype.getKeyEventTarget=function(a){return a.getElement()};goog.ui.ContainerRenderer.prototype.getCssClass=function(){return goog.ui.ContainerRenderer.CSS_CLASS};\ngoog.ui.ContainerRenderer.prototype.getClassNames=function(a){var b=this.getCssClass(),c=a.getOrientation()==goog.ui.Container.Orientation.HORIZONTAL;c=[b,c?b+\"-horizontal\":b+\"-vertical\"];a.isEnabled()||c.push(b+\"-disabled\");return c};goog.ui.ContainerRenderer.prototype.getDefaultOrientation=function(){return goog.ui.Container.Orientation.VERTICAL};goog.ui.ControlRenderer=function(){};goog.addSingletonGetter(goog.ui.ControlRenderer);goog.tagUnsealableClass(goog.ui.ControlRenderer);goog.ui.ControlRenderer.getCustomRenderer=function(a,b){var c=new a;c.getCssClass=function(){return b};return c};goog.ui.ControlRenderer.CSS_CLASS=\"goog-control\";goog.ui.ControlRenderer.IE6_CLASS_COMBINATIONS=[];\ngoog.ui.ControlRenderer.TOGGLE_ARIA_STATE_MAP_=goog.object.create(goog.a11y.aria.Role.BUTTON,goog.a11y.aria.State.PRESSED,goog.a11y.aria.Role.CHECKBOX,goog.a11y.aria.State.CHECKED,goog.a11y.aria.Role.MENU_ITEM,goog.a11y.aria.State.SELECTED,goog.a11y.aria.Role.MENU_ITEM_CHECKBOX,goog.a11y.aria.State.CHECKED,goog.a11y.aria.Role.MENU_ITEM_RADIO,goog.a11y.aria.State.CHECKED,goog.a11y.aria.Role.RADIO,goog.a11y.aria.State.CHECKED,goog.a11y.aria.Role.TAB,goog.a11y.aria.State.SELECTED,goog.a11y.aria.Role.TREEITEM,\ngoog.a11y.aria.State.SELECTED);goog.ui.ControlRenderer.prototype.getAriaRole=function(){};goog.ui.ControlRenderer.prototype.createDom=function(a){return a.getDomHelper().createDom(\"DIV\",this.getClassNames(a).join(\" \"),a.getContent())};goog.ui.ControlRenderer.prototype.getContentElement=function(a){return a};\ngoog.ui.ControlRenderer.prototype.enableClassName=function(a,b,c){if(a=a.getElement?a.getElement():a){var d=[b];goog.userAgent.IE&&!goog.userAgent.isVersionOrHigher(\"7\")&&(d=this.getAppliedCombinedClassNames_(goog.dom.classlist.get(a),b),d.push(b));goog.dom.classlist.enableAll(a,d,c)}};goog.ui.ControlRenderer.prototype.enableExtraClassName=function(a,b,c){this.enableClassName(a,b,c)};goog.ui.ControlRenderer.prototype.canDecorate=function(a){return!0};\ngoog.ui.ControlRenderer.prototype.decorate=function(a,b){b.id&&a.setId(b.id);var c=this.getContentElement(b);c&&c.firstChild?a.setContentInternal(c.firstChild.nextSibling?goog.array.clone(c.childNodes):c.firstChild):a.setContentInternal(null);var d=0,e=this.getCssClass(),f=this.getStructuralCssClass(),g=!1,h=!1,k=!1,n=goog.array.toArray(goog.dom.classlist.get(b));goog.array.forEach(n,function(a){g||a!=e?h||a!=f?d|=this.getStateFromClass(a):h=!0:(g=!0,f==e&&(h=!0));this.getStateFromClass(a)==goog.ui.Component.State.DISABLED&&\n(goog.asserts.assertElement(c),goog.dom.isFocusableTabIndex(c)&&goog.dom.setFocusableTabIndex(c,!1))},this);a.setStateInternal(d);g||(n.push(e),f==e&&(h=!0));h||n.push(f);var p=a.getExtraClassNames();p&&n.push.apply(n,p);if(goog.userAgent.IE&&!goog.userAgent.isVersionOrHigher(\"7\")){var l=this.getAppliedCombinedClassNames_(n);0<l.length&&(n.push.apply(n,l),k=!0)}g&&h&&!p&&!k||goog.dom.classlist.set(b,n.join(\" \"));return b};\ngoog.ui.ControlRenderer.prototype.initializeDom=function(a){a.isRightToLeft()&&this.setRightToLeft(a.getElement(),!0);a.isEnabled()&&this.setFocusable(a,a.isVisible())};goog.ui.ControlRenderer.prototype.setAriaRole=function(a,b){var c=b||this.getAriaRole();if(c){goog.asserts.assert(a,\"The element passed as a first parameter cannot be null.\");var d=goog.a11y.aria.getRole(a);c!=d&&goog.a11y.aria.setRole(a,c)}};\ngoog.ui.ControlRenderer.prototype.setAriaStates=function(a,b){goog.asserts.assert(a);goog.asserts.assert(b);var c=a.getAriaLabel();goog.isDefAndNotNull(c)&&this.setAriaLabel(b,c);a.isVisible()||goog.a11y.aria.setState(b,goog.a11y.aria.State.HIDDEN,!a.isVisible());a.isEnabled()||this.updateAriaState(b,goog.ui.Component.State.DISABLED,!a.isEnabled());a.isSupportedState(goog.ui.Component.State.SELECTED)&&this.updateAriaState(b,goog.ui.Component.State.SELECTED,a.isSelected());a.isSupportedState(goog.ui.Component.State.CHECKED)&&\nthis.updateAriaState(b,goog.ui.Component.State.CHECKED,a.isChecked());a.isSupportedState(goog.ui.Component.State.OPENED)&&this.updateAriaState(b,goog.ui.Component.State.OPENED,a.isOpen())};goog.ui.ControlRenderer.prototype.setAriaLabel=function(a,b){goog.a11y.aria.setLabel(a,b)};goog.ui.ControlRenderer.prototype.setAllowTextSelection=function(a,b){goog.style.setUnselectable(a,!b,!goog.userAgent.IE&&!goog.userAgent.OPERA)};\ngoog.ui.ControlRenderer.prototype.setRightToLeft=function(a,b){this.enableClassName(a,this.getStructuralCssClass()+\"-rtl\",b)};goog.ui.ControlRenderer.prototype.isFocusable=function(a){var b;return a.isSupportedState(goog.ui.Component.State.FOCUSED)&&(b=a.getKeyEventTarget())?goog.dom.isFocusableTabIndex(b):!1};\ngoog.ui.ControlRenderer.prototype.setFocusable=function(a,b){var c;if(a.isSupportedState(goog.ui.Component.State.FOCUSED)&&(c=a.getKeyEventTarget())){if(!b&&a.isFocused()){try{c.blur()}catch(d){}a.isFocused()&&a.handleBlur(null)}goog.dom.isFocusableTabIndex(c)!=b&&goog.dom.setFocusableTabIndex(c,b)}};goog.ui.ControlRenderer.prototype.setVisible=function(a,b){goog.style.setElementShown(a,b);a&&goog.a11y.aria.setState(a,goog.a11y.aria.State.HIDDEN,!b)};\ngoog.ui.ControlRenderer.prototype.setState=function(a,b,c){var d=a.getElement();if(d){var e=this.getClassForState(b);e&&this.enableClassName(a,e,c);this.updateAriaState(d,b,c)}};\ngoog.ui.ControlRenderer.prototype.updateAriaState=function(a,b,c){goog.ui.ControlRenderer.ariaAttributeMap_||(goog.ui.ControlRenderer.ariaAttributeMap_=goog.object.create(goog.ui.Component.State.DISABLED,goog.a11y.aria.State.DISABLED,goog.ui.Component.State.SELECTED,goog.a11y.aria.State.SELECTED,goog.ui.Component.State.CHECKED,goog.a11y.aria.State.CHECKED,goog.ui.Component.State.OPENED,goog.a11y.aria.State.EXPANDED));goog.asserts.assert(a,\"The element passed as a first parameter cannot be null.\");\n(b=goog.ui.ControlRenderer.getAriaStateForAriaRole_(a,goog.ui.ControlRenderer.ariaAttributeMap_[b]))&&goog.a11y.aria.setState(a,b,c)};goog.ui.ControlRenderer.getAriaStateForAriaRole_=function(a,b){var c=goog.a11y.aria.getRole(a);if(!c)return b;c=goog.ui.ControlRenderer.TOGGLE_ARIA_STATE_MAP_[c]||b;return goog.ui.ControlRenderer.isAriaState_(b)?c:b};goog.ui.ControlRenderer.isAriaState_=function(a){return a==goog.a11y.aria.State.CHECKED||a==goog.a11y.aria.State.SELECTED};\ngoog.ui.ControlRenderer.prototype.setContent=function(a,b){var c=this.getContentElement(a);if(c&&(goog.dom.removeChildren(c),b))if(goog.isString(b))goog.dom.setTextContent(c,b);else{var d=function(a){if(a){var b=goog.dom.getOwnerDocument(c);c.appendChild(goog.isString(a)?b.createTextNode(a):a)}};goog.isArray(b)?goog.array.forEach(b,d):!goog.isArrayLike(b)||\"nodeType\"in b?d(b):goog.array.forEach(goog.array.clone(b),d)}};goog.ui.ControlRenderer.prototype.getKeyEventTarget=function(a){return a.getElement()};\ngoog.ui.ControlRenderer.prototype.getCssClass=function(){return goog.ui.ControlRenderer.CSS_CLASS};goog.ui.ControlRenderer.prototype.getIe6ClassCombinations=function(){return[]};goog.ui.ControlRenderer.prototype.getStructuralCssClass=function(){return this.getCssClass()};\ngoog.ui.ControlRenderer.prototype.getClassNames=function(a){var b=this.getCssClass(),c=[b],d=this.getStructuralCssClass();d!=b&&c.push(d);b=this.getClassNamesForState(a.getState());c.push.apply(c,b);(a=a.getExtraClassNames())&&c.push.apply(c,a);goog.userAgent.IE&&!goog.userAgent.isVersionOrHigher(\"7\")&&c.push.apply(c,this.getAppliedCombinedClassNames_(c));return c};\ngoog.ui.ControlRenderer.prototype.getAppliedCombinedClassNames_=function(a,b){var c=[];b&&(a=goog.array.concat(a,[b]));goog.array.forEach(this.getIe6ClassCombinations(),function(d){!goog.array.every(d,goog.partial(goog.array.contains,a))||b&&!goog.array.contains(d,b)||c.push(d.join(\"_\"))});return c};goog.ui.ControlRenderer.prototype.getClassNamesForState=function(a){for(var b=[];a;){var c=a&-a;b.push(this.getClassForState(c));a&=~c}return b};\ngoog.ui.ControlRenderer.prototype.getClassForState=function(a){this.classByState_||this.createClassByStateMap_();return this.classByState_[a]};goog.ui.ControlRenderer.prototype.getStateFromClass=function(a){this.stateByClass_||this.createStateByClassMap_();a=parseInt(this.stateByClass_[a],10);return isNaN(a)?0:a};\ngoog.ui.ControlRenderer.prototype.createClassByStateMap_=function(){var a=this.getStructuralCssClass(),b=!goog.string.contains(goog.string.normalizeWhitespace(a),\" \");goog.asserts.assert(b,\"ControlRenderer has an invalid css class: '\"+a+\"'\");this.classByState_=goog.object.create(goog.ui.Component.State.DISABLED,a+\"-disabled\",goog.ui.Component.State.HOVER,a+\"-hover\",goog.ui.Component.State.ACTIVE,a+\"-active\",goog.ui.Component.State.SELECTED,a+\"-selected\",goog.ui.Component.State.CHECKED,a+\"-checked\",\ngoog.ui.Component.State.FOCUSED,a+\"-focused\",goog.ui.Component.State.OPENED,a+\"-open\")};goog.ui.ControlRenderer.prototype.createStateByClassMap_=function(){this.classByState_||this.createClassByStateMap_();this.stateByClass_=goog.object.transpose(this.classByState_)};goog.ui.Control=function(a,b,c){goog.ui.Component.call(this,c);this.renderer_=b||goog.ui.registry.getDefaultRenderer(this.constructor);this.setContentInternal(goog.isDef(a)?a:null);this.ariaLabel_=null};goog.inherits(goog.ui.Control,goog.ui.Component);goog.tagUnsealableClass(goog.ui.Control);goog.ui.Control.registerDecorator=goog.ui.registry.setDecoratorByClassName;goog.ui.Control.getDecorator=goog.ui.registry.getDecorator;goog.ui.Control.prototype.content_=null;goog.ui.Control.prototype.state_=0;\ngoog.ui.Control.prototype.supportedStates_=goog.ui.Component.State.DISABLED|goog.ui.Component.State.HOVER|goog.ui.Component.State.ACTIVE|goog.ui.Component.State.FOCUSED;goog.ui.Control.prototype.autoStates_=goog.ui.Component.State.ALL;goog.ui.Control.prototype.statesWithTransitionEvents_=0;goog.ui.Control.prototype.visible_=!0;goog.ui.Control.prototype.extraClassNames_=null;goog.ui.Control.prototype.handleMouseEvents_=!0;goog.ui.Control.prototype.allowTextSelection_=!1;\ngoog.ui.Control.prototype.preferredAriaRole_=null;goog.ui.Control.prototype.isHandleMouseEvents=function(){return this.handleMouseEvents_};goog.ui.Control.prototype.setHandleMouseEvents=function(a){this.isInDocument()&&a!=this.handleMouseEvents_&&this.enableMouseEventHandling_(a);this.handleMouseEvents_=a};goog.ui.Control.prototype.getKeyEventTarget=function(){return this.renderer_.getKeyEventTarget(this)};\ngoog.ui.Control.prototype.getKeyHandler=function(){return this.keyHandler_||(this.keyHandler_=new goog.events.KeyHandler)};goog.ui.Control.prototype.getRenderer=function(){return this.renderer_};goog.ui.Control.prototype.setRenderer=function(a){if(this.isInDocument())throw Error(goog.ui.Component.Error.ALREADY_RENDERED);this.getElement()&&this.setElementInternal(null);this.renderer_=a};goog.ui.Control.prototype.getExtraClassNames=function(){return this.extraClassNames_};\ngoog.ui.Control.prototype.addClassName=function(a){a&&(this.extraClassNames_?goog.array.contains(this.extraClassNames_,a)||this.extraClassNames_.push(a):this.extraClassNames_=[a],this.renderer_.enableExtraClassName(this,a,!0))};goog.ui.Control.prototype.removeClassName=function(a){a&&this.extraClassNames_&&goog.array.remove(this.extraClassNames_,a)&&(0==this.extraClassNames_.length&&(this.extraClassNames_=null),this.renderer_.enableExtraClassName(this,a,!1))};\ngoog.ui.Control.prototype.enableClassName=function(a,b){b?this.addClassName(a):this.removeClassName(a)};goog.ui.Control.prototype.createDom=function(){var a=this.renderer_.createDom(this);this.setElementInternal(a);this.renderer_.setAriaRole(a,this.getPreferredAriaRole());this.isAllowTextSelection()||this.renderer_.setAllowTextSelection(a,!1);this.isVisible()||this.renderer_.setVisible(a,!1)};goog.ui.Control.prototype.getPreferredAriaRole=function(){return this.preferredAriaRole_};\ngoog.ui.Control.prototype.setPreferredAriaRole=function(a){this.preferredAriaRole_=a};goog.ui.Control.prototype.getAriaLabel=function(){return this.ariaLabel_};goog.ui.Control.prototype.setAriaLabel=function(a){this.ariaLabel_=a;var b=this.getElement();b&&this.renderer_.setAriaLabel(b,a)};goog.ui.Control.prototype.getContentElement=function(){return this.renderer_.getContentElement(this.getElement())};goog.ui.Control.prototype.canDecorate=function(a){return this.renderer_.canDecorate(a)};\ngoog.ui.Control.prototype.decorateInternal=function(a){a=this.renderer_.decorate(this,a);this.setElementInternal(a);this.renderer_.setAriaRole(a,this.getPreferredAriaRole());this.isAllowTextSelection()||this.renderer_.setAllowTextSelection(a,!1);this.visible_=\"none\"!=a.style.display};\ngoog.ui.Control.prototype.enterDocument=function(){goog.ui.Control.superClass_.enterDocument.call(this);this.renderer_.setAriaStates(this,this.getElementStrict());this.renderer_.initializeDom(this);if(this.supportedStates_&~goog.ui.Component.State.DISABLED&&(this.isHandleMouseEvents()&&this.enableMouseEventHandling_(!0),this.isSupportedState(goog.ui.Component.State.FOCUSED))){var a=this.getKeyEventTarget();if(a){var b=this.getKeyHandler();b.attach(a);this.getHandler().listen(b,goog.events.KeyHandler.EventType.KEY,\nthis.handleKeyEvent).listen(a,goog.events.EventType.FOCUS,this.handleFocus).listen(a,goog.events.EventType.BLUR,this.handleBlur)}}};\ngoog.ui.Control.prototype.enableMouseEventHandling_=function(a){var b=this.getHandler(),c=this.getElement();a?(b.listen(c,goog.events.EventType.MOUSEOVER,this.handleMouseOver).listen(c,goog.events.EventType.MOUSEDOWN,this.handleMouseDown).listen(c,goog.events.EventType.MOUSEUP,this.handleMouseUp).listen(c,goog.events.EventType.MOUSEOUT,this.handleMouseOut),this.handleContextMenu!=goog.nullFunction&&b.listen(c,goog.events.EventType.CONTEXTMENU,this.handleContextMenu),goog.userAgent.IE&&(goog.userAgent.isVersionOrHigher(9)||\nb.listen(c,goog.events.EventType.DBLCLICK,this.handleDblClick),this.ieMouseEventSequenceSimulator_||(this.ieMouseEventSequenceSimulator_=new goog.ui.Control.IeMouseEventSequenceSimulator_(this),this.registerDisposable(this.ieMouseEventSequenceSimulator_)))):(b.unlisten(c,goog.events.EventType.MOUSEOVER,this.handleMouseOver).unlisten(c,goog.events.EventType.MOUSEDOWN,this.handleMouseDown).unlisten(c,goog.events.EventType.MOUSEUP,this.handleMouseUp).unlisten(c,goog.events.EventType.MOUSEOUT,this.handleMouseOut),\nthis.handleContextMenu!=goog.nullFunction&&b.unlisten(c,goog.events.EventType.CONTEXTMENU,this.handleContextMenu),goog.userAgent.IE&&(goog.userAgent.isVersionOrHigher(9)||b.unlisten(c,goog.events.EventType.DBLCLICK,this.handleDblClick),goog.dispose(this.ieMouseEventSequenceSimulator_),this.ieMouseEventSequenceSimulator_=null))};\ngoog.ui.Control.prototype.exitDocument=function(){goog.ui.Control.superClass_.exitDocument.call(this);this.keyHandler_&&this.keyHandler_.detach();this.isVisible()&&this.isEnabled()&&this.renderer_.setFocusable(this,!1)};goog.ui.Control.prototype.disposeInternal=function(){goog.ui.Control.superClass_.disposeInternal.call(this);this.keyHandler_&&(this.keyHandler_.dispose(),delete this.keyHandler_);delete this.renderer_;this.ieMouseEventSequenceSimulator_=this.extraClassNames_=this.content_=null};\ngoog.ui.Control.prototype.getContent=function(){return this.content_};goog.ui.Control.prototype.setContent=function(a){this.renderer_.setContent(this.getElement(),a);this.setContentInternal(a)};goog.ui.Control.prototype.setContentInternal=function(a){this.content_=a};goog.ui.Control.prototype.getCaption=function(){var a=this.getContent();if(!a)return\"\";a=goog.isString(a)?a:goog.isArray(a)?goog.array.map(a,goog.dom.getRawTextContent).join(\"\"):goog.dom.getTextContent(a);return goog.string.collapseBreakingSpaces(a)};\ngoog.ui.Control.prototype.setCaption=function(a){this.setContent(a)};goog.ui.Control.prototype.setRightToLeft=function(a){goog.ui.Control.superClass_.setRightToLeft.call(this,a);var b=this.getElement();b&&this.renderer_.setRightToLeft(b,a)};goog.ui.Control.prototype.isAllowTextSelection=function(){return this.allowTextSelection_};goog.ui.Control.prototype.setAllowTextSelection=function(a){this.allowTextSelection_=a;var b=this.getElement();b&&this.renderer_.setAllowTextSelection(b,a)};\ngoog.ui.Control.prototype.isVisible=function(){return this.visible_};goog.ui.Control.prototype.setVisible=function(a,b){if(b||this.visible_!=a&&this.dispatchEvent(a?goog.ui.Component.EventType.SHOW:goog.ui.Component.EventType.HIDE)){var c=this.getElement();c&&this.renderer_.setVisible(c,a);this.isEnabled()&&this.renderer_.setFocusable(this,a);this.visible_=a;return!0}return!1};goog.ui.Control.prototype.isEnabled=function(){return!this.hasState(goog.ui.Component.State.DISABLED)};\ngoog.ui.Control.prototype.isParentDisabled_=function(){var a=this.getParent();return!!a&&\"function\"==typeof a.isEnabled&&!a.isEnabled()};goog.ui.Control.prototype.setEnabled=function(a){!this.isParentDisabled_()&&this.isTransitionAllowed(goog.ui.Component.State.DISABLED,!a)&&(a||(this.setActive(!1),this.setHighlighted(!1)),this.isVisible()&&this.renderer_.setFocusable(this,a),this.setState(goog.ui.Component.State.DISABLED,!a,!0))};goog.ui.Control.prototype.isHighlighted=function(){return this.hasState(goog.ui.Component.State.HOVER)};\ngoog.ui.Control.prototype.setHighlighted=function(a){this.isTransitionAllowed(goog.ui.Component.State.HOVER,a)&&this.setState(goog.ui.Component.State.HOVER,a)};goog.ui.Control.prototype.isActive=function(){return this.hasState(goog.ui.Component.State.ACTIVE)};goog.ui.Control.prototype.setActive=function(a){this.isTransitionAllowed(goog.ui.Component.State.ACTIVE,a)&&this.setState(goog.ui.Component.State.ACTIVE,a)};goog.ui.Control.prototype.isSelected=function(){return this.hasState(goog.ui.Component.State.SELECTED)};\ngoog.ui.Control.prototype.setSelected=function(a){this.isTransitionAllowed(goog.ui.Component.State.SELECTED,a)&&this.setState(goog.ui.Component.State.SELECTED,a)};goog.ui.Control.prototype.isChecked=function(){return this.hasState(goog.ui.Component.State.CHECKED)};goog.ui.Control.prototype.setChecked=function(a){this.isTransitionAllowed(goog.ui.Component.State.CHECKED,a)&&this.setState(goog.ui.Component.State.CHECKED,a)};goog.ui.Control.prototype.isFocused=function(){return this.hasState(goog.ui.Component.State.FOCUSED)};\ngoog.ui.Control.prototype.setFocused=function(a){this.isTransitionAllowed(goog.ui.Component.State.FOCUSED,a)&&this.setState(goog.ui.Component.State.FOCUSED,a)};goog.ui.Control.prototype.isOpen=function(){return this.hasState(goog.ui.Component.State.OPENED)};goog.ui.Control.prototype.setOpen=function(a){this.isTransitionAllowed(goog.ui.Component.State.OPENED,a)&&this.setState(goog.ui.Component.State.OPENED,a)};goog.ui.Control.prototype.getState=function(){return this.state_};\ngoog.ui.Control.prototype.hasState=function(a){return!!(this.state_&a)};goog.ui.Control.prototype.setState=function(a,b,c){c||a!=goog.ui.Component.State.DISABLED?this.isSupportedState(a)&&b!=this.hasState(a)&&(this.renderer_.setState(this,a,b),this.state_=b?this.state_|a:this.state_&~a):this.setEnabled(!b)};goog.ui.Control.prototype.setStateInternal=function(a){this.state_=a};goog.ui.Control.prototype.isSupportedState=function(a){return!!(this.supportedStates_&a)};\ngoog.ui.Control.prototype.setSupportedState=function(a,b){if(this.isInDocument()&&this.hasState(a)&&!b)throw Error(goog.ui.Component.Error.ALREADY_RENDERED);!b&&this.hasState(a)&&this.setState(a,!1);this.supportedStates_=b?this.supportedStates_|a:this.supportedStates_&~a};goog.ui.Control.prototype.isAutoState=function(a){return!!(this.autoStates_&a)&&this.isSupportedState(a)};goog.ui.Control.prototype.setAutoStates=function(a,b){this.autoStates_=b?this.autoStates_|a:this.autoStates_&~a};\ngoog.ui.Control.prototype.isDispatchTransitionEvents=function(a){return!!(this.statesWithTransitionEvents_&a)&&this.isSupportedState(a)};goog.ui.Control.prototype.setDispatchTransitionEvents=function(a,b){this.statesWithTransitionEvents_=b?this.statesWithTransitionEvents_|a:this.statesWithTransitionEvents_&~a};\ngoog.ui.Control.prototype.isTransitionAllowed=function(a,b){return this.isSupportedState(a)&&this.hasState(a)!=b&&(!(this.statesWithTransitionEvents_&a)||this.dispatchEvent(goog.ui.Component.getStateTransitionEvent(a,b)))&&!this.isDisposed()};goog.ui.Control.prototype.handleMouseOver=function(a){!goog.ui.Control.isMouseEventWithinElement_(a,this.getElement())&&this.dispatchEvent(goog.ui.Component.EventType.ENTER)&&this.isEnabled()&&this.isAutoState(goog.ui.Component.State.HOVER)&&this.setHighlighted(!0)};\ngoog.ui.Control.prototype.handleMouseOut=function(a){!goog.ui.Control.isMouseEventWithinElement_(a,this.getElement())&&this.dispatchEvent(goog.ui.Component.EventType.LEAVE)&&(this.isAutoState(goog.ui.Component.State.ACTIVE)&&this.setActive(!1),this.isAutoState(goog.ui.Component.State.HOVER)&&this.setHighlighted(!1))};goog.ui.Control.prototype.handleContextMenu=goog.nullFunction;goog.ui.Control.isMouseEventWithinElement_=function(a,b){return!!a.relatedTarget&&goog.dom.contains(b,a.relatedTarget)};\ngoog.ui.Control.prototype.handleMouseDown=function(a){this.isEnabled()&&(this.isAutoState(goog.ui.Component.State.HOVER)&&this.setHighlighted(!0),a.isMouseActionButton()&&(this.isAutoState(goog.ui.Component.State.ACTIVE)&&this.setActive(!0),this.renderer_&&this.renderer_.isFocusable(this)&&this.getKeyEventTarget().focus()));!this.isAllowTextSelection()&&a.isMouseActionButton()&&a.preventDefault()};\ngoog.ui.Control.prototype.handleMouseUp=function(a){this.isEnabled()&&(this.isAutoState(goog.ui.Component.State.HOVER)&&this.setHighlighted(!0),this.isActive()&&this.performActionInternal(a)&&this.isAutoState(goog.ui.Component.State.ACTIVE)&&this.setActive(!1))};goog.ui.Control.prototype.handleDblClick=function(a){this.isEnabled()&&this.performActionInternal(a)};\ngoog.ui.Control.prototype.performActionInternal=function(a){this.isAutoState(goog.ui.Component.State.CHECKED)&&this.setChecked(!this.isChecked());this.isAutoState(goog.ui.Component.State.SELECTED)&&this.setSelected(!0);this.isAutoState(goog.ui.Component.State.OPENED)&&this.setOpen(!this.isOpen());var b=new goog.events.Event(goog.ui.Component.EventType.ACTION,this);a&&(b.altKey=a.altKey,b.ctrlKey=a.ctrlKey,b.metaKey=a.metaKey,b.shiftKey=a.shiftKey,b.platformModifierKey=a.platformModifierKey);return this.dispatchEvent(b)};\ngoog.ui.Control.prototype.handleFocus=function(a){this.isAutoState(goog.ui.Component.State.FOCUSED)&&this.setFocused(!0)};goog.ui.Control.prototype.handleBlur=function(a){this.isAutoState(goog.ui.Component.State.ACTIVE)&&this.setActive(!1);this.isAutoState(goog.ui.Component.State.FOCUSED)&&this.setFocused(!1)};goog.ui.Control.prototype.handleKeyEvent=function(a){return this.isVisible()&&this.isEnabled()&&this.handleKeyEventInternal(a)?(a.preventDefault(),a.stopPropagation(),!0):!1};\ngoog.ui.Control.prototype.handleKeyEventInternal=function(a){return a.keyCode==goog.events.KeyCodes.ENTER&&this.performActionInternal(a)};goog.ui.registry.setDefaultRenderer(goog.ui.Control,goog.ui.ControlRenderer);goog.ui.registry.setDecoratorByClassName(goog.ui.ControlRenderer.CSS_CLASS,function(){return new goog.ui.Control(null)});\ngoog.ui.Control.IeMouseEventSequenceSimulator_=function(a){goog.Disposable.call(this);this.control_=a;this.clickExpected_=!1;this.handler_=new goog.events.EventHandler(this);this.registerDisposable(this.handler_);a=this.control_.getElementStrict();this.handler_.listen(a,goog.events.EventType.MOUSEDOWN,this.handleMouseDown_).listen(a,goog.events.EventType.MOUSEUP,this.handleMouseUp_).listen(a,goog.events.EventType.CLICK,this.handleClick_)};\ngoog.inherits(goog.ui.Control.IeMouseEventSequenceSimulator_,goog.Disposable);goog.ui.Control.IeMouseEventSequenceSimulator_.SYNTHETIC_EVENTS_=!goog.userAgent.IE||goog.userAgent.isDocumentModeOrHigher(9);goog.ui.Control.IeMouseEventSequenceSimulator_.prototype.handleMouseDown_=function(){this.clickExpected_=!1};goog.ui.Control.IeMouseEventSequenceSimulator_.prototype.handleMouseUp_=function(){this.clickExpected_=!0};\ngoog.ui.Control.IeMouseEventSequenceSimulator_.makeLeftMouseEvent_=function(a,b){if(!goog.ui.Control.IeMouseEventSequenceSimulator_.SYNTHETIC_EVENTS_)return a.button=goog.events.BrowserEvent.MouseButton.LEFT,a.type=b,a;var c=document.createEvent(\"MouseEvents\");c.initMouseEvent(b,a.bubbles,a.cancelable,a.view||null,a.detail,a.screenX,a.screenY,a.clientX,a.clientY,a.ctrlKey,a.altKey,a.shiftKey,a.metaKey,goog.events.BrowserEvent.MouseButton.LEFT,a.relatedTarget||null);return c};\ngoog.ui.Control.IeMouseEventSequenceSimulator_.prototype.handleClick_=function(a){if(this.clickExpected_)this.clickExpected_=!1;else{var b=a.getBrowserEvent(),c=b.button,d=b.type,e=goog.ui.Control.IeMouseEventSequenceSimulator_.makeLeftMouseEvent_(b,goog.events.EventType.MOUSEDOWN);this.control_.handleMouseDown(new goog.events.BrowserEvent(e,a.currentTarget));e=goog.ui.Control.IeMouseEventSequenceSimulator_.makeLeftMouseEvent_(b,goog.events.EventType.MOUSEUP);this.control_.handleMouseUp(new goog.events.BrowserEvent(e,\na.currentTarget));goog.ui.Control.IeMouseEventSequenceSimulator_.SYNTHETIC_EVENTS_||(b.button=c,b.type=d)}};goog.ui.Control.IeMouseEventSequenceSimulator_.prototype.disposeInternal=function(){this.control_=null;goog.ui.Control.IeMouseEventSequenceSimulator_.superClass_.disposeInternal.call(this)};goog.ui.Container=function(a,b,c){goog.ui.Component.call(this,c);this.renderer_=b||goog.ui.ContainerRenderer.getInstance();this.orientation_=a||this.renderer_.getDefaultOrientation()};goog.inherits(goog.ui.Container,goog.ui.Component);goog.tagUnsealableClass(goog.ui.Container);goog.ui.Container.EventType={AFTER_SHOW:\"aftershow\",AFTER_HIDE:\"afterhide\"};goog.ui.Container.Orientation={HORIZONTAL:\"horizontal\",VERTICAL:\"vertical\"};goog.ui.Container.prototype.keyEventTarget_=null;\ngoog.ui.Container.prototype.keyHandler_=null;goog.ui.Container.prototype.renderer_=null;goog.ui.Container.prototype.orientation_=null;goog.ui.Container.prototype.visible_=!0;goog.ui.Container.prototype.enabled_=!0;goog.ui.Container.prototype.focusable_=!0;goog.ui.Container.prototype.highlightedIndex_=-1;goog.ui.Container.prototype.openItem_=null;goog.ui.Container.prototype.mouseButtonPressed_=!1;goog.ui.Container.prototype.allowFocusableChildren_=!1;\ngoog.ui.Container.prototype.openFollowsHighlight_=!0;goog.ui.Container.prototype.childElementIdMap_=null;goog.ui.Container.prototype.getKeyEventTarget=function(){return this.keyEventTarget_||this.renderer_.getKeyEventTarget(this)};\ngoog.ui.Container.prototype.setKeyEventTarget=function(a){if(this.focusable_){var b=this.getKeyEventTarget(),c=this.isInDocument();this.keyEventTarget_=a;var d=this.getKeyEventTarget();c&&(this.keyEventTarget_=b,this.enableFocusHandling_(!1),this.keyEventTarget_=a,this.getKeyHandler().attach(d),this.enableFocusHandling_(!0))}else throw Error(\"Can't set key event target for container that doesn't support keyboard focus!\");};\ngoog.ui.Container.prototype.getKeyHandler=function(){return this.keyHandler_||(this.keyHandler_=new goog.events.KeyHandler(this.getKeyEventTarget()))};goog.ui.Container.prototype.getRenderer=function(){return this.renderer_};goog.ui.Container.prototype.setRenderer=function(a){if(this.getElement())throw Error(goog.ui.Component.Error.ALREADY_RENDERED);this.renderer_=a};goog.ui.Container.prototype.createDom=function(){this.setElementInternal(this.renderer_.createDom(this))};\ngoog.ui.Container.prototype.getContentElement=function(){return this.renderer_.getContentElement(this.getElement())};goog.ui.Container.prototype.canDecorate=function(a){return this.renderer_.canDecorate(a)};goog.ui.Container.prototype.decorateInternal=function(a){this.setElementInternal(this.renderer_.decorate(this,a));\"none\"==a.style.display&&(this.visible_=!1)};\ngoog.ui.Container.prototype.enterDocument=function(){goog.ui.Container.superClass_.enterDocument.call(this);this.forEachChild(function(a){a.isInDocument()&&this.registerChildId_(a)},this);var a=this.getElement();this.renderer_.initializeDom(this);this.setVisible(this.visible_,!0);this.getHandler().listen(this,goog.ui.Component.EventType.ENTER,this.handleEnterItem).listen(this,goog.ui.Component.EventType.HIGHLIGHT,this.handleHighlightItem).listen(this,goog.ui.Component.EventType.UNHIGHLIGHT,this.handleUnHighlightItem).listen(this,\ngoog.ui.Component.EventType.OPEN,this.handleOpenItem).listen(this,goog.ui.Component.EventType.CLOSE,this.handleCloseItem).listen(a,goog.events.EventType.MOUSEDOWN,this.handleMouseDown).listen(goog.dom.getOwnerDocument(a),goog.events.EventType.MOUSEUP,this.handleDocumentMouseUp).listen(a,[goog.events.EventType.MOUSEDOWN,goog.events.EventType.MOUSEUP,goog.events.EventType.MOUSEOVER,goog.events.EventType.MOUSEOUT,goog.events.EventType.CONTEXTMENU],this.handleChildMouseEvents);this.isFocusable()&&this.enableFocusHandling_(!0)};\ngoog.ui.Container.prototype.enableFocusHandling_=function(a){var b=this.getHandler(),c=this.getKeyEventTarget();a?b.listen(c,goog.events.EventType.FOCUS,this.handleFocus).listen(c,goog.events.EventType.BLUR,this.handleBlur).listen(this.getKeyHandler(),goog.events.KeyHandler.EventType.KEY,this.handleKeyEvent):b.unlisten(c,goog.events.EventType.FOCUS,this.handleFocus).unlisten(c,goog.events.EventType.BLUR,this.handleBlur).unlisten(this.getKeyHandler(),goog.events.KeyHandler.EventType.KEY,this.handleKeyEvent)};\ngoog.ui.Container.prototype.exitDocument=function(){this.setHighlightedIndex(-1);this.openItem_&&this.openItem_.setOpen(!1);this.mouseButtonPressed_=!1;goog.ui.Container.superClass_.exitDocument.call(this)};goog.ui.Container.prototype.disposeInternal=function(){goog.ui.Container.superClass_.disposeInternal.call(this);this.keyHandler_&&(this.keyHandler_.dispose(),this.keyHandler_=null);this.renderer_=this.openItem_=this.childElementIdMap_=this.keyEventTarget_=null};\ngoog.ui.Container.prototype.handleEnterItem=function(a){return!0};\ngoog.ui.Container.prototype.handleHighlightItem=function(a){var b=this.indexOfChild(a.target);if(-1<b&&b!=this.highlightedIndex_){var c=this.getHighlighted();c&&c.setHighlighted(!1);this.highlightedIndex_=b;c=this.getHighlighted();this.isMouseButtonPressed()&&c.setActive(!0);this.openFollowsHighlight_&&this.openItem_&&c!=this.openItem_&&(c.isSupportedState(goog.ui.Component.State.OPENED)?c.setOpen(!0):this.openItem_.setOpen(!1))}b=this.getElement();goog.asserts.assert(b,\"The DOM element for the container cannot be null.\");\nnull!=a.target.getElement()&&goog.a11y.aria.setState(b,goog.a11y.aria.State.ACTIVEDESCENDANT,a.target.getElement().id)};goog.ui.Container.prototype.handleUnHighlightItem=function(a){a.target==this.getHighlighted()&&(this.highlightedIndex_=-1);a=this.getElement();goog.asserts.assert(a,\"The DOM element for the container cannot be null.\");goog.a11y.aria.removeState(a,goog.a11y.aria.State.ACTIVEDESCENDANT)};\ngoog.ui.Container.prototype.handleOpenItem=function(a){(a=a.target)&&a!=this.openItem_&&a.getParent()==this&&(this.openItem_&&this.openItem_.setOpen(!1),this.openItem_=a)};goog.ui.Container.prototype.handleCloseItem=function(a){a.target==this.openItem_&&(this.openItem_=null);var b=this.getElement(),c=a.target.getElement();b&&a.target.isHighlighted()&&c&&goog.a11y.aria.setActiveDescendant(b,c)};\ngoog.ui.Container.prototype.handleMouseDown=function(a){this.enabled_&&this.setMouseButtonPressed(!0);var b=this.getKeyEventTarget();b&&goog.dom.isFocusableTabIndex(b)?b.focus():a.preventDefault()};goog.ui.Container.prototype.handleDocumentMouseUp=function(a){this.setMouseButtonPressed(!1)};\ngoog.ui.Container.prototype.handleChildMouseEvents=function(a){var b=this.getOwnerControl(a.target);if(b)switch(a.type){case goog.events.EventType.MOUSEDOWN:b.handleMouseDown(a);break;case goog.events.EventType.MOUSEUP:b.handleMouseUp(a);break;case goog.events.EventType.MOUSEOVER:b.handleMouseOver(a);break;case goog.events.EventType.MOUSEOUT:b.handleMouseOut(a);break;case goog.events.EventType.CONTEXTMENU:b.handleContextMenu(a)}};\ngoog.ui.Container.prototype.getOwnerControl=function(a){if(this.childElementIdMap_)for(var b=this.getElement();a&&a!==b;){var c=a.id;if(c in this.childElementIdMap_)return this.childElementIdMap_[c];a=a.parentNode}return null};goog.ui.Container.prototype.handleFocus=function(a){};goog.ui.Container.prototype.handleBlur=function(a){this.setHighlightedIndex(-1);this.setMouseButtonPressed(!1);this.openItem_&&this.openItem_.setOpen(!1)};\ngoog.ui.Container.prototype.handleKeyEvent=function(a){return this.isEnabled()&&this.isVisible()&&(0!=this.getChildCount()||this.keyEventTarget_)&&this.handleKeyEventInternal(a)?(a.preventDefault(),a.stopPropagation(),!0):!1};\ngoog.ui.Container.prototype.handleKeyEventInternal=function(a){var b=this.getHighlighted();if(b&&\"function\"==typeof b.handleKeyEvent&&b.handleKeyEvent(a)||this.openItem_&&this.openItem_!=b&&\"function\"==typeof this.openItem_.handleKeyEvent&&this.openItem_.handleKeyEvent(a))return!0;if(a.shiftKey||a.ctrlKey||a.metaKey||a.altKey)return!1;switch(a.keyCode){case goog.events.KeyCodes.ESC:if(this.isFocusable())this.getKeyEventTarget().blur();else return!1;break;case goog.events.KeyCodes.HOME:this.highlightFirst();\nbreak;case goog.events.KeyCodes.END:this.highlightLast();break;case goog.events.KeyCodes.UP:if(this.orientation_==goog.ui.Container.Orientation.VERTICAL)this.highlightPrevious();else return!1;break;case goog.events.KeyCodes.LEFT:if(this.orientation_==goog.ui.Container.Orientation.HORIZONTAL)this.isRightToLeft()?this.highlightNext():this.highlightPrevious();else return!1;break;case goog.events.KeyCodes.DOWN:if(this.orientation_==goog.ui.Container.Orientation.VERTICAL)this.highlightNext();else return!1;\nbreak;case goog.events.KeyCodes.RIGHT:if(this.orientation_==goog.ui.Container.Orientation.HORIZONTAL)this.isRightToLeft()?this.highlightPrevious():this.highlightNext();else return!1;break;default:return!1}return!0};goog.ui.Container.prototype.registerChildId_=function(a){var b=a.getElement();b=b.id||(b.id=a.getId());this.childElementIdMap_||(this.childElementIdMap_={});this.childElementIdMap_[b]=a};\ngoog.ui.Container.prototype.addChild=function(a,b){goog.asserts.assertInstanceof(a,goog.ui.Control,\"The child of a container must be a control\");goog.ui.Container.superClass_.addChild.call(this,a,b)};\ngoog.ui.Container.prototype.addChildAt=function(a,b,c){goog.asserts.assertInstanceof(a,goog.ui.Control);a.setDispatchTransitionEvents(goog.ui.Component.State.HOVER,!0);a.setDispatchTransitionEvents(goog.ui.Component.State.OPENED,!0);!this.isFocusable()&&this.isFocusableChildrenAllowed()||a.setSupportedState(goog.ui.Component.State.FOCUSED,!1);a.setHandleMouseEvents(!1);var d=a.getParent()==this?this.indexOfChild(a):-1;goog.ui.Container.superClass_.addChildAt.call(this,a,b,c);a.isInDocument()&&this.isInDocument()&&\nthis.registerChildId_(a);this.updateHighlightedIndex_(d,b)};goog.ui.Container.prototype.updateHighlightedIndex_=function(a,b){-1==a&&(a=this.getChildCount());a==this.highlightedIndex_?this.highlightedIndex_=Math.min(this.getChildCount()-1,b):a>this.highlightedIndex_&&b<=this.highlightedIndex_?this.highlightedIndex_++:a<this.highlightedIndex_&&b>this.highlightedIndex_&&this.highlightedIndex_--};\ngoog.ui.Container.prototype.removeChild=function(a,b){a=goog.isString(a)?this.getChild(a):a;goog.asserts.assertInstanceof(a,goog.ui.Control);if(a){var c=this.indexOfChild(a);-1!=c&&(c==this.highlightedIndex_?(a.setHighlighted(!1),this.highlightedIndex_=-1):c<this.highlightedIndex_&&this.highlightedIndex_--);(c=a.getElement())&&c.id&&this.childElementIdMap_&&goog.object.remove(this.childElementIdMap_,c.id)}a=goog.ui.Container.superClass_.removeChild.call(this,a,b);a.setHandleMouseEvents(!0);return a};\ngoog.ui.Container.prototype.getOrientation=function(){return this.orientation_};goog.ui.Container.prototype.setOrientation=function(a){if(this.getElement())throw Error(goog.ui.Component.Error.ALREADY_RENDERED);this.orientation_=a};goog.ui.Container.prototype.isVisible=function(){return this.visible_};\ngoog.ui.Container.prototype.setVisible=function(a,b){if(b||this.visible_!=a&&this.dispatchEvent(a?goog.ui.Component.EventType.SHOW:goog.ui.Component.EventType.HIDE)){this.visible_=a;var c=this.getElement();c&&(goog.style.setElementShown(c,a),this.isFocusable()&&this.renderer_.enableTabIndex(this.getKeyEventTarget(),this.enabled_&&this.visible_),b||this.dispatchEvent(this.visible_?goog.ui.Container.EventType.AFTER_SHOW:goog.ui.Container.EventType.AFTER_HIDE));return!0}return!1};\ngoog.ui.Container.prototype.isEnabled=function(){return this.enabled_};\ngoog.ui.Container.prototype.setEnabled=function(a){this.enabled_!=a&&this.dispatchEvent(a?goog.ui.Component.EventType.ENABLE:goog.ui.Component.EventType.DISABLE)&&(a?(this.enabled_=!0,this.forEachChild(function(a){a.wasDisabled?delete a.wasDisabled:a.setEnabled(!0)})):(this.forEachChild(function(a){a.isEnabled()?a.setEnabled(!1):a.wasDisabled=!0}),this.enabled_=!1,this.setMouseButtonPressed(!1)),this.isFocusable()&&this.renderer_.enableTabIndex(this.getKeyEventTarget(),a&&this.visible_))};\ngoog.ui.Container.prototype.isFocusable=function(){return this.focusable_};goog.ui.Container.prototype.setFocusable=function(a){a!=this.focusable_&&this.isInDocument()&&this.enableFocusHandling_(a);this.focusable_=a;this.enabled_&&this.visible_&&this.renderer_.enableTabIndex(this.getKeyEventTarget(),a)};goog.ui.Container.prototype.isFocusableChildrenAllowed=function(){return this.allowFocusableChildren_};\ngoog.ui.Container.prototype.setFocusableChildrenAllowed=function(a){this.allowFocusableChildren_=a};goog.ui.Container.prototype.isOpenFollowsHighlight=function(){return this.openFollowsHighlight_};goog.ui.Container.prototype.setOpenFollowsHighlight=function(a){this.openFollowsHighlight_=a};goog.ui.Container.prototype.getHighlightedIndex=function(){return this.highlightedIndex_};\ngoog.ui.Container.prototype.setHighlightedIndex=function(a){(a=this.getChildAt(a))?a.setHighlighted(!0):-1<this.highlightedIndex_&&this.getHighlighted().setHighlighted(!1)};goog.ui.Container.prototype.setHighlighted=function(a){this.setHighlightedIndex(this.indexOfChild(a))};goog.ui.Container.prototype.getHighlighted=function(){return this.getChildAt(this.highlightedIndex_)};\ngoog.ui.Container.prototype.highlightFirst=function(){this.highlightHelper(function(a,b){return(a+1)%b},this.getChildCount()-1)};goog.ui.Container.prototype.highlightLast=function(){this.highlightHelper(function(a,b){a--;return 0>a?b-1:a},0)};goog.ui.Container.prototype.highlightNext=function(){this.highlightHelper(function(a,b){return(a+1)%b},this.highlightedIndex_)};goog.ui.Container.prototype.highlightPrevious=function(){this.highlightHelper(function(a,b){a--;return 0>a?b-1:a},this.highlightedIndex_)};\ngoog.ui.Container.prototype.highlightHelper=function(a,b){var c=0>b?this.indexOfChild(this.openItem_):b,d=this.getChildCount();c=a.call(this,c,d);for(var e=0;e<=d;){var f=this.getChildAt(c);if(f&&this.canHighlightItem(f))return this.setHighlightedIndexFromKeyEvent(c),!0;e++;c=a.call(this,c,d)}return!1};goog.ui.Container.prototype.canHighlightItem=function(a){return a.isVisible()&&a.isEnabled()&&a.isSupportedState(goog.ui.Component.State.HOVER)};\ngoog.ui.Container.prototype.setHighlightedIndexFromKeyEvent=function(a){this.setHighlightedIndex(a)};goog.ui.Container.prototype.getOpenItem=function(){return this.openItem_};goog.ui.Container.prototype.isMouseButtonPressed=function(){return this.mouseButtonPressed_};goog.ui.Container.prototype.setMouseButtonPressed=function(a){this.mouseButtonPressed_=a};goog.ui.MenuHeaderRenderer=function(){goog.ui.ControlRenderer.call(this)};goog.inherits(goog.ui.MenuHeaderRenderer,goog.ui.ControlRenderer);goog.addSingletonGetter(goog.ui.MenuHeaderRenderer);goog.ui.MenuHeaderRenderer.CSS_CLASS=\"goog-menuheader\";goog.ui.MenuHeaderRenderer.prototype.getCssClass=function(){return goog.ui.MenuHeaderRenderer.CSS_CLASS};goog.ui.MenuHeader=function(a,b,c){goog.ui.Control.call(this,a,c||goog.ui.MenuHeaderRenderer.getInstance(),b);this.setSupportedState(goog.ui.Component.State.DISABLED,!1);this.setSupportedState(goog.ui.Component.State.HOVER,!1);this.setSupportedState(goog.ui.Component.State.ACTIVE,!1);this.setSupportedState(goog.ui.Component.State.FOCUSED,!1);this.setStateInternal(goog.ui.Component.State.DISABLED)};goog.inherits(goog.ui.MenuHeader,goog.ui.Control);\ngoog.ui.registry.setDecoratorByClassName(goog.ui.MenuHeaderRenderer.CSS_CLASS,function(){return new goog.ui.MenuHeader(null)});goog.ui.MenuItemRenderer=function(){goog.ui.ControlRenderer.call(this);this.classNameCache_=[]};goog.inherits(goog.ui.MenuItemRenderer,goog.ui.ControlRenderer);goog.addSingletonGetter(goog.ui.MenuItemRenderer);goog.ui.MenuItemRenderer.CSS_CLASS=\"goog-menuitem\";goog.ui.MenuItemRenderer.CompositeCssClassIndex_={HOVER:0,CHECKBOX:1,CONTENT:2};\ngoog.ui.MenuItemRenderer.prototype.getCompositeCssClass_=function(a){var b=this.classNameCache_[a];if(!b){switch(a){case goog.ui.MenuItemRenderer.CompositeCssClassIndex_.HOVER:b=this.getStructuralCssClass()+\"-highlight\";break;case goog.ui.MenuItemRenderer.CompositeCssClassIndex_.CHECKBOX:b=this.getStructuralCssClass()+\"-checkbox\";break;case goog.ui.MenuItemRenderer.CompositeCssClassIndex_.CONTENT:b=this.getStructuralCssClass()+\"-content\"}this.classNameCache_[a]=b}return b};\ngoog.ui.MenuItemRenderer.prototype.getAriaRole=function(){return goog.a11y.aria.Role.MENU_ITEM};goog.ui.MenuItemRenderer.prototype.createDom=function(a){var b=a.getDomHelper().createDom(\"DIV\",this.getClassNames(a).join(\" \"),this.createContent(a.getContent(),a.getDomHelper()));this.setEnableCheckBoxStructure(a,b,a.isSupportedState(goog.ui.Component.State.SELECTED)||a.isSupportedState(goog.ui.Component.State.CHECKED));return b};\ngoog.ui.MenuItemRenderer.prototype.getContentElement=function(a){return a&&a.firstChild};goog.ui.MenuItemRenderer.prototype.decorate=function(a,b){goog.asserts.assert(b);this.hasContentStructure(b)||b.appendChild(this.createContent(b.childNodes,a.getDomHelper()));goog.dom.classlist.contains(b,\"goog-option\")&&(a.setCheckable(!0),this.setCheckable(a,b,!0));return goog.ui.MenuItemRenderer.superClass_.decorate.call(this,a,b)};\ngoog.ui.MenuItemRenderer.prototype.setContent=function(a,b){var c=this.getContentElement(a),d=this.hasCheckBoxStructure(a)?c.firstChild:null;goog.ui.MenuItemRenderer.superClass_.setContent.call(this,a,b);d&&!this.hasCheckBoxStructure(a)&&c.insertBefore(d,c.firstChild||null)};\ngoog.ui.MenuItemRenderer.prototype.hasContentStructure=function(a){a=goog.dom.getFirstElementChild(a);var b=this.getCompositeCssClass_(goog.ui.MenuItemRenderer.CompositeCssClassIndex_.CONTENT);return!!a&&goog.dom.classlist.contains(a,b)};goog.ui.MenuItemRenderer.prototype.createContent=function(a,b){var c=this.getCompositeCssClass_(goog.ui.MenuItemRenderer.CompositeCssClassIndex_.CONTENT);return b.createDom(\"DIV\",c,a)};\ngoog.ui.MenuItemRenderer.prototype.setSelectable=function(a,b,c){a&&b&&this.setEnableCheckBoxStructure(a,b,c)};goog.ui.MenuItemRenderer.prototype.setCheckable=function(a,b,c){a&&b&&this.setEnableCheckBoxStructure(a,b,c)};goog.ui.MenuItemRenderer.prototype.hasCheckBoxStructure=function(a){if(a=this.getContentElement(a)){a=a.firstChild;var b=this.getCompositeCssClass_(goog.ui.MenuItemRenderer.CompositeCssClassIndex_.CHECKBOX);return!!a&&goog.dom.isElement(a)&&goog.dom.classlist.contains(a,b)}return!1};\ngoog.ui.MenuItemRenderer.prototype.setEnableCheckBoxStructure=function(a,b,c){this.setAriaRole(b,a.getPreferredAriaRole());this.setAriaStates(a,b);c!=this.hasCheckBoxStructure(b)&&(goog.dom.classlist.enable(b,\"goog-option\",c),b=this.getContentElement(b),c?(c=this.getCompositeCssClass_(goog.ui.MenuItemRenderer.CompositeCssClassIndex_.CHECKBOX),b.insertBefore(a.getDomHelper().createDom(\"DIV\",c),b.firstChild||null)):b.removeChild(b.firstChild))};\ngoog.ui.MenuItemRenderer.prototype.getClassForState=function(a){switch(a){case goog.ui.Component.State.HOVER:return this.getCompositeCssClass_(goog.ui.MenuItemRenderer.CompositeCssClassIndex_.HOVER);case goog.ui.Component.State.CHECKED:case goog.ui.Component.State.SELECTED:return\"goog-option-selected\";default:return goog.ui.MenuItemRenderer.superClass_.getClassForState.call(this,a)}};\ngoog.ui.MenuItemRenderer.prototype.getStateFromClass=function(a){var b=this.getCompositeCssClass_(goog.ui.MenuItemRenderer.CompositeCssClassIndex_.HOVER);switch(a){case \"goog-option-selected\":return goog.ui.Component.State.CHECKED;case b:return goog.ui.Component.State.HOVER;default:return goog.ui.MenuItemRenderer.superClass_.getStateFromClass.call(this,a)}};goog.ui.MenuItemRenderer.prototype.getCssClass=function(){return goog.ui.MenuItemRenderer.CSS_CLASS};goog.ui.MenuItem=function(a,b,c,d){goog.ui.Control.call(this,a,d||goog.ui.MenuItemRenderer.getInstance(),c);this.setValue(b)};goog.inherits(goog.ui.MenuItem,goog.ui.Control);goog.tagUnsealableClass(goog.ui.MenuItem);goog.ui.MenuItem.MNEMONIC_WRAPPER_CLASS_=\"goog-menuitem-mnemonic-separator\";goog.ui.MenuItem.ACCELERATOR_CLASS=\"goog-menuitem-accel\";goog.ui.MenuItem.prototype.getValue=function(){var a=this.getModel();return null!=a?a:this.getCaption()};goog.ui.MenuItem.prototype.setValue=function(a){this.setModel(a)};\ngoog.ui.MenuItem.prototype.setSupportedState=function(a,b){goog.ui.MenuItem.superClass_.setSupportedState.call(this,a,b);switch(a){case goog.ui.Component.State.SELECTED:this.setSelectableInternal_(b);break;case goog.ui.Component.State.CHECKED:this.setCheckableInternal_(b)}};goog.ui.MenuItem.prototype.setSelectable=function(a){this.setSupportedState(goog.ui.Component.State.SELECTED,a)};\ngoog.ui.MenuItem.prototype.setSelectableInternal_=function(a){this.isChecked()&&!a&&this.setChecked(!1);var b=this.getElement();b&&this.getRenderer().setSelectable(this,b,a)};goog.ui.MenuItem.prototype.setCheckable=function(a){this.setSupportedState(goog.ui.Component.State.CHECKED,a)};goog.ui.MenuItem.prototype.setCheckableInternal_=function(a){var b=this.getElement();b&&this.getRenderer().setCheckable(this,b,a)};\ngoog.ui.MenuItem.prototype.getCaption=function(){var a=this.getContent();if(goog.isArray(a)){var b=goog.ui.MenuItem.ACCELERATOR_CLASS,c=goog.ui.MenuItem.MNEMONIC_WRAPPER_CLASS_;a=goog.array.map(a,function(a){return goog.dom.isElement(a)&&(goog.dom.classlist.contains(a,b)||goog.dom.classlist.contains(a,c))?\"\":goog.dom.getRawTextContent(a)}).join(\"\");return goog.string.collapseBreakingSpaces(a)}return goog.ui.MenuItem.superClass_.getCaption.call(this)};\ngoog.ui.MenuItem.prototype.getAccelerator=function(){var a=this.getDomHelper(),b=this.getContent();return goog.isArray(b)&&(b=goog.array.find(b,function(a){return goog.dom.classlist.contains(a,goog.ui.MenuItem.ACCELERATOR_CLASS)}))?a.getTextContent(b):null};\ngoog.ui.MenuItem.prototype.handleMouseUp=function(a){var b=this.getParent();if(b){var c=b.openingCoords;b.openingCoords=null;if(c&&goog.isNumber(a.clientX)&&(b=new goog.math.Coordinate(a.clientX,a.clientY),goog.math.Coordinate.equals(c,b)))return}goog.ui.MenuItem.superClass_.handleMouseUp.call(this,a)};goog.ui.MenuItem.prototype.handleKeyEventInternal=function(a){return a.keyCode==this.getMnemonic()&&this.performActionInternal(a)?!0:goog.ui.MenuItem.superClass_.handleKeyEventInternal.call(this,a)};\ngoog.ui.MenuItem.prototype.setMnemonic=function(a){this.mnemonicKey_=a};goog.ui.MenuItem.prototype.getMnemonic=function(){return this.mnemonicKey_};goog.ui.registry.setDecoratorByClassName(goog.ui.MenuItemRenderer.CSS_CLASS,function(){return new goog.ui.MenuItem(null)});\ngoog.ui.MenuItem.prototype.getPreferredAriaRole=function(){return this.isSupportedState(goog.ui.Component.State.CHECKED)?goog.a11y.aria.Role.MENU_ITEM_CHECKBOX:this.isSupportedState(goog.ui.Component.State.SELECTED)?goog.a11y.aria.Role.MENU_ITEM_RADIO:goog.ui.MenuItem.superClass_.getPreferredAriaRole.call(this)};goog.ui.MenuItem.prototype.getParent=function(){return goog.ui.Control.prototype.getParent.call(this)};goog.ui.MenuItem.prototype.getParentEventTarget=function(){return goog.ui.Control.prototype.getParentEventTarget.call(this)};goog.ui.MenuSeparatorRenderer=function(){goog.ui.ControlRenderer.call(this)};goog.inherits(goog.ui.MenuSeparatorRenderer,goog.ui.ControlRenderer);goog.addSingletonGetter(goog.ui.MenuSeparatorRenderer);goog.ui.MenuSeparatorRenderer.CSS_CLASS=\"goog-menuseparator\";goog.ui.MenuSeparatorRenderer.prototype.createDom=function(a){return a.getDomHelper().createDom(\"DIV\",this.getCssClass())};\ngoog.ui.MenuSeparatorRenderer.prototype.decorate=function(a,b){b.id&&a.setId(b.id);if(\"HR\"==b.tagName){var c=b;b=this.createDom(a);goog.dom.insertSiblingBefore(b,c);goog.dom.removeNode(c)}else goog.dom.classlist.add(b,this.getCssClass());return b};goog.ui.MenuSeparatorRenderer.prototype.setContent=function(a,b){};goog.ui.MenuSeparatorRenderer.prototype.getCssClass=function(){return goog.ui.MenuSeparatorRenderer.CSS_CLASS};goog.ui.Separator=function(a,b){goog.ui.Control.call(this,null,a||goog.ui.MenuSeparatorRenderer.getInstance(),b);this.setSupportedState(goog.ui.Component.State.DISABLED,!1);this.setSupportedState(goog.ui.Component.State.HOVER,!1);this.setSupportedState(goog.ui.Component.State.ACTIVE,!1);this.setSupportedState(goog.ui.Component.State.FOCUSED,!1);this.setStateInternal(goog.ui.Component.State.DISABLED)};goog.inherits(goog.ui.Separator,goog.ui.Control);\ngoog.ui.Separator.prototype.enterDocument=function(){goog.ui.Separator.superClass_.enterDocument.call(this);var a=this.getElement();goog.asserts.assert(a,\"The DOM element for the separator cannot be null.\");goog.a11y.aria.setRole(a,\"separator\")};goog.ui.registry.setDecoratorByClassName(goog.ui.MenuSeparatorRenderer.CSS_CLASS,function(){return new goog.ui.Separator});goog.ui.MenuRenderer=function(a){goog.ui.ContainerRenderer.call(this,a||goog.a11y.aria.Role.MENU)};goog.inherits(goog.ui.MenuRenderer,goog.ui.ContainerRenderer);goog.addSingletonGetter(goog.ui.MenuRenderer);goog.ui.MenuRenderer.CSS_CLASS=\"goog-menu\";goog.ui.MenuRenderer.prototype.canDecorate=function(a){return\"UL\"==a.tagName||goog.ui.MenuRenderer.superClass_.canDecorate.call(this,a)};\ngoog.ui.MenuRenderer.prototype.getDecoratorForChild=function(a){return\"HR\"==a.tagName?new goog.ui.Separator:goog.ui.MenuRenderer.superClass_.getDecoratorForChild.call(this,a)};goog.ui.MenuRenderer.prototype.containsElement=function(a,b){return goog.dom.contains(a.getElement(),b)};goog.ui.MenuRenderer.prototype.getCssClass=function(){return goog.ui.MenuRenderer.CSS_CLASS};\ngoog.ui.MenuRenderer.prototype.initializeDom=function(a){goog.ui.MenuRenderer.superClass_.initializeDom.call(this,a);a=a.getElement();goog.asserts.assert(a,\"The menu DOM element cannot be null.\");goog.a11y.aria.setState(a,goog.a11y.aria.State.HASPOPUP,\"true\")};goog.ui.MenuSeparator=function(a){goog.ui.Separator.call(this,goog.ui.MenuSeparatorRenderer.getInstance(),a)};goog.inherits(goog.ui.MenuSeparator,goog.ui.Separator);goog.ui.registry.setDecoratorByClassName(goog.ui.MenuSeparatorRenderer.CSS_CLASS,function(){return new goog.ui.Separator});goog.ui.Menu=function(a,b){goog.ui.Container.call(this,goog.ui.Container.Orientation.VERTICAL,b||goog.ui.MenuRenderer.getInstance(),a);this.setFocusable(!1)};goog.inherits(goog.ui.Menu,goog.ui.Container);goog.tagUnsealableClass(goog.ui.Menu);goog.ui.Menu.EventType={BEFORE_SHOW:goog.ui.Component.EventType.BEFORE_SHOW,SHOW:goog.ui.Component.EventType.SHOW,BEFORE_HIDE:goog.ui.Component.EventType.HIDE,HIDE:goog.ui.Component.EventType.HIDE};goog.ui.Menu.CSS_CLASS=goog.ui.MenuRenderer.CSS_CLASS;\ngoog.ui.Menu.prototype.allowAutoFocus_=!0;goog.ui.Menu.prototype.allowHighlightDisabled_=!1;goog.ui.Menu.prototype.getCssClass=function(){return this.getRenderer().getCssClass()};goog.ui.Menu.prototype.containsElement=function(a){if(this.getRenderer().containsElement(this,a))return!0;for(var b=0,c=this.getChildCount();b<c;b++){var d=this.getChildAt(b);if(\"function\"==typeof d.containsElement&&d.containsElement(a))return!0}return!1};goog.ui.Menu.prototype.addItem=function(a){this.addChild(a,!0)};\ngoog.ui.Menu.prototype.addItemAt=function(a,b){this.addChildAt(a,b,!0)};goog.ui.Menu.prototype.removeItem=function(a){(a=this.removeChild(a,!0))&&a.dispose()};goog.ui.Menu.prototype.removeItemAt=function(a){(a=this.removeChildAt(a,!0))&&a.dispose()};goog.ui.Menu.prototype.getItemAt=function(a){return this.getChildAt(a)};goog.ui.Menu.prototype.getItemCount=function(){return this.getChildCount()};goog.ui.Menu.prototype.getItems=function(){var a=[];this.forEachChild(function(b){a.push(b)});return a};\ngoog.ui.Menu.prototype.setPosition=function(a,b){var c=this.isVisible();c||goog.style.setElementShown(this.getElement(),!0);goog.style.setPageOffset(this.getElement(),a,b);c||goog.style.setElementShown(this.getElement(),!1)};goog.ui.Menu.prototype.getPosition=function(){return this.isVisible()?goog.style.getPageOffset(this.getElement()):null};goog.ui.Menu.prototype.setAllowAutoFocus=function(a){(this.allowAutoFocus_=a)&&this.setFocusable(!0)};goog.ui.Menu.prototype.getAllowAutoFocus=function(){return this.allowAutoFocus_};\ngoog.ui.Menu.prototype.setAllowHighlightDisabled=function(a){this.allowHighlightDisabled_=a};goog.ui.Menu.prototype.getAllowHighlightDisabled=function(){return this.allowHighlightDisabled_};goog.ui.Menu.prototype.setVisible=function(a,b,c){(b=goog.ui.Menu.superClass_.setVisible.call(this,a,b))&&a&&this.isInDocument()&&this.allowAutoFocus_&&this.getKeyEventTarget().focus();a&&c&&goog.isNumber(c.clientX)?this.openingCoords=new goog.math.Coordinate(c.clientX,c.clientY):this.openingCoords=null;return b};\ngoog.ui.Menu.prototype.handleEnterItem=function(a){this.allowAutoFocus_&&this.getKeyEventTarget().focus();return goog.ui.Menu.superClass_.handleEnterItem.call(this,a)};goog.ui.Menu.prototype.highlightNextPrefix=function(a){var b=new RegExp(\"^\"+goog.string.regExpEscape(a),\"i\");return this.highlightHelper(function(a,d){var c=0>a?0:a,f=!1;do{++a;a==d&&(a=0,f=!0);var g=this.getChildAt(a).getCaption();if(g&&g.match(b))return a}while(!f||a!=c);return this.getHighlightedIndex()},this.getHighlightedIndex())};\ngoog.ui.Menu.prototype.canHighlightItem=function(a){return(this.allowHighlightDisabled_||a.isEnabled())&&a.isVisible()&&a.isSupportedState(goog.ui.Component.State.HOVER)};goog.ui.Menu.prototype.decorateInternal=function(a){this.decorateContent(a);goog.ui.Menu.superClass_.decorateInternal.call(this,a)};\ngoog.ui.Menu.prototype.handleKeyEventInternal=function(a){var b=goog.ui.Menu.superClass_.handleKeyEventInternal.call(this,a);b||this.forEachChild(function(c){!b&&c.getMnemonic&&c.getMnemonic()==a.keyCode&&(this.isEnabled()&&this.setHighlighted(c),b=c.handleKeyEvent(a))},this);return b};goog.ui.Menu.prototype.setHighlightedIndex=function(a){goog.ui.Menu.superClass_.setHighlightedIndex.call(this,a);(a=this.getChildAt(a))&&goog.style.scrollIntoContainerView(a.getElement(),this.getElement())};\ngoog.ui.Menu.prototype.decorateContent=function(a){var b=this.getRenderer();a=this.getDomHelper().getElementsByTagNameAndClass(\"DIV\",b.getCssClass()+\"-content\",a);for(var c=a.length,d=0;d<c;d++)b.decorateChildren(this,a[d])};goog.iter={};goog.iter.StopIteration=\"StopIteration\"in goog.global?goog.global.StopIteration:{message:\"StopIteration\",stack:\"\"};goog.iter.Iterator=function(){};goog.iter.Iterator.prototype.next=function(){throw goog.iter.StopIteration;};goog.iter.Iterator.prototype.__iterator__=function(a){return this};\ngoog.iter.toIterator=function(a){if(a instanceof goog.iter.Iterator)return a;if(\"function\"==typeof a.__iterator__)return a.__iterator__(!1);if(goog.isArrayLike(a)){var b=0,c=new goog.iter.Iterator;c.next=function(){for(;;){if(b>=a.length)throw goog.iter.StopIteration;if(b in a)return a[b++];b++}};return c}throw Error(\"Not implemented\");};\ngoog.iter.forEach=function(a,b,c){if(goog.isArrayLike(a))try{goog.array.forEach(a,b,c)}catch(d){if(d!==goog.iter.StopIteration)throw d;}else{a=goog.iter.toIterator(a);try{for(;;)b.call(c,a.next(),void 0,a)}catch(d){if(d!==goog.iter.StopIteration)throw d;}}};goog.iter.filter=function(a,b,c){var d=goog.iter.toIterator(a);a=new goog.iter.Iterator;a.next=function(){for(;;){var a=d.next();if(b.call(c,a,void 0,d))return a}};return a};\ngoog.iter.filterFalse=function(a,b,c){return goog.iter.filter(a,goog.functions.not(b),c)};goog.iter.range=function(a,b,c){var d=0,e=a,f=c||1;1<arguments.length&&(d=a,e=b);if(0==f)throw Error(\"Range step argument must not be zero\");var g=new goog.iter.Iterator;g.next=function(){if(0<f&&d>=e||0>f&&d<=e)throw goog.iter.StopIteration;var a=d;d+=f;return a};return g};goog.iter.join=function(a,b){return goog.iter.toArray(a).join(b)};\ngoog.iter.map=function(a,b,c){var d=goog.iter.toIterator(a);a=new goog.iter.Iterator;a.next=function(){var a=d.next();return b.call(c,a,void 0,d)};return a};goog.iter.reduce=function(a,b,c,d){var e=c;goog.iter.forEach(a,function(a){e=b.call(d,e,a)});return e};goog.iter.some=function(a,b,c){a=goog.iter.toIterator(a);try{for(;;)if(b.call(c,a.next(),void 0,a))return!0}catch(d){if(d!==goog.iter.StopIteration)throw d;}return!1};\ngoog.iter.every=function(a,b,c){a=goog.iter.toIterator(a);try{for(;;)if(!b.call(c,a.next(),void 0,a))return!1}catch(d){if(d!==goog.iter.StopIteration)throw d;}return!0};goog.iter.chain=function(a){return goog.iter.chainFromIterable(arguments)};\ngoog.iter.chainFromIterable=function(a){var b=goog.iter.toIterator(a);a=new goog.iter.Iterator;var c=null;a.next=function(){for(;;){if(null==c){var a=b.next();c=goog.iter.toIterator(a)}try{return c.next()}catch(e){if(e!==goog.iter.StopIteration)throw e;c=null}}};return a};goog.iter.dropWhile=function(a,b,c){var d=goog.iter.toIterator(a);a=new goog.iter.Iterator;var e=!0;a.next=function(){for(;;){var a=d.next();if(!e||!b.call(c,a,void 0,d))return e=!1,a}};return a};\ngoog.iter.takeWhile=function(a,b,c){var d=goog.iter.toIterator(a);a=new goog.iter.Iterator;a.next=function(){var a=d.next();if(b.call(c,a,void 0,d))return a;throw goog.iter.StopIteration;};return a};goog.iter.toArray=function(a){if(goog.isArrayLike(a))return goog.array.toArray(a);a=goog.iter.toIterator(a);var b=[];goog.iter.forEach(a,function(a){b.push(a)});return b};\ngoog.iter.equals=function(a,b,c){a=goog.iter.zipLongest({},a,b);var d=c||goog.array.defaultCompareEquality;return goog.iter.every(a,function(a){return d(a[0],a[1])})};goog.iter.nextOrValue=function(a,b){try{return goog.iter.toIterator(a).next()}catch(c){if(c!=goog.iter.StopIteration)throw c;return b}};\ngoog.iter.product=function(a){if(goog.array.some(arguments,function(a){return!a.length})||!arguments.length)return new goog.iter.Iterator;var b=new goog.iter.Iterator,c=arguments,d=goog.array.repeat(0,c.length);b.next=function(){if(d){for(var a=goog.array.map(d,function(a,b){return c[b][a]}),b=d.length-1;0<=b;b--){goog.asserts.assert(d);if(d[b]<c[b].length-1){d[b]++;break}if(0==b){d=null;break}d[b]=0}return a}throw goog.iter.StopIteration;};return b};\ngoog.iter.cycle=function(a){var b=goog.iter.toIterator(a),c=[],d=0;a=new goog.iter.Iterator;var e=!1;a.next=function(){var a=null;if(!e)try{return a=b.next(),c.push(a),a}catch(g){if(g!=goog.iter.StopIteration||goog.array.isEmpty(c))throw g;e=!0}a=c[d];d=(d+1)%c.length;return a};return a};goog.iter.count=function(a,b){var c=a||0,d=goog.isDef(b)?b:1,e=new goog.iter.Iterator;e.next=function(){var a=c;c+=d;return a};return e};\ngoog.iter.repeat=function(a){var b=new goog.iter.Iterator;b.next=goog.functions.constant(a);return b};goog.iter.accumulate=function(a){var b=goog.iter.toIterator(a),c=0;a=new goog.iter.Iterator;a.next=function(){return c+=b.next()};return a};goog.iter.zip=function(a){var b=arguments,c=new goog.iter.Iterator;if(0<b.length){var d=goog.array.map(b,goog.iter.toIterator);c.next=function(){return goog.array.map(d,function(a){return a.next()})}}return c};\ngoog.iter.zipLongest=function(a,b){var c=goog.array.slice(arguments,1),d=new goog.iter.Iterator;if(0<c.length){var e=goog.array.map(c,goog.iter.toIterator);d.next=function(){var b=!1,c=goog.array.map(e,function(c){try{var d=c.next();b=!0}catch(n){if(n!==goog.iter.StopIteration)throw n;d=a}return d});if(!b)throw goog.iter.StopIteration;return c}}return d};goog.iter.compress=function(a,b){var c=goog.iter.toIterator(b);return goog.iter.filter(a,function(){return!!c.next()})};\ngoog.iter.GroupByIterator_=function(a,b){this.iterator=goog.iter.toIterator(a);this.keyFunc=b||goog.functions.identity};goog.inherits(goog.iter.GroupByIterator_,goog.iter.Iterator);goog.iter.GroupByIterator_.prototype.next=function(){for(;this.currentKey==this.targetKey;)this.currentValue=this.iterator.next(),this.currentKey=this.keyFunc(this.currentValue);this.targetKey=this.currentKey;return[this.currentKey,this.groupItems_(this.targetKey)]};\ngoog.iter.GroupByIterator_.prototype.groupItems_=function(a){for(var b=[];this.currentKey==a;){b.push(this.currentValue);try{this.currentValue=this.iterator.next()}catch(c){if(c!==goog.iter.StopIteration)throw c;break}this.currentKey=this.keyFunc(this.currentValue)}return b};goog.iter.groupBy=function(a,b){return new goog.iter.GroupByIterator_(a,b)};\ngoog.iter.starMap=function(a,b,c){var d=goog.iter.toIterator(a);a=new goog.iter.Iterator;a.next=function(){var a=goog.iter.toArray(d.next());return b.apply(c,goog.array.concat(a,void 0,d))};return a};\ngoog.iter.tee=function(a,b){var c=goog.iter.toIterator(a),d=goog.isNumber(b)?b:2,e=goog.array.map(goog.array.range(d),function(){return[]}),f=function(){var a=c.next();goog.array.forEach(e,function(b){b.push(a)})};return goog.array.map(e,function(a){var b=new goog.iter.Iterator;b.next=function(){goog.array.isEmpty(a)&&f();goog.asserts.assert(!goog.array.isEmpty(a));return a.shift()};return b})};goog.iter.enumerate=function(a,b){return goog.iter.zip(goog.iter.count(b),a)};\ngoog.iter.limit=function(a,b){goog.asserts.assert(goog.math.isInt(b)&&0<=b);var c=goog.iter.toIterator(a),d=new goog.iter.Iterator,e=b;d.next=function(){if(0<e--)return c.next();throw goog.iter.StopIteration;};return d};goog.iter.consume=function(a,b){goog.asserts.assert(goog.math.isInt(b)&&0<=b);for(var c=goog.iter.toIterator(a);0<b--;)goog.iter.nextOrValue(c,null);return c};\ngoog.iter.slice=function(a,b,c){goog.asserts.assert(goog.math.isInt(b)&&0<=b);a=goog.iter.consume(a,b);goog.isNumber(c)&&(goog.asserts.assert(goog.math.isInt(c)&&c>=b),a=goog.iter.limit(a,c-b));return a};goog.iter.hasDuplicates_=function(a){var b=[];goog.array.removeDuplicates(a,b);return a.length!=b.length};goog.iter.permutations=function(a,b){var c=goog.iter.toArray(a),d=goog.isNumber(b)?b:c.length;c=goog.array.repeat(c,d);c=goog.iter.product.apply(void 0,c);return goog.iter.filter(c,function(a){return!goog.iter.hasDuplicates_(a)})};\ngoog.iter.combinations=function(a,b){function c(a){return d[a]}var d=goog.iter.toArray(a),e=goog.iter.range(d.length);e=goog.iter.permutations(e,b);var f=goog.iter.filter(e,function(a){return goog.array.isSorted(a)});e=new goog.iter.Iterator;e.next=function(){return goog.array.map(f.next(),c)};return e};\ngoog.iter.combinationsWithReplacement=function(a,b){function c(a){return d[a]}var d=goog.iter.toArray(a),e=goog.array.range(d.length);e=goog.array.repeat(e,b);e=goog.iter.product.apply(void 0,e);var f=goog.iter.filter(e,function(a){return goog.array.isSorted(a)});e=new goog.iter.Iterator;e.next=function(){return goog.array.map(f.next(),c)};return e};goog.dom.TagWalkType={START_TAG:1,OTHER:0,END_TAG:-1};goog.dom.TagIterator=function(a,b,c,d,e){this.reversed=!!b;this.node=null;this.tagType=goog.dom.TagWalkType.OTHER;this.started_=!1;this.constrained=!c;a&&this.setPosition(a,d);this.depth=void 0!=e?e:this.tagType||0;this.reversed&&(this.depth*=-1)};goog.inherits(goog.dom.TagIterator,goog.iter.Iterator);\ngoog.dom.TagIterator.prototype.setPosition=function(a,b,c){if(this.node=a)goog.isNumber(b)?this.tagType=b:this.tagType=this.node.nodeType!=goog.dom.NodeType.ELEMENT?goog.dom.TagWalkType.OTHER:this.reversed?goog.dom.TagWalkType.END_TAG:goog.dom.TagWalkType.START_TAG;goog.isNumber(c)&&(this.depth=c)};goog.dom.TagIterator.prototype.copyFrom=function(a){this.node=a.node;this.tagType=a.tagType;this.depth=a.depth;this.reversed=a.reversed;this.constrained=a.constrained};\ngoog.dom.TagIterator.prototype.clone=function(){return new goog.dom.TagIterator(this.node,this.reversed,!this.constrained,this.tagType,this.depth)};goog.dom.TagIterator.prototype.skipTag=function(){var a=this.reversed?goog.dom.TagWalkType.END_TAG:goog.dom.TagWalkType.START_TAG;this.tagType==a&&(this.tagType=-1*a,this.depth+=this.tagType*(this.reversed?-1:1))};\ngoog.dom.TagIterator.prototype.restartTag=function(){var a=this.reversed?goog.dom.TagWalkType.START_TAG:goog.dom.TagWalkType.END_TAG;this.tagType==a&&(this.tagType=-1*a,this.depth+=this.tagType*(this.reversed?-1:1))};\ngoog.dom.TagIterator.prototype.next=function(){if(this.started_){if(!this.node||this.constrained&&0==this.depth)throw goog.iter.StopIteration;var a=this.node;var b=this.reversed?goog.dom.TagWalkType.END_TAG:goog.dom.TagWalkType.START_TAG;if(this.tagType==b){var c=this.reversed?a.lastChild:a.firstChild;c?this.setPosition(c):this.setPosition(a,-1*b)}else(c=this.reversed?a.previousSibling:a.nextSibling)?this.setPosition(c):this.setPosition(a.parentNode,-1*b);this.depth+=this.tagType*(this.reversed?-1:\n1)}else this.started_=!0;a=this.node;if(!this.node)throw goog.iter.StopIteration;return a};goog.dom.TagIterator.prototype.isStarted=function(){return this.started_};goog.dom.TagIterator.prototype.isStartTag=function(){return this.tagType==goog.dom.TagWalkType.START_TAG};goog.dom.TagIterator.prototype.isEndTag=function(){return this.tagType==goog.dom.TagWalkType.END_TAG};goog.dom.TagIterator.prototype.isNonElement=function(){return this.tagType==goog.dom.TagWalkType.OTHER};\ngoog.dom.TagIterator.prototype.equals=function(a){return a.node==this.node&&(!this.node||a.tagType==this.tagType)};goog.dom.TagIterator.prototype.splice=function(a){var b=this.node;this.restartTag();this.reversed=!this.reversed;goog.dom.TagIterator.prototype.next.call(this);this.reversed=!this.reversed;for(var c=goog.isArrayLike(arguments[0])?arguments[0]:arguments,d=c.length-1;0<=d;d--)goog.dom.insertSiblingAfter(c[d],b);goog.dom.removeNode(b)};goog.dom.NodeIterator=function(a,b,c,d){goog.dom.TagIterator.call(this,a,b,c,null,d)};goog.inherits(goog.dom.NodeIterator,goog.dom.TagIterator);goog.dom.NodeIterator.prototype.next=function(){do goog.dom.NodeIterator.superClass_.next.call(this);while(this.isEndTag());return this.node};goog.ui.PaletteRenderer=function(){goog.ui.ControlRenderer.call(this)};goog.inherits(goog.ui.PaletteRenderer,goog.ui.ControlRenderer);goog.addSingletonGetter(goog.ui.PaletteRenderer);goog.ui.PaletteRenderer.cellId_=0;goog.ui.PaletteRenderer.CSS_CLASS=\"goog-palette\";goog.ui.PaletteRenderer.prototype.createDom=function(a){var b=this.getClassNames(a);a=a.getDomHelper().createDom(\"DIV\",b,this.createGrid(a.getContent(),a.getSize(),a.getDomHelper()));goog.a11y.aria.setRole(a,goog.a11y.aria.Role.GRID);return a};\ngoog.ui.PaletteRenderer.prototype.createGrid=function(a,b,c){for(var d=[],e=0,f=0;e<b.height;e++){for(var g=[],h=0;h<b.width;h++){var k=a&&a[f++];g.push(this.createCell(k,c))}d.push(this.createRow(g,c))}return this.createTable(d,c)};goog.ui.PaletteRenderer.prototype.createTable=function(a,b){var c=b.createDom(\"TABLE\",this.getCssClass()+\"-table\",b.createDom(\"TBODY\",this.getCssClass()+\"-body\",a));c.cellSpacing=\"0\";c.cellPadding=\"0\";return c};\ngoog.ui.PaletteRenderer.prototype.createRow=function(a,b){var c=b.createDom(\"TR\",this.getCssClass()+\"-row\",a);goog.a11y.aria.setRole(c,goog.a11y.aria.Role.ROW);return c};\ngoog.ui.PaletteRenderer.prototype.createCell=function(a,b){var c=b.createDom(\"TD\",{\"class\":this.getCssClass()+\"-cell\",id:this.getCssClass()+\"-cell-\"+goog.ui.PaletteRenderer.cellId_++},a);goog.a11y.aria.setRole(c,goog.a11y.aria.Role.GRIDCELL);goog.a11y.aria.setState(c,goog.a11y.aria.State.SELECTED,!1);if(!goog.dom.getTextContent(c)&&!goog.a11y.aria.getLabel(c)){var d=this.findAriaLabelForCell_(c);d&&goog.a11y.aria.setLabel(c,d)}return c};\ngoog.ui.PaletteRenderer.prototype.findAriaLabelForCell_=function(a){a=new goog.dom.NodeIterator(a);for(var b=\"\",c;!b&&(c=goog.iter.nextOrValue(a,null));)c.nodeType==goog.dom.NodeType.ELEMENT&&(b=goog.a11y.aria.getLabel(c)||c.title);return b};goog.ui.PaletteRenderer.prototype.canDecorate=function(a){return!1};goog.ui.PaletteRenderer.prototype.decorate=function(a,b){return null};\ngoog.ui.PaletteRenderer.prototype.setContent=function(a,b){if(a){var c=goog.dom.getElementsByTagNameAndClass(\"TBODY\",this.getCssClass()+\"-body\",a)[0];if(c){var d=0;goog.array.forEach(c.rows,function(a){goog.array.forEach(a.cells,function(a){goog.dom.removeChildren(a);if(b){var c=b[d++];c&&goog.dom.appendChild(a,c)}})});if(d<b.length){for(var e=[],f=goog.dom.getDomHelper(a),g=c.rows[0].cells.length;d<b.length;){var h=b[d++];e.push(this.createCell(h,f));e.length==g&&(h=this.createRow(e,f),goog.dom.appendChild(c,\nh),e.length=0)}if(0<e.length){for(;e.length<g;)e.push(this.createCell(\"\",f));h=this.createRow(e,f);goog.dom.appendChild(c,h)}}}goog.style.setUnselectable(a,!0,goog.userAgent.GECKO)}};goog.ui.PaletteRenderer.prototype.getContainingItem=function(a,b){for(var c=a.getElement();b&&b.nodeType==goog.dom.NodeType.ELEMENT&&b!=c;){if(\"TD\"==b.tagName&&goog.dom.classlist.contains(b,this.getCssClass()+\"-cell\"))return b.firstChild;b=b.parentNode}return null};\ngoog.ui.PaletteRenderer.prototype.highlightCell=function(a,b,c){b&&(b=this.getCellForItem(b),goog.asserts.assert(b),goog.dom.classlist.enable(b,this.getCssClass()+\"-cell-hover\",c),c?goog.a11y.aria.setState(a.getElementStrict(),goog.a11y.aria.State.ACTIVEDESCENDANT,b.id):b.id==goog.a11y.aria.getState(a.getElementStrict(),goog.a11y.aria.State.ACTIVEDESCENDANT)&&goog.a11y.aria.removeState(a.getElementStrict(),goog.a11y.aria.State.ACTIVEDESCENDANT))};\ngoog.ui.PaletteRenderer.prototype.getCellForItem=function(a){return a?a.parentNode:null};goog.ui.PaletteRenderer.prototype.selectCell=function(a,b,c){b&&(a=b.parentNode,goog.dom.classlist.enable(a,this.getCssClass()+\"-cell-selected\",c),goog.a11y.aria.setState(a,goog.a11y.aria.State.SELECTED,c))};goog.ui.PaletteRenderer.prototype.getCssClass=function(){return goog.ui.PaletteRenderer.CSS_CLASS};goog.ui.SelectionModel=function(a){goog.events.EventTarget.call(this);this.items_=[];this.addItems(a)};goog.inherits(goog.ui.SelectionModel,goog.events.EventTarget);goog.tagUnsealableClass(goog.ui.SelectionModel);goog.ui.SelectionModel.prototype.selectedItem_=null;goog.ui.SelectionModel.prototype.selectionHandler_=null;goog.ui.SelectionModel.prototype.getSelectionHandler=function(){return this.selectionHandler_};\ngoog.ui.SelectionModel.prototype.setSelectionHandler=function(a){this.selectionHandler_=a};goog.ui.SelectionModel.prototype.getItemCount=function(){return this.items_.length};goog.ui.SelectionModel.prototype.indexOfItem=function(a){return a?goog.array.indexOf(this.items_,a):-1};goog.ui.SelectionModel.prototype.getFirst=function(){return this.items_[0]};goog.ui.SelectionModel.prototype.getLast=function(){return this.items_[this.items_.length-1]};\ngoog.ui.SelectionModel.prototype.getItemAt=function(a){return this.items_[a]||null};goog.ui.SelectionModel.prototype.addItems=function(a){a&&(goog.array.forEach(a,function(a){this.selectItem_(a,!1)},this),goog.array.extend(this.items_,a))};goog.ui.SelectionModel.prototype.addItem=function(a){this.addItemAt(a,this.getItemCount())};goog.ui.SelectionModel.prototype.addItemAt=function(a,b){a&&(this.selectItem_(a,!1),goog.array.insertAt(this.items_,a,b))};\ngoog.ui.SelectionModel.prototype.removeItem=function(a){a&&goog.array.remove(this.items_,a)&&a==this.selectedItem_&&(this.selectedItem_=null,this.dispatchEvent(goog.events.EventType.SELECT))};goog.ui.SelectionModel.prototype.removeItemAt=function(a){this.removeItem(this.getItemAt(a))};goog.ui.SelectionModel.prototype.getSelectedItem=function(){return this.selectedItem_};goog.ui.SelectionModel.prototype.getItems=function(){return goog.array.clone(this.items_)};\ngoog.ui.SelectionModel.prototype.setSelectedItem=function(a){a!=this.selectedItem_&&(this.selectItem_(this.selectedItem_,!1),this.selectedItem_=a,this.selectItem_(a,!0));this.dispatchEvent(goog.events.EventType.SELECT)};goog.ui.SelectionModel.prototype.getSelectedIndex=function(){return this.indexOfItem(this.selectedItem_)};goog.ui.SelectionModel.prototype.setSelectedIndex=function(a){this.setSelectedItem(this.getItemAt(a))};\ngoog.ui.SelectionModel.prototype.clear=function(){goog.array.clear(this.items_);this.selectedItem_=null};goog.ui.SelectionModel.prototype.disposeInternal=function(){goog.ui.SelectionModel.superClass_.disposeInternal.call(this);delete this.items_;this.selectedItem_=null};goog.ui.SelectionModel.prototype.selectItem_=function(a,b){a&&(\"function\"==typeof this.selectionHandler_?this.selectionHandler_(a,b):\"function\"==typeof a.setSelected&&a.setSelected(b))};goog.ui.Palette=function(a,b,c){goog.ui.Control.call(this,a,b||goog.ui.PaletteRenderer.getInstance(),c);this.setAutoStates(goog.ui.Component.State.CHECKED|goog.ui.Component.State.SELECTED|goog.ui.Component.State.OPENED,!1);this.currentCellControl_=new goog.ui.Palette.CurrentCell_;this.currentCellControl_.setParentEventTarget(this);this.lastHighlightedIndex_=-1};goog.inherits(goog.ui.Palette,goog.ui.Control);goog.tagUnsealableClass(goog.ui.Palette);goog.ui.Palette.EventType={AFTER_HIGHLIGHT:goog.events.getUniqueId(\"afterhighlight\")};\ngoog.ui.Palette.prototype.size_=null;goog.ui.Palette.prototype.highlightedIndex_=-1;goog.ui.Palette.prototype.selectionModel_=null;goog.ui.Palette.prototype.disposeInternal=function(){goog.ui.Palette.superClass_.disposeInternal.call(this);this.selectionModel_&&(this.selectionModel_.dispose(),this.selectionModel_=null);this.size_=null;this.currentCellControl_.dispose()};\ngoog.ui.Palette.prototype.setContentInternal=function(a){goog.ui.Palette.superClass_.setContentInternal.call(this,a);this.adjustSize_();this.selectionModel_?(this.selectionModel_.clear(),this.selectionModel_.addItems(a)):(this.selectionModel_=new goog.ui.SelectionModel(a),this.selectionModel_.setSelectionHandler(goog.bind(this.selectItem_,this)),this.getHandler().listen(this.selectionModel_,goog.events.EventType.SELECT,this.handleSelectionChange));this.highlightedIndex_=-1};\ngoog.ui.Palette.prototype.getCaption=function(){return\"\"};goog.ui.Palette.prototype.setCaption=function(a){};goog.ui.Palette.prototype.handleMouseOver=function(a){goog.ui.Palette.superClass_.handleMouseOver.call(this,a);var b=this.getRenderer().getContainingItem(this,a.target);b&&a.relatedTarget&&goog.dom.contains(b,a.relatedTarget)||b!=this.getHighlightedItem()&&this.setHighlightedItem(b)};\ngoog.ui.Palette.prototype.handleMouseDown=function(a){goog.ui.Palette.superClass_.handleMouseDown.call(this,a);this.isActive()&&(a=this.getRenderer().getContainingItem(this,a.target),a!=this.getHighlightedItem()&&this.setHighlightedItem(a))};goog.ui.Palette.prototype.performActionInternal=function(a){var b=this.getHighlightedItem();return b?(a&&this.shouldSelectHighlightedItem_(a)&&this.setSelectedItem(b),goog.ui.Palette.superClass_.performActionInternal.call(this,a)):!1};\ngoog.ui.Palette.prototype.shouldSelectHighlightedItem_=function(a){return this.getSelectedItem()?\"mouseup\"!=a.type?!0:!!this.getRenderer().getContainingItem(this,a.target):!0};\ngoog.ui.Palette.prototype.handleKeyEvent=function(a){var b=this.getContent();b=b?b.length:0;var c=this.size_.width;if(0==b||!this.isEnabled())return!1;if(a.keyCode==goog.events.KeyCodes.ENTER||a.keyCode==goog.events.KeyCodes.SPACE)return this.performActionInternal(a);if(a.keyCode==goog.events.KeyCodes.HOME)return this.setHighlightedIndex(0),!0;if(a.keyCode==goog.events.KeyCodes.END)return this.setHighlightedIndex(b-1),!0;var d=0>this.highlightedIndex_?this.getSelectedIndex():this.highlightedIndex_;\nswitch(a.keyCode){case goog.events.KeyCodes.LEFT:if(-1==d||0==d)d=b;this.setHighlightedIndex(d-1);a.preventDefault();return!0;case goog.events.KeyCodes.RIGHT:return d==b-1&&(d=-1),this.setHighlightedIndex(d+1),a.preventDefault(),!0;case goog.events.KeyCodes.UP:-1==d&&(d=b+c-1);if(d>=c)return this.setHighlightedIndex(d-c),a.preventDefault(),!0;break;case goog.events.KeyCodes.DOWN:if(-1==d&&(d=-c),d<b-c)return this.setHighlightedIndex(d+c),a.preventDefault(),!0}return!1};\ngoog.ui.Palette.prototype.handleSelectionChange=function(a){};goog.ui.Palette.prototype.getSize=function(){return this.size_};goog.ui.Palette.prototype.setSize=function(a,b){if(this.getElement())throw Error(goog.ui.Component.Error.ALREADY_RENDERED);this.size_=goog.isNumber(a)?new goog.math.Size(a,b):a;this.adjustSize_()};goog.ui.Palette.prototype.getHighlightedIndex=function(){return this.highlightedIndex_};\ngoog.ui.Palette.prototype.getHighlightedItem=function(){var a=this.getContent();return a&&a[this.highlightedIndex_]};goog.ui.Palette.prototype.getHighlightedCellElement_=function(){return this.getRenderer().getCellForItem(this.getHighlightedItem())};goog.ui.Palette.prototype.setHighlightedIndex=function(a){a!=this.highlightedIndex_&&(this.highlightIndex_(this.highlightedIndex_,!1),this.lastHighlightedIndex_=this.highlightedIndex_,this.highlightedIndex_=a,this.highlightIndex_(a,!0),this.dispatchEvent(goog.ui.Palette.EventType.AFTER_HIGHLIGHT))};\ngoog.ui.Palette.prototype.setHighlightedItem=function(a){var b=this.getContent();this.setHighlightedIndex(b&&a?goog.array.indexOf(b,a):-1)};goog.ui.Palette.prototype.getSelectedIndex=function(){return this.selectionModel_?this.selectionModel_.getSelectedIndex():-1};goog.ui.Palette.prototype.getSelectedItem=function(){return this.selectionModel_?this.selectionModel_.getSelectedItem():null};goog.ui.Palette.prototype.setSelectedIndex=function(a){this.selectionModel_&&this.selectionModel_.setSelectedIndex(a)};\ngoog.ui.Palette.prototype.setSelectedItem=function(a){this.selectionModel_&&this.selectionModel_.setSelectedItem(a)};goog.ui.Palette.prototype.highlightIndex_=function(a,b){if(this.getElement()){var c=this.getContent();if(c&&0<=a&&a<c.length){var d=this.getHighlightedCellElement_();this.currentCellControl_.getElement()!=d&&this.currentCellControl_.setElementInternal(d);this.currentCellControl_.tryHighlight(b)&&this.getRenderer().highlightCell(this,c[a],b)}}};\ngoog.ui.Palette.prototype.setHighlighted=function(a){a&&-1==this.highlightedIndex_?this.setHighlightedIndex(-1<this.lastHighlightedIndex_?this.lastHighlightedIndex_:0):a||this.setHighlightedIndex(-1);goog.ui.Palette.superClass_.setHighlighted.call(this,a)};goog.ui.Palette.prototype.selectItem_=function(a,b){this.getElement()&&this.getRenderer().selectCell(this,a,b)};\ngoog.ui.Palette.prototype.adjustSize_=function(){var a=this.getContent();if(a)if(this.size_&&this.size_.width){if(a=Math.ceil(a.length/this.size_.width),!goog.isNumber(this.size_.height)||this.size_.height<a)this.size_.height=a}else a=Math.ceil(Math.sqrt(a.length)),this.size_=new goog.math.Size(a,a);else this.size_=new goog.math.Size(0,0)};goog.ui.Palette.CurrentCell_=function(){goog.ui.Control.call(this,null);this.setDispatchTransitionEvents(goog.ui.Component.State.HOVER,!0)};\ngoog.inherits(goog.ui.Palette.CurrentCell_,goog.ui.Control);goog.ui.Palette.CurrentCell_.prototype.tryHighlight=function(a){this.setHighlighted(a);return this.isHighlighted()==a};goog.ui.ColorPalette=function(a,b,c){this.colors_=a||[];goog.ui.Palette.call(this,null,b||goog.ui.PaletteRenderer.getInstance(),c);this.setColors(this.colors_)};goog.inherits(goog.ui.ColorPalette,goog.ui.Palette);goog.tagUnsealableClass(goog.ui.ColorPalette);goog.ui.ColorPalette.prototype.normalizedColors_=null;goog.ui.ColorPalette.prototype.labels_=null;goog.ui.ColorPalette.prototype.getColors=function(){return this.colors_};\ngoog.ui.ColorPalette.prototype.setColors=function(a,b){this.colors_=a;this.labels_=b||null;this.normalizedColors_=null;this.setContent(this.createColorNodes())};goog.ui.ColorPalette.prototype.getSelectedColor=function(){var a=this.getSelectedItem();return a?(a=goog.style.getStyle(a,\"background-color\"),goog.ui.ColorPalette.parseColor_(a)):null};\ngoog.ui.ColorPalette.prototype.setSelectedColor=function(a){a=goog.ui.ColorPalette.parseColor_(a);this.normalizedColors_||(this.normalizedColors_=goog.array.map(this.colors_,function(a){return goog.ui.ColorPalette.parseColor_(a)}));this.setSelectedIndex(a?goog.array.indexOf(this.normalizedColors_,a):-1)};\ngoog.ui.ColorPalette.prototype.createColorNodes=function(){return goog.array.map(this.colors_,function(a,b){var c=this.getDomHelper().createDom(\"DIV\",{\"class\":this.getRenderer().getCssClass()+\"-colorswatch\",style:\"background-color:\"+a});c.title=this.labels_&&this.labels_[b]?this.labels_[b]:\"#\"==a.charAt(0)?\"RGB (\"+goog.color.hexToRgb(a).join(\", \")+\")\":a;return c},this)};goog.ui.ColorPalette.parseColor_=function(a){if(a)try{return goog.color.parse(a).hex}catch(b){}return null};goog.ui.ColorPicker=function(a,b){goog.ui.Component.call(this,a);this.colorPalette_=b||null;this.getHandler().listen(this,goog.ui.Component.EventType.ACTION,this.onColorPaletteAction_)};goog.inherits(goog.ui.ColorPicker,goog.ui.Component);goog.ui.ColorPicker.DEFAULT_NUM_COLS=5;goog.ui.ColorPicker.EventType={CHANGE:\"change\"};goog.ui.ColorPicker.prototype.focusable_=!0;goog.ui.ColorPicker.prototype.getColors=function(){return this.colorPalette_?this.colorPalette_.getColors():null};\ngoog.ui.ColorPicker.prototype.setColors=function(a){this.colorPalette_?this.colorPalette_.setColors(a):this.createColorPalette_(a)};goog.ui.ColorPicker.prototype.addColors=function(a){this.setColors(a)};goog.ui.ColorPicker.prototype.setSize=function(a){this.colorPalette_||this.createColorPalette_([]);this.colorPalette_.setSize(a)};goog.ui.ColorPicker.prototype.getSize=function(){return this.colorPalette_?this.colorPalette_.getSize():null};goog.ui.ColorPicker.prototype.setColumnCount=function(a){this.setSize(a)};\ngoog.ui.ColorPicker.prototype.getSelectedIndex=function(){return this.colorPalette_?this.colorPalette_.getSelectedIndex():-1};goog.ui.ColorPicker.prototype.setSelectedIndex=function(a){this.colorPalette_&&this.colorPalette_.setSelectedIndex(a)};goog.ui.ColorPicker.prototype.getSelectedColor=function(){return this.colorPalette_?this.colorPalette_.getSelectedColor():null};goog.ui.ColorPicker.prototype.setSelectedColor=function(a){this.colorPalette_&&this.colorPalette_.setSelectedColor(a)};\ngoog.ui.ColorPicker.prototype.isFocusable=function(){return this.focusable_};goog.ui.ColorPicker.prototype.setFocusable=function(a){this.focusable_=a;this.colorPalette_&&this.colorPalette_.setSupportedState(goog.ui.Component.State.FOCUSED,a)};goog.ui.ColorPicker.prototype.canDecorate=function(a){return!1};\ngoog.ui.ColorPicker.prototype.enterDocument=function(){goog.ui.ColorPicker.superClass_.enterDocument.call(this);this.colorPalette_&&this.colorPalette_.render(this.getElement());this.getElement().unselectable=\"on\"};goog.ui.ColorPicker.prototype.disposeInternal=function(){goog.ui.ColorPicker.superClass_.disposeInternal.call(this);this.colorPalette_&&(this.colorPalette_.dispose(),this.colorPalette_=null)};goog.ui.ColorPicker.prototype.focus=function(){this.colorPalette_&&this.colorPalette_.getElement().focus()};\ngoog.ui.ColorPicker.prototype.onColorPaletteAction_=function(a){a.stopPropagation();this.dispatchEvent(goog.ui.ColorPicker.EventType.CHANGE)};goog.ui.ColorPicker.prototype.createColorPalette_=function(a){a=new goog.ui.ColorPalette(a,null,this.getDomHelper());a.setSize(goog.ui.ColorPicker.DEFAULT_NUM_COLS);a.setSupportedState(goog.ui.Component.State.FOCUSED,this.focusable_);this.addChild(a);this.colorPalette_=a;this.isInDocument()&&this.colorPalette_.render(this.getElement())};\ngoog.ui.ColorPicker.createSimpleColorGrid=function(a){a=new goog.ui.ColorPicker(a);a.setSize(7);a.setColors(goog.ui.ColorPicker.SIMPLE_GRID_COLORS);return a};goog.ui.ColorPicker.SIMPLE_GRID_COLORS=\"#ffffff #cccccc #c0c0c0 #999999 #666666 #333333 #000000 #ffcccc #ff6666 #ff0000 #cc0000 #990000 #660000 #330000 #ffcc99 #ff9966 #ff9900 #ff6600 #cc6600 #993300 #663300 #ffff99 #ffff66 #ffcc66 #ffcc33 #cc9933 #996633 #663333 #ffffcc #ffff33 #ffff00 #ffcc00 #999900 #666600 #333300 #99ff99 #66ff99 #33ff33 #33cc00 #009900 #006600 #003300 #99ffff #33ffff #66cccc #00cccc #339999 #336666 #003333 #ccffff #66ffff #33ccff #3366ff #3333ff #000099 #000066 #ccccff #9999ff #6666cc #6633ff #6600cc #333399 #330099 #ffccff #ff99ff #cc66cc #cc33cc #993399 #663366 #330033\".split(\" \");goog.events.FocusHandler=function(a){goog.events.EventTarget.call(this);this.element_=a;a=goog.userAgent.IE?\"focusout\":\"blur\";this.listenKeyIn_=goog.events.listen(this.element_,goog.userAgent.IE?\"focusin\":\"focus\",this,!goog.userAgent.IE);this.listenKeyOut_=goog.events.listen(this.element_,a,this,!goog.userAgent.IE)};goog.inherits(goog.events.FocusHandler,goog.events.EventTarget);goog.events.FocusHandler.EventType={FOCUSIN:\"focusin\",FOCUSOUT:\"focusout\"};\ngoog.events.FocusHandler.prototype.handleEvent=function(a){var b=a.getBrowserEvent();b=new goog.events.BrowserEvent(b);b.type=\"focusin\"==a.type||\"focus\"==a.type?goog.events.FocusHandler.EventType.FOCUSIN:goog.events.FocusHandler.EventType.FOCUSOUT;this.dispatchEvent(b)};goog.events.FocusHandler.prototype.disposeInternal=function(){goog.events.FocusHandler.superClass_.disposeInternal.call(this);goog.events.unlistenByKey(this.listenKeyIn_);goog.events.unlistenByKey(this.listenKeyOut_);delete this.element_};goog.debug.LogRecord=function(a,b,c,d,e){this.reset(a,b,c,d,e)};goog.debug.LogRecord.prototype.sequenceNumber_=0;goog.debug.LogRecord.prototype.exception_=null;goog.debug.LogRecord.ENABLE_SEQUENCE_NUMBERS=!0;goog.debug.LogRecord.nextSequenceNumber_=0;\ngoog.debug.LogRecord.prototype.reset=function(a,b,c,d,e){goog.debug.LogRecord.ENABLE_SEQUENCE_NUMBERS&&(this.sequenceNumber_=\"number\"==typeof e?e:goog.debug.LogRecord.nextSequenceNumber_++);this.time_=d||goog.now();this.level_=a;this.msg_=b;this.loggerName_=c;delete this.exception_};goog.debug.LogRecord.prototype.getLoggerName=function(){return this.loggerName_};goog.debug.LogRecord.prototype.getException=function(){return this.exception_};\ngoog.debug.LogRecord.prototype.setException=function(a){this.exception_=a};goog.debug.LogRecord.prototype.setLoggerName=function(a){this.loggerName_=a};goog.debug.LogRecord.prototype.getLevel=function(){return this.level_};goog.debug.LogRecord.prototype.setLevel=function(a){this.level_=a};goog.debug.LogRecord.prototype.getMessage=function(){return this.msg_};goog.debug.LogRecord.prototype.setMessage=function(a){this.msg_=a};goog.debug.LogRecord.prototype.getMillis=function(){return this.time_};\ngoog.debug.LogRecord.prototype.setMillis=function(a){this.time_=a};goog.debug.LogRecord.prototype.getSequenceNumber=function(){return this.sequenceNumber_};goog.debug.LogBuffer=function(){goog.asserts.assert(goog.debug.LogBuffer.isBufferingEnabled(),\"Cannot use goog.debug.LogBuffer without defining goog.debug.LogBuffer.CAPACITY.\");this.clear()};goog.debug.LogBuffer.getInstance=function(){goog.debug.LogBuffer.instance_||(goog.debug.LogBuffer.instance_=new goog.debug.LogBuffer);return goog.debug.LogBuffer.instance_};goog.debug.LogBuffer.CAPACITY=0;\ngoog.debug.LogBuffer.prototype.addRecord=function(a,b,c){var d=(this.curIndex_+1)%goog.debug.LogBuffer.CAPACITY;this.curIndex_=d;if(this.isFull_)return d=this.buffer_[d],d.reset(a,b,c),d;this.isFull_=d==goog.debug.LogBuffer.CAPACITY-1;return this.buffer_[d]=new goog.debug.LogRecord(a,b,c)};goog.debug.LogBuffer.isBufferingEnabled=function(){return 0<goog.debug.LogBuffer.CAPACITY};\ngoog.debug.LogBuffer.prototype.clear=function(){this.buffer_=Array(goog.debug.LogBuffer.CAPACITY);this.curIndex_=-1;this.isFull_=!1};goog.debug.LogBuffer.prototype.forEachRecord=function(a){var b=this.buffer_;if(b[0]){var c=this.curIndex_,d=this.isFull_?c:-1;do d=(d+1)%goog.debug.LogBuffer.CAPACITY,a(b[d]);while(d!=c)}};goog.debug.Logger=function(a){this.name_=a;this.handlers_=this.children_=this.level_=this.parent_=null};goog.debug.Logger.ROOT_LOGGER_NAME=\"\";goog.debug.Logger.ENABLE_HIERARCHY=!0;goog.debug.Logger.ENABLE_HIERARCHY||(goog.debug.Logger.rootHandlers_=[]);goog.debug.Logger.Level=function(a,b){this.name=a;this.value=b};goog.debug.Logger.Level.prototype.toString=function(){return this.name};goog.debug.Logger.Level.OFF=new goog.debug.Logger.Level(\"OFF\",Infinity);\ngoog.debug.Logger.Level.SHOUT=new goog.debug.Logger.Level(\"SHOUT\",1200);goog.debug.Logger.Level.SEVERE=new goog.debug.Logger.Level(\"SEVERE\",1E3);goog.debug.Logger.Level.WARNING=new goog.debug.Logger.Level(\"WARNING\",900);goog.debug.Logger.Level.INFO=new goog.debug.Logger.Level(\"INFO\",800);goog.debug.Logger.Level.CONFIG=new goog.debug.Logger.Level(\"CONFIG\",700);goog.debug.Logger.Level.FINE=new goog.debug.Logger.Level(\"FINE\",500);goog.debug.Logger.Level.FINER=new goog.debug.Logger.Level(\"FINER\",400);\ngoog.debug.Logger.Level.FINEST=new goog.debug.Logger.Level(\"FINEST\",300);goog.debug.Logger.Level.ALL=new goog.debug.Logger.Level(\"ALL\",0);goog.debug.Logger.Level.PREDEFINED_LEVELS=[goog.debug.Logger.Level.OFF,goog.debug.Logger.Level.SHOUT,goog.debug.Logger.Level.SEVERE,goog.debug.Logger.Level.WARNING,goog.debug.Logger.Level.INFO,goog.debug.Logger.Level.CONFIG,goog.debug.Logger.Level.FINE,goog.debug.Logger.Level.FINER,goog.debug.Logger.Level.FINEST,goog.debug.Logger.Level.ALL];\ngoog.debug.Logger.Level.predefinedLevelsCache_=null;goog.debug.Logger.Level.createPredefinedLevelsCache_=function(){goog.debug.Logger.Level.predefinedLevelsCache_={};for(var a=0,b;b=goog.debug.Logger.Level.PREDEFINED_LEVELS[a];a++)goog.debug.Logger.Level.predefinedLevelsCache_[b.value]=b,goog.debug.Logger.Level.predefinedLevelsCache_[b.name]=b};\ngoog.debug.Logger.Level.getPredefinedLevel=function(a){goog.debug.Logger.Level.predefinedLevelsCache_||goog.debug.Logger.Level.createPredefinedLevelsCache_();return goog.debug.Logger.Level.predefinedLevelsCache_[a]||null};\ngoog.debug.Logger.Level.getPredefinedLevelByValue=function(a){goog.debug.Logger.Level.predefinedLevelsCache_||goog.debug.Logger.Level.createPredefinedLevelsCache_();if(a in goog.debug.Logger.Level.predefinedLevelsCache_)return goog.debug.Logger.Level.predefinedLevelsCache_[a];for(var b=0;b<goog.debug.Logger.Level.PREDEFINED_LEVELS.length;++b){var c=goog.debug.Logger.Level.PREDEFINED_LEVELS[b];if(c.value<=a)return c}return null};goog.debug.Logger.getLogger=function(a){return goog.debug.LogManager.getLogger(a)};\ngoog.debug.Logger.logToProfilers=function(a){var b=goog.global.console;b&&b.timeStamp&&b.timeStamp(a);(b=goog.global.msWriteProfilerMark)&&b(a)};goog.debug.Logger.prototype.getName=function(){return this.name_};\ngoog.debug.Logger.prototype.addHandler=function(a){goog.debug.LOGGING_ENABLED&&(goog.debug.Logger.ENABLE_HIERARCHY?(this.handlers_||(this.handlers_=[]),this.handlers_.push(a)):(goog.asserts.assert(!this.name_,\"Cannot call addHandler on a non-root logger when goog.debug.Logger.ENABLE_HIERARCHY is false.\"),goog.debug.Logger.rootHandlers_.push(a)))};\ngoog.debug.Logger.prototype.removeHandler=function(a){if(goog.debug.LOGGING_ENABLED){var b=goog.debug.Logger.ENABLE_HIERARCHY?this.handlers_:goog.debug.Logger.rootHandlers_;return!!b&&goog.array.remove(b,a)}return!1};goog.debug.Logger.prototype.getParent=function(){return this.parent_};goog.debug.Logger.prototype.getChildren=function(){this.children_||(this.children_={});return this.children_};\ngoog.debug.Logger.prototype.setLevel=function(a){goog.debug.LOGGING_ENABLED&&(goog.debug.Logger.ENABLE_HIERARCHY?this.level_=a:(goog.asserts.assert(!this.name_,\"Cannot call setLevel() on a non-root logger when goog.debug.Logger.ENABLE_HIERARCHY is false.\"),goog.debug.Logger.rootLevel_=a))};goog.debug.Logger.prototype.getLevel=function(){return goog.debug.LOGGING_ENABLED?this.level_:goog.debug.Logger.Level.OFF};\ngoog.debug.Logger.prototype.getEffectiveLevel=function(){if(!goog.debug.LOGGING_ENABLED)return goog.debug.Logger.Level.OFF;if(!goog.debug.Logger.ENABLE_HIERARCHY)return goog.debug.Logger.rootLevel_;if(this.level_)return this.level_;if(this.parent_)return this.parent_.getEffectiveLevel();goog.asserts.fail(\"Root logger has no level set.\");return null};goog.debug.Logger.prototype.isLoggable=function(a){return goog.debug.LOGGING_ENABLED&&a.value>=this.getEffectiveLevel().value};\ngoog.debug.Logger.prototype.log=function(a,b,c){goog.debug.LOGGING_ENABLED&&this.isLoggable(a)&&(goog.isFunction(b)&&(b=b()),this.doLogRecord_(this.getLogRecord(a,b,c)))};goog.debug.Logger.prototype.getLogRecord=function(a,b,c){a=goog.debug.LogBuffer.isBufferingEnabled()?goog.debug.LogBuffer.getInstance().addRecord(a,b,this.name_):new goog.debug.LogRecord(a,String(b),this.name_);c&&a.setException(c);return a};\ngoog.debug.Logger.prototype.shout=function(a,b){goog.debug.LOGGING_ENABLED&&this.log(goog.debug.Logger.Level.SHOUT,a,b)};goog.debug.Logger.prototype.severe=function(a,b){goog.debug.LOGGING_ENABLED&&this.log(goog.debug.Logger.Level.SEVERE,a,b)};goog.debug.Logger.prototype.warning=function(a,b){goog.debug.LOGGING_ENABLED&&this.log(goog.debug.Logger.Level.WARNING,a,b)};goog.debug.Logger.prototype.info=function(a,b){goog.debug.LOGGING_ENABLED&&this.log(goog.debug.Logger.Level.INFO,a,b)};\ngoog.debug.Logger.prototype.config=function(a,b){goog.debug.LOGGING_ENABLED&&this.log(goog.debug.Logger.Level.CONFIG,a,b)};goog.debug.Logger.prototype.fine=function(a,b){goog.debug.LOGGING_ENABLED&&this.log(goog.debug.Logger.Level.FINE,a,b)};goog.debug.Logger.prototype.finer=function(a,b){goog.debug.LOGGING_ENABLED&&this.log(goog.debug.Logger.Level.FINER,a,b)};goog.debug.Logger.prototype.finest=function(a,b){goog.debug.LOGGING_ENABLED&&this.log(goog.debug.Logger.Level.FINEST,a,b)};\ngoog.debug.Logger.prototype.logRecord=function(a){goog.debug.LOGGING_ENABLED&&this.isLoggable(a.getLevel())&&this.doLogRecord_(a)};goog.debug.Logger.prototype.doLogRecord_=function(a){goog.debug.Logger.logToProfilers(\"log:\"+a.getMessage());if(goog.debug.Logger.ENABLE_HIERARCHY)for(var b=this;b;)b.callPublish_(a),b=b.getParent();else{b=0;for(var c;c=goog.debug.Logger.rootHandlers_[b++];)c(a)}};goog.debug.Logger.prototype.callPublish_=function(a){if(this.handlers_)for(var b=0,c;c=this.handlers_[b];b++)c(a)};\ngoog.debug.Logger.prototype.setParent_=function(a){this.parent_=a};goog.debug.Logger.prototype.addChild_=function(a,b){this.getChildren()[a]=b};goog.debug.LogManager={};goog.debug.LogManager.loggers_={};goog.debug.LogManager.rootLogger_=null;\ngoog.debug.LogManager.initialize=function(){goog.debug.LogManager.rootLogger_||(goog.debug.LogManager.rootLogger_=new goog.debug.Logger(goog.debug.Logger.ROOT_LOGGER_NAME),goog.debug.LogManager.loggers_[goog.debug.Logger.ROOT_LOGGER_NAME]=goog.debug.LogManager.rootLogger_,goog.debug.LogManager.rootLogger_.setLevel(goog.debug.Logger.Level.CONFIG))};goog.debug.LogManager.getLoggers=function(){return goog.debug.LogManager.loggers_};\ngoog.debug.LogManager.getRoot=function(){goog.debug.LogManager.initialize();return goog.debug.LogManager.rootLogger_};goog.debug.LogManager.getLogger=function(a){goog.debug.LogManager.initialize();return goog.debug.LogManager.loggers_[a]||goog.debug.LogManager.createLogger_(a)};goog.debug.LogManager.createFunctionForCatchErrors=function(a){return function(b){(a||goog.debug.LogManager.getRoot()).severe(\"Error: \"+b.message+\" (\"+b.fileName+\" @ Line: \"+b.line+\")\")}};\ngoog.debug.LogManager.createLogger_=function(a){var b=new goog.debug.Logger(a);if(goog.debug.Logger.ENABLE_HIERARCHY){var c=a.lastIndexOf(\".\"),d=a.substr(0,c);c=a.substr(c+1);d=goog.debug.LogManager.getLogger(d);d.addChild_(c,b);b.setParent_(d)}return goog.debug.LogManager.loggers_[a]=b};goog.log={};goog.log.ENABLED=goog.debug.LOGGING_ENABLED;goog.log.ROOT_LOGGER_NAME=goog.debug.Logger.ROOT_LOGGER_NAME;goog.log.Logger=goog.debug.Logger;goog.log.Level=goog.debug.Logger.Level;goog.log.LogRecord=goog.debug.LogRecord;goog.log.getLogger=function(a,b){if(goog.log.ENABLED){var c=goog.debug.LogManager.getLogger(a);b&&c&&c.setLevel(b);return c}return null};goog.log.addHandler=function(a,b){goog.log.ENABLED&&a&&a.addHandler(b)};\ngoog.log.removeHandler=function(a,b){return goog.log.ENABLED&&a?a.removeHandler(b):!1};goog.log.log=function(a,b,c,d){goog.log.ENABLED&&a&&a.log(b,c,d)};goog.log.error=function(a,b,c){goog.log.ENABLED&&a&&a.severe(b,c)};goog.log.warning=function(a,b,c){goog.log.ENABLED&&a&&a.warning(b,c)};goog.log.info=function(a,b,c){goog.log.ENABLED&&a&&a.info(b,c)};goog.log.fine=function(a,b,c){goog.log.ENABLED&&a&&a.fine(b,c)};goog.string.StringBuffer=function(a,b){null!=a&&this.append.apply(this,arguments)};goog.string.StringBuffer.prototype.buffer_=\"\";goog.string.StringBuffer.prototype.set=function(a){this.buffer_=\"\"+a};goog.string.StringBuffer.prototype.append=function(a,b,c){this.buffer_+=String(a);if(null!=b)for(var d=1;d<arguments.length;d++)this.buffer_+=arguments[d];return this};goog.string.StringBuffer.prototype.clear=function(){this.buffer_=\"\"};goog.string.StringBuffer.prototype.getLength=function(){return this.buffer_.length};\ngoog.string.StringBuffer.prototype.toString=function(){return this.buffer_};goog.ui.tree={};goog.ui.tree.BaseNode=function(a,b,c){goog.ui.Component.call(this,c);this.config_=b||goog.ui.tree.BaseNode.defaultConfig;this.html_=goog.html.SafeHtml.htmlEscapePreservingNewlines(a);this.expanded_=this.selected_=!1;this.toolTip_=null;this.afterLabelHtml_=goog.html.SafeHtml.EMPTY;this.isUserCollapsible_=!0;this.depth_=-1};goog.inherits(goog.ui.tree.BaseNode,goog.ui.Component);\ngoog.ui.tree.BaseNode.EventType={BEFORE_EXPAND:\"beforeexpand\",EXPAND:\"expand\",BEFORE_COLLAPSE:\"beforecollapse\",COLLAPSE:\"collapse\"};goog.ui.tree.BaseNode.allNodes={};goog.ui.tree.BaseNode.prototype.disposeInternal=function(){goog.ui.tree.BaseNode.superClass_.disposeInternal.call(this);this.tree&&(this.tree.removeNode(this),this.tree=null);this.setElementInternal(null)};\ngoog.ui.tree.BaseNode.prototype.initAccessibility=function(){var a=this.getElement();if(a){var b=this.getLabelElement();b&&!b.id&&(b.id=this.getId()+\".label\");goog.a11y.aria.setRole(a,\"treeitem\");goog.a11y.aria.setState(a,\"selected\",!1);goog.a11y.aria.setState(a,\"level\",this.getDepth());b&&goog.a11y.aria.setState(a,\"labelledby\",b.id);(b=this.getIconElement())&&goog.a11y.aria.setRole(b,\"presentation\");(b=this.getExpandIconElement())&&goog.a11y.aria.setRole(b,\"presentation\");if(b=this.getChildrenElement())if(goog.a11y.aria.setRole(b,\n\"group\"),b.hasChildNodes())for(goog.a11y.aria.setState(a,goog.a11y.aria.State.EXPANDED,!1),a=this.getChildCount(),b=1;b<=a;b++){var c=this.getChildAt(b-1).getElement();goog.asserts.assert(c,\"The child element cannot be null\");goog.a11y.aria.setState(c,\"setsize\",a);goog.a11y.aria.setState(c,\"posinset\",b)}}};goog.ui.tree.BaseNode.prototype.createDom=function(){var a=this.getDomHelper().safeHtmlToNode(this.toSafeHtml());this.setElementInternal(a)};\ngoog.ui.tree.BaseNode.prototype.enterDocument=function(){goog.ui.tree.BaseNode.superClass_.enterDocument.call(this);goog.ui.tree.BaseNode.allNodes[this.getId()]=this;this.initAccessibility()};goog.ui.tree.BaseNode.prototype.exitDocument=function(){goog.ui.tree.BaseNode.superClass_.exitDocument.call(this);delete goog.ui.tree.BaseNode.allNodes[this.getId()]};\ngoog.ui.tree.BaseNode.prototype.addChildAt=function(a,b,c){goog.asserts.assert(!a.getParent());goog.asserts.assertInstanceof(a,goog.ui.tree.BaseNode);c=this.getChildAt(b-1);var d=this.getChildAt(b);goog.ui.tree.BaseNode.superClass_.addChildAt.call(this,a,b);a.previousSibling_=c;a.nextSibling_=d;c?c.nextSibling_=a:this.firstChild_=a;d?d.previousSibling_=a:this.lastChild_=a;(b=this.getTree())&&a.setTreeInternal(b);a.setDepth_(this.getDepth()+1);if(b=this.getElement())if(this.updateExpandIcon(),goog.a11y.aria.setState(b,\ngoog.a11y.aria.State.EXPANDED,this.getExpanded()),this.getExpanded()){b=this.getChildrenElement();a.getElement()||a.createDom();var e=a.getElement(),f=d&&d.getElement();b.insertBefore(e,f);this.isInDocument()&&a.enterDocument();d||(c?c.updateExpandIcon():(goog.style.setElementShown(b,!0),this.setExpanded(this.getExpanded())))}};\ngoog.ui.tree.BaseNode.prototype.add=function(a,b){goog.asserts.assert(!b||b.getParent()==this,\"Can only add nodes before siblings\");a.getParent()&&a.getParent().removeChild(a);this.addChildAt(a,b?this.indexOfChild(b):this.getChildCount());return a};\ngoog.ui.tree.BaseNode.prototype.removeChild=function(a,b){var c=this.getTree(),d=c?c.getSelectedItem():null;if(d==a||a.contains(d))c.hasFocus()?(this.select(),goog.Timer.callOnce(this.onTimeoutSelect_,10,this)):this.select();goog.ui.tree.BaseNode.superClass_.removeChild.call(this,a);this.lastChild_==a&&(this.lastChild_=a.previousSibling_);this.firstChild_==a&&(this.firstChild_=a.nextSibling_);a.previousSibling_&&(a.previousSibling_.nextSibling_=a.nextSibling_);a.nextSibling_&&(a.nextSibling_.previousSibling_=\na.previousSibling_);d=a.isLastSibling();a.tree=null;a.depth_=-1;if(c&&(c.removeNode(a),this.isInDocument())){c=this.getChildrenElement();if(a.isInDocument()){var e=a.getElement();c.removeChild(e);a.exitDocument()}d&&(d=this.getLastChild())&&d.updateExpandIcon();this.hasChildren()||(c.style.display=\"none\",this.updateExpandIcon(),this.updateIcon_(),(d=this.getElement())&&goog.a11y.aria.removeState(d,goog.a11y.aria.State.EXPANDED))}return a};goog.ui.tree.BaseNode.prototype.remove=goog.ui.tree.BaseNode.prototype.removeChild;\ngoog.ui.tree.BaseNode.prototype.onTimeoutSelect_=function(){this.select()};goog.ui.tree.BaseNode.prototype.getTree=goog.abstractMethod;goog.ui.tree.BaseNode.prototype.getDepth=function(){var a=this.depth_;0>a&&(a=this.computeDepth_(),this.setDepth_(a));return a};goog.ui.tree.BaseNode.prototype.computeDepth_=function(){var a=this.getParent();return a?a.getDepth()+1:0};\ngoog.ui.tree.BaseNode.prototype.setDepth_=function(a){if(a!=this.depth_){this.depth_=a;var b=this.getRowElement();if(b){var c=this.getPixelIndent_()+\"px\";this.isRightToLeft()?b.style.paddingRight=c:b.style.paddingLeft=c}this.forEachChild(function(b){b.setDepth_(a+1)})}};goog.ui.tree.BaseNode.prototype.contains=function(a){for(;a;){if(a==this)return!0;a=a.getParent()}return!1};goog.ui.tree.BaseNode.EMPTY_CHILDREN_=[];\ngoog.ui.tree.BaseNode.prototype.getChildren=function(){var a=[];this.forEachChild(function(b){a.push(b)});return a};goog.ui.tree.BaseNode.prototype.getFirstChild=function(){return this.getChildAt(0)};goog.ui.tree.BaseNode.prototype.getLastChild=function(){return this.getChildAt(this.getChildCount()-1)};goog.ui.tree.BaseNode.prototype.getPreviousSibling=function(){return this.previousSibling_};goog.ui.tree.BaseNode.prototype.getNextSibling=function(){return this.nextSibling_};\ngoog.ui.tree.BaseNode.prototype.isLastSibling=function(){return!this.nextSibling_};goog.ui.tree.BaseNode.prototype.isSelected=function(){return this.selected_};goog.ui.tree.BaseNode.prototype.select=function(){var a=this.getTree();a&&a.setSelectedItem(this)};goog.ui.tree.BaseNode.prototype.deselect=goog.nullFunction;\ngoog.ui.tree.BaseNode.prototype.setSelectedInternal=function(a){if(this.selected_!=a){this.selected_=a;this.updateRow();var b=this.getElement();b&&(goog.a11y.aria.setState(b,\"selected\",a),a&&(a=this.getTree().getElement(),goog.asserts.assert(a,\"The DOM element for the tree cannot be null\"),goog.a11y.aria.setState(a,\"activedescendant\",this.getId())))}};goog.ui.tree.BaseNode.prototype.getExpanded=function(){return this.expanded_};\ngoog.ui.tree.BaseNode.prototype.setExpandedInternal=function(a){this.expanded_=a};\ngoog.ui.tree.BaseNode.prototype.setExpanded=function(a){var b=a!=this.expanded_;if(!b||this.dispatchEvent(a?goog.ui.tree.BaseNode.EventType.BEFORE_EXPAND:goog.ui.tree.BaseNode.EventType.BEFORE_COLLAPSE)){this.expanded_=a;var c=this.getTree();var d=this.getElement();if(this.hasChildren()){if(!a&&c&&this.contains(c.getSelectedItem())&&this.select(),d){if(c=this.getChildrenElement())if(goog.style.setElementShown(c,a),goog.a11y.aria.setState(d,goog.a11y.aria.State.EXPANDED,a),a&&this.isInDocument()&&\n!c.hasChildNodes()){var e=[];this.forEachChild(function(a){e.push(a.toSafeHtml())});goog.dom.safe.setInnerHtml(c,goog.html.SafeHtml.concat(e));this.forEachChild(function(a){a.enterDocument()})}this.updateExpandIcon()}}else(c=this.getChildrenElement())&&goog.style.setElementShown(c,!1);d&&this.updateIcon_();b&&this.dispatchEvent(a?goog.ui.tree.BaseNode.EventType.EXPAND:goog.ui.tree.BaseNode.EventType.COLLAPSE)}};goog.ui.tree.BaseNode.prototype.toggle=function(){this.setExpanded(!this.getExpanded())};\ngoog.ui.tree.BaseNode.prototype.expand=function(){this.setExpanded(!0)};goog.ui.tree.BaseNode.prototype.collapse=function(){this.setExpanded(!1)};goog.ui.tree.BaseNode.prototype.collapseChildren=function(){this.forEachChild(function(a){a.collapseAll()})};goog.ui.tree.BaseNode.prototype.collapseAll=function(){this.collapseChildren();this.collapse()};goog.ui.tree.BaseNode.prototype.expandChildren=function(){this.forEachChild(function(a){a.expandAll()})};\ngoog.ui.tree.BaseNode.prototype.expandAll=function(){this.expandChildren();this.expand()};goog.ui.tree.BaseNode.prototype.reveal=function(){var a=this.getParent();a&&(a.setExpanded(!0),a.reveal())};goog.ui.tree.BaseNode.prototype.setIsUserCollapsible=function(a){(this.isUserCollapsible_=a)||this.expand();this.getElement()&&this.updateExpandIcon()};goog.ui.tree.BaseNode.prototype.isUserCollapsible=function(){return this.isUserCollapsible_};\ngoog.ui.tree.BaseNode.prototype.toSafeHtml=function(){var a=this.getTree(),b=!a.getShowLines()||a==this.getParent()&&!a.getShowRootLines()?this.config_.cssChildrenNoLines:this.config_.cssChildren;a=this.getExpanded()&&this.hasChildren();b={\"class\":b,style:this.getLineStyle()};var c=[];a&&this.forEachChild(function(a){c.push(a.toSafeHtml())});a=goog.html.SafeHtml.create(\"div\",b,c);return goog.html.SafeHtml.create(\"div\",{\"class\":this.config_.cssItem,id:this.getId()},[this.getRowSafeHtml(),a])};\ngoog.ui.tree.BaseNode.prototype.getPixelIndent_=function(){return Math.max(0,(this.getDepth()-1)*this.config_.indentWidth)};goog.ui.tree.BaseNode.prototype.getRowSafeHtml=function(){var a={};a[\"padding-\"+(this.isRightToLeft()?\"right\":\"left\")]=this.getPixelIndent_()+\"px\";a={\"class\":this.getRowClassName(),style:a};var b=[this.getExpandIconSafeHtml(),this.getIconSafeHtml(),this.getLabelSafeHtml()];return goog.html.SafeHtml.create(\"div\",a,b)};\ngoog.ui.tree.BaseNode.prototype.getRowClassName=function(){var a=this.isSelected()?\" \"+this.config_.cssSelectedRow:\"\";return this.config_.cssTreeRow+a};goog.ui.tree.BaseNode.prototype.getLabelSafeHtml=function(){var a=goog.html.SafeHtml.create(\"span\",{\"class\":this.config_.cssItemLabel,title:this.getToolTip()||null},this.getSafeHtml());return goog.html.SafeHtml.concat(a,goog.html.SafeHtml.create(\"span\",{},this.getAfterLabelSafeHtml()))};goog.ui.tree.BaseNode.prototype.getAfterLabelHtml=function(){return goog.html.SafeHtml.unwrap(this.getAfterLabelSafeHtml())};\ngoog.ui.tree.BaseNode.prototype.getAfterLabelSafeHtml=function(){return this.afterLabelHtml_};goog.ui.tree.BaseNode.prototype.setAfterLabelSafeHtml=function(a){this.afterLabelHtml_=a;var b=this.getAfterLabelElement();b&&goog.dom.safe.setInnerHtml(b,a)};goog.ui.tree.BaseNode.prototype.getIconSafeHtml=function(){return goog.html.SafeHtml.create(\"span\",{style:{display:\"inline-block\"},\"class\":this.getCalculatedIconClass()})};goog.ui.tree.BaseNode.prototype.getCalculatedIconClass=goog.abstractMethod;\ngoog.ui.tree.BaseNode.prototype.getExpandIconSafeHtml=function(){return goog.html.SafeHtml.create(\"span\",{type:\"expand\",style:{display:\"inline-block\"},\"class\":this.getExpandIconClass()})};\ngoog.ui.tree.BaseNode.prototype.getExpandIconClass=function(){var a=this.getTree(),b=!a.getShowLines()||a==this.getParent()&&!a.getShowRootLines(),c=this.config_,d=new goog.string.StringBuffer;d.append(c.cssTreeIcon,\" \",c.cssExpandTreeIcon,\" \");if(this.hasChildren()){var e=0;a.getShowExpandIcons()&&this.isUserCollapsible_&&(e=this.getExpanded()?2:1);b||(e=this.isLastSibling()?e+4:e+8);switch(e){case 1:d.append(c.cssExpandTreeIconPlus);break;case 2:d.append(c.cssExpandTreeIconMinus);break;case 4:d.append(c.cssExpandTreeIconL);\nbreak;case 5:d.append(c.cssExpandTreeIconLPlus);break;case 6:d.append(c.cssExpandTreeIconLMinus);break;case 8:d.append(c.cssExpandTreeIconT);break;case 9:d.append(c.cssExpandTreeIconTPlus);break;case 10:d.append(c.cssExpandTreeIconTMinus);break;default:d.append(c.cssExpandTreeIconBlank)}}else b?d.append(c.cssExpandTreeIconBlank):this.isLastSibling()?d.append(c.cssExpandTreeIconL):d.append(c.cssExpandTreeIconT);return d.toString()};\ngoog.ui.tree.BaseNode.prototype.getLineStyle=function(){var a=this.getExpanded()&&this.hasChildren();return goog.html.SafeStyle.create({\"background-position\":this.getBackgroundPosition(),display:a?null:\"none\"})};goog.ui.tree.BaseNode.prototype.getBackgroundPosition=function(){return(this.isLastSibling()?\"-100\":(this.getDepth()-1)*this.config_.indentWidth)+\"px 0\"};\ngoog.ui.tree.BaseNode.prototype.getElement=function(){var a=goog.ui.tree.BaseNode.superClass_.getElement.call(this);a||(a=this.getDomHelper().getElement(this.getId()),this.setElementInternal(a));return a};goog.ui.tree.BaseNode.prototype.getRowElement=function(){var a=this.getElement();return a?a.firstChild:null};goog.ui.tree.BaseNode.prototype.getExpandIconElement=function(){var a=this.getRowElement();return a?a.firstChild:null};\ngoog.ui.tree.BaseNode.prototype.getIconElement=function(){var a=this.getRowElement();return a?a.childNodes[1]:null};goog.ui.tree.BaseNode.prototype.getLabelElement=function(){var a=this.getRowElement();return a&&a.lastChild?a.lastChild.previousSibling:null};goog.ui.tree.BaseNode.prototype.getAfterLabelElement=function(){var a=this.getRowElement();return a?a.lastChild:null};goog.ui.tree.BaseNode.prototype.getChildrenElement=function(){var a=this.getElement();return a?a.lastChild:null};\ngoog.ui.tree.BaseNode.prototype.setIconClass=function(a){this.iconClass_=a;this.isInDocument()&&this.updateIcon_()};goog.ui.tree.BaseNode.prototype.getIconClass=function(){return this.iconClass_};goog.ui.tree.BaseNode.prototype.setExpandedIconClass=function(a){this.expandedIconClass_=a;this.isInDocument()&&this.updateIcon_()};goog.ui.tree.BaseNode.prototype.getExpandedIconClass=function(){return this.expandedIconClass_};goog.ui.tree.BaseNode.prototype.setText=function(a){this.setSafeHtml(goog.html.SafeHtml.htmlEscape(a))};\ngoog.ui.tree.BaseNode.prototype.getText=function(){return goog.string.unescapeEntities(goog.html.SafeHtml.unwrap(this.html_))};goog.ui.tree.BaseNode.prototype.setSafeHtml=function(a){this.html_=a;var b=this.getLabelElement();b&&goog.dom.safe.setInnerHtml(b,a);(a=this.getTree())&&a.setNode(this)};goog.ui.tree.BaseNode.prototype.getHtml=function(){return goog.html.SafeHtml.unwrap(this.getSafeHtml())};goog.ui.tree.BaseNode.prototype.getSafeHtml=function(){return this.html_};\ngoog.ui.tree.BaseNode.prototype.setToolTip=function(a){this.toolTip_=a;var b=this.getLabelElement();b&&(b.title=a)};goog.ui.tree.BaseNode.prototype.getToolTip=function(){return this.toolTip_};goog.ui.tree.BaseNode.prototype.updateRow=function(){var a=this.getRowElement();a&&(a.className=this.getRowClassName())};\ngoog.ui.tree.BaseNode.prototype.updateExpandIcon=function(){var a=this.getExpandIconElement();a&&(a.className=this.getExpandIconClass());if(a=this.getChildrenElement())a.style.backgroundPosition=this.getBackgroundPosition()};goog.ui.tree.BaseNode.prototype.updateIcon_=function(){this.getIconElement().className=this.getCalculatedIconClass()};\ngoog.ui.tree.BaseNode.prototype.onMouseDown=function(a){\"expand\"==a.target.getAttribute(\"type\")&&this.hasChildren()?this.isUserCollapsible_&&this.toggle():(this.select(),this.updateRow())};goog.ui.tree.BaseNode.prototype.onClick_=goog.events.Event.preventDefault;goog.ui.tree.BaseNode.prototype.onDoubleClick_=function(a){\"expand\"==a.target.getAttribute(\"type\")&&this.hasChildren()||this.isUserCollapsible_&&this.toggle()};\ngoog.ui.tree.BaseNode.prototype.onKeyDown=function(a){var b=!0;switch(a.keyCode){case goog.events.KeyCodes.RIGHT:if(a.altKey)break;this.hasChildren()&&(this.getExpanded()?this.getFirstChild().select():this.setExpanded(!0));break;case goog.events.KeyCodes.LEFT:if(a.altKey)break;if(this.hasChildren()&&this.getExpanded()&&this.isUserCollapsible_)this.setExpanded(!1);else{var c=this.getParent(),d=this.getTree();c&&(d.getShowRootNode()||c!=d)&&c.select()}break;case goog.events.KeyCodes.DOWN:(c=this.getNextShownNode())&&\nc.select();break;case goog.events.KeyCodes.UP:(c=this.getPreviousShownNode())&&c.select();break;default:b=!1}b&&(a.preventDefault(),(d=this.getTree())&&d.clearTypeAhead());return b};goog.ui.tree.BaseNode.prototype.getLastShownDescendant=function(){return this.getExpanded()&&this.hasChildren()?this.getLastChild().getLastShownDescendant():this};\ngoog.ui.tree.BaseNode.prototype.getNextShownNode=function(){if(this.hasChildren()&&this.getExpanded())return this.getFirstChild();for(var a=this,b;a!=this.getTree();){b=a.getNextSibling();if(null!=b)return b;a=a.getParent()}return null};goog.ui.tree.BaseNode.prototype.getPreviousShownNode=function(){var a=this.getPreviousSibling();if(null!=a)return a.getLastShownDescendant();a=this.getParent();var b=this.getTree();return!b.getShowRootNode()&&a==b||this==b?null:a};\ngoog.ui.tree.BaseNode.prototype.getClientData=goog.ui.tree.BaseNode.prototype.getModel;goog.ui.tree.BaseNode.prototype.setClientData=goog.ui.tree.BaseNode.prototype.setModel;goog.ui.tree.BaseNode.prototype.getConfig=function(){return this.config_};goog.ui.tree.BaseNode.prototype.setTreeInternal=function(a){this.tree!=a&&(this.tree=a,a.setNode(this),this.forEachChild(function(b){b.setTreeInternal(a)}))};\ngoog.ui.tree.BaseNode.defaultConfig={indentWidth:19,cssRoot:\"goog-tree-root goog-tree-item\",cssHideRoot:\"goog-tree-hide-root\",cssItem:\"goog-tree-item\",cssChildren:\"goog-tree-children\",cssChildrenNoLines:\"goog-tree-children-nolines\",cssTreeRow:\"goog-tree-row\",cssItemLabel:\"goog-tree-item-label\",cssTreeIcon:\"goog-tree-icon\",cssExpandTreeIcon:\"goog-tree-expand-icon\",cssExpandTreeIconPlus:\"goog-tree-expand-icon-plus\",cssExpandTreeIconMinus:\"goog-tree-expand-icon-minus\",cssExpandTreeIconTPlus:\"goog-tree-expand-icon-tplus\",\ncssExpandTreeIconTMinus:\"goog-tree-expand-icon-tminus\",cssExpandTreeIconLPlus:\"goog-tree-expand-icon-lplus\",cssExpandTreeIconLMinus:\"goog-tree-expand-icon-lminus\",cssExpandTreeIconT:\"goog-tree-expand-icon-t\",cssExpandTreeIconL:\"goog-tree-expand-icon-l\",cssExpandTreeIconBlank:\"goog-tree-expand-icon-blank\",cssExpandedFolderIcon:\"goog-tree-expanded-folder-icon\",cssCollapsedFolderIcon:\"goog-tree-collapsed-folder-icon\",cssFileIcon:\"goog-tree-file-icon\",cssExpandedRootIcon:\"goog-tree-expanded-folder-icon\",\ncssCollapsedRootIcon:\"goog-tree-collapsed-folder-icon\",cssSelectedRow:\"selected\"};goog.ui.tree.TreeNode=function(a,b,c){goog.ui.tree.BaseNode.call(this,a,b,c)};goog.inherits(goog.ui.tree.TreeNode,goog.ui.tree.BaseNode);goog.ui.tree.TreeNode.prototype.getTree=function(){if(this.tree)return this.tree;var a=this.getParent();return a&&(a=a.getTree())?(this.setTreeInternal(a),a):null};\ngoog.ui.tree.TreeNode.prototype.getCalculatedIconClass=function(){var a=this.getExpanded(),b=this.getExpandedIconClass();if(a&&b)return b;b=this.getIconClass();if(!a&&b)return b;b=this.getConfig();if(this.hasChildren()){if(a&&b.cssExpandedFolderIcon)return b.cssTreeIcon+\" \"+b.cssExpandedFolderIcon;if(!a&&b.cssCollapsedFolderIcon)return b.cssTreeIcon+\" \"+b.cssCollapsedFolderIcon}else if(b.cssFileIcon)return b.cssTreeIcon+\" \"+b.cssFileIcon;return\"\"};goog.structs={};goog.structs.getCount=function(a){return a.getCount&&\"function\"==typeof a.getCount?a.getCount():goog.isArrayLike(a)||goog.isString(a)?a.length:goog.object.getCount(a)};goog.structs.getValues=function(a){if(a.getValues&&\"function\"==typeof a.getValues)return a.getValues();if(goog.isString(a))return a.split(\"\");if(goog.isArrayLike(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return goog.object.getValues(a)};\ngoog.structs.getKeys=function(a){if(a.getKeys&&\"function\"==typeof a.getKeys)return a.getKeys();if(!a.getValues||\"function\"!=typeof a.getValues){if(goog.isArrayLike(a)||goog.isString(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return goog.object.getKeys(a)}};\ngoog.structs.contains=function(a,b){return a.contains&&\"function\"==typeof a.contains?a.contains(b):a.containsValue&&\"function\"==typeof a.containsValue?a.containsValue(b):goog.isArrayLike(a)||goog.isString(a)?goog.array.contains(a,b):goog.object.containsValue(a,b)};goog.structs.isEmpty=function(a){return a.isEmpty&&\"function\"==typeof a.isEmpty?a.isEmpty():goog.isArrayLike(a)||goog.isString(a)?goog.array.isEmpty(a):goog.object.isEmpty(a)};\ngoog.structs.clear=function(a){a.clear&&\"function\"==typeof a.clear?a.clear():goog.isArrayLike(a)?goog.array.clear(a):goog.object.clear(a)};goog.structs.forEach=function(a,b,c){if(a.forEach&&\"function\"==typeof a.forEach)a.forEach(b,c);else if(goog.isArrayLike(a)||goog.isString(a))goog.array.forEach(a,b,c);else for(var d=goog.structs.getKeys(a),e=goog.structs.getValues(a),f=e.length,g=0;g<f;g++)b.call(c,e[g],d&&d[g],a)};\ngoog.structs.filter=function(a,b,c){if(\"function\"==typeof a.filter)return a.filter(b,c);if(goog.isArrayLike(a)||goog.isString(a))return goog.array.filter(a,b,c);var d=goog.structs.getKeys(a),e=goog.structs.getValues(a),f=e.length;if(d){var g={};for(var h=0;h<f;h++)b.call(c,e[h],d[h],a)&&(g[d[h]]=e[h])}else for(g=[],h=0;h<f;h++)b.call(c,e[h],void 0,a)&&g.push(e[h]);return g};\ngoog.structs.map=function(a,b,c){if(\"function\"==typeof a.map)return a.map(b,c);if(goog.isArrayLike(a)||goog.isString(a))return goog.array.map(a,b,c);var d=goog.structs.getKeys(a),e=goog.structs.getValues(a),f=e.length;if(d){var g={};for(var h=0;h<f;h++)g[d[h]]=b.call(c,e[h],d[h],a)}else for(g=[],h=0;h<f;h++)g[h]=b.call(c,e[h],void 0,a);return g};\ngoog.structs.some=function(a,b,c){if(\"function\"==typeof a.some)return a.some(b,c);if(goog.isArrayLike(a)||goog.isString(a))return goog.array.some(a,b,c);for(var d=goog.structs.getKeys(a),e=goog.structs.getValues(a),f=e.length,g=0;g<f;g++)if(b.call(c,e[g],d&&d[g],a))return!0;return!1};\ngoog.structs.every=function(a,b,c){if(\"function\"==typeof a.every)return a.every(b,c);if(goog.isArrayLike(a)||goog.isString(a))return goog.array.every(a,b,c);for(var d=goog.structs.getKeys(a),e=goog.structs.getValues(a),f=e.length,g=0;g<f;g++)if(!b.call(c,e[g],d&&d[g],a))return!1;return!0};goog.structs.Trie=function(a){this.value_=void 0;this.childNodes_={};a&&this.setAll(a)};goog.structs.Trie.prototype.set=function(a,b){this.setOrAdd_(a,b,!1)};goog.structs.Trie.prototype.add=function(a,b){this.setOrAdd_(a,b,!0)};\ngoog.structs.Trie.prototype.setOrAdd_=function(a,b,c){for(var d=this,e=0;e<a.length;e++){var f=a.charAt(e);d.childNodes_[f]||(d.childNodes_[f]=new goog.structs.Trie);d=d.childNodes_[f]}if(c&&void 0!==d.value_)throw Error('The collection already contains the key \"'+a+'\"');d.value_=b};goog.structs.Trie.prototype.setAll=function(a){var b=goog.structs.getKeys(a);a=goog.structs.getValues(a);for(var c=0;c<b.length;c++)this.set(b[c],a[c])};\ngoog.structs.Trie.prototype.getChildNode_=function(a){for(var b=this,c=0;c<a.length;c++){var d=a.charAt(c);b=b.childNodes_[d];if(!b)return}return b};goog.structs.Trie.prototype.get=function(a){return(a=this.getChildNode_(a))?a.value_:void 0};goog.structs.Trie.prototype.getKeyAndPrefixes=function(a,b){var c=this,d={},e=b||0;void 0!==c.value_&&(d[e]=c.value_);for(;e<a.length;e++){var f=a.charAt(e);if(!(f in c.childNodes_))break;c=c.childNodes_[f];void 0!==c.value_&&(d[e]=c.value_)}return d};\ngoog.structs.Trie.prototype.getValues=function(){var a=[];this.getValuesInternal_(a);return a};goog.structs.Trie.prototype.getValuesInternal_=function(a){void 0!==this.value_&&a.push(this.value_);for(var b in this.childNodes_)this.childNodes_[b].getValuesInternal_(a)};goog.structs.Trie.prototype.getKeys=function(a){var b=[];if(a){for(var c=this,d=0;d<a.length;d++){var e=a.charAt(d);if(!c.childNodes_[e])return[];c=c.childNodes_[e]}c.getKeysInternal_(a,b)}else this.getKeysInternal_(\"\",b);return b};\ngoog.structs.Trie.prototype.getKeysInternal_=function(a,b){void 0!==this.value_&&b.push(a);for(var c in this.childNodes_)this.childNodes_[c].getKeysInternal_(a+c,b)};goog.structs.Trie.prototype.containsKey=function(a){return void 0!==this.get(a)};goog.structs.Trie.prototype.containsPrefix=function(a){return 0==a.length?!this.isEmpty():!!this.getChildNode_(a)};\ngoog.structs.Trie.prototype.containsValue=function(a){if(this.value_===a)return!0;for(var b in this.childNodes_)if(this.childNodes_[b].containsValue(a))return!0;return!1};goog.structs.Trie.prototype.clear=function(){this.childNodes_={};this.value_=void 0};\ngoog.structs.Trie.prototype.remove=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var e=a.charAt(d);if(!b.childNodes_[e])throw Error('The collection does not have the key \"'+a+'\"');c.push([b,e]);b=b.childNodes_[e]}a=b.value_;for(delete b.value_;0<c.length;)if(e=c.pop(),b=e[0],e=e[1],b.childNodes_[e].isEmpty())delete b.childNodes_[e];else break;return a};goog.structs.Trie.prototype.clone=function(){return new goog.structs.Trie(this)};goog.structs.Trie.prototype.getCount=function(){return goog.structs.getCount(this.getValues())};\ngoog.structs.Trie.prototype.isEmpty=function(){return void 0===this.value_&&goog.object.isEmpty(this.childNodes_)};goog.ui.tree.TypeAhead=function(){this.nodeMap_=new goog.structs.Trie;this.buffer_=\"\";this.matchingNodes_=this.matchingLabels_=null;this.matchingNodeIndex_=this.matchingLabelIndex_=0};goog.ui.tree.TypeAhead.Offset={DOWN:1,UP:-1};\ngoog.ui.tree.TypeAhead.prototype.handleNavigation=function(a){var b=!1;switch(a.keyCode){case goog.events.KeyCodes.DOWN:case goog.events.KeyCodes.UP:a.ctrlKey&&(this.jumpTo_(a.keyCode==goog.events.KeyCodes.DOWN?goog.ui.tree.TypeAhead.Offset.DOWN:goog.ui.tree.TypeAhead.Offset.UP),b=!0);break;case goog.events.KeyCodes.BACKSPACE:a=this.buffer_.length-1;b=!0;0<a?(this.buffer_=this.buffer_.substring(0,a),this.jumpToLabel_(this.buffer_)):0==a?this.buffer_=\"\":b=!1;break;case goog.events.KeyCodes.ESC:this.buffer_=\n\"\",b=!0}return b};goog.ui.tree.TypeAhead.prototype.handleTypeAheadChar=function(a){var b=!1;a.ctrlKey||a.altKey||(a=String.fromCharCode(a.charCode||a.keyCode).toLowerCase(),goog.string.isUnicodeChar(a)&&(\" \"!=a||this.buffer_)&&(this.buffer_+=a,b=this.jumpToLabel_(this.buffer_)));return b};\ngoog.ui.tree.TypeAhead.prototype.setNodeInMap=function(a){var b=a.getText();if(b&&!goog.string.isEmptyOrWhitespace(goog.string.makeSafe(b))){b=b.toLowerCase();var c=this.nodeMap_.get(b);c?c.push(a):this.nodeMap_.set(b,[a])}};\ngoog.ui.tree.TypeAhead.prototype.removeNodeFromMap=function(a){var b=a.getText();if(b&&!goog.string.isEmptyOrWhitespace(goog.string.makeSafe(b))){b=b.toLowerCase();var c=this.nodeMap_.get(b);if(c){for(var d=a.getChildCount(),e=0;e<d;e++)this.removeNodeFromMap(a.getChildAt(e));goog.array.remove(c,a);c.length||this.nodeMap_.remove(b)}}};\ngoog.ui.tree.TypeAhead.prototype.jumpToLabel_=function(a){var b=!1;(a=this.nodeMap_.getKeys(a))&&a.length&&(this.matchingLabelIndex_=this.matchingNodeIndex_=0,b=this.nodeMap_.get(a[0]),b=this.selectMatchingNode_(b))&&(this.matchingLabels_=a);return b};\ngoog.ui.tree.TypeAhead.prototype.jumpTo_=function(a){var b=!1,c=this.matchingLabels_;if(c){b=null;var d=!1;if(this.matchingNodes_){var e=this.matchingNodeIndex_+a;0<=e&&e<this.matchingNodes_.length?(this.matchingNodeIndex_=e,b=this.matchingNodes_):d=!0}b||(e=this.matchingLabelIndex_+a,0<=e&&e<c.length&&(this.matchingLabelIndex_=e),c.length>this.matchingLabelIndex_&&(b=this.nodeMap_.get(c[this.matchingLabelIndex_])),b&&b.length&&d&&(this.matchingNodeIndex_=a==goog.ui.tree.TypeAhead.Offset.UP?b.length-\n1:0));if(b=this.selectMatchingNode_(b))this.matchingLabels_=c}return b};goog.ui.tree.TypeAhead.prototype.selectMatchingNode_=function(a){if(a){if(this.matchingNodeIndex_<a.length){var b=a[this.matchingNodeIndex_];this.matchingNodes_=a}b&&(b.reveal(),b.select())}return!!b};goog.ui.tree.TypeAhead.prototype.clear=function(){this.buffer_=\"\"};goog.ui.tree.TreeControl=function(a,b,c){goog.ui.tree.BaseNode.call(this,a,b,c);this.setExpandedInternal(!0);this.setSelectedInternal(!0);this.selectedItem_=this;this.typeAhead_=new goog.ui.tree.TypeAhead;this.focusHandler_=this.keyHandler_=null;this.logger_=goog.log.getLogger(\"this\");this.focused_=!1;this.focusedNode_=null;this.showRootLines_=this.showRootNode_=this.showExpandIcons_=this.showLines_=!0;if(goog.userAgent.IE)try{document.execCommand(\"BackgroundImageCache\",!1,!0)}catch(d){goog.log.warning(this.logger_,\n\"Failed to enable background image cache\")}};goog.inherits(goog.ui.tree.TreeControl,goog.ui.tree.BaseNode);goog.ui.tree.TreeControl.prototype.getTree=function(){return this};goog.ui.tree.TreeControl.prototype.getDepth=function(){return 0};goog.ui.tree.TreeControl.prototype.reveal=function(){};goog.ui.tree.TreeControl.prototype.handleFocus_=function(a){this.focused_=!0;goog.dom.classlist.add(goog.asserts.assert(this.getElement()),\"focused\");this.selectedItem_&&this.selectedItem_.select()};\ngoog.ui.tree.TreeControl.prototype.handleBlur_=function(a){this.focused_=!1;goog.dom.classlist.remove(goog.asserts.assert(this.getElement()),\"focused\")};goog.ui.tree.TreeControl.prototype.hasFocus=function(){return this.focused_};goog.ui.tree.TreeControl.prototype.getExpanded=function(){return!this.showRootNode_||goog.ui.tree.TreeControl.superClass_.getExpanded.call(this)};\ngoog.ui.tree.TreeControl.prototype.setExpanded=function(a){this.showRootNode_?goog.ui.tree.TreeControl.superClass_.setExpanded.call(this,a):this.setExpandedInternal(a)};goog.ui.tree.TreeControl.prototype.getExpandIconSafeHtml=function(){return goog.html.SafeHtml.EMPTY};goog.ui.tree.TreeControl.prototype.getIconElement=function(){var a=this.getRowElement();return a?a.firstChild:null};goog.ui.tree.TreeControl.prototype.getExpandIconElement=function(){return null};\ngoog.ui.tree.TreeControl.prototype.updateExpandIcon=function(){};goog.ui.tree.TreeControl.prototype.getRowClassName=function(){return goog.ui.tree.TreeControl.superClass_.getRowClassName.call(this)+(this.showRootNode_?\"\":\" \"+this.getConfig().cssHideRoot)};\ngoog.ui.tree.TreeControl.prototype.getCalculatedIconClass=function(){var a=this.getExpanded(),b=this.getExpandedIconClass();if(a&&b)return b;b=this.getIconClass();if(!a&&b)return b;b=this.getConfig();return a&&b.cssExpandedRootIcon?b.cssTreeIcon+\" \"+b.cssExpandedRootIcon:!a&&b.cssCollapsedRootIcon?b.cssTreeIcon+\" \"+b.cssCollapsedRootIcon:\"\"};\ngoog.ui.tree.TreeControl.prototype.setSelectedItem=function(a){if(this.selectedItem_!=a){var b=!1;this.selectedItem_&&(b=this.selectedItem_==this.focusedNode_,this.selectedItem_.setSelectedInternal(!1));if(this.selectedItem_=a)a.setSelectedInternal(!0),b&&a.select();this.dispatchEvent(goog.events.EventType.CHANGE)}};goog.ui.tree.TreeControl.prototype.getSelectedItem=function(){return this.selectedItem_};\ngoog.ui.tree.TreeControl.prototype.setShowLines=function(a){this.showLines_!=a&&(this.showLines_=a,this.isInDocument()&&this.updateLinesAndExpandIcons_())};goog.ui.tree.TreeControl.prototype.getShowLines=function(){return this.showLines_};\ngoog.ui.tree.TreeControl.prototype.updateLinesAndExpandIcons_=function(){function a(e){var f=e.getChildrenElement();if(f){var g=!c||b==e.getParent()&&!d?e.getConfig().cssChildrenNoLines:e.getConfig().cssChildren;f.className=g;if(f=e.getExpandIconElement())f.className=e.getExpandIconClass()}e.forEachChild(a)}var b=this,c=b.getShowLines(),d=b.getShowRootLines();a(this)};\ngoog.ui.tree.TreeControl.prototype.setShowRootLines=function(a){this.showRootLines_!=a&&(this.showRootLines_=a,this.isInDocument()&&this.updateLinesAndExpandIcons_())};goog.ui.tree.TreeControl.prototype.getShowRootLines=function(){return this.showRootLines_};goog.ui.tree.TreeControl.prototype.setShowExpandIcons=function(a){this.showExpandIcons_!=a&&(this.showExpandIcons_=a,this.isInDocument()&&this.updateLinesAndExpandIcons_())};goog.ui.tree.TreeControl.prototype.getShowExpandIcons=function(){return this.showExpandIcons_};\ngoog.ui.tree.TreeControl.prototype.setShowRootNode=function(a){if(this.showRootNode_!=a){this.showRootNode_=a;if(this.isInDocument()){var b=this.getRowElement();b&&(b.className=this.getRowClassName())}!a&&this.getSelectedItem()==this&&this.getFirstChild()&&this.setSelectedItem(this.getFirstChild())}};goog.ui.tree.TreeControl.prototype.getShowRootNode=function(){return this.showRootNode_};\ngoog.ui.tree.TreeControl.prototype.initAccessibility=function(){goog.ui.tree.TreeControl.superClass_.initAccessibility.call(this);var a=this.getElement();goog.asserts.assert(a,\"The DOM element for the tree cannot be null.\");goog.a11y.aria.setRole(a,\"tree\");goog.a11y.aria.setState(a,\"labelledby\",this.getLabelElement().id)};\ngoog.ui.tree.TreeControl.prototype.enterDocument=function(){goog.ui.tree.TreeControl.superClass_.enterDocument.call(this);var a=this.getElement();a.className=this.getConfig().cssRoot;a.setAttribute(\"hideFocus\",\"true\");this.attachEvents_();this.initAccessibility()};goog.ui.tree.TreeControl.prototype.exitDocument=function(){goog.ui.tree.TreeControl.superClass_.exitDocument.call(this);this.detachEvents_()};\ngoog.ui.tree.TreeControl.prototype.attachEvents_=function(){var a=this.getElement();a.tabIndex=0;var b=this.keyHandler_=new goog.events.KeyHandler(a),c=this.focusHandler_=new goog.events.FocusHandler(a);this.getHandler().listen(c,goog.events.FocusHandler.EventType.FOCUSOUT,this.handleBlur_).listen(c,goog.events.FocusHandler.EventType.FOCUSIN,this.handleFocus_).listen(b,goog.events.KeyHandler.EventType.KEY,this.handleKeyEvent).listen(a,goog.events.EventType.MOUSEDOWN,this.handleMouseEvent_).listen(a,\ngoog.events.EventType.CLICK,this.handleMouseEvent_).listen(a,goog.events.EventType.DBLCLICK,this.handleMouseEvent_)};goog.ui.tree.TreeControl.prototype.detachEvents_=function(){this.keyHandler_.dispose();this.keyHandler_=null;this.focusHandler_.dispose();this.focusHandler_=null};\ngoog.ui.tree.TreeControl.prototype.handleMouseEvent_=function(a){goog.log.fine(this.logger_,\"Received event \"+a.type);var b=this.getNodeFromEvent_(a);if(b)switch(a.type){case goog.events.EventType.MOUSEDOWN:b.onMouseDown(a);break;case goog.events.EventType.CLICK:b.onClick_(a);break;case goog.events.EventType.DBLCLICK:b.onDoubleClick_(a)}};\ngoog.ui.tree.TreeControl.prototype.handleKeyEvent=function(a){var b;(b=this.typeAhead_.handleNavigation(a)||this.selectedItem_&&this.selectedItem_.onKeyDown(a)||this.typeAhead_.handleTypeAheadChar(a))&&a.preventDefault();return b};goog.ui.tree.TreeControl.prototype.getNodeFromEvent_=function(a){for(var b=a.target;null!=b;){if(a=goog.ui.tree.BaseNode.allNodes[b.id])return a;if(b==this.getElement())break;b=b.parentNode}return null};\ngoog.ui.tree.TreeControl.prototype.createNode=function(a){return new goog.ui.tree.TreeNode(a||goog.html.SafeHtml.EMPTY,this.getConfig(),this.getDomHelper())};goog.ui.tree.TreeControl.prototype.setNode=function(a){this.typeAhead_.setNodeInMap(a)};goog.ui.tree.TreeControl.prototype.removeNode=function(a){this.typeAhead_.removeNodeFromMap(a)};goog.ui.tree.TreeControl.prototype.clearTypeAhead=function(){this.typeAhead_.clear()};goog.ui.tree.TreeControl.defaultConfig=goog.ui.tree.BaseNode.defaultConfig;\nvar Blockly={};Blockly.Blocks=Object(null);\nBlockly.Touch={};Blockly.Touch.touchIdentifier_=null;Blockly.Touch.TOUCH_MAP={};goog.events.BrowserFeature.TOUCH_ENABLED&&(Blockly.Touch.TOUCH_MAP={mousedown:[\"touchstart\"],mousemove:[\"touchmove\"],mouseup:[\"touchend\",\"touchcancel\"]});Blockly.longPid_=0;Blockly.longStart_=function(a,b){Blockly.longStop_();1==a.changedTouches.length&&(Blockly.longPid_=setTimeout(function(){a.button=2;a.clientX=a.changedTouches[0].clientX;a.clientY=a.changedTouches[0].clientY;b&&b.handleRightClick(a)},Blockly.LONGPRESS))};\nBlockly.longStop_=function(){Blockly.longPid_&&(clearTimeout(Blockly.longPid_),Blockly.longPid_=0)};Blockly.Touch.clearTouchIdentifier=function(){Blockly.Touch.touchIdentifier_=null};Blockly.Touch.shouldHandleEvent=function(a){return!Blockly.Touch.isMouseOrTouchEvent(a)||Blockly.Touch.checkTouchIdentifier(a)};\nBlockly.Touch.getTouchIdentifierFromEvent=function(a){return a.changedTouches&&a.changedTouches[0]&&void 0!=a.changedTouches[0].identifier&&null!=a.changedTouches[0].identifier?a.changedTouches[0].identifier:\"mouse\"};\nBlockly.Touch.checkTouchIdentifier=function(a){var b=Blockly.Touch.getTouchIdentifierFromEvent(a);return void 0!=Blockly.Touch.touchIdentifier_&&null!=Blockly.Touch.touchIdentifier_?Blockly.Touch.touchIdentifier_==b:\"mousedown\"==a.type||\"touchstart\"==a.type?(Blockly.Touch.touchIdentifier_=b,!0):!1};Blockly.Touch.setClientFromTouch=function(a){if(goog.string.startsWith(a.type,\"touch\")){var b=a.changedTouches[0];a.clientX=b.clientX;a.clientY=b.clientY}};\nBlockly.Touch.isMouseOrTouchEvent=function(a){return goog.string.startsWith(a.type,\"touch\")||goog.string.startsWith(a.type,\"mouse\")};Blockly.Touch.splitEventByTouches=function(a){var b=[];if(a.changedTouches)for(var c=0;c<a.changedTouches.length;c++)b[c]={type:a.type,changedTouches:[a.changedTouches[c]],target:a.target,stopPropagation:function(){a.stopPropagation()},preventDefault:function(){a.preventDefault()}};else b.push(a);return b};\nBlockly.VariableMap=function(a){this.variableMap_={};this.workspace=a};Blockly.VariableMap.prototype.clear=function(){this.variableMap_=Object(null)};\nBlockly.VariableMap.prototype.renameVariable=function(a,b){var c=this.getVariable(b),d=-1,e=-1,f=\"\";if(a||c)f=(a||c).type;var g=this.getVariablesOfType(f);a&&(d=g.indexOf(a));c&&(e=g.indexOf(c));-1==d&&-1==e?(this.createVariable(b,\"\"),console.log(\"Tried to rename an non-existent variable.\")):d==e||-1!=d&&-1==e?(c=this.variableMap_[f][d],Blockly.Events.fire(new Blockly.Events.VarRename(c,b)),c.name=b):-1!=d&&-1!=e&&(c=this.variableMap_[f][e],Blockly.Events.fire(new Blockly.Events.VarRename(c,b)),Blockly.Events.fire(new Blockly.Events.VarDelete(this.variableMap_[f][d])),\nc.name=b,this.variableMap_[f].splice(d,1))};\nBlockly.VariableMap.prototype.createVariable=function(a,b,c){var d=this.getVariable(a);if(d){if(b&&d.type!=b)throw Error('Variable \"'+a+'\" is already in use and its type is \"'+d.type+'\" which conflicts with the passed in type, \"'+b+'\".');if(c&&d.getId()!=c)throw Error('Variable \"'+a+'\" is already in use and its id is \"'+d.getId()+'\" which conflicts with the passed in id, \"'+c+'\".');return d}if(c&&this.getVariableById(c))throw Error('Variable id, \"'+c+'\", is already in use.');c=c||Blockly.utils.genUid();\nb=b||\"\";d=new Blockly.VariableModel(this.workspace,a,b,c);this.variableMap_[b]?this.variableMap_[b].push(d):this.variableMap_[b]=[d];return d};Blockly.VariableMap.prototype.deleteVariable=function(a){for(var b=this.variableMap_[a.type],c=0,d;d=b[c];c++)if(d.getId()==a.getId()){b.splice(c,1);Blockly.Events.fire(new Blockly.Events.VarDelete(a));break}};\nBlockly.VariableMap.prototype.getVariable=function(a){for(var b=Object.keys(this.variableMap_),c=0;c<b.length;c++)for(var d=b[c],e=0,f;f=this.variableMap_[d][e];e++)if(Blockly.Names.equals(f.name,a))return f;return null};Blockly.VariableMap.prototype.getVariableById=function(a){for(var b=Object.keys(this.variableMap_),c=0;c<b.length;c++)for(var d=b[c],e=0,f;f=this.variableMap_[d][e];e++)if(f.getId()==a)return f;return null};\nBlockly.VariableMap.prototype.getVariablesOfType=function(a){return(a=this.variableMap_[a||\"\"])?a.slice():[]};Blockly.VariableMap.prototype.getVariableTypes=function(){return Object.keys(this.variableMap_)};Blockly.VariableMap.prototype.getAllVariables=function(){for(var a=[],b=Object.keys(this.variableMap_),c=0;c<b.length;c++)a=a.concat(this.variableMap_[b[c]]);return a};\nBlockly.Workspace=function(a){this.id=Blockly.utils.genUid();Blockly.Workspace.WorkspaceDB_[this.id]=this;this.options=a||{};this.RTL=!!this.options.RTL;this.horizontalLayout=!!this.options.horizontalLayout;this.toolboxPosition=this.options.toolboxPosition;this.topBlocks_=[];this.listeners_=[];this.undoStack_=[];this.redoStack_=[];this.blockDB_=Object.create(null);this.variableMap_=new Blockly.VariableMap(this)};Blockly.Workspace.prototype.rendered=!1;Blockly.Workspace.prototype.MAX_UNDO=1024;\nBlockly.Workspace.prototype.dispose=function(){this.listeners_.length=0;this.clear();delete Blockly.Workspace.WorkspaceDB_[this.id]};Blockly.Workspace.SCAN_ANGLE=3;Blockly.Workspace.prototype.addTopBlock=function(a){this.topBlocks_.push(a);if(this.isFlyout){a=Blockly.Variables.allUsedVariables(a);for(var b=0,c;c=a[b];b++)this.getVariable(c)||this.createVariable(c)}};\nBlockly.Workspace.prototype.removeTopBlock=function(a){if(!goog.array.remove(this.topBlocks_,a))throw\"Block not present in workspace's list of top-most blocks.\";};Blockly.Workspace.prototype.getTopBlocks=function(a){var b=[].concat(this.topBlocks_);if(a&&1<b.length){var c=Math.sin(goog.math.toRadians(Blockly.Workspace.SCAN_ANGLE));this.RTL&&(c*=-1);b.sort(function(a,b){var d=a.getRelativeToSurfaceXY(),e=b.getRelativeToSurfaceXY();return d.y+c*d.x-(e.y+c*e.x)})}return b};\nBlockly.Workspace.prototype.getAllBlocks=function(){for(var a=this.getTopBlocks(!1),b=0;b<a.length;b++)a.push.apply(a,a[b].getChildren());return a};Blockly.Workspace.prototype.clear=function(){var a=Blockly.Events.getGroup();for(a||Blockly.Events.setGroup(!0);this.topBlocks_.length;)this.topBlocks_[0].dispose();a||Blockly.Events.setGroup(!1);this.variableMap_.clear()};\nBlockly.Workspace.prototype.updateVariableStore=function(a){if(!this.isFlyout){for(var b=Blockly.Variables.allUsedVariables(this),c=[],d=0,e;e=b[d];d++){var f=this.getVariable(e);f?c.push({name:f.name,type:f.type,id:f.getId()}):c.push({name:e,type:null,id:null})}a&&this.variableMap_.clear();for(d=0;a=c[d];d++)this.getVariable(a.name)||this.createVariable(a.name,a.type,a.id)}};\nBlockly.Workspace.prototype.renameVariableInternal_=function(a,b){var c=this.getVariable(b);if(a&&c&&a.type!=c.type)throw Error('Variable \"'+a.name+'\" is type \"'+a.type+'\" and variable \"'+b+'\" is type \"'+c.type+'\". Both must be the same type.');if(c&&c.name!=b)var d=c.name;Blockly.Events.setGroup(!0);c=this.getAllBlocks();for(var e=0;e<c.length;e++)c[e].renameVar(a.name,b),d&&c[e].renameVar(d,b);this.variableMap_.renameVariable(a,b);Blockly.Events.setGroup(!1)};\nBlockly.Workspace.prototype.renameVariable=function(a,b){var c=this.getVariable(a);this.renameVariableInternal_(c,b)};Blockly.Workspace.prototype.renameVariableById=function(a,b){var c=this.getVariableById(a);this.renameVariableInternal_(c,b)};Blockly.Workspace.prototype.createVariable=function(a,b,c){return this.variableMap_.createVariable(a,b,c)};\nBlockly.Workspace.prototype.getVariableUses=function(a){for(var b=[],c=this.getAllBlocks(),d=0;d<c.length;d++){var e=c[d].getVars();if(e)for(var f=0;f<e.length;f++){var g=e[f];g&&a&&Blockly.Names.equals(g,a)&&b.push(c[d])}}return b};\nBlockly.Workspace.prototype.deleteVariable=function(a){for(var b=this.getVariableUses(a),c=0,d;d=b[c];c++)if(\"procedures_defnoreturn\"==d.type||\"procedures_defreturn\"==d.type){b=d.getFieldValue(\"NAME\");Blockly.alert(Blockly.Msg.CANNOT_DELETE_VARIABLE_PROCEDURE.replace(\"%1\",a).replace(\"%2\",b));return}var e=this,f=e.getVariable(a);1<b.length?Blockly.confirm(Blockly.Msg.DELETE_VARIABLE_CONFIRMATION.replace(\"%1\",b.length).replace(\"%2\",a),function(a){a&&e.deleteVariableInternal_(f)}):this.deleteVariableInternal_(f)};\nBlockly.Workspace.prototype.deleteVariableById=function(a){var b=this.getVariableById(a);b?this.deleteVariableInternal_(b):console.warn(\"Can't delete non-existant variable: \"+a)};Blockly.Workspace.prototype.deleteVariableInternal_=function(a){var b=this.getVariableUses(a.name);Blockly.Events.setGroup(!0);for(var c=0;c<b.length;c++)b[c].dispose(!0,!1);this.variableMap_.deleteVariable(a);Blockly.Events.setGroup(!1)};\nBlockly.Workspace.prototype.variableIndexOf=function(a){console.warn(\"Deprecated call to Blockly.Workspace.prototype.variableIndexOf\");return-1};Blockly.Workspace.prototype.getVariable=function(a){return this.variableMap_.getVariable(a)};Blockly.Workspace.prototype.getVariableById=function(a){return this.variableMap_.getVariableById(a)};Blockly.Workspace.prototype.getWidth=function(){return 0};Blockly.Workspace.prototype.newBlock=function(a,b){return new Blockly.Block(this,a,b)};\nBlockly.Workspace.prototype.remainingCapacity=function(){return isNaN(this.options.maxBlocks)?Infinity:this.options.maxBlocks-this.getAllBlocks().length};\nBlockly.Workspace.prototype.undo=function(a){var b=a?this.redoStack_:this.undoStack_,c=a?this.undoStack_:this.redoStack_,d=b.pop();if(d){for(var e=[d];b.length&&d.group&&d.group==b[b.length-1].group;)e.push(b.pop());for(b=0;d=e[b];b++)c.push(d);e=Blockly.Events.filter(e,a);Blockly.Events.recordUndo=!1;try{for(b=0;d=e[b];b++)d.run(a)}finally{Blockly.Events.recordUndo=!0}}};Blockly.Workspace.prototype.clearUndo=function(){this.undoStack_.length=0;this.redoStack_.length=0;Blockly.Events.clearPendingUndo()};\nBlockly.Workspace.prototype.addChangeListener=function(a){this.listeners_.push(a);return a};Blockly.Workspace.prototype.removeChangeListener=function(a){goog.array.remove(this.listeners_,a)};Blockly.Workspace.prototype.fireChangeListener=function(a){a.recordUndo&&(this.undoStack_.push(a),this.redoStack_.length=0,this.undoStack_.length>this.MAX_UNDO&&this.undoStack_.unshift());for(var b=0,c;c=this.listeners_[b];b++)c(a)};\nBlockly.Workspace.prototype.getBlockById=function(a){return this.blockDB_[a]||null};Blockly.Workspace.prototype.allInputsFilled=function(a){for(var b=this.getTopBlocks(!1),c=0,d;d=b[c];c++)if(!d.allInputsFilled(a))return!1;return!0};Blockly.Workspace.prototype.getVariablesOfType=function(a){return this.variableMap_.getVariablesOfType(a)};Blockly.Workspace.prototype.getVariableTypes=function(){return this.variableMap_.getVariableTypes()};Blockly.Workspace.prototype.getAllVariables=function(){return this.variableMap_.getAllVariables()};\nBlockly.Workspace.WorkspaceDB_=Object.create(null);Blockly.Workspace.getById=function(a){return Blockly.Workspace.WorkspaceDB_[a]||null};Blockly.Workspace.prototype.clear=Blockly.Workspace.prototype.clear;Blockly.Workspace.prototype.clearUndo=Blockly.Workspace.prototype.clearUndo;Blockly.Workspace.prototype.addChangeListener=Blockly.Workspace.prototype.addChangeListener;Blockly.Workspace.prototype.removeChangeListener=Blockly.Workspace.prototype.removeChangeListener;Blockly.Bubble=function(a,b,c,d,e,f){this.workspace_=a;this.content_=b;this.shape_=c;c=Blockly.Bubble.ARROW_ANGLE;this.workspace_.RTL&&(c=-c);this.arrow_radians_=goog.math.toRadians(c);a.getBubbleCanvas().appendChild(this.createDom_(b,!(!e||!f)));this.setAnchorLocation(d);e&&f||(b=this.content_.getBBox(),e=b.width+2*Blockly.Bubble.BORDER_WIDTH,f=b.height+2*Blockly.Bubble.BORDER_WIDTH);this.setBubbleSize(e,f);this.positionBubble_();this.renderArrow_();this.rendered_=!0;a.options.readOnly||(Blockly.bindEventWithChecks_(this.bubbleBack_,\n\"mousedown\",this,this.bubbleMouseDown_),this.resizeGroup_&&Blockly.bindEventWithChecks_(this.resizeGroup_,\"mousedown\",this,this.resizeMouseDown_))};Blockly.Bubble.BORDER_WIDTH=6;Blockly.Bubble.ARROW_THICKNESS=5;Blockly.Bubble.ARROW_ANGLE=20;Blockly.Bubble.ARROW_BEND=4;Blockly.Bubble.ANCHOR_RADIUS=8;Blockly.Bubble.onMouseUpWrapper_=null;Blockly.Bubble.onMouseMoveWrapper_=null;Blockly.Bubble.prototype.resizeCallback_=null;\nBlockly.Bubble.unbindDragEvents_=function(){Blockly.Bubble.onMouseUpWrapper_&&(Blockly.unbindEvent_(Blockly.Bubble.onMouseUpWrapper_),Blockly.Bubble.onMouseUpWrapper_=null);Blockly.Bubble.onMouseMoveWrapper_&&(Blockly.unbindEvent_(Blockly.Bubble.onMouseMoveWrapper_),Blockly.Bubble.onMouseMoveWrapper_=null)};Blockly.Bubble.bubbleMouseUp_=function(){Blockly.Touch.clearTouchIdentifier();Blockly.Bubble.unbindDragEvents_()};Blockly.Bubble.prototype.rendered_=!1;Blockly.Bubble.prototype.anchorXY_=null;\nBlockly.Bubble.prototype.relativeLeft_=0;Blockly.Bubble.prototype.relativeTop_=0;Blockly.Bubble.prototype.width_=0;Blockly.Bubble.prototype.height_=0;Blockly.Bubble.prototype.autoLayout_=!0;\nBlockly.Bubble.prototype.createDom_=function(a,b){this.bubbleGroup_=Blockly.utils.createSvgElement(\"g\",{},null);var c={filter:\"url(#\"+this.workspace_.options.embossFilterId+\")\"};-1!=goog.userAgent.getUserAgentString().indexOf(\"JavaFX\")&&(c={});c=Blockly.utils.createSvgElement(\"g\",c,this.bubbleGroup_);this.bubbleArrow_=Blockly.utils.createSvgElement(\"path\",{},c);this.bubbleBack_=Blockly.utils.createSvgElement(\"rect\",{\"class\":\"blocklyDraggable\",x:0,y:0,rx:Blockly.Bubble.BORDER_WIDTH,ry:Blockly.Bubble.BORDER_WIDTH},\nc);b?(this.resizeGroup_=Blockly.utils.createSvgElement(\"g\",{\"class\":this.workspace_.RTL?\"blocklyResizeSW\":\"blocklyResizeSE\"},this.bubbleGroup_),c=2*Blockly.Bubble.BORDER_WIDTH,Blockly.utils.createSvgElement(\"polygon\",{points:\"0,x x,x x,0\".replace(/x/g,c.toString())},this.resizeGroup_),Blockly.utils.createSvgElement(\"line\",{\"class\":\"blocklyResizeLine\",x1:c/3,y1:c-1,x2:c-1,y2:c/3},this.resizeGroup_),Blockly.utils.createSvgElement(\"line\",{\"class\":\"blocklyResizeLine\",x1:2*c/3,y1:c-1,x2:c-1,y2:2*c/3},\nthis.resizeGroup_)):this.resizeGroup_=null;this.bubbleGroup_.appendChild(a);return this.bubbleGroup_};\nBlockly.Bubble.prototype.bubbleMouseDown_=function(a){this.promote_();Blockly.Bubble.unbindDragEvents_();Blockly.utils.isRightButton(a)?a.stopPropagation():Blockly.utils.isTargetInput(a)||(this.workspace_.startDrag(a,new goog.math.Coordinate(this.workspace_.RTL?-this.relativeLeft_:this.relativeLeft_,this.relativeTop_)),Blockly.Bubble.onMouseUpWrapper_=Blockly.bindEventWithChecks_(document,\"mouseup\",this,Blockly.Bubble.bubbleMouseUp_),Blockly.Bubble.onMouseMoveWrapper_=Blockly.bindEventWithChecks_(document,\n\"mousemove\",this,this.bubbleMouseMove_),Blockly.hideChaff(),a.stopPropagation())};Blockly.Bubble.prototype.bubbleMouseMove_=function(a){this.autoLayout_=!1;a=this.workspace_.moveDrag(a);this.relativeLeft_=this.workspace_.RTL?-a.x:a.x;this.relativeTop_=a.y;this.positionBubble_();this.renderArrow_()};\nBlockly.Bubble.prototype.resizeMouseDown_=function(a){this.promote_();Blockly.Bubble.unbindDragEvents_();Blockly.utils.isRightButton(a)||(this.workspace_.startDrag(a,new goog.math.Coordinate(this.workspace_.RTL?-this.width_:this.width_,this.height_)),Blockly.Bubble.onMouseUpWrapper_=Blockly.bindEventWithChecks_(document,\"mouseup\",this,Blockly.Bubble.bubbleMouseUp_),Blockly.Bubble.onMouseMoveWrapper_=Blockly.bindEventWithChecks_(document,\"mousemove\",this,this.resizeMouseMove_),Blockly.hideChaff());\na.stopPropagation()};Blockly.Bubble.prototype.resizeMouseMove_=function(a){this.autoLayout_=!1;a=this.workspace_.moveDrag(a);this.setBubbleSize(this.workspace_.RTL?-a.x:a.x,a.y);this.workspace_.RTL&&this.positionBubble_()};Blockly.Bubble.prototype.registerResizeEvent=function(a){this.resizeCallback_=a};Blockly.Bubble.prototype.promote_=function(){this.bubbleGroup_.parentNode.appendChild(this.bubbleGroup_)};Blockly.Bubble.prototype.setAnchorLocation=function(a){this.anchorXY_=a;this.rendered_&&this.positionBubble_()};\nBlockly.Bubble.prototype.layoutBubble_=function(){var a=-this.width_/4,b=-this.height_-Blockly.BlockSvg.MIN_BLOCK_Y,c=this.workspace_.getMetrics();c.viewWidth/=this.workspace_.scale;c.viewLeft/=this.workspace_.scale;var d=this.anchorXY_.x;this.workspace_.RTL?d-c.viewLeft-a-this.width_<Blockly.Scrollbar.scrollbarThickness?a=d-c.viewLeft-this.width_-Blockly.Scrollbar.scrollbarThickness:d-c.viewLeft-a>c.viewWidth&&(a=d-c.viewLeft-c.viewWidth):d+a<c.viewLeft?a=c.viewLeft-d:c.viewLeft+c.viewWidth<d+a+\nthis.width_+Blockly.BlockSvg.SEP_SPACE_X+Blockly.Scrollbar.scrollbarThickness&&(a=c.viewLeft+c.viewWidth-d-this.width_-Blockly.Scrollbar.scrollbarThickness);this.anchorXY_.y+b<c.viewTop&&(b=this.shape_.getBBox().height);this.relativeLeft_=a;this.relativeTop_=b};\nBlockly.Bubble.prototype.positionBubble_=function(){var a=this.anchorXY_.x;a=this.workspace_.RTL?a-(this.relativeLeft_+this.width_):a+this.relativeLeft_;this.bubbleGroup_.setAttribute(\"transform\",\"translate(\"+a+\",\"+(this.relativeTop_+this.anchorXY_.y)+\")\")};Blockly.Bubble.prototype.getBubbleSize=function(){return{width:this.width_,height:this.height_}};\nBlockly.Bubble.prototype.setBubbleSize=function(a,b){var c=2*Blockly.Bubble.BORDER_WIDTH;a=Math.max(a,c+45);b=Math.max(b,c+20);this.width_=a;this.height_=b;this.bubbleBack_.setAttribute(\"width\",a);this.bubbleBack_.setAttribute(\"height\",b);this.resizeGroup_&&(this.workspace_.RTL?this.resizeGroup_.setAttribute(\"transform\",\"translate(\"+2*Blockly.Bubble.BORDER_WIDTH+\",\"+(b-c)+\") scale(-1 1)\"):this.resizeGroup_.setAttribute(\"transform\",\"translate(\"+(a-c)+\",\"+(b-c)+\")\"));this.rendered_&&(this.autoLayout_&&\nthis.layoutBubble_(),this.positionBubble_(),this.renderArrow_());this.resizeCallback_&&this.resizeCallback_()};\nBlockly.Bubble.prototype.renderArrow_=function(){var a=[],b=this.width_/2,c=this.height_/2,d=-this.relativeLeft_,e=-this.relativeTop_;if(b==d&&c==e)a.push(\"M \"+b+\",\"+c);else{e-=c;d-=b;this.workspace_.RTL&&(d*=-1);var f=Math.sqrt(e*e+d*d),g=Math.acos(d/f);0>e&&(g=2*Math.PI-g);var h=g+Math.PI/2;h>2*Math.PI&&(h-=2*Math.PI);var k=Math.sin(h),n=Math.cos(h),p=this.getBubbleSize();h=(p.width+p.height)/Blockly.Bubble.ARROW_THICKNESS;h=Math.min(h,p.width,p.height)/4;p=1-Blockly.Bubble.ANCHOR_RADIUS/f;d=b+\np*d;e=c+p*e;p=b+h*n;var l=c+h*k;b-=h*n;c-=h*k;k=g+this.arrow_radians_;k>2*Math.PI&&(k-=2*Math.PI);g=Math.sin(k)*f/Blockly.Bubble.ARROW_BEND;f=Math.cos(k)*f/Blockly.Bubble.ARROW_BEND;a.push(\"M\"+p+\",\"+l);a.push(\"C\"+(p+f)+\",\"+(l+g)+\" \"+d+\",\"+e+\" \"+d+\",\"+e);a.push(\"C\"+d+\",\"+e+\" \"+(b+f)+\",\"+(c+g)+\" \"+b+\",\"+c)}a.push(\"z\");this.bubbleArrow_.setAttribute(\"d\",a.join(\" \"))};Blockly.Bubble.prototype.setColour=function(a){this.bubbleBack_.setAttribute(\"fill\",a);this.bubbleArrow_.setAttribute(\"fill\",a)};\nBlockly.Bubble.prototype.dispose=function(){Blockly.Bubble.unbindDragEvents_();goog.dom.removeNode(this.bubbleGroup_);this.shape_=this.content_=this.workspace_=this.resizeGroup_=this.bubbleBack_=this.bubbleArrow_=this.bubbleGroup_=null};Blockly.Icon=function(a){this.block_=a};Blockly.Icon.prototype.collapseHidden=!0;Blockly.Icon.prototype.SIZE=17;Blockly.Icon.prototype.bubble_=null;Blockly.Icon.prototype.iconXY_=null;\nBlockly.Icon.prototype.createIcon=function(){this.iconGroup_||(this.iconGroup_=Blockly.utils.createSvgElement(\"g\",{\"class\":\"blocklyIconGroup\"},null),this.block_.isInFlyout&&Blockly.utils.addClass(this.iconGroup_,\"blocklyIconGroupReadonly\"),this.drawIcon_(this.iconGroup_),this.block_.getSvgRoot().appendChild(this.iconGroup_),Blockly.bindEventWithChecks_(this.iconGroup_,\"mouseup\",this,this.iconClick_),this.updateEditable())};\nBlockly.Icon.prototype.dispose=function(){goog.dom.removeNode(this.iconGroup_);this.iconGroup_=null;this.setVisible(!1);this.block_=null};Blockly.Icon.prototype.updateEditable=function(){};Blockly.Icon.prototype.isVisible=function(){return!!this.bubble_};Blockly.Icon.prototype.iconClick_=function(a){this.block_.workspace.isDragging()||this.block_.isInFlyout||Blockly.utils.isRightButton(a)||this.setVisible(!this.isVisible())};Blockly.Icon.prototype.updateColour=function(){this.isVisible()&&this.bubble_.setColour(this.block_.getColour())};\nBlockly.Icon.prototype.renderIcon=function(a){if(this.collapseHidden&&this.block_.isCollapsed())return this.iconGroup_.setAttribute(\"display\",\"none\"),a;this.iconGroup_.setAttribute(\"display\",\"block\");var b=this.SIZE;this.block_.RTL&&(a-=b);this.iconGroup_.setAttribute(\"transform\",\"translate(\"+a+\",5)\");this.computeIconLocation();return a=this.block_.RTL?a-Blockly.BlockSvg.SEP_SPACE_X:a+(b+Blockly.BlockSvg.SEP_SPACE_X)};\nBlockly.Icon.prototype.setIconLocation=function(a){this.iconXY_=a;this.isVisible()&&this.bubble_.setAnchorLocation(a)};Blockly.Icon.prototype.computeIconLocation=function(){var a=this.block_.getRelativeToSurfaceXY(),b=Blockly.utils.getRelativeXY(this.iconGroup_);a=new goog.math.Coordinate(a.x+b.x+this.SIZE/2,a.y+b.y+this.SIZE/2);goog.math.Coordinate.equals(this.getIconLocation(),a)||this.setIconLocation(a)};Blockly.Icon.prototype.getIconLocation=function(){return this.iconXY_};\nBlockly.Comment=function(a){Blockly.Comment.superClass_.constructor.call(this,a);this.createIcon()};goog.inherits(Blockly.Comment,Blockly.Icon);Blockly.Comment.prototype.text_=\"\";Blockly.Comment.prototype.width_=160;Blockly.Comment.prototype.height_=80;\nBlockly.Comment.prototype.drawIcon_=function(a){Blockly.utils.createSvgElement(\"circle\",{\"class\":\"blocklyIconShape\",r:\"8\",cx:\"8\",cy:\"8\"},a);Blockly.utils.createSvgElement(\"path\",{\"class\":\"blocklyIconSymbol\",d:\"m6.8,10h2c0.003,-0.617 0.271,-0.962 0.633,-1.266 2.875,-2.405 0.607,-5.534 -3.765,-3.874v1.7c3.12,-1.657 3.698,0.118 2.336,1.25 -1.201,0.998 -1.201,1.528 -1.204,2.19z\"},a);Blockly.utils.createSvgElement(\"rect\",{\"class\":\"blocklyIconSymbol\",x:\"6.8\",y:\"10.78\",height:\"2\",width:\"2\"},a)};\nBlockly.Comment.prototype.createEditor_=function(){this.foreignObject_=Blockly.utils.createSvgElement(\"foreignObject\",{x:Blockly.Bubble.BORDER_WIDTH,y:Blockly.Bubble.BORDER_WIDTH},null);var a=document.createElementNS(Blockly.HTML_NS,\"body\");a.setAttribute(\"xmlns\",Blockly.HTML_NS);a.className=\"blocklyMinimalBody\";var b=document.createElementNS(Blockly.HTML_NS,\"textarea\");b.className=\"blocklyCommentTextarea\";b.setAttribute(\"dir\",this.block_.RTL?\"RTL\":\"LTR\");a.appendChild(b);this.textarea_=b;this.foreignObject_.appendChild(a);\nBlockly.bindEventWithChecks_(b,\"mouseup\",this,this.textareaFocus_);Blockly.bindEventWithChecks_(b,\"wheel\",this,function(a){a.stopPropagation()});Blockly.bindEventWithChecks_(b,\"change\",this,function(a){this.text_!=b.value&&(Blockly.Events.fire(new Blockly.Events.BlockChange(this.block_,\"comment\",null,this.text_,b.value)),this.text_=b.value)});setTimeout(function(){b.focus()},0);return this.foreignObject_};\nBlockly.Comment.prototype.updateEditable=function(){this.isVisible()&&(this.setVisible(!1),this.setVisible(!0));Blockly.Icon.prototype.updateEditable.call(this)};Blockly.Comment.prototype.resizeBubble_=function(){if(this.isVisible()){var a=this.bubble_.getBubbleSize(),b=2*Blockly.Bubble.BORDER_WIDTH;this.foreignObject_.setAttribute(\"width\",a.width-b);this.foreignObject_.setAttribute(\"height\",a.height-b);this.textarea_.style.width=a.width-b-4+\"px\";this.textarea_.style.height=a.height-b-4+\"px\"}};\nBlockly.Comment.prototype.setVisible=function(a){if(a!=this.isVisible())if(Blockly.Events.fire(new Blockly.Events.Ui(this.block_,\"commentOpen\",!a,a)),!this.block_.isEditable()&&!this.textarea_||goog.userAgent.IE)Blockly.Warning.prototype.setVisible.call(this,a);else{var b=this.getText(),c=this.getBubbleSize();a?(this.bubble_=new Blockly.Bubble(this.block_.workspace,this.createEditor_(),this.block_.svgPath_,this.iconXY_,this.width_,this.height_),this.bubble_.registerResizeEvent(this.resizeBubble_.bind(this)),\nthis.updateColour()):(this.bubble_.dispose(),this.foreignObject_=this.textarea_=this.bubble_=null);this.setText(b);this.setBubbleSize(c.width,c.height)}};Blockly.Comment.prototype.textareaFocus_=function(a){this.bubble_.promote_();this.textarea_.focus()};Blockly.Comment.prototype.getBubbleSize=function(){return this.isVisible()?this.bubble_.getBubbleSize():{width:this.width_,height:this.height_}};\nBlockly.Comment.prototype.setBubbleSize=function(a,b){this.textarea_?this.bubble_.setBubbleSize(a,b):(this.width_=a,this.height_=b)};Blockly.Comment.prototype.getText=function(){return this.textarea_?this.textarea_.value:this.text_};Blockly.Comment.prototype.setText=function(a){this.text_!=a&&(Blockly.Events.fire(new Blockly.Events.BlockChange(this.block_,\"comment\",null,this.text_,a)),this.text_=a);this.textarea_&&(this.textarea_.value=a)};\nBlockly.Comment.prototype.dispose=function(){Blockly.Events.isEnabled()&&this.setText(\"\");this.block_.comment=null;Blockly.Icon.prototype.dispose.call(this)};Blockly.Connection=function(a,b){this.sourceBlock_=a;this.type=b;a.workspace.connectionDBList&&(this.db_=a.workspace.connectionDBList[b],this.dbOpposite_=a.workspace.connectionDBList[Blockly.OPPOSITE_TYPE[b]],this.hidden_=!this.db_)};Blockly.Connection.CAN_CONNECT=0;Blockly.Connection.REASON_SELF_CONNECTION=1;Blockly.Connection.REASON_WRONG_TYPE=2;Blockly.Connection.REASON_TARGET_NULL=3;Blockly.Connection.REASON_CHECKS_FAILED=4;Blockly.Connection.REASON_DIFFERENT_WORKSPACES=5;\nBlockly.Connection.REASON_SHADOW_PARENT=6;Blockly.Connection.prototype.targetConnection=null;Blockly.Connection.prototype.check_=null;Blockly.Connection.prototype.shadowDom_=null;Blockly.Connection.prototype.x_=0;Blockly.Connection.prototype.y_=0;Blockly.Connection.prototype.inDB_=!1;Blockly.Connection.prototype.db_=null;Blockly.Connection.prototype.dbOpposite_=null;Blockly.Connection.prototype.hidden_=null;\nBlockly.Connection.prototype.connect_=function(a){var b=this,c=b.getSourceBlock(),d=a.getSourceBlock();a.isConnected()&&a.disconnect();if(b.isConnected()){var e=b.targetBlock(),f=b.getShadowDom();b.setShadowDom(null);if(e.isShadow())f=Blockly.Xml.blockToDom(e),e.dispose(),e=null;else if(b.type==Blockly.INPUT_VALUE){if(!e.outputConnection)throw\"Orphan block does not have an output connection.\";var g=Blockly.Connection.lastConnectionInRow_(d,e);g&&(e.outputConnection.connect(g),e=null)}else if(b.type==\nBlockly.NEXT_STATEMENT){if(!e.previousConnection)throw\"Orphan block does not have a previous connection.\";for(g=d;g.nextConnection;){var h=g.getNextBlock();if(h&&!h.isShadow())g=h;else{e.previousConnection.checkType_(g.nextConnection)&&(g.nextConnection.connect(e.previousConnection),e=null);break}}}if(e&&(b.disconnect(),Blockly.Events.recordUndo)){var k=Blockly.Events.getGroup();setTimeout(function(){e.workspace&&!e.getParent()&&(Blockly.Events.setGroup(k),e.outputConnection?e.outputConnection.bumpAwayFrom_(b):\ne.previousConnection&&e.previousConnection.bumpAwayFrom_(b),Blockly.Events.setGroup(!1))},Blockly.BUMP_DELAY)}b.setShadowDom(f)}var n;Blockly.Events.isEnabled()&&(n=new Blockly.Events.BlockMove(d));Blockly.Connection.connectReciprocally_(b,a);d.setParent(c);n&&(n.recordNew(),Blockly.Events.fire(n))};Blockly.Connection.prototype.dispose=function(){if(this.isConnected())throw\"Disconnect connection before disposing of it.\";this.inDB_&&this.db_.removeConnection_(this);this.dbOpposite_=this.db_=null};\nBlockly.Connection.prototype.getSourceBlock=function(){return this.sourceBlock_};Blockly.Connection.prototype.isSuperior=function(){return this.type==Blockly.INPUT_VALUE||this.type==Blockly.NEXT_STATEMENT};Blockly.Connection.prototype.isConnected=function(){return!!this.targetConnection};\nBlockly.Connection.prototype.canConnectWithReason_=function(a){if(!a)return Blockly.Connection.REASON_TARGET_NULL;if(this.isSuperior())var b=this.sourceBlock_,c=a.getSourceBlock();else c=this.sourceBlock_,b=a.getSourceBlock();return b&&b==c?Blockly.Connection.REASON_SELF_CONNECTION:a.type!=Blockly.OPPOSITE_TYPE[this.type]?Blockly.Connection.REASON_WRONG_TYPE:b&&c&&b.workspace!==c.workspace?Blockly.Connection.REASON_DIFFERENT_WORKSPACES:this.checkType_(a)?b.isShadow()&&!c.isShadow()?Blockly.Connection.REASON_SHADOW_PARENT:\nBlockly.Connection.CAN_CONNECT:Blockly.Connection.REASON_CHECKS_FAILED};\nBlockly.Connection.prototype.checkConnection_=function(a){switch(this.canConnectWithReason_(a)){case Blockly.Connection.CAN_CONNECT:break;case Blockly.Connection.REASON_SELF_CONNECTION:throw\"Attempted to connect a block to itself.\";case Blockly.Connection.REASON_DIFFERENT_WORKSPACES:throw\"Blocks not on same workspace.\";case Blockly.Connection.REASON_WRONG_TYPE:throw\"Attempt to connect incompatible types.\";case Blockly.Connection.REASON_TARGET_NULL:throw\"Target connection is null.\";case Blockly.Connection.REASON_CHECKS_FAILED:throw\"Connection checks failed. \"+\n(this+\" expected \"+this.check_+\", found \"+a.check_);case Blockly.Connection.REASON_SHADOW_PARENT:throw\"Connecting non-shadow to shadow block.\";default:throw\"Unknown connection failure: this should never happen!\";}};\nBlockly.Connection.prototype.isConnectionAllowed=function(a){if(this.canConnectWithReason_(a)!=Blockly.Connection.CAN_CONNECT)return!1;if(a.type==Blockly.OUTPUT_VALUE||a.type==Blockly.PREVIOUS_STATEMENT)if(a.isConnected()||this.isConnected())return!1;return a.type==Blockly.INPUT_VALUE&&a.isConnected()&&!a.targetBlock().isMovable()&&!a.targetBlock().isShadow()||this.type==Blockly.PREVIOUS_STATEMENT&&a.isConnected()&&!this.sourceBlock_.nextConnection&&!a.targetBlock().isShadow()&&a.targetBlock().nextConnection||\n-1!=Blockly.draggingConnections_.indexOf(a)?!1:!0};Blockly.Connection.prototype.connect=function(a){this.targetConnection!=a&&(this.checkConnection_(a),this.isSuperior()?this.connect_(a):a.connect_(this))};Blockly.Connection.connectReciprocally_=function(a,b){goog.asserts.assert(a&&b,\"Cannot connect null connections.\");a.targetConnection=b;b.targetConnection=a};\nBlockly.Connection.singleConnection_=function(a,b){for(var c=!1,d=0;d<a.inputList.length;d++){var e=a.inputList[d].connection;if(e&&e.type==Blockly.INPUT_VALUE&&b.outputConnection.checkType_(e)){if(c)return null;c=e}}return c};Blockly.Connection.lastConnectionInRow_=function(a,b){for(var c=a,d;d=Blockly.Connection.singleConnection_(c,b);)if(c=d.targetBlock(),!c||c.isShadow())return d;return null};\nBlockly.Connection.prototype.disconnect=function(){var a=this.targetConnection;goog.asserts.assert(a,\"Source connection not connected.\");goog.asserts.assert(a.targetConnection==this,\"Target connection not connected to source connection.\");if(this.isSuperior()){var b=this.sourceBlock_;var c=a.getSourceBlock();a=this}else b=a.getSourceBlock(),c=this.sourceBlock_;this.disconnectInternal_(b,c);a.respawnShadow_()};\nBlockly.Connection.prototype.disconnectInternal_=function(a,b){var c;Blockly.Events.isEnabled()&&(c=new Blockly.Events.BlockMove(b));this.targetConnection=this.targetConnection.targetConnection=null;b.setParent(null);c&&(c.recordNew(),Blockly.Events.fire(c))};\nBlockly.Connection.prototype.respawnShadow_=function(){var a=this.getSourceBlock(),b=this.getShadowDom();if(a.workspace&&b&&Blockly.Events.recordUndo)if(a=Blockly.Xml.domToBlock(b,a.workspace),a.outputConnection)this.connect(a.outputConnection);else if(a.previousConnection)this.connect(a.previousConnection);else throw\"Child block does not have output or previous statement.\";};Blockly.Connection.prototype.targetBlock=function(){return this.isConnected()?this.targetConnection.getSourceBlock():null};\nBlockly.Connection.prototype.checkType_=function(a){if(!this.check_||!a.check_)return!0;for(var b=0;b<this.check_.length;b++)if(-1!=a.check_.indexOf(this.check_[b]))return!0;return!1};Blockly.Connection.prototype.onCheckChanged_=function(){this.isConnected()&&!this.checkType_(this.targetConnection)&&(this.isSuperior()?this.targetBlock():this.sourceBlock_).unplug()};\nBlockly.Connection.prototype.setCheck=function(a){a?(goog.isArray(a)||(a=[a]),this.check_=a,this.onCheckChanged_()):this.check_=null;return this};Blockly.Connection.prototype.setShadowDom=function(a){this.shadowDom_=a};Blockly.Connection.prototype.getShadowDom=function(){return this.shadowDom_};Blockly.Connection.prototype.neighbours_=function(){return[]};\nBlockly.Connection.prototype.toString=function(){var a=this.sourceBlock_;if(a)if(a.outputConnection==this)var b=\"Output Connection of \";else if(a.previousConnection==this)b=\"Previous Connection of \";else if(a.nextConnection==this)b=\"Next Connection of \";else if(b=goog.array.find(a.inputList,function(a){return a.connection==this},this))b='Input \"'+b.name+'\" connection on ';else return console.warn(\"Connection not actually connected to sourceBlock_\"),\"Orphan Connection\";else return\"Orphan Connection\";\nreturn b+a.toDevString()};Blockly.Extensions={};Blockly.Extensions.ALL_={};Blockly.Extensions.register=function(a,b){if(!goog.isString(a)||goog.string.isEmptyOrWhitespace(a))throw Error('Error: Invalid extension name \"'+a+'\"');if(Blockly.Extensions.ALL_[a])throw Error('Error: Extension \"'+a+'\" is already registered.');if(!goog.isFunction(b))throw Error('Error: Extension \"'+a+'\" must be a function');Blockly.Extensions.ALL_[a]=b};Blockly.Extensions.registerMixin=function(a,b){Blockly.Extensions.register(a,function(){this.mixin(b)})};\nBlockly.Extensions.registerMutator=function(a,b,c,d){var e='Error when registering mutator \"'+a+'\": ';Blockly.Extensions.checkHasFunction_(e,b.domToMutation,\"domToMutation\");Blockly.Extensions.checkHasFunction_(e,b.mutationToDom,\"mutationToDom\");var f=Blockly.Extensions.checkMutatorDialog_(b,e);if(c&&!goog.isFunction(c))throw Error('Extension \"'+a+'\" is not a function');Blockly.Extensions.register(a,function(){f&&this.setMutator(new Blockly.Mutator(d));this.mixin(b);c&&c.apply(this)})};\nBlockly.Extensions.apply=function(a,b,c){var d=Blockly.Extensions.ALL_[a];if(!goog.isFunction(d))throw Error('Error: Extension \"'+a+'\" not found.');if(c)Blockly.Extensions.checkNoMutatorProperties_(a,b);else var e=Blockly.Extensions.getMutatorProperties_(b);d.apply(b);if(c)Blockly.Extensions.checkBlockHasMutatorProperties_('Error after applying mutator \"'+a+'\": ',b);else if(!Blockly.Extensions.mutatorPropertiesMatch_(e,b))throw Error('Error when applying extension \"'+a+'\": mutation properties changed when applying a non-mutator extension.');\n};Blockly.Extensions.checkHasFunction_=function(a,b,c){if(!b)throw Error(a+'missing required property \"'+c+'\"');if(\"function\"!=typeof b)throw Error(a+'\" required property \"'+c+'\" must be a function');};Blockly.Extensions.checkNoMutatorProperties_=function(a,b){if(Blockly.Extensions.getMutatorProperties_(b).length)throw Error('Error: tried to apply mutation \"'+a+'\" to a block that already has mutator functions.  Block id: '+b.id);};\nBlockly.Extensions.checkMutatorDialog_=function(a,b){var c=void 0!==a.compose,d=void 0!==a.decompose;if(c&&d){if(\"function\"!==typeof a.compose)throw Error(b+\"compose must be a function.\");if(\"function\"!==typeof a.decompose)throw Error(b+\"decompose must be a function.\");return!0}if(c||d)throw Error(b+'Must have both or neither of \"compose\" and \"decompose\"');return!1};\nBlockly.Extensions.checkBlockHasMutatorProperties_=function(a,b){if(\"function\"!==typeof b.domToMutation)throw Error(a+'Applying a mutator didn\\'t add \"domToMutation\"');if(\"function\"!==typeof b.mutationToDom)throw Error(a+'Applying a mutator didn\\'t add \"mutationToDom\"');Blockly.Extensions.checkMutatorDialog_(b,a)};\nBlockly.Extensions.getMutatorProperties_=function(a){var b=[];void 0!==a.domToMutation&&b.push(a.domToMutation);void 0!==a.mutationToDom&&b.push(a.mutationToDom);void 0!==a.compose&&b.push(a.compose);void 0!==a.decompose&&b.push(a.decompose);return b};Blockly.Extensions.mutatorPropertiesMatch_=function(a,b){var c=!0,d=Blockly.Extensions.getMutatorProperties_(b);if(d.length!=a.length)c=!1;else for(var e=0;e<d.length;e++)a[e]!=d[e]&&(c=!1);return c};\nBlockly.Extensions.buildTooltipForDropdown=function(a,b){var c=[];document&&Blockly.utils.runAfterPageLoad(function(){for(var a in b)Blockly.utils.checkMessageReferences(b[a])});return function(){this.type&&-1===c.indexOf(this.type)&&(Blockly.Extensions.checkDropdownOptionsInTable_(this,a,b),c.push(this.type));this.setTooltip(function(){var d=this.getFieldValue(a),e=b[d];null==e?-1===c.indexOf(this.type)&&(d=\"No tooltip mapping for value \"+d+\" of field \"+a,null!=this.type&&(d+=\" of block type \"+this.type),\nconsole.warn(d+\".\")):e=Blockly.utils.replaceMessageReferences(e);return e}.bind(this))}};Blockly.Extensions.checkDropdownOptionsInTable_=function(a,b,c){var d=a.getField(b);if(!d.isOptionListDynamic()){d=d.getOptions();for(var e=0;e<d.length;++e){var f=d[e][1];null==c[f]&&console.warn(\"No tooltip mapping for value \"+f+\" of field \"+b+\" of block type \"+a.type)}}};\nBlockly.Extensions.buildTooltipWithFieldValue=function(a,b){document&&Blockly.utils.runAfterPageLoad(function(){Blockly.utils.checkMessageReferences(a)});return function(){this.setTooltip(function(){return Blockly.utils.replaceMessageReferences(a).replace(\"%1\",this.getFieldValue(b))}.bind(this))}};Blockly.Extensions.extensionParentTooltip_=function(){this.tooltipWhenNotConnected_=this.tooltip;this.setTooltip(function(){var a=this.getParent();return a&&a.getInputsInline()&&a.tooltip||this.tooltipWhenNotConnected_}.bind(this))};\nBlockly.Extensions.register(\"parent_tooltip_when_inline\",Blockly.Extensions.extensionParentTooltip_);Blockly.RenderedConnection=function(a,b){Blockly.RenderedConnection.superClass_.constructor.call(this,a,b);this.offsetInBlock_=new goog.math.Coordinate(0,0)};goog.inherits(Blockly.RenderedConnection,Blockly.Connection);Blockly.RenderedConnection.prototype.distanceFrom=function(a){var b=this.x_-a.x_;a=this.y_-a.y_;return Math.sqrt(b*b+a*a)};\nBlockly.RenderedConnection.prototype.bumpAwayFrom_=function(a){if(!this.sourceBlock_.workspace.isDragging()){var b=this.sourceBlock_.getRootBlock();if(!b.isInFlyout){var c=!1;if(!b.isMovable()){b=a.getSourceBlock().getRootBlock();if(!b.isMovable())return;a=this;c=!0}var d=Blockly.selected==b;d||b.addSelect();var e=a.x_+Blockly.SNAP_RADIUS-this.x_;a=a.y_+Blockly.SNAP_RADIUS-this.y_;c&&(a=-a);b.RTL&&(e=-e);b.moveBy(e,a);d||b.removeSelect()}}};\nBlockly.RenderedConnection.prototype.moveTo=function(a,b){this.inDB_&&this.db_.removeConnection_(this);this.x_=a;this.y_=b;this.hidden_||this.db_.addConnection(this)};Blockly.RenderedConnection.prototype.moveBy=function(a,b){this.moveTo(this.x_+a,this.y_+b)};Blockly.RenderedConnection.prototype.moveToOffset=function(a){this.moveTo(a.x+this.offsetInBlock_.x,a.y+this.offsetInBlock_.y)};\nBlockly.RenderedConnection.prototype.setOffsetInBlock=function(a,b){this.offsetInBlock_.x=a;this.offsetInBlock_.y=b};Blockly.RenderedConnection.prototype.tighten_=function(){var a=this.targetConnection.x_-this.x_,b=this.targetConnection.y_-this.y_;if(0!=a||0!=b){var c=this.targetBlock(),d=c.getSvgRoot();if(!d)throw\"block is not rendered.\";d=Blockly.utils.getRelativeXY(d);c.getSvgRoot().setAttribute(\"transform\",\"translate(\"+(d.x-a)+\",\"+(d.y-b)+\")\");c.moveConnections_(-a,-b)}};\nBlockly.RenderedConnection.prototype.closest=function(a,b,c){return this.dbOpposite_.searchForClosest(this,a,b,c)};\nBlockly.RenderedConnection.prototype.highlight=function(){var a=this.type==Blockly.INPUT_VALUE||this.type==Blockly.OUTPUT_VALUE?\"m 0,0 \"+Blockly.BlockSvg.TAB_PATH_DOWN+\" v 5\":\"m -20,0 h 5 \"+Blockly.BlockSvg.NOTCH_PATH_LEFT+\" h 5\";var b=this.sourceBlock_.getRelativeToSurfaceXY();Blockly.Connection.highlightedPath_=Blockly.utils.createSvgElement(\"path\",{\"class\":\"blocklyHighlightedConnectionPath\",d:a,transform:\"translate(\"+(this.x_-b.x)+\",\"+(this.y_-b.y)+\")\"+(this.sourceBlock_.RTL?\" scale(-1 1)\":\"\")},\nthis.sourceBlock_.getSvgRoot())};\nBlockly.RenderedConnection.prototype.unhideAll=function(){this.setHidden(!1);var a=[];if(this.type!=Blockly.INPUT_VALUE&&this.type!=Blockly.NEXT_STATEMENT)return a;var b=this.targetBlock();if(b){if(b.isCollapsed()){var c=[];b.outputConnection&&c.push(b.outputConnection);b.nextConnection&&c.push(b.nextConnection);b.previousConnection&&c.push(b.previousConnection)}else c=b.getConnections_(!0);for(var d=0;d<c.length;d++)a.push.apply(a,c[d].unhideAll());a.length||(a[0]=b)}return a};\nBlockly.RenderedConnection.prototype.unhighlight=function(){goog.dom.removeNode(Blockly.Connection.highlightedPath_);delete Blockly.Connection.highlightedPath_};Blockly.RenderedConnection.prototype.setHidden=function(a){(this.hidden_=a)&&this.inDB_?this.db_.removeConnection_(this):a||this.inDB_||this.db_.addConnection(this)};\nBlockly.RenderedConnection.prototype.hideAll=function(){this.setHidden(!0);if(this.targetConnection)for(var a=this.targetBlock().getDescendants(),b=0;b<a.length;b++){for(var c=a[b],d=c.getConnections_(!0),e=0;e<d.length;e++)d[e].setHidden(!0);c=c.getIcons();for(e=0;e<c.length;e++)c[e].setVisible(!1)}};Blockly.RenderedConnection.prototype.isConnectionAllowed=function(a,b){return this.distanceFrom(a)>b?!1:Blockly.RenderedConnection.superClass_.isConnectionAllowed.call(this,a)};\nBlockly.RenderedConnection.prototype.disconnectInternal_=function(a,b){Blockly.RenderedConnection.superClass_.disconnectInternal_.call(this,a,b);a.rendered&&a.render();b.rendered&&(b.updateDisabled(),b.render())};\nBlockly.RenderedConnection.prototype.respawnShadow_=function(){var a=this.getSourceBlock(),b=this.getShadowDom();if(a.workspace&&b&&Blockly.Events.recordUndo){Blockly.RenderedConnection.superClass_.respawnShadow_.call(this);b=this.targetBlock();if(!b)throw\"Couldn't respawn the shadow block that should exist here.\";b.initSvg();b.render(!1);a.rendered&&a.render()}};Blockly.RenderedConnection.prototype.neighbours_=function(a){return this.dbOpposite_.getNeighbours(this,a)};\nBlockly.RenderedConnection.prototype.connect_=function(a){Blockly.RenderedConnection.superClass_.connect_.call(this,a);var b=this.getSourceBlock();a=a.getSourceBlock();b.rendered&&b.updateDisabled();a.rendered&&a.updateDisabled();b.rendered&&a.rendered&&(this.type==Blockly.NEXT_STATEMENT||this.type==Blockly.PREVIOUS_STATEMENT?a.render():b.render())};\nBlockly.RenderedConnection.prototype.onCheckChanged_=function(){this.isConnected()&&!this.checkType_(this.targetConnection)&&((this.isSuperior()?this.targetBlock():this.sourceBlock_).unplug(),this.sourceBlock_.bumpNeighbours_())};Blockly.DraggedConnectionManager=function(a){this.topBlock_=Blockly.selected=a;this.workspace_=a.workspace;this.availableConnections_=this.initAvailableConnections_();this.localConnection_=this.closestConnection_=null;this.radiusConnection_=0;this.wouldDeleteBlock_=!1};Blockly.DraggedConnectionManager.prototype.dispose=function(){this.workspace_=this.topBlock_=null;this.availableConnections_.length=0;this.localConnection_=this.closestConnection_=null};\nBlockly.DraggedConnectionManager.prototype.wouldDeleteBlock=function(){return this.wouldDeleteBlock_};Blockly.DraggedConnectionManager.prototype.applyConnections=function(){this.closestConnection_&&(this.localConnection_.connect(this.closestConnection_),this.topBlock_.rendered&&((this.localConnection_.isSuperior()?this.closestConnection_:this.localConnection_).getSourceBlock().connectionUiEffect(),this.topBlock_.getRootBlock().bringToFront()),this.removeHighlighting_())};\nBlockly.DraggedConnectionManager.prototype.update=function(a,b){var c=this.closestConnection_,d=this.updateClosest_(a);d&&c&&c.unhighlight();c=!!this.closestConnection_&&b!=Blockly.DELETE_AREA_TOOLBOX;this.wouldDeleteBlock_=!!b&&!this.topBlock_.getParent()&&this.topBlock_.isDeletable()&&!c;!this.wouldDeleteBlock_&&d&&this.closestConnection_&&this.addHighlighting_()};Blockly.DraggedConnectionManager.prototype.removeHighlighting_=function(){this.closestConnection_&&this.closestConnection_.unhighlight()};\nBlockly.DraggedConnectionManager.prototype.addHighlighting_=function(){this.closestConnection_&&this.closestConnection_.highlight()};Blockly.DraggedConnectionManager.prototype.initAvailableConnections_=function(){var a=this.topBlock_.getConnections_(!1),b=this.topBlock_.lastConnectionInStack_();b&&b!=this.topBlock_.nextConnection&&a.push(b);return a};\nBlockly.DraggedConnectionManager.prototype.updateClosest_=function(a){var b=this.closestConnection_;this.localConnection_=this.closestConnection_=null;this.radiusConnection_=Blockly.SNAP_RADIUS;for(var c=0;c<this.availableConnections_.length;c++){var d=this.availableConnections_[c],e=d.closest(this.radiusConnection_,a);e.connection&&(this.closestConnection_=e.connection,this.localConnection_=d,this.radiusConnection_=e.radius)}return b!=this.closestConnection_};Blockly.BlockDragger=function(a,b){this.draggingBlock_=a;this.workspace_=b;this.draggedConnectionManager_=new Blockly.DraggedConnectionManager(this.draggingBlock_);this.deleteArea_=null;this.wouldDeleteBlock_=!1;this.startXY_=this.draggingBlock_.getRelativeToSurfaceXY();this.dragIconData_=Blockly.BlockDragger.initIconData_(a)};\nBlockly.BlockDragger.prototype.dispose=function(){this.startWorkspace_=this.workspace_=this.draggingBlock_=null;this.dragIconData_.length=0;this.draggedConnectionManager_&&(this.draggedConnectionManager_.dispose(),this.draggedConnectionManager_=null)};Blockly.BlockDragger.initIconData_=function(a){var b=[];a=a.getDescendants();for(var c=0,d;d=a[c];c++){d=d.getIcons();for(var e=0;e<d.length;e++){var f={location:d[e].getIconLocation(),icon:d[e]};b.push(f)}}return b};\nBlockly.BlockDragger.prototype.startBlockDrag=function(a){Blockly.Events.getGroup()||Blockly.Events.setGroup(!0);this.workspace_.setResizesEnabled(!1);Blockly.BlockSvg.disconnectUiStop_();this.draggingBlock_.getParent()&&(this.draggingBlock_.unplug(),a=this.pixelsToWorkspaceUnits_(a),a=goog.math.Coordinate.sum(this.startXY_,a),this.draggingBlock_.translate(a.x,a.y),this.draggingBlock_.disconnectUiEffect());this.draggingBlock_.setDragging(!0);this.draggingBlock_.moveToDragSurface_();this.workspace_.toolbox_&&\nthis.workspace_.toolbox_.addDeleteStyle()};Blockly.BlockDragger.prototype.dragBlock=function(a,b){var c=this.pixelsToWorkspaceUnits_(b),d=goog.math.Coordinate.sum(this.startXY_,c);this.draggingBlock_.moveDuringDrag(d);this.dragIcons_(c);this.deleteArea_=this.workspace_.isDeleteArea(a);this.draggedConnectionManager_.update(c,this.deleteArea_);this.updateCursorDuringBlockDrag_()};\nBlockly.BlockDragger.prototype.endBlockDrag=function(a,b){this.dragBlock(a,b);this.dragIconData_=[];Blockly.BlockSvg.disconnectUiStop_();var c=this.pixelsToWorkspaceUnits_(b),d=goog.math.Coordinate.sum(this.startXY_,c);this.draggingBlock_.moveOffDragSurface_(d);this.maybeDeleteBlock_()||(this.draggingBlock_.moveConnections_(c.x,c.y),this.draggingBlock_.setDragging(!1),this.draggedConnectionManager_.applyConnections(),this.draggingBlock_.render(),this.fireMoveEvent_(),this.draggingBlock_.scheduleSnapAndBump());\nthis.workspace_.setResizesEnabled(!0);this.workspace_.toolbox_&&this.workspace_.toolbox_.removeDeleteStyle();Blockly.Events.setGroup(!1)};Blockly.BlockDragger.prototype.fireMoveEvent_=function(){var a=new Blockly.Events.BlockMove(this.draggingBlock_);a.oldCoordinate=this.startXY_;a.recordNew();Blockly.Events.fire(a)};\nBlockly.BlockDragger.prototype.maybeDeleteBlock_=function(){var a=this.workspace_.trashcan;this.wouldDeleteBlock_?(a&&goog.Timer.callOnce(a.close,100,a),this.fireMoveEvent_(),this.draggingBlock_.dispose(!1,!0)):a&&a.close();return this.wouldDeleteBlock_};\nBlockly.BlockDragger.prototype.updateCursorDuringBlockDrag_=function(){this.wouldDeleteBlock_=this.draggedConnectionManager_.wouldDeleteBlock();var a=this.workspace_.trashcan;this.wouldDeleteBlock_?(this.draggingBlock_.setDeleteStyle(!0),this.deleteArea_==Blockly.DELETE_AREA_TRASH&&a&&a.setOpen_(!0)):(this.draggingBlock_.setDeleteStyle(!1),a&&a.setOpen_(!1))};\nBlockly.BlockDragger.prototype.pixelsToWorkspaceUnits_=function(a){a=new goog.math.Coordinate(a.x/this.workspace_.scale,a.y/this.workspace_.scale);this.workspace_.isMutator&&(a=a.scale(1/this.workspace_.options.parentWorkspace.scale));return a};Blockly.BlockDragger.prototype.dragIcons_=function(a){for(var b=0;b<this.dragIconData_.length;b++){var c=this.dragIconData_[b];c.icon.setIconLocation(goog.math.Coordinate.sum(c.location,a))}};Blockly.constants={};Blockly.DRAG_RADIUS=5;Blockly.FLYOUT_DRAG_RADIUS=10;Blockly.SNAP_RADIUS=20;Blockly.BUMP_DELAY=250;Blockly.COLLAPSE_CHARS=30;Blockly.LONGPRESS=750;Blockly.SOUND_LIMIT=100;Blockly.DRAG_STACK=!0;Blockly.HSV_SATURATION=.45;Blockly.HSV_VALUE=.65;Blockly.SPRITE={width:96,height:124,url:\"sprites.png\"};Blockly.SVG_NS=\"http://www.w3.org/2000/svg\";Blockly.HTML_NS=\"http://www.w3.org/1999/xhtml\";Blockly.INPUT_VALUE=1;Blockly.OUTPUT_VALUE=2;Blockly.NEXT_STATEMENT=3;\nBlockly.PREVIOUS_STATEMENT=4;Blockly.DUMMY_INPUT=5;Blockly.ALIGN_LEFT=-1;Blockly.ALIGN_CENTRE=0;Blockly.ALIGN_RIGHT=1;Blockly.DRAG_NONE=0;Blockly.DRAG_STICKY=1;Blockly.DRAG_BEGIN=1;Blockly.DRAG_FREE=2;Blockly.OPPOSITE_TYPE=[];Blockly.OPPOSITE_TYPE[Blockly.INPUT_VALUE]=Blockly.OUTPUT_VALUE;Blockly.OPPOSITE_TYPE[Blockly.OUTPUT_VALUE]=Blockly.INPUT_VALUE;Blockly.OPPOSITE_TYPE[Blockly.NEXT_STATEMENT]=Blockly.PREVIOUS_STATEMENT;Blockly.OPPOSITE_TYPE[Blockly.PREVIOUS_STATEMENT]=Blockly.NEXT_STATEMENT;\nBlockly.TOOLBOX_AT_TOP=0;Blockly.TOOLBOX_AT_BOTTOM=1;Blockly.TOOLBOX_AT_LEFT=2;Blockly.TOOLBOX_AT_RIGHT=3;Blockly.DELETE_AREA_NONE=null;Blockly.DELETE_AREA_TRASH=1;Blockly.DELETE_AREA_TOOLBOX=2;Blockly.VARIABLE_CATEGORY_NAME=\"VARIABLE\";Blockly.PROCEDURE_CATEGORY_NAME=\"PROCEDURE\";Blockly.RENAME_VARIABLE_ID=\"RENAME_VARIABLE_ID\";Blockly.DELETE_VARIABLE_ID=\"DELETE_VARIABLE_ID\";Blockly.WorkspaceDragger=function(a){this.workspace_=a;this.startDragMetrics_=a.getMetrics();this.startScrollXY_=new goog.math.Coordinate(a.scrollX,a.scrollY)};Blockly.WorkspaceDragger.prototype.dispose=function(){this.workspace_=null};Blockly.WorkspaceDragger.prototype.startDrag=function(){Blockly.selected&&Blockly.selected.unselect();this.workspace_.setupDragSurface()};Blockly.WorkspaceDragger.prototype.endDrag=function(a){this.drag(a);this.workspace_.resetDragSurface()};\nBlockly.WorkspaceDragger.prototype.drag=function(a){var b=this.startDragMetrics_,c=goog.math.Coordinate.sum(this.startScrollXY_,a);a=Math.min(c.x,-b.contentLeft);c=Math.min(c.y,-b.contentTop);a=Math.max(a,b.viewWidth-b.contentLeft-b.contentWidth);c=Math.max(c,b.viewHeight-b.contentTop-b.contentHeight);a=-a-b.contentLeft;c=-c-b.contentTop;this.updateScroll_(a,c)};Blockly.WorkspaceDragger.prototype.updateScroll_=function(a,b){this.workspace_.scrollbar.set(a,b)};Blockly.FlyoutDragger=function(a){Blockly.FlyoutDragger.superClass_.constructor.call(this,a.getWorkspace());this.scrollbar_=a.scrollbar_;this.horizontalLayout_=a.horizontalLayout_};goog.inherits(Blockly.FlyoutDragger,Blockly.WorkspaceDragger);Blockly.FlyoutDragger.prototype.updateScroll_=function(a,b){this.horizontalLayout_?this.scrollbar_.set(a):this.scrollbar_.set(b)};Blockly.Tooltip={};Blockly.Tooltip.visible=!1;Blockly.Tooltip.blocked_=!1;Blockly.Tooltip.LIMIT=50;Blockly.Tooltip.mouseOutPid_=0;Blockly.Tooltip.showPid_=0;Blockly.Tooltip.lastX_=0;Blockly.Tooltip.lastY_=0;Blockly.Tooltip.element_=null;Blockly.Tooltip.poisonedElement_=null;Blockly.Tooltip.OFFSET_X=0;Blockly.Tooltip.OFFSET_Y=10;Blockly.Tooltip.RADIUS_OK=10;Blockly.Tooltip.HOVER_MS=750;Blockly.Tooltip.MARGINS=5;Blockly.Tooltip.DIV=null;\nBlockly.Tooltip.createDom=function(){Blockly.Tooltip.DIV||(Blockly.Tooltip.DIV=goog.dom.createDom(\"DIV\",\"blocklyTooltipDiv\"),document.body.appendChild(Blockly.Tooltip.DIV))};Blockly.Tooltip.bindMouseEvents=function(a){Blockly.bindEvent_(a,\"mouseover\",null,Blockly.Tooltip.onMouseOver_);Blockly.bindEvent_(a,\"mouseout\",null,Blockly.Tooltip.onMouseOut_);a.addEventListener(\"mousemove\",Blockly.Tooltip.onMouseMove_,!1)};\nBlockly.Tooltip.onMouseOver_=function(a){if(!Blockly.Tooltip.blocked_){for(a=a.target;!goog.isString(a.tooltip)&&!goog.isFunction(a.tooltip);)a=a.tooltip;Blockly.Tooltip.element_!=a&&(Blockly.Tooltip.hide(),Blockly.Tooltip.poisonedElement_=null,Blockly.Tooltip.element_=a);clearTimeout(Blockly.Tooltip.mouseOutPid_)}};\nBlockly.Tooltip.onMouseOut_=function(a){Blockly.Tooltip.blocked_||(Blockly.Tooltip.mouseOutPid_=setTimeout(function(){Blockly.Tooltip.element_=null;Blockly.Tooltip.poisonedElement_=null;Blockly.Tooltip.hide()},1),clearTimeout(Blockly.Tooltip.showPid_))};\nBlockly.Tooltip.onMouseMove_=function(a){if(Blockly.Tooltip.element_&&Blockly.Tooltip.element_.tooltip&&!Blockly.WidgetDiv.isVisible()&&!Blockly.Tooltip.blocked_)if(Blockly.Tooltip.visible){var b=Blockly.Tooltip.lastX_-a.pageX;a=Blockly.Tooltip.lastY_-a.pageY;Math.sqrt(b*b+a*a)>Blockly.Tooltip.RADIUS_OK&&Blockly.Tooltip.hide()}else Blockly.Tooltip.poisonedElement_!=Blockly.Tooltip.element_&&(clearTimeout(Blockly.Tooltip.showPid_),Blockly.Tooltip.lastX_=a.pageX,Blockly.Tooltip.lastY_=a.pageY,Blockly.Tooltip.showPid_=\nsetTimeout(Blockly.Tooltip.show_,Blockly.Tooltip.HOVER_MS))};Blockly.Tooltip.hide=function(){Blockly.Tooltip.visible&&(Blockly.Tooltip.visible=!1,Blockly.Tooltip.DIV&&(Blockly.Tooltip.DIV.style.display=\"none\"));clearTimeout(Blockly.Tooltip.showPid_)};Blockly.Tooltip.block=function(){Blockly.Tooltip.hide();Blockly.Tooltip.blocked_=!0};Blockly.Tooltip.unblock=function(){Blockly.Tooltip.blocked_=!1};\nBlockly.Tooltip.show_=function(){if(!Blockly.Tooltip.blocked_&&(Blockly.Tooltip.poisonedElement_=Blockly.Tooltip.element_,Blockly.Tooltip.DIV)){goog.dom.removeChildren(Blockly.Tooltip.DIV);for(var a=Blockly.Tooltip.element_.tooltip;goog.isFunction(a);)a=a();a=Blockly.utils.wrap(a,Blockly.Tooltip.LIMIT);a=a.split(\"\\n\");for(var b=0;b<a.length;b++){var c=document.createElement(\"div\");c.appendChild(document.createTextNode(a[b]));Blockly.Tooltip.DIV.appendChild(c)}a=Blockly.Tooltip.element_.RTL;b=goog.dom.getViewportSize();\nBlockly.Tooltip.DIV.style.direction=a?\"rtl\":\"ltr\";Blockly.Tooltip.DIV.style.display=\"block\";Blockly.Tooltip.visible=!0;c=Blockly.Tooltip.lastX_;c=a?c-(Blockly.Tooltip.OFFSET_X+Blockly.Tooltip.DIV.offsetWidth):c+Blockly.Tooltip.OFFSET_X;var d=Blockly.Tooltip.lastY_+Blockly.Tooltip.OFFSET_Y;d+Blockly.Tooltip.DIV.offsetHeight>b.height+window.scrollY&&(d-=Blockly.Tooltip.DIV.offsetHeight+2*Blockly.Tooltip.OFFSET_Y);a?c=Math.max(Blockly.Tooltip.MARGINS-window.scrollX,c):c+Blockly.Tooltip.DIV.offsetWidth>\nb.width+window.scrollX-2*Blockly.Tooltip.MARGINS&&(c=b.width-Blockly.Tooltip.DIV.offsetWidth-2*Blockly.Tooltip.MARGINS);Blockly.Tooltip.DIV.style.top=d+\"px\";Blockly.Tooltip.DIV.style.left=c+\"px\"}};Blockly.Gesture=function(a,b){this.mouseDownXY_=null;this.currentDragDeltaXY_=0;this.startWorkspace_=this.targetBlock_=this.startBlock_=this.startField_=null;this.creatorWorkspace_=b;this.isDraggingBlock_=this.isDraggingWorkspace_=this.hasExceededDragRadius_=!1;this.mostRecentEvent_=a;this.flyout_=this.workspaceDragger_=this.blockDragger_=this.onUpWrapper_=this.onMoveWrapper_=null;this.isEnding_=this.hasStarted_=this.calledUpdateIsDragging_=!1};\nBlockly.Gesture.prototype.dispose=function(){Blockly.Touch.clearTouchIdentifier();Blockly.Tooltip.unblock();this.creatorWorkspace_.clearGesture();this.onMoveWrapper_&&Blockly.unbindEvent_(this.onMoveWrapper_);this.onUpWrapper_&&Blockly.unbindEvent_(this.onUpWrapper_);this.flyout_=this.startWorkspace_=this.targetBlock_=this.startBlock_=this.startField_=null;this.blockDragger_&&(this.blockDragger_.dispose(),this.blockDragger_=null);this.workspaceDragger_&&(this.workspaceDragger_.dispose(),this.workspaceDragger_=\nnull)};Blockly.Gesture.prototype.updateFromEvent_=function(a){var b=new goog.math.Coordinate(a.clientX,a.clientY);this.updateDragDelta_(b)&&(this.updateIsDragging_(),Blockly.longStop_());this.mostRecentEvent_=a};\nBlockly.Gesture.prototype.updateDragDelta_=function(a){this.currentDragDeltaXY_=goog.math.Coordinate.difference(a,this.mouseDownXY_);return this.hasExceededDragRadius_?!1:this.hasExceededDragRadius_=goog.math.Coordinate.magnitude(this.currentDragDeltaXY_)>(this.flyout_?Blockly.FLYOUT_DRAG_RADIUS:Blockly.DRAG_RADIUS)};\nBlockly.Gesture.prototype.updateIsDraggingFromFlyout_=function(){return this.targetBlock_.disabled?!1:!this.flyout_.isScrollable()||this.flyout_.isDragTowardWorkspace(this.currentDragDeltaXY_)?(this.startWorkspace_=this.flyout_.targetWorkspace_,this.startWorkspace_.updateScreenCalculationsIfScrolled(),Blockly.Events.getGroup()||Blockly.Events.setGroup(!0),this.startBlock_=null,this.targetBlock_=this.flyout_.createBlock(this.targetBlock_),this.targetBlock_.select(),!0):!1};\nBlockly.Gesture.prototype.updateIsDraggingBlock_=function(){if(!this.targetBlock_)return!1;this.flyout_?this.isDraggingBlock_=this.updateIsDraggingFromFlyout_():this.targetBlock_.isMovable()&&(this.isDraggingBlock_=!0);return this.isDraggingBlock_?(this.startDraggingBlock_(),!0):!1};\nBlockly.Gesture.prototype.updateIsDraggingWorkspace_=function(){if(this.flyout_?this.flyout_.isScrollable():this.startWorkspace_&&this.startWorkspace_.isDraggable())this.workspaceDragger_=this.flyout_?new Blockly.FlyoutDragger(this.flyout_):new Blockly.WorkspaceDragger(this.startWorkspace_),this.isDraggingWorkspace_=!0,this.workspaceDragger_.startDrag()};\nBlockly.Gesture.prototype.updateIsDragging_=function(){goog.asserts.assert(!this.calledUpdateIsDragging_,\"updateIsDragging_ should only be called once per gesture.\");this.calledUpdateIsDragging_=!0;this.updateIsDraggingBlock_()||this.updateIsDraggingWorkspace_()};\nBlockly.Gesture.prototype.startDraggingBlock_=function(){this.blockDragger_=new Blockly.BlockDragger(this.targetBlock_,this.startWorkspace_);this.blockDragger_.startBlockDrag(this.currentDragDeltaXY_);this.blockDragger_.dragBlock(this.mostRecentEvent_,this.currentDragDeltaXY_)};\nBlockly.Gesture.prototype.doStart=function(a){Blockly.utils.isTargetInput(a)?this.cancel():(this.hasStarted_=!0,Blockly.BlockSvg.disconnectUiStop_(),this.startWorkspace_.updateScreenCalculationsIfScrolled(),this.startWorkspace_.isMutator&&this.startWorkspace_.resize(),this.startWorkspace_.markFocused(),this.mostRecentEvent_=a,Blockly.hideChaff(!!this.flyout_),Blockly.Tooltip.block(),this.targetBlock_&&this.targetBlock_.select(),Blockly.utils.isRightButton(a)?this.handleRightClick(a):(goog.string.caseInsensitiveEquals(a.type,\n\"touchstart\")&&Blockly.longStart_(a,this),this.mouseDownXY_=new goog.math.Coordinate(a.clientX,a.clientY),this.onMoveWrapper_=Blockly.bindEventWithChecks_(document,\"mousemove\",null,this.handleMove.bind(this)),this.onUpWrapper_=Blockly.bindEventWithChecks_(document,\"mouseup\",null,this.handleUp.bind(this)),a.preventDefault(),a.stopPropagation()))};\nBlockly.Gesture.prototype.handleMove=function(a){this.updateFromEvent_(a);this.isDraggingWorkspace_?this.workspaceDragger_.drag(this.currentDragDeltaXY_):this.isDraggingBlock_&&this.blockDragger_.dragBlock(this.mostRecentEvent_,this.currentDragDeltaXY_);a.preventDefault();a.stopPropagation()};\nBlockly.Gesture.prototype.handleUp=function(a){this.updateFromEvent_(a);Blockly.longStop_();this.isEnding_?console.log(\"Trying to end a gesture recursively.\"):(this.isEnding_=!0,this.isDraggingBlock_?this.blockDragger_.endBlockDrag(a,this.currentDragDeltaXY_):this.isDraggingWorkspace_?this.workspaceDragger_.endDrag(this.currentDragDeltaXY_):this.isFieldClick_()?this.doFieldClick_():this.isBlockClick_()?this.doBlockClick_():this.isWorkspaceClick_()&&this.doWorkspaceClick_(),a.preventDefault(),a.stopPropagation(),\nthis.dispose())};Blockly.Gesture.prototype.cancel=function(){this.isEnding_||(Blockly.longStop_(),this.isDraggingBlock_?this.blockDragger_.endBlockDrag(this.mostRecentEvent_,this.currentDragDeltaXY_):this.isDraggingWorkspace_&&this.workspaceDragger_.endDrag(this.currentDragDeltaXY_),this.dispose())};\nBlockly.Gesture.prototype.handleRightClick=function(a){this.targetBlock_?(this.bringBlockToFront_(),Blockly.hideChaff(this.flyout_),this.targetBlock_.showContextMenu_(a)):this.startWorkspace_&&!this.flyout_&&(Blockly.hideChaff(),this.startWorkspace_.showContextMenu_(a));a.preventDefault();a.stopPropagation();this.dispose()};\nBlockly.Gesture.prototype.handleWsStart=function(a,b){goog.asserts.assert(!this.hasStarted_,\"Tried to call gesture.handleWsStart, but the gesture had already been started.\");this.setStartWorkspace_(b);this.mostRecentEvent_=a;this.doStart(a)};Blockly.Gesture.prototype.handleFlyoutStart=function(a,b){goog.asserts.assert(!this.hasStarted_,\"Tried to call gesture.handleFlyoutStart, but the gesture had already been started.\");this.setStartFlyout_(b);this.handleWsStart(a,b.getWorkspace())};\nBlockly.Gesture.prototype.handleBlockStart=function(a,b){goog.asserts.assert(!this.hasStarted_,\"Tried to call gesture.handleBlockStart, but the gesture had already been started.\");this.setStartBlock(b);this.mostRecentEvent_=a};Blockly.Gesture.prototype.doFieldClick_=function(){this.startField_.showEditor_();this.bringBlockToFront_()};\nBlockly.Gesture.prototype.doBlockClick_=function(){this.flyout_&&this.flyout_.autoClose?this.targetBlock_.disabled||(Blockly.Events.getGroup()||Blockly.Events.setGroup(!0),this.flyout_.createBlock(this.targetBlock_).scheduleSnapAndBump()):Blockly.Events.fire(new Blockly.Events.Ui(this.startBlock_,\"click\",void 0,void 0));this.bringBlockToFront_();Blockly.Events.setGroup(!1)};Blockly.Gesture.prototype.doWorkspaceClick_=function(){Blockly.selected&&Blockly.selected.unselect()};\nBlockly.Gesture.prototype.bringBlockToFront_=function(){this.targetBlock_&&!this.flyout_&&this.targetBlock_.bringToFront()};Blockly.Gesture.prototype.setStartField=function(a){goog.asserts.assert(!this.hasStarted_,\"Tried to call gesture.setStartField, but the gesture had already been started.\");this.startField_||(this.startField_=a)};Blockly.Gesture.prototype.setStartBlock=function(a){this.startBlock_||(this.startBlock_=a,a.isInFlyout&&a!=a.getRootBlock()?this.setTargetBlock_(a.getRootBlock()):this.setTargetBlock_(a))};\nBlockly.Gesture.prototype.setTargetBlock_=function(a){a.isShadow()?this.setTargetBlock_(a.getParent()):this.targetBlock_=a};Blockly.Gesture.prototype.setStartWorkspace_=function(a){this.startWorkspace_||(this.startWorkspace_=a)};Blockly.Gesture.prototype.setStartFlyout_=function(a){this.flyout_||(this.flyout_=a)};Blockly.Gesture.prototype.isBlockClick_=function(){return!!this.startBlock_&&!this.hasExceededDragRadius_&&!this.isFieldClick_()};\nBlockly.Gesture.prototype.isFieldClick_=function(){return(this.startField_?this.startField_.isCurrentlyEditable():!1)&&!this.hasExceededDragRadius_&&(!this.flyout_||!this.flyout_.autoClose)};Blockly.Gesture.prototype.isWorkspaceClick_=function(){return!this.startBlock_&&!this.startField_&&!this.hasExceededDragRadius_};Blockly.Gesture.prototype.isDragging=function(){return this.isDraggingWorkspace_||this.isDraggingBlock_};Blockly.Gesture.prototype.hasStarted=function(){return this.hasStarted_};Blockly.Field=function(a,b){this.size_=new goog.math.Size(0,Blockly.BlockSvg.MIN_BLOCK_Y);this.setValue(a);this.setValidator(b)};Blockly.Field.cacheWidths_=null;Blockly.Field.cacheReference_=0;Blockly.Field.prototype.name=void 0;Blockly.Field.prototype.maxDisplayLength=50;Blockly.Field.prototype.text_=\"\";Blockly.Field.prototype.sourceBlock_=null;Blockly.Field.prototype.visible_=!0;Blockly.Field.prototype.validator_=null;Blockly.Field.NBSP=\"\\u00a0\";Blockly.Field.prototype.EDITABLE=!0;\nBlockly.Field.prototype.setSourceBlock=function(a){goog.asserts.assert(!this.sourceBlock_,\"Field already bound to a block.\");this.sourceBlock_=a};\nBlockly.Field.prototype.init=function(){this.fieldGroup_||(this.fieldGroup_=Blockly.utils.createSvgElement(\"g\",{},null),this.visible_||(this.fieldGroup_.style.display=\"none\"),this.borderRect_=Blockly.utils.createSvgElement(\"rect\",{rx:4,ry:4,x:-Blockly.BlockSvg.SEP_SPACE_X/2,y:0,height:16},this.fieldGroup_,this.sourceBlock_.workspace),this.textElement_=Blockly.utils.createSvgElement(\"text\",{\"class\":\"blocklyText\",y:this.size_.height-12.5},this.fieldGroup_),this.updateEditable(),this.sourceBlock_.getSvgRoot().appendChild(this.fieldGroup_),\nthis.mouseDownWrapper_=Blockly.bindEventWithChecks_(this.fieldGroup_,\"mousedown\",this,this.onMouseDown_),this.render_())};Blockly.Field.prototype.initModel=function(){};Blockly.Field.prototype.dispose=function(){this.mouseDownWrapper_&&(Blockly.unbindEvent_(this.mouseDownWrapper_),this.mouseDownWrapper_=null);this.sourceBlock_=null;goog.dom.removeNode(this.fieldGroup_);this.validator_=this.borderRect_=this.textElement_=this.fieldGroup_=null};\nBlockly.Field.prototype.updateEditable=function(){var a=this.fieldGroup_;this.EDITABLE&&a&&(this.sourceBlock_.isEditable()?(Blockly.utils.addClass(a,\"blocklyEditableText\"),Blockly.utils.removeClass(a,\"blocklyNonEditableText\"),this.fieldGroup_.style.cursor=this.CURSOR):(Blockly.utils.addClass(a,\"blocklyNonEditableText\"),Blockly.utils.removeClass(a,\"blocklyEditableText\"),this.fieldGroup_.style.cursor=\"\"))};\nBlockly.Field.prototype.isCurrentlyEditable=function(){return this.EDITABLE&&!!this.sourceBlock_&&this.sourceBlock_.isEditable()};Blockly.Field.prototype.isVisible=function(){return this.visible_};Blockly.Field.prototype.setVisible=function(a){if(this.visible_!=a){this.visible_=a;var b=this.getSvgRoot();b&&(b.style.display=a?\"block\":\"none\",this.render_())}};Blockly.Field.prototype.setValidator=function(a){this.validator_=a};Blockly.Field.prototype.getValidator=function(){return this.validator_};\nBlockly.Field.prototype.classValidator=function(a){return a};Blockly.Field.prototype.callValidator=function(a){var b=this.classValidator(a);if(null===b)return null;void 0!==b&&(a=b);if(b=this.getValidator()){b=b.call(this,a);if(null===b)return null;void 0!==b&&(a=b)}return a};Blockly.Field.prototype.getSvgRoot=function(){return this.fieldGroup_};\nBlockly.Field.prototype.render_=function(){if(this.visible_){goog.dom.removeChildren(this.textElement_);var a=document.createTextNode(this.getDisplayText_());this.textElement_.appendChild(a);this.updateWidth()}else this.size_.width=0};Blockly.Field.prototype.updateWidth=function(){var a=Blockly.Field.getCachedWidth(this.textElement_);this.borderRect_&&this.borderRect_.setAttribute(\"width\",a+Blockly.BlockSvg.SEP_SPACE_X);this.size_.width=a};\nBlockly.Field.getCachedWidth=function(a){var b=a.textContent+\"\\n\"+a.className.baseVal,c;if(Blockly.Field.cacheWidths_&&(c=Blockly.Field.cacheWidths_[b]))return c;try{c=goog.userAgent.IE||goog.userAgent.EDGE?a.getBBox().width:a.getComputedTextLength()}catch(d){return 8*a.textContent.length}Blockly.Field.cacheWidths_&&(Blockly.Field.cacheWidths_[b]=c);return c};Blockly.Field.startCache=function(){Blockly.Field.cacheReference_++;Blockly.Field.cacheWidths_||(Blockly.Field.cacheWidths_={})};\nBlockly.Field.stopCache=function(){Blockly.Field.cacheReference_--;Blockly.Field.cacheReference_||(Blockly.Field.cacheWidths_=null)};Blockly.Field.prototype.getSize=function(){this.size_.width||this.render_();return this.size_};Blockly.Field.prototype.getScaledBBox_=function(){var a=this.borderRect_.getBBox(),b=a.height*this.sourceBlock_.workspace.scale;a=a.width*this.sourceBlock_.workspace.scale;var c=this.getAbsoluteXY_();return{top:c.y,bottom:c.y+b,left:c.x,right:c.x+a}};\nBlockly.Field.prototype.getDisplayText_=function(){var a=this.text_;if(!a)return Blockly.Field.NBSP;a.length>this.maxDisplayLength&&(a=a.substring(0,this.maxDisplayLength-2)+\"\\u2026\");a=a.replace(/\\s/g,Blockly.Field.NBSP);this.sourceBlock_.RTL&&(a+=\"\\u200f\");return a};Blockly.Field.prototype.getText=function(){return this.text_};Blockly.Field.prototype.setText=function(a){null!==a&&(a=String(a),a!==this.text_&&(this.text_=a,this.forceRerender()))};\nBlockly.Field.prototype.forceRerender=function(){this.size_.width=0;this.sourceBlock_&&this.sourceBlock_.rendered&&(this.sourceBlock_.render(),this.sourceBlock_.bumpNeighbours_())};Blockly.Field.prototype.getValue=function(){return this.getText()};Blockly.Field.prototype.setValue=function(a){if(null!==a){var b=this.getValue();b!=a&&(this.sourceBlock_&&Blockly.Events.isEnabled()&&Blockly.Events.fire(new Blockly.Events.BlockChange(this.sourceBlock_,\"field\",this.name,b,a)),this.setText(a))}};\nBlockly.Field.prototype.onMouseDown_=function(a){this.sourceBlock_&&this.sourceBlock_.workspace&&(a=this.sourceBlock_.workspace.getGesture(a))&&a.setStartField(this)};Blockly.Field.prototype.setTooltip=function(a){};Blockly.Field.prototype.getAbsoluteXY_=function(){return goog.style.getPageOffset(this.borderRect_)};Blockly.FieldLabel=function(a,b){this.size_=new goog.math.Size(0,17.5);this.class_=b;this.setValue(a)};goog.inherits(Blockly.FieldLabel,Blockly.Field);Blockly.FieldLabel.prototype.EDITABLE=!1;\nBlockly.FieldLabel.prototype.init=function(){this.textElement_||(this.textElement_=Blockly.utils.createSvgElement(\"text\",{\"class\":\"blocklyText\",y:this.size_.height-5},null),this.class_&&Blockly.utils.addClass(this.textElement_,this.class_),this.visible_||(this.textElement_.style.display=\"none\"),this.sourceBlock_.getSvgRoot().appendChild(this.textElement_),this.textElement_.tooltip=this.sourceBlock_,Blockly.Tooltip.bindMouseEvents(this.textElement_),this.render_())};\nBlockly.FieldLabel.prototype.dispose=function(){goog.dom.removeNode(this.textElement_);this.textElement_=null};Blockly.FieldLabel.prototype.getSvgRoot=function(){return this.textElement_};Blockly.FieldLabel.prototype.setTooltip=function(a){this.textElement_.tooltip=a};Blockly.Input=function(a,b,c,d){if(a!=Blockly.DUMMY_INPUT&&!b)throw\"Value inputs and statement inputs must have non-empty name.\";this.type=a;this.name=b;this.sourceBlock_=c;this.connection=d;this.fieldRow=[]};Blockly.Input.prototype.align=Blockly.ALIGN_LEFT;Blockly.Input.prototype.visible_=!0;Blockly.Input.prototype.appendField=function(a,b){this.insertFieldAt(this.fieldRow.length,a,b);return this};\nBlockly.Input.prototype.insertFieldAt=function(a,b,c){if(0>a||a>this.fieldRow.length)throw Error(\"index \"+a+\" out of bounds.\");if(!b&&!c)return this;goog.isString(b)&&(b=new Blockly.FieldLabel(b));b.setSourceBlock(this.sourceBlock_);this.sourceBlock_.rendered&&b.init();b.name=c;b.prefixField&&(a=this.insertFieldAt(a,b.prefixField));this.fieldRow.splice(a,0,b);++a;b.suffixField&&(a=this.insertFieldAt(a,b.suffixField));this.sourceBlock_.rendered&&(this.sourceBlock_.render(),this.sourceBlock_.bumpNeighbours_());\nreturn a};Blockly.Input.prototype.removeField=function(a){for(var b=0,c;c=this.fieldRow[b];b++)if(c.name===a){c.dispose();this.fieldRow.splice(b,1);this.sourceBlock_.rendered&&(this.sourceBlock_.render(),this.sourceBlock_.bumpNeighbours_());return}goog.asserts.fail('Field \"%s\" not found.',a)};Blockly.Input.prototype.isVisible=function(){return this.visible_};\nBlockly.Input.prototype.setVisible=function(a){var b=[];if(this.visible_==a)return b;for(var c=(this.visible_=a)?\"block\":\"none\",d=0,e;e=this.fieldRow[d];d++)e.setVisible(a);this.connection&&(a?b=this.connection.unhideAll():this.connection.hideAll(),d=this.connection.targetBlock())&&(d.getSvgRoot().style.display=c,a||(d.rendered=!1));return b};Blockly.Input.prototype.setCheck=function(a){if(!this.connection)throw\"This input does not have a connection.\";this.connection.setCheck(a);return this};\nBlockly.Input.prototype.setAlign=function(a){this.align=a;this.sourceBlock_.rendered&&this.sourceBlock_.render();return this};Blockly.Input.prototype.init=function(){if(this.sourceBlock_.workspace.rendered)for(var a=0;a<this.fieldRow.length;a++)this.fieldRow[a].init()};Blockly.Input.prototype.dispose=function(){for(var a=0,b;b=this.fieldRow[a];a++)b.dispose();this.connection&&this.connection.dispose();this.sourceBlock_=null};Blockly.ConnectionDB=function(){};Blockly.ConnectionDB.prototype=[];Blockly.ConnectionDB.constructor=Blockly.ConnectionDB;Blockly.ConnectionDB.prototype.addConnection=function(a){if(a.inDB_)throw\"Connection already in database.\";if(!a.getSourceBlock().isInFlyout){var b=this.findPositionForConnection_(a);this.splice(b,0,a);a.inDB_=!0}};\nBlockly.ConnectionDB.prototype.findConnection=function(a){if(!this.length)return-1;var b=this.findPositionForConnection_(a);if(b>=this.length)return-1;for(var c=a.y_,d=b;0<=d&&this[d].y_==c;){if(this[d]==a)return d;d--}for(;b<this.length&&this[b].y_==c;){if(this[b]==a)return b;b++}return-1};\nBlockly.ConnectionDB.prototype.findPositionForConnection_=function(a){if(!this.length)return 0;for(var b=0,c=this.length;b<c;){var d=Math.floor((b+c)/2);if(this[d].y_<a.y_)b=d+1;else if(this[d].y_>a.y_)c=d;else{b=d;break}}return b};Blockly.ConnectionDB.prototype.removeConnection_=function(a){if(!a.inDB_)throw\"Connection not in database.\";var b=this.findConnection(a);if(-1==b)throw\"Unable to find connection in connectionDB.\";a.inDB_=!1;this.splice(b,1)};\nBlockly.ConnectionDB.prototype.getNeighbours=function(a,b){function c(a){var c=e-d[a].x_,g=f-d[a].y_;Math.sqrt(c*c+g*g)<=b&&n.push(d[a]);return g<b}for(var d=this,e=a.x_,f=a.y_,g=0,h=d.length-2,k=h;g<k;)d[k].y_<f?g=k:h=k,k=Math.floor((g+h)/2);var n=[];h=g=k;if(d.length){for(;0<=g&&c(g);)g--;do h++;while(h<d.length&&c(h))}return n};Blockly.ConnectionDB.prototype.isInYRange_=function(a,b,c){return Math.abs(this[a].y_-b)<=c};\nBlockly.ConnectionDB.prototype.searchForClosest=function(a,b,c){if(!this.length)return{connection:null,radius:b};var d=a.y_,e=a.x_;a.x_=e+c.x;a.y_=d+c.y;var f=this.findPositionForConnection_(a);c=null;for(var g=b,h,k=f-1;0<=k&&this.isInYRange_(k,a.y_,b);)h=this[k],a.isConnectionAllowed(h,g)&&(c=h,g=h.distanceFrom(a)),k--;for(;f<this.length&&this.isInYRange_(f,a.y_,b);)h=this[f],a.isConnectionAllowed(h,g)&&(c=h,g=h.distanceFrom(a)),f++;a.x_=e;a.y_=d;return{connection:c,radius:g}};\nBlockly.ConnectionDB.init=function(a){var b=[];b[Blockly.INPUT_VALUE]=new Blockly.ConnectionDB;b[Blockly.OUTPUT_VALUE]=new Blockly.ConnectionDB;b[Blockly.NEXT_STATEMENT]=new Blockly.ConnectionDB;b[Blockly.PREVIOUS_STATEMENT]=new Blockly.ConnectionDB;a.connectionDBList=b};Blockly.utils={};Blockly.utils.getMessageArray_=function(){return goog.global.Blockly.Msg};Blockly.utils.removeAttribute=function(a,b){goog.userAgent.IE&&goog.userAgent.isVersion(\"10.0\")?a.setAttribute(b,null):a.removeAttribute(b)};Blockly.utils.addClass=function(a,b){var c=a.getAttribute(\"class\")||\"\";if(-1!=(\" \"+c+\" \").indexOf(\" \"+b+\" \"))return!1;c&&(c+=\" \");a.setAttribute(\"class\",c+b);return!0};\nBlockly.utils.removeClass=function(a,b){var c=a.getAttribute(\"class\");if(-1==(\" \"+c+\" \").indexOf(\" \"+b+\" \"))return!1;c=c.split(/\\s+/);for(var d=0;d<c.length;d++)c[d]&&c[d]!=b||(c.splice(d,1),d--);c.length?a.setAttribute(\"class\",c.join(\" \")):Blockly.utils.removeAttribute(a,\"class\");return!0};Blockly.utils.hasClass=function(a,b){return-1!=(\" \"+a.getAttribute(\"class\")+\" \").indexOf(\" \"+b+\" \")};Blockly.utils.noEvent=function(a){a.preventDefault();a.stopPropagation()};\nBlockly.utils.isTargetInput=function(a){return\"textarea\"==a.target.type||\"text\"==a.target.type||\"number\"==a.target.type||\"email\"==a.target.type||\"password\"==a.target.type||\"search\"==a.target.type||\"tel\"==a.target.type||\"url\"==a.target.type||a.target.isContentEditable};\nBlockly.utils.getRelativeXY=function(a){var b=new goog.math.Coordinate(0,0),c=a.getAttribute(\"x\");c&&(b.x=parseInt(c,10));if(c=a.getAttribute(\"y\"))b.y=parseInt(c,10);if(c=(c=a.getAttribute(\"transform\"))&&c.match(Blockly.utils.getRelativeXY.XY_REGEX_))b.x+=parseFloat(c[1]),c[3]&&(b.y+=parseFloat(c[3]));(a=a.getAttribute(\"style\"))&&-1<a.indexOf(\"translate\")&&((c=a.match(Blockly.utils.getRelativeXY.XY_2D_REGEX_))||(c=a.match(Blockly.utils.getRelativeXY.XY_3D_REGEX_)),c&&(b.x+=parseFloat(c[1]),c[3]&&\n(b.y+=parseFloat(c[3]))));return b};Blockly.utils.getInjectionDivXY_=function(a){for(var b=0,c=0,d;a;){var e=Blockly.utils.getRelativeXY(a);d=Blockly.utils.getScale_(a);b=b*d+e.x;c=c*d+e.y;if(-1!=(\" \"+(a.getAttribute(\"class\")||\"\")+\" \").indexOf(\" injectionDiv \"))break;a=a.parentNode}return new goog.math.Coordinate(b,c)};Blockly.utils.getScale_=function(a){var b=1;(a=a.getAttribute(\"transform\"))&&(a=a.match(Blockly.utils.getScale_.REGEXP_))&&a[0]&&(b=parseFloat(a[0]));return b};\nBlockly.utils.getRelativeXY.XY_REGEX_=/translate\\(\\s*([-+\\d.e]+)([ ,]\\s*([-+\\d.e]+)\\s*\\))?/;Blockly.utils.getScale_REGEXP_=/scale\\(\\s*([-+\\d.e]+)\\s*\\)/;Blockly.utils.getRelativeXY.XY_3D_REGEX_=/transform:\\s*translate3d\\(\\s*([-+\\d.e]+)px([ ,]\\s*([-+\\d.e]+)\\s*)px([ ,]\\s*([-+\\d.e]+)\\s*)px\\)?/;Blockly.utils.getRelativeXY.XY_2D_REGEX_=/transform:\\s*translate\\(\\s*([-+\\d.e]+)px([ ,]\\s*([-+\\d.e]+)\\s*)px\\)?/;\nBlockly.utils.createSvgElement=function(a,b,c){a=document.createElementNS(Blockly.SVG_NS,a);for(var d in b)a.setAttribute(d,b[d]);document.body.runtimeStyle&&(a.runtimeStyle=a.currentStyle=a.style);c&&c.appendChild(a);return a};Blockly.utils.isRightButton=function(a){return a.ctrlKey&&goog.userAgent.MAC?!0:2==a.button};Blockly.utils.mouseToSvg=function(a,b,c){var d=b.createSVGPoint();d.x=a.clientX;d.y=a.clientY;c||(c=b.getScreenCTM().inverse());return d.matrixTransform(c)};\nBlockly.utils.shortestStringLength=function(a){return a.length?a.reduce(function(a,c){return a.length<c.length?a:c}).length:0};Blockly.utils.commonWordPrefix=function(a,b){if(!a.length)return 0;if(1==a.length)return a[0].length;for(var c=0,d=b||Blockly.utils.shortestStringLength(a),e=0;e<d;e++){for(var f=a[0][e],g=1;g<a.length;g++)if(f!=a[g][e])return c;\" \"==f&&(c=e+1)}for(g=1;g<a.length;g++)if((f=a[g][e])&&\" \"!=f)return c;return d};\nBlockly.utils.commonWordSuffix=function(a,b){if(!a.length)return 0;if(1==a.length)return a[0].length;for(var c=0,d=b||Blockly.utils.shortestStringLength(a),e=0;e<d;e++){for(var f=a[0].substr(-e-1,1),g=1;g<a.length;g++)if(f!=a[g].substr(-e-1,1))return c;\" \"==f&&(c=e+1)}for(g=1;g<a.length;g++)if((f=a[g].charAt(a[g].length-e-1))&&\" \"!=f)return c;return d};Blockly.utils.tokenizeInterpolation=function(a){return Blockly.utils.tokenizeInterpolation_(a,!0)};\nBlockly.utils.replaceMessageReferences=function(a){if(!goog.isString(a))return a;a=Blockly.utils.tokenizeInterpolation_(a,!1);return a.length?a[0]:\"\"};Blockly.utils.checkMessageReferences=function(a){for(var b=!0,c=/%{BKY_([a-zA-Z][a-zA-Z0-9_]*)}/g,d=c.exec(a);null!=d;){var e=d[1];null==Blockly.utils.getMessageArray_()[e]&&(console.log(\"WARNING: No message string for %{BKY_\"+e+\"}.\"),b=!1);a=a.substring(d.index+e.length+1);d=c.exec(a)}return b};\nBlockly.utils.tokenizeInterpolation_=function(a,b){var c=[],d=a.split(\"\");d.push(\"\");for(var e=0,f=[],g=null,h=0;h<d.length;h++){var k=d[h];0==e?\"%\"==k?((k=f.join(\"\"))&&c.push(k),f.length=0,e=1):f.push(k):1==e?\"%\"==k?(f.push(k),e=0):b&&\"0\"<=k&&\"9\">=k?(e=2,g=k,(k=f.join(\"\"))&&c.push(k),f.length=0):\"{\"==k?e=3:(f.push(\"%\",k),e=0):2==e?\"0\"<=k&&\"9\">=k?g+=k:(c.push(parseInt(g,10)),h--,e=0):3==e&&(\"\"==k?(f.splice(0,0,\"%{\"),h--,e=0):\"}\"!=k?f.push(k):(e=f.join(\"\"),/[a-zA-Z][a-zA-Z0-9_]*/.test(e)?(k=e.toUpperCase(),\n(k=goog.string.startsWith(k,\"BKY_\")?k.substring(4):null)&&k in Blockly.utils.getMessageArray_()?(e=Blockly.utils.getMessageArray_()[k],goog.isString(e)?Array.prototype.push.apply(c,Blockly.utils.tokenizeInterpolation(e)):b?c.push(String(e)):c.push(e)):c.push(\"%{\"+e+\"}\")):c.push(\"%{\"+e+\"}\"),e=f.length=0))}(k=f.join(\"\"))&&c.push(k);d=[];for(h=f.length=0;h<c.length;++h)\"string\"==typeof c[h]?f.push(c[h]):((k=f.join(\"\"))&&d.push(k),f.length=0,d.push(c[h]));(k=f.join(\"\"))&&d.push(k);f.length=0;return d};\nBlockly.utils.genUid=function(){for(var a=Blockly.utils.genUid.soup_.length,b=[],c=0;20>c;c++)b[c]=Blockly.utils.genUid.soup_.charAt(Math.random()*a);return b.join(\"\")};Blockly.utils.genUid.soup_=\"!#$%()*+,-./:;=?@[]^_`{|}~ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\";Blockly.utils.wrap=function(a,b){for(var c=a.split(\"\\n\"),d=0;d<c.length;d++)c[d]=Blockly.utils.wrapLine_(c[d],b);return c.join(\"\\n\")};\nBlockly.utils.wrapLine_=function(a,b){if(a.length<=b)return a;for(var c=a.trim().split(/\\s+/),d=0;d<c.length;d++)c[d].length>b&&(b=c[d].length);d=-Infinity;var e=1;do{var f=d;var g=a;var h=[],k=c.length/e,n=1;for(d=0;d<c.length-1;d++)n<(d+1.5)/k?(n++,h[d]=!0):h[d]=!1;h=Blockly.utils.wrapMutate_(c,h,b);d=Blockly.utils.wrapScore_(c,h,b);a=Blockly.utils.wrapToText_(c,h);e++}while(d>f);return g};\nBlockly.utils.wrapScore_=function(a,b,c){for(var d=[0],e=[],f=0;f<a.length;f++)d[d.length-1]+=a[f].length,!0===b[f]?(d.push(0),e.push(a[f].charAt(a[f].length-1))):!1===b[f]&&d[d.length-1]++;a=Math.max.apply(Math,d);for(f=b=0;f<d.length;f++)b-=2*Math.pow(Math.abs(c-d[f]),1.5),b-=Math.pow(a-d[f],1.5),-1!=\".?!\".indexOf(e[f])?b+=c/3:-1!=\",;)]}\".indexOf(e[f])&&(b+=c/4);1<d.length&&d[d.length-1]<=d[d.length-2]&&(b+=.5);return b};\nBlockly.utils.wrapMutate_=function(a,b,c){for(var d=Blockly.utils.wrapScore_(a,b,c),e,f=0;f<b.length-1;f++)if(b[f]!=b[f+1]){var g=[].concat(b);g[f]=!g[f];g[f+1]=!g[f+1];var h=Blockly.utils.wrapScore_(a,g,c);h>d&&(d=h,e=g)}return e?Blockly.utils.wrapMutate_(a,e,c):b};Blockly.utils.wrapToText_=function(a,b){for(var c=[],d=0;d<a.length;d++)c.push(a[d]),void 0!==b[d]&&c.push(b[d]?\"\\n\":\" \");return c.join(\"\")};\nBlockly.utils.is3dSupported=function(){if(void 0!==Blockly.utils.is3dSupported.cached_)return Blockly.utils.is3dSupported.cached_;if(!goog.global.getComputedStyle)return!1;var a=document.createElement(\"p\"),b=\"none\",c={webkitTransform:\"-webkit-transform\",OTransform:\"-o-transform\",msTransform:\"-ms-transform\",MozTransform:\"-moz-transform\",transform:\"transform\"};document.body.insertBefore(a,null);for(var d in c)if(void 0!==a.style[d]){a.style[d]=\"translate3d(1px,1px,1px)\";b=goog.global.getComputedStyle(a);\nif(!b)return document.body.removeChild(a),!1;b=b.getPropertyValue(c[d])}document.body.removeChild(a);Blockly.utils.is3dSupported.cached_=\"none\"!==b;return Blockly.utils.is3dSupported.cached_};Blockly.utils.insertAfter_=function(a,b){var c=b.nextSibling,d=b.parentNode;if(!d)throw\"Reference node has no parent.\";c?d.insertBefore(a,c):d.appendChild(a)};\nBlockly.utils.runAfterPageLoad=function(a){if(!document)throw Error(\"Blockly.utils.runAfterPageLoad() requires browser document.\");if(\"complete\"===document.readyState)a();else var b=setInterval(function(){\"complete\"===document.readyState&&(clearInterval(b),a())},10)};Blockly.utils.setCssTransform=function(a,b){a.style.transform=b;a.style[\"-webkit-transform\"]=b};\nBlockly.utils.getViewportBBox=function(){var a=goog.dom.getViewportSize(),b=goog.style.getViewportPageOffset(document);return{right:a.width+b.x,bottom:a.height+b.y,top:b.y,left:b.x}};Blockly.Grid=function(a,b){this.gridPattern_=a;this.spacing_=b.spacing;this.length_=b.length;this.line2_=(this.line1_=a.firstChild)&&this.line1_.nextSibling;this.snapToGrid_=b.snap};Blockly.Grid.prototype.scale_=1;Blockly.Grid.prototype.dispose=function(){this.gridPattern_=null};Blockly.Grid.prototype.shouldSnap=function(){return this.snapToGrid_};Blockly.Grid.prototype.getSpacing=function(){return this.spacing_};Blockly.Grid.prototype.getPatternId=function(){return this.gridPattern_.id};\nBlockly.Grid.prototype.update=function(a){this.scale_=a;var b=this.spacing_*a||100;this.gridPattern_.setAttribute(\"width\",b);this.gridPattern_.setAttribute(\"height\",b);b=Math.floor(this.spacing_/2)+.5;var c=b-this.length_/2,d=b+this.length_/2;b*=a;c*=a;d*=a;this.setLineAttributes_(this.line1_,a,c,d,b,b);this.setLineAttributes_(this.line2_,a,b,b,c,d)};\nBlockly.Grid.prototype.setLineAttributes_=function(a,b,c,d,e,f){a&&(a.setAttribute(\"stroke-width\",b),a.setAttribute(\"x1\",c),a.setAttribute(\"y1\",e),a.setAttribute(\"x2\",d),a.setAttribute(\"y2\",f))};Blockly.Grid.prototype.moveTo=function(a,b){this.gridPattern_.setAttribute(\"x\",a);this.gridPattern_.setAttribute(\"y\",b);(goog.userAgent.IE||goog.userAgent.EDGE)&&this.update(this.scale_)};\nBlockly.Grid.createDom=function(a,b,c){a=Blockly.utils.createSvgElement(\"pattern\",{id:\"blocklyGridPattern\"+a,patternUnits:\"userSpaceOnUse\"},c);0<b.length&&0<b.spacing&&(Blockly.utils.createSvgElement(\"line\",{stroke:b.colour},a),1<b.length&&Blockly.utils.createSvgElement(\"line\",{stroke:b.colour},a));return a};Blockly.Options=function(a){var b=!!a.readOnly;if(b)var c=null,d=!1,e=!1,f=!1,g=!1,h=!1,k=!1;else c=Blockly.Options.parseToolboxTree(a.toolbox),d=!(!c||!c.getElementsByTagName(\"category\").length),e=a.trashcan,void 0===e&&(e=d),f=a.collapse,void 0===f&&(f=d),g=a.comments,void 0===g&&(g=d),h=a.disable,void 0===h&&(h=d),k=a.sounds,void 0===k&&(k=!0);var n=!!a.rtl,p=a.horizontalLayout;void 0===p&&(p=!1);var l=a.toolboxPosition;l=\"end\"===l?!1:!0;l=p?l?Blockly.TOOLBOX_AT_TOP:Blockly.TOOLBOX_AT_BOTTOM:l==\nn?Blockly.TOOLBOX_AT_RIGHT:Blockly.TOOLBOX_AT_LEFT;var m=a.scrollbars;void 0===m&&(m=d);var q=a.css;void 0===q&&(q=!0);var t=\"https://blockly-demo.appspot.com/static/media/\";a.media?t=a.media:a.path&&(t=a.path+\"media/\");var r=void 0===a.oneBasedIndex?!0:!!a.oneBasedIndex;this.RTL=n;this.oneBasedIndex=r;this.collapse=f;this.comments=g;this.disable=h;this.readOnly=b;this.maxBlocks=a.maxBlocks||Infinity;this.pathToMedia=t;this.hasCategories=d;this.hasScrollbars=m;this.hasTrashcan=e;this.hasSounds=k;\nthis.hasCss=q;this.horizontalLayout=p;this.languageTree=c;this.gridOptions=Blockly.Options.parseGridOptions_(a);this.zoomOptions=Blockly.Options.parseZoomOptions_(a);this.toolboxPosition=l};Blockly.Options.prototype.parentWorkspace=null;Blockly.Options.prototype.setMetrics=null;Blockly.Options.prototype.getMetrics=null;\nBlockly.Options.parseZoomOptions_=function(a){a=a.zoom||{};var b={};b.controls=void 0===a.controls?!1:!!a.controls;b.wheel=void 0===a.wheel?!1:!!a.wheel;b.startScale=void 0===a.startScale?1:parseFloat(a.startScale);b.maxScale=void 0===a.maxScale?3:parseFloat(a.maxScale);b.minScale=void 0===a.minScale?.3:parseFloat(a.minScale);b.scaleSpeed=void 0===a.scaleSpeed?1.2:parseFloat(a.scaleSpeed);return b};\nBlockly.Options.parseGridOptions_=function(a){a=a.grid||{};var b={};b.spacing=parseFloat(a.spacing)||0;b.colour=a.colour||\"#888\";b.length=parseFloat(a.length)||1;b.snap=0<b.spacing&&!!a.snap;return b};Blockly.Options.parseToolboxTree=function(a){a?(\"string\"!=typeof a&&(\"undefined\"==typeof XSLTProcessor&&a.outerHTML?a=a.outerHTML:a instanceof Element||(a=null)),\"string\"==typeof a&&(a=Blockly.Xml.textToDom(a))):a=null;return a};Blockly.ScrollbarPair=function(a){this.workspace_=a;this.hScroll=new Blockly.Scrollbar(a,!0,!0,\"blocklyMainWorkspaceScrollbar\");this.vScroll=new Blockly.Scrollbar(a,!1,!0,\"blocklyMainWorkspaceScrollbar\");this.corner_=Blockly.utils.createSvgElement(\"rect\",{height:Blockly.Scrollbar.scrollbarThickness,width:Blockly.Scrollbar.scrollbarThickness,\"class\":\"blocklyScrollbarBackground\"},null);Blockly.utils.insertAfter_(this.corner_,a.getBubbleCanvas())};Blockly.ScrollbarPair.prototype.oldHostMetrics_=null;\nBlockly.ScrollbarPair.prototype.dispose=function(){goog.dom.removeNode(this.corner_);this.oldHostMetrics_=this.workspace_=this.corner_=null;this.hScroll.dispose();this.hScroll=null;this.vScroll.dispose();this.vScroll=null};\nBlockly.ScrollbarPair.prototype.resize=function(){var a=this.workspace_.getMetrics();if(a){var b=!1,c=!1;this.oldHostMetrics_&&this.oldHostMetrics_.viewWidth==a.viewWidth&&this.oldHostMetrics_.viewHeight==a.viewHeight&&this.oldHostMetrics_.absoluteTop==a.absoluteTop&&this.oldHostMetrics_.absoluteLeft==a.absoluteLeft?(this.oldHostMetrics_&&this.oldHostMetrics_.contentWidth==a.contentWidth&&this.oldHostMetrics_.viewLeft==a.viewLeft&&this.oldHostMetrics_.contentLeft==a.contentLeft||(b=!0),this.oldHostMetrics_&&\nthis.oldHostMetrics_.contentHeight==a.contentHeight&&this.oldHostMetrics_.viewTop==a.viewTop&&this.oldHostMetrics_.contentTop==a.contentTop||(c=!0)):c=b=!0;b&&this.hScroll.resize(a);c&&this.vScroll.resize(a);this.oldHostMetrics_&&this.oldHostMetrics_.viewWidth==a.viewWidth&&this.oldHostMetrics_.absoluteLeft==a.absoluteLeft||this.corner_.setAttribute(\"x\",this.vScroll.position_.x);this.oldHostMetrics_&&this.oldHostMetrics_.viewHeight==a.viewHeight&&this.oldHostMetrics_.absoluteTop==a.absoluteTop||this.corner_.setAttribute(\"y\",\nthis.hScroll.position_.y);this.oldHostMetrics_=a}};Blockly.ScrollbarPair.prototype.set=function(a,b){var c={},d=a*this.hScroll.ratio_,e=b*this.vScroll.ratio_,f=this.vScroll.scrollViewSize_;c.x=this.getRatio_(d,this.hScroll.scrollViewSize_);c.y=this.getRatio_(e,f);this.workspace_.setMetrics(c);this.hScroll.setHandlePosition(d);this.vScroll.setHandlePosition(e)};Blockly.ScrollbarPair.prototype.getRatio_=function(a,b){var c=a/b;return isNaN(c)?0:c};\nBlockly.Scrollbar=function(a,b,c,d){this.workspace_=a;this.pair_=c||!1;this.horizontal_=b;this.oldHostMetrics_=null;this.createDom_(d);this.position_=new goog.math.Coordinate(0,0);b?(this.svgBackground_.setAttribute(\"height\",Blockly.Scrollbar.scrollbarThickness),this.outerSvg_.setAttribute(\"height\",Blockly.Scrollbar.scrollbarThickness),this.svgHandle_.setAttribute(\"height\",Blockly.Scrollbar.scrollbarThickness-5),this.svgHandle_.setAttribute(\"y\",2.5),this.lengthAttribute_=\"width\",this.positionAttribute_=\n\"x\"):(this.svgBackground_.setAttribute(\"width\",Blockly.Scrollbar.scrollbarThickness),this.outerSvg_.setAttribute(\"width\",Blockly.Scrollbar.scrollbarThickness),this.svgHandle_.setAttribute(\"width\",Blockly.Scrollbar.scrollbarThickness-5),this.svgHandle_.setAttribute(\"x\",2.5),this.lengthAttribute_=\"height\",this.positionAttribute_=\"y\");this.onMouseDownBarWrapper_=Blockly.bindEventWithChecks_(this.svgBackground_,\"mousedown\",this,this.onMouseDownBar_);this.onMouseDownHandleWrapper_=Blockly.bindEventWithChecks_(this.svgHandle_,\n\"mousedown\",this,this.onMouseDownHandle_)};Blockly.Scrollbar.prototype.origin_=new goog.math.Coordinate(0,0);Blockly.Scrollbar.prototype.startDragMouse_=0;Blockly.Scrollbar.prototype.scrollViewSize_=0;Blockly.Scrollbar.prototype.handleLength_=0;Blockly.Scrollbar.prototype.handlePosition_=0;Blockly.Scrollbar.prototype.isVisible_=!0;Blockly.Scrollbar.prototype.containerVisible_=!0;Blockly.Scrollbar.scrollbarThickness=15;\ngoog.events.BrowserFeature.TOUCH_ENABLED&&(Blockly.Scrollbar.scrollbarThickness=25);Blockly.Scrollbar.metricsAreEquivalent_=function(a,b){return a&&b&&a.viewWidth==b.viewWidth&&a.viewHeight==b.viewHeight&&a.viewLeft==b.viewLeft&&a.viewTop==b.viewTop&&a.absoluteTop==b.absoluteTop&&a.absoluteLeft==b.absoluteLeft&&a.contentWidth==b.contentWidth&&a.contentHeight==b.contentHeight&&a.contentLeft==b.contentLeft&&a.contentTop==b.contentTop?!0:!1};\nBlockly.Scrollbar.prototype.dispose=function(){this.cleanUp_();Blockly.unbindEvent_(this.onMouseDownBarWrapper_);this.onMouseDownBarWrapper_=null;Blockly.unbindEvent_(this.onMouseDownHandleWrapper_);this.onMouseDownHandleWrapper_=null;goog.dom.removeNode(this.outerSvg_);this.workspace_=this.svgHandle_=this.svgBackground_=this.svgGroup_=this.outerSvg_=null};Blockly.Scrollbar.prototype.setHandleLength_=function(a){this.handleLength_=a;this.svgHandle_.setAttribute(this.lengthAttribute_,this.handleLength_)};\nBlockly.Scrollbar.prototype.setHandlePosition=function(a){this.handlePosition_=a;this.svgHandle_.setAttribute(this.positionAttribute_,this.handlePosition_)};Blockly.Scrollbar.prototype.setScrollViewSize_=function(a){this.scrollViewSize_=a;this.outerSvg_.setAttribute(this.lengthAttribute_,this.scrollViewSize_);this.svgBackground_.setAttribute(this.lengthAttribute_,this.scrollViewSize_)};Blockly.ScrollbarPair.prototype.setContainerVisible=function(a){this.hScroll.setContainerVisible(a);this.vScroll.setContainerVisible(a)};\nBlockly.Scrollbar.prototype.setPosition_=function(a,b){this.position_.x=a;this.position_.y=b;Blockly.utils.setCssTransform(this.outerSvg_,\"translate(\"+(this.position_.x+this.origin_.x)+\"px,\"+(this.position_.y+this.origin_.y)+\"px)\")};Blockly.Scrollbar.prototype.resize=function(a){if(!a&&(a=this.workspace_.getMetrics(),!a))return;Blockly.Scrollbar.metricsAreEquivalent_(a,this.oldHostMetrics_)||(this.oldHostMetrics_=a,this.horizontal_?this.resizeHorizontal_(a):this.resizeVertical_(a),this.onScroll_())};\nBlockly.Scrollbar.prototype.resizeHorizontal_=function(a){this.resizeViewHorizontal(a)};Blockly.Scrollbar.prototype.resizeViewHorizontal=function(a){var b=a.viewWidth-1;this.pair_&&(b-=Blockly.Scrollbar.scrollbarThickness);this.setScrollViewSize_(Math.max(0,b));b=a.absoluteLeft+.5;this.pair_&&this.workspace_.RTL&&(b+=Blockly.Scrollbar.scrollbarThickness);this.setPosition_(b,a.absoluteTop+a.viewHeight-Blockly.Scrollbar.scrollbarThickness-.5);this.resizeContentHorizontal(a)};\nBlockly.Scrollbar.prototype.resizeContentHorizontal=function(a){this.pair_||this.setVisible(this.scrollViewSize_<a.contentWidth);this.ratio_=this.scrollViewSize_/a.contentWidth;if(-Infinity==this.ratio_||Infinity==this.ratio_||isNaN(this.ratio_))this.ratio_=0;this.setHandleLength_(Math.max(0,a.viewWidth*this.ratio_));this.setHandlePosition(this.constrainHandle_((a.viewLeft-a.contentLeft)*this.ratio_))};Blockly.Scrollbar.prototype.resizeVertical_=function(a){this.resizeViewVertical(a)};\nBlockly.Scrollbar.prototype.resizeViewVertical=function(a){var b=a.viewHeight-1;this.pair_&&(b-=Blockly.Scrollbar.scrollbarThickness);this.setScrollViewSize_(Math.max(0,b));b=a.absoluteLeft+.5;this.workspace_.RTL||(b+=a.viewWidth-Blockly.Scrollbar.scrollbarThickness-1);this.setPosition_(b,a.absoluteTop+.5);this.resizeContentVertical(a)};\nBlockly.Scrollbar.prototype.resizeContentVertical=function(a){this.pair_||this.setVisible(this.scrollViewSize_<a.contentHeight);this.ratio_=this.scrollViewSize_/a.contentHeight;if(-Infinity==this.ratio_||Infinity==this.ratio_||isNaN(this.ratio_))this.ratio_=0;this.setHandleLength_(Math.max(0,a.viewHeight*this.ratio_));this.setHandlePosition(this.constrainHandle_((a.viewTop-a.contentTop)*this.ratio_))};\nBlockly.Scrollbar.prototype.createDom_=function(a){var b=\"blocklyScrollbar\"+(this.horizontal_?\"Horizontal\":\"Vertical\");a&&(b+=\" \"+a);this.outerSvg_=Blockly.utils.createSvgElement(\"svg\",{\"class\":b},null);this.svgGroup_=Blockly.utils.createSvgElement(\"g\",{},this.outerSvg_);this.svgBackground_=Blockly.utils.createSvgElement(\"rect\",{\"class\":\"blocklyScrollbarBackground\"},this.svgGroup_);a=Math.floor((Blockly.Scrollbar.scrollbarThickness-5)/2);this.svgHandle_=Blockly.utils.createSvgElement(\"rect\",{\"class\":\"blocklyScrollbarHandle\",\nrx:a,ry:a},this.svgGroup_);Blockly.utils.insertAfter_(this.outerSvg_,this.workspace_.getParentSvg())};Blockly.Scrollbar.prototype.isVisible=function(){return this.isVisible_};Blockly.Scrollbar.prototype.setContainerVisible=function(a){var b=a!=this.containerVisible_;this.containerVisible_=a;b&&this.updateDisplay_()};Blockly.Scrollbar.prototype.setVisible=function(a){var b=a!=this.isVisible();if(this.pair_)throw\"Unable to toggle visibility of paired scrollbars.\";this.isVisible_=a;b&&this.updateDisplay_()};\nBlockly.Scrollbar.prototype.updateDisplay_=function(){this.containerVisible_&&this.isVisible()?this.outerSvg_.setAttribute(\"display\",\"block\"):this.outerSvg_.setAttribute(\"display\",\"none\")};\nBlockly.Scrollbar.prototype.onMouseDownBar_=function(a){this.workspace_.markFocused();Blockly.Touch.clearTouchIdentifier();this.cleanUp_();if(Blockly.utils.isRightButton(a))a.stopPropagation();else{var b=Blockly.utils.mouseToSvg(a,this.workspace_.getParentSvg(),this.workspace_.getInverseScreenCTM());b=this.horizontal_?b.x:b.y;var c=Blockly.utils.getInjectionDivXY_(this.svgHandle_);c=this.horizontal_?c.x:c.y;var d=this.handlePosition_,e=.95*this.handleLength_;b<=c?d-=e:b>=c+this.handleLength_&&(d+=\ne);this.setHandlePosition(this.constrainHandle_(d));this.onScroll_();a.stopPropagation();a.preventDefault()}};\nBlockly.Scrollbar.prototype.onMouseDownHandle_=function(a){this.workspace_.markFocused();this.cleanUp_();Blockly.utils.isRightButton(a)?a.stopPropagation():(this.startDragHandle=this.handlePosition_,this.workspace_.setupDragSurface(),this.startDragMouse_=this.horizontal_?a.clientX:a.clientY,Blockly.Scrollbar.onMouseUpWrapper_=Blockly.bindEventWithChecks_(document,\"mouseup\",this,this.onMouseUpHandle_),Blockly.Scrollbar.onMouseMoveWrapper_=Blockly.bindEventWithChecks_(document,\"mousemove\",this,this.onMouseMoveHandle_),\na.stopPropagation(),a.preventDefault())};Blockly.Scrollbar.prototype.onMouseMoveHandle_=function(a){this.setHandlePosition(this.constrainHandle_(this.startDragHandle+((this.horizontal_?a.clientX:a.clientY)-this.startDragMouse_)));this.onScroll_()};Blockly.Scrollbar.prototype.onMouseUpHandle_=function(){this.workspace_.resetDragSurface();Blockly.Touch.clearTouchIdentifier();this.cleanUp_()};\nBlockly.Scrollbar.prototype.cleanUp_=function(){Blockly.hideChaff(!0);Blockly.Scrollbar.onMouseUpWrapper_&&(Blockly.unbindEvent_(Blockly.Scrollbar.onMouseUpWrapper_),Blockly.Scrollbar.onMouseUpWrapper_=null);Blockly.Scrollbar.onMouseMoveWrapper_&&(Blockly.unbindEvent_(Blockly.Scrollbar.onMouseMoveWrapper_),Blockly.Scrollbar.onMouseMoveWrapper_=null)};\nBlockly.Scrollbar.prototype.constrainHandle_=function(a){return a=0>=a||isNaN(a)||this.scrollViewSize_<this.handleLength_?0:Math.min(a,this.scrollViewSize_-this.handleLength_)};Blockly.Scrollbar.prototype.onScroll_=function(){var a=this.handlePosition_/this.scrollViewSize_;isNaN(a)&&(a=0);var b={};this.horizontal_?b.x=a:b.y=a;this.workspace_.setMetrics(b)};Blockly.Scrollbar.prototype.set=function(a){this.setHandlePosition(this.constrainHandle_(a*this.ratio_));this.onScroll_()};\nBlockly.Scrollbar.prototype.setOrigin=function(a,b){this.origin_=new goog.math.Coordinate(a,b)};Blockly.Trashcan=function(a){this.workspace_=a};Blockly.Trashcan.prototype.WIDTH_=47;Blockly.Trashcan.prototype.BODY_HEIGHT_=44;Blockly.Trashcan.prototype.LID_HEIGHT_=16;Blockly.Trashcan.prototype.MARGIN_BOTTOM_=20;Blockly.Trashcan.prototype.MARGIN_SIDE_=20;Blockly.Trashcan.prototype.MARGIN_HOTSPOT_=10;Blockly.Trashcan.prototype.SPRITE_LEFT_=0;Blockly.Trashcan.prototype.SPRITE_TOP_=32;Blockly.Trashcan.prototype.isOpen=!1;Blockly.Trashcan.prototype.svgGroup_=null;\nBlockly.Trashcan.prototype.svgLid_=null;Blockly.Trashcan.prototype.lidTask_=0;Blockly.Trashcan.prototype.lidOpen_=0;Blockly.Trashcan.prototype.left_=0;Blockly.Trashcan.prototype.top_=0;\nBlockly.Trashcan.prototype.createDom=function(){this.svgGroup_=Blockly.utils.createSvgElement(\"g\",{\"class\":\"blocklyTrash\"},null);var a=String(Math.random()).substring(2);var b=Blockly.utils.createSvgElement(\"clipPath\",{id:\"blocklyTrashBodyClipPath\"+a},this.svgGroup_);Blockly.utils.createSvgElement(\"rect\",{width:this.WIDTH_,height:this.BODY_HEIGHT_,y:this.LID_HEIGHT_},b);Blockly.utils.createSvgElement(\"image\",{width:Blockly.SPRITE.width,x:-this.SPRITE_LEFT_,height:Blockly.SPRITE.height,y:-this.SPRITE_TOP_,\n\"clip-path\":\"url(#blocklyTrashBodyClipPath\"+a+\")\"},this.svgGroup_).setAttributeNS(\"http://www.w3.org/1999/xlink\",\"xlink:href\",this.workspace_.options.pathToMedia+Blockly.SPRITE.url);b=Blockly.utils.createSvgElement(\"clipPath\",{id:\"blocklyTrashLidClipPath\"+a},this.svgGroup_);Blockly.utils.createSvgElement(\"rect\",{width:this.WIDTH_,height:this.LID_HEIGHT_},b);this.svgLid_=Blockly.utils.createSvgElement(\"image\",{width:Blockly.SPRITE.width,x:-this.SPRITE_LEFT_,height:Blockly.SPRITE.height,y:-this.SPRITE_TOP_,\n\"clip-path\":\"url(#blocklyTrashLidClipPath\"+a+\")\"},this.svgGroup_);this.svgLid_.setAttributeNS(\"http://www.w3.org/1999/xlink\",\"xlink:href\",this.workspace_.options.pathToMedia+Blockly.SPRITE.url);Blockly.bindEventWithChecks_(this.svgGroup_,\"mouseup\",this,this.click);this.animateLid_();return this.svgGroup_};Blockly.Trashcan.prototype.init=function(a){this.bottom_=this.MARGIN_BOTTOM_+a;this.setOpen_(!1);return this.bottom_+this.BODY_HEIGHT_+this.LID_HEIGHT_};\nBlockly.Trashcan.prototype.dispose=function(){this.svgGroup_&&(goog.dom.removeNode(this.svgGroup_),this.svgGroup_=null);this.workspace_=this.svgLid_=null;goog.Timer.clear(this.lidTask_)};\nBlockly.Trashcan.prototype.position=function(){var a=this.workspace_.getMetrics();a&&(this.workspace_.RTL?(this.left_=this.MARGIN_SIDE_+Blockly.Scrollbar.scrollbarThickness,a.toolboxPosition==Blockly.TOOLBOX_AT_LEFT&&(this.left_+=a.flyoutWidth,this.workspace_.toolbox_&&(this.left_+=a.absoluteLeft))):(this.left_=a.viewWidth+a.absoluteLeft-this.WIDTH_-this.MARGIN_SIDE_-Blockly.Scrollbar.scrollbarThickness,a.toolboxPosition==Blockly.TOOLBOX_AT_RIGHT&&(this.left_-=a.flyoutWidth)),this.top_=a.viewHeight+\na.absoluteTop-(this.BODY_HEIGHT_+this.LID_HEIGHT_)-this.bottom_,a.toolboxPosition==Blockly.TOOLBOX_AT_BOTTOM&&(this.top_-=a.flyoutHeight),this.svgGroup_.setAttribute(\"transform\",\"translate(\"+this.left_+\",\"+this.top_+\")\"))};\nBlockly.Trashcan.prototype.getClientRect=function(){if(!this.svgGroup_)return null;var a=this.svgGroup_.getBoundingClientRect();return new goog.math.Rect(a.left+this.SPRITE_LEFT_-this.MARGIN_HOTSPOT_,a.top+this.SPRITE_TOP_-this.MARGIN_HOTSPOT_,this.WIDTH_+2*this.MARGIN_HOTSPOT_,this.LID_HEIGHT_+this.BODY_HEIGHT_+2*this.MARGIN_HOTSPOT_)};Blockly.Trashcan.prototype.setOpen_=function(a){this.isOpen!=a&&(goog.Timer.clear(this.lidTask_),this.isOpen=a,this.animateLid_())};\nBlockly.Trashcan.prototype.animateLid_=function(){this.lidOpen_+=this.isOpen?.2:-.2;this.lidOpen_=goog.math.clamp(this.lidOpen_,0,1);var a=45*this.lidOpen_;this.svgLid_.setAttribute(\"transform\",\"rotate(\"+(this.workspace_.RTL?-a:a)+\",\"+(this.workspace_.RTL?4:this.WIDTH_-4)+\",\"+(this.LID_HEIGHT_-2)+\")\");a=goog.math.lerp(.4,.8,this.lidOpen_);this.svgGroup_.style.opacity=a;0<this.lidOpen_&&1>this.lidOpen_&&(this.lidTask_=goog.Timer.callOnce(this.animateLid_,20,this))};\nBlockly.Trashcan.prototype.close=function(){this.setOpen_(!1)};Blockly.Trashcan.prototype.click=function(){var a=this.workspace_.startScrollX-this.workspace_.scrollX,b=this.workspace_.startScrollY-this.workspace_.scrollY;Math.sqrt(a*a+b*b)>Blockly.DRAG_RADIUS||console.log(\"TODO: Inspect trash.\")};Blockly.WorkspaceAudio=function(a){this.parentWorkspace_=a;this.SOUNDS_=Object.create(null)};Blockly.WorkspaceAudio.prototype.lastSound_=null;Blockly.WorkspaceAudio.prototype.dispose=function(){this.SOUNDS_=this.parentWorkspace_=null};Blockly.WorkspaceAudio.prototype.load=function(a,b){if(a.length){try{var c=new window.Audio}catch(h){return}for(var d,e=0;e<a.length;e++){var f=a[e],g=f.match(/\\.(\\w+)$/);if(g&&c.canPlayType(\"audio/\"+g[1])){d=new window.Audio(f);break}}d&&d.play&&(this.SOUNDS_[b]=d)}};\nBlockly.WorkspaceAudio.prototype.preload=function(){for(var a in this.SOUNDS_){var b=this.SOUNDS_[a];b.volume=.01;b.play();b.pause();if(goog.userAgent.IPAD||goog.userAgent.IPHONE)break}};\nBlockly.WorkspaceAudio.prototype.play=function(a,b){var c=this.SOUNDS_[a];if(c){var d=new Date;null!=this.lastSound_&&d-this.lastSound_<Blockly.SOUND_LIMIT||(this.lastSound_=d,c=goog.userAgent.DOCUMENT_MODE&&9===goog.userAgent.DOCUMENT_MODE||goog.userAgent.IPAD||goog.userAgent.ANDROID?c:c.cloneNode(),c.volume=void 0===b?1:b,c.play())}else this.parentWorkspace_&&this.parentWorkspace_.getAudioManager().play(a,b)};Blockly.WorkspaceDragSurfaceSvg=function(a){this.container_=a;this.createDom()};Blockly.WorkspaceDragSurfaceSvg.prototype.SVG_=null;Blockly.WorkspaceDragSurfaceSvg.prototype.dragGroup_=null;Blockly.WorkspaceDragSurfaceSvg.prototype.container_=null;\nBlockly.WorkspaceDragSurfaceSvg.prototype.createDom=function(){this.SVG_||(this.SVG_=Blockly.utils.createSvgElement(\"svg\",{xmlns:Blockly.SVG_NS,\"xmlns:html\":Blockly.HTML_NS,\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",version:\"1.1\",\"class\":\"blocklyWsDragSurface blocklyOverflowVisible\"},null),this.container_.appendChild(this.SVG_))};\nBlockly.WorkspaceDragSurfaceSvg.prototype.translateSurface=function(a,b){a=a.toFixed(0);b=b.toFixed(0);this.SVG_.style.display=\"block\";Blockly.utils.setCssTransform(this.SVG_,\"translate3d(\"+a+\"px, \"+b+\"px, 0px)\")};Blockly.WorkspaceDragSurfaceSvg.prototype.getSurfaceTranslation=function(){return Blockly.utils.getRelativeXY(this.SVG_)};\nBlockly.WorkspaceDragSurfaceSvg.prototype.clearAndHide=function(a){var b=this.SVG_.childNodes[0],c=this.SVG_.childNodes[1];if(!(b&&c&&Blockly.utils.hasClass(b,\"blocklyBlockCanvas\")&&Blockly.utils.hasClass(c,\"blocklyBubbleCanvas\")))throw\"Couldn't clear and hide the drag surface.  A node was missing.\";null!=this.previousSibling_?Blockly.utils.insertAfter_(b,this.previousSibling_):a.insertBefore(b,a.firstChild);Blockly.utils.insertAfter_(c,b);this.SVG_.style.display=\"none\";goog.asserts.assert(0==this.SVG_.childNodes.length,\n\"Drag surface was not cleared.\");Blockly.utils.setCssTransform(this.SVG_,\"\");this.previousSibling_=null};\nBlockly.WorkspaceDragSurfaceSvg.prototype.setContentsAndShow=function(a,b,c,d,e,f){goog.asserts.assert(0==this.SVG_.childNodes.length,\"Already dragging a block.\");this.previousSibling_=c;a.setAttribute(\"transform\",\"translate(0, 0) scale(\"+f+\")\");b.setAttribute(\"transform\",\"translate(0, 0) scale(\"+f+\")\");this.SVG_.setAttribute(\"width\",d);this.SVG_.setAttribute(\"height\",e);this.SVG_.appendChild(a);this.SVG_.appendChild(b);this.SVG_.style.display=\"block\"};Blockly.Xml={};Blockly.Xml.workspaceToDom=function(a,b){var c=goog.dom.createDom(\"xml\");c.appendChild(Blockly.Xml.variablesToDom(a.getAllVariables()));for(var d=a.getTopBlocks(!0),e=0,f;f=d[e];e++)c.appendChild(Blockly.Xml.blockToDomWithXY(f,b));return c};Blockly.Xml.variablesToDom=function(a){for(var b=goog.dom.createDom(\"variables\"),c=0,d;d=a[c];c++){var e=goog.dom.createDom(\"variable\",null,d.name);e.setAttribute(\"type\",d.type);e.setAttribute(\"id\",d.getId());b.appendChild(e)}return b};\nBlockly.Xml.blockToDomWithXY=function(a,b){var c;a.workspace.RTL&&(c=a.workspace.getWidth());var d=Blockly.Xml.blockToDom(a,b),e=a.getRelativeToSurfaceXY();d.setAttribute(\"x\",Math.round(a.workspace.RTL?c-e.x:e.x));d.setAttribute(\"y\",Math.round(e.y));return d};\nBlockly.Xml.blockToDom=function(a,b){var c=goog.dom.createDom(a.isShadow()?\"shadow\":\"block\");c.setAttribute(\"type\",a.type);b||c.setAttribute(\"id\",a.id);if(a.mutationToDom){var d=a.mutationToDom();d&&(d.hasChildNodes()||d.hasAttributes())&&c.appendChild(d)}d=0;for(var e;e=a.inputList[d];d++)for(var f=0,g;g=e.fieldRow[f];f++){var h=g;h.name&&h.EDITABLE&&(g=goog.dom.createDom(\"field\",null,h.getValue()),g.setAttribute(\"name\",h.name),h instanceof Blockly.FieldVariable&&(h=a.workspace.getVariable(h.getValue()))&&\n(g.setAttribute(\"id\",h.getId()),g.setAttribute(\"variableType\",h.type)),c.appendChild(g))}if(d=a.getCommentText())d=goog.dom.createDom(\"comment\",null,d),\"object\"==typeof a.comment&&(d.setAttribute(\"pinned\",a.comment.isVisible()),e=a.comment.getBubbleSize(),d.setAttribute(\"h\",e.height),d.setAttribute(\"w\",e.width)),c.appendChild(d);a.data&&(d=goog.dom.createDom(\"data\",null,a.data),c.appendChild(d));for(d=0;e=a.inputList[d];d++){var k;g=!0;e.type!=Blockly.DUMMY_INPUT&&(h=e.connection.targetBlock(),e.type==\nBlockly.INPUT_VALUE?k=goog.dom.createDom(\"value\"):e.type==Blockly.NEXT_STATEMENT&&(k=goog.dom.createDom(\"statement\")),f=e.connection.getShadowDom(),!f||h&&h.isShadow()||k.appendChild(Blockly.Xml.cloneShadow_(f)),h&&(k.appendChild(Blockly.Xml.blockToDom(h,b)),g=!1),k.setAttribute(\"name\",e.name),g||c.appendChild(k))}a.inputsInlineDefault!=a.inputsInline&&c.setAttribute(\"inline\",a.inputsInline);a.isCollapsed()&&c.setAttribute(\"collapsed\",!0);a.disabled&&c.setAttribute(\"disabled\",!0);a.isDeletable()||\na.isShadow()||c.setAttribute(\"deletable\",!1);a.isMovable()||a.isShadow()||c.setAttribute(\"movable\",!1);a.isEditable()||c.setAttribute(\"editable\",!1);if(d=a.getNextBlock())k=goog.dom.createDom(\"next\",null,Blockly.Xml.blockToDom(d,b)),c.appendChild(k);f=a.nextConnection&&a.nextConnection.getShadowDom();!f||d&&d.isShadow()||k.appendChild(Blockly.Xml.cloneShadow_(f));return c};\nBlockly.Xml.cloneShadow_=function(a){for(var b=a=a.cloneNode(!0),c;b;)if(b.firstChild)b=b.firstChild;else{for(;b&&!b.nextSibling;)c=b,b=b.parentNode,3==c.nodeType&&\"\"==c.data.trim()&&b.firstChild!=c&&goog.dom.removeNode(c);b&&(c=b,b=b.nextSibling,3==c.nodeType&&\"\"==c.data.trim()&&goog.dom.removeNode(c))}return a};Blockly.Xml.domToText=function(a){return(new XMLSerializer).serializeToString(a)};\nBlockly.Xml.domToPrettyText=function(a){a=Blockly.Xml.domToText(a).split(\"<\");for(var b=\"\",c=1;c<a.length;c++){var d=a[c];\"/\"==d[0]&&(b=b.substring(2));a[c]=b+\"<\"+d;\"/\"!=d[0]&&\"/>\"!=d.slice(-2)&&(b+=\"  \")}a=a.join(\"\\n\");a=a.replace(/(<(\\w+)\\b[^>]*>[^\\n]*)\\n *<\\/\\2>/g,\"$1</$2>\");return a.replace(/^\\n/,\"\")};\nBlockly.Xml.textToDom=function(a){(a=(new DOMParser).parseFromString(a,\"text/xml\"))&&a.firstChild&&\"xml\"==a.firstChild.nodeName.toLowerCase()&&a.firstChild===a.lastChild||goog.asserts.fail(\"Blockly.Xml.textToDom did not obtain a valid XML tree.\");return a.firstChild};\nBlockly.Xml.domToWorkspace=function(a,b){if(a instanceof Blockly.Workspace){var c=a;a=b;b=c;console.warn(\"Deprecated call to Blockly.Xml.domToWorkspace, swap the arguments.\")}var d;b.RTL&&(d=b.getWidth());c=[];Blockly.Field.startCache();var e=a.childNodes.length,f=Blockly.Events.getGroup();f||Blockly.Events.setGroup(!0);b.setResizesEnabled&&b.setResizesEnabled(!1);var g=!0;try{for(var h=0;h<e;h++){var k=a.childNodes[h],n=k.nodeName.toLowerCase();if(\"block\"==n||\"shadow\"==n&&!Blockly.Events.recordUndo){var p=\nBlockly.Xml.domToBlock(k,b);c.push(p.id);var l=parseInt(k.getAttribute(\"x\"),10),m=parseInt(k.getAttribute(\"y\"),10);isNaN(l)||isNaN(m)||p.moveBy(b.RTL?d-l:l,m);g=!1}else if(\"shadow\"==n)goog.asserts.fail(\"Shadow block cannot be a top-level block.\"),g=!1;else if(\"variables\"==n){if(g)Blockly.Xml.domToVariables(k,b);else throw Error(\"'variables' tag must exist once before block and shadow tag elements in the workspace XML, but it was found in another location.\");g=!1}}}finally{f||Blockly.Events.setGroup(!1),\nBlockly.Field.stopCache()}b.updateVariableStore(!1);b.setResizesEnabled&&b.setResizesEnabled(!0);return c};\nBlockly.Xml.appendDomToWorkspace=function(a,b){if(b.hasOwnProperty(\"scale\")){var c=Blockly.BlockSvg.TAB_WIDTH;try{Blockly.BlockSvg.TAB_WIDTH=0;var d=b.getBlocksBoundingBox()}finally{Blockly.BlockSvg.TAB_WIDTH=c}}c=Blockly.Xml.domToWorkspace(a,b);if(d&&d.height){var e=d.y+d.height;var f=d.x;var g=Infinity,h=Infinity;for(d=0;d<c.length;d++){var k=b.getBlockById(c[d]).getRelativeToSurfaceXY();k.y<h&&(h=k.y);k.x<g&&(g=k.x)}e=e-h+Blockly.BlockSvg.SEP_SPACE_Y;f-=g;var n;b.RTL&&(n=b.getWidth());for(d=0;d<\nc.length;d++)b.getBlockById(c[d]).moveBy(b.RTL?n-f:f,e)}return c};\nBlockly.Xml.domToBlock=function(a,b){if(a instanceof Blockly.Workspace){var c=a;a=b;b=c;console.warn(\"Deprecated call to Blockly.Xml.domToBlock, swap the arguments.\")}Blockly.Events.disable();try{var d=Blockly.Xml.domToBlockHeadless_(a,b);if(b.rendered){d.setConnectionsHidden(!0);for(var e=d.getDescendants(),f=e.length-1;0<=f;f--)e[f].initSvg();for(f=e.length-1;0<=f;f--)e[f].render(!1);setTimeout(function(){d.workspace&&d.setConnectionsHidden(!1)},1);d.updateDisabled();b.resizeContents()}}finally{Blockly.Events.enable()}Blockly.Events.isEnabled()&&\nBlockly.Events.fire(new Blockly.Events.BlockCreate(d));return d};Blockly.Xml.domToVariables=function(a,b){for(var c=0,d;d=a.children[c];c++){var e=d.getAttribute(\"type\"),f=d.getAttribute(\"id\");d=d.textContent;if(null===e)throw Error(\"Variable with id, \"+f+\" is without a type\");b.createVariable(d,e,f)}};\nBlockly.Xml.domToBlockHeadless_=function(a,b){var c=null,d=a.getAttribute(\"type\");goog.asserts.assert(d,\"Block type unspecified: %s\",a.outerHTML);var e=a.getAttribute(\"id\");c=b.newBlock(d,e);for(var f=null,g=0,h;h=a.childNodes[g];g++)if(3!=h.nodeType){var k=null,n=null;f=0;for(var p;p=h.childNodes[f];f++)1==p.nodeType&&(\"block\"==p.nodeName.toLowerCase()?k=p:\"shadow\"==p.nodeName.toLowerCase()&&(n=p));!k&&n&&(k=n);f=h.getAttribute(\"name\");switch(h.nodeName.toLowerCase()){case \"mutation\":c.domToMutation&&\n(c.domToMutation(h),c.initSvg&&c.initSvg());break;case \"comment\":c.setCommentText(h.textContent);var l=h.getAttribute(\"pinned\");l&&!c.isInFlyout&&setTimeout(function(){c.comment&&c.comment.setVisible&&c.comment.setVisible(\"true\"==l)},1);f=parseInt(h.getAttribute(\"w\"),10);h=parseInt(h.getAttribute(\"h\"),10);!isNaN(f)&&!isNaN(h)&&c.comment&&c.comment.setVisible&&c.comment.setBubbleSize(f,h);break;case \"data\":c.data=h.textContent;break;case \"title\":case \"field\":k=c.getField(f);n=h.textContent;if(k instanceof\nBlockly.FieldVariable){p=h.getAttribute(\"variableType\")||\"\";var m=b.getVariable(n);m||(m=b.createVariable(n,p,h.getAttribute(e)));if(null!==p&&p!==m.type)throw Error(\"Serialized variable type with id '\"+m.getId()+\"' had type \"+m.type+\", and does not match variable field that references it: \"+Blockly.Xml.domToText(h)+\".\");}if(!k){console.warn(\"Ignoring non-existent field \"+f+\" in block \"+d);break}k.setValue(n);break;case \"value\":case \"statement\":h=c.getInput(f);if(!h){console.warn(\"Ignoring non-existent input \"+\nf+\" in block \"+d);break}n&&h.connection.setShadowDom(n);k&&(f=Blockly.Xml.domToBlockHeadless_(k,b),f.outputConnection?h.connection.connect(f.outputConnection):f.previousConnection?h.connection.connect(f.previousConnection):goog.asserts.fail(\"Child block does not have output or previous statement.\"));break;case \"next\":n&&c.nextConnection&&c.nextConnection.setShadowDom(n);k&&(goog.asserts.assert(c.nextConnection,\"Next statement does not exist.\"),goog.asserts.assert(!c.nextConnection.isConnected(),\"Next statement is already connected.\"),\nf=Blockly.Xml.domToBlockHeadless_(k,b),goog.asserts.assert(f.previousConnection,\"Next block does not have previous statement.\"),c.nextConnection.connect(f.previousConnection));break;default:console.warn(\"Ignoring unknown tag: \"+h.nodeName)}}(g=a.getAttribute(\"inline\"))&&c.setInputsInline(\"true\"==g);(g=a.getAttribute(\"disabled\"))&&c.setDisabled(\"true\"==g);(g=a.getAttribute(\"deletable\"))&&c.setDeletable(\"true\"==g);(g=a.getAttribute(\"movable\"))&&c.setMovable(\"true\"==g);(g=a.getAttribute(\"editable\"))&&\nc.setEditable(\"true\"==g);(g=a.getAttribute(\"collapsed\"))&&c.setCollapsed(\"true\"==g);if(\"shadow\"==a.nodeName.toLowerCase()){d=c.getChildren();for(g=0;e=d[g];g++)goog.asserts.assert(e.isShadow(),\"Shadow block not allowed non-shadow child.\");goog.asserts.assert(0==c.getVars().length,\"Shadow blocks cannot have variable fields.\");c.setShadow(!0)}return c};Blockly.Xml.deleteNext=function(a){for(var b=0,c;c=a.childNodes[b];b++)if(\"next\"==c.nodeName.toLowerCase()){a.removeChild(c);break}};\ngoog.global.Blockly||(goog.global.Blockly={});goog.global.Blockly.Xml||(goog.global.Blockly.Xml={});goog.global.Blockly.Xml.domToText=Blockly.Xml.domToText;goog.global.Blockly.Xml.domToWorkspace=Blockly.Xml.domToWorkspace;goog.global.Blockly.Xml.textToDom=Blockly.Xml.textToDom;goog.global.Blockly.Xml.workspaceToDom=Blockly.Xml.workspaceToDom;\nBlockly.ZoomControls=function(a){this.workspace_=a};Blockly.ZoomControls.prototype.WIDTH_=32;Blockly.ZoomControls.prototype.HEIGHT_=110;Blockly.ZoomControls.prototype.MARGIN_BOTTOM_=20;Blockly.ZoomControls.prototype.MARGIN_SIDE_=20;Blockly.ZoomControls.prototype.svgGroup_=null;Blockly.ZoomControls.prototype.left_=0;Blockly.ZoomControls.prototype.top_=0;\nBlockly.ZoomControls.prototype.createDom=function(){var a=this.workspace_;this.svgGroup_=Blockly.utils.createSvgElement(\"g\",{\"class\":\"blocklyZoom\"},null);var b=String(Math.random()).substring(2);var c=Blockly.utils.createSvgElement(\"clipPath\",{id:\"blocklyZoomoutClipPath\"+b},this.svgGroup_);Blockly.utils.createSvgElement(\"rect\",{width:32,height:32,y:77},c);var d=Blockly.utils.createSvgElement(\"image\",{width:Blockly.SPRITE.width,height:Blockly.SPRITE.height,x:-64,y:-15,\"clip-path\":\"url(#blocklyZoomoutClipPath\"+\nb+\")\"},this.svgGroup_);d.setAttributeNS(\"http://www.w3.org/1999/xlink\",\"xlink:href\",a.options.pathToMedia+Blockly.SPRITE.url);c=Blockly.utils.createSvgElement(\"clipPath\",{id:\"blocklyZoominClipPath\"+b},this.svgGroup_);Blockly.utils.createSvgElement(\"rect\",{width:32,height:32,y:43},c);var e=Blockly.utils.createSvgElement(\"image\",{width:Blockly.SPRITE.width,height:Blockly.SPRITE.height,x:-32,y:-49,\"clip-path\":\"url(#blocklyZoominClipPath\"+b+\")\"},this.svgGroup_);e.setAttributeNS(\"http://www.w3.org/1999/xlink\",\n\"xlink:href\",a.options.pathToMedia+Blockly.SPRITE.url);c=Blockly.utils.createSvgElement(\"clipPath\",{id:\"blocklyZoomresetClipPath\"+b},this.svgGroup_);Blockly.utils.createSvgElement(\"rect\",{width:32,height:32},c);c=Blockly.utils.createSvgElement(\"image\",{width:Blockly.SPRITE.width,height:Blockly.SPRITE.height,y:-92,\"clip-path\":\"url(#blocklyZoomresetClipPath\"+b+\")\"},this.svgGroup_);c.setAttributeNS(\"http://www.w3.org/1999/xlink\",\"xlink:href\",a.options.pathToMedia+Blockly.SPRITE.url);Blockly.bindEventWithChecks_(c,\n\"mousedown\",null,function(b){a.markFocused();a.setScale(a.options.zoomOptions.startScale);a.scrollCenter();Blockly.Touch.clearTouchIdentifier();b.stopPropagation();b.preventDefault()});Blockly.bindEventWithChecks_(e,\"mousedown\",null,function(b){a.markFocused();a.zoomCenter(1);Blockly.Touch.clearTouchIdentifier();b.stopPropagation();b.preventDefault()});Blockly.bindEventWithChecks_(d,\"mousedown\",null,function(b){a.markFocused();a.zoomCenter(-1);Blockly.Touch.clearTouchIdentifier();b.stopPropagation();\nb.preventDefault()});return this.svgGroup_};Blockly.ZoomControls.prototype.init=function(a){this.bottom_=this.MARGIN_BOTTOM_+a;return this.bottom_+this.HEIGHT_};Blockly.ZoomControls.prototype.dispose=function(){this.svgGroup_&&(goog.dom.removeNode(this.svgGroup_),this.svgGroup_=null);this.workspace_=null};\nBlockly.ZoomControls.prototype.position=function(){var a=this.workspace_.getMetrics();a&&(this.workspace_.RTL?(this.left_=this.MARGIN_SIDE_+Blockly.Scrollbar.scrollbarThickness,a.toolboxPosition==Blockly.TOOLBOX_AT_LEFT&&(this.left_+=a.flyoutWidth,this.workspace_.toolbox_&&(this.left_+=a.absoluteLeft))):(this.left_=a.viewWidth+a.absoluteLeft-this.WIDTH_-this.MARGIN_SIDE_-Blockly.Scrollbar.scrollbarThickness,a.toolboxPosition==Blockly.TOOLBOX_AT_RIGHT&&(this.left_-=a.flyoutWidth)),this.top_=a.viewHeight+\na.absoluteTop-this.HEIGHT_-this.bottom_,a.toolboxPosition==Blockly.TOOLBOX_AT_BOTTOM&&(this.top_-=a.flyoutHeight),this.svgGroup_.setAttribute(\"transform\",\"translate(\"+this.left_+\",\"+this.top_+\")\"))};\nBlockly.WorkspaceSvg=function(a,b,c){Blockly.WorkspaceSvg.superClass_.constructor.call(this,a);this.getMetrics=a.getMetrics||Blockly.WorkspaceSvg.getTopLevelWorkspaceMetrics_;this.setMetrics=a.setMetrics||Blockly.WorkspaceSvg.setTopLevelWorkspaceMetrics_;Blockly.ConnectionDB.init(this);b&&(this.blockDragSurface_=b);c&&(this.workspaceDragSurface_=c);this.useWorkspaceDragSurface_=this.workspaceDragSurface_&&Blockly.utils.is3dSupported();this.highlightedBlocks_=[];this.audioManager_=new Blockly.WorkspaceAudio(a.parentWorkspace);\nthis.grid_=this.options.gridPattern?new Blockly.Grid(a.gridPattern,a.gridOptions):null;this.registerToolboxCategoryCallback(Blockly.VARIABLE_CATEGORY_NAME,Blockly.Variables.flyoutCategory);this.registerToolboxCategoryCallback(Blockly.PROCEDURE_CATEGORY_NAME,Blockly.Procedures.flyoutCategory)};goog.inherits(Blockly.WorkspaceSvg,Blockly.Workspace);Blockly.WorkspaceSvg.prototype.resizeHandlerWrapper_=null;Blockly.WorkspaceSvg.prototype.rendered=!0;Blockly.WorkspaceSvg.prototype.isFlyout=!1;\nBlockly.WorkspaceSvg.prototype.isMutator=!1;Blockly.WorkspaceSvg.prototype.resizesEnabled_=!0;Blockly.WorkspaceSvg.prototype.scrollX=0;Blockly.WorkspaceSvg.prototype.scrollY=0;Blockly.WorkspaceSvg.prototype.startScrollX=0;Blockly.WorkspaceSvg.prototype.startScrollY=0;Blockly.WorkspaceSvg.prototype.dragDeltaXY_=null;Blockly.WorkspaceSvg.prototype.scale=1;Blockly.WorkspaceSvg.prototype.trashcan=null;Blockly.WorkspaceSvg.prototype.scrollbar=null;Blockly.WorkspaceSvg.prototype.currentGesture_=null;\nBlockly.WorkspaceSvg.prototype.blockDragSurface_=null;Blockly.WorkspaceSvg.prototype.workspaceDragSurface_=null;Blockly.WorkspaceSvg.prototype.useWorkspaceDragSurface_=!1;Blockly.WorkspaceSvg.prototype.isDragSurfaceActive_=!1;Blockly.WorkspaceSvg.prototype.lastRecordedPageScroll_=null;Blockly.WorkspaceSvg.prototype.flyoutButtonCallbacks_={};Blockly.WorkspaceSvg.prototype.toolboxCategoryCallbacks_={};Blockly.WorkspaceSvg.prototype.inverseScreenCTM_=null;\nBlockly.WorkspaceSvg.prototype.getInverseScreenCTM=function(){return this.inverseScreenCTM_};Blockly.WorkspaceSvg.prototype.updateInverseScreenCTM=function(){var a=this.getParentSvg().getScreenCTM();a&&(this.inverseScreenCTM_=a.inverse())};\nBlockly.WorkspaceSvg.prototype.getSvgXY=function(a){var b=0,c=0,d=1;if(goog.dom.contains(this.getCanvas(),a)||goog.dom.contains(this.getBubbleCanvas(),a))d=this.scale;do{var e=Blockly.utils.getRelativeXY(a);if(a==this.getCanvas()||a==this.getBubbleCanvas())d=1;b+=e.x*d;c+=e.y*d;a=a.parentNode}while(a&&a!=this.getParentSvg());return new goog.math.Coordinate(b,c)};Blockly.WorkspaceSvg.prototype.getOriginOffsetInPixels=function(){return Blockly.utils.getInjectionDivXY_(this.svgBlockCanvas_)};\nBlockly.WorkspaceSvg.prototype.setResizeHandlerWrapper=function(a){this.resizeHandlerWrapper_=a};\nBlockly.WorkspaceSvg.prototype.createDom=function(a){this.svgGroup_=Blockly.utils.createSvgElement(\"g\",{\"class\":\"blocklyWorkspace\"},null);a&&(this.svgBackground_=Blockly.utils.createSvgElement(\"rect\",{height:\"100%\",width:\"100%\",\"class\":a},this.svgGroup_),\"blocklyMainBackground\"==a&&this.grid_&&(this.svgBackground_.style.fill=\"url(#\"+this.grid_.getPatternId()+\")\"));this.svgBlockCanvas_=Blockly.utils.createSvgElement(\"g\",{\"class\":\"blocklyBlockCanvas\"},this.svgGroup_,this);this.svgBubbleCanvas_=Blockly.utils.createSvgElement(\"g\",\n{\"class\":\"blocklyBubbleCanvas\"},this.svgGroup_,this);a=Blockly.Scrollbar.scrollbarThickness;this.options.hasTrashcan&&(a=this.addTrashcan_(a));this.options.zoomOptions&&this.options.zoomOptions.controls&&this.addZoomControls_(a);this.isFlyout||(Blockly.bindEventWithChecks_(this.svgGroup_,\"mousedown\",this,this.onMouseDown_),this.options.zoomOptions&&this.options.zoomOptions.wheel&&Blockly.bindEventWithChecks_(this.svgGroup_,\"wheel\",this,this.onMouseWheel_));this.options.hasCategories&&(this.toolbox_=\nnew Blockly.Toolbox(this));this.grid_&&this.grid_.update(this.scale);this.recordDeleteAreas();return this.svgGroup_};\nBlockly.WorkspaceSvg.prototype.dispose=function(){this.rendered=!1;this.currentGesture_&&this.currentGesture_.cancel();Blockly.WorkspaceSvg.superClass_.dispose.call(this);this.svgGroup_&&(goog.dom.removeNode(this.svgGroup_),this.svgGroup_=null);this.svgBubbleCanvas_=this.svgBlockCanvas_=null;this.toolbox_&&(this.toolbox_.dispose(),this.toolbox_=null);this.flyout_&&(this.flyout_.dispose(),this.flyout_=null);this.trashcan&&(this.trashcan.dispose(),this.trashcan=null);this.scrollbar&&(this.scrollbar.dispose(),\nthis.scrollbar=null);this.zoomControls_&&(this.zoomControls_.dispose(),this.zoomControls_=null);this.audioManager_&&(this.audioManager_.dispose(),this.audioManager_=null);this.grid_&&(this.grid_.dispose(),this.grid_=null);this.toolboxCategoryCallbacks_&&(this.toolboxCategoryCallbacks_=null);this.flyoutButtonCallbacks_&&(this.flyoutButtonCallbacks_=null);this.options.parentWorkspace||goog.dom.removeNode(this.getParentSvg().parentNode);this.resizeHandlerWrapper_&&(Blockly.unbindEvent_(this.resizeHandlerWrapper_),\nthis.resizeHandlerWrapper_=null)};Blockly.WorkspaceSvg.prototype.newBlock=function(a,b){return new Blockly.BlockSvg(this,a,b)};Blockly.WorkspaceSvg.prototype.addTrashcan_=function(a){this.trashcan=new Blockly.Trashcan(this);var b=this.trashcan.createDom();this.svgGroup_.insertBefore(b,this.svgBlockCanvas_);return this.trashcan.init(a)};\nBlockly.WorkspaceSvg.prototype.addZoomControls_=function(a){this.zoomControls_=new Blockly.ZoomControls(this);var b=this.zoomControls_.createDom();this.svgGroup_.appendChild(b);return this.zoomControls_.init(a)};\nBlockly.WorkspaceSvg.prototype.addFlyout_=function(a){var b={disabledPatternId:this.options.disabledPatternId,parentWorkspace:this,RTL:this.RTL,oneBasedIndex:this.options.oneBasedIndex,horizontalLayout:this.horizontalLayout,toolboxPosition:this.options.toolboxPosition};this.flyout_=null;this.flyout_=this.horizontalLayout?new Blockly.HorizontalFlyout(b):new Blockly.VerticalFlyout(b);this.flyout_.autoClose=!1;return this.flyout_.createDom(a)};\nBlockly.WorkspaceSvg.prototype.getFlyout_=function(){return this.flyout_?this.flyout_:this.toolbox_?this.toolbox_.flyout_:null};Blockly.WorkspaceSvg.prototype.updateScreenCalculations_=function(){this.updateInverseScreenCTM();this.recordDeleteAreas()};Blockly.WorkspaceSvg.prototype.resizeContents=function(){this.resizesEnabled_&&this.rendered&&(this.scrollbar&&this.scrollbar.resize(),this.updateInverseScreenCTM())};\nBlockly.WorkspaceSvg.prototype.resize=function(){this.toolbox_&&this.toolbox_.position();this.flyout_&&this.flyout_.position();this.trashcan&&this.trashcan.position();this.zoomControls_&&this.zoomControls_.position();this.scrollbar&&this.scrollbar.resize();this.updateScreenCalculations_()};Blockly.WorkspaceSvg.prototype.updateScreenCalculationsIfScrolled=function(){var a=goog.dom.getDocumentScroll();goog.math.Coordinate.equals(this.lastRecordedPageScroll_,a)||(this.lastRecordedPageScroll_=a,this.updateScreenCalculations_())};\nBlockly.WorkspaceSvg.prototype.getCanvas=function(){return this.svgBlockCanvas_};Blockly.WorkspaceSvg.prototype.getBubbleCanvas=function(){return this.svgBubbleCanvas_};Blockly.WorkspaceSvg.prototype.getParentSvg=function(){if(this.cachedParentSvg_)return this.cachedParentSvg_;for(var a=this.svgGroup_;a;){if(\"svg\"==a.tagName)return this.cachedParentSvg_=a;a=a.parentNode}return null};\nBlockly.WorkspaceSvg.prototype.translate=function(a,b){if(this.useWorkspaceDragSurface_&&this.isDragSurfaceActive_)this.workspaceDragSurface_.translateSurface(a,b);else{var c=\"translate(\"+a+\",\"+b+\") scale(\"+this.scale+\")\";this.svgBlockCanvas_.setAttribute(\"transform\",c);this.svgBubbleCanvas_.setAttribute(\"transform\",c)}this.blockDragSurface_&&this.blockDragSurface_.translateAndScaleGroup(a,b,this.scale)};\nBlockly.WorkspaceSvg.prototype.resetDragSurface=function(){if(this.useWorkspaceDragSurface_){this.isDragSurfaceActive_=!1;var a=this.workspaceDragSurface_.getSurfaceTranslation();this.workspaceDragSurface_.clearAndHide(this.svgGroup_);a=\"translate(\"+a.x+\",\"+a.y+\") scale(\"+this.scale+\")\";this.svgBlockCanvas_.setAttribute(\"transform\",a);this.svgBubbleCanvas_.setAttribute(\"transform\",a)}};\nBlockly.WorkspaceSvg.prototype.setupDragSurface=function(){if(this.useWorkspaceDragSurface_&&!this.isDragSurfaceActive_){this.isDragSurfaceActive_=!0;var a=this.svgBlockCanvas_.previousSibling,b=this.getParentSvg().getAttribute(\"width\"),c=this.getParentSvg().getAttribute(\"height\"),d=Blockly.utils.getRelativeXY(this.svgBlockCanvas_);this.workspaceDragSurface_.setContentsAndShow(this.svgBlockCanvas_,this.svgBubbleCanvas_,a,b,c,this.scale);this.workspaceDragSurface_.translateSurface(d.x,d.y)}};\nBlockly.WorkspaceSvg.prototype.getWidth=function(){var a=this.getMetrics();return a?a.viewWidth/this.scale:0};Blockly.WorkspaceSvg.prototype.setVisible=function(a){this.scrollbar&&this.scrollbar.setContainerVisible(a);this.getFlyout_()&&this.getFlyout_().setContainerVisible(a);this.getParentSvg().style.display=a?\"block\":\"none\";this.toolbox_&&(this.toolbox_.HtmlDiv.style.display=a?\"block\":\"none\");a?(this.render(),this.toolbox_&&this.toolbox_.position()):Blockly.hideChaff(!0)};\nBlockly.WorkspaceSvg.prototype.render=function(){for(var a=this.getAllBlocks(),b=a.length-1;0<=b;b--)a[b].render(!1)};Blockly.WorkspaceSvg.prototype.traceOn=function(){console.warn(\"Deprecated call to traceOn, delete this.\")};\nBlockly.WorkspaceSvg.prototype.highlightBlock=function(a,b){if(void 0===b){for(var c=0,d;d=this.highlightedBlocks_[c];c++)d.setHighlighted(!1);this.highlightedBlocks_.length=0}if(d=a?this.getBlockById(a):null)(c=void 0===b||b)?-1==this.highlightedBlocks_.indexOf(d)&&this.highlightedBlocks_.push(d):goog.array.remove(this.highlightedBlocks_,d),d.setHighlighted(c)};\nBlockly.WorkspaceSvg.prototype.paste=function(a){if(this.rendered&&!(a.getElementsByTagName(\"block\").length>=this.remainingCapacity())){this.currentGesture_&&this.currentGesture_.cancel();Blockly.Events.disable();try{var b=Blockly.Xml.domToBlock(a,this),c=parseInt(a.getAttribute(\"x\"),10),d=parseInt(a.getAttribute(\"y\"),10);if(!isNaN(c)&&!isNaN(d)){this.RTL&&(c=-c);do{a=!1;for(var e=this.getAllBlocks(),f=0,g;g=e[f];f++){var h=g.getRelativeToSurfaceXY();if(1>=Math.abs(c-h.x)&&1>=Math.abs(d-h.y)){a=!0;\nbreak}}if(!a){var k=b.getConnections_(!1);f=0;for(var n;n=k[f];f++)if(n.closest(Blockly.SNAP_RADIUS,new goog.math.Coordinate(c,d)).connection){a=!0;break}}a&&(c=this.RTL?c-Blockly.SNAP_RADIUS:c+Blockly.SNAP_RADIUS,d+=2*Blockly.SNAP_RADIUS)}while(a);b.moveBy(c,d)}}finally{Blockly.Events.enable()}Blockly.Events.isEnabled()&&!b.isShadow()&&Blockly.Events.fire(new Blockly.Events.BlockCreate(b));b.select()}};\nBlockly.WorkspaceSvg.prototype.refreshToolboxSelection_=function(){this.toolbox_&&this.toolbox_.flyout_&&!this.currentGesture_&&this.toolbox_.refreshSelection()};Blockly.WorkspaceSvg.prototype.renameVariable=function(a,b){Blockly.WorkspaceSvg.superClass_.renameVariable.call(this,a,b);this.refreshToolboxSelection_()};Blockly.WorkspaceSvg.prototype.renameVariableById=function(a,b){Blockly.WorkspaceSvg.superClass_.renameVariableById.call(this,a,b);this.refreshToolboxSelection_()};\nBlockly.WorkspaceSvg.prototype.deleteVariable=function(a){Blockly.WorkspaceSvg.superClass_.deleteVariable.call(this,a);this.refreshToolboxSelection_()};Blockly.WorkspaceSvg.prototype.deleteVariableById=function(a){Blockly.WorkspaceSvg.superClass_.deleteVariableById.call(this,a);this.refreshToolboxSelection_()};Blockly.WorkspaceSvg.prototype.createVariable=function(a,b,c){a=Blockly.WorkspaceSvg.superClass_.createVariable.call(this,a,b,c);this.refreshToolboxSelection_();return a};\nBlockly.WorkspaceSvg.prototype.recordDeleteAreas=function(){this.deleteAreaTrash_=this.trashcan?this.trashcan.getClientRect():null;this.deleteAreaToolbox_=this.flyout_?this.flyout_.getClientRect():this.toolbox_?this.toolbox_.getClientRect():null};\nBlockly.WorkspaceSvg.prototype.isDeleteArea=function(a){a=new goog.math.Coordinate(a.clientX,a.clientY);return this.deleteAreaTrash_&&this.deleteAreaTrash_.contains(a)?Blockly.DELETE_AREA_TRASH:this.deleteAreaToolbox_&&this.deleteAreaToolbox_.contains(a)?Blockly.DELETE_AREA_TOOLBOX:Blockly.DELETE_AREA_NONE};Blockly.WorkspaceSvg.prototype.onMouseDown_=function(a){var b=this.getGesture(a);b&&b.handleWsStart(a,this)};\nBlockly.WorkspaceSvg.prototype.startDrag=function(a,b){var c=Blockly.utils.mouseToSvg(a,this.getParentSvg(),this.getInverseScreenCTM());c.x/=this.scale;c.y/=this.scale;this.dragDeltaXY_=goog.math.Coordinate.difference(b,c)};Blockly.WorkspaceSvg.prototype.moveDrag=function(a){a=Blockly.utils.mouseToSvg(a,this.getParentSvg(),this.getInverseScreenCTM());a.x/=this.scale;a.y/=this.scale;return goog.math.Coordinate.sum(this.dragDeltaXY_,a)};\nBlockly.WorkspaceSvg.prototype.isDragging=function(){return this.currentGesture_&&this.currentGesture_.isDragging()};Blockly.WorkspaceSvg.prototype.isDraggable=function(){return!!this.scrollbar};Blockly.WorkspaceSvg.prototype.onMouseWheel_=function(a){this.currentGesture_&&this.currentGesture_.cancel();var b=-a.deltaY/50,c=Blockly.utils.mouseToSvg(a,this.getParentSvg(),this.getInverseScreenCTM());this.zoom(c.x,c.y,b);a.preventDefault()};\nBlockly.WorkspaceSvg.prototype.getBlocksBoundingBox=function(){var a=this.getTopBlocks(!1);if(!a.length)return{x:0,y:0,width:0,height:0};for(var b=a[0].getBoundingRectangle(),c=1;c<a.length;c++){var d=a[c].getBoundingRectangle();d.topLeft.x<b.topLeft.x&&(b.topLeft.x=d.topLeft.x);d.bottomRight.x>b.bottomRight.x&&(b.bottomRight.x=d.bottomRight.x);d.topLeft.y<b.topLeft.y&&(b.topLeft.y=d.topLeft.y);d.bottomRight.y>b.bottomRight.y&&(b.bottomRight.y=d.bottomRight.y)}return{x:b.topLeft.x,y:b.topLeft.y,width:b.bottomRight.x-\nb.topLeft.x,height:b.bottomRight.y-b.topLeft.y}};Blockly.WorkspaceSvg.prototype.cleanUp=function(){this.setResizesEnabled(!1);Blockly.Events.setGroup(!0);for(var a=this.getTopBlocks(!0),b=0,c=0,d;d=a[c];c++){var e=d.getRelativeToSurfaceXY();d.moveBy(-e.x,b-e.y);d.snapToGrid();b=d.getRelativeToSurfaceXY().y+d.getHeightWidth().height+Blockly.BlockSvg.MIN_BLOCK_Y}Blockly.Events.setGroup(!1);this.setResizesEnabled(!0)};\nBlockly.WorkspaceSvg.prototype.showContextMenu_=function(a){function b(a){if(a.isDeletable())m=m.concat(a.getDescendants());else{a=a.getChildren();for(var c=0;c<a.length;c++)b(a[c])}}function c(){Blockly.Events.setGroup(f);var a=m.shift();a&&(a.workspace?(a.dispose(!1,!0),setTimeout(c,10)):c());Blockly.Events.setGroup(!1)}if(!this.options.readOnly&&!this.isFlyout){var d=[],e=this.getTopBlocks(!0),f=Blockly.utils.genUid(),g=this,h={};h.text=Blockly.Msg.UNDO;h.enabled=0<this.undoStack_.length;h.callback=\nthis.undo.bind(this,!1);d.push(h);h={};h.text=Blockly.Msg.REDO;h.enabled=0<this.redoStack_.length;h.callback=this.undo.bind(this,!0);d.push(h);this.scrollbar&&(h={},h.text=Blockly.Msg.CLEAN_UP,h.enabled=1<e.length,h.callback=this.cleanUp.bind(this),d.push(h));if(this.options.collapse){for(var k=h=!1,n=0;n<e.length;n++)for(var p=e[n];p;)p.isCollapsed()?h=!0:k=!0,p=p.getNextBlock();var l=function(a){for(var b=0,c=0;c<e.length;c++)for(var d=e[c];d;)setTimeout(d.setCollapsed.bind(d,a),b),d=d.getNextBlock(),\nb+=10};k={enabled:k};k.text=Blockly.Msg.COLLAPSE_ALL;k.callback=function(){l(!0)};d.push(k);h={enabled:h};h.text=Blockly.Msg.EXPAND_ALL;h.callback=function(){l(!1)};d.push(h)}var m=[];for(n=0;n<e.length;n++)b(e[n]);h={text:1==m.length?Blockly.Msg.DELETE_BLOCK:Blockly.Msg.DELETE_X_BLOCKS.replace(\"%1\",String(m.length)),enabled:0<m.length,callback:function(){g.currentGesture_&&g.currentGesture_.cancel();2>m.length?c():Blockly.confirm(Blockly.Msg.DELETE_ALL_BLOCKS.replace(\"%1\",m.length),function(a){a&&\nc()})}};d.push(h);Blockly.ContextMenu.show(a,d,this.RTL)}};\nBlockly.WorkspaceSvg.prototype.updateToolbox=function(a){if(a=Blockly.Options.parseToolboxTree(a)){if(!this.options.languageTree)throw\"Existing toolbox is null.  Can't create new toolbox.\";if(a.getElementsByTagName(\"category\").length){if(!this.toolbox_)throw\"Existing toolbox has no categories.  Can't change mode.\";this.options.languageTree=a;this.toolbox_.populate_(a);this.toolbox_.addColour_()}else{if(!this.flyout_)throw\"Existing toolbox has categories.  Can't change mode.\";this.options.languageTree=\na;this.flyout_.show(a.childNodes)}}else if(this.options.languageTree)throw\"Can't nullify an existing toolbox.\";};Blockly.WorkspaceSvg.prototype.markFocused=function(){this.options.parentWorkspace?this.options.parentWorkspace.markFocused():(Blockly.mainWorkspace=this,this.setBrowserFocus())};Blockly.WorkspaceSvg.prototype.setBrowserFocus=function(){document.activeElement&&document.activeElement.blur();try{this.getParentSvg().focus()}catch(a){try{this.getParentSvg().parentNode.setActive()}catch(b){this.getParentSvg().parentNode.focus()}}};\nBlockly.WorkspaceSvg.prototype.zoom=function(a,b,c){var d=this.options.zoomOptions.scaleSpeed,e=this.getMetrics(),f=this.getParentSvg().createSVGPoint();f.x=a;f.y=b;f=f.matrixTransform(this.getCanvas().getCTM().inverse());a=f.x;b=f.y;f=this.getCanvas();d=Math.pow(d,c);c=this.scale*d;c>this.options.zoomOptions.maxScale?d=this.options.zoomOptions.maxScale/this.scale:c<this.options.zoomOptions.minScale&&(d=this.options.zoomOptions.minScale/this.scale);this.scale!=c&&(this.scrollbar&&(a=f.getCTM().translate(a*\n(1-d),b*(1-d)).scale(d),this.scrollX=a.e-e.absoluteLeft,this.scrollY=a.f-e.absoluteTop),this.setScale(c))};Blockly.WorkspaceSvg.prototype.zoomCenter=function(a){var b=this.getMetrics();this.zoom(b.viewWidth/2,b.viewHeight/2,a)};\nBlockly.WorkspaceSvg.prototype.zoomToFit=function(){var a=this.getMetrics(),b=this.getBlocksBoundingBox(),c=b.width;b=b.height;if(c){var d=a.viewWidth,e=a.viewHeight;this.flyout_&&(d-=this.flyout_.width_);this.scrollbar||(c+=a.contentLeft,b+=a.contentTop);this.setScale(Math.min(d/c,e/b));this.scrollCenter()}};\nBlockly.WorkspaceSvg.prototype.scrollCenter=function(){if(this.scrollbar){var a=this.getMetrics(),b=(a.contentWidth-a.viewWidth)/2;this.flyout_&&(b-=this.flyout_.width_/2);this.scrollbar.set(b,(a.contentHeight-a.viewHeight)/2)}};\nBlockly.WorkspaceSvg.prototype.setScale=function(a){this.options.zoomOptions.maxScale&&a>this.options.zoomOptions.maxScale?a=this.options.zoomOptions.maxScale:this.options.zoomOptions.minScale&&a<this.options.zoomOptions.minScale&&(a=this.options.zoomOptions.minScale);this.scale=a;this.grid_&&this.grid_.update(this.scale);this.scrollbar?this.scrollbar.resize():this.translate(this.scrollX,this.scrollY);Blockly.hideChaff(!1);this.flyout_&&this.flyout_.reflow()};\nBlockly.WorkspaceSvg.getDimensionsPx_=function(a){var b=0,c=0;a&&(b=a.getWidth(),c=a.getHeight());return{width:b,height:c}};Blockly.WorkspaceSvg.getContentDimensions_=function(a,b){return a.scrollbar?Blockly.WorkspaceSvg.getContentDimensionsBounded_(a,b):Blockly.WorkspaceSvg.getContentDimensionsExact_(a)};\nBlockly.WorkspaceSvg.getContentDimensionsExact_=function(a){var b=a.getBlocksBoundingBox(),c=a.scale;a=b.width*c;var d=b.height*c,e=b.x*c;b=b.y*c;return{left:e,top:b,right:e+a,bottom:b+d,width:a,height:d}};\nBlockly.WorkspaceSvg.getContentDimensionsBounded_=function(a,b){var c=Blockly.WorkspaceSvg.getContentDimensionsExact_(a),d=b.width,e=b.height,f=d/2,g=e/2,h=Math.min(c.left-f,c.right-d),k=Math.min(c.top-g,c.bottom-e);return{left:h,top:k,height:Math.max(c.bottom+g,c.top+e)-k,width:Math.max(c.right+f,c.left+d)-h}};\nBlockly.WorkspaceSvg.getTopLevelWorkspaceMetrics_=function(){var a=Blockly.WorkspaceSvg.getDimensionsPx_(this.toolbox_),b=Blockly.WorkspaceSvg.getDimensionsPx_(this.flyout_),c=Blockly.svgSize(this.getParentSvg());if(this.toolbox_)if(this.toolboxPosition==Blockly.TOOLBOX_AT_TOP||this.toolboxPosition==Blockly.TOOLBOX_AT_BOTTOM)c.height-=a.height;else if(this.toolboxPosition==Blockly.TOOLBOX_AT_LEFT||this.toolboxPosition==Blockly.TOOLBOX_AT_RIGHT)c.width-=a.width;var d=Blockly.WorkspaceSvg.getContentDimensions_(this,\nc),e=0;this.toolbox_&&this.toolboxPosition==Blockly.TOOLBOX_AT_LEFT&&(e=a.width);var f=0;this.toolbox_&&this.toolboxPosition==Blockly.TOOLBOX_AT_TOP&&(f=a.height);return{contentHeight:d.height,contentWidth:d.width,contentTop:d.top,contentLeft:d.left,viewHeight:c.height,viewWidth:c.width,viewTop:-this.scrollY,viewLeft:-this.scrollX,absoluteTop:f,absoluteLeft:e,toolboxWidth:a.width,toolboxHeight:a.height,flyoutWidth:b.width,flyoutHeight:b.height,toolboxPosition:this.toolboxPosition}};\nBlockly.WorkspaceSvg.setTopLevelWorkspaceMetrics_=function(a){if(!this.scrollbar)throw\"Attempt to set top level workspace scroll without scrollbars.\";var b=this.getMetrics();goog.isNumber(a.x)&&(this.scrollX=-b.contentWidth*a.x-b.contentLeft);goog.isNumber(a.y)&&(this.scrollY=-b.contentHeight*a.y-b.contentTop);a=this.scrollX+b.absoluteLeft;b=this.scrollY+b.absoluteTop;this.translate(a,b);this.grid_&&this.grid_.moveTo(a,b)};\nBlockly.WorkspaceSvg.prototype.setResizesEnabled=function(a){var b=!this.resizesEnabled_&&a;this.resizesEnabled_=a;b&&this.resizeContents()};Blockly.WorkspaceSvg.prototype.clear=function(){this.setResizesEnabled(!1);Blockly.WorkspaceSvg.superClass_.clear.call(this);this.setResizesEnabled(!0)};Blockly.WorkspaceSvg.prototype.registerButtonCallback=function(a,b){goog.asserts.assert(goog.isFunction(b),\"Button callbacks must be functions.\");this.flyoutButtonCallbacks_[a]=b};\nBlockly.WorkspaceSvg.prototype.getButtonCallback=function(a){return(a=this.flyoutButtonCallbacks_[a])?a:null};Blockly.WorkspaceSvg.prototype.removeButtonCallback=function(a){this.flyoutButtonCallbacks_[a]=null};Blockly.WorkspaceSvg.prototype.registerToolboxCategoryCallback=function(a,b){goog.asserts.assert(goog.isFunction(b),\"Toolbox category callbacks must be functions.\");this.toolboxCategoryCallbacks_[a]=b};\nBlockly.WorkspaceSvg.prototype.getToolboxCategoryCallback=function(a){return(a=this.toolboxCategoryCallbacks_[a])?a:null};Blockly.WorkspaceSvg.prototype.removeToolboxCategoryCallback=function(a){this.toolboxCategoryCallbacks_[a]=null};\nBlockly.WorkspaceSvg.prototype.getGesture=function(a){var b=\"mousedown\"==a.type||\"touchstart\"==a.type,c=this.currentGesture_;return c?b&&c.hasStarted()?(console.warn(\"tried to start the same gesture twice\"),c.cancel(),null):c:b?this.currentGesture_=new Blockly.Gesture(a,this):null};Blockly.WorkspaceSvg.prototype.clearGesture=function(){this.currentGesture_=null};Blockly.WorkspaceSvg.prototype.cancelCurrentGesture=function(){this.currentGesture_&&this.currentGesture_.cancel()};\nBlockly.WorkspaceSvg.prototype.getAudioManager=function(){return this.audioManager_};Blockly.WorkspaceSvg.prototype.getGrid=function(){return this.grid_};Blockly.WorkspaceSvg.prototype.setVisible=Blockly.WorkspaceSvg.prototype.setVisible;Blockly.Mutator=function(a){Blockly.Mutator.superClass_.constructor.call(this,null);this.quarkNames_=a};goog.inherits(Blockly.Mutator,Blockly.Icon);Blockly.Mutator.prototype.workspaceWidth_=0;Blockly.Mutator.prototype.workspaceHeight_=0;\nBlockly.Mutator.prototype.drawIcon_=function(a){Blockly.utils.createSvgElement(\"rect\",{\"class\":\"blocklyIconShape\",rx:\"4\",ry:\"4\",height:\"16\",width:\"16\"},a);Blockly.utils.createSvgElement(\"path\",{\"class\":\"blocklyIconSymbol\",d:\"m4.203,7.296 0,1.368 -0.92,0.677 -0.11,0.41 0.9,1.559 0.41,0.11 1.043,-0.457 1.187,0.683 0.127,1.134 0.3,0.3 1.8,0 0.3,-0.299 0.127,-1.138 1.185,-0.682 1.046,0.458 0.409,-0.11 0.9,-1.559 -0.11,-0.41 -0.92,-0.677 0,-1.366 0.92,-0.677 0.11,-0.41 -0.9,-1.559 -0.409,-0.109 -1.046,0.458 -1.185,-0.682 -0.127,-1.138 -0.3,-0.299 -1.8,0 -0.3,0.3 -0.126,1.135 -1.187,0.682 -1.043,-0.457 -0.41,0.11 -0.899,1.559 0.108,0.409z\"},a);\nBlockly.utils.createSvgElement(\"circle\",{\"class\":\"blocklyIconShape\",r:\"2.7\",cx:\"8\",cy:\"8\"},a)};Blockly.Mutator.prototype.iconClick_=function(a){this.block_.isEditable()&&Blockly.Icon.prototype.iconClick_.call(this,a)};\nBlockly.Mutator.prototype.createEditor_=function(){this.svgDialog_=Blockly.utils.createSvgElement(\"svg\",{x:Blockly.Bubble.BORDER_WIDTH,y:Blockly.Bubble.BORDER_WIDTH},null);if(this.quarkNames_.length)for(var a=goog.dom.createDom(\"xml\"),b=0,c;c=this.quarkNames_[b];b++)a.appendChild(goog.dom.createDom(\"block\",{type:c}));else a=null;a={languageTree:a,parentWorkspace:this.block_.workspace,pathToMedia:this.block_.workspace.options.pathToMedia,RTL:this.block_.RTL,toolboxPosition:this.block_.RTL?Blockly.TOOLBOX_AT_RIGHT:\nBlockly.TOOLBOX_AT_LEFT,horizontalLayout:!1,getMetrics:this.getFlyoutMetrics_.bind(this),setMetrics:null};this.workspace_=new Blockly.WorkspaceSvg(a);this.workspace_.isMutator=!0;a=this.workspace_.addFlyout_(\"g\");b=this.workspace_.createDom(\"blocklyMutatorBackground\");b.insertBefore(a,this.workspace_.svgBlockCanvas_);this.svgDialog_.appendChild(b);return this.svgDialog_};\nBlockly.Mutator.prototype.updateEditable=function(){this.block_.isInFlyout||(this.block_.isEditable()?this.iconGroup_&&Blockly.utils.removeClass(this.iconGroup_,\"blocklyIconGroupReadonly\"):(this.setVisible(!1),this.iconGroup_&&Blockly.utils.addClass(this.iconGroup_,\"blocklyIconGroupReadonly\")));Blockly.Icon.prototype.updateEditable.call(this)};\nBlockly.Mutator.prototype.resizeBubble_=function(){var a=2*Blockly.Bubble.BORDER_WIDTH,b=this.workspace_.getCanvas().getBBox();var c=this.block_.RTL?-b.x:b.width+b.x;b=b.height+3*a;if(this.workspace_.flyout_){var d=this.workspace_.flyout_.getMetrics_();b=Math.max(b,d.contentHeight+20)}c+=3*a;if(Math.abs(this.workspaceWidth_-c)>a||Math.abs(this.workspaceHeight_-b)>a)this.workspaceWidth_=c,this.workspaceHeight_=b,this.bubble_.setBubbleSize(c+a,b+a),this.svgDialog_.setAttribute(\"width\",this.workspaceWidth_),\nthis.svgDialog_.setAttribute(\"height\",this.workspaceHeight_);this.block_.RTL&&(a=\"translate(\"+this.workspaceWidth_+\",0)\",this.workspace_.getCanvas().setAttribute(\"transform\",a));this.workspace_.resize()};\nBlockly.Mutator.prototype.setVisible=function(a){if(a!=this.isVisible())if(Blockly.Events.fire(new Blockly.Events.Ui(this.block_,\"mutatorOpen\",!a,a)),a){this.bubble_=new Blockly.Bubble(this.block_.workspace,this.createEditor_(),this.block_.svgPath_,this.iconXY_,null,null);if(a=this.workspace_.options.languageTree)this.workspace_.flyout_.init(this.workspace_),this.workspace_.flyout_.show(a.childNodes);this.rootBlock_=this.block_.decompose(this.workspace_);a=this.rootBlock_.getDescendants();for(var b=\n0,c;c=a[b];b++)c.render();this.rootBlock_.setMovable(!1);this.rootBlock_.setDeletable(!1);this.workspace_.flyout_?(a=2*this.workspace_.flyout_.CORNER_RADIUS,b=this.workspace_.flyout_.width_+a):b=a=16;this.block_.RTL&&(b=-b);this.rootBlock_.moveBy(b,a);if(this.block_.saveConnections){var d=this;this.block_.saveConnections(this.rootBlock_);this.sourceListener_=function(){d.block_.saveConnections(d.rootBlock_)};this.block_.workspace.addChangeListener(this.sourceListener_)}this.resizeBubble_();this.workspace_.addChangeListener(this.workspaceChanged_.bind(this));\nthis.updateColour()}else this.svgDialog_=null,this.workspace_.dispose(),this.rootBlock_=this.workspace_=null,this.bubble_.dispose(),this.bubble_=null,this.workspaceHeight_=this.workspaceWidth_=0,this.sourceListener_&&(this.block_.workspace.removeChangeListener(this.sourceListener_),this.sourceListener_=null)};\nBlockly.Mutator.prototype.workspaceChanged_=function(){if(!this.workspace_.isDragging())for(var a=this.workspace_.getTopBlocks(!1),b=0,c;c=a[b];b++){var d=c.getRelativeToSurfaceXY(),e=c.getHeightWidth();20>d.y+e.height&&c.moveBy(0,20-e.height-d.y)}if(this.rootBlock_.workspace==this.workspace_){Blockly.Events.setGroup(!0);c=this.block_;a=(a=c.mutationToDom())&&Blockly.Xml.domToText(a);b=c.rendered;c.rendered=!1;c.compose(this.rootBlock_);c.rendered=b;c.initSvg();b=(b=c.mutationToDom())&&Blockly.Xml.domToText(b);\nif(a!=b){Blockly.Events.fire(new Blockly.Events.BlockChange(c,\"mutation\",null,a,b));var f=Blockly.Events.getGroup();setTimeout(function(){Blockly.Events.setGroup(f);c.bumpNeighbours_();Blockly.Events.setGroup(!1)},Blockly.BUMP_DELAY)}c.rendered&&c.render();this.workspace_.isDragging()||this.resizeBubble_();Blockly.Events.setGroup(!1)}};Blockly.Mutator.prototype.getFlyoutMetrics_=function(){return{viewHeight:this.workspaceHeight_,viewWidth:this.workspaceWidth_,absoluteTop:0,absoluteLeft:0}};\nBlockly.Mutator.prototype.dispose=function(){this.block_.mutator=null;Blockly.Icon.prototype.dispose.call(this)};Blockly.Mutator.reconnect=function(a,b,c){if(!a||!a.getSourceBlock().workspace)return!1;c=b.getInput(c).connection;var d=a.targetBlock();return d&&d!=b||c.targetConnection==a?!1:(c.isConnected()&&c.disconnect(),c.connect(a),!0)};goog.global.Blockly||(goog.global.Blockly={});goog.global.Blockly.Mutator||(goog.global.Blockly.Mutator={});goog.global.Blockly.Mutator.reconnect=Blockly.Mutator.reconnect;Blockly.Warning=function(a){Blockly.Warning.superClass_.constructor.call(this,a);this.createIcon();this.text_={}};goog.inherits(Blockly.Warning,Blockly.Icon);Blockly.Warning.prototype.collapseHidden=!1;\nBlockly.Warning.prototype.drawIcon_=function(a){Blockly.utils.createSvgElement(\"path\",{\"class\":\"blocklyIconShape\",d:\"M2,15Q-1,15 0.5,12L6.5,1.7Q8,-1 9.5,1.7L15.5,12Q17,15 14,15z\"},a);Blockly.utils.createSvgElement(\"path\",{\"class\":\"blocklyIconSymbol\",d:\"m7,4.8v3.16l0.27,2.27h1.46l0.27,-2.27v-3.16z\"},a);Blockly.utils.createSvgElement(\"rect\",{\"class\":\"blocklyIconSymbol\",x:\"7\",y:\"11\",height:\"2\",width:\"2\"},a)};\nBlockly.Warning.textToDom_=function(a){var b=Blockly.utils.createSvgElement(\"text\",{\"class\":\"blocklyText blocklyBubbleText\",y:Blockly.Bubble.BORDER_WIDTH},null);a=a.split(\"\\n\");for(var c=0;c<a.length;c++){var d=Blockly.utils.createSvgElement(\"tspan\",{dy:\"1em\",x:Blockly.Bubble.BORDER_WIDTH},b),e=document.createTextNode(a[c]);d.appendChild(e)}return b};\nBlockly.Warning.prototype.setVisible=function(a){if(a!=this.isVisible())if(Blockly.Events.fire(new Blockly.Events.Ui(this.block_,\"warningOpen\",!a,a)),a){a=Blockly.Warning.textToDom_(this.getText());this.bubble_=new Blockly.Bubble(this.block_.workspace,a,this.block_.svgPath_,this.iconXY_,null,null);if(this.block_.RTL)for(var b=a.getBBox().width,c=0,d;d=a.childNodes[c];c++)d.setAttribute(\"text-anchor\",\"end\"),d.setAttribute(\"x\",b+Blockly.Bubble.BORDER_WIDTH);this.updateColour();a=this.bubble_.getBubbleSize();\nthis.bubble_.setBubbleSize(a.width,a.height)}else this.bubble_.dispose(),this.body_=this.bubble_=null};Blockly.Warning.prototype.bodyFocus_=function(a){this.bubble_.promote_()};Blockly.Warning.prototype.setText=function(a,b){this.text_[b]!=a&&(a?this.text_[b]=a:delete this.text_[b],this.isVisible()&&(this.setVisible(!1),this.setVisible(!0)))};Blockly.Warning.prototype.getText=function(){var a=[],b;for(b in this.text_)a.push(this.text_[b]);return a.join(\"\\n\")};\nBlockly.Warning.prototype.dispose=function(){this.block_.warning=null;Blockly.Icon.prototype.dispose.call(this)};Blockly.Block=function(a,b,c){this.id=c&&!a.getBlockById(c)?c:Blockly.utils.genUid();a.blockDB_[this.id]=this;this.previousConnection=this.nextConnection=this.outputConnection=null;this.inputList=[];this.inputsInline=void 0;this.disabled=!1;this.tooltip=\"\";this.contextMenu=!0;this.parentBlock_=null;this.childBlocks_=[];this.editable_=this.movable_=this.deletable_=!0;this.collapsed_=this.isShadow_=!1;this.comment=null;this.xy_=new goog.math.Coordinate(0,0);this.workspace=a;this.isInFlyout=a.isFlyout;\nthis.isInMutator=a.isMutator;this.RTL=a.RTL;b&&(this.type=b,c=Blockly.Blocks[b],goog.asserts.assertObject(c,'Error: Unknown block type \"%s\".',b),goog.mixin(this,c));a.addTopBlock(this);goog.isFunction(this.init)&&this.init();this.inputsInlineDefault=this.inputsInline;Blockly.Events.isEnabled()&&Blockly.Events.fire(new Blockly.Events.BlockCreate(this));goog.isFunction(this.onchange)&&this.setOnChange(this.onchange)};\nBlockly.Block.obtain=function(a,b){console.warn(\"Deprecated call to Blockly.Block.obtain, use workspace.newBlock instead.\");return a.newBlock(b)};Blockly.Block.prototype.data=null;Blockly.Block.prototype.colour_=\"#000000\";Blockly.Block.prototype.hue_=null;\nBlockly.Block.prototype.dispose=function(a){if(this.workspace){this.onchangeWrapper_&&this.workspace.removeChangeListener(this.onchangeWrapper_);this.unplug(a);Blockly.Events.isEnabled()&&Blockly.Events.fire(new Blockly.Events.BlockDelete(this));Blockly.Events.disable();try{this.workspace&&(this.workspace.removeTopBlock(this),delete this.workspace.blockDB_[this.id],this.workspace=null);for(var b=this.childBlocks_.length-1;0<=b;b--)this.childBlocks_[b].dispose(!1);b=0;for(var c;c=this.inputList[b];b++)c.dispose();\nthis.inputList.length=0;var d=this.getConnections_(!0);for(b=0;b<d.length;b++){var e=d[b];e.isConnected()&&e.disconnect();d[b].dispose()}}finally{Blockly.Events.enable()}}};\nBlockly.Block.prototype.unplug=function(a){if(this.outputConnection)this.outputConnection.isConnected()&&this.outputConnection.disconnect();else if(this.previousConnection){var b=null;this.previousConnection.isConnected()&&(b=this.previousConnection.targetConnection,this.previousConnection.disconnect());var c=this.getNextBlock();a&&c&&(a=this.nextConnection.targetConnection,a.disconnect(),b&&b.checkType_(a)&&b.connect(a))}};\nBlockly.Block.prototype.getConnections_=function(){var a=[];this.outputConnection&&a.push(this.outputConnection);this.previousConnection&&a.push(this.previousConnection);this.nextConnection&&a.push(this.nextConnection);for(var b=0,c;c=this.inputList[b];b++)c.connection&&a.push(c.connection);return a};Blockly.Block.prototype.lastConnectionInStack_=function(){for(var a=this.nextConnection;a;){var b=a.targetBlock();if(!b)return a;a=b.nextConnection}return null};\nBlockly.Block.prototype.bumpNeighbours_=function(){console.warn(\"Not expected to reach this bumpNeighbours_ function. The BlockSvg function for bumpNeighbours_ was expected to be called instead.\")};Blockly.Block.prototype.getParent=function(){return this.parentBlock_};Blockly.Block.prototype.getInputWithBlock=function(a){for(var b=0,c;c=this.inputList[b];b++)if(c.connection&&c.connection.targetBlock()==a)return c;return null};\nBlockly.Block.prototype.getSurroundParent=function(){var a=this;do{var b=a;a=a.getParent();if(!a)return null}while(a.getNextBlock()==b);return a};Blockly.Block.prototype.getNextBlock=function(){return this.nextConnection&&this.nextConnection.targetBlock()};Blockly.Block.prototype.getRootBlock=function(){var a=this;do{var b=a;a=b.parentBlock_}while(a);return b};Blockly.Block.prototype.getChildren=function(){return this.childBlocks_};\nBlockly.Block.prototype.setParent=function(a){if(a!=this.parentBlock_){if(this.parentBlock_){goog.array.remove(this.parentBlock_.childBlocks_,this);if(this.previousConnection&&this.previousConnection.isConnected())throw\"Still connected to previous block.\";if(this.outputConnection&&this.outputConnection.isConnected())throw\"Still connected to parent block.\";this.parentBlock_=null}else this.workspace.removeTopBlock(this);(this.parentBlock_=a)?a.childBlocks_.push(this):this.workspace.addTopBlock(this)}};\nBlockly.Block.prototype.getDescendants=function(){for(var a=[this],b,c=0;b=this.childBlocks_[c];c++)a.push.apply(a,b.getDescendants());return a};Blockly.Block.prototype.isDeletable=function(){return this.deletable_&&!this.isShadow_&&!(this.workspace&&this.workspace.options.readOnly)};Blockly.Block.prototype.setDeletable=function(a){this.deletable_=a};Blockly.Block.prototype.isMovable=function(){return this.movable_&&!this.isShadow_&&!(this.workspace&&this.workspace.options.readOnly)};\nBlockly.Block.prototype.setMovable=function(a){this.movable_=a};Blockly.Block.prototype.isShadow=function(){return this.isShadow_};Blockly.Block.prototype.setShadow=function(a){this.isShadow_=a};Blockly.Block.prototype.isEditable=function(){return this.editable_&&!(this.workspace&&this.workspace.options.readOnly)};Blockly.Block.prototype.setEditable=function(a){this.editable_=a;a=0;for(var b;b=this.inputList[a];a++)for(var c=0,d;d=b.fieldRow[c];c++)d.updateEditable()};\nBlockly.Block.prototype.setConnectionsHidden=function(a){if(!a&&this.isCollapsed()){if(this.outputConnection&&this.outputConnection.setHidden(a),this.previousConnection&&this.previousConnection.setHidden(a),this.nextConnection){this.nextConnection.setHidden(a);var b=this.nextConnection.targetBlock();b&&b.setConnectionsHidden(a)}}else for(var c=this.getConnections_(!0),d=0;b=c[d];d++)b.setHidden(a),b.isSuperior()&&(b=b.targetBlock())&&b.setConnectionsHidden(a)};\nBlockly.Block.prototype.setHelpUrl=function(a){this.helpUrl=a};Blockly.Block.prototype.setTooltip=function(a){this.tooltip=a};Blockly.Block.prototype.getColour=function(){return this.colour_};Blockly.Block.prototype.getHue=function(){return this.hue_};\nBlockly.Block.prototype.setColour=function(a){var b=Number(a);if(!isNaN(b)&&0<=b&&360>=b)this.hue_=b,this.colour_=Blockly.hueToRgb(b);else if(goog.isString(a)&&a.match(/^#[0-9a-fA-F]{6}$/))this.colour_=a,this.hue_=null;else throw\"Invalid colour: \"+a;};\nBlockly.Block.prototype.setOnChange=function(a){if(a&&!goog.isFunction(a))throw Error(\"onchange must be a function.\");this.onchangeWrapper_&&this.workspace.removeChangeListener(this.onchangeWrapper_);if(this.onchange=a)this.onchangeWrapper_=a.bind(this),this.workspace.addChangeListener(this.onchangeWrapper_)};Blockly.Block.prototype.getField=function(a){for(var b=0,c;c=this.inputList[b];b++)for(var d=0,e;e=c.fieldRow[d];d++)if(e.name===a)return e;return null};\nBlockly.Block.prototype.getVars=function(){for(var a=[],b=0,c;c=this.inputList[b];b++)for(var d=0,e;e=c.fieldRow[d];d++)e instanceof Blockly.FieldVariable&&a.push(e.getValue());return a};Blockly.Block.prototype.renameVar=function(a,b){for(var c=0,d;d=this.inputList[c];c++)for(var e=0,f;f=d.fieldRow[e];e++)f instanceof Blockly.FieldVariable&&Blockly.Names.equals(a,f.getValue())&&f.setValue(b)};Blockly.Block.prototype.getFieldValue=function(a){return(a=this.getField(a))?a.getValue():null};\nBlockly.Block.prototype.setFieldValue=function(a,b){var c=this.getField(b);goog.asserts.assertObject(c,'Field \"%s\" not found.',b);c.setValue(a)};\nBlockly.Block.prototype.setPreviousStatement=function(a,b){a?(void 0===b&&(b=null),this.previousConnection||(goog.asserts.assert(!this.outputConnection,\"Remove output connection prior to adding previous connection.\"),this.previousConnection=this.makeConnection_(Blockly.PREVIOUS_STATEMENT)),this.previousConnection.setCheck(b)):this.previousConnection&&(goog.asserts.assert(!this.previousConnection.isConnected(),\"Must disconnect previous statement before removing connection.\"),this.previousConnection.dispose(),\nthis.previousConnection=null)};Blockly.Block.prototype.setNextStatement=function(a,b){a?(void 0===b&&(b=null),this.nextConnection||(this.nextConnection=this.makeConnection_(Blockly.NEXT_STATEMENT)),this.nextConnection.setCheck(b)):this.nextConnection&&(goog.asserts.assert(!this.nextConnection.isConnected(),\"Must disconnect next statement before removing connection.\"),this.nextConnection.dispose(),this.nextConnection=null)};\nBlockly.Block.prototype.setOutput=function(a,b){a?(void 0===b&&(b=null),this.outputConnection||(goog.asserts.assert(!this.previousConnection,\"Remove previous connection prior to adding output connection.\"),this.outputConnection=this.makeConnection_(Blockly.OUTPUT_VALUE)),this.outputConnection.setCheck(b)):this.outputConnection&&(goog.asserts.assert(!this.outputConnection.isConnected(),\"Must disconnect output value before removing connection.\"),this.outputConnection.dispose(),this.outputConnection=\nnull)};Blockly.Block.prototype.setInputsInline=function(a){this.inputsInline!=a&&(Blockly.Events.fire(new Blockly.Events.BlockChange(this,\"inline\",null,this.inputsInline,a)),this.inputsInline=a)};\nBlockly.Block.prototype.getInputsInline=function(){if(void 0!=this.inputsInline)return this.inputsInline;for(var a=1;a<this.inputList.length;a++)if(this.inputList[a-1].type==Blockly.DUMMY_INPUT&&this.inputList[a].type==Blockly.DUMMY_INPUT)return!1;for(a=1;a<this.inputList.length;a++)if(this.inputList[a-1].type==Blockly.INPUT_VALUE&&this.inputList[a].type==Blockly.DUMMY_INPUT)return!0;return!1};\nBlockly.Block.prototype.setDisabled=function(a){this.disabled!=a&&(Blockly.Events.fire(new Blockly.Events.BlockChange(this,\"disabled\",null,this.disabled,a)),this.disabled=a)};Blockly.Block.prototype.getInheritedDisabled=function(){for(var a=this.getSurroundParent();a;){if(a.disabled)return!0;a=a.getSurroundParent()}return!1};Blockly.Block.prototype.isCollapsed=function(){return this.collapsed_};\nBlockly.Block.prototype.setCollapsed=function(a){this.collapsed_!=a&&(Blockly.Events.fire(new Blockly.Events.BlockChange(this,\"collapsed\",null,this.collapsed_,a)),this.collapsed_=a)};\nBlockly.Block.prototype.toString=function(a,b){var c=[],d=b||\"?\";if(this.collapsed_)c.push(this.getInput(\"_TEMP_COLLAPSED_INPUT\").fieldRow[0].text_);else for(var e=0,f;f=this.inputList[e];e++){for(var g=0,h;h=f.fieldRow[g];g++)h instanceof Blockly.FieldDropdown&&!h.getValue()?c.push(d):c.push(h.getText());f.connection&&((f=f.connection.targetBlock())?c.push(f.toString(void 0,b)):c.push(d))}c=goog.string.trim(c.join(\" \"))||\"???\";a&&(c=goog.string.truncate(c,a));return c};\nBlockly.Block.prototype.appendValueInput=function(a){return this.appendInput_(Blockly.INPUT_VALUE,a)};Blockly.Block.prototype.appendStatementInput=function(a){return this.appendInput_(Blockly.NEXT_STATEMENT,a)};Blockly.Block.prototype.appendDummyInput=function(a){return this.appendInput_(Blockly.DUMMY_INPUT,a||\"\")};\nBlockly.Block.prototype.jsonInit=function(a){goog.asserts.assert(void 0==a.output||void 0==a.previousStatement,\"Must not have both an output and a previousStatement.\");if(void 0!==a.colour){var b=a.colour;b=goog.isString(b)?Blockly.utils.replaceMessageReferences(b):b;this.setColour(b)}for(b=0;void 0!==a[\"message\"+b];)this.interpolate_(a[\"message\"+b],a[\"args\"+b]||[],a[\"lastDummyAlign\"+b]),b++;void 0!==a.inputsInline&&this.setInputsInline(a.inputsInline);void 0!==a.output&&this.setOutput(!0,a.output);\nvoid 0!==a.previousStatement&&this.setPreviousStatement(!0,a.previousStatement);void 0!==a.nextStatement&&this.setNextStatement(!0,a.nextStatement);void 0!==a.tooltip&&(b=a.tooltip,b=Blockly.utils.replaceMessageReferences(b),this.setTooltip(b));void 0!==a.enableContextMenu&&(b=a.enableContextMenu,this.contextMenu=!!b);void 0!==a.helpUrl&&(b=a.helpUrl,b=Blockly.utils.replaceMessageReferences(b),this.setHelpUrl(b));goog.isString(a.extensions)&&(console.warn(\"JSON attribute 'extensions' should be an array of strings. Found raw string in JSON for '\"+\na.type+\"' block.\"),a.extensions=[a.extensions]);void 0!==a.mutator&&Blockly.Extensions.apply(a.mutator,this,!0);if(Array.isArray(a.extensions))for(a=a.extensions,b=0;b<a.length;++b)Blockly.Extensions.apply(a[b],this,!1)};\nBlockly.Block.prototype.mixin=function(a,b){if(goog.isDef(b)&&!goog.isBoolean(b))throw Error(\"opt_disableCheck must be a boolean if provided\");if(!b){var c=[],d;for(d in a)void 0!==this[d]&&c.push(d);if(c.length)throw Error(\"Mixin will overwrite block members: \"+JSON.stringify(c));}goog.mixin(this,a)};\nBlockly.Block.prototype.interpolate_=function(a,b,c){var d=Blockly.utils.tokenizeInterpolation(a),e=[],f=0;a=[];for(var g=0;g<d.length;g++){var h=d[g];if(\"number\"==typeof h){if(0>=h||h>b.length)throw Error('Block \"'+this.type+'\": Message index %'+h+\" out of range.\");if(e[h])throw Error('Block \"'+this.type+'\": Message index %'+h+\" duplicated.\");e[h]=!0;f++;a.push(b[h-1])}else(h=h.trim())&&a.push(h)}if(f!=b.length)throw Error('Block \"'+this.type+'\": Message does not reference all '+b.length+\" arg(s).\");\na.length&&(\"string\"==typeof a[a.length-1]||goog.string.startsWith(a[a.length-1].type,\"field_\"))&&(g={type:\"input_dummy\"},c&&(g.align=c),a.push(g));c={LEFT:Blockly.ALIGN_LEFT,RIGHT:Blockly.ALIGN_RIGHT,CENTRE:Blockly.ALIGN_CENTRE};b=[];for(g=0;g<a.length;g++)if(e=a[g],\"string\"==typeof e)b.push([e,void 0]);else{d=f=null;do if(h=!1,\"string\"==typeof e)f=new Blockly.FieldLabel(e);else switch(e.type){case \"input_value\":d=this.appendValueInput(e.name);break;case \"input_statement\":d=this.appendStatementInput(e.name);\nbreak;case \"input_dummy\":d=this.appendDummyInput(e.name);break;case \"field_label\":f=Blockly.Block.newFieldLabelFromJson_(e);break;case \"field_input\":f=Blockly.Block.newFieldTextInputFromJson_(e);break;case \"field_angle\":f=new Blockly.FieldAngle(e.angle);break;case \"field_checkbox\":f=new Blockly.FieldCheckbox(e.checked?\"TRUE\":\"FALSE\");break;case \"field_colour\":f=new Blockly.FieldColour(e.colour);break;case \"field_variable\":f=Blockly.Block.newFieldVariableFromJson_(e);break;case \"field_dropdown\":f=\nnew Blockly.FieldDropdown(e.options);break;case \"field_image\":f=Blockly.Block.newFieldImageFromJson_(e);break;case \"field_number\":f=new Blockly.FieldNumber(e.value,e.min,e.max,e.precision);break;case \"field_date\":if(Blockly.FieldDate){f=new Blockly.FieldDate(e.date);break}default:e.alt&&(e=e.alt,h=!0)}while(h);if(f)b.push([f,e.name]);else if(d){e.check&&d.setCheck(e.check);e.align&&d.setAlign(c[e.align]);for(e=0;e<b.length;e++)d.appendField(b[e][0],b[e][1]);b.length=0}}};\nBlockly.Block.newFieldImageFromJson_=function(a){var b=Blockly.utils.replaceMessageReferences(a.src),c=Number(Blockly.utils.replaceMessageReferences(a.width)),d=Number(Blockly.utils.replaceMessageReferences(a.height));a=Blockly.utils.replaceMessageReferences(a.alt);return new Blockly.FieldImage(b,c,d,a)};Blockly.Block.newFieldLabelFromJson_=function(a){var b=Blockly.utils.replaceMessageReferences(a.text);return new Blockly.FieldLabel(b,a[\"class\"])};\nBlockly.Block.newFieldTextInputFromJson_=function(a){var b=Blockly.utils.replaceMessageReferences(a.text);b=new Blockly.FieldTextInput(b,a[\"class\"]);\"boolean\"==typeof a.spellcheck&&b.setSpellcheck(a.spellcheck);return b};Blockly.Block.newFieldVariableFromJson_=function(a){var b=Blockly.utils.replaceMessageReferences(a.variable);return new Blockly.FieldVariable(b,null,a.variableTypes)};\nBlockly.Block.prototype.appendInput_=function(a,b){var c=null;if(a==Blockly.INPUT_VALUE||a==Blockly.NEXT_STATEMENT)c=this.makeConnection_(a);c=new Blockly.Input(a,b,this,c);this.inputList.push(c);return c};\nBlockly.Block.prototype.moveInputBefore=function(a,b){if(a!=b){for(var c=-1,d=b?-1:this.inputList.length,e=0,f;f=this.inputList[e];e++)if(f.name==a){if(c=e,-1!=d)break}else if(b&&f.name==b&&(d=e,-1!=c))break;goog.asserts.assert(-1!=c,'Named input \"%s\" not found.',a);goog.asserts.assert(-1!=d,'Reference input \"%s\" not found.',b);this.moveNumberedInputBefore(c,d)}};\nBlockly.Block.prototype.moveNumberedInputBefore=function(a,b){goog.asserts.assert(a!=b,\"Can't move input to itself.\");goog.asserts.assert(a<this.inputList.length,\"Input index \"+a+\" out of bounds.\");goog.asserts.assert(b<=this.inputList.length,\"Reference input \"+b+\" out of bounds.\");var c=this.inputList[a];this.inputList.splice(a,1);a<b&&b--;this.inputList.splice(b,0,c)};\nBlockly.Block.prototype.removeInput=function(a,b){for(var c=0,d;d=this.inputList[c];c++)if(d.name==a){if(d.connection&&d.connection.isConnected()){d.connection.setShadowDom(null);var e=d.connection.targetBlock();e.isShadow()?e.dispose():e.unplug()}d.dispose();this.inputList.splice(c,1);return}b||goog.asserts.fail('Input \"%s\" not found.',a)};Blockly.Block.prototype.getInput=function(a){for(var b=0,c;c=this.inputList[b];b++)if(c.name==a)return c;return null};\nBlockly.Block.prototype.getInputTargetBlock=function(a){return(a=this.getInput(a))&&a.connection&&a.connection.targetBlock()};Blockly.Block.prototype.getCommentText=function(){return this.comment||\"\"};Blockly.Block.prototype.setCommentText=function(a){this.comment!=a&&(Blockly.Events.fire(new Blockly.Events.BlockChange(this,\"comment\",null,this.comment,a||\"\")),this.comment=a)};Blockly.Block.prototype.setWarningText=function(){};Blockly.Block.prototype.setMutator=function(){};\nBlockly.Block.prototype.getRelativeToSurfaceXY=function(){return this.xy_};Blockly.Block.prototype.moveBy=function(a,b){goog.asserts.assert(!this.parentBlock_,\"Block has parent.\");var c=new Blockly.Events.BlockMove(this);this.xy_.translate(a,b);c.recordNew();Blockly.Events.fire(c)};Blockly.Block.prototype.makeConnection_=function(a){return new Blockly.Connection(this,a)};\nBlockly.Block.prototype.allInputsFilled=function(a){void 0===a&&(a=!0);if(!a&&this.isShadow())return!1;for(var b=0,c;c=this.inputList[b];b++)if(c.connection&&(c=c.connection.targetBlock(),!c||!c.allInputsFilled(a)))return!1;return(b=this.getNextBlock())?b.allInputsFilled(a):!0};Blockly.Block.prototype.toDevString=function(){var a=this.type?'\"'+this.type+'\" block':\"Block\";this.id&&(a+=' (id=\"'+this.id+'\")');return a};Blockly.BlockDragSurfaceSvg=function(a){this.container_=a;this.createDom()};Blockly.BlockDragSurfaceSvg.prototype.SVG_=null;Blockly.BlockDragSurfaceSvg.prototype.dragGroup_=null;Blockly.BlockDragSurfaceSvg.prototype.container_=null;Blockly.BlockDragSurfaceSvg.prototype.scale_=1;Blockly.BlockDragSurfaceSvg.prototype.surfaceXY_=null;\nBlockly.BlockDragSurfaceSvg.prototype.createDom=function(){this.SVG_||(this.SVG_=Blockly.utils.createSvgElement(\"svg\",{xmlns:Blockly.SVG_NS,\"xmlns:html\":Blockly.HTML_NS,\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",version:\"1.1\",\"class\":\"blocklyBlockDragSurface\"},this.container_),this.dragGroup_=Blockly.utils.createSvgElement(\"g\",{},this.SVG_))};\nBlockly.BlockDragSurfaceSvg.prototype.setBlocksAndShow=function(a){goog.asserts.assert(0==this.dragGroup_.childNodes.length,\"Already dragging a block.\");this.dragGroup_.appendChild(a);this.SVG_.style.display=\"block\";this.surfaceXY_=new goog.math.Coordinate(0,0)};Blockly.BlockDragSurfaceSvg.prototype.translateAndScaleGroup=function(a,b,c){this.scale_=c;a=a.toFixed(0);b=b.toFixed(0);this.dragGroup_.setAttribute(\"transform\",\"translate(\"+a+\",\"+b+\") scale(\"+c+\")\")};\nBlockly.BlockDragSurfaceSvg.prototype.translateSurfaceInternal_=function(){var a=this.surfaceXY_.x,b=this.surfaceXY_.y;a=a.toFixed(0);b=b.toFixed(0);this.SVG_.style.display=\"block\";Blockly.utils.setCssTransform(this.SVG_,\"translate3d(\"+a+\"px, \"+b+\"px, 0px)\")};Blockly.BlockDragSurfaceSvg.prototype.translateSurface=function(a,b){this.surfaceXY_=new goog.math.Coordinate(a*this.scale_,b*this.scale_);this.translateSurfaceInternal_()};\nBlockly.BlockDragSurfaceSvg.prototype.getSurfaceTranslation=function(){var a=Blockly.utils.getRelativeXY(this.SVG_);return new goog.math.Coordinate(a.x/this.scale_,a.y/this.scale_)};Blockly.BlockDragSurfaceSvg.prototype.getGroup=function(){return this.dragGroup_};Blockly.BlockDragSurfaceSvg.prototype.getCurrentBlock=function(){return this.dragGroup_.firstChild};\nBlockly.BlockDragSurfaceSvg.prototype.clearAndHide=function(a){a?a.appendChild(this.getCurrentBlock()):this.dragGroup_.removeChild(this.getCurrentBlock());this.SVG_.style.display=\"none\";goog.asserts.assert(0==this.dragGroup_.childNodes.length,\"Drag group was not cleared.\");this.surfaceXY_=null};Blockly.utils.uiMenu={};Blockly.utils.uiMenu.getSize=function(a){a=a.getElement();var b=goog.style.getSize(a);b.height=a.scrollHeight;return b};Blockly.utils.uiMenu.adjustBBoxesForRTL=function(a,b,c){b.left+=c.width;b.right+=c.width;a.left+=c.width;a.right+=c.width};Blockly.ContextMenu={};Blockly.ContextMenu.currentBlock=null;Blockly.ContextMenu.eventWrapper_=null;Blockly.ContextMenu.show=function(a,b,c){Blockly.WidgetDiv.show(Blockly.ContextMenu,c,null);if(b.length){var d=Blockly.ContextMenu.populate_(b,c);goog.events.listen(d,goog.ui.Component.EventType.ACTION,Blockly.ContextMenu.hide);Blockly.ContextMenu.position_(d,a,c);setTimeout(function(){d.getElement().focus()},1);Blockly.ContextMenu.currentBlock=null}else Blockly.ContextMenu.hide()};\nBlockly.ContextMenu.populate_=function(a,b){var c=new goog.ui.Menu;c.setRightToLeft(b);for(var d=0,e;e=a[d];d++){var f=new goog.ui.MenuItem(e.text);f.setRightToLeft(b);c.addChild(f,!0);f.setEnabled(e.enabled);e.enabled&&(goog.events.listen(f,goog.ui.Component.EventType.ACTION,e.callback),f.handleContextMenu=function(){goog.events.dispatchEvent(this,goog.ui.Component.EventType.ACTION)})}return c};\nBlockly.ContextMenu.position_=function(a,b,c){var d=Blockly.utils.getViewportBBox();b={top:b.clientY+d.top,bottom:b.clientY+d.top,left:b.clientX+d.left,right:b.clientX+d.left};Blockly.ContextMenu.createWidget_(a);var e=Blockly.utils.uiMenu.getSize(a);c&&Blockly.utils.uiMenu.adjustBBoxesForRTL(d,b,e);Blockly.WidgetDiv.positionWithAnchor(d,b,e,c);a.getElement().focus()};\nBlockly.ContextMenu.createWidget_=function(a){a.render(Blockly.WidgetDiv.DIV);var b=a.getElement();Blockly.utils.addClass(b,\"blocklyContextMenu\");Blockly.bindEventWithChecks_(b,\"contextmenu\",null,Blockly.utils.noEvent);a.setAllowAutoFocus(!0)};Blockly.ContextMenu.hide=function(){Blockly.WidgetDiv.hideIfOwner(Blockly.ContextMenu);Blockly.ContextMenu.currentBlock=null;Blockly.ContextMenu.eventWrapper_&&Blockly.unbindEvent_(Blockly.ContextMenu.eventWrapper_)};\nBlockly.ContextMenu.callbackFactory=function(a,b){return function(){Blockly.Events.disable();try{var c=Blockly.Xml.domToBlock(b,a.workspace),d=a.getRelativeToSurfaceXY();d.x=a.RTL?d.x-Blockly.SNAP_RADIUS:d.x+Blockly.SNAP_RADIUS;d.y+=2*Blockly.SNAP_RADIUS;c.moveBy(d.x,d.y)}finally{Blockly.Events.enable()}Blockly.Events.isEnabled()&&!c.isShadow()&&Blockly.Events.fire(new Blockly.Events.BlockCreate(c));c.select()}};Blockly.BlockSvg=function(a,b,c){this.svgGroup_=Blockly.utils.createSvgElement(\"g\",{},null);this.svgGroup_.translate_=\"\";this.svgPathDark_=Blockly.utils.createSvgElement(\"path\",{\"class\":\"blocklyPathDark\",transform:\"translate(1,1)\"},this.svgGroup_);this.svgPath_=Blockly.utils.createSvgElement(\"path\",{\"class\":\"blocklyPath\"},this.svgGroup_);this.svgPathLight_=Blockly.utils.createSvgElement(\"path\",{\"class\":\"blocklyPathLight\"},this.svgGroup_);this.svgPath_.tooltip=this;this.rendered=!1;this.useDragSurface_=\nBlockly.utils.is3dSupported()&&!!a.blockDragSurface_;Blockly.Tooltip.bindMouseEvents(this.svgPath_);Blockly.BlockSvg.superClass_.constructor.call(this,a,b,c)};goog.inherits(Blockly.BlockSvg,Blockly.Block);Blockly.BlockSvg.prototype.height=0;Blockly.BlockSvg.prototype.width=0;Blockly.BlockSvg.prototype.dragStartXY_=null;Blockly.BlockSvg.INLINE=-1;\nBlockly.BlockSvg.prototype.initSvg=function(){goog.asserts.assert(this.workspace.rendered,\"Workspace is headless.\");for(var a=0,b;b=this.inputList[a];a++)b.init();b=this.getIcons();for(a=0;a<b.length;a++)b[a].createIcon();this.updateColour();this.updateMovable();this.workspace.options.readOnly||this.eventsInit_||Blockly.bindEventWithChecks_(this.getSvgRoot(),\"mousedown\",this,this.onMouseDown_);this.eventsInit_=!0;this.getSvgRoot().parentNode||this.workspace.getCanvas().appendChild(this.getSvgRoot())};\nBlockly.BlockSvg.prototype.select=function(){if(this.isShadow()&&this.getParent())this.getParent().select();else if(Blockly.selected!=this){var a=null;if(Blockly.selected){a=Blockly.selected.id;Blockly.Events.disable();try{Blockly.selected.unselect()}finally{Blockly.Events.enable()}}a=new Blockly.Events.Ui(null,\"selected\",a,this.id);a.workspaceId=this.workspace.id;Blockly.Events.fire(a);Blockly.selected=this;this.addSelect()}};\nBlockly.BlockSvg.prototype.unselect=function(){if(Blockly.selected==this){var a=new Blockly.Events.Ui(null,\"selected\",this.id,null);a.workspaceId=this.workspace.id;Blockly.Events.fire(a);Blockly.selected=null;this.removeSelect()}};Blockly.BlockSvg.prototype.mutator=null;Blockly.BlockSvg.prototype.comment=null;Blockly.BlockSvg.prototype.warning=null;\nBlockly.BlockSvg.prototype.getIcons=function(){var a=[];this.mutator&&a.push(this.mutator);this.comment&&a.push(this.comment);this.warning&&a.push(this.warning);return a};\nBlockly.BlockSvg.prototype.setParent=function(a){if(a!=this.parentBlock_){var b=this.getSvgRoot();if(this.parentBlock_&&b){var c=this.getRelativeToSurfaceXY();this.workspace.getCanvas().appendChild(b);b.setAttribute(\"transform\",\"translate(\"+c.x+\",\"+c.y+\")\")}Blockly.Field.startCache();Blockly.BlockSvg.superClass_.setParent.call(this,a);Blockly.Field.stopCache();a&&(c=this.getRelativeToSurfaceXY(),a.getSvgRoot().appendChild(b),a=this.getRelativeToSurfaceXY(),this.moveConnections_(a.x-c.x,a.y-c.y))}};\nBlockly.BlockSvg.prototype.getRelativeToSurfaceXY=function(){var a=0,b=0,c=this.useDragSurface_?this.workspace.blockDragSurface_.getGroup():null,d=this.getSvgRoot();if(d){do{var e=Blockly.utils.getRelativeXY(d);a+=e.x;b+=e.y;this.useDragSurface_&&this.workspace.blockDragSurface_.getCurrentBlock()==d&&(e=this.workspace.blockDragSurface_.getSurfaceTranslation(),a+=e.x,b+=e.y);d=d.parentNode}while(d&&d!=this.workspace.getCanvas()&&d!=c)}return new goog.math.Coordinate(a,b)};\nBlockly.BlockSvg.prototype.moveBy=function(a,b){goog.asserts.assert(!this.parentBlock_,\"Block has parent.\");var c=new Blockly.Events.BlockMove(this),d=this.getRelativeToSurfaceXY();this.translate(d.x+a,d.y+b);this.moveConnections_(a,b);c.recordNew();this.workspace.resizeContents();Blockly.Events.fire(c)};Blockly.BlockSvg.prototype.translate=function(a,b){this.getSvgRoot().setAttribute(\"transform\",\"translate(\"+a+\",\"+b+\")\")};\nBlockly.BlockSvg.prototype.moveToDragSurface_=function(){if(this.useDragSurface_){var a=this.getRelativeToSurfaceXY();this.clearTransformAttributes_();this.workspace.blockDragSurface_.translateSurface(a.x,a.y);this.workspace.blockDragSurface_.setBlocksAndShow(this.getSvgRoot())}};Blockly.BlockSvg.prototype.moveOffDragSurface_=function(a){this.useDragSurface_&&(this.translate(a.x,a.y),this.workspace.blockDragSurface_.clearAndHide(this.workspace.getCanvas()))};\nBlockly.BlockSvg.prototype.moveDuringDrag=function(a){this.useDragSurface_?this.workspace.blockDragSurface_.translateSurface(a.x,a.y):(this.svgGroup_.translate_=\"translate(\"+a.x+\",\"+a.y+\")\",this.svgGroup_.setAttribute(\"transform\",this.svgGroup_.translate_+this.svgGroup_.skew_))};Blockly.BlockSvg.prototype.clearTransformAttributes_=function(){Blockly.utils.removeAttribute(this.getSvgRoot(),\"transform\")};\nBlockly.BlockSvg.prototype.snapToGrid=function(){if(this.workspace&&!this.workspace.isDragging()&&!this.getParent()&&!this.isInFlyout){var a=this.workspace.getGrid();if(a&&a.shouldSnap()){var b=a.getSpacing(),c=b/2,d=this.getRelativeToSurfaceXY();a=Math.round((d.x-c)/b)*b+c-d.x;b=Math.round((d.y-c)/b)*b+c-d.y;a=Math.round(a);b=Math.round(b);0==a&&0==b||this.moveBy(a,b)}}};\nBlockly.BlockSvg.prototype.getBoundingRectangle=function(){var a=this.getRelativeToSurfaceXY(this),b=this.outputConnection?Blockly.BlockSvg.TAB_WIDTH:0,c=this.getHeightWidth();if(this.RTL){var d=new goog.math.Coordinate(a.x-(c.width-b),a.y);a=new goog.math.Coordinate(a.x+b,a.y+c.height)}else d=new goog.math.Coordinate(a.x-b,a.y),a=new goog.math.Coordinate(a.x+c.width-b,a.y+c.height);return{topLeft:d,bottomRight:a}};\nBlockly.BlockSvg.prototype.setCollapsed=function(a){if(this.collapsed_!=a){for(var b=[],c=0,d;d=this.inputList[c];c++)b.push.apply(b,d.setVisible(!a));if(a){d=this.getIcons();for(c=0;c<d.length;c++)d[c].setVisible(!1);c=this.toString(Blockly.COLLAPSE_CHARS);this.appendDummyInput(\"_TEMP_COLLAPSED_INPUT\").appendField(c).init()}else this.removeInput(\"_TEMP_COLLAPSED_INPUT\"),this.setWarningText(null);Blockly.BlockSvg.superClass_.setCollapsed.call(this,a);b.length||(b[0]=this);if(this.rendered)for(c=0;a=\nb[c];c++)a.render()}};Blockly.BlockSvg.prototype.tab=function(a,b){var c=this.createTabList_(),d=c.indexOf(a);-1==d&&(d=b?-1:c.length);(c=c[b?d+1:d-1])?c instanceof Blockly.Field?c.showEditor_():c.tab(null,b):(c=this.getParent())&&c.tab(this,b)};Blockly.BlockSvg.prototype.createTabList_=function(){for(var a=[],b=0,c;c=this.inputList[b];b++){for(var d=0,e;e=c.fieldRow[d];d++)e instanceof Blockly.FieldTextInput&&a.push(e);c.connection&&(c=c.connection.targetBlock())&&a.push(c)}return a};\nBlockly.BlockSvg.prototype.onMouseDown_=function(a){var b=this.workspace.getGesture(a);b&&b.handleBlockStart(a,this)};Blockly.BlockSvg.prototype.showHelp_=function(){var a=goog.isFunction(this.helpUrl)?this.helpUrl():this.helpUrl;a&&window.open(a)};\nBlockly.BlockSvg.prototype.showContextMenu_=function(a){if(!this.workspace.options.readOnly&&this.contextMenu){var b=this,c=[];if(this.isDeletable()&&this.isMovable()&&!b.isInFlyout){var d={text:Blockly.Msg.DUPLICATE_BLOCK,enabled:!0,callback:function(){Blockly.duplicate_(b)}};this.getDescendants().length>this.workspace.remainingCapacity()&&(d.enabled=!1);c.push(d);this.isEditable()&&!this.collapsed_&&this.workspace.options.comments&&(d={enabled:!goog.userAgent.IE},this.comment?(d.text=Blockly.Msg.REMOVE_COMMENT,\nd.callback=function(){b.setCommentText(null)}):(d.text=Blockly.Msg.ADD_COMMENT,d.callback=function(){b.setCommentText(\"\")}),c.push(d));if(!this.collapsed_)for(d=1;d<this.inputList.length;d++)if(this.inputList[d-1].type!=Blockly.NEXT_STATEMENT&&this.inputList[d].type!=Blockly.NEXT_STATEMENT){d={enabled:!0};var e=this.getInputsInline();d.text=e?Blockly.Msg.EXTERNAL_INPUTS:Blockly.Msg.INLINE_INPUTS;d.callback=function(){b.setInputsInline(!e)};c.push(d);break}this.workspace.options.collapse&&(this.collapsed_?\n(d={enabled:!0},d.text=Blockly.Msg.EXPAND_BLOCK,d.callback=function(){b.setCollapsed(!1)}):(d={enabled:!0},d.text=Blockly.Msg.COLLAPSE_BLOCK,d.callback=function(){b.setCollapsed(!0)}),c.push(d));this.workspace.options.disable&&(d={text:this.disabled?Blockly.Msg.ENABLE_BLOCK:Blockly.Msg.DISABLE_BLOCK,enabled:!this.getInheritedDisabled(),callback:function(){b.setDisabled(!b.disabled)}},c.push(d));d=this.getDescendants().length;var f=this.getNextBlock();f&&(d-=f.getDescendants().length);d={text:1==d?\nBlockly.Msg.DELETE_BLOCK:Blockly.Msg.DELETE_X_BLOCKS.replace(\"%1\",String(d)),enabled:!0,callback:function(){Blockly.Events.setGroup(!0);b.dispose(!0,!0);Blockly.Events.setGroup(!1)}};c.push(d)}d={enabled:!(goog.isFunction(this.helpUrl)?!this.helpUrl():!this.helpUrl)};d.text=Blockly.Msg.HELP;d.callback=function(){b.showHelp_()};c.push(d);this.customContextMenu&&this.customContextMenu(c);Blockly.ContextMenu.show(a,c,this.RTL);Blockly.ContextMenu.currentBlock=this}};\nBlockly.BlockSvg.prototype.moveConnections_=function(a,b){if(this.rendered){for(var c=this.getConnections_(!1),d=0;d<c.length;d++)c[d].moveBy(a,b);c=this.getIcons();for(d=0;d<c.length;d++)c[d].computeIconLocation();for(d=0;d<this.childBlocks_.length;d++)this.childBlocks_[d].moveConnections_(a,b)}};\nBlockly.BlockSvg.prototype.setDragging=function(a){if(a){var b=this.getSvgRoot();b.translate_=\"\";b.skew_=\"\";Blockly.draggingConnections_=Blockly.draggingConnections_.concat(this.getConnections_(!0));Blockly.utils.addClass(this.svgGroup_,\"blocklyDragging\")}else Blockly.draggingConnections_=[],Blockly.utils.removeClass(this.svgGroup_,\"blocklyDragging\");for(b=0;b<this.childBlocks_.length;b++)this.childBlocks_[b].setDragging(a)};\nBlockly.BlockSvg.prototype.updateMovable=function(){this.isMovable()?Blockly.utils.addClass(this.svgGroup_,\"blocklyDraggable\"):Blockly.utils.removeClass(this.svgGroup_,\"blocklyDraggable\")};Blockly.BlockSvg.prototype.setMovable=function(a){Blockly.BlockSvg.superClass_.setMovable.call(this,a);this.updateMovable()};Blockly.BlockSvg.prototype.setEditable=function(a){Blockly.BlockSvg.superClass_.setEditable.call(this,a);a=this.getIcons();for(var b=0;b<a.length;b++)a[b].updateEditable()};\nBlockly.BlockSvg.prototype.setShadow=function(a){Blockly.BlockSvg.superClass_.setShadow.call(this,a);this.updateColour()};Blockly.BlockSvg.prototype.getSvgRoot=function(){return this.svgGroup_};\nBlockly.BlockSvg.prototype.dispose=function(a,b){if(this.workspace){Blockly.Tooltip.hide();Blockly.Field.startCache();var c=this.workspace;Blockly.selected==this&&(this.unselect(),this.workspace.cancelCurrentGesture());Blockly.ContextMenu.currentBlock==this&&Blockly.ContextMenu.hide();b&&this.rendered&&(this.unplug(a),this.disposeUiEffect());this.rendered=!1;Blockly.Events.disable();try{for(var d=this.getIcons(),e=0;e<d.length;e++)d[e].dispose()}finally{Blockly.Events.enable()}Blockly.BlockSvg.superClass_.dispose.call(this,\na);goog.dom.removeNode(this.svgGroup_);c.resizeContents();this.svgPathDark_=this.svgPathLight_=this.svgPath_=this.svgGroup_=null;Blockly.Field.stopCache()}};\nBlockly.BlockSvg.prototype.disposeUiEffect=function(){this.workspace.getAudioManager().play(\"delete\");var a=this.workspace.getSvgXY(this.svgGroup_),b=this.svgGroup_.cloneNode(!0);b.translateX_=a.x;b.translateY_=a.y;b.setAttribute(\"transform\",\"translate(\"+b.translateX_+\",\"+b.translateY_+\")\");this.workspace.getParentSvg().appendChild(b);b.bBox_=b.getBBox();Blockly.BlockSvg.disposeUiStep_(b,this.RTL,new Date,this.workspace.scale)};\nBlockly.BlockSvg.disposeUiStep_=function(a,b,c,d){var e=(new Date-c)/150;1<e?goog.dom.removeNode(a):(a.setAttribute(\"transform\",\"translate(\"+(a.translateX_+(b?-1:1)*a.bBox_.width*d/2*e)+\",\"+(a.translateY_+a.bBox_.height*d*e)+\") scale(\"+(1-e)*d+\")\"),setTimeout(Blockly.BlockSvg.disposeUiStep_,10,a,b,c,d))};\nBlockly.BlockSvg.prototype.connectionUiEffect=function(){this.workspace.getAudioManager().play(\"click\");if(!(1>this.workspace.scale)){var a=this.workspace.getSvgXY(this.svgGroup_);this.outputConnection?(a.x+=(this.RTL?3:-3)*this.workspace.scale,a.y+=13*this.workspace.scale):this.previousConnection&&(a.x+=(this.RTL?-23:23)*this.workspace.scale,a.y+=3*this.workspace.scale);a=Blockly.utils.createSvgElement(\"circle\",{cx:a.x,cy:a.y,r:0,fill:\"none\",stroke:\"#888\",\"stroke-width\":10},this.workspace.getParentSvg());\nBlockly.BlockSvg.connectionUiStep_(a,new Date,this.workspace.scale)}};Blockly.BlockSvg.connectionUiStep_=function(a,b,c){var d=(new Date-b)/150;1<d?goog.dom.removeNode(a):(a.setAttribute(\"r\",25*d*c),a.style.opacity=1-d,Blockly.BlockSvg.disconnectUiStop_.pid_=setTimeout(Blockly.BlockSvg.connectionUiStep_,10,a,b,c))};\nBlockly.BlockSvg.prototype.disconnectUiEffect=function(){this.workspace.getAudioManager().play(\"disconnect\");if(!(1>this.workspace.scale)){var a=this.getHeightWidth().height;a=Math.atan(10/a)/Math.PI*180;this.RTL||(a*=-1);Blockly.BlockSvg.disconnectUiStep_(this.svgGroup_,a,new Date)}};\nBlockly.BlockSvg.disconnectUiStep_=function(a,b,c){var d=(new Date-c)/200;1<d?a.skew_=\"\":(a.skew_=\"skewX(\"+Math.round(Math.sin(d*Math.PI*3)*(1-d)*b)+\")\",Blockly.BlockSvg.disconnectUiStop_.group=a,Blockly.BlockSvg.disconnectUiStop_.pid=setTimeout(Blockly.BlockSvg.disconnectUiStep_,10,a,b,c));a.setAttribute(\"transform\",a.translate_+a.skew_)};\nBlockly.BlockSvg.disconnectUiStop_=function(){if(Blockly.BlockSvg.disconnectUiStop_.group){clearTimeout(Blockly.BlockSvg.disconnectUiStop_.pid);var a=Blockly.BlockSvg.disconnectUiStop_.group;a.skew_=\"\";a.setAttribute(\"transform\",a.translate_);Blockly.BlockSvg.disconnectUiStop_.group=null}};Blockly.BlockSvg.disconnectUiStop_.pid=0;Blockly.BlockSvg.disconnectUiStop_.group=null;\nBlockly.BlockSvg.prototype.updateColour=function(){if(!this.disabled){var a=this.getColour(),b=goog.color.hexToRgb(a);if(this.isShadow())b=goog.color.lighten(b,.6),a=goog.color.rgbArrayToHex(b),this.svgPathLight_.style.display=\"none\",this.svgPathDark_.setAttribute(\"fill\",a);else{this.svgPathLight_.style.display=\"\";var c=goog.color.rgbArrayToHex(goog.color.lighten(b,.3));b=goog.color.rgbArrayToHex(goog.color.darken(b,.2));this.svgPathLight_.setAttribute(\"stroke\",c);this.svgPathDark_.setAttribute(\"fill\",\nb)}this.svgPath_.setAttribute(\"fill\",a);a=this.getIcons();for(c=0;c<a.length;c++)a[c].updateColour();for(a=0;c=this.inputList[a];a++){b=0;for(var d;d=c.fieldRow[b];b++)d.setText(null)}}};\nBlockly.BlockSvg.prototype.updateDisabled=function(){this.disabled||this.getInheritedDisabled()?Blockly.utils.addClass(this.svgGroup_,\"blocklyDisabled\")&&this.svgPath_.setAttribute(\"fill\",\"url(#\"+this.workspace.options.disabledPatternId+\")\"):Blockly.utils.removeClass(this.svgGroup_,\"blocklyDisabled\")&&this.updateColour();for(var a=this.getChildren(),b=0,c;c=a[b];b++)c.updateDisabled()};\nBlockly.BlockSvg.prototype.getCommentText=function(){return this.comment?this.comment.getText().replace(/\\s+$/,\"\").replace(/ +\\n/g,\"\\n\"):\"\"};Blockly.BlockSvg.prototype.setCommentText=function(a){var b=!1;goog.isString(a)?(this.comment||(this.comment=new Blockly.Comment(this),b=!0),this.comment.setText(a)):this.comment&&(this.comment.dispose(),b=!0);b&&this.rendered&&(this.render(),this.bumpNeighbours_())};\nBlockly.BlockSvg.prototype.setWarningText=function(a,b){this.setWarningText.pid_||(this.setWarningText.pid_=Object.create(null));var c=b||\"\";if(c)this.setWarningText.pid_[c]&&(clearTimeout(this.setWarningText.pid_[c]),delete this.setWarningText.pid_[c]);else for(var d in this.setWarningText.pid_)clearTimeout(this.setWarningText.pid_[d]),delete this.setWarningText.pid_[d];if(this.workspace.isDragging()){var e=this;this.setWarningText.pid_[c]=setTimeout(function(){e.workspace&&(delete e.setWarningText.pid_[c],\ne.setWarningText(a,c))},100)}else{this.isInFlyout&&(a=null);d=this.getSurroundParent();for(var f=null;d;)d.isCollapsed()&&(f=d),d=d.getSurroundParent();f&&f.setWarningText(a,\"collapsed \"+this.id+\" \"+c);d=!1;goog.isString(a)?(this.warning||(this.warning=new Blockly.Warning(this),d=!0),this.warning.setText(a,c)):this.warning&&!c?(this.warning.dispose(),d=!0):this.warning&&(d=this.warning.getText(),this.warning.setText(\"\",c),(f=this.warning.getText())||this.warning.dispose(),d=d!=f);d&&this.rendered&&\n(this.render(),this.bumpNeighbours_())}};Blockly.BlockSvg.prototype.setMutator=function(a){this.mutator&&this.mutator!==a&&this.mutator.dispose();a&&(a.block_=this,this.mutator=a,a.createIcon())};Blockly.BlockSvg.prototype.setDisabled=function(a){this.disabled!=a&&(Blockly.BlockSvg.superClass_.setDisabled.call(this,a),this.rendered&&this.updateDisabled())};\nBlockly.BlockSvg.prototype.setHighlighted=function(a){this.rendered&&(a?(this.svgPath_.setAttribute(\"filter\",\"url(#\"+this.workspace.options.embossFilterId+\")\"),this.svgPathLight_.style.display=\"none\"):(Blockly.utils.removeAttribute(this.svgPath_,\"filter\"),delete this.svgPathLight_.style.display))};Blockly.BlockSvg.prototype.addSelect=function(){Blockly.utils.addClass(this.svgGroup_,\"blocklySelected\")};Blockly.BlockSvg.prototype.removeSelect=function(){Blockly.utils.removeClass(this.svgGroup_,\"blocklySelected\")};\nBlockly.BlockSvg.prototype.setDeleteStyle=function(a){a?Blockly.utils.addClass(this.svgGroup_,\"blocklyDraggingDelete\"):Blockly.utils.removeClass(this.svgGroup_,\"blocklyDraggingDelete\")};Blockly.BlockSvg.prototype.setColour=function(a){Blockly.BlockSvg.superClass_.setColour.call(this,a);this.rendered&&this.updateColour()};Blockly.BlockSvg.prototype.bringToFront=function(){var a=this;do{var b=a.getSvgRoot();b.parentNode.appendChild(b);a=a.getParent()}while(a)};\nBlockly.BlockSvg.prototype.setPreviousStatement=function(a,b){Blockly.BlockSvg.superClass_.setPreviousStatement.call(this,a,b);this.rendered&&(this.render(),this.bumpNeighbours_())};Blockly.BlockSvg.prototype.setNextStatement=function(a,b){Blockly.BlockSvg.superClass_.setNextStatement.call(this,a,b);this.rendered&&(this.render(),this.bumpNeighbours_())};Blockly.BlockSvg.prototype.setOutput=function(a,b){Blockly.BlockSvg.superClass_.setOutput.call(this,a,b);this.rendered&&(this.render(),this.bumpNeighbours_())};\nBlockly.BlockSvg.prototype.setInputsInline=function(a){Blockly.BlockSvg.superClass_.setInputsInline.call(this,a);this.rendered&&(this.render(),this.bumpNeighbours_())};Blockly.BlockSvg.prototype.removeInput=function(a,b){Blockly.BlockSvg.superClass_.removeInput.call(this,a,b);this.rendered&&(this.render(),this.bumpNeighbours_())};Blockly.BlockSvg.prototype.moveNumberedInputBefore=function(a,b){Blockly.BlockSvg.superClass_.moveNumberedInputBefore.call(this,a,b);this.rendered&&(this.render(),this.bumpNeighbours_())};\nBlockly.BlockSvg.prototype.appendInput_=function(a,b){var c=Blockly.BlockSvg.superClass_.appendInput_.call(this,a,b);this.rendered&&(this.render(),this.bumpNeighbours_());return c};Blockly.BlockSvg.prototype.getConnections_=function(a){var b=[];if(a||this.rendered)if(this.outputConnection&&b.push(this.outputConnection),this.previousConnection&&b.push(this.previousConnection),this.nextConnection&&b.push(this.nextConnection),a||!this.collapsed_){a=0;for(var c;c=this.inputList[a];a++)c.connection&&b.push(c.connection)}return b};\nBlockly.BlockSvg.prototype.makeConnection_=function(a){return new Blockly.RenderedConnection(this,a)};\nBlockly.BlockSvg.prototype.bumpNeighbours_=function(){if(this.workspace&&Blockly.dragMode_==Blockly.DRAG_NONE){var a=this.getRootBlock();if(!a.isInFlyout)for(var b=this.getConnections_(!1),c=0,d;d=b[c];c++){d.isConnected()&&d.isSuperior()&&d.targetBlock().bumpNeighbours_();for(var e=d.neighbours_(Blockly.SNAP_RADIUS),f=0,g;g=e[f];f++)d.isConnected()&&g.isConnected()||g.getSourceBlock().getRootBlock()!=a&&(d.isSuperior()?g.bumpAwayFrom_(d):d.bumpAwayFrom_(g))}}};\nBlockly.BlockSvg.prototype.scheduleSnapAndBump=function(){var a=this,b=Blockly.Events.getGroup();setTimeout(function(){Blockly.Events.setGroup(b);a.snapToGrid();Blockly.Events.setGroup(!1)},Blockly.BUMP_DELAY/2);setTimeout(function(){Blockly.Events.setGroup(b);a.bumpNeighbours_();Blockly.Events.setGroup(!1)},Blockly.BUMP_DELAY)};Blockly.BlockSvg.render={};Blockly.BlockSvg.SEP_SPACE_X=10;Blockly.BlockSvg.SEP_SPACE_Y=10;Blockly.BlockSvg.INLINE_PADDING_Y=5;Blockly.BlockSvg.MIN_BLOCK_Y=25;Blockly.BlockSvg.TAB_HEIGHT=20;Blockly.BlockSvg.TAB_WIDTH=8;Blockly.BlockSvg.NOTCH_WIDTH=30;Blockly.BlockSvg.CORNER_RADIUS=8;Blockly.BlockSvg.START_HAT=!1;Blockly.BlockSvg.START_HAT_HEIGHT=15;Blockly.BlockSvg.START_HAT_PATH=\"c 30,-\"+Blockly.BlockSvg.START_HAT_HEIGHT+\" 70,-\"+Blockly.BlockSvg.START_HAT_HEIGHT+\" 100,0\";\nBlockly.BlockSvg.START_HAT_HIGHLIGHT_LTR=\"c 17.8,-9.2 45.3,-14.9 75,-8.7 M 100.5,0.5\";Blockly.BlockSvg.START_HAT_HIGHLIGHT_RTL=\"m 25,-8.7 c 29.7,-6.2 57.2,-0.5 75,8.7\";Blockly.BlockSvg.DISTANCE_45_INSIDE=(1-Math.SQRT1_2)*(Blockly.BlockSvg.CORNER_RADIUS-.5)+.5;Blockly.BlockSvg.DISTANCE_45_OUTSIDE=(1-Math.SQRT1_2)*(Blockly.BlockSvg.CORNER_RADIUS+.5)-.5;Blockly.BlockSvg.NOTCH_PATH_LEFT=\"l 6,4 3,0 6,-4\";Blockly.BlockSvg.NOTCH_PATH_LEFT_HIGHLIGHT=\"l 6,4 3,0 6,-4\";Blockly.BlockSvg.NOTCH_PATH_RIGHT=\"l -6,4 -3,0 -6,-4\";\nBlockly.BlockSvg.JAGGED_TEETH=\"l 8,0 0,4 8,4 -16,8 8,4\";Blockly.BlockSvg.JAGGED_TEETH_HEIGHT=20;Blockly.BlockSvg.JAGGED_TEETH_WIDTH=15;Blockly.BlockSvg.TAB_PATH_DOWN=\"v 5 c 0,10 -\"+Blockly.BlockSvg.TAB_WIDTH+\",-8 -\"+Blockly.BlockSvg.TAB_WIDTH+\",7.5 s \"+Blockly.BlockSvg.TAB_WIDTH+\",-2.5 \"+Blockly.BlockSvg.TAB_WIDTH+\",7.5\";\nBlockly.BlockSvg.TAB_PATH_DOWN_HIGHLIGHT_RTL=\"v 6.5 m -\"+.97*Blockly.BlockSvg.TAB_WIDTH+\",3 q -\"+.05*Blockly.BlockSvg.TAB_WIDTH+\",10 \"+.3*Blockly.BlockSvg.TAB_WIDTH+\",9.5 m \"+.67*Blockly.BlockSvg.TAB_WIDTH+\",-1.9 v 1.4\";Blockly.BlockSvg.TOP_LEFT_CORNER_START=\"m 0,\"+Blockly.BlockSvg.CORNER_RADIUS;Blockly.BlockSvg.TOP_LEFT_CORNER_START_HIGHLIGHT_RTL=\"m \"+Blockly.BlockSvg.DISTANCE_45_INSIDE+\",\"+Blockly.BlockSvg.DISTANCE_45_INSIDE;\nBlockly.BlockSvg.TOP_LEFT_CORNER_START_HIGHLIGHT_LTR=\"m 0.5,\"+(Blockly.BlockSvg.CORNER_RADIUS-.5);Blockly.BlockSvg.TOP_LEFT_CORNER=\"A \"+Blockly.BlockSvg.CORNER_RADIUS+\",\"+Blockly.BlockSvg.CORNER_RADIUS+\" 0 0,1 \"+Blockly.BlockSvg.CORNER_RADIUS+\",0\";Blockly.BlockSvg.TOP_LEFT_CORNER_HIGHLIGHT=\"A \"+(Blockly.BlockSvg.CORNER_RADIUS-.5)+\",\"+(Blockly.BlockSvg.CORNER_RADIUS-.5)+\" 0 0,1 \"+Blockly.BlockSvg.CORNER_RADIUS+\",0.5\";\nBlockly.BlockSvg.INNER_TOP_LEFT_CORNER=Blockly.BlockSvg.NOTCH_PATH_RIGHT+\" h -\"+(Blockly.BlockSvg.NOTCH_WIDTH-15-Blockly.BlockSvg.CORNER_RADIUS)+\" a \"+Blockly.BlockSvg.CORNER_RADIUS+\",\"+Blockly.BlockSvg.CORNER_RADIUS+\" 0 0,0 -\"+Blockly.BlockSvg.CORNER_RADIUS+\",\"+Blockly.BlockSvg.CORNER_RADIUS;Blockly.BlockSvg.INNER_BOTTOM_LEFT_CORNER=\"a \"+Blockly.BlockSvg.CORNER_RADIUS+\",\"+Blockly.BlockSvg.CORNER_RADIUS+\" 0 0,0 \"+Blockly.BlockSvg.CORNER_RADIUS+\",\"+Blockly.BlockSvg.CORNER_RADIUS;\nBlockly.BlockSvg.INNER_TOP_LEFT_CORNER_HIGHLIGHT_RTL=\"a \"+Blockly.BlockSvg.CORNER_RADIUS+\",\"+Blockly.BlockSvg.CORNER_RADIUS+\" 0 0,0 \"+(-Blockly.BlockSvg.DISTANCE_45_OUTSIDE-.5)+\",\"+(Blockly.BlockSvg.CORNER_RADIUS-Blockly.BlockSvg.DISTANCE_45_OUTSIDE);Blockly.BlockSvg.INNER_BOTTOM_LEFT_CORNER_HIGHLIGHT_RTL=\"a \"+(Blockly.BlockSvg.CORNER_RADIUS+.5)+\",\"+(Blockly.BlockSvg.CORNER_RADIUS+.5)+\" 0 0,0 \"+(Blockly.BlockSvg.CORNER_RADIUS+.5)+\",\"+(Blockly.BlockSvg.CORNER_RADIUS+.5);\nBlockly.BlockSvg.INNER_BOTTOM_LEFT_CORNER_HIGHLIGHT_LTR=\"a \"+(Blockly.BlockSvg.CORNER_RADIUS+.5)+\",\"+(Blockly.BlockSvg.CORNER_RADIUS+.5)+\" 0 0,0 \"+(Blockly.BlockSvg.CORNER_RADIUS-Blockly.BlockSvg.DISTANCE_45_OUTSIDE)+\",\"+(Blockly.BlockSvg.DISTANCE_45_OUTSIDE+.5);Blockly.BlockSvg.prototype.getHeightWidth=function(){var a=this.height,b=this.width,c=this.getNextBlock();c?(c=c.getHeightWidth(),a+=c.height-4,b=Math.max(b,c.width)):this.nextConnection||this.outputConnection||(a+=2);return{height:a,width:b}};\nBlockly.BlockSvg.prototype.render=function(a){Blockly.Field.startCache();this.rendered=!0;var b=Blockly.BlockSvg.SEP_SPACE_X;this.RTL&&(b=-b);for(var c=this.getIcons(),d=0;d<c.length;d++)b=c[d].renderIcon(b);b+=this.RTL?Blockly.BlockSvg.SEP_SPACE_X:-Blockly.BlockSvg.SEP_SPACE_X;c=this.renderCompute_(b);this.renderDraw_(b,c);this.renderMoveConnections_();!1!==a&&((a=this.getParent())?a.render(!0):this.workspace.resizeContents());Blockly.Field.stopCache()};\nBlockly.BlockSvg.prototype.renderFields_=function(a,b,c){c+=Blockly.BlockSvg.INLINE_PADDING_Y;this.RTL&&(b=-b);for(var d=0,e;e=a[d];d++){var f=e.getSvgRoot();f&&(this.RTL?(b-=e.renderSep+e.renderWidth,f.setAttribute(\"transform\",\"translate(\"+b+\",\"+c+\")\"),e.renderWidth&&(b-=Blockly.BlockSvg.SEP_SPACE_X)):(f.setAttribute(\"transform\",\"translate(\"+(b+e.renderSep)+\",\"+c+\")\"),e.renderWidth&&(b+=e.renderSep+e.renderWidth+Blockly.BlockSvg.SEP_SPACE_X)))}return this.RTL?-b:b};\nBlockly.BlockSvg.prototype.renderCompute_=function(a){var b=this.inputList,c=[];c.rightEdge=a+2*Blockly.BlockSvg.SEP_SPACE_X;if(this.previousConnection||this.nextConnection)c.rightEdge=Math.max(c.rightEdge,Blockly.BlockSvg.NOTCH_WIDTH+Blockly.BlockSvg.SEP_SPACE_X);for(var d=0,e=0,f=!1,g=!1,h=!1,k=void 0,n=this.getInputsInline()&&!this.isCollapsed(),p=0,l;l=b[p];p++)if(l.isVisible()){if(n&&k&&k!=Blockly.NEXT_STATEMENT&&l.type!=Blockly.NEXT_STATEMENT)var m=c[c.length-1];else k=l.type,m=[],m.type=n&&\nl.type!=Blockly.NEXT_STATEMENT?Blockly.BlockSvg.INLINE:l.type,m.height=0,c.push(m);m.push(l);l.renderHeight=Blockly.BlockSvg.MIN_BLOCK_Y;l.renderWidth=n&&l.type==Blockly.INPUT_VALUE?Blockly.BlockSvg.TAB_WIDTH+1.25*Blockly.BlockSvg.SEP_SPACE_X:0;if(l.connection&&l.connection.isConnected()){var q=l.connection.targetBlock().getHeightWidth();l.renderHeight=Math.max(l.renderHeight,q.height);l.renderWidth=Math.max(l.renderWidth,q.width)}n||p!=b.length-1?!n&&l.type==Blockly.INPUT_VALUE&&b[p+1]&&b[p+1].type==\nBlockly.NEXT_STATEMENT&&l.renderHeight--:l.renderHeight--;m.height=Math.max(m.height,l.renderHeight);l.fieldWidth=0;1==c.length&&(l.fieldWidth+=this.RTL?-a:a);q=!1;for(var t=0,r;r=l.fieldRow[t];t++){0!=t&&(l.fieldWidth+=Blockly.BlockSvg.SEP_SPACE_X);var u=r.getSize();r.renderWidth=u.width;r.renderSep=q&&r.EDITABLE?Blockly.BlockSvg.SEP_SPACE_X:0;l.fieldWidth+=r.renderWidth+r.renderSep;m.height=Math.max(m.height,u.height);q=r.EDITABLE}m.type!=Blockly.BlockSvg.INLINE&&(m.type==Blockly.NEXT_STATEMENT?\n(g=!0,e=Math.max(e,l.fieldWidth)):(m.type==Blockly.INPUT_VALUE?f=!0:m.type==Blockly.DUMMY_INPUT&&(h=!0),d=Math.max(d,l.fieldWidth)))}for(a=0;m=c[a];a++)if(m.thicker=!1,m.type==Blockly.BlockSvg.INLINE)for(b=0;l=m[b];b++)if(l.type==Blockly.INPUT_VALUE){m.height+=2*Blockly.BlockSvg.INLINE_PADDING_Y;m.thicker=!0;break}c.statementEdge=2*Blockly.BlockSvg.SEP_SPACE_X+e;g&&(c.rightEdge=Math.max(c.rightEdge,c.statementEdge+Blockly.BlockSvg.NOTCH_WIDTH));f?c.rightEdge=Math.max(c.rightEdge,d+2*Blockly.BlockSvg.SEP_SPACE_X+\nBlockly.BlockSvg.TAB_WIDTH):h&&(c.rightEdge=Math.max(c.rightEdge,d+2*Blockly.BlockSvg.SEP_SPACE_X));c.hasValue=f;c.hasStatement=g;c.hasDummy=h;return c};\nBlockly.BlockSvg.prototype.renderDraw_=function(a,b){this.startHat_=!1;this.height=0;if(this.outputConnection)this.squareBottomLeftCorner_=this.squareTopLeftCorner_=!0;else{this.squareBottomLeftCorner_=this.squareTopLeftCorner_=!1;if(this.previousConnection){var c=this.previousConnection.targetBlock();c&&c.getNextBlock()==this&&(this.squareTopLeftCorner_=!0)}else Blockly.BlockSvg.START_HAT&&(this.startHat_=this.squareTopLeftCorner_=!0,this.height+=Blockly.BlockSvg.START_HAT_HEIGHT,b.rightEdge=Math.max(b.rightEdge,\n100));this.getNextBlock()&&(this.squareBottomLeftCorner_=!0)}var d=[],e=[];c=[];var f=[];this.renderDrawTop_(d,c,b.rightEdge);var g=this.renderDrawRight_(d,c,e,f,b,a);this.renderDrawBottom_(d,c,g);this.renderDrawLeft_(d,c);d=d.join(\" \")+\"\\n\"+e.join(\" \");this.svgPath_.setAttribute(\"d\",d);this.svgPathDark_.setAttribute(\"d\",d);d=c.join(\" \")+\"\\n\"+f.join(\" \");this.svgPathLight_.setAttribute(\"d\",d);this.RTL&&(this.svgPath_.setAttribute(\"transform\",\"scale(-1 1)\"),this.svgPathLight_.setAttribute(\"transform\",\n\"scale(-1 1)\"),this.svgPathDark_.setAttribute(\"transform\",\"translate(1,1) scale(-1 1)\"))};\nBlockly.BlockSvg.prototype.renderMoveConnections_=function(){var a=this.getRelativeToSurfaceXY();this.previousConnection&&this.previousConnection.moveToOffset(a);this.outputConnection&&this.outputConnection.moveToOffset(a);for(var b=0;b<this.inputList.length;b++){var c=this.inputList[b].connection;c&&(c.moveToOffset(a),c.isConnected()&&c.tighten_())}this.nextConnection&&(this.nextConnection.moveToOffset(a),this.nextConnection.isConnected()&&this.nextConnection.tighten_())};\nBlockly.BlockSvg.prototype.renderDrawTop_=function(a,b,c){this.squareTopLeftCorner_?(a.push(\"m 0,0\"),b.push(\"m 0.5,0.5\"),this.startHat_&&(a.push(Blockly.BlockSvg.START_HAT_PATH),b.push(this.RTL?Blockly.BlockSvg.START_HAT_HIGHLIGHT_RTL:Blockly.BlockSvg.START_HAT_HIGHLIGHT_LTR))):(a.push(Blockly.BlockSvg.TOP_LEFT_CORNER_START),b.push(this.RTL?Blockly.BlockSvg.TOP_LEFT_CORNER_START_HIGHLIGHT_RTL:Blockly.BlockSvg.TOP_LEFT_CORNER_START_HIGHLIGHT_LTR),a.push(Blockly.BlockSvg.TOP_LEFT_CORNER),b.push(Blockly.BlockSvg.TOP_LEFT_CORNER_HIGHLIGHT));\nthis.previousConnection&&(a.push(\"H\",Blockly.BlockSvg.NOTCH_WIDTH-15),b.push(\"H\",Blockly.BlockSvg.NOTCH_WIDTH-15),a.push(Blockly.BlockSvg.NOTCH_PATH_LEFT),b.push(Blockly.BlockSvg.NOTCH_PATH_LEFT_HIGHLIGHT),this.previousConnection.setOffsetInBlock(this.RTL?-Blockly.BlockSvg.NOTCH_WIDTH:Blockly.BlockSvg.NOTCH_WIDTH,0));a.push(\"H\",c);b.push(\"H\",c-.5);this.width=c};\nBlockly.BlockSvg.prototype.renderDrawRight_=function(a,b,c,d,e,f){for(var g,h=0,k,n,p=0,l;l=e[p];p++){g=Blockly.BlockSvg.SEP_SPACE_X;0==p&&(g+=this.RTL?-f:f);b.push(\"M\",e.rightEdge-.5+\",\"+(h+.5));if(this.isCollapsed()){var m=l[0];k=h;this.renderFields_(m.fieldRow,g,k);a.push(Blockly.BlockSvg.JAGGED_TEETH);b.push(\"h 8\");m=l.height-Blockly.BlockSvg.JAGGED_TEETH_HEIGHT;a.push(\"v\",m);this.RTL&&(b.push(\"v 3.9 l 7.2,3.4 m -14.5,8.9 l 7.3,3.5\"),b.push(\"v\",m-.7));this.width+=Blockly.BlockSvg.JAGGED_TEETH_WIDTH}else if(l.type==\nBlockly.BlockSvg.INLINE){for(var q=0;m=l[q];q++)k=h,l.thicker&&(k+=Blockly.BlockSvg.INLINE_PADDING_Y),g=this.renderFields_(m.fieldRow,g,k),m.type!=Blockly.DUMMY_INPUT&&(g+=m.renderWidth+Blockly.BlockSvg.SEP_SPACE_X),m.type==Blockly.INPUT_VALUE&&(c.push(\"M\",g-Blockly.BlockSvg.SEP_SPACE_X+\",\"+(h+Blockly.BlockSvg.INLINE_PADDING_Y)),c.push(\"h\",Blockly.BlockSvg.TAB_WIDTH-2-m.renderWidth),c.push(Blockly.BlockSvg.TAB_PATH_DOWN),c.push(\"v\",m.renderHeight+1-Blockly.BlockSvg.TAB_HEIGHT),c.push(\"h\",m.renderWidth+\n2-Blockly.BlockSvg.TAB_WIDTH),c.push(\"z\"),this.RTL?(d.push(\"M\",g-Blockly.BlockSvg.SEP_SPACE_X-2.5+Blockly.BlockSvg.TAB_WIDTH-m.renderWidth+\",\"+(h+Blockly.BlockSvg.INLINE_PADDING_Y+.5)),d.push(Blockly.BlockSvg.TAB_PATH_DOWN_HIGHLIGHT_RTL),d.push(\"v\",m.renderHeight-Blockly.BlockSvg.TAB_HEIGHT+2.5),d.push(\"h\",m.renderWidth-Blockly.BlockSvg.TAB_WIDTH+2)):(d.push(\"M\",g-Blockly.BlockSvg.SEP_SPACE_X+.5+\",\"+(h+Blockly.BlockSvg.INLINE_PADDING_Y+.5)),d.push(\"v\",m.renderHeight+1),d.push(\"h\",Blockly.BlockSvg.TAB_WIDTH-\n2-m.renderWidth),d.push(\"M\",g-m.renderWidth-Blockly.BlockSvg.SEP_SPACE_X+.9+\",\"+(h+Blockly.BlockSvg.INLINE_PADDING_Y+Blockly.BlockSvg.TAB_HEIGHT-.7)),d.push(\"l\",.46*Blockly.BlockSvg.TAB_WIDTH+\",-2.1\")),k=this.RTL?-g-Blockly.BlockSvg.TAB_WIDTH+Blockly.BlockSvg.SEP_SPACE_X+m.renderWidth+1:g+Blockly.BlockSvg.TAB_WIDTH-Blockly.BlockSvg.SEP_SPACE_X-m.renderWidth-1,n=h+Blockly.BlockSvg.INLINE_PADDING_Y+1,m.connection.setOffsetInBlock(k,n));g=Math.max(g,e.rightEdge);this.width=Math.max(this.width,g);a.push(\"H\",\ng);b.push(\"H\",g-.5);a.push(\"v\",l.height);this.RTL&&b.push(\"v\",l.height-1)}else l.type==Blockly.INPUT_VALUE?(m=l[0],k=h,m.align!=Blockly.ALIGN_LEFT&&(q=e.rightEdge-m.fieldWidth-Blockly.BlockSvg.TAB_WIDTH-2*Blockly.BlockSvg.SEP_SPACE_X,m.align==Blockly.ALIGN_RIGHT?g+=q:m.align==Blockly.ALIGN_CENTRE&&(g+=q/2)),this.renderFields_(m.fieldRow,g,k),a.push(Blockly.BlockSvg.TAB_PATH_DOWN),q=l.height-Blockly.BlockSvg.TAB_HEIGHT,a.push(\"v\",q),this.RTL?(b.push(Blockly.BlockSvg.TAB_PATH_DOWN_HIGHLIGHT_RTL),b.push(\"v\",\nq+.5)):(b.push(\"M\",e.rightEdge-5+\",\"+(h+Blockly.BlockSvg.TAB_HEIGHT-.7)),b.push(\"l\",.46*Blockly.BlockSvg.TAB_WIDTH+\",-2.1\")),k=this.RTL?-e.rightEdge-1:e.rightEdge+1,m.connection.setOffsetInBlock(k,h),m.connection.isConnected()&&(this.width=Math.max(this.width,e.rightEdge+m.connection.targetBlock().getHeightWidth().width-Blockly.BlockSvg.TAB_WIDTH+1))):l.type==Blockly.DUMMY_INPUT?(m=l[0],k=h,m.align!=Blockly.ALIGN_LEFT&&(q=e.rightEdge-m.fieldWidth-2*Blockly.BlockSvg.SEP_SPACE_X,e.hasValue&&(q-=Blockly.BlockSvg.TAB_WIDTH),\nm.align==Blockly.ALIGN_RIGHT?g+=q:m.align==Blockly.ALIGN_CENTRE&&(g+=q/2)),this.renderFields_(m.fieldRow,g,k),a.push(\"v\",l.height),this.RTL&&b.push(\"v\",l.height-1)):l.type==Blockly.NEXT_STATEMENT&&(m=l[0],0==p&&(a.push(\"v\",Blockly.BlockSvg.SEP_SPACE_Y),this.RTL&&b.push(\"v\",Blockly.BlockSvg.SEP_SPACE_Y-1),h+=Blockly.BlockSvg.SEP_SPACE_Y),k=h,m.align!=Blockly.ALIGN_LEFT&&(q=e.statementEdge-m.fieldWidth-2*Blockly.BlockSvg.SEP_SPACE_X,m.align==Blockly.ALIGN_RIGHT?g+=q:m.align==Blockly.ALIGN_CENTRE&&(g+=\nq/2)),this.renderFields_(m.fieldRow,g,k),g=e.statementEdge+Blockly.BlockSvg.NOTCH_WIDTH,a.push(\"H\",g),a.push(Blockly.BlockSvg.INNER_TOP_LEFT_CORNER),a.push(\"v\",l.height-2*Blockly.BlockSvg.CORNER_RADIUS),a.push(Blockly.BlockSvg.INNER_BOTTOM_LEFT_CORNER),a.push(\"H\",e.rightEdge),this.RTL?(b.push(\"M\",g-Blockly.BlockSvg.NOTCH_WIDTH+Blockly.BlockSvg.DISTANCE_45_OUTSIDE+\",\"+(h+Blockly.BlockSvg.DISTANCE_45_OUTSIDE)),b.push(Blockly.BlockSvg.INNER_TOP_LEFT_CORNER_HIGHLIGHT_RTL),b.push(\"v\",l.height-2*Blockly.BlockSvg.CORNER_RADIUS),\nb.push(Blockly.BlockSvg.INNER_BOTTOM_LEFT_CORNER_HIGHLIGHT_RTL)):(b.push(\"M\",g-Blockly.BlockSvg.NOTCH_WIDTH+Blockly.BlockSvg.DISTANCE_45_OUTSIDE+\",\"+(h+l.height-Blockly.BlockSvg.DISTANCE_45_OUTSIDE)),b.push(Blockly.BlockSvg.INNER_BOTTOM_LEFT_CORNER_HIGHLIGHT_LTR)),b.push(\"H\",e.rightEdge-.5),k=this.RTL?-g:g+1,m.connection.setOffsetInBlock(k,h+1),m.connection.isConnected()&&(this.width=Math.max(this.width,e.statementEdge+m.connection.targetBlock().getHeightWidth().width)),p==e.length-1||e[p+1].type==\nBlockly.NEXT_STATEMENT)&&(a.push(\"v\",Blockly.BlockSvg.SEP_SPACE_Y),this.RTL&&b.push(\"v\",Blockly.BlockSvg.SEP_SPACE_Y-1),h+=Blockly.BlockSvg.SEP_SPACE_Y);h+=l.height}e.length||(h=Blockly.BlockSvg.MIN_BLOCK_Y,a.push(\"V\",h),this.RTL&&b.push(\"V\",h-1));return h};\nBlockly.BlockSvg.prototype.renderDrawBottom_=function(a,b,c){this.height+=c+1;this.nextConnection&&(a.push(\"H\",Blockly.BlockSvg.NOTCH_WIDTH+(this.RTL?.5:-.5)+\" \"+Blockly.BlockSvg.NOTCH_PATH_RIGHT),this.nextConnection.setOffsetInBlock(this.RTL?-Blockly.BlockSvg.NOTCH_WIDTH:Blockly.BlockSvg.NOTCH_WIDTH,c+1),this.height+=4);this.squareBottomLeftCorner_?(a.push(\"H 0\"),this.RTL||b.push(\"M\",\"0.5,\"+(c-.5))):(a.push(\"H\",Blockly.BlockSvg.CORNER_RADIUS),a.push(\"a\",Blockly.BlockSvg.CORNER_RADIUS+\",\"+Blockly.BlockSvg.CORNER_RADIUS+\n\" 0 0,1 -\"+Blockly.BlockSvg.CORNER_RADIUS+\",-\"+Blockly.BlockSvg.CORNER_RADIUS),this.RTL||(b.push(\"M\",Blockly.BlockSvg.DISTANCE_45_INSIDE+\",\"+(c-Blockly.BlockSvg.DISTANCE_45_INSIDE)),b.push(\"A\",Blockly.BlockSvg.CORNER_RADIUS-.5+\",\"+(Blockly.BlockSvg.CORNER_RADIUS-.5)+\" 0 0,1 0.5,\"+(c-Blockly.BlockSvg.CORNER_RADIUS))))};\nBlockly.BlockSvg.prototype.renderDrawLeft_=function(a,b){this.outputConnection?(this.outputConnection.setOffsetInBlock(0,0),a.push(\"V\",Blockly.BlockSvg.TAB_HEIGHT),a.push(\"c 0,-10 -\"+Blockly.BlockSvg.TAB_WIDTH+\",8 -\"+Blockly.BlockSvg.TAB_WIDTH+\",-7.5 s \"+Blockly.BlockSvg.TAB_WIDTH+\",2.5 \"+Blockly.BlockSvg.TAB_WIDTH+\",-7.5\"),this.RTL?(b.push(\"M\",-.25*Blockly.BlockSvg.TAB_WIDTH+\",8.4\"),b.push(\"l\",-.45*Blockly.BlockSvg.TAB_WIDTH+\",-2.1\")):(b.push(\"V\",Blockly.BlockSvg.TAB_HEIGHT-1.5),b.push(\"m\",-.92*\nBlockly.BlockSvg.TAB_WIDTH+\",-0.5 q \"+-.19*Blockly.BlockSvg.TAB_WIDTH+\",-5.5 0,-11\"),b.push(\"m\",.92*Blockly.BlockSvg.TAB_WIDTH+\",1 V 0.5 H 1\")),this.width+=Blockly.BlockSvg.TAB_WIDTH):this.RTL||(this.squareTopLeftCorner_?b.push(\"V\",.5):b.push(\"V\",Blockly.BlockSvg.CORNER_RADIUS));a.push(\"z\")};Blockly.Events={};Blockly.Events.group_=\"\";Blockly.Events.recordUndo=!0;Blockly.Events.disabled_=0;Blockly.Events.CREATE=\"create\";Blockly.Events.BLOCK_CREATE=Blockly.Events.CREATE;Blockly.Events.DELETE=\"delete\";Blockly.Events.BLOCK_DELETE=Blockly.Events.DELETE;Blockly.Events.CHANGE=\"change\";Blockly.Events.BLOCK_CHANGE=Blockly.Events.CHANGE;Blockly.Events.MOVE=\"move\";Blockly.Events.BLOCK_MOVE=Blockly.Events.MOVE;Blockly.Events.VAR_CREATE=\"var_create\";Blockly.Events.VAR_DELETE=\"var_delete\";\nBlockly.Events.VAR_RENAME=\"var_rename\";Blockly.Events.UI=\"ui\";Blockly.Events.FIRE_QUEUE_=[];Blockly.Events.fire=function(a){Blockly.Events.isEnabled()&&(Blockly.Events.FIRE_QUEUE_.length||setTimeout(Blockly.Events.fireNow_,0),Blockly.Events.FIRE_QUEUE_.push(a))};Blockly.Events.fireNow_=function(){for(var a=Blockly.Events.filter(Blockly.Events.FIRE_QUEUE_,!0),b=Blockly.Events.FIRE_QUEUE_.length=0,c;c=a[b];b++){var d=Blockly.Workspace.getById(c.workspaceId);d&&d.fireChangeListener(c)}};\nBlockly.Events.filter=function(a,b){var c=goog.array.clone(a);b||c.reverse();for(var d=[],e=Object.create(null),f=0,g;g=c[f];f++)if(!g.isNull()){var h=[g.type,g.blockId,g.workspaceId].join(\" \"),k=e[h];k?g.type==Blockly.Events.MOVE?(k.newParentId=g.newParentId,k.newInputName=g.newInputName,k.newCoordinate=g.newCoordinate):g.type==Blockly.Events.CHANGE&&g.element==k.element&&g.name==k.name?k.newValue=g.newValue:g.type!=Blockly.Events.UI||\"click\"!=g.element||\"commentOpen\"!=k.element&&\"mutatorOpen\"!=\nk.element&&\"warningOpen\"!=k.element||(k.newValue=g.newValue):(e[h]=g,d.push(g))}c=d;b||c.reverse();for(f=1;g=c[f];f++)g.type==Blockly.Events.CHANGE&&\"mutation\"==g.element&&c.unshift(c.splice(f,1)[0]);return c};Blockly.Events.clearPendingUndo=function(){for(var a=0,b;b=Blockly.Events.FIRE_QUEUE_[a];a++)b.recordUndo=!1};Blockly.Events.disable=function(){Blockly.Events.disabled_++};Blockly.Events.enable=function(){Blockly.Events.disabled_--};Blockly.Events.isEnabled=function(){return 0==Blockly.Events.disabled_};\nBlockly.Events.getGroup=function(){return Blockly.Events.group_};Blockly.Events.setGroup=function(a){Blockly.Events.group_=\"boolean\"==typeof a?a?Blockly.utils.genUid():\"\":a};Blockly.Events.getDescendantIds_=function(a){var b=[];a=a.getDescendants();for(var c=0,d;d=a[c];c++)b[c]=d.id;return b};\nBlockly.Events.fromJson=function(a,b){switch(a.type){case Blockly.Events.CREATE:var c=new Blockly.Events.Create(null);break;case Blockly.Events.DELETE:c=new Blockly.Events.Delete(null);break;case Blockly.Events.CHANGE:c=new Blockly.Events.Change(null);break;case Blockly.Events.MOVE:c=new Blockly.Events.Move(null);break;case Blockly.Events.VAR_CREATE:c=new Blockly.Events.VarCreate(null);break;case Blockly.Events.VAR_DELETE:c=new Blockly.Events.VarDelete(null);break;case Blockly.Events.VAR_RENAME:c=\nnew Blockly.Events.VarRename(null);break;case Blockly.Events.UI:c=new Blockly.Events.Ui(null);break;default:throw\"Unknown event type.\";}c.fromJson(a);c.workspaceId=b.id;return c};Blockly.Events.Abstract=function(a){a instanceof Blockly.Block?(this.blockId=a.id,this.workspaceId=a.workspace.id):a instanceof Blockly.VariableModel&&(this.workspaceId=a.workspace.id,this.varId=a.getId());this.group=Blockly.Events.group_;this.recordUndo=Blockly.Events.recordUndo};\nBlockly.Events.Abstract.prototype.toJson=function(){var a={type:this.type};this.blockId&&(a.blockId=this.blockId);this.varId&&(a.varId=this.varId);this.group&&(a.group=this.group);return a};Blockly.Events.Abstract.prototype.fromJson=function(a){this.blockId=a.blockId;this.varId=a.varId;this.group=a.group};Blockly.Events.Abstract.prototype.isNull=function(){return!1};Blockly.Events.Abstract.prototype.run=function(a){};\nBlockly.Events.Abstract.prototype.getEventWorkspace_=function(){var a=Blockly.Workspace.getById(this.workspaceId);if(!a)throw Error(\"Workspace is null. Event must have been generated from real Blockly events.\");return a};Blockly.Events.Create=function(a){a&&(Blockly.Events.Create.superClass_.constructor.call(this,a),this.xml=a.workspace.rendered?Blockly.Xml.blockToDomWithXY(a):Blockly.Xml.blockToDom(a),this.ids=Blockly.Events.getDescendantIds_(a))};goog.inherits(Blockly.Events.Create,Blockly.Events.Abstract);\nBlockly.Events.BlockCreate=Blockly.Events.Create;Blockly.Events.Create.prototype.type=Blockly.Events.CREATE;Blockly.Events.Create.prototype.toJson=function(){var a=Blockly.Events.Create.superClass_.toJson.call(this);a.xml=Blockly.Xml.domToText(this.xml);a.ids=this.ids;return a};Blockly.Events.Create.prototype.fromJson=function(a){Blockly.Events.Create.superClass_.fromJson.call(this,a);this.xml=Blockly.Xml.textToDom(\"<xml>\"+a.xml+\"</xml>\").firstChild;this.ids=a.ids};\nBlockly.Events.Create.prototype.run=function(a){var b=this.getEventWorkspace_();if(a)a=goog.dom.createDom(\"xml\"),a.appendChild(this.xml),Blockly.Xml.domToWorkspace(a,b);else{a=0;for(var c;c=this.ids[a];a++){var d=b.getBlockById(c);d?d.dispose(!1,!1):c==this.blockId&&console.warn(\"Can't uncreate non-existant block: \"+c)}}};\nBlockly.Events.Delete=function(a){if(a){if(a.getParent())throw\"Connected blocks cannot be deleted.\";Blockly.Events.Delete.superClass_.constructor.call(this,a);this.oldXml=a.workspace.rendered?Blockly.Xml.blockToDomWithXY(a):Blockly.Xml.blockToDom(a);this.ids=Blockly.Events.getDescendantIds_(a)}};goog.inherits(Blockly.Events.Delete,Blockly.Events.Abstract);Blockly.Events.BlockDelete=Blockly.Events.Delete;Blockly.Events.Delete.prototype.type=Blockly.Events.DELETE;\nBlockly.Events.Delete.prototype.toJson=function(){var a=Blockly.Events.Delete.superClass_.toJson.call(this);a.ids=this.ids;return a};Blockly.Events.Delete.prototype.fromJson=function(a){Blockly.Events.Delete.superClass_.fromJson.call(this,a);this.ids=a.ids};\nBlockly.Events.Delete.prototype.run=function(a){var b=this.getEventWorkspace_();if(a){a=0;for(var c;c=this.ids[a];a++){var d=b.getBlockById(c);d?d.dispose(!1,!1):c==this.blockId&&console.warn(\"Can't delete non-existant block: \"+c)}}else a=goog.dom.createDom(\"xml\"),a.appendChild(this.oldXml),Blockly.Xml.domToWorkspace(a,b)};Blockly.Events.Change=function(a,b,c,d,e){a&&(Blockly.Events.Change.superClass_.constructor.call(this,a),this.element=b,this.name=c,this.oldValue=d,this.newValue=e)};\ngoog.inherits(Blockly.Events.Change,Blockly.Events.Abstract);Blockly.Events.BlockChange=Blockly.Events.Change;Blockly.Events.Change.prototype.type=Blockly.Events.CHANGE;Blockly.Events.Change.prototype.toJson=function(){var a=Blockly.Events.Change.superClass_.toJson.call(this);a.element=this.element;this.name&&(a.name=this.name);a.newValue=this.newValue;return a};\nBlockly.Events.Change.prototype.fromJson=function(a){Blockly.Events.Change.superClass_.fromJson.call(this,a);this.element=a.element;this.name=a.name;this.newValue=a.newValue};Blockly.Events.Change.prototype.isNull=function(){return this.oldValue==this.newValue};\nBlockly.Events.Change.prototype.run=function(a){var b=this.getEventWorkspace_().getBlockById(this.blockId);if(b)switch(b.mutator&&b.mutator.setVisible(!1),a=a?this.newValue:this.oldValue,this.element){case \"field\":(b=b.getField(this.name))?(b.callValidator(a),b.setValue(a)):console.warn(\"Can't set non-existant field: \"+this.name);break;case \"comment\":b.setCommentText(a||null);break;case \"collapsed\":b.setCollapsed(a);break;case \"disabled\":b.setDisabled(a);break;case \"inline\":b.setInputsInline(a);break;\ncase \"mutation\":var c=\"\";b.mutationToDom&&(c=(c=b.mutationToDom())&&Blockly.Xml.domToText(c));if(b.domToMutation){a=a||\"<mutation></mutation>\";var d=Blockly.Xml.textToDom(\"<xml>\"+a+\"</xml>\");b.domToMutation(d.firstChild)}Blockly.Events.fire(new Blockly.Events.Change(b,\"mutation\",null,c,a));break;default:console.warn(\"Unknown change type: \"+this.element)}else console.warn(\"Can't change non-existant block: \"+this.blockId)};\nBlockly.Events.Move=function(a){a&&(Blockly.Events.Move.superClass_.constructor.call(this,a),a=this.currentLocation_(),this.oldParentId=a.parentId,this.oldInputName=a.inputName,this.oldCoordinate=a.coordinate)};goog.inherits(Blockly.Events.Move,Blockly.Events.Abstract);Blockly.Events.BlockMove=Blockly.Events.Move;Blockly.Events.Move.prototype.type=Blockly.Events.MOVE;\nBlockly.Events.Move.prototype.toJson=function(){var a=Blockly.Events.Move.superClass_.toJson.call(this);this.newParentId&&(a.newParentId=this.newParentId);this.newInputName&&(a.newInputName=this.newInputName);this.newCoordinate&&(a.newCoordinate=Math.round(this.newCoordinate.x)+\",\"+Math.round(this.newCoordinate.y));return a};\nBlockly.Events.Move.prototype.fromJson=function(a){Blockly.Events.Move.superClass_.fromJson.call(this,a);this.newParentId=a.newParentId;this.newInputName=a.newInputName;a.newCoordinate&&(a=a.newCoordinate.split(\",\"),this.newCoordinate=new goog.math.Coordinate(parseFloat(a[0]),parseFloat(a[1])))};Blockly.Events.Move.prototype.recordNew=function(){var a=this.currentLocation_();this.newParentId=a.parentId;this.newInputName=a.inputName;this.newCoordinate=a.coordinate};\nBlockly.Events.Move.prototype.currentLocation_=function(){var a=Blockly.Workspace.getById(this.workspaceId).getBlockById(this.blockId),b={},c=a.getParent();if(c){if(b.parentId=c.id,a=c.getInputWithBlock(a))b.inputName=a.name}else b.coordinate=a.getRelativeToSurfaceXY();return b};Blockly.Events.Move.prototype.isNull=function(){return this.oldParentId==this.newParentId&&this.oldInputName==this.newInputName&&goog.math.Coordinate.equals(this.oldCoordinate,this.newCoordinate)};\nBlockly.Events.Move.prototype.run=function(a){var b=this.getEventWorkspace_(),c=b.getBlockById(this.blockId);if(c){var d=a?this.newParentId:this.oldParentId,e=a?this.newInputName:this.oldInputName;a=a?this.newCoordinate:this.oldCoordinate;var f=null;if(d&&(f=b.getBlockById(d),!f)){console.warn(\"Can't connect to non-existant block: \"+d);return}c.getParent()&&c.unplug();if(a)e=c.getRelativeToSurfaceXY(),c.moveBy(a.x-e.x,a.y-e.y);else{c=c.outputConnection||c.previousConnection;if(e){if(b=f.getInput(e))var g=\nb.connection}else c.type==Blockly.PREVIOUS_STATEMENT&&(g=f.nextConnection);g?c.connect(g):console.warn(\"Can't connect to non-existant input: \"+e)}}else console.warn(\"Can't move non-existant block: \"+this.blockId)};Blockly.Events.Ui=function(a,b,c,d){Blockly.Events.Ui.superClass_.constructor.call(this,a);this.element=b;this.oldValue=c;this.newValue=d;this.recordUndo=!1};goog.inherits(Blockly.Events.Ui,Blockly.Events.Abstract);Blockly.Events.Ui.prototype.type=Blockly.Events.UI;\nBlockly.Events.Ui.prototype.toJson=function(){var a=Blockly.Events.Ui.superClass_.toJson.call(this);a.element=this.element;void 0!==this.newValue&&(a.newValue=this.newValue);return a};Blockly.Events.Ui.prototype.fromJson=function(a){Blockly.Events.Ui.superClass_.fromJson.call(this,a);this.element=a.element;this.newValue=a.newValue};Blockly.Events.VarCreate=function(a){a&&(Blockly.Events.VarCreate.superClass_.constructor.call(this,a),this.varType=a.type,this.varName=a.name)};\ngoog.inherits(Blockly.Events.VarCreate,Blockly.Events.Abstract);Blockly.Events.VarCreate.prototype.type=Blockly.Events.VAR_CREATE;Blockly.Events.VarCreate.prototype.toJson=function(){var a=Blockly.Events.VarCreate.superClass_.toJson.call(this);a.varType=this.varType;a.varName=this.varName;return a};Blockly.Events.VarCreate.prototype.fromJson=function(a){Blockly.Events.VarCreate.superClass_.fromJson.call(this,a);this.varType=a.varType;this.varName=a.varName};\nBlockly.Events.VarCreate.prototype.run=function(a){var b=this.getEventWorkspace_();a?b.createVariable(this.varName,this.varType,this.varId):b.deleteVariableById(this.varId)};Blockly.Events.VarDelete=function(a){a&&(Blockly.Events.VarDelete.superClass_.constructor.call(this,a),this.varType=a.type,this.varName=a.name)};goog.inherits(Blockly.Events.VarDelete,Blockly.Events.Abstract);Blockly.Events.VarDelete.prototype.type=Blockly.Events.VAR_DELETE;\nBlockly.Events.VarDelete.prototype.toJson=function(){var a=Blockly.Events.VarDelete.superClass_.toJson.call(this);a.varType=this.varType;a.varName=this.varName;return a};Blockly.Events.VarDelete.prototype.fromJson=function(a){Blockly.Events.VarDelete.superClass_.fromJson.call(this,a);this.varType=a.varType;this.varName=a.varName};Blockly.Events.VarDelete.prototype.run=function(a){var b=this.getEventWorkspace_();a?b.deleteVariableById(this.varId):b.createVariable(this.varName,this.varType,this.varId)};\nBlockly.Events.VarRename=function(a,b){a&&(Blockly.Events.VarRename.superClass_.constructor.call(this,a),this.oldName=a.name,this.newName=b)};goog.inherits(Blockly.Events.VarRename,Blockly.Events.Abstract);Blockly.Events.VarRename.prototype.type=Blockly.Events.VAR_RENAME;Blockly.Events.VarRename.prototype.toJson=function(){var a=Blockly.Events.VarRename.superClass_.toJson.call(this);a.oldName=this.oldName;a.newName=this.newName;return a};\nBlockly.Events.VarRename.prototype.fromJson=function(a){Blockly.Events.VarRename.superClass_.fromJson.call(this,a);this.oldName=a.oldName;this.newName=a.newName};Blockly.Events.VarRename.prototype.run=function(a){var b=this.getEventWorkspace_();a?b.renameVariableById(this.varId,this.newName):b.renameVariableById(this.varId,this.oldName)};\nBlockly.Events.disableOrphans=function(a){if(a.type==Blockly.Events.MOVE||a.type==Blockly.Events.CREATE){Blockly.Events.disable();var b=Blockly.Workspace.getById(a.workspaceId);if(a=b.getBlockById(a.blockId))if(a.getParent()&&!a.getParent().disabled){b=a.getDescendants();a=0;for(var c;c=b[a];a++)c.setDisabled(!1)}else if((a.outputConnection||a.previousConnection)&&!b.isDragging()){do a.setDisabled(!0),a=a.getNextBlock();while(a)}Blockly.Events.enable()}};Blockly.Msg={};goog.getMsgOrig=goog.getMsg;goog.getMsg=function(a,b){var c=goog.getMsg.blocklyMsgMap[a];c&&(a=Blockly.Msg[c]);return goog.getMsgOrig(a,b)};goog.getMsg.blocklyMsgMap={Today:\"TODAY\"};Blockly.FieldTextInput=function(a,b){Blockly.FieldTextInput.superClass_.constructor.call(this,a,b)};goog.inherits(Blockly.FieldTextInput,Blockly.Field);Blockly.FieldTextInput.FONTSIZE=11;Blockly.FieldTextInput.htmlInput_=null;Blockly.FieldTextInput.prototype.CURSOR=\"text\";Blockly.FieldTextInput.prototype.spellcheck_=!0;Blockly.FieldTextInput.prototype.dispose=function(){Blockly.WidgetDiv.hideIfOwner(this);Blockly.FieldTextInput.superClass_.dispose.call(this)};\nBlockly.FieldTextInput.prototype.setValue=function(a){if(null!==a){if(this.sourceBlock_){var b=this.callValidator(a);null!==b&&(a=b)}Blockly.Field.prototype.setValue.call(this,a)}};Blockly.FieldTextInput.prototype.setText=function(a){null!==a&&(a=String(a),a!==this.text_&&(this.sourceBlock_&&Blockly.Events.isEnabled()&&Blockly.Events.fire(new Blockly.Events.BlockChange(this.sourceBlock_,\"field\",this.name,this.text_,a)),Blockly.Field.prototype.setText.call(this,a)))};\nBlockly.FieldTextInput.prototype.setSpellcheck=function(a){this.spellcheck_=a};Blockly.FieldTextInput.prototype.showEditor_=function(a){this.workspace_=this.sourceBlock_.workspace;a=a||!1;!a&&(goog.userAgent.MOBILE||goog.userAgent.ANDROID||goog.userAgent.IPAD)?this.showPromptEditor_():this.showInlineEditor_(a)};Blockly.FieldTextInput.prototype.showPromptEditor_=function(){var a=this;Blockly.prompt(Blockly.Msg.CHANGE_VALUE_TITLE,this.text_,function(b){a.sourceBlock_&&(b=a.callValidator(b));a.setValue(b)})};\nBlockly.FieldTextInput.prototype.showInlineEditor_=function(a){Blockly.WidgetDiv.show(this,this.sourceBlock_.RTL,this.widgetDispose_());var b=Blockly.WidgetDiv.DIV,c=goog.dom.createDom(\"INPUT\",\"blocklyHtmlInput\");c.setAttribute(\"spellcheck\",this.spellcheck_);var d=Blockly.FieldTextInput.FONTSIZE*this.workspace_.scale+\"pt\";b.style.fontSize=d;c.style.fontSize=d;Blockly.FieldTextInput.htmlInput_=c;b.appendChild(c);c.value=c.defaultValue=this.text_;c.oldValue_=null;this.validate_();this.resizeEditor_();\na||(c.focus(),c.select());this.bindEvents_(c)};Blockly.FieldTextInput.prototype.bindEvents_=function(a){a.onKeyDownWrapper_=Blockly.bindEventWithChecks_(a,\"keydown\",this,this.onHtmlInputKeyDown_);a.onKeyUpWrapper_=Blockly.bindEventWithChecks_(a,\"keyup\",this,this.onHtmlInputChange_);a.onKeyPressWrapper_=Blockly.bindEventWithChecks_(a,\"keypress\",this,this.onHtmlInputChange_);a.onWorkspaceChangeWrapper_=this.resizeEditor_.bind(this);this.workspace_.addChangeListener(a.onWorkspaceChangeWrapper_)};\nBlockly.FieldTextInput.prototype.unbindEvents_=function(a){Blockly.unbindEvent_(a.onKeyDownWrapper_);Blockly.unbindEvent_(a.onKeyUpWrapper_);Blockly.unbindEvent_(a.onKeyPressWrapper_);this.workspace_.removeChangeListener(a.onWorkspaceChangeWrapper_)};\nBlockly.FieldTextInput.prototype.onHtmlInputKeyDown_=function(a){var b=Blockly.FieldTextInput.htmlInput_;13==a.keyCode?Blockly.WidgetDiv.hide():27==a.keyCode?(b.value=b.defaultValue,Blockly.WidgetDiv.hide()):9==a.keyCode&&(Blockly.WidgetDiv.hide(),this.sourceBlock_.tab(this,!a.shiftKey),a.preventDefault())};\nBlockly.FieldTextInput.prototype.onHtmlInputChange_=function(a){a=Blockly.FieldTextInput.htmlInput_;var b=a.value;b!==a.oldValue_?(a.oldValue_=b,this.setValue(b),this.validate_()):goog.userAgent.WEBKIT&&this.sourceBlock_.render();this.resizeEditor_();Blockly.svgResize(this.sourceBlock_.workspace)};\nBlockly.FieldTextInput.prototype.validate_=function(){var a=!0;goog.asserts.assertObject(Blockly.FieldTextInput.htmlInput_);var b=Blockly.FieldTextInput.htmlInput_;this.sourceBlock_&&(a=this.callValidator(b.value));null===a?Blockly.utils.addClass(b,\"blocklyInvalidInput\"):Blockly.utils.removeClass(b,\"blocklyInvalidInput\")};\nBlockly.FieldTextInput.prototype.resizeEditor_=function(){var a=Blockly.WidgetDiv.DIV,b=this.fieldGroup_.getBBox();a.style.width=b.width*this.workspace_.scale+\"px\";a.style.height=b.height*this.workspace_.scale+\"px\";b=this.getAbsoluteXY_();if(this.sourceBlock_.RTL){var c=this.getScaledBBox_();b.x+=c.width;b.x-=a.offsetWidth}b.y+=1;goog.userAgent.GECKO&&Blockly.WidgetDiv.DIV.style.top&&(--b.x,--b.y);goog.userAgent.WEBKIT&&(b.y-=3);a.style.left=b.x+\"px\";a.style.top=b.y+\"px\"};\nBlockly.FieldTextInput.prototype.widgetDispose_=function(){var a=this;return function(){var b=Blockly.FieldTextInput.htmlInput_;a.maybeSaveEdit_();a.unbindEvents_(b);Blockly.FieldTextInput.htmlInput_=null;Blockly.Events.setGroup(!1);b=Blockly.WidgetDiv.DIV.style;b.width=\"auto\";b.height=\"auto\";b.fontSize=\"\"}};\nBlockly.FieldTextInput.prototype.maybeSaveEdit_=function(){var a=Blockly.FieldTextInput.htmlInput_,b=a.value;if(this.sourceBlock_)if(b=this.callValidator(b),null===b)b=a.defaultValue;else if(this.onFinishEditing_)this.onFinishEditing_(b);this.setText(b);this.sourceBlock_.rendered&&this.sourceBlock_.render()};\nBlockly.FieldTextInput.numberValidator=function(a){console.warn(\"Blockly.FieldTextInput.numberValidator is deprecated. Use Blockly.FieldNumber instead.\");if(null===a)return null;a=String(a);a=a.replace(/O/ig,\"0\");a=a.replace(/,/g,\"\");a=parseFloat(a||0);return isNaN(a)?null:String(a)};Blockly.FieldTextInput.nonnegativeIntegerValidator=function(a){(a=Blockly.FieldTextInput.numberValidator(a))&&(a=String(Math.max(0,Math.floor(a))));return a};Blockly.FieldAngle=function(a,b){this.symbol_=Blockly.utils.createSvgElement(\"tspan\",{},null);this.symbol_.appendChild(document.createTextNode(\"\\u00b0\"));a=a&&!isNaN(a)?String(a):\"0\";Blockly.FieldAngle.superClass_.constructor.call(this,a,b)};goog.inherits(Blockly.FieldAngle,Blockly.FieldTextInput);Blockly.FieldAngle.ROUND=15;Blockly.FieldAngle.HALF=50;Blockly.FieldAngle.CLOCKWISE=!1;Blockly.FieldAngle.OFFSET=0;Blockly.FieldAngle.WRAP=360;Blockly.FieldAngle.RADIUS=Blockly.FieldAngle.HALF-1;\nBlockly.FieldAngle.prototype.render_=function(){this.visible_?(this.textElement_.textContent=this.getDisplayText_(),this.sourceBlock_.RTL?this.textElement_.insertBefore(this.symbol_,this.textElement_.firstChild):this.textElement_.appendChild(this.symbol_),this.updateWidth()):this.size_.width=0};\nBlockly.FieldAngle.prototype.dispose_=function(){var a=this;return function(){Blockly.FieldAngle.superClass_.dispose_.call(a)();a.gauge_=null;a.clickWrapper_&&Blockly.unbindEvent_(a.clickWrapper_);a.moveWrapper1_&&Blockly.unbindEvent_(a.moveWrapper1_);a.moveWrapper2_&&Blockly.unbindEvent_(a.moveWrapper2_)}};\nBlockly.FieldAngle.prototype.showEditor_=function(){Blockly.FieldAngle.superClass_.showEditor_.call(this,goog.userAgent.MOBILE||goog.userAgent.ANDROID||goog.userAgent.IPAD);var a=Blockly.WidgetDiv.DIV;if(a.firstChild){a=Blockly.utils.createSvgElement(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",\"xmlns:html\":\"http://www.w3.org/1999/xhtml\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",version:\"1.1\",height:2*Blockly.FieldAngle.HALF+\"px\",width:2*Blockly.FieldAngle.HALF+\"px\"},a);var b=Blockly.utils.createSvgElement(\"circle\",\n{cx:Blockly.FieldAngle.HALF,cy:Blockly.FieldAngle.HALF,r:Blockly.FieldAngle.RADIUS,\"class\":\"blocklyAngleCircle\"},a);this.gauge_=Blockly.utils.createSvgElement(\"path\",{\"class\":\"blocklyAngleGauge\"},a);this.line_=Blockly.utils.createSvgElement(\"line\",{x1:Blockly.FieldAngle.HALF,y1:Blockly.FieldAngle.HALF,\"class\":\"blocklyAngleLine\"},a);for(var c=0;360>c;c+=15)Blockly.utils.createSvgElement(\"line\",{x1:Blockly.FieldAngle.HALF+Blockly.FieldAngle.RADIUS,y1:Blockly.FieldAngle.HALF,x2:Blockly.FieldAngle.HALF+\nBlockly.FieldAngle.RADIUS-(0==c%45?10:5),y2:Blockly.FieldAngle.HALF,\"class\":\"blocklyAngleMarks\",transform:\"rotate(\"+c+\",\"+Blockly.FieldAngle.HALF+\",\"+Blockly.FieldAngle.HALF+\")\"},a);a.style.marginLeft=15-Blockly.FieldAngle.RADIUS+\"px\";this.clickWrapper_=Blockly.bindEvent_(a,\"click\",this,Blockly.WidgetDiv.hide);this.moveWrapper1_=Blockly.bindEvent_(b,\"mousemove\",this,this.onMouseMove);this.moveWrapper2_=Blockly.bindEvent_(this.gauge_,\"mousemove\",this,this.onMouseMove);this.updateGraph_()}};\nBlockly.FieldAngle.prototype.onMouseMove=function(a){var b=this.gauge_.ownerSVGElement.getBoundingClientRect(),c=a.clientX-b.left-Blockly.FieldAngle.HALF;a=a.clientY-b.top-Blockly.FieldAngle.HALF;b=Math.atan(-a/c);isNaN(b)||(b=goog.math.toDegrees(b),0>c?b+=180:0<a&&(b+=360),b=Blockly.FieldAngle.CLOCKWISE?Blockly.FieldAngle.OFFSET+360-b:b-Blockly.FieldAngle.OFFSET,Blockly.FieldAngle.ROUND&&(b=Math.round(b/Blockly.FieldAngle.ROUND)*Blockly.FieldAngle.ROUND),b=this.callValidator(b),Blockly.FieldTextInput.htmlInput_.value=\nb,this.setValue(b),this.validate_(),this.resizeEditor_())};Blockly.FieldAngle.prototype.setText=function(a){Blockly.FieldAngle.superClass_.setText.call(this,a);this.textElement_&&(this.updateGraph_(),this.size_.width=0)};\nBlockly.FieldAngle.prototype.updateGraph_=function(){if(this.gauge_){var a=Number(this.getText())+Blockly.FieldAngle.OFFSET,b=goog.math.toRadians(a);a=[\"M \",Blockly.FieldAngle.HALF,\",\",Blockly.FieldAngle.HALF];var c=Blockly.FieldAngle.HALF,d=Blockly.FieldAngle.HALF;if(!isNaN(b)){var e=goog.math.toRadians(Blockly.FieldAngle.OFFSET),f=Math.cos(e)*Blockly.FieldAngle.RADIUS,g=Math.sin(e)*-Blockly.FieldAngle.RADIUS;Blockly.FieldAngle.CLOCKWISE&&(b=2*e-b);c+=Math.cos(b)*Blockly.FieldAngle.RADIUS;d-=Math.sin(b)*\nBlockly.FieldAngle.RADIUS;b=Math.abs(Math.floor((b-e)/Math.PI)%2);Blockly.FieldAngle.CLOCKWISE&&(b=1-b);a.push(\" l \",f,\",\",g,\" A \",Blockly.FieldAngle.RADIUS,\",\",Blockly.FieldAngle.RADIUS,\" 0 \",b,\" \",Number(Blockly.FieldAngle.CLOCKWISE),\" \",c,\",\",d,\" z\")}this.gauge_.setAttribute(\"d\",a.join(\"\"));this.line_.setAttribute(\"x2\",c);this.line_.setAttribute(\"y2\",d)}};\nBlockly.FieldAngle.prototype.classValidator=function(a){if(null===a)return null;a=parseFloat(a||0);if(isNaN(a))return null;a%=360;0>a&&(a+=360);a>Blockly.FieldAngle.WRAP&&(a-=360);return String(a)};Blockly.FieldCheckbox=function(a,b){Blockly.FieldCheckbox.superClass_.constructor.call(this,\"\",b);this.setValue(a)};goog.inherits(Blockly.FieldCheckbox,Blockly.Field);Blockly.FieldCheckbox.CHECK_CHAR=\"\\u2713\";Blockly.FieldCheckbox.prototype.CURSOR=\"default\";\nBlockly.FieldCheckbox.prototype.init=function(){if(!this.fieldGroup_){Blockly.FieldCheckbox.superClass_.init.call(this);this.checkElement_=Blockly.utils.createSvgElement(\"text\",{\"class\":\"blocklyText blocklyCheckbox\",x:-3,y:14},this.fieldGroup_);var a=document.createTextNode(Blockly.FieldCheckbox.CHECK_CHAR);this.checkElement_.appendChild(a);this.checkElement_.style.display=this.state_?\"block\":\"none\"}};Blockly.FieldCheckbox.prototype.getValue=function(){return String(this.state_).toUpperCase()};\nBlockly.FieldCheckbox.prototype.setValue=function(a){a=\"string\"==typeof a?\"TRUE\"==a.toUpperCase():!!a;this.state_!==a&&(this.sourceBlock_&&Blockly.Events.isEnabled()&&Blockly.Events.fire(new Blockly.Events.BlockChange(this.sourceBlock_,\"field\",this.name,this.state_,a)),this.state_=a,this.checkElement_&&(this.checkElement_.style.display=a?\"block\":\"none\"))};Blockly.FieldCheckbox.prototype.showEditor_=function(){var a=!this.state_;this.sourceBlock_&&(a=this.callValidator(a));null!==a&&this.setValue(String(a).toUpperCase())};Blockly.FieldColour=function(a,b){Blockly.FieldColour.superClass_.constructor.call(this,a,b);this.setText(Blockly.Field.NBSP+Blockly.Field.NBSP+Blockly.Field.NBSP)};goog.inherits(Blockly.FieldColour,Blockly.Field);Blockly.FieldColour.prototype.colours_=null;Blockly.FieldColour.prototype.columns_=0;Blockly.FieldColour.prototype.init=function(){Blockly.FieldColour.superClass_.init.call(this);this.borderRect_.style.fillOpacity=1;this.setValue(this.getValue())};Blockly.FieldColour.prototype.CURSOR=\"default\";\nBlockly.FieldColour.prototype.dispose=function(){Blockly.WidgetDiv.hideIfOwner(this);Blockly.FieldColour.superClass_.dispose.call(this)};Blockly.FieldColour.prototype.getValue=function(){return this.colour_};Blockly.FieldColour.prototype.setValue=function(a){this.sourceBlock_&&Blockly.Events.isEnabled()&&this.colour_!=a&&Blockly.Events.fire(new Blockly.Events.BlockChange(this.sourceBlock_,\"field\",this.name,this.colour_,a));this.colour_=a;this.borderRect_&&(this.borderRect_.style.fill=a)};\nBlockly.FieldColour.prototype.getText=function(){var a=this.colour_,b=a.match(/^#(.)\\1(.)\\2(.)\\3$/);b&&(a=\"#\"+b[1]+b[2]+b[3]);return a};Blockly.FieldColour.COLOURS=goog.ui.ColorPicker.SIMPLE_GRID_COLORS;Blockly.FieldColour.COLUMNS=7;Blockly.FieldColour.prototype.setColours=function(a){this.colours_=a;return this};Blockly.FieldColour.prototype.setColumns=function(a){this.columns_=a;return this};\nBlockly.FieldColour.prototype.showEditor_=function(){Blockly.WidgetDiv.show(this,this.sourceBlock_.RTL,Blockly.FieldColour.widgetDispose_);var a=Blockly.utils.getViewportBBox(),b=this.getScaledBBox_(),c=this.createWidget_(),d=goog.style.getSize(c.getElement());Blockly.WidgetDiv.positionWithAnchor(a,b,d,this.sourceBlock_.RTL);var e=this;Blockly.FieldColour.changeEventKey_=goog.events.listen(c,goog.ui.ColorPicker.EventType.CHANGE,function(a){a=a.target.getSelectedColor()||\"#000000\";Blockly.WidgetDiv.hide();\ne.sourceBlock_&&(a=e.callValidator(a));null!==a&&e.setValue(a)})};Blockly.FieldColour.prototype.createWidget_=function(){var a=new goog.ui.ColorPicker;a.setSize(this.columns_||Blockly.FieldColour.COLUMNS);a.setColors(this.colours_||Blockly.FieldColour.COLOURS);a.render(Blockly.WidgetDiv.DIV);a.setSelectedColor(this.getValue());return a};Blockly.FieldColour.widgetDispose_=function(){Blockly.FieldColour.changeEventKey_&&goog.events.unlistenByKey(Blockly.FieldColour.changeEventKey_);Blockly.Events.setGroup(!1)};Blockly.FieldDropdown=function(a,b){this.menuGenerator_=a;this.trimOptions_();var c=this.getOptions()[0];Blockly.FieldDropdown.superClass_.constructor.call(this,c[1],b)};goog.inherits(Blockly.FieldDropdown,Blockly.Field);Blockly.FieldDropdown.CHECKMARK_OVERHANG=25;Blockly.FieldDropdown.ARROW_CHAR=goog.userAgent.ANDROID?\"\\u25bc\":\"\\u25be\";Blockly.FieldDropdown.prototype.CURSOR=\"default\";Blockly.FieldDropdown.prototype.value_=\"\";Blockly.FieldDropdown.prototype.imageElement_=null;\nBlockly.FieldDropdown.prototype.imageJson_=null;Blockly.FieldDropdown.prototype.init=function(){if(!this.fieldGroup_){this.arrow_=Blockly.utils.createSvgElement(\"tspan\",{},null);this.arrow_.appendChild(document.createTextNode(this.sourceBlock_.RTL?Blockly.FieldDropdown.ARROW_CHAR+\" \":\" \"+Blockly.FieldDropdown.ARROW_CHAR));Blockly.FieldDropdown.superClass_.init.call(this);var a=this.text_;this.text_=null;this.setText(a)}};\nBlockly.FieldDropdown.prototype.showEditor_=function(){Blockly.WidgetDiv.show(this,this.sourceBlock_.RTL,null);var a=this.createMenu_();this.addEventListeners_(a);this.positionMenu_(a)};Blockly.FieldDropdown.prototype.addEventListeners_=function(a){this.addActionListener_(a);this.addTouchStartListener_(a);this.addTouchEndListener_(a)};\nBlockly.FieldDropdown.prototype.addActionListener_=function(a){var b=this;goog.events.listen(a,goog.ui.Component.EventType.ACTION,function(a){if(a=a.target)b.onItemSelected(this,a);Blockly.WidgetDiv.hideIfOwner(b);Blockly.Events.setGroup(!1)})};Blockly.FieldDropdown.prototype.addTouchStartListener_=function(a){a.getHandler().listen(a.getElement(),goog.events.EventType.TOUCHSTART,function(a){this.getOwnerControl(a.target).handleMouseDown(a)})};\nBlockly.FieldDropdown.prototype.addTouchEndListener_=function(a){a.getHandler().listen(a.getElement(),goog.events.EventType.TOUCHEND,function(a){this.getOwnerControl(a.target).performActionInternal(a)})};\nBlockly.FieldDropdown.prototype.createMenu_=function(){var a=new goog.ui.Menu;a.setRightToLeft(this.sourceBlock_.RTL);for(var b=this.getOptions(),c=0;c<b.length;c++){var d=b[c][0],e=b[c][1];if(\"object\"==typeof d){var f=new Image(d.width,d.height);f.src=d.src;f.alt=d.alt||\"\";d=f}d=new goog.ui.MenuItem(d);d.setRightToLeft(this.sourceBlock_.RTL);d.setValue(e);d.setCheckable(!0);a.addChild(d,!0);d.setChecked(e==this.value_)}return a};\nBlockly.FieldDropdown.prototype.positionMenu_=function(a){var b=Blockly.utils.getViewportBBox(),c=this.getAnchorDimensions_();this.createWidget_(a);var d=Blockly.utils.uiMenu.getSize(a);this.sourceBlock_.RTL&&Blockly.utils.uiMenu.adjustBBoxesForRTL(b,c,d);Blockly.WidgetDiv.positionWithAnchor(b,c,d,this.sourceBlock_.RTL);a.getElement().focus()};Blockly.FieldDropdown.prototype.createWidget_=function(a){a.render(Blockly.WidgetDiv.DIV);Blockly.utils.addClass(a.getElement(),\"blocklyDropdownMenu\");a.setAllowAutoFocus(!0)};\nBlockly.FieldDropdown.prototype.getAnchorDimensions_=function(){var a=this.getScaledBBox_();this.sourceBlock_.RTL?a.right+=Blockly.FieldDropdown.CHECKMARK_OVERHANG:a.left-=Blockly.FieldDropdown.CHECKMARK_OVERHANG;return a};Blockly.FieldDropdown.prototype.onItemSelected=function(a,b){var c=b.getValue();this.sourceBlock_&&(c=this.callValidator(c));null!==c&&this.setValue(c)};\nBlockly.FieldDropdown.prototype.trimOptions_=function(){this.suffixField=this.prefixField=null;var a=this.menuGenerator_;if(goog.isArray(a)){for(var b=!1,c=0;c<a.length;c++){var d=a[c][0];\"string\"==typeof d?a[c][0]=Blockly.utils.replaceMessageReferences(d):(null!=d.alt&&(a[c][0].alt=Blockly.utils.replaceMessageReferences(d.alt)),b=!0)}if(!(b||2>a.length)){b=[];for(c=0;c<a.length;c++)b.push(a[c][0]);c=Blockly.utils.shortestStringLength(b);d=Blockly.utils.commonWordPrefix(b,c);var e=Blockly.utils.commonWordSuffix(b,\nc);!d&&!e||c<=d+e||(d&&(this.prefixField=b[0].substring(0,d-1)),e&&(this.suffixField=b[0].substr(1-e)),this.menuGenerator_=Blockly.FieldDropdown.applyTrim_(a,d,e))}}};Blockly.FieldDropdown.applyTrim_=function(a,b,c){for(var d=[],e=0;e<a.length;e++){var f=a[e][0],g=a[e][1];f=f.substring(b,f.length-c);d[e]=[f,g]}return d};Blockly.FieldDropdown.prototype.isOptionListDynamic=function(){return goog.isFunction(this.menuGenerator_)};\nBlockly.FieldDropdown.prototype.getOptions=function(){return goog.isFunction(this.menuGenerator_)?this.menuGenerator_.call(this):this.menuGenerator_};Blockly.FieldDropdown.prototype.getValue=function(){return this.value_};\nBlockly.FieldDropdown.prototype.setValue=function(a){if(null!==a&&a!==this.value_){this.sourceBlock_&&Blockly.Events.isEnabled()&&Blockly.Events.fire(new Blockly.Events.BlockChange(this.sourceBlock_,\"field\",this.name,this.value_,a));this.value_=a;for(var b=this.getOptions(),c=0;c<b.length;c++)if(b[c][1]==a){a=b[c][0];\"object\"==typeof a?(this.imageJson_=a,this.text_=a.alt):(this.imageJson_=null,this.text_=a);this.forceRerender();return}this.text_=a;this.forceRerender()}};\nBlockly.FieldDropdown.prototype.render_=function(){this.visible_?(this.sourceBlock_&&this.arrow_&&(this.arrow_.style.fill=this.sourceBlock_.getColour()),goog.dom.removeChildren(this.textElement_),goog.dom.removeNode(this.imageElement_),this.imageElement_=null,this.imageJson_?this.renderSelectedImage_():this.renderSelectedText_(),this.borderRect_.setAttribute(\"height\",this.size_.height-9),this.borderRect_.setAttribute(\"width\",this.size_.width+Blockly.BlockSvg.SEP_SPACE_X)):this.size_.width=0};\nBlockly.FieldDropdown.prototype.renderSelectedImage_=function(){this.imageElement_=Blockly.utils.createSvgElement(\"image\",{y:5,height:this.imageJson_.height+\"px\",width:this.imageJson_.width+\"px\"},this.fieldGroup_);this.imageElement_.setAttributeNS(\"http://www.w3.org/1999/xlink\",\"xlink:href\",this.imageJson_.src);this.textElement_.appendChild(this.arrow_);var a=Blockly.Field.getCachedWidth(this.arrow_);this.size_.height=Number(this.imageJson_.height)+19;this.size_.width=Number(this.imageJson_.width)+\na;this.sourceBlock_.RTL?(this.imageElement_.setAttribute(\"x\",a),this.textElement_.setAttribute(\"x\",-1)):(this.textElement_.setAttribute(\"text-anchor\",\"end\"),this.textElement_.setAttribute(\"x\",this.size_.width+1))};\nBlockly.FieldDropdown.prototype.renderSelectedText_=function(){var a=document.createTextNode(this.getDisplayText_());this.textElement_.appendChild(a);this.sourceBlock_.RTL?this.textElement_.insertBefore(this.arrow_,this.textElement_.firstChild):this.textElement_.appendChild(this.arrow_);this.textElement_.setAttribute(\"text-anchor\",\"start\");this.textElement_.setAttribute(\"x\",0);this.size_.height=Blockly.BlockSvg.MIN_BLOCK_Y;this.size_.width=Blockly.Field.getCachedWidth(this.textElement_)};\nBlockly.FieldDropdown.prototype.updateWidth=function(){if(this.imageJson_&&(goog.userAgent.IE||goog.userAgent.EDGE)){var a=Blockly.Field.getCachedWidth(this.arrow_);a=Number(this.imageJson_.width)+a+Blockly.BlockSvg.SEP_SPACE_X;this.borderRect_&&this.borderRect_.setAttribute(\"width\",a);this.size_.width=a}else Blockly.Field.prototype.updateWidth.call(this)};Blockly.FieldDropdown.prototype.dispose=function(){Blockly.WidgetDiv.hideIfOwner(this);Blockly.FieldDropdown.superClass_.dispose.call(this)};Blockly.FieldImage=function(a,b,c,d,e){this.sourceBlock_=null;this.height_=Number(c);this.width_=Number(b);this.size_=new goog.math.Size(this.width_,this.height_+2*Blockly.BlockSvg.INLINE_PADDING_Y);this.text_=d||\"\";this.setValue(a);\"function\"===typeof e&&(this.clickHandler_=e)};goog.inherits(Blockly.FieldImage,Blockly.Field);Blockly.FieldImage.prototype.EDITABLE=!1;\nBlockly.FieldImage.prototype.init=function(){this.fieldGroup_||(this.fieldGroup_=Blockly.utils.createSvgElement(\"g\",{},null),this.visible_||(this.fieldGroup_.style.display=\"none\"),this.imageElement_=Blockly.utils.createSvgElement(\"image\",{height:this.height_+\"px\",width:this.width_+\"px\"},this.fieldGroup_),this.setValue(this.src_),this.sourceBlock_.getSvgRoot().appendChild(this.fieldGroup_),this.setTooltip(this.sourceBlock_),Blockly.Tooltip.bindMouseEvents(this.imageElement_),this.maybeAddClickHandler_())};\nBlockly.FieldImage.prototype.dispose=function(){goog.dom.removeNode(this.fieldGroup_);this.imageElement_=this.fieldGroup_=null};Blockly.FieldImage.prototype.maybeAddClickHandler_=function(){this.clickHandler_&&(this.mouseDownWrapper_=Blockly.bindEventWithChecks_(this.fieldGroup_,\"mousedown\",this,this.onMouseDown_))};Blockly.FieldImage.prototype.setTooltip=function(a){this.imageElement_.tooltip=a};Blockly.FieldImage.prototype.getValue=function(){return this.src_};\nBlockly.FieldImage.prototype.setValue=function(a){null!==a&&(this.src_=a,this.imageElement_&&this.imageElement_.setAttributeNS(\"http://www.w3.org/1999/xlink\",\"xlink:href\",a||\"\"))};Blockly.FieldImage.prototype.setText=function(a){null!==a&&(this.text_=a)};Blockly.FieldImage.prototype.render_=function(){};Blockly.FieldImage.prototype.updateWidth=function(){};Blockly.FieldImage.prototype.showEditor_=function(){this.clickHandler_&&this.clickHandler_(this)};Blockly.FieldNumber=function(a,b,c,d,e){a=a&&!isNaN(a)?String(a):\"0\";Blockly.FieldNumber.superClass_.constructor.call(this,a,e);this.setConstraints(b,c,d)};goog.inherits(Blockly.FieldNumber,Blockly.FieldTextInput);Blockly.FieldNumber.prototype.setConstraints=function(a,b,c){c=parseFloat(c);this.precision_=isNaN(c)?0:c;a=parseFloat(a);this.min_=isNaN(a)?-Infinity:a;b=parseFloat(b);this.max_=isNaN(b)?Infinity:b;this.setValue(this.callValidator(this.getValue()))};\nBlockly.FieldNumber.prototype.classValidator=function(a){if(null===a)return null;a=String(a);a=a.replace(/O/ig,\"0\");a=a.replace(/,/g,\"\");a=parseFloat(a||0);if(isNaN(a))return null;this.precision_&&isFinite(a)&&(a=Math.round(a/this.precision_)*this.precision_);a=goog.math.clamp(a,this.min_,this.max_);return String(a)};Blockly.VariableModel=function(a,b,c,d){this.workspace=a;this.name=b;this.type=c||\"\";this.id_=d||Blockly.utils.genUid();Blockly.Events.fire(new Blockly.Events.VarCreate(this))};Blockly.VariableModel.prototype.getId=function(){return this.id_};Blockly.VariableModel.compareByName=function(a,b){return goog.string.caseInsensitiveCompare(a.name,b.name)};Blockly.Variables={};Blockly.Variables.NAME_TYPE=Blockly.VARIABLE_CATEGORY_NAME;Blockly.Variables.allUsedVariables=function(a){if(a instanceof Blockly.Block)var b=a.getDescendants();else if(a.getAllBlocks)b=a.getAllBlocks();else throw\"Not Block or Workspace: \"+a;a=Object.create(null);for(var c=0;c<b.length;c++){var d=b[c].getVars();if(d)for(var e=0;e<d.length;e++){var f=d[e];f&&(a[f.toLowerCase()]=f)}}b=[];for(var g in a)b.push(a[g]);return b};\nBlockly.Variables.allVariables=function(a){return a instanceof Blockly.Block?(console.warn(\"Deprecated call to Blockly.Variables.allVariables with a block instead of a workspace.  You may want Blockly.Variables.allUsedVariables\"),{}):a.getAllVariables()};\nBlockly.Variables.flyoutCategory=function(a){var b=[],c=goog.dom.createDom(\"button\");c.setAttribute(\"text\",Blockly.Msg.NEW_VARIABLE);c.setAttribute(\"callbackKey\",\"CREATE_VARIABLE\");a.registerButtonCallback(\"CREATE_VARIABLE\",function(a){Blockly.Variables.createVariable(a.getTargetWorkspace())});b.push(c);a=Blockly.Variables.flyoutCategoryBlocks(a);return b=b.concat(a)};\nBlockly.Variables.flyoutCategoryBlocks=function(a){a=a.getVariablesOfType(\"\");a.sort(Blockly.VariableModel.compareByName);var b=[];if(0<a.length){var c=a[0];if(Blockly.Blocks.variables_set){var d=Blockly.Blocks.math_change?8:24;d='<xml><block type=\"variables_set\" gap=\"'+d+'\">'+Blockly.Variables.generateVariableFieldXml_(c)+\"</block></xml>\";d=Blockly.Xml.textToDom(d).firstChild;b.push(d)}Blockly.Blocks.math_change&&(d=Blockly.Blocks.variables_get?20:8,d='<xml><block type=\"math_change\" gap=\"'+d+'\">'+\nBlockly.Variables.generateVariableFieldXml_(c)+'<value name=\"DELTA\"><shadow type=\"math_number\"><field name=\"NUM\">1</field></shadow></value></block></xml>',d=Blockly.Xml.textToDom(d).firstChild,b.push(d));for(c=0;d=a[c];c++)Blockly.Blocks.variables_get&&(d='<xml><block type=\"variables_get\" gap=\"8\">'+Blockly.Variables.generateVariableFieldXml_(d)+\"</block></xml>\",d=Blockly.Xml.textToDom(d).firstChild,b.push(d))}return b};\nBlockly.Variables.generateUniqueName=function(a){a=a.getAllVariables();var b=\"\";if(a.length)for(var c=1,d=0,e=\"ijkmnopqrstuvwxyzabcdefgh\".charAt(d);!b;){for(var f=!1,g=0;g<a.length;g++)if(a[g].name.toLowerCase()==e){f=!0;break}f?(d++,25==d&&(d=0,c++),e=\"ijkmnopqrstuvwxyzabcdefgh\".charAt(d),1<c&&(e+=c)):b=e}else b=\"i\";return b};\nBlockly.Variables.createVariable=function(a,b,c){var d=function(e){Blockly.Variables.promptName(Blockly.Msg.NEW_VARIABLE_TITLE,e,function(e){e?a.getVariable(e)?Blockly.alert(Blockly.Msg.VARIABLE_ALREADY_EXISTS.replace(\"%1\",e.toLowerCase()),function(){d(e)}):Blockly.Procedures.isNameUsed(e,a)?Blockly.alert(Blockly.Msg.PROCEDURE_ALREADY_EXISTS.replace(\"%1\",e.toLowerCase()),function(){d(e)}):(a.createVariable(e,c),b&&b(e)):b&&b(null)})};d(\"\")};\nBlockly.Variables.renameVariable=function(a,b,c){var d=function(e){Blockly.Variables.promptName(Blockly.Msg.RENAME_VARIABLE_TITLE.replace(\"%1\",b.name),e,function(e){if(e){var f=a.getVariable(e);f&&f.type!=b.type?Blockly.alert(Blockly.Msg.VARIABLE_ALREADY_EXISTS_FOR_ANOTHER_TYPE.replace(\"%1\",e.toLowerCase()).replace(\"%2\",f.type),function(){d(e)}):Blockly.Procedures.isNameUsed(e,a)?Blockly.alert(Blockly.Msg.PROCEDURE_ALREADY_EXISTS.replace(\"%1\",e.toLowerCase()),function(){d(e)}):(a.renameVariable(b.name,\ne),c&&c(e))}else c&&c(null)})};d(\"\")};Blockly.Variables.promptName=function(a,b,c){Blockly.prompt(a,b,function(a){a&&(a=a.replace(/[\\s\\xa0]+/g,\" \").replace(/^ | $/g,\"\"),a==Blockly.Msg.RENAME_VARIABLE||a==Blockly.Msg.NEW_VARIABLE)&&(a=null);c(a)})};Blockly.Variables.generateVariableFieldXml_=function(a){var b=goog.dom.createDom(\"field\");b.setAttribute(\"name\",\"VAR\");b.setAttribute(\"variableType\",a.type);b.setAttribute(\"id\",a.getId());b.textContent=a.name;return Blockly.Xml.domToText(b)};Blockly.FieldVariable=function(a,b,c){Blockly.FieldVariable.superClass_.constructor.call(this,Blockly.FieldVariable.dropdownCreate,b);this.setValue(a||\"\");this.variableTypes=c};goog.inherits(Blockly.FieldVariable,Blockly.FieldDropdown);Blockly.FieldVariable.prototype.init=function(){this.fieldGroup_||(Blockly.FieldVariable.superClass_.init.call(this),this.initModel())};\nBlockly.FieldVariable.prototype.initModel=function(){this.getValue()||this.setValue(Blockly.Variables.generateUniqueName(this.sourceBlock_.isInFlyout?this.sourceBlock_.workspace.targetWorkspace:this.sourceBlock_.workspace));this.sourceBlock_.isInFlyout||this.sourceBlock_.workspace.createVariable(this.getValue())};\nBlockly.FieldVariable.prototype.setSourceBlock=function(a){goog.asserts.assert(!a.isShadow(),\"Variable fields are not allowed to exist on shadow blocks.\");Blockly.FieldVariable.superClass_.setSourceBlock.call(this,a)};Blockly.FieldVariable.prototype.getValue=function(){return this.getText()};\nBlockly.FieldVariable.prototype.setValue=function(a){var b=a,c=a;if(this.sourceBlock_){var d=this.sourceBlock_.workspace.getVariableById(a);if(d)c=d.name;else if(d=this.sourceBlock_.workspace.getVariable(a))b=d.getId();Blockly.Events.isEnabled()&&Blockly.Events.fire(new Blockly.Events.BlockChange(this.sourceBlock_,\"field\",this.name,this.value_,b))}this.value_=b;this.setText(c)};\nBlockly.FieldVariable.prototype.getVariableTypes_=function(){var a=this.variableTypes;if(null===a&&this.sourceBlock_)return this.sourceBlock_.workspace.getVariableTypes();a=a||[\"\"];if(0==a.length)throw a=this.getText(),Error(\"'variableTypes' of field variable \"+a+\" was an empty list\");return a};\nBlockly.FieldVariable.dropdownCreate=function(){var a=[],b=this.getText(),c=b?!0:!1,d=null;this.sourceBlock_&&(d=this.sourceBlock_.workspace);if(d){var e=this.getVariableTypes_();a=[];for(var f=0;f<e.length;f++){var g=d.getVariablesOfType(e[f]);a=a.concat(g)}for(f=0;f<a.length;f++)if(c&&goog.string.caseInsensitiveEquals(a[f].name,b)){c=!1;break}}c&&d&&(f=d.createVariable(b),a.push(f));a.sort(Blockly.VariableModel.compareByName);c=[];for(f=0;f<a.length;f++)c[f]=[a[f].name,a[f].getId()];c.push([Blockly.Msg.RENAME_VARIABLE,\nBlockly.RENAME_VARIABLE_ID]);Blockly.Msg.DELETE_VARIABLE&&c.push([Blockly.Msg.DELETE_VARIABLE.replace(\"%1\",b),Blockly.DELETE_VARIABLE_ID]);return c};\nBlockly.FieldVariable.prototype.onItemSelected=function(a,b){var c=b.getValue();if(this.sourceBlock_&&this.sourceBlock_.workspace){var d=this.sourceBlock_.workspace,e=d.getVariableById(c);if(e)var f=e.name;else{if(c==Blockly.RENAME_VARIABLE_ID){c=this.getText();e=d.getVariable(c);Blockly.Variables.renameVariable(d,e);return}if(c==Blockly.DELETE_VARIABLE_ID){d.deleteVariable(this.getText());return}}f=this.callValidator(f)}null!==f&&this.setValue(f)};Blockly.Generator=function(a){this.name_=a;this.FUNCTION_NAME_PLACEHOLDER_REGEXP_=new RegExp(this.FUNCTION_NAME_PLACEHOLDER_,\"g\")};Blockly.Generator.NAME_TYPE=\"generated_function\";Blockly.Generator.prototype.INFINITE_LOOP_TRAP=null;Blockly.Generator.prototype.STATEMENT_PREFIX=null;Blockly.Generator.prototype.INDENT=\"  \";Blockly.Generator.prototype.COMMENT_WRAP=60;Blockly.Generator.prototype.ORDER_OVERRIDES=[];\nBlockly.Generator.prototype.workspaceToCode=function(a){a||(console.warn(\"No workspace specified in workspaceToCode call.  Guessing.\"),a=Blockly.getMainWorkspace());var b=[];this.init(a);a=a.getTopBlocks(!0);for(var c=0,d;d=a[c];c++){var e=this.blockToCode(d);goog.isArray(e)&&(e=e[0]);e&&(d.outputConnection&&this.scrubNakedValue&&(e=this.scrubNakedValue(e)),b.push(e))}b=b.join(\"\\n\");b=this.finish(b);b=b.replace(/^\\s+\\n/,\"\");b=b.replace(/\\n\\s+$/,\"\\n\");return b=b.replace(/[ \\t]+\\n/g,\"\\n\")};\nBlockly.Generator.prototype.prefixLines=function(a,b){return b+a.replace(/(?!\\n$)\\n/g,\"\\n\"+b)};Blockly.Generator.prototype.allNestedComments=function(a){var b=[];a=a.getDescendants();for(var c=0;c<a.length;c++){var d=a[c].getCommentText();d&&b.push(d)}b.length&&b.push(\"\");return b.join(\"\\n\")};\nBlockly.Generator.prototype.blockToCode=function(a){if(!a)return\"\";if(a.disabled)return this.blockToCode(a.getNextBlock());var b=this[a.type];goog.asserts.assertFunction(b,'Language \"%s\" does not know how to generate code for block type \"%s\".',this.name_,a.type);b=b.call(a,a);if(goog.isArray(b))return goog.asserts.assert(a.outputConnection,'Expecting string from statement block \"%s\".',a.type),[this.scrub_(a,b[0]),b[1]];if(goog.isString(b)){var c=a.id.replace(/\\$/g,\"$$$$\");this.STATEMENT_PREFIX&&(b=\nthis.STATEMENT_PREFIX.replace(/%1/g,\"'\"+c+\"'\")+b);return this.scrub_(a,b)}if(null===b)return\"\";goog.asserts.fail(\"Invalid code generated: %s\",b)};\nBlockly.Generator.prototype.valueToCode=function(a,b,c){isNaN(c)&&goog.asserts.fail('Expecting valid order from block \"%s\".',a.type);var d=a.getInputTargetBlock(b);if(!d)return\"\";b=this.blockToCode(d);if(\"\"===b)return\"\";goog.asserts.assertArray(b,'Expecting tuple from value block \"%s\".',d.type);a=b[0];b=b[1];isNaN(b)&&goog.asserts.fail('Expecting valid order from value block \"%s\".',d.type);if(!a)return\"\";d=!1;var e=Math.floor(c),f=Math.floor(b);if(e<=f&&(e!=f||0!=e&&99!=e))for(d=!0,e=0;e<this.ORDER_OVERRIDES.length;e++)if(this.ORDER_OVERRIDES[e][0]==\nc&&this.ORDER_OVERRIDES[e][1]==b){d=!1;break}d&&(a=\"(\"+a+\")\");return a};Blockly.Generator.prototype.statementToCode=function(a,b){var c=a.getInputTargetBlock(b),d=this.blockToCode(c);goog.asserts.assertString(d,'Expecting code from statement block \"%s\".',c&&c.type);d&&(d=this.prefixLines(d,this.INDENT));return d};\nBlockly.Generator.prototype.addLoopTrap=function(a,b){b=b.replace(/\\$/g,\"$$$$\");this.INFINITE_LOOP_TRAP&&(a=this.INFINITE_LOOP_TRAP.replace(/%1/g,\"'\"+b+\"'\")+a);this.STATEMENT_PREFIX&&(a+=this.prefixLines(this.STATEMENT_PREFIX.replace(/%1/g,\"'\"+b+\"'\"),this.INDENT));return a};Blockly.Generator.prototype.RESERVED_WORDS_=\"\";Blockly.Generator.prototype.addReservedWords=function(a){this.RESERVED_WORDS_+=a+\",\"};Blockly.Generator.prototype.FUNCTION_NAME_PLACEHOLDER_=\"{leCUI8hutHZI4480Dc}\";\nBlockly.Generator.prototype.provideFunction_=function(a,b){if(!this.definitions_[a]){var c=this.variableDB_.getDistinctName(a,Blockly.Procedures.NAME_TYPE);this.functionNames_[a]=c;c=b.join(\"\\n\").replace(this.FUNCTION_NAME_PLACEHOLDER_REGEXP_,c);for(var d;d!=c;)d=c,c=c.replace(/^((  )*)  /gm,\"$1\\x00\");c=c.replace(/\\0/g,this.INDENT);this.definitions_[a]=c}return this.functionNames_[a]};Blockly.Generator.prototype.init=void 0;Blockly.Generator.prototype.scrub_=void 0;\nBlockly.Generator.prototype.finish=void 0;Blockly.Generator.prototype.scrubNakedValue=void 0;Blockly.Names=function(a,b){this.variablePrefix_=b||\"\";this.reservedDict_=Object.create(null);if(a)for(var c=a.split(\",\"),d=0;d<c.length;d++)this.reservedDict_[c[d]]=!0;this.reset()};Blockly.Names.prototype.reset=function(){this.db_=Object.create(null);this.dbReverse_=Object.create(null)};\nBlockly.Names.prototype.getName=function(a,b){var c=a.toLowerCase()+\"_\"+b,d=b==Blockly.Variables.NAME_TYPE?this.variablePrefix_:\"\";if(c in this.db_)return d+this.db_[c];var e=this.getDistinctName(a,b);this.db_[c]=e.substr(d.length);return e};Blockly.Names.prototype.getDistinctName=function(a,b){for(var c=this.safeName_(a),d=\"\";this.dbReverse_[c+d]||c+d in this.reservedDict_;)d=d?d+1:2;c+=d;this.dbReverse_[c]=!0;return(b==Blockly.Variables.NAME_TYPE?this.variablePrefix_:\"\")+c};\nBlockly.Names.prototype.safeName_=function(a){a?(a=encodeURI(a.replace(/ /g,\"_\")).replace(/[^\\w]/g,\"_\"),-1!=\"0123456789\".indexOf(a[0])&&(a=\"my_\"+a)):a=\"unnamed\";return a};Blockly.Names.equals=function(a,b){return a.toLowerCase()==b.toLowerCase()};Blockly.Procedures={};Blockly.Procedures.NAME_TYPE=Blockly.PROCEDURE_CATEGORY_NAME;Blockly.Procedures.allProcedures=function(a){a=a.getAllBlocks();for(var b=[],c=[],d=0;d<a.length;d++)if(a[d].getProcedureDef){var e=a[d].getProcedureDef();e&&(e[2]?b.push(e):c.push(e))}c.sort(Blockly.Procedures.procTupleComparator_);b.sort(Blockly.Procedures.procTupleComparator_);return[c,b]};Blockly.Procedures.procTupleComparator_=function(a,b){return a[0].toLowerCase().localeCompare(b[0].toLowerCase())};\nBlockly.Procedures.findLegalName=function(a,b){if(b.isInFlyout)return a;for(;!Blockly.Procedures.isLegalName_(a,b.workspace,b);){var c=a.match(/^(.*?)(\\d+)$/);a=c?c[1]+(parseInt(c[2],10)+1):a+\"2\"}return a};Blockly.Procedures.isLegalName_=function(a,b,c){return!Blockly.Procedures.isNameUsed(a,b,c)};Blockly.Procedures.isNameUsed=function(a,b,c){b=b.getAllBlocks();for(var d=0;d<b.length;d++)if(b[d]!=c&&b[d].getProcedureDef){var e=b[d].getProcedureDef();if(Blockly.Names.equals(e[0],a))return!0}return!1};\nBlockly.Procedures.rename=function(a){a=a.replace(/^[\\s\\xa0]+|[\\s\\xa0]+$/g,\"\");var b=Blockly.Procedures.findLegalName(a,this.sourceBlock_),c=this.text_;if(c!=a&&c!=b){a=this.sourceBlock_.workspace.getAllBlocks();for(var d=0;d<a.length;d++)a[d].renameProcedure&&a[d].renameProcedure(c,b)}return b};\nBlockly.Procedures.flyoutCategory=function(a){function b(a,b){for(var d=0;d<a.length;d++){var e=a[d][0],f=a[d][1],g=goog.dom.createDom(\"block\");g.setAttribute(\"type\",b);g.setAttribute(\"gap\",16);var l=goog.dom.createDom(\"mutation\");l.setAttribute(\"name\",e);g.appendChild(l);for(e=0;e<f.length;e++){var m=goog.dom.createDom(\"arg\");m.setAttribute(\"name\",f[e]);l.appendChild(m)}c.push(g)}}var c=[];if(Blockly.Blocks.procedures_defnoreturn){var d=goog.dom.createDom(\"block\");d.setAttribute(\"type\",\"procedures_defnoreturn\");\nd.setAttribute(\"gap\",16);var e=goog.dom.createDom(\"field\",null,Blockly.Msg.PROCEDURES_DEFNORETURN_PROCEDURE);e.setAttribute(\"name\",\"NAME\");d.appendChild(e);c.push(d)}Blockly.Blocks.procedures_defreturn&&(d=goog.dom.createDom(\"block\"),d.setAttribute(\"type\",\"procedures_defreturn\"),d.setAttribute(\"gap\",16),e=goog.dom.createDom(\"field\",null,Blockly.Msg.PROCEDURES_DEFRETURN_PROCEDURE),e.setAttribute(\"name\",\"NAME\"),d.appendChild(e),c.push(d));Blockly.Blocks.procedures_ifreturn&&(d=goog.dom.createDom(\"block\"),\nd.setAttribute(\"type\",\"procedures_ifreturn\"),d.setAttribute(\"gap\",16),c.push(d));c.length&&c[c.length-1].setAttribute(\"gap\",24);a=Blockly.Procedures.allProcedures(a);b(a[0],\"procedures_callnoreturn\");b(a[1],\"procedures_callreturn\");return c};Blockly.Procedures.getCallers=function(a,b){for(var c=[],d=b.getAllBlocks(),e=0;e<d.length;e++)if(d[e].getProcedureCall){var f=d[e].getProcedureCall();f&&Blockly.Names.equals(f,a)&&c.push(d[e])}return c};\nBlockly.Procedures.mutateCallers=function(a){var b=Blockly.Events.recordUndo,c=a.getProcedureDef()[0],d=a.mutationToDom(!0);a=Blockly.Procedures.getCallers(c,a.workspace);c=0;for(var e;e=a[c];c++){var f=e.mutationToDom();f=f&&Blockly.Xml.domToText(f);e.domToMutation(d);var g=e.mutationToDom();g=g&&Blockly.Xml.domToText(g);f!=g&&(Blockly.Events.recordUndo=!1,Blockly.Events.fire(new Blockly.Events.BlockChange(e,\"mutation\",null,f,g)),Blockly.Events.recordUndo=b)}};\nBlockly.Procedures.getDefinition=function(a,b){for(var c=b.getTopBlocks(!1),d=0;d<c.length;d++)if(c[d].getProcedureDef){var e=c[d].getProcedureDef();if(e&&Blockly.Names.equals(e[0],a))return c[d]}return null};Blockly.FlyoutButton=function(a,b,c,d){this.workspace_=a;this.targetWorkspace_=b;this.text_=c.getAttribute(\"text\");this.position_=new goog.math.Coordinate(0,0);this.isLabel_=d;this.callback_=null;a=c.getAttribute(\"callbackKey\");this.isLabel_&&a?console.warn(\"Labels should not have callbacks. Label text: \"+this.text_):this.isLabel_||a&&b.getButtonCallback(a)?this.callback_=b.getButtonCallback(a):console.warn(\"Buttons should have callbacks. Button text: \"+this.text_);this.cssClass_=c.getAttribute(\"web-class\")||\nnull};Blockly.FlyoutButton.MARGIN=5;Blockly.FlyoutButton.prototype.width=0;Blockly.FlyoutButton.prototype.height=0;Blockly.FlyoutButton.prototype.onMouseUpWrapper_=null;\nBlockly.FlyoutButton.prototype.createDom=function(){var a=this.isLabel_?\"blocklyFlyoutLabel\":\"blocklyFlyoutButton\";this.cssClass_&&(a+=\" \"+this.cssClass_);this.svgGroup_=Blockly.utils.createSvgElement(\"g\",{\"class\":a},this.workspace_.getCanvas());if(!this.isLabel_)var b=Blockly.utils.createSvgElement(\"rect\",{\"class\":\"blocklyFlyoutButtonShadow\",rx:4,ry:4,x:1,y:1},this.svgGroup_);a=Blockly.utils.createSvgElement(\"rect\",{\"class\":this.isLabel_?\"blocklyFlyoutLabelBackground\":\"blocklyFlyoutButtonBackground\",\nrx:4,ry:4},this.svgGroup_);var c=Blockly.utils.createSvgElement(\"text\",{\"class\":this.isLabel_?\"blocklyFlyoutLabelText\":\"blocklyText\",x:0,y:0,\"text-anchor\":\"middle\"},this.svgGroup_);c.textContent=this.text_;this.width=c.getComputedTextLength();this.height=20;this.isLabel_||(this.width+=2*Blockly.FlyoutButton.MARGIN,b.setAttribute(\"width\",this.width),b.setAttribute(\"height\",this.height));a.setAttribute(\"width\",this.width);a.setAttribute(\"height\",this.height);c.setAttribute(\"x\",this.width/2);c.setAttribute(\"y\",\nthis.height-Blockly.FlyoutButton.MARGIN);this.updateTransform_();this.mouseUpWrapper_=Blockly.bindEventWithChecks_(this.svgGroup_,\"mouseup\",this,this.onMouseUp_);return this.svgGroup_};Blockly.FlyoutButton.prototype.show=function(){this.updateTransform_();this.svgGroup_.setAttribute(\"display\",\"block\")};Blockly.FlyoutButton.prototype.updateTransform_=function(){this.svgGroup_.setAttribute(\"transform\",\"translate(\"+this.position_.x+\",\"+this.position_.y+\")\")};\nBlockly.FlyoutButton.prototype.moveTo=function(a,b){this.position_.x=a;this.position_.y=b;this.updateTransform_()};Blockly.FlyoutButton.prototype.getTargetWorkspace=function(){return this.targetWorkspace_};Blockly.FlyoutButton.prototype.dispose=function(){this.onMouseUpWrapper_&&Blockly.unbindEvent_(this.onMouseUpWrapper_);this.svgGroup_&&(goog.dom.removeNode(this.svgGroup_),this.svgGroup_=null);this.targetWorkspace_=this.workspace_=null};\nBlockly.FlyoutButton.prototype.onMouseUp_=function(a){(a=this.targetWorkspace_.getGesture(a))&&a.cancel();this.callback_&&this.callback_(this)};Blockly.Flyout=function(a){a.getMetrics=this.getMetrics_.bind(this);a.setMetrics=this.setMetrics_.bind(this);this.workspace_=new Blockly.WorkspaceSvg(a);this.workspace_.isFlyout=!0;this.RTL=!!a.RTL;this.toolboxPosition_=a.toolboxPosition;this.eventWrappers_=[];this.backgroundButtons_=[];this.buttons_=[];this.listeners_=[];this.permanentlyDisabled_=[]};Blockly.Flyout.prototype.autoClose=!0;Blockly.Flyout.prototype.isVisible_=!1;Blockly.Flyout.prototype.containerVisible_=!0;\nBlockly.Flyout.prototype.CORNER_RADIUS=8;Blockly.Flyout.prototype.MARGIN=Blockly.Flyout.prototype.CORNER_RADIUS;Blockly.Flyout.prototype.GAP_X=3*Blockly.Flyout.prototype.MARGIN;Blockly.Flyout.prototype.GAP_Y=3*Blockly.Flyout.prototype.MARGIN;Blockly.Flyout.prototype.SCROLLBAR_PADDING=2;Blockly.Flyout.prototype.width_=0;Blockly.Flyout.prototype.height_=0;Blockly.Flyout.prototype.dragAngleRange_=70;\nBlockly.Flyout.prototype.createDom=function(a){this.svgGroup_=Blockly.utils.createSvgElement(a,{\"class\":\"blocklyFlyout\",style:\"display: none\"},null);this.svgBackground_=Blockly.utils.createSvgElement(\"path\",{\"class\":\"blocklyFlyoutBackground\"},this.svgGroup_);this.svgGroup_.appendChild(this.workspace_.createDom());return this.svgGroup_};\nBlockly.Flyout.prototype.init=function(a){this.targetWorkspace_=a;this.workspace_.targetWorkspace=a;this.scrollbar_=new Blockly.Scrollbar(this.workspace_,this.horizontalLayout_,!1,\"blocklyFlyoutScrollbar\");this.hide();Array.prototype.push.apply(this.eventWrappers_,Blockly.bindEventWithChecks_(this.svgGroup_,\"wheel\",this,this.wheel_));this.autoClose||(this.filterWrapper_=this.filterForCapacity_.bind(this),this.targetWorkspace_.addChangeListener(this.filterWrapper_));Array.prototype.push.apply(this.eventWrappers_,\nBlockly.bindEventWithChecks_(this.svgBackground_,\"mousedown\",this,this.onMouseDown_));this.workspace_.getGesture=this.targetWorkspace_.getGesture.bind(this.targetWorkspace_);this.workspace_.getVariable=this.targetWorkspace_.getVariable.bind(this.targetWorkspace_);this.workspace_.getVariableById=this.targetWorkspace_.getVariableById.bind(this.targetWorkspace_);this.workspace_.getVariablesOfType=this.targetWorkspace_.getVariablesOfType.bind(this.targetWorkspace_);this.workspace_.deleteVariable=this.targetWorkspace_.deleteVariable.bind(this.targetWorkspace_);\nthis.workspace_.deleteVariableById=this.targetWorkspace_.deleteVariableById.bind(this.targetWorkspace_);this.workspace_.renameVariable=this.targetWorkspace_.renameVariable.bind(this.targetWorkspace_);this.workspace_.renameVariableById=this.targetWorkspace_.renameVariableById.bind(this.targetWorkspace_)};\nBlockly.Flyout.prototype.dispose=function(){this.hide();Blockly.unbindEvent_(this.eventWrappers_);this.filterWrapper_&&(this.targetWorkspace_.removeChangeListener(this.filterWrapper_),this.filterWrapper_=null);this.scrollbar_&&(this.scrollbar_.dispose(),this.scrollbar_=null);this.workspace_&&(this.workspace_.targetWorkspace=null,this.workspace_.dispose(),this.workspace_=null);this.svgGroup_&&(goog.dom.removeNode(this.svgGroup_),this.svgGroup_=null);this.targetWorkspace_=this.svgBackground_=null};\nBlockly.Flyout.prototype.getWidth=function(){return this.width_};Blockly.Flyout.prototype.getHeight=function(){return this.height_};Blockly.Flyout.prototype.getWorkspace=function(){return this.workspace_};Blockly.Flyout.prototype.isVisible=function(){return this.isVisible_};Blockly.Flyout.prototype.setVisible=function(a){var b=a!=this.isVisible();this.isVisible_=a;b&&this.updateDisplay_()};\nBlockly.Flyout.prototype.setContainerVisible=function(a){var b=a!=this.containerVisible_;this.containerVisible_=a;b&&this.updateDisplay_()};Blockly.Flyout.prototype.updateDisplay_=function(){var a=this.containerVisible_?this.isVisible():!1;this.svgGroup_.style.display=a?\"block\":\"none\";this.scrollbar_.setContainerVisible(a)};\nBlockly.Flyout.prototype.positionAt_=function(a,b,c,d){this.svgGroup_.setAttribute(\"width\",a);this.svgGroup_.setAttribute(\"height\",b);Blockly.utils.setCssTransform(this.svgGroup_,\"translate(\"+c+\"px,\"+d+\"px)\");this.scrollbar_&&(this.scrollbar_.setOrigin(c,d),this.scrollbar_.resize())};\nBlockly.Flyout.prototype.hide=function(){if(this.isVisible()){this.setVisible(!1);for(var a=0,b;b=this.listeners_[a];a++)Blockly.unbindEvent_(b);this.listeners_.length=0;this.reflowWrapper_&&(this.workspace_.removeChangeListener(this.reflowWrapper_),this.reflowWrapper_=null)}};\nBlockly.Flyout.prototype.show=function(a){this.workspace_.setResizesEnabled(!1);this.hide();this.clearOldBlocks_();\"string\"==typeof a&&(a=this.workspace_.targetWorkspace.getToolboxCategoryCallback(a),goog.asserts.assert(goog.isFunction(a),\"Couldn't find a callback function when opening a toolbox category.\"),a=a(this.workspace_.targetWorkspace),goog.asserts.assert(goog.isArray(a),\"The result of a toolbox category callback must be an array.\"));this.setVisible(!0);for(var b=[],c=[],d=this.permanentlyDisabled_.length=\n0,e;e=a[d];d++)if(e.tagName){var f=e.tagName.toUpperCase(),g=this.horizontalLayout_?this.GAP_X:this.GAP_Y;if(\"BLOCK\"==f)f=Blockly.Xml.domToBlock(e,this.workspace_),f.disabled&&this.permanentlyDisabled_.push(f),b.push({type:\"block\",block:f}),e=parseInt(e.getAttribute(\"gap\"),10),c.push(isNaN(e)?g:e);else if(\"SEP\"==e.tagName.toUpperCase())e=parseInt(e.getAttribute(\"gap\"),10),!isNaN(e)&&0<c.length?c[c.length-1]=e:c.push(g);else if(\"BUTTON\"==f||\"LABEL\"==f)e=new Blockly.FlyoutButton(this.workspace_,this.targetWorkspace_,\ne,\"LABEL\"==f),b.push({type:\"button\",button:e}),c.push(g)}this.layout_(b,c);this.listeners_.push(Blockly.bindEventWithChecks_(this.svgBackground_,\"mouseover\",this,function(){for(var a=this.workspace_.getTopBlocks(!1),b=0,c;c=a[b];b++)c.removeSelect()}));this.horizontalLayout_?this.height_=0:this.width_=0;this.workspace_.setResizesEnabled(!0);this.reflow();this.filterForCapacity_();this.position();this.reflowWrapper_=this.reflow.bind(this);this.workspace_.addChangeListener(this.reflowWrapper_)};\nBlockly.Flyout.prototype.clearOldBlocks_=function(){for(var a=this.workspace_.getTopBlocks(!1),b=0,c;c=a[b];b++)c.workspace==this.workspace_&&c.dispose(!1,!1);for(b=0;b<this.backgroundButtons_.length;b++)(a=this.backgroundButtons_[b])&&goog.dom.removeNode(a);for(b=this.backgroundButtons_.length=0;a=this.buttons_[b];b++)a.dispose();this.buttons_.length=0};\nBlockly.Flyout.prototype.addBlockListeners_=function(a,b,c){this.listeners_.push(Blockly.bindEventWithChecks_(a,\"mousedown\",null,this.blockMouseDown_(b)));this.listeners_.push(Blockly.bindEventWithChecks_(c,\"mousedown\",null,this.blockMouseDown_(b)));this.listeners_.push(Blockly.bindEvent_(a,\"mouseover\",b,b.addSelect));this.listeners_.push(Blockly.bindEvent_(a,\"mouseout\",b,b.removeSelect));this.listeners_.push(Blockly.bindEvent_(c,\"mouseover\",b,b.addSelect));this.listeners_.push(Blockly.bindEvent_(c,\n\"mouseout\",b,b.removeSelect))};Blockly.Flyout.prototype.blockMouseDown_=function(a){var b=this;return function(c){var d=b.targetWorkspace_.getGesture(c);d&&(d.setStartBlock(a),d.handleFlyoutStart(c,b))}};Blockly.Flyout.prototype.onMouseDown_=function(a){var b=this.targetWorkspace_.getGesture(a);b&&b.handleFlyoutStart(a,this)};\nBlockly.Flyout.prototype.createBlock=function(a){var b=null;Blockly.Events.disable();this.targetWorkspace_.setResizesEnabled(!1);try{b=this.placeNewBlock_(a),Blockly.hideChaff()}finally{Blockly.Events.enable()}Blockly.Events.isEnabled()&&(Blockly.Events.setGroup(!0),Blockly.Events.fire(new Blockly.Events.Create(b)));this.autoClose?this.hide():this.filterForCapacity_();return b};\nBlockly.Flyout.prototype.initFlyoutButton_=function(a,b,c){var d=a.createDom();a.moveTo(b,c);a.show();this.listeners_.push(Blockly.bindEventWithChecks_(d,\"mousedown\",this,this.onMouseDown_));this.buttons_.push(a)};\nBlockly.Flyout.prototype.createRect_=function(a,b,c,d,e){b=Blockly.utils.createSvgElement(\"rect\",{\"fill-opacity\":0,x:b,y:c,height:d.height,width:d.width},null);b.tooltip=a;Blockly.Tooltip.bindMouseEvents(b);this.workspace_.getCanvas().insertBefore(b,a.getSvgRoot());a.flyoutRect_=b;return this.backgroundButtons_[e]=b};\nBlockly.Flyout.prototype.moveRectToBlock_=function(a,b){var c=b.getHeightWidth();a.setAttribute(\"width\",c.width);a.setAttribute(\"height\",c.height);var d=b.startHat_?Blockly.BlockSvg.START_HAT_HEIGHT:0;d&&b.moveBy(0,d);d=b.outputConnection?Blockly.BlockSvg.TAB_WIDTH:0;var e=b.getRelativeToSurfaceXY();a.setAttribute(\"y\",e.y);a.setAttribute(\"x\",this.RTL?e.x-c.width+d:e.x-d)};\nBlockly.Flyout.prototype.filterForCapacity_=function(){for(var a=this.targetWorkspace_.remainingCapacity(),b=this.workspace_.getTopBlocks(!1),c=0,d;d=b[c];c++)if(-1==this.permanentlyDisabled_.indexOf(d)){var e=d.getDescendants();d.setDisabled(e.length>a)}};Blockly.Flyout.prototype.reflow=function(){this.reflowWrapper_&&this.workspace_.removeChangeListener(this.reflowWrapper_);var a=this.workspace_.getTopBlocks(!1);this.reflowInternal_(a);this.reflowWrapper_&&this.workspace_.addChangeListener(this.reflowWrapper_)};\nBlockly.Flyout.prototype.isScrollable=function(){return this.scrollbar_?this.scrollbar_.isVisible():!1};\nBlockly.Flyout.prototype.placeNewBlock_=function(a){var b=this.targetWorkspace_;if(!a.getSvgRoot())throw\"oldBlock is not rendered.\";var c=Blockly.Xml.blockToDom(a);b.setResizesEnabled(!1);c=Blockly.Xml.domToBlock(c,b);if(!c.getSvgRoot())throw\"block is not rendered.\";var d=b.getOriginOffsetInPixels(),e=this.workspace_.getOriginOffsetInPixels();a=a.getRelativeToSurfaceXY().scale(this.workspace_.scale);a=goog.math.Coordinate.sum(e,a);b=goog.math.Coordinate.difference(a,d).scale(1/b.scale);c.moveBy(b.x,\nb.y);return c};Blockly.HorizontalFlyout=function(a){a.getMetrics=this.getMetrics_.bind(this);a.setMetrics=this.setMetrics_.bind(this);Blockly.HorizontalFlyout.superClass_.constructor.call(this,a);this.horizontalLayout_=!0};goog.inherits(Blockly.HorizontalFlyout,Blockly.Flyout);\nBlockly.HorizontalFlyout.prototype.getMetrics_=function(){if(!this.isVisible())return null;try{var a=this.workspace_.getCanvas().getBBox()}catch(e){a={height:0,y:0,width:0,x:0}}var b=this.SCROLLBAR_PADDING,c=this.SCROLLBAR_PADDING;this.toolboxPosition_==Blockly.TOOLBOX_AT_BOTTOM&&(b=0);var d=this.height_;this.toolboxPosition_==Blockly.TOOLBOX_AT_TOP&&(d-=this.SCROLLBAR_PADDING);return{viewHeight:d,viewWidth:this.width_-2*this.SCROLLBAR_PADDING,contentHeight:(a.height+2*this.MARGIN)*this.workspace_.scale,\ncontentWidth:(a.width+2*this.MARGIN)*this.workspace_.scale,viewTop:-this.workspace_.scrollY,viewLeft:-this.workspace_.scrollX,contentTop:a.y,contentLeft:a.x,absoluteTop:b,absoluteLeft:c}};Blockly.HorizontalFlyout.prototype.setMetrics_=function(a){var b=this.getMetrics_();b&&(goog.isNumber(a.x)&&(this.workspace_.scrollX=-b.contentWidth*a.x),this.workspace_.translate(this.workspace_.scrollX+b.absoluteLeft,this.workspace_.scrollY+b.absoluteTop))};\nBlockly.HorizontalFlyout.prototype.position=function(){if(this.isVisible()){var a=this.targetWorkspace_.getMetrics();if(a){this.width_=a.viewWidth;this.setBackgroundPath_(a.viewWidth-2*this.CORNER_RADIUS,this.height_-this.CORNER_RADIUS);var b=a.absoluteLeft,c=a.absoluteTop;this.toolboxPosition_==Blockly.TOOLBOX_AT_BOTTOM&&(c+=a.viewHeight-this.height_);this.positionAt_(this.width_,this.height_,b,c)}}};\nBlockly.HorizontalFlyout.prototype.setBackgroundPath_=function(a,b){var c=this.toolboxPosition_==Blockly.TOOLBOX_AT_TOP,d=[\"M 0,\"+(c?0:this.CORNER_RADIUS)];c?(d.push(\"h\",a+2*this.CORNER_RADIUS),d.push(\"v\",b),d.push(\"a\",this.CORNER_RADIUS,this.CORNER_RADIUS,0,0,1,-this.CORNER_RADIUS,this.CORNER_RADIUS),d.push(\"h\",-1*a),d.push(\"a\",this.CORNER_RADIUS,this.CORNER_RADIUS,0,0,1,-this.CORNER_RADIUS,-this.CORNER_RADIUS)):(d.push(\"a\",this.CORNER_RADIUS,this.CORNER_RADIUS,0,0,1,this.CORNER_RADIUS,-this.CORNER_RADIUS),\nd.push(\"h\",a),d.push(\"a\",this.CORNER_RADIUS,this.CORNER_RADIUS,0,0,1,this.CORNER_RADIUS,this.CORNER_RADIUS),d.push(\"v\",b),d.push(\"h\",-a-2*this.CORNER_RADIUS));d.push(\"z\");this.svgBackground_.setAttribute(\"d\",d.join(\" \"))};Blockly.HorizontalFlyout.prototype.scrollToStart=function(){this.scrollbar_.set(this.RTL?Infinity:0)};\nBlockly.HorizontalFlyout.prototype.wheel_=function(a){var b=a.deltaX;if(b){goog.userAgent.GECKO&&1===a.deltaMode&&(b*=10);var c=this.getMetrics_();b=c.viewLeft+b;b=Math.min(b,c.contentWidth-c.viewWidth);b=Math.max(b,0);this.scrollbar_.set(b);Blockly.WidgetDiv.hide()}a.preventDefault();a.stopPropagation()};\nBlockly.HorizontalFlyout.prototype.layout_=function(a,b){this.workspace_.scale=this.targetWorkspace_.scale;var c=this.MARGIN,d=this.RTL?c:c+Blockly.BlockSvg.TAB_WIDTH;this.RTL&&(a=a.reverse());for(var e=0,f;f=a[e];e++)if(\"block\"==f.type){f=f.block;for(var g=f.getDescendants(),h=0,k;k=g[h];h++)k.isInFlyout=!0;f.render();g=f.getSvgRoot();h=f.getHeightWidth();k=f.outputConnection?Blockly.BlockSvg.TAB_WIDTH:0;k=this.RTL?d+h.width:d+k;f.moveBy(k,c);k=this.createRect_(f,k,c,h,e);d+=h.width+b[e];this.addBlockListeners_(g,\nf,k)}else\"button\"==f.type&&(this.initFlyoutButton_(f.button,d,c),d+=f.button.width+b[e])};Blockly.HorizontalFlyout.prototype.isDragTowardWorkspace=function(a){a=Math.atan2(a.y,a.x)/Math.PI*180;var b=this.dragAngleRange_;if(this.toolboxPosition_==Blockly.TOOLBOX_AT_TOP){if(a<90+b&&a>90-b)return!0}else if(a>-90-b&&a<-90+b)return!0;return!1};\nBlockly.HorizontalFlyout.prototype.getClientRect=function(){if(!this.svgGroup_)return null;var a=this.svgGroup_.getBoundingClientRect(),b=a.top;a=a.height;if(this.toolboxPosition_==Blockly.TOOLBOX_AT_TOP)return new goog.math.Rect(-1E9,b-1E9,2E9,1E9+a);if(this.toolboxPosition_==Blockly.TOOLBOX_AT_BOTTOM)return new goog.math.Rect(-1E9,b,2E9,1E9+a)};\nBlockly.HorizontalFlyout.prototype.reflowInternal_=function(a){this.workspace_.scale=this.targetWorkspace_.scale;for(var b=0,c=0,d;d=a[c];c++)b=Math.max(b,d.getHeightWidth().height);b+=1.5*this.MARGIN;b*=this.workspace_.scale;b+=Blockly.Scrollbar.scrollbarThickness;if(this.height_!=b){for(c=0;d=a[c];c++)d.flyoutRect_&&this.moveRectToBlock_(d.flyoutRect_,d);this.height_=b;this.targetWorkspace_.resize()}};Blockly.VerticalFlyout=function(a){a.getMetrics=this.getMetrics_.bind(this);a.setMetrics=this.setMetrics_.bind(this);Blockly.VerticalFlyout.superClass_.constructor.call(this,a);this.horizontalLayout_=!1};goog.inherits(Blockly.VerticalFlyout,Blockly.Flyout);\nBlockly.VerticalFlyout.prototype.getMetrics_=function(){if(!this.isVisible())return null;try{var a=this.workspace_.getCanvas().getBBox()}catch(e){a={height:0,y:0,width:0,x:0}}var b=this.SCROLLBAR_PADDING,c=this.height_-2*this.SCROLLBAR_PADDING,d=this.width_;this.RTL||(d-=this.SCROLLBAR_PADDING);return{viewHeight:c,viewWidth:d,contentHeight:a.height*this.workspace_.scale+2*this.MARGIN,contentWidth:a.width*this.workspace_.scale+2*this.MARGIN,viewTop:-this.workspace_.scrollY+a.y,viewLeft:-this.workspace_.scrollX,\ncontentTop:a.y,contentLeft:a.x,absoluteTop:b,absoluteLeft:0}};Blockly.VerticalFlyout.prototype.setMetrics_=function(a){var b=this.getMetrics_();b&&(goog.isNumber(a.y)&&(this.workspace_.scrollY=-b.contentHeight*a.y),this.workspace_.translate(this.workspace_.scrollX+b.absoluteLeft,this.workspace_.scrollY+b.absoluteTop))};\nBlockly.VerticalFlyout.prototype.position=function(){if(this.isVisible()){var a=this.targetWorkspace_.getMetrics();if(a){this.height_=a.viewHeight;this.setBackgroundPath_(this.width_-this.CORNER_RADIUS,a.viewHeight-2*this.CORNER_RADIUS);var b=a.absoluteTop,c=a.absoluteLeft;this.toolboxPosition_==Blockly.TOOLBOX_AT_RIGHT&&(c+=a.viewWidth-this.width_);this.positionAt_(this.width_,this.height_,c,b)}}};\nBlockly.VerticalFlyout.prototype.setBackgroundPath_=function(a,b){var c=this.toolboxPosition_==Blockly.TOOLBOX_AT_RIGHT,d=a+this.CORNER_RADIUS;d=[\"M \"+(c?d:0)+\",0\"];d.push(\"h\",c?-a:a);d.push(\"a\",this.CORNER_RADIUS,this.CORNER_RADIUS,0,0,c?0:1,c?-this.CORNER_RADIUS:this.CORNER_RADIUS,this.CORNER_RADIUS);d.push(\"v\",Math.max(0,b));d.push(\"a\",this.CORNER_RADIUS,this.CORNER_RADIUS,0,0,c?0:1,c?this.CORNER_RADIUS:-this.CORNER_RADIUS,this.CORNER_RADIUS);d.push(\"h\",c?a:-a);d.push(\"z\");this.svgBackground_.setAttribute(\"d\",\nd.join(\" \"))};Blockly.VerticalFlyout.prototype.scrollToStart=function(){this.scrollbar_.set(0)};Blockly.VerticalFlyout.prototype.wheel_=function(a){var b=a.deltaY;if(b){goog.userAgent.GECKO&&(b*=10);var c=this.getMetrics_();b=c.viewTop-c.contentTop+b;b=Math.min(b,c.contentHeight-c.viewHeight);b=Math.max(b,0);this.scrollbar_.set(b);Blockly.WidgetDiv.hide()}a.preventDefault();a.stopPropagation()};\nBlockly.VerticalFlyout.prototype.layout_=function(a,b){this.workspace_.scale=this.targetWorkspace_.scale;for(var c=this.MARGIN,d=this.RTL?c:c+Blockly.BlockSvg.TAB_WIDTH,e=0,f;f=a[e];e++)if(\"block\"==f.type){f=f.block;for(var g=f.getDescendants(),h=0,k;k=g[h];h++)k.isInFlyout=!0;f.render();g=f.getSvgRoot();h=f.getHeightWidth();f.moveBy(d,c);k=this.createRect_(f,this.RTL?d-h.width:d,c,h,e);this.addBlockListeners_(g,f,k);c+=h.height+b[e]}else\"button\"==f.type&&(this.initFlyoutButton_(f.button,d,c),c+=\nf.button.height+b[e])};Blockly.VerticalFlyout.prototype.isDragTowardWorkspace=function(a){a=Math.atan2(a.y,a.x)/Math.PI*180;var b=this.dragAngleRange_;if(this.toolboxPosition_==Blockly.TOOLBOX_AT_LEFT){if(a<b&&a>-b)return!0}else if(a<-180+b||a>180-b)return!0;return!1};\nBlockly.VerticalFlyout.prototype.getClientRect=function(){if(!this.svgGroup_)return null;var a=this.svgGroup_.getBoundingClientRect(),b=a.left;a=a.width;return this.toolboxPosition_==Blockly.TOOLBOX_AT_LEFT?new goog.math.Rect(b-1E9,-1E9,1E9+a,2E9):new goog.math.Rect(b,-1E9,1E9+a,2E9)};\nBlockly.VerticalFlyout.prototype.reflowInternal_=function(a){this.workspace_.scale=this.targetWorkspace_.scale;for(var b=0,c=0,d;d=a[c];c++){var e=d.getHeightWidth().width;d.outputConnection&&(e-=Blockly.BlockSvg.TAB_WIDTH);b=Math.max(b,e)}for(c=0;d=this.buttons_[c];c++)b=Math.max(b,d.width);b+=1.5*this.MARGIN+Blockly.BlockSvg.TAB_WIDTH;b*=this.workspace_.scale;b+=Blockly.Scrollbar.scrollbarThickness;if(this.width_!=b){for(c=0;d=a[c];c++){if(this.RTL){e=d.getRelativeToSurfaceXY().x;var f=b/this.workspace_.scale-\nthis.MARGIN;f-=Blockly.BlockSvg.TAB_WIDTH;d.moveBy(f-e,0)}d.flyoutRect_&&this.moveRectToBlock_(d.flyoutRect_,d)}this.width_=b;this.targetWorkspace_.resize()}};Blockly.Toolbox=function(a){this.workspace_=a;this.RTL=a.options.RTL;this.horizontalLayout_=a.options.horizontalLayout;this.toolboxPosition=a.options.toolboxPosition;this.config_={indentWidth:19,cssRoot:\"blocklyTreeRoot\",cssHideRoot:\"blocklyHidden\",cssItem:\"\",cssTreeRow:\"blocklyTreeRow\",cssItemLabel:\"blocklyTreeLabel\",cssTreeIcon:\"blocklyTreeIcon\",cssExpandedFolderIcon:\"blocklyTreeIconOpen\",cssFileIcon:\"blocklyTreeIconNone\",cssSelectedRow:\"blocklyTreeSelected\"};this.treeSeparatorConfig_={cssTreeRow:\"blocklyTreeSeparator\"};\nthis.horizontalLayout_&&(this.config_.cssTreeRow+=a.RTL?\" blocklyHorizontalTreeRtl\":\" blocklyHorizontalTree\",this.treeSeparatorConfig_.cssTreeRow=\"blocklyTreeSeparatorHorizontal \"+(a.RTL?\"blocklyHorizontalTreeRtl\":\"blocklyHorizontalTree\"),this.config_.cssTreeIcon=\"\")};Blockly.Toolbox.prototype.width=0;Blockly.Toolbox.prototype.height=0;Blockly.Toolbox.prototype.selectedOption_=null;Blockly.Toolbox.prototype.lastCategory_=null;\nBlockly.Toolbox.prototype.init=function(){var a=this.workspace_,b=this.workspace_.getParentSvg();this.HtmlDiv=goog.dom.createDom(\"DIV\",\"blocklyToolboxDiv\");this.HtmlDiv.setAttribute(\"dir\",a.RTL?\"RTL\":\"LTR\");b.parentNode.insertBefore(this.HtmlDiv,b);Blockly.bindEventWithChecks_(this.HtmlDiv,\"mousedown\",this,function(a){Blockly.utils.isRightButton(a)||a.target==this.HtmlDiv?Blockly.hideChaff(!1):Blockly.hideChaff(!0);Blockly.Touch.clearTouchIdentifier()},!1,!0);b={disabledPatternId:a.options.disabledPatternId,\nparentWorkspace:a,RTL:a.RTL,oneBasedIndex:a.options.oneBasedIndex,horizontalLayout:a.horizontalLayout,toolboxPosition:a.options.toolboxPosition};this.flyout_=null;this.flyout_=a.horizontalLayout?new Blockly.HorizontalFlyout(b):new Blockly.VerticalFlyout(b);goog.dom.insertSiblingAfter(this.flyout_.createDom(\"svg\"),this.workspace_.getParentSvg());this.flyout_.init(a);this.config_.cleardotPath=a.options.pathToMedia+\"1x1.gif\";this.config_.cssCollapsedFolderIcon=\"blocklyTreeIconClosed\"+(a.RTL?\"Rtl\":\"Ltr\");\nthis.tree_=b=new Blockly.Toolbox.TreeControl(this,this.config_);b.setShowRootNode(!1);b.setShowLines(!1);b.setShowExpandIcons(!1);b.setSelectedItem(null);a=this.populate_(a.options.languageTree);b.render(this.HtmlDiv);a&&b.setSelectedItem(a);this.addColour_();this.position()};Blockly.Toolbox.prototype.dispose=function(){this.flyout_.dispose();this.tree_.dispose();goog.dom.removeNode(this.HtmlDiv);this.lastCategory_=this.workspace_=null};Blockly.Toolbox.prototype.getWidth=function(){return this.width};\nBlockly.Toolbox.prototype.getHeight=function(){return this.height};\nBlockly.Toolbox.prototype.position=function(){var a=this.HtmlDiv;if(a){var b=this.workspace_.getParentSvg();b=Blockly.svgSize(b);this.horizontalLayout_?(a.style.left=\"0\",a.style.height=\"auto\",a.style.width=b.width+\"px\",this.height=a.offsetHeight,this.toolboxPosition==Blockly.TOOLBOX_AT_TOP?a.style.top=\"0\":a.style.bottom=\"0\"):(this.toolboxPosition==Blockly.TOOLBOX_AT_RIGHT?a.style.right=\"0\":a.style.left=\"0\",a.style.height=b.height+\"px\",this.width=a.offsetWidth);this.flyout_.position()}};\nBlockly.Toolbox.prototype.populate_=function(a){this.tree_.removeChildren();this.tree_.blocks=[];this.hasColours_=!1;a=this.syncTrees_(a,this.tree_,this.workspace_.options.pathToMedia);if(this.tree_.blocks.length)throw\"Toolbox cannot have both blocks and categories in the root level.\";this.workspace_.resizeContents();return a};\nBlockly.Toolbox.prototype.syncTrees_=function(a,b,c){for(var d=null,e=null,f=0,g;g=a.childNodes[f];f++)if(g.tagName)switch(g.tagName.toUpperCase()){case \"CATEGORY\":e=Blockly.utils.replaceMessageReferences(g.getAttribute(\"name\"));e=this.tree_.createNode(e);e.blocks=[];b.add(e);var h=g.getAttribute(\"custom\");h?e.blocks=h:(h=this.syncTrees_(g,e,c))&&(d=h);h=Blockly.utils.replaceMessageReferences(g.getAttribute(\"colour\"));goog.isString(h)?(h.match(/^#[0-9a-fA-F]{6}$/)?e.hexColour=h:e.hexColour=Blockly.hueToRgb(h),\nthis.hasColours_=!0):e.hexColour=\"\";\"true\"==g.getAttribute(\"expanded\")?(e.blocks.length&&(d=e),e.setExpanded(!0)):e.setExpanded(!1);e=g;break;case \"SEP\":e&&(\"CATEGORY\"==e.tagName.toUpperCase()?b.add(new Blockly.Toolbox.TreeSeparator(this.treeSeparatorConfig_)):(g=parseFloat(g.getAttribute(\"gap\")),!isNaN(g)&&e&&e.setAttribute(\"gap\",g)));break;case \"BLOCK\":case \"SHADOW\":case \"LABEL\":case \"BUTTON\":b.blocks.push(g),e=g}return d};\nBlockly.Toolbox.prototype.addColour_=function(a){a=(a||this.tree_).getChildren();for(var b=0,c;c=a[b];b++){var d=c.getRowElement();if(d){var e=this.hasColours_?\"8px solid \"+(c.hexColour||\"#ddd\"):\"none\";this.workspace_.RTL?d.style.borderRight=e:d.style.borderLeft=e}this.addColour_(c)}};Blockly.Toolbox.prototype.clearSelection=function(){this.tree_.setSelectedItem(null)};Blockly.Toolbox.prototype.addDeleteStyle=function(){Blockly.utils.addClass(this.HtmlDiv,\"blocklyToolboxDelete\")};\nBlockly.Toolbox.prototype.removeDeleteStyle=function(){Blockly.utils.removeClass(this.HtmlDiv,\"blocklyToolboxDelete\")};\nBlockly.Toolbox.prototype.getClientRect=function(){if(!this.HtmlDiv)return null;var a=this.HtmlDiv.getBoundingClientRect(),b=a.left,c=a.top,d=a.width;a=a.height;return this.toolboxPosition==Blockly.TOOLBOX_AT_LEFT?new goog.math.Rect(-1E7,-1E7,1E7+b+d,2E7):this.toolboxPosition==Blockly.TOOLBOX_AT_RIGHT?new goog.math.Rect(b,-1E7,1E7+d,2E7):this.toolboxPosition==Blockly.TOOLBOX_AT_TOP?new goog.math.Rect(-1E7,-1E7,2E7,1E7+c+a):new goog.math.Rect(0,c,2E7,1E7+d)};\nBlockly.Toolbox.prototype.refreshSelection=function(){var a=this.tree_.getSelectedItem();a&&a.blocks&&this.flyout_.show(a.blocks)};Blockly.Toolbox.TreeControl=function(a,b){this.toolbox_=a;goog.ui.tree.TreeControl.call(this,goog.html.SafeHtml.EMPTY,b)};goog.inherits(Blockly.Toolbox.TreeControl,goog.ui.tree.TreeControl);\nBlockly.Toolbox.TreeControl.prototype.enterDocument=function(){Blockly.Toolbox.TreeControl.superClass_.enterDocument.call(this);if(goog.events.BrowserFeature.TOUCH_ENABLED){var a=this.getElement();Blockly.bindEventWithChecks_(a,goog.events.EventType.TOUCHEND,this,this.handleTouchEvent_)}};Blockly.Toolbox.TreeControl.prototype.handleTouchEvent_=function(a){var b=this.getNodeFromEvent_(a);b&&a.type===goog.events.EventType.TOUCHEND&&setTimeout(function(){b.onClick_(a)},1)};\nBlockly.Toolbox.TreeControl.prototype.createNode=function(a){return new Blockly.Toolbox.TreeNode(this.toolbox_,a?goog.html.SafeHtml.htmlEscape(a):goog.html.SafeHtml.EMPTY,this.getConfig(),this.getDomHelper())};\nBlockly.Toolbox.TreeControl.prototype.setSelectedItem=function(a){var b=this.toolbox_;if(a!=this.selectedItem_&&a!=b.tree_){b.lastCategory_&&(b.lastCategory_.getRowElement().style.backgroundColor=\"\");if(a){var c=a.hexColour||\"#57e\";a.getRowElement().style.backgroundColor=c;b.addColour_(a)}c=this.getSelectedItem();goog.ui.tree.TreeControl.prototype.setSelectedItem.call(this,a);a&&a.blocks&&a.blocks.length?(b.flyout_.show(a.blocks),b.lastCategory_!=a&&b.flyout_.scrollToStart()):b.flyout_.hide();c!=\na&&c!=this&&(c=new Blockly.Events.Ui(null,\"category\",c&&c.getHtml(),a&&a.getHtml()),c.workspaceId=b.workspace_.id,Blockly.Events.fire(c));a&&(b.lastCategory_=a)}};Blockly.Toolbox.TreeNode=function(a,b,c,d){goog.ui.tree.TreeNode.call(this,b,c,d);a&&(b=function(){Blockly.svgResize(a.workspace_)},goog.events.listen(a.tree_,goog.ui.tree.BaseNode.EventType.EXPAND,b),goog.events.listen(a.tree_,goog.ui.tree.BaseNode.EventType.COLLAPSE,b))};goog.inherits(Blockly.Toolbox.TreeNode,goog.ui.tree.TreeNode);\nBlockly.Toolbox.TreeNode.prototype.getExpandIconSafeHtml=function(){return goog.html.SafeHtml.create(\"span\")};Blockly.Toolbox.TreeNode.prototype.onClick_=function(a){this.hasChildren()&&this.isUserCollapsible_?(this.toggle(),this.select()):this.isSelected()?this.getTree().setSelectedItem(null):this.select();this.updateRow()};Blockly.Toolbox.TreeNode.prototype.onMouseDown=function(a){};Blockly.Toolbox.TreeNode.prototype.onDoubleClick_=function(a){};\nBlockly.Toolbox.TreeNode.prototype.onKeyDown=function(a){if(this.tree.toolbox_.horizontalLayout_){var b={},c=goog.events.KeyCodes.DOWN,d=goog.events.KeyCodes.UP;b[goog.events.KeyCodes.RIGHT]=this.rightToLeft_?d:c;b[goog.events.KeyCodes.LEFT]=this.rightToLeft_?c:d;b[goog.events.KeyCodes.UP]=goog.events.KeyCodes.LEFT;b[goog.events.KeyCodes.DOWN]=goog.events.KeyCodes.RIGHT;a.keyCode=b[a.keyCode]||a.keyCode}return Blockly.Toolbox.TreeNode.superClass_.onKeyDown.call(this,a)};\nBlockly.Toolbox.TreeSeparator=function(a){Blockly.Toolbox.TreeNode.call(this,null,\"\",a)};goog.inherits(Blockly.Toolbox.TreeSeparator,Blockly.Toolbox.TreeNode);Blockly.Css={};Blockly.Css.Cursor={OPEN:\"handopen\",CLOSED:\"handclosed\",DELETE:\"handdelete\"};Blockly.Css.currentCursor_=\"\";Blockly.Css.styleSheet_=null;Blockly.Css.mediaPath_=\"\";\nBlockly.Css.inject=function(a,b){if(!Blockly.Css.styleSheet_){var c=\".blocklyDraggable {}\\n\";a&&(c+=Blockly.Css.CONTENT.join(\"\\n\"),Blockly.FieldDate&&(c+=Blockly.FieldDate.CSS.join(\"\\n\")));Blockly.Css.mediaPath_=b.replace(/[\\\\\\/]$/,\"\");c=c.replace(/<<<PATH>>>/g,Blockly.Css.mediaPath_);var d=document.createElement(\"style\");document.head.insertBefore(d,document.head.firstChild);c=document.createTextNode(c);d.appendChild(c);Blockly.Css.styleSheet_=d.sheet}};Blockly.Css.setCursor=function(a){console.warn(\"Deprecated call to Blockly.Css.setCursor.See https://github.com/google/blockly/issues/981 for context\")};\nBlockly.Css.CONTENT=[\".blocklySvg {\",\"background-color: #fff;\",\"outline: none;\",\"overflow: hidden;\",\"position: absolute;\",\"display: block;\",\"}\",\".blocklyWidgetDiv {\",\"display: none;\",\"position: absolute;\",\"z-index: 99999;\",\"}\",\".injectionDiv {\",\"height: 100%;\",\"position: relative;\",\"overflow: hidden;\",\"touch-action: none\",\"}\",\".blocklyNonSelectable {\",\"user-select: none;\",\"-moz-user-select: none;\",\"-webkit-user-select: none;\",\"-ms-user-select: none;\",\"}\",\".blocklyWsDragSurface {\",\"display: none;\",\n\"position: absolute;\",\"top: 0;\",\"left: 0;\",\"}\",\".blocklyWsDragSurface.blocklyOverflowVisible {\",\"overflow: visible;\",\"}\",\".blocklyBlockDragSurface {\",\"display: none;\",\"position: absolute;\",\"top: 0;\",\"left: 0;\",\"right: 0;\",\"bottom: 0;\",\"overflow: visible !important;\",\"z-index: 50;\",\"}\",\".blocklyTooltipDiv {\",\"background-color: #ffffc7;\",\"border: 1px solid #ddc;\",\"box-shadow: 4px 4px 20px 1px rgba(0,0,0,.15);\",\"color: #000;\",\"display: none;\",\"font-family: sans-serif;\",\"font-size: 9pt;\",\"opacity: 0.9;\",\n\"padding: 2px;\",\"position: absolute;\",\"z-index: 100000;\",\"}\",\".blocklyResizeSE {\",\"cursor: se-resize;\",\"fill: #aaa;\",\"}\",\".blocklyResizeSW {\",\"cursor: sw-resize;\",\"fill: #aaa;\",\"}\",\".blocklyResizeLine {\",\"stroke: #888;\",\"stroke-width: 1;\",\"}\",\".blocklyHighlightedConnectionPath {\",\"fill: none;\",\"stroke: #fc3;\",\"stroke-width: 4px;\",\"}\",\".blocklyPathLight {\",\"fill: none;\",\"stroke-linecap: round;\",\"stroke-width: 1;\",\"}\",\".blocklySelected>.blocklyPath {\",\"stroke: #fc3;\",\"stroke-width: 3px;\",\"}\",\".blocklySelected>.blocklyPathLight {\",\n\"display: none;\",\"}\",\".blocklyDraggable {\",'cursor: url(\"<<<PATH>>>/handopen.cur\"), auto;',\"cursor: grab;\",\"cursor: -webkit-grab;\",\"cursor: -moz-grab;\",\"}\",\".blocklyDragging {\",'cursor: url(\"<<<PATH>>>/handclosed.cur\"), auto;',\"cursor: grabbing;\",\"cursor: -webkit-grabbing;\",\"cursor: -moz-grabbing;\",\"}\",\".blocklyDraggable:active {\",'cursor: url(\"<<<PATH>>>/handclosed.cur\"), auto;',\"cursor: grabbing;\",\"cursor: -webkit-grabbing;\",\"cursor: -moz-grabbing;\",\"}\",\".blocklyBlockDragSurface .blocklyDraggable {\",\n'cursor: url(\"<<<PATH>>>/handclosed.cur\"), auto;',\"cursor: grabbing;\",\"cursor: -webkit-grabbing;\",\"cursor: -moz-grabbing;\",\"}\",\".blocklyDragging.blocklyDraggingDelete {\",'cursor: url(\"<<<PATH>>>/handdelete.cur\"), auto;',\"}\",\".blocklyToolboxDelete {\",'cursor: url(\"<<<PATH>>>/handdelete.cur\"), auto;',\"}\",\".blocklyDragging>.blocklyPath,\",\".blocklyDragging>.blocklyPathLight {\",\"fill-opacity: .8;\",\"stroke-opacity: .8;\",\"}\",\".blocklyDragging>.blocklyPathDark {\",\"display: none;\",\"}\",\".blocklyDisabled>.blocklyPath {\",\n\"fill-opacity: .5;\",\"stroke-opacity: .5;\",\"}\",\".blocklyDisabled>.blocklyPathLight,\",\".blocklyDisabled>.blocklyPathDark {\",\"display: none;\",\"}\",\".blocklyText {\",\"cursor: default;\",\"fill: #fff;\",\"font-family: sans-serif;\",\"font-size: 11pt;\",\"}\",\".blocklyNonEditableText>text {\",\"pointer-events: none;\",\"}\",\".blocklyNonEditableText>rect,\",\".blocklyEditableText>rect {\",\"fill: #fff;\",\"fill-opacity: .6;\",\"}\",\".blocklyNonEditableText>text,\",\".blocklyEditableText>text {\",\"fill: #000;\",\"}\",\".blocklyEditableText:hover>rect {\",\n\"stroke: #fff;\",\"stroke-width: 2;\",\"}\",\".blocklyBubbleText {\",\"fill: #000;\",\"}\",\".blocklyFlyout {\",\"position: absolute;\",\"z-index: 20;\",\"}\",\".blocklyFlyoutButton {\",\"fill: #888;\",\"cursor: default;\",\"}\",\".blocklyFlyoutButtonShadow {\",\"fill: #666;\",\"}\",\".blocklyFlyoutButton:hover {\",\"fill: #aaa;\",\"}\",\".blocklyFlyoutLabel {\",\"cursor: default;\",\"}\",\".blocklyFlyoutLabelBackground {\",\"opacity: 0;\",\"}\",\".blocklyFlyoutLabelText {\",\"fill: #000;\",\"}\",\".blocklySvg text, .blocklyBlockDragSurface text {\",\"user-select: none;\",\n\"-moz-user-select: none;\",\"-webkit-user-select: none;\",\"cursor: inherit;\",\"}\",\".blocklyHidden {\",\"display: none;\",\"}\",\".blocklyFieldDropdown:not(.blocklyHidden) {\",\"display: block;\",\"}\",\".blocklyIconGroup {\",\"cursor: default;\",\"}\",\".blocklyIconGroup:not(:hover),\",\".blocklyIconGroupReadonly {\",\"opacity: .6;\",\"}\",\".blocklyIconShape {\",\"fill: #00f;\",\"stroke: #fff;\",\"stroke-width: 1px;\",\"}\",\".blocklyIconSymbol {\",\"fill: #fff;\",\"}\",\".blocklyMinimalBody {\",\"margin: 0;\",\"padding: 0;\",\"}\",\".blocklyCommentTextarea {\",\n\"background-color: #ffc;\",\"border: 0;\",\"margin: 0;\",\"padding: 2px;\",\"resize: none;\",\"}\",\".blocklyHtmlInput {\",\"border: none;\",\"border-radius: 4px;\",\"font-family: sans-serif;\",\"height: 100%;\",\"margin: 0;\",\"outline: none;\",\"padding: 0 1px;\",\"width: 100%\",\"}\",\".blocklyMainBackground {\",\"stroke-width: 1;\",\"stroke: #c6c6c6;\",\"}\",\".blocklyMutatorBackground {\",\"fill: #fff;\",\"stroke: #ddd;\",\"stroke-width: 1;\",\"}\",\".blocklyFlyoutBackground {\",\"fill: #ddd;\",\"fill-opacity: .8;\",\"}\",\".blocklyTransparentBackground {\",\n\"opacity: 0;\",\"}\",\".blocklyMainWorkspaceScrollbar {\",\"z-index: 20;\",\"}\",\".blocklyFlyoutScrollbar {\",\"z-index: 30;\",\"}\",\".blocklyScrollbarHorizontal, .blocklyScrollbarVertical {\",\"position: absolute;\",\"outline: none;\",\"}\",\".blocklyScrollbarBackground {\",\"opacity: 0;\",\"}\",\".blocklyScrollbarHandle {\",\"fill: #ccc;\",\"}\",\".blocklyScrollbarBackground:hover+.blocklyScrollbarHandle,\",\".blocklyScrollbarHandle:hover {\",\"fill: #bbb;\",\"}\",\".blocklyZoom>image {\",\"opacity: .4;\",\"}\",\".blocklyZoom>image:hover {\",\n\"opacity: .6;\",\"}\",\".blocklyZoom>image:active {\",\"opacity: .8;\",\"}\",\".blocklyFlyout .blocklyScrollbarHandle {\",\"fill: #bbb;\",\"}\",\".blocklyFlyout .blocklyScrollbarBackground:hover+.blocklyScrollbarHandle,\",\".blocklyFlyout .blocklyScrollbarHandle:hover {\",\"fill: #aaa;\",\"}\",\".blocklyInvalidInput {\",\"background: #faa;\",\"}\",\".blocklyAngleCircle {\",\"stroke: #444;\",\"stroke-width: 1;\",\"fill: #ddd;\",\"fill-opacity: .8;\",\"}\",\".blocklyAngleMarks {\",\"stroke: #444;\",\"stroke-width: 1;\",\"}\",\".blocklyAngleGauge {\",\n\"fill: #f88;\",\"fill-opacity: .8;\",\"}\",\".blocklyAngleLine {\",\"stroke: #f00;\",\"stroke-width: 2;\",\"stroke-linecap: round;\",\"pointer-events: none;\",\"}\",\".blocklyContextMenu {\",\"border-radius: 4px;\",\"}\",\".blocklyDropdownMenu {\",\"padding: 0 !important;\",\"}\",\".blocklyWidgetDiv .goog-option-selected .goog-menuitem-checkbox,\",\".blocklyWidgetDiv .goog-option-selected .goog-menuitem-icon {\",\"background: url(<<<PATH>>>/sprites.png) no-repeat -48px -16px !important;\",\"}\",\".blocklyToolboxDiv {\",\"background-color: #ddd;\",\n\"overflow-x: visible;\",\"overflow-y: auto;\",\"position: absolute;\",\"z-index: 70;\",\"-webkit-tap-highlight-color: transparent;\",\"}\",\".blocklyTreeRoot {\",\"padding: 4px 0;\",\"}\",\".blocklyTreeRoot:focus {\",\"outline: none;\",\"}\",\".blocklyTreeRow {\",\"height: 22px;\",\"line-height: 22px;\",\"margin-bottom: 3px;\",\"padding-right: 8px;\",\"white-space: nowrap;\",\"}\",\".blocklyHorizontalTree {\",\"float: left;\",\"margin: 1px 5px 8px 0;\",\"}\",\".blocklyHorizontalTreeRtl {\",\"float: right;\",\"margin: 1px 0 8px 5px;\",\"}\",'.blocklyToolboxDiv[dir=\"RTL\"] .blocklyTreeRow {',\n\"margin-left: 8px;\",\"}\",\".blocklyTreeRow:not(.blocklyTreeSelected):hover {\",\"background-color: #e4e4e4;\",\"}\",\".blocklyTreeSeparator {\",\"border-bottom: solid #e5e5e5 1px;\",\"height: 0;\",\"margin: 5px 0;\",\"}\",\".blocklyTreeSeparatorHorizontal {\",\"border-right: solid #e5e5e5 1px;\",\"width: 0;\",\"padding: 5px 0;\",\"margin: 0 5px;\",\"}\",\".blocklyTreeIcon {\",\"background-image: url(<<<PATH>>>/sprites.png);\",\"height: 16px;\",\"vertical-align: middle;\",\"width: 16px;\",\"}\",\".blocklyTreeIconClosedLtr {\",\"background-position: -32px -1px;\",\n\"}\",\".blocklyTreeIconClosedRtl {\",\"background-position: 0px -1px;\",\"}\",\".blocklyTreeIconOpen {\",\"background-position: -16px -1px;\",\"}\",\".blocklyTreeSelected>.blocklyTreeIconClosedLtr {\",\"background-position: -32px -17px;\",\"}\",\".blocklyTreeSelected>.blocklyTreeIconClosedRtl {\",\"background-position: 0px -17px;\",\"}\",\".blocklyTreeSelected>.blocklyTreeIconOpen {\",\"background-position: -16px -17px;\",\"}\",\".blocklyTreeIconNone,\",\".blocklyTreeSelected>.blocklyTreeIconNone {\",\"background-position: -48px -1px;\",\n\"}\",\".blocklyTreeLabel {\",\"cursor: default;\",\"font-family: sans-serif;\",\"font-size: 16px;\",\"padding: 0 3px;\",\"vertical-align: middle;\",\"}\",\".blocklyToolboxDelete .blocklyTreeLabel {\",'cursor: url(\"<<<PATH>>>/handdelete.cur\"), auto;',\"}\",\".blocklyTreeSelected .blocklyTreeLabel {\",\"color: #fff;\",\"}\",\".blocklyWidgetDiv .goog-palette {\",\"outline: none;\",\"cursor: default;\",\"}\",\".blocklyWidgetDiv .goog-palette-table {\",\"border: 1px solid #666;\",\"border-collapse: collapse;\",\"}\",\".blocklyWidgetDiv .goog-palette-cell {\",\n\"height: 13px;\",\"width: 15px;\",\"margin: 0;\",\"border: 0;\",\"text-align: center;\",\"vertical-align: middle;\",\"border-right: 1px solid #666;\",\"font-size: 1px;\",\"}\",\".blocklyWidgetDiv .goog-palette-colorswatch {\",\"position: relative;\",\"height: 13px;\",\"width: 15px;\",\"border: 1px solid #666;\",\"}\",\".blocklyWidgetDiv .goog-palette-cell-hover .goog-palette-colorswatch {\",\"border: 1px solid #FFF;\",\"}\",\".blocklyWidgetDiv .goog-palette-cell-selected .goog-palette-colorswatch {\",\"border: 1px solid #000;\",\"color: #fff;\",\n\"}\",\".blocklyWidgetDiv .goog-menu {\",\"background: #fff;\",\"border-color: #ccc #666 #666 #ccc;\",\"border-style: solid;\",\"border-width: 1px;\",\"cursor: default;\",\"font: normal 13px Arial, sans-serif;\",\"margin: 0;\",\"outline: none;\",\"padding: 4px 0;\",\"position: absolute;\",\"overflow-y: auto;\",\"overflow-x: hidden;\",\"max-height: 100%;\",\"z-index: 20000;\",\"}\",\".blocklyWidgetDiv .goog-menuitem {\",\"color: #000;\",\"font: normal 13px Arial, sans-serif;\",\"list-style: none;\",\"margin: 0;\",\"padding: 4px 7em 4px 28px;\",\n\"white-space: nowrap;\",\"}\",\".blocklyWidgetDiv .goog-menuitem.goog-menuitem-rtl {\",\"padding-left: 7em;\",\"padding-right: 28px;\",\"}\",\".blocklyWidgetDiv .goog-menu-nocheckbox .goog-menuitem,\",\".blocklyWidgetDiv .goog-menu-noicon .goog-menuitem {\",\"padding-left: 12px;\",\"}\",\".blocklyWidgetDiv .goog-menu-noaccel .goog-menuitem {\",\"padding-right: 20px;\",\"}\",\".blocklyWidgetDiv .goog-menuitem-content {\",\"color: #000;\",\"font: normal 13px Arial, sans-serif;\",\"}\",\".blocklyWidgetDiv .goog-menuitem-disabled .goog-menuitem-accel,\",\n\".blocklyWidgetDiv .goog-menuitem-disabled .goog-menuitem-content {\",\"color: #ccc !important;\",\"}\",\".blocklyWidgetDiv .goog-menuitem-disabled .goog-menuitem-icon {\",\"opacity: 0.3;\",\"-moz-opacity: 0.3;\",\"filter: alpha(opacity=30);\",\"}\",\".blocklyWidgetDiv .goog-menuitem-highlight,\",\".blocklyWidgetDiv .goog-menuitem-hover {\",\"background-color: #d6e9f8;\",\"border-color: #d6e9f8;\",\"border-style: dotted;\",\"border-width: 1px 0;\",\"padding-bottom: 3px;\",\"padding-top: 3px;\",\"}\",\".blocklyWidgetDiv .goog-menuitem-checkbox,\",\n\".blocklyWidgetDiv .goog-menuitem-icon {\",\"background-repeat: no-repeat;\",\"height: 16px;\",\"left: 6px;\",\"position: absolute;\",\"right: auto;\",\"vertical-align: middle;\",\"width: 16px;\",\"}\",\".blocklyWidgetDiv .goog-menuitem-rtl .goog-menuitem-checkbox,\",\".blocklyWidgetDiv .goog-menuitem-rtl .goog-menuitem-icon {\",\"left: auto;\",\"right: 6px;\",\"}\",\".blocklyWidgetDiv .goog-option-selected .goog-menuitem-checkbox,\",\".blocklyWidgetDiv .goog-option-selected .goog-menuitem-icon {\",\"background: url(//ssl.gstatic.com/editor/editortoolbar.png) no-repeat -512px 0;\",\n\"}\",\".blocklyWidgetDiv .goog-menuitem-accel {\",\"color: #999;\",\"direction: ltr;\",\"left: auto;\",\"padding: 0 6px;\",\"position: absolute;\",\"right: 0;\",\"text-align: right;\",\"}\",\".blocklyWidgetDiv .goog-menuitem-rtl .goog-menuitem-accel {\",\"left: 0;\",\"right: auto;\",\"text-align: left;\",\"}\",\".blocklyWidgetDiv .goog-menuitem-mnemonic-hint {\",\"text-decoration: underline;\",\"}\",\".blocklyWidgetDiv .goog-menuitem-mnemonic-separator {\",\"color: #999;\",\"font-size: 12px;\",\"padding-left: 4px;\",\"}\",\".blocklyWidgetDiv .goog-menuseparator {\",\n\"border-top: 1px solid #ccc;\",\"margin: 4px 0;\",\"padding: 0;\",\"}\",\"\"];Blockly.WidgetDiv={};Blockly.WidgetDiv.DIV=null;Blockly.WidgetDiv.owner_=null;Blockly.WidgetDiv.dispose_=null;Blockly.WidgetDiv.createDom=function(){Blockly.WidgetDiv.DIV||(Blockly.WidgetDiv.DIV=goog.dom.createDom(\"DIV\",\"blocklyWidgetDiv\"),document.body.appendChild(Blockly.WidgetDiv.DIV))};\nBlockly.WidgetDiv.show=function(a,b,c){Blockly.WidgetDiv.hide();Blockly.WidgetDiv.owner_=a;Blockly.WidgetDiv.dispose_=c;a=goog.style.getViewportPageOffset(document);Blockly.WidgetDiv.DIV.style.top=a.y+\"px\";Blockly.WidgetDiv.DIV.style.direction=b?\"rtl\":\"ltr\";Blockly.WidgetDiv.DIV.style.display=\"block\"};\nBlockly.WidgetDiv.hide=function(){Blockly.WidgetDiv.owner_&&(Blockly.WidgetDiv.owner_=null,Blockly.WidgetDiv.DIV.style.display=\"none\",Blockly.WidgetDiv.DIV.style.left=\"\",Blockly.WidgetDiv.DIV.style.top=\"\",Blockly.WidgetDiv.dispose_&&Blockly.WidgetDiv.dispose_(),Blockly.WidgetDiv.dispose_=null,goog.dom.removeChildren(Blockly.WidgetDiv.DIV))};Blockly.WidgetDiv.isVisible=function(){return!!Blockly.WidgetDiv.owner_};Blockly.WidgetDiv.hideIfOwner=function(a){Blockly.WidgetDiv.owner_==a&&Blockly.WidgetDiv.hide()};\nBlockly.WidgetDiv.position=function(a,b,c,d,e){b<d.y&&(b=d.y);e?a>c.width+d.x&&(a=c.width+d.x):a<d.x&&(a=d.x);Blockly.WidgetDiv.positionInternal_(a,b,c.height)};Blockly.WidgetDiv.positionInternal_=function(a,b,c){Blockly.WidgetDiv.DIV.style.left=a+\"px\";Blockly.WidgetDiv.DIV.style.top=b+\"px\";Blockly.WidgetDiv.DIV.style.height=c+\"px\"};\nBlockly.WidgetDiv.positionWithAnchor=function(a,b,c,d){var e=Blockly.WidgetDiv.calculateY_(a,b,c);a=Blockly.WidgetDiv.calculateX_(a,b,c,d);Blockly.WidgetDiv.positionInternal_(a,e,c.height)};Blockly.WidgetDiv.calculateX_=function(a,b,c,d){if(d)return b=Math.max(b.right-c.width,a.left),Math.min(b,a.right-c.width);b=Math.min(b.left,a.right-c.width);return Math.max(b,a.left)};Blockly.WidgetDiv.calculateY_=function(a,b,c){return b.bottom+c.height>=a.bottom?b.top-c.height:b.bottom};Blockly.inject=function(a,b){goog.isString(a)&&(a=document.getElementById(a)||document.querySelector(a));if(!goog.dom.contains(document,a))throw\"Error: container is not in current document.\";var c=new Blockly.Options(b||{}),d=goog.dom.createDom(\"div\",\"injectionDiv\");a.appendChild(d);var e=Blockly.createDom_(d,c),f=new Blockly.BlockDragSurfaceSvg(d);d=new Blockly.WorkspaceDragSurfaceSvg(d);c=Blockly.createMainWorkspace_(e,c,f,d);Blockly.init_(c);Blockly.mainWorkspace=c;Blockly.svgResize(c);return c};\nBlockly.createDom_=function(a,b){a.setAttribute(\"dir\",\"LTR\");goog.ui.Component.setDefaultRightToLeft(b.RTL);Blockly.Css.inject(b.hasCss,b.pathToMedia);var c=Blockly.utils.createSvgElement(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",\"xmlns:html\":\"http://www.w3.org/1999/xhtml\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",version:\"1.1\",\"class\":\"blocklySvg\"},a),d=Blockly.utils.createSvgElement(\"defs\",{},c),e=String(Math.random()).substring(2),f=Blockly.utils.createSvgElement(\"filter\",{id:\"blocklyEmbossFilter\"+\ne},d);Blockly.utils.createSvgElement(\"feGaussianBlur\",{\"in\":\"SourceAlpha\",stdDeviation:1,result:\"blur\"},f);var g=Blockly.utils.createSvgElement(\"feSpecularLighting\",{\"in\":\"blur\",surfaceScale:1,specularConstant:.5,specularExponent:10,\"lighting-color\":\"white\",result:\"specOut\"},f);Blockly.utils.createSvgElement(\"fePointLight\",{x:-5E3,y:-1E4,z:2E4},g);Blockly.utils.createSvgElement(\"feComposite\",{\"in\":\"specOut\",in2:\"SourceAlpha\",operator:\"in\",result:\"specOut\"},f);Blockly.utils.createSvgElement(\"feComposite\",\n{\"in\":\"SourceGraphic\",in2:\"specOut\",operator:\"arithmetic\",k1:0,k2:1,k3:1,k4:0},f);b.embossFilterId=f.id;f=Blockly.utils.createSvgElement(\"pattern\",{id:\"blocklyDisabledPattern\"+e,patternUnits:\"userSpaceOnUse\",width:10,height:10},d);Blockly.utils.createSvgElement(\"rect\",{width:10,height:10,fill:\"#aaa\"},f);Blockly.utils.createSvgElement(\"path\",{d:\"M 0 0 L 10 10 M 10 0 L 0 10\",stroke:\"#cc0\"},f);b.disabledPatternId=f.id;b.gridPattern=Blockly.Grid.createDom(e,b.gridOptions,d);return c};\nBlockly.createMainWorkspace_=function(a,b,c,d){b.parentWorkspace=null;var e=new Blockly.WorkspaceSvg(b,c,d);e.scale=b.zoomOptions.startScale;a.appendChild(e.createDom(\"blocklyMainBackground\"));!b.hasCategories&&b.languageTree&&(c=e.addFlyout_(\"svg\"),Blockly.utils.insertAfter_(c,a));e.translate(0,0);Blockly.mainWorkspace=e;b.readOnly||b.hasScrollbars||e.addChangeListener(function(){if(!e.isDragging()){var a=e.getMetrics(),c=a.viewLeft+a.absoluteLeft,d=a.viewTop+a.absoluteTop;if(a.contentTop<d||a.contentTop+\na.contentHeight>a.viewHeight+d||a.contentLeft<(b.RTL?a.viewLeft:c)||a.contentLeft+a.contentWidth>(b.RTL?a.viewWidth:a.viewWidth+c))for(var k=e.getTopBlocks(!1),n=0,p;p=k[n];n++){var l=p.getRelativeToSurfaceXY(),m=p.getHeightWidth(),q=d+25-m.height-l.y;0<q&&p.moveBy(0,q);q=d+a.viewHeight-25-l.y;0>q&&p.moveBy(0,q);q=25+c-l.x-(b.RTL?0:m.width);0<q&&p.moveBy(q,0);l=c+a.viewWidth-25-l.x+(b.RTL?m.width:0);0>l&&p.moveBy(l,0)}}});Blockly.svgResize(e);Blockly.WidgetDiv.createDom();Blockly.Tooltip.createDom();\nreturn e};\nBlockly.init_=function(a){var b=a.options,c=a.getParentSvg();Blockly.bindEventWithChecks_(c.parentNode,\"contextmenu\",null,function(a){Blockly.utils.isTargetInput(a)||a.preventDefault()});c=Blockly.bindEventWithChecks_(window,\"resize\",null,function(){Blockly.hideChaff(!0);Blockly.svgResize(a)});a.setResizeHandlerWrapper(c);Blockly.inject.bindDocumentEvents_();b.languageTree&&(a.toolbox_?a.toolbox_.init(a):a.flyout_&&(a.flyout_.init(a),a.flyout_.show(b.languageTree.childNodes),a.flyout_.scrollToStart(),a.scrollX=\na.flyout_.width_,b.toolboxPosition==Blockly.TOOLBOX_AT_RIGHT&&(a.scrollX*=-1),a.translate(a.scrollX,0)));b.hasScrollbars&&(a.scrollbar=new Blockly.ScrollbarPair(a),a.scrollbar.resize());b.hasSounds&&Blockly.inject.loadSounds_(b.pathToMedia,a)};\nBlockly.inject.bindDocumentEvents_=function(){Blockly.documentEventsBound_||(Blockly.bindEventWithChecks_(document,\"keydown\",null,Blockly.onKeyDown_),Blockly.bindEvent_(document,\"touchend\",null,Blockly.longStop_),Blockly.bindEvent_(document,\"touchcancel\",null,Blockly.longStop_),goog.userAgent.IPAD&&Blockly.bindEventWithChecks_(window,\"orientationchange\",document,function(){Blockly.svgResize(Blockly.getMainWorkspace())}));Blockly.documentEventsBound_=!0};\nBlockly.inject.loadSounds_=function(a,b){var c=b.getAudioManager();c.load([a+\"click.mp3\",a+\"click.wav\",a+\"click.ogg\"],\"click\");c.load([a+\"disconnect.wav\",a+\"disconnect.mp3\",a+\"disconnect.ogg\"],\"disconnect\");c.load([a+\"delete.mp3\",a+\"delete.ogg\",a+\"delete.wav\"],\"delete\");var d=[],e=function(){for(;d.length;)Blockly.unbindEvent_(d.pop());c.preload()};d.push(Blockly.bindEventWithChecks_(document,\"mousemove\",null,e,!0));d.push(Blockly.bindEventWithChecks_(document,\"touchstart\",null,e,!0))};\nBlockly.updateToolbox=function(a){console.warn(\"Deprecated call to Blockly.updateToolbox, use workspace.updateToolbox instead.\");Blockly.getMainWorkspace().updateToolbox(a)};var CLOSURE_DEFINES={\"goog.DEBUG\":!1};Blockly.mainWorkspace=null;Blockly.selected=null;Blockly.draggingConnections_=[];Blockly.clipboardXml_=null;Blockly.clipboardSource_=null;Blockly.cache3dSupported_=null;Blockly.hueToRgb=function(a){return goog.color.hsvToHex(a,Blockly.HSV_SATURATION,255*Blockly.HSV_VALUE)};Blockly.svgSize=function(a){return{width:a.cachedWidth_,height:a.cachedHeight_}};Blockly.resizeSvgContents=function(a){a.resizeContents()};\nBlockly.svgResize=function(a){for(;a.options.parentWorkspace;)a=a.options.parentWorkspace;var b=a.getParentSvg(),c=b.parentNode;if(c){var d=c.offsetWidth;c=c.offsetHeight;b.cachedWidth_!=d&&(b.setAttribute(\"width\",d+\"px\"),b.cachedWidth_=d);b.cachedHeight_!=c&&(b.setAttribute(\"height\",c+\"px\"),b.cachedHeight_=c);a.resize()}};\nBlockly.onKeyDown_=function(a){if(!Blockly.mainWorkspace.options.readOnly&&!Blockly.utils.isTargetInput(a)){var b=!1;if(27==a.keyCode)Blockly.hideChaff();else if(8==a.keyCode||46==a.keyCode){a.preventDefault();if(Blockly.mainWorkspace.isDragging())return;Blockly.selected&&Blockly.selected.isDeletable()&&(b=!0)}else if(a.altKey||a.ctrlKey||a.metaKey){if(Blockly.mainWorkspace.isDragging())return;Blockly.selected&&Blockly.selected.isDeletable()&&Blockly.selected.isMovable()&&(67==a.keyCode?(Blockly.hideChaff(),\nBlockly.copy_(Blockly.selected)):88==a.keyCode&&(Blockly.copy_(Blockly.selected),b=!0));86==a.keyCode?Blockly.clipboardXml_&&(Blockly.Events.setGroup(!0),Blockly.clipboardSource_.paste(Blockly.clipboardXml_),Blockly.Events.setGroup(!1)):90==a.keyCode&&(Blockly.hideChaff(),Blockly.mainWorkspace.undo(a.shiftKey))}b&&(Blockly.Events.setGroup(!0),Blockly.hideChaff(),Blockly.selected.dispose(!0,!0),Blockly.Events.setGroup(!1))}};\nBlockly.copy_=function(a){var b=Blockly.Xml.blockToDom(a);Blockly.Xml.deleteNext(b);var c=a.getRelativeToSurfaceXY();b.setAttribute(\"x\",a.RTL?-c.x:c.x);b.setAttribute(\"y\",c.y);Blockly.clipboardXml_=b;Blockly.clipboardSource_=a.workspace};Blockly.duplicate_=function(a){var b=Blockly.clipboardXml_,c=Blockly.clipboardSource_;Blockly.copy_(a);a.workspace.paste(Blockly.clipboardXml_);Blockly.clipboardXml_=b;Blockly.clipboardSource_=c};\nBlockly.onContextMenu_=function(a){Blockly.utils.isTargetInput(a)||a.preventDefault()};Blockly.hideChaff=function(a){Blockly.Tooltip.hide();Blockly.WidgetDiv.hide();a||(a=Blockly.getMainWorkspace(),a.toolbox_&&a.toolbox_.flyout_&&a.toolbox_.flyout_.autoClose&&a.toolbox_.clearSelection())};Blockly.addChangeListener=function(a){console.warn(\"Deprecated call to Blockly.addChangeListener, use workspace.addChangeListener instead.\");return Blockly.getMainWorkspace().addChangeListener(a)};\nBlockly.getMainWorkspace=function(){return Blockly.mainWorkspace};Blockly.alert=function(a,b){window.alert(a);b&&b()};Blockly.confirm=function(a,b){b(window.confirm(a))};Blockly.prompt=function(a,b,c){c(window.prompt(a,b))};Blockly.jsonInitFactory_=function(a){return function(){this.jsonInit(a)}};\nBlockly.defineBlocksWithJsonArray=function(a){for(var b=0,c;c=a[b];b++){var d=c.type;null==d||\"\"===d?console.warn(\"Block definition #\"+b+\" in JSON array is missing a type attribute. Skipping.\"):(Blockly.Blocks[d]&&console.warn(\"Block definition #\"+b+' in JSON array overwrites prior definition of \"'+d+'\".'),Blockly.Blocks[d]={init:Blockly.jsonInitFactory_(c)})}};\nBlockly.bindEventWithChecks_=function(a,b,c,d,e,f){var g=!1,h=function(a){var b=!e;a=Blockly.Touch.splitEventByTouches(a);for(var f=0,h;h=a[f];f++)if(!b||Blockly.Touch.shouldHandleEvent(h))Blockly.Touch.setClientFromTouch(h),c?d.call(c,h):d(h),g=!0};a.addEventListener(b,h,!1);var k=[[a,b,h]];if(b in Blockly.Touch.TOUCH_MAP)for(var n=function(a){h(a);var b=!f;g&&b&&a.preventDefault()},p=0,l;l=Blockly.Touch.TOUCH_MAP[b][p];p++)a.addEventListener(l,n,!1),k.push([a,l,n]);return k};\nBlockly.bindEvent_=function(a,b,c,d){var e=function(a){c?d.call(c,a):d(a)};a.addEventListener(b,e,!1);var f=[[a,b,e]];if(b in Blockly.Touch.TOUCH_MAP)for(var g=function(a){if(1==a.changedTouches.length){var b=a.changedTouches[0];a.clientX=b.clientX;a.clientY=b.clientY}e(a);a.preventDefault()},h=0,k;k=Blockly.Touch.TOUCH_MAP[b][h];h++)a.addEventListener(k,g,!1),f.push([a,k,g]);return f};Blockly.unbindEvent_=function(a){for(;a.length;){var b=a.pop(),c=b[2];b[0].removeEventListener(b[1],c,!1)}return c};\nBlockly.isNumber=function(a){return!!a.match(/^\\s*-?\\d+(\\.\\d+)?\\s*$/)};goog.global.console||(goog.global.console={log:function(){},warn:function(){}});goog.global.Blockly||(goog.global.Blockly={});goog.global.Blockly.getMainWorkspace=Blockly.getMainWorkspace;goog.global.Blockly.addChangeListener=Blockly.addChangeListener;","// Do not edit this file; automatically generated by build.py.\n'use strict';\n\n\nBlockly.Blocks.colour={};Blockly.Constants={};Blockly.Constants.Colour={};Blockly.Constants.Colour.HUE=20;Blockly.Blocks.colour.HUE=Blockly.Constants.Colour.HUE;\nBlockly.defineBlocksWithJsonArray([{type:\"colour_picker\",message0:\"%1\",args0:[{type:\"field_colour\",name:\"COLOUR\",colour:\"#ff0000\"}],output:\"Colour\",colour:\"%{BKY_COLOUR_HUE}\",helpUrl:\"%{BKY_COLOUR_PICKER_HELPURL}\",tooltip:\"%{BKY_COLOUR_PICKER_TOOLTIP}\",extensions:[\"parent_tooltip_when_inline\"]},{type:\"colour_random\",message0:\"%{BKY_COLOUR_RANDOM_TITLE}\",output:\"Colour\",colour:\"%{BKY_COLOUR_HUE}\",helpUrl:\"%{BKY_COLOUR_RANDOM_HELPURL}\",tooltip:\"%{BKY_COLOUR_RANDOM_TOOLTIP}\"},{type:\"colour_rgb\",message0:\"%{BKY_COLOUR_RGB_TITLE} %{BKY_COLOUR_RGB_RED} %1 %{BKY_COLOUR_RGB_GREEN} %2 %{BKY_COLOUR_RGB_BLUE} %3\",\nargs0:[{type:\"input_value\",name:\"RED\",check:\"Number\",align:\"RIGHT\"},{type:\"input_value\",name:\"GREEN\",check:\"Number\",align:\"RIGHT\"},{type:\"input_value\",name:\"BLUE\",check:\"Number\",align:\"RIGHT\"}],output:\"Colour\",colour:\"%{BKY_COLOUR_HUE}\",helpUrl:\"%{BKY_COLOUR_RGB_HELPURL}\",tooltip:\"%{BKY_COLOUR_RGB_TOOLTIP}\"},{type:\"colour_blend\",message0:\"%{BKY_COLOUR_BLEND_TITLE} %{BKY_COLOUR_BLEND_COLOUR1} %1 %{BKY_COLOUR_BLEND_COLOUR2} %2 %{BKY_COLOUR_BLEND_RATIO} %3\",args0:[{type:\"input_value\",name:\"COLOUR1\",\ncheck:\"Colour\",align:\"RIGHT\"},{type:\"input_value\",name:\"COLOUR2\",check:\"Colour\",align:\"RIGHT\"},{type:\"input_value\",name:\"RATIO\",check:\"Number\",align:\"RIGHT\"}],output:\"Colour\",colour:\"%{BKY_COLOUR_HUE}\",helpUrl:\"%{BKY_COLOUR_BLEND_HELPURL}\",tooltip:\"%{BKY_COLOUR_BLEND_TOOLTIP}\"}]);Blockly.Blocks.lists={};Blockly.Constants.Lists={};Blockly.Constants.Lists.HUE=260;Blockly.Blocks.lists.HUE=Blockly.Constants.Lists.HUE;\nBlockly.defineBlocksWithJsonArray([{type:\"lists_create_empty\",message0:\"%{BKY_LISTS_CREATE_EMPTY_TITLE}\",output:\"Array\",colour:\"%{BKY_LISTS_HUE}\",tooltip:\"%{BKY_LISTS_CREATE_EMPTY_TOOLTIP}\",helpUrl:\"%{BKY_LISTS_CREATE_EMPTY_HELPURL}\"},{type:\"lists_repeat\",message0:\"%{BKY_LISTS_REPEAT_TITLE}\",args0:[{type:\"input_value\",name:\"ITEM\"},{type:\"input_value\",name:\"NUM\",check:\"Number\"}],output:\"Array\",colour:\"%{BKY_LISTS_HUE}\",tooltip:\"%{BKY_LISTS_REPEAT_TOOLTIP}\",helpUrl:\"%{BKY_LISTS_REPEAT_HELPURL}\"},{type:\"lists_reverse\",\nmessage0:\"%{BKY_LISTS_REVERSE_MESSAGE0}\",args0:[{type:\"input_value\",name:\"LIST\",check:\"Array\"}],output:\"Array\",inputsInline:!0,colour:\"%{BKY_LISTS_HUE}\",tooltip:\"%{BKY_LISTS_REVERSE_TOOLTIP}\",helpUrl:\"%{BKY_LISTS_REVERSE_HELPURL}\"},{type:\"lists_isEmpty\",message0:\"%{BKY_LISTS_ISEMPTY_TITLE}\",args0:[{type:\"input_value\",name:\"VALUE\",check:[\"String\",\"Array\"]}],output:\"Boolean\",colour:\"%{BKY_LISTS_HUE}\",tooltip:\"%{BKY_LISTS_ISEMPTY_TOOLTIP}\",helpUrl:\"%{BKY_LISTS_ISEMPTY_HELPURL}\"},{type:\"lists_length\",\nmessage0:\"%{BKY_LISTS_LENGTH_TITLE}\",args0:[{type:\"input_value\",name:\"VALUE\",check:[\"String\",\"Array\"]}],output:\"Number\",colour:\"%{BKY_LISTS_HUE}\",tooltip:\"%{BKY_LISTS_LENGTH_TOOLTIP}\",helpUrl:\"%{BKY_LISTS_LENGTH_HELPURL}\"}]);\nBlockly.Blocks.lists_create_with={init:function(){this.setHelpUrl(Blockly.Msg.LISTS_CREATE_WITH_HELPURL);this.setColour(Blockly.Blocks.lists.HUE);this.itemCount_=3;this.updateShape_();this.setOutput(!0,\"Array\");this.setMutator(new Blockly.Mutator([\"lists_create_with_item\"]));this.setTooltip(Blockly.Msg.LISTS_CREATE_WITH_TOOLTIP)},mutationToDom:function(){var a=document.createElement(\"mutation\");a.setAttribute(\"items\",this.itemCount_);return a},domToMutation:function(a){this.itemCount_=parseInt(a.getAttribute(\"items\"),\n10);this.updateShape_()},decompose:function(a){var b=a.newBlock(\"lists_create_with_container\");b.initSvg();for(var c=b.getInput(\"STACK\").connection,d=0;d<this.itemCount_;d++){var e=a.newBlock(\"lists_create_with_item\");e.initSvg();c.connect(e.previousConnection);c=e.nextConnection}return b},compose:function(a){var b=a.getInputTargetBlock(\"STACK\");for(a=[];b;)a.push(b.valueConnection_),b=b.nextConnection&&b.nextConnection.targetBlock();for(b=0;b<this.itemCount_;b++){var c=this.getInput(\"ADD\"+b).connection.targetConnection;\nc&&-1==a.indexOf(c)&&c.disconnect()}this.itemCount_=a.length;this.updateShape_();for(b=0;b<this.itemCount_;b++)Blockly.Mutator.reconnect(a[b],this,\"ADD\"+b)},saveConnections:function(a){a=a.getInputTargetBlock(\"STACK\");for(var b=0;a;){var c=this.getInput(\"ADD\"+b);a.valueConnection_=c&&c.connection.targetConnection;b++;a=a.nextConnection&&a.nextConnection.targetBlock()}},updateShape_:function(){this.itemCount_&&this.getInput(\"EMPTY\")?this.removeInput(\"EMPTY\"):this.itemCount_||this.getInput(\"EMPTY\")||\nthis.appendDummyInput(\"EMPTY\").appendField(Blockly.Msg.LISTS_CREATE_EMPTY_TITLE);for(var a=0;a<this.itemCount_;a++)if(!this.getInput(\"ADD\"+a)){var b=this.appendValueInput(\"ADD\"+a);0==a&&b.appendField(Blockly.Msg.LISTS_CREATE_WITH_INPUT_WITH)}for(;this.getInput(\"ADD\"+a);)this.removeInput(\"ADD\"+a),a++}};\nBlockly.Blocks.lists_create_with_container={init:function(){this.setColour(Blockly.Blocks.lists.HUE);this.appendDummyInput().appendField(Blockly.Msg.LISTS_CREATE_WITH_CONTAINER_TITLE_ADD);this.appendStatementInput(\"STACK\");this.setTooltip(Blockly.Msg.LISTS_CREATE_WITH_CONTAINER_TOOLTIP);this.contextMenu=!1}};\nBlockly.Blocks.lists_create_with_item={init:function(){this.setColour(Blockly.Blocks.lists.HUE);this.appendDummyInput().appendField(Blockly.Msg.LISTS_CREATE_WITH_ITEM_TITLE);this.setPreviousStatement(!0);this.setNextStatement(!0);this.setTooltip(Blockly.Msg.LISTS_CREATE_WITH_ITEM_TOOLTIP);this.contextMenu=!1}};\nBlockly.Blocks.lists_indexOf={init:function(){var a=[[Blockly.Msg.LISTS_INDEX_OF_FIRST,\"FIRST\"],[Blockly.Msg.LISTS_INDEX_OF_LAST,\"LAST\"]];this.setHelpUrl(Blockly.Msg.LISTS_INDEX_OF_HELPURL);this.setColour(Blockly.Blocks.lists.HUE);this.setOutput(!0,\"Number\");this.appendValueInput(\"VALUE\").setCheck(\"Array\").appendField(Blockly.Msg.LISTS_INDEX_OF_INPUT_IN_LIST);this.appendValueInput(\"FIND\").appendField(new Blockly.FieldDropdown(a),\"END\");this.setInputsInline(!0);var b=this;this.setTooltip(function(){return Blockly.Msg.LISTS_INDEX_OF_TOOLTIP.replace(\"%1\",\nb.workspace.options.oneBasedIndex?\"0\":\"-1\")})}};\nBlockly.Blocks.lists_getIndex={init:function(){var a=[[Blockly.Msg.LISTS_GET_INDEX_GET,\"GET\"],[Blockly.Msg.LISTS_GET_INDEX_GET_REMOVE,\"GET_REMOVE\"],[Blockly.Msg.LISTS_GET_INDEX_REMOVE,\"REMOVE\"]];this.WHERE_OPTIONS=[[Blockly.Msg.LISTS_GET_INDEX_FROM_START,\"FROM_START\"],[Blockly.Msg.LISTS_GET_INDEX_FROM_END,\"FROM_END\"],[Blockly.Msg.LISTS_GET_INDEX_FIRST,\"FIRST\"],[Blockly.Msg.LISTS_GET_INDEX_LAST,\"LAST\"],[Blockly.Msg.LISTS_GET_INDEX_RANDOM,\"RANDOM\"]];this.setHelpUrl(Blockly.Msg.LISTS_GET_INDEX_HELPURL);this.setColour(Blockly.Blocks.lists.HUE);\na=new Blockly.FieldDropdown(a,function(a){this.sourceBlock_.updateStatement_(\"REMOVE\"==a)});this.appendValueInput(\"VALUE\").setCheck(\"Array\").appendField(Blockly.Msg.LISTS_GET_INDEX_INPUT_IN_LIST);this.appendDummyInput().appendField(a,\"MODE\").appendField(\"\",\"SPACE\");this.appendDummyInput(\"AT\");Blockly.Msg.LISTS_GET_INDEX_TAIL&&this.appendDummyInput(\"TAIL\").appendField(Blockly.Msg.LISTS_GET_INDEX_TAIL);this.setInputsInline(!0);this.setOutput(!0);this.updateAt_(!0);var b=this;this.setTooltip(function(){var a=\nb.getFieldValue(\"MODE\"),d=b.getFieldValue(\"WHERE\"),e=\"\";switch(a+\" \"+d){case \"GET FROM_START\":case \"GET FROM_END\":e=Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_FROM;break;case \"GET FIRST\":e=Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_FIRST;break;case \"GET LAST\":e=Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_LAST;break;case \"GET RANDOM\":e=Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_RANDOM;break;case \"GET_REMOVE FROM_START\":case \"GET_REMOVE FROM_END\":e=Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FROM;break;case \"GET_REMOVE FIRST\":e=\nBlockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FIRST;break;case \"GET_REMOVE LAST\":e=Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_LAST;break;case \"GET_REMOVE RANDOM\":e=Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_RANDOM;break;case \"REMOVE FROM_START\":case \"REMOVE FROM_END\":e=Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FROM;break;case \"REMOVE FIRST\":e=Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FIRST;break;case \"REMOVE LAST\":e=Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_LAST;break;case \"REMOVE RANDOM\":e=\nBlockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_RANDOM}if(\"FROM_START\"==d||\"FROM_END\"==d)e+=\"  \"+(\"FROM_START\"==d?Blockly.Msg.LISTS_INDEX_FROM_START_TOOLTIP:Blockly.Msg.LISTS_INDEX_FROM_END_TOOLTIP).replace(\"%1\",b.workspace.options.oneBasedIndex?\"#1\":\"#0\");return e})},mutationToDom:function(){var a=document.createElement(\"mutation\");a.setAttribute(\"statement\",!this.outputConnection);var b=this.getInput(\"AT\").type==Blockly.INPUT_VALUE;a.setAttribute(\"at\",b);return a},domToMutation:function(a){var b=\"true\"==\na.getAttribute(\"statement\");this.updateStatement_(b);a=\"false\"!=a.getAttribute(\"at\");this.updateAt_(a)},updateStatement_:function(a){a!=!this.outputConnection&&(this.unplug(!0,!0),a?(this.setOutput(!1),this.setPreviousStatement(!0),this.setNextStatement(!0)):(this.setPreviousStatement(!1),this.setNextStatement(!1),this.setOutput(!0)))},updateAt_:function(a){this.removeInput(\"AT\");this.removeInput(\"ORDINAL\",!0);a?(this.appendValueInput(\"AT\").setCheck(\"Number\"),Blockly.Msg.ORDINAL_NUMBER_SUFFIX&&this.appendDummyInput(\"ORDINAL\").appendField(Blockly.Msg.ORDINAL_NUMBER_SUFFIX)):\nthis.appendDummyInput(\"AT\");var b=new Blockly.FieldDropdown(this.WHERE_OPTIONS,function(b){var c=\"FROM_START\"==b||\"FROM_END\"==b;if(c!=a){var e=this.sourceBlock_;e.updateAt_(c);e.setFieldValue(b,\"WHERE\");return null}});this.getInput(\"AT\").appendField(b,\"WHERE\");Blockly.Msg.LISTS_GET_INDEX_TAIL&&this.moveInputBefore(\"TAIL\",null)}};\nBlockly.Blocks.lists_setIndex={init:function(){var a=[[Blockly.Msg.LISTS_SET_INDEX_SET,\"SET\"],[Blockly.Msg.LISTS_SET_INDEX_INSERT,\"INSERT\"]];this.WHERE_OPTIONS=[[Blockly.Msg.LISTS_GET_INDEX_FROM_START,\"FROM_START\"],[Blockly.Msg.LISTS_GET_INDEX_FROM_END,\"FROM_END\"],[Blockly.Msg.LISTS_GET_INDEX_FIRST,\"FIRST\"],[Blockly.Msg.LISTS_GET_INDEX_LAST,\"LAST\"],[Blockly.Msg.LISTS_GET_INDEX_RANDOM,\"RANDOM\"]];this.setHelpUrl(Blockly.Msg.LISTS_SET_INDEX_HELPURL);this.setColour(Blockly.Blocks.lists.HUE);this.appendValueInput(\"LIST\").setCheck(\"Array\").appendField(Blockly.Msg.LISTS_SET_INDEX_INPUT_IN_LIST);\nthis.appendDummyInput().appendField(new Blockly.FieldDropdown(a),\"MODE\").appendField(\"\",\"SPACE\");this.appendDummyInput(\"AT\");this.appendValueInput(\"TO\").appendField(Blockly.Msg.LISTS_SET_INDEX_INPUT_TO);this.setInputsInline(!0);this.setPreviousStatement(!0);this.setNextStatement(!0);this.setTooltip(Blockly.Msg.LISTS_SET_INDEX_TOOLTIP);this.updateAt_(!0);var b=this;this.setTooltip(function(){var a=b.getFieldValue(\"MODE\"),d=b.getFieldValue(\"WHERE\"),e=\"\";switch(a+\" \"+d){case \"SET FROM_START\":case \"SET FROM_END\":e=\nBlockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_FROM;break;case \"SET FIRST\":e=Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_FIRST;break;case \"SET LAST\":e=Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_LAST;break;case \"SET RANDOM\":e=Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_RANDOM;break;case \"INSERT FROM_START\":case \"INSERT FROM_END\":e=Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FROM;break;case \"INSERT FIRST\":e=Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FIRST;break;case \"INSERT LAST\":e=Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_LAST;\nbreak;case \"INSERT RANDOM\":e=Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_RANDOM}if(\"FROM_START\"==d||\"FROM_END\"==d)e+=\"  \"+Blockly.Msg.LISTS_INDEX_FROM_START_TOOLTIP.replace(\"%1\",b.workspace.options.oneBasedIndex?\"#1\":\"#0\");return e})},mutationToDom:function(){var a=document.createElement(\"mutation\"),b=this.getInput(\"AT\").type==Blockly.INPUT_VALUE;a.setAttribute(\"at\",b);return a},domToMutation:function(a){a=\"false\"!=a.getAttribute(\"at\");this.updateAt_(a)},updateAt_:function(a){this.removeInput(\"AT\");\nthis.removeInput(\"ORDINAL\",!0);a?(this.appendValueInput(\"AT\").setCheck(\"Number\"),Blockly.Msg.ORDINAL_NUMBER_SUFFIX&&this.appendDummyInput(\"ORDINAL\").appendField(Blockly.Msg.ORDINAL_NUMBER_SUFFIX)):this.appendDummyInput(\"AT\");var b=new Blockly.FieldDropdown(this.WHERE_OPTIONS,function(b){var c=\"FROM_START\"==b||\"FROM_END\"==b;if(c!=a){var e=this.sourceBlock_;e.updateAt_(c);e.setFieldValue(b,\"WHERE\");return null}});this.moveInputBefore(\"AT\",\"TO\");this.getInput(\"ORDINAL\")&&this.moveInputBefore(\"ORDINAL\",\n\"TO\");this.getInput(\"AT\").appendField(b,\"WHERE\")}};\nBlockly.Blocks.lists_getSublist={init:function(){this.WHERE_OPTIONS_1=[[Blockly.Msg.LISTS_GET_SUBLIST_START_FROM_START,\"FROM_START\"],[Blockly.Msg.LISTS_GET_SUBLIST_START_FROM_END,\"FROM_END\"],[Blockly.Msg.LISTS_GET_SUBLIST_START_FIRST,\"FIRST\"]];this.WHERE_OPTIONS_2=[[Blockly.Msg.LISTS_GET_SUBLIST_END_FROM_START,\"FROM_START\"],[Blockly.Msg.LISTS_GET_SUBLIST_END_FROM_END,\"FROM_END\"],[Blockly.Msg.LISTS_GET_SUBLIST_END_LAST,\"LAST\"]];this.setHelpUrl(Blockly.Msg.LISTS_GET_SUBLIST_HELPURL);this.setColour(Blockly.Blocks.lists.HUE);\nthis.appendValueInput(\"LIST\").setCheck(\"Array\").appendField(Blockly.Msg.LISTS_GET_SUBLIST_INPUT_IN_LIST);this.appendDummyInput(\"AT1\");this.appendDummyInput(\"AT2\");Blockly.Msg.LISTS_GET_SUBLIST_TAIL&&this.appendDummyInput(\"TAIL\").appendField(Blockly.Msg.LISTS_GET_SUBLIST_TAIL);this.setInputsInline(!0);this.setOutput(!0,\"Array\");this.updateAt_(1,!0);this.updateAt_(2,!0);this.setTooltip(Blockly.Msg.LISTS_GET_SUBLIST_TOOLTIP)},mutationToDom:function(){var a=document.createElement(\"mutation\"),b=this.getInput(\"AT1\").type==\nBlockly.INPUT_VALUE;a.setAttribute(\"at1\",b);b=this.getInput(\"AT2\").type==Blockly.INPUT_VALUE;a.setAttribute(\"at2\",b);return a},domToMutation:function(a){var b=\"true\"==a.getAttribute(\"at1\");a=\"true\"==a.getAttribute(\"at2\");this.updateAt_(1,b);this.updateAt_(2,a)},updateAt_:function(a,b){this.removeInput(\"AT\"+a);this.removeInput(\"ORDINAL\"+a,!0);b?(this.appendValueInput(\"AT\"+a).setCheck(\"Number\"),Blockly.Msg.ORDINAL_NUMBER_SUFFIX&&this.appendDummyInput(\"ORDINAL\"+a).appendField(Blockly.Msg.ORDINAL_NUMBER_SUFFIX)):\nthis.appendDummyInput(\"AT\"+a);var c=new Blockly.FieldDropdown(this[\"WHERE_OPTIONS_\"+a],function(c){var e=\"FROM_START\"==c||\"FROM_END\"==c;if(e!=b){var d=this.sourceBlock_;d.updateAt_(a,e);d.setFieldValue(c,\"WHERE\"+a);return null}});this.getInput(\"AT\"+a).appendField(c,\"WHERE\"+a);1==a&&(this.moveInputBefore(\"AT1\",\"AT2\"),this.getInput(\"ORDINAL1\")&&this.moveInputBefore(\"ORDINAL1\",\"AT2\"));Blockly.Msg.LISTS_GET_SUBLIST_TAIL&&this.moveInputBefore(\"TAIL\",null)}};\nBlockly.Blocks.lists_sort={init:function(){this.jsonInit({message0:Blockly.Msg.LISTS_SORT_TITLE,args0:[{type:\"field_dropdown\",name:\"TYPE\",options:[[Blockly.Msg.LISTS_SORT_TYPE_NUMERIC,\"NUMERIC\"],[Blockly.Msg.LISTS_SORT_TYPE_TEXT,\"TEXT\"],[Blockly.Msg.LISTS_SORT_TYPE_IGNORECASE,\"IGNORE_CASE\"]]},{type:\"field_dropdown\",name:\"DIRECTION\",options:[[Blockly.Msg.LISTS_SORT_ORDER_ASCENDING,\"1\"],[Blockly.Msg.LISTS_SORT_ORDER_DESCENDING,\"-1\"]]},{type:\"input_value\",name:\"LIST\",check:\"Array\"}],output:\"Array\",colour:Blockly.Blocks.lists.HUE,\ntooltip:Blockly.Msg.LISTS_SORT_TOOLTIP,helpUrl:Blockly.Msg.LISTS_SORT_HELPURL})}};\nBlockly.Blocks.lists_split={init:function(){var a=this,b=new Blockly.FieldDropdown([[Blockly.Msg.LISTS_SPLIT_LIST_FROM_TEXT,\"SPLIT\"],[Blockly.Msg.LISTS_SPLIT_TEXT_FROM_LIST,\"JOIN\"]],function(b){a.updateType_(b)});this.setHelpUrl(Blockly.Msg.LISTS_SPLIT_HELPURL);this.setColour(Blockly.Blocks.lists.HUE);this.appendValueInput(\"INPUT\").setCheck(\"String\").appendField(b,\"MODE\");this.appendValueInput(\"DELIM\").setCheck(\"String\").appendField(Blockly.Msg.LISTS_SPLIT_WITH_DELIMITER);this.setInputsInline(!0);\nthis.setOutput(!0,\"Array\");this.setTooltip(function(){var b=a.getFieldValue(\"MODE\");if(\"SPLIT\"==b)return Blockly.Msg.LISTS_SPLIT_TOOLTIP_SPLIT;if(\"JOIN\"==b)return Blockly.Msg.LISTS_SPLIT_TOOLTIP_JOIN;throw\"Unknown mode: \"+b;})},updateType_:function(a){\"SPLIT\"==a?(this.outputConnection.setCheck(\"Array\"),this.getInput(\"INPUT\").setCheck(\"String\")):(this.outputConnection.setCheck(\"String\"),this.getInput(\"INPUT\").setCheck(\"Array\"))},mutationToDom:function(){var a=document.createElement(\"mutation\");a.setAttribute(\"mode\",\nthis.getFieldValue(\"MODE\"));return a},domToMutation:function(a){this.updateType_(a.getAttribute(\"mode\"))}};Blockly.Blocks.logic={};Blockly.Constants.Logic={};Blockly.Constants.Logic.HUE=210;Blockly.Blocks.logic.HUE=Blockly.Constants.Logic.HUE;\nBlockly.defineBlocksWithJsonArray([{type:\"logic_boolean\",message0:\"%1\",args0:[{type:\"field_dropdown\",name:\"BOOL\",options:[[\"%{BKY_LOGIC_BOOLEAN_TRUE}\",\"TRUE\"],[\"%{BKY_LOGIC_BOOLEAN_FALSE}\",\"FALSE\"]]}],output:\"Boolean\",colour:\"%{BKY_LOGIC_HUE}\",tooltip:\"%{BKY_LOGIC_BOOLEAN_TOOLTIP}\",helpUrl:\"%{BKY_LOGIC_BOOLEAN_HELPURL}\"},{type:\"controls_if\",message0:\"%{BKY_CONTROLS_IF_MSG_IF} %1\",args0:[{type:\"input_value\",name:\"IF0\",check:\"Boolean\"}],message1:\"%{BKY_CONTROLS_IF_MSG_THEN} %1\",args1:[{type:\"input_statement\",\nname:\"DO0\"}],previousStatement:null,nextStatement:null,colour:\"%{BKY_LOGIC_HUE}\",helpUrl:\"%{BKY_CONTROLS_IF_HELPURL}\",mutator:\"controls_if_mutator\",extensions:[\"controls_if_tooltip\"]},{type:\"controls_ifelse\",message0:\"%{BKY_CONTROLS_IF_MSG_IF} %1\",args0:[{type:\"input_value\",name:\"IF0\",check:\"Boolean\"}],message1:\"%{BKY_CONTROLS_IF_MSG_THEN} %1\",args1:[{type:\"input_statement\",name:\"DO0\"}],message2:\"%{BKY_CONTROLS_IF_MSG_ELSE} %1\",args2:[{type:\"input_statement\",name:\"ELSE\"}],previousStatement:null,nextStatement:null,\ncolour:\"%{BKY_LOGIC_HUE}\",tooltip:\"%{BKYCONTROLS_IF_TOOLTIP_2}\",helpUrl:\"%{BKY_CONTROLS_IF_HELPURL}\",extensions:[\"controls_if_tooltip\"]},{type:\"logic_compare\",message0:\"%1 %2 %3\",args0:[{type:\"input_value\",name:\"A\"},{type:\"field_dropdown\",name:\"OP\",options:[[\"=\",\"EQ\"],[\"\\u2260\",\"NEQ\"],[\"<\",\"LT\"],[\"\\u2264\",\"LTE\"],[\">\",\"GT\"],[\"\\u2265\",\"GTE\"]]},{type:\"input_value\",name:\"B\"}],inputsInline:!0,output:\"Boolean\",colour:\"%{BKY_LOGIC_HUE}\",helpUrl:\"%{BKY_LOGIC_COMPARE_HELPURL}\",extensions:[\"logic_compare\",\n\"logic_op_tooltip\"]},{type:\"logic_operation\",message0:\"%1 %2 %3\",args0:[{type:\"input_value\",name:\"A\",check:\"Boolean\"},{type:\"field_dropdown\",name:\"OP\",options:[[\"%{BKY_LOGIC_OPERATION_AND}\",\"AND\"],[\"%{BKY_LOGIC_OPERATION_OR}\",\"OR\"]]},{type:\"input_value\",name:\"B\",check:\"Boolean\"}],inputsInline:!0,output:\"Boolean\",colour:\"%{BKY_LOGIC_HUE}\",helpUrl:\"%{BKY_LOGIC_OPERATION_HELPURL}\",extensions:[\"logic_op_tooltip\"]},{type:\"logic_negate\",message0:\"%{BKY_LOGIC_NEGATE_TITLE}\",args0:[{type:\"input_value\",name:\"BOOL\",\ncheck:\"Boolean\"}],output:\"Boolean\",colour:\"%{BKY_LOGIC_HUE}\",tooltip:\"%{BKY_LOGIC_NEGATE_TOOLTIP}\",helpUrl:\"%{BKY_LOGIC_NEGATE_HELPURL}\"},{type:\"logic_null\",message0:\"%{BKY_LOGIC_NULL}\",output:null,colour:\"%{BKY_LOGIC_HUE}\",tooltip:\"%{BKY_LOGIC_NULL_TOOLTIP}\",helpUrl:\"%{BKY_LOGIC_NULL_HELPURL}\"},{type:\"logic_ternary\",message0:\"%{BKY_LOGIC_TERNARY_CONDITION} %1\",args0:[{type:\"input_value\",name:\"IF\",check:\"Boolean\"}],message1:\"%{BKY_LOGIC_TERNARY_IF_TRUE} %1\",args1:[{type:\"input_value\",name:\"THEN\"}],\nmessage2:\"%{BKY_LOGIC_TERNARY_IF_FALSE} %1\",args2:[{type:\"input_value\",name:\"ELSE\"}],output:null,colour:\"%{BKY_LOGIC_HUE}\",tooltip:\"%{BKY_LOGIC_TERNARY_TOOLTIP}\",helpUrl:\"%{BKY_LOGIC_TERNARY_HELPURL}\",extensions:[\"logic_ternary\"]}]);\nBlockly.defineBlocksWithJsonArray([{type:\"controls_if_if\",message0:\"%{BKY_CONTROLS_IF_IF_TITLE_IF}\",nextStatement:null,enableContextMenu:!1,colour:\"%{BKY_LOGIC_HUE}\",tooltip:\"%{BKY_CONTROLS_IF_IF_TOOLTIP}\"},{type:\"controls_if_elseif\",message0:\"%{BKY_CONTROLS_IF_ELSEIF_TITLE_ELSEIF}\",previousStatement:null,nextStatement:null,enableContextMenu:!1,colour:\"%{BKY_LOGIC_HUE}\",tooltip:\"%{BKY_CONTROLS_IF_ELSEIF_TOOLTIP}\"},{type:\"controls_if_else\",message0:\"%{BKY_CONTROLS_IF_ELSE_TITLE_ELSE}\",previousStatement:null,\nenableContextMenu:!1,colour:\"%{BKY_LOGIC_HUE}\",tooltip:\"%{BKY_CONTROLS_IF_ELSE_TOOLTIP}\"}]);Blockly.Constants.Logic.TOOLTIPS_BY_OP={EQ:\"%{BKY_LOGIC_COMPARE_TOOLTIP_EQ}\",NEQ:\"%{BKY_LOGIC_COMPARE_TOOLTIP_NEQ}\",LT:\"%{BKY_LOGIC_COMPARE_TOOLTIP_LT}\",LTE:\"%{BKY_LOGIC_COMPARE_TOOLTIP_LTE}\",GT:\"%{BKY_LOGIC_COMPARE_TOOLTIP_GT}\",GTE:\"%{BKY_LOGIC_COMPARE_TOOLTIP_GTE}\",AND:\"%{BKY_LOGIC_OPERATION_TOOLTIP_AND}\",OR:\"%{BKY_LOGIC_OPERATION_TOOLTIP_OR}\"};\nBlockly.Extensions.register(\"logic_op_tooltip\",Blockly.Extensions.buildTooltipForDropdown(\"OP\",Blockly.Constants.Logic.TOOLTIPS_BY_OP));\nBlockly.Constants.Logic.CONTROLS_IF_MUTATOR_MIXIN={elseifCount_:0,elseCount_:0,mutationToDom:function(){if(!this.elseifCount_&&!this.elseCount_)return null;var a=document.createElement(\"mutation\");this.elseifCount_&&a.setAttribute(\"elseif\",this.elseifCount_);this.elseCount_&&a.setAttribute(\"else\",1);return a},domToMutation:function(a){this.elseifCount_=parseInt(a.getAttribute(\"elseif\"),10)||0;this.elseCount_=parseInt(a.getAttribute(\"else\"),10)||0;this.updateShape_()},decompose:function(a){var b=a.newBlock(\"controls_if_if\");\nb.initSvg();for(var c=b.nextConnection,d=1;d<=this.elseifCount_;d++){var e=a.newBlock(\"controls_if_elseif\");e.initSvg();c.connect(e.previousConnection);c=e.nextConnection}this.elseCount_&&(a=a.newBlock(\"controls_if_else\"),a.initSvg(),c.connect(a.previousConnection));return b},compose:function(a){var b=a.nextConnection.targetBlock();this.elseCount_=this.elseifCount_=0;a=[null];for(var c=[null],d=null;b;){switch(b.type){case \"controls_if_elseif\":this.elseifCount_++;a.push(b.valueConnection_);c.push(b.statementConnection_);\nbreak;case \"controls_if_else\":this.elseCount_++;d=b.statementConnection_;break;default:throw\"Unknown block type.\";}b=b.nextConnection&&b.nextConnection.targetBlock()}this.updateShape_();for(b=1;b<=this.elseifCount_;b++)Blockly.Mutator.reconnect(a[b],this,\"IF\"+b),Blockly.Mutator.reconnect(c[b],this,\"DO\"+b);Blockly.Mutator.reconnect(d,this,\"ELSE\")},saveConnections:function(a){a=a.nextConnection.targetBlock();for(var b=1;a;){switch(a.type){case \"controls_if_elseif\":var c=this.getInput(\"IF\"+b),d=this.getInput(\"DO\"+\nb);a.valueConnection_=c&&c.connection.targetConnection;a.statementConnection_=d&&d.connection.targetConnection;b++;break;case \"controls_if_else\":d=this.getInput(\"ELSE\");a.statementConnection_=d&&d.connection.targetConnection;break;default:throw\"Unknown block type.\";}a=a.nextConnection&&a.nextConnection.targetBlock()}},updateShape_:function(){this.getInput(\"ELSE\")&&this.removeInput(\"ELSE\");for(var a=1;this.getInput(\"IF\"+a);)this.removeInput(\"IF\"+a),this.removeInput(\"DO\"+a),a++;for(a=1;a<=this.elseifCount_;a++)this.appendValueInput(\"IF\"+\na).setCheck(\"Boolean\").appendField(Blockly.Msg.CONTROLS_IF_MSG_ELSEIF),this.appendStatementInput(\"DO\"+a).appendField(Blockly.Msg.CONTROLS_IF_MSG_THEN);this.elseCount_&&this.appendStatementInput(\"ELSE\").appendField(Blockly.Msg.CONTROLS_IF_MSG_ELSE)}};Blockly.Extensions.registerMutator(\"controls_if_mutator\",Blockly.Constants.Logic.CONTROLS_IF_MUTATOR_MIXIN,null,[\"controls_if_elseif\",\"controls_if_else\"]);\nBlockly.Constants.Logic.CONTROLS_IF_TOOLTIP_EXTENSION=function(){this.setTooltip(function(){if(this.elseifCount_||this.elseCount_){if(!this.elseifCount_&&this.elseCount_)return Blockly.Msg.CONTROLS_IF_TOOLTIP_2;if(this.elseifCount_&&!this.elseCount_)return Blockly.Msg.CONTROLS_IF_TOOLTIP_3;if(this.elseifCount_&&this.elseCount_)return Blockly.Msg.CONTROLS_IF_TOOLTIP_4}else return Blockly.Msg.CONTROLS_IF_TOOLTIP_1;return\"\"}.bind(this))};Blockly.Extensions.register(\"controls_if_tooltip\",Blockly.Constants.Logic.CONTROLS_IF_TOOLTIP_EXTENSION);\nBlockly.Constants.Logic.fixLogicCompareRtlOpLabels=function(){var a={LT:\"\\u200f<\\u200f\",LTE:\"\\u200f\\u2264\\u200f\",GT:\"\\u200f>\\u200f\",GTE:\"\\u200f\\u2265\\u200f\"},b=this.getField(\"OP\");if(b){b=b.getOptions();for(var c=0;c<b.length;++c){var d=b[c],e=a[d[1]];goog.isString(d[0])&&e&&(d[0]=e)}}};\nBlockly.Constants.Logic.LOGIC_COMPARE_ONCHANGE_MIXIN={prevBlocks_:[null,null],onchange:function(a){var b=this.getInputTargetBlock(\"A\"),c=this.getInputTargetBlock(\"B\");if(b&&c&&!b.outputConnection.checkType_(c.outputConnection)){Blockly.Events.setGroup(a.group);for(a=0;a<this.prevBlocks_.length;a++){var d=this.prevBlocks_[a];if(d===b||d===c)d.unplug(),d.bumpNeighbours_()}Blockly.Events.setGroup(!1)}this.prevBlocks_[0]=b;this.prevBlocks_[1]=c}};\nBlockly.Constants.Logic.LOGIC_COMPARE_EXTENSION=function(){this.RTL&&Blockly.Constants.Logic.fixLogicCompareRtlOpLabels.apply(this);this.mixin(Blockly.Constants.Logic.LOGIC_COMPARE_ONCHANGE_MIXIN)};Blockly.Extensions.register(\"logic_compare\",Blockly.Constants.Logic.LOGIC_COMPARE_EXTENSION);\nBlockly.Constants.Logic.LOGIC_TERNARY_ONCHANGE_MIXIN={prevParentConnection_:null,onchange:function(a){var b=this.getInputTargetBlock(\"THEN\"),c=this.getInputTargetBlock(\"ELSE\"),d=this.outputConnection.targetConnection;if((b||c)&&d)for(var e=0;2>e;e++){var f=1==e?b:c;f&&!f.outputConnection.checkType_(d)&&(Blockly.Events.setGroup(a.group),d===this.prevParentConnection_?(this.unplug(),d.getSourceBlock().bumpNeighbours_()):(f.unplug(),f.bumpNeighbours_()),Blockly.Events.setGroup(!1))}this.prevParentConnection_=\nd}};Blockly.Extensions.registerMixin(\"logic_ternary\",Blockly.Constants.Logic.LOGIC_TERNARY_ONCHANGE_MIXIN);Blockly.Blocks.loops={};Blockly.Constants.Loops={};Blockly.Constants.Loops.HUE=120;Blockly.Blocks.loops.HUE=Blockly.Constants.Loops.HUE;\nBlockly.defineBlocksWithJsonArray([{type:\"controls_repeat_ext\",message0:\"%{BKY_CONTROLS_REPEAT_TITLE}\",args0:[{type:\"input_value\",name:\"TIMES\",check:\"Number\"}],message1:\"%{BKY_CONTROLS_REPEAT_INPUT_DO} %1\",args1:[{type:\"input_statement\",name:\"DO\"}],previousStatement:null,nextStatement:null,colour:\"%{BKY_LOOPS_HUE}\",tooltip:\"%{BKY_CONTROLS_REPEAT_TOOLTIP}\",helpUrl:\"%{BKY_CONTROLS_REPEAT_HELPURL}\"},{type:\"controls_repeat\",message0:\"%{BKY_CONTROLS_REPEAT_TITLE}\",args0:[{type:\"field_number\",name:\"TIMES\",\nvalue:10,min:0,precision:1}],message1:\"%{BKY_CONTROLS_REPEAT_INPUT_DO} %1\",args1:[{type:\"input_statement\",name:\"DO\"}],previousStatement:null,nextStatement:null,colour:\"%{BKY_LOOPS_HUE}\",tooltip:\"%{BKY_CONTROLS_REPEAT_TOOLTIP}\",helpUrl:\"%{BKY_CONTROLS_REPEAT_HELPURL}\"},{type:\"controls_whileUntil\",message0:\"%1 %2\",args0:[{type:\"field_dropdown\",name:\"MODE\",options:[[\"%{BKY_CONTROLS_WHILEUNTIL_OPERATOR_WHILE}\",\"WHILE\"],[\"%{BKY_CONTROLS_WHILEUNTIL_OPERATOR_UNTIL}\",\"UNTIL\"]]},{type:\"input_value\",name:\"BOOL\",\ncheck:\"Boolean\"}],message1:\"%{BKY_CONTROLS_REPEAT_INPUT_DO} %1\",args1:[{type:\"input_statement\",name:\"DO\"}],previousStatement:null,nextStatement:null,colour:\"%{BKY_LOOPS_HUE}\",helpUrl:\"%{BKY_CONTROLS_WHILEUNTIL_HELPURL}\",extensions:[\"controls_whileUntil_tooltip\"]},{type:\"controls_for\",message0:\"%{BKY_CONTROLS_FOR_TITLE}\",args0:[{type:\"field_variable\",name:\"VAR\",variable:null},{type:\"input_value\",name:\"FROM\",check:\"Number\",align:\"RIGHT\"},{type:\"input_value\",name:\"TO\",check:\"Number\",align:\"RIGHT\"},{type:\"input_value\",\nname:\"BY\",check:\"Number\",align:\"RIGHT\"}],message1:\"%{BKY_CONTROLS_REPEAT_INPUT_DO} %1\",args1:[{type:\"input_statement\",name:\"DO\"}],inputsInline:!0,previousStatement:null,nextStatement:null,colour:\"%{BKY_LOOPS_HUE}\",helpUrl:\"%{BKY_CONTROLS_FOR_HELPURL}\",extensions:[\"contextMenu_newGetVariableBlock\",\"controls_for_tooltip\"]},{type:\"controls_forEach\",message0:\"%{BKY_CONTROLS_FOREACH_TITLE}\",args0:[{type:\"field_variable\",name:\"VAR\",variable:null},{type:\"input_value\",name:\"LIST\",check:\"Array\"}],message1:\"%{BKY_CONTROLS_REPEAT_INPUT_DO} %1\",\nargs1:[{type:\"input_statement\",name:\"DO\"}],previousStatement:null,nextStatement:null,colour:\"%{BKY_LOOPS_HUE}\",helpUrl:\"%{BKY_CONTROLS_FOREACH_HELPURL}\",extensions:[\"contextMenu_newGetVariableBlock\",\"controls_forEach_tooltip\"]},{type:\"controls_flow_statements\",message0:\"%1\",args0:[{type:\"field_dropdown\",name:\"FLOW\",options:[[\"%{BKY_CONTROLS_FLOW_STATEMENTS_OPERATOR_BREAK}\",\"BREAK\"],[\"%{BKY_CONTROLS_FLOW_STATEMENTS_OPERATOR_CONTINUE}\",\"CONTINUE\"]]}],previousStatement:null,colour:\"%{BKY_LOOPS_HUE}\",\nhelpUrl:\"%{BKY_CONTROLS_FLOW_STATEMENTS_HELPURL}\",extensions:[\"controls_flow_tooltip\",\"controls_flow_in_loop_check\"]}]);Blockly.Constants.Loops.WHILE_UNTIL_TOOLTIPS={WHILE:\"%{BKY_CONTROLS_WHILEUNTIL_TOOLTIP_WHILE}\",UNTIL:\"%{BKY_CONTROLS_WHILEUNTIL_TOOLTIP_UNTIL}\"};Blockly.Extensions.register(\"controls_whileUntil_tooltip\",Blockly.Extensions.buildTooltipForDropdown(\"MODE\",Blockly.Constants.Loops.WHILE_UNTIL_TOOLTIPS));\nBlockly.Constants.Loops.BREAK_CONTINUE_TOOLTIPS={BREAK:\"%{BKY_CONTROLS_FLOW_STATEMENTS_TOOLTIP_BREAK}\",CONTINUE:\"%{BKY_CONTROLS_FLOW_STATEMENTS_TOOLTIP_CONTINUE}\"};Blockly.Extensions.register(\"controls_flow_tooltip\",Blockly.Extensions.buildTooltipForDropdown(\"FLOW\",Blockly.Constants.Loops.BREAK_CONTINUE_TOOLTIPS));\nBlockly.Constants.Loops.CUSTOM_CONTEXT_MENU_CREATE_VARIABLES_GET_MIXIN={customContextMenu:function(a){var b=this.getFieldValue(\"VAR\");if(!this.isCollapsed()&&null!=b){var c={enabled:!0};c.text=Blockly.Msg.VARIABLES_SET_CREATE_GET.replace(\"%1\",b);b=goog.dom.createDom(\"field\",null,b);b.setAttribute(\"name\",\"VAR\");b=goog.dom.createDom(\"block\",null,b);b.setAttribute(\"type\",\"variables_get\");c.callback=Blockly.ContextMenu.callbackFactory(this,b);a.push(c)}}};\nBlockly.Extensions.registerMixin(\"contextMenu_newGetVariableBlock\",Blockly.Constants.Loops.CUSTOM_CONTEXT_MENU_CREATE_VARIABLES_GET_MIXIN);Blockly.Extensions.register(\"controls_for_tooltip\",Blockly.Extensions.buildTooltipWithFieldValue(Blockly.Msg.CONTROLS_FOR_TOOLTIP,\"VAR\"));Blockly.Extensions.register(\"controls_forEach_tooltip\",Blockly.Extensions.buildTooltipWithFieldValue(Blockly.Msg.CONTROLS_FOREACH_TOOLTIP,\"VAR\"));\nBlockly.Constants.Loops.CONTROL_FLOW_CHECK_IN_LOOP_MIXIN={LOOP_TYPES:[\"controls_repeat\",\"controls_repeat_ext\",\"controls_forEach\",\"controls_for\",\"controls_whileUntil\"],onchange:function(){if(this.workspace.isDragging&&!this.workspace.isDragging()){var a=!1,b=this;do{if(-1!=this.LOOP_TYPES.indexOf(b.type)){a=!0;break}b=b.getSurroundParent()}while(b);a?(this.setWarningText(null),this.isInFlyout||this.setDisabled(!1)):(this.setWarningText(Blockly.Msg.CONTROLS_FLOW_STATEMENTS_WARNING),this.isInFlyout||\nthis.getInheritedDisabled()||this.setDisabled(!0))}}};Blockly.Extensions.registerMixin(\"controls_flow_in_loop_check\",Blockly.Constants.Loops.CONTROL_FLOW_IN_LOOP_CHECK_MIXIN);Blockly.Blocks.math={};Blockly.Constants.Math={};Blockly.Constants.Math.HUE=230;Blockly.Blocks.math.HUE=Blockly.Constants.Math.HUE;\nBlockly.defineBlocksWithJsonArray([{type:\"math_number\",message0:\"%1\",args0:[{type:\"field_number\",name:\"NUM\",value:0}],output:\"Number\",colour:\"%{BKY_MATH_HUE}\",helpUrl:\"%{BKY_MATH_NUMBER_HELPURL}\",tooltip:\"%{BKY_MATH_NUMBER_TOOLTIP}\",extensions:[\"parent_tooltip_when_inline\"]},{type:\"math_arithmetic\",message0:\"%1 %2 %3\",args0:[{type:\"input_value\",name:\"A\",check:\"Number\"},{type:\"field_dropdown\",name:\"OP\",options:[[\"%{BKY_MATH_ADDITION_SYMBOL}\",\"ADD\"],[\"%{BKY_MATH_SUBTRACTION_SYMBOL}\",\"MINUS\"],[\"%{BKY_MATH_MULTIPLICATION_SYMBOL}\",\n\"MULTIPLY\"],[\"%{BKY_MATH_DIVISION_SYMBOL}\",\"DIVIDE\"],[\"%{BKY_MATH_POWER_SYMBOL}\",\"POWER\"]]},{type:\"input_value\",name:\"B\",check:\"Number\"}],inputsInline:!0,output:\"Number\",colour:\"%{BKY_MATH_HUE}\",helpUrl:\"%{BKY_MATH_ARITHMETIC_HELPURL}\",extensions:[\"math_op_tooltip\"]},{type:\"math_single\",message0:\"%1 %2\",args0:[{type:\"field_dropdown\",name:\"OP\",options:[[\"%{BKY_MATH_SINGLE_OP_ROOT}\",\"ROOT\"],[\"%{BKY_MATH_SINGLE_OP_ABSOLUTE}\",\"ABS\"],[\"-\",\"NEG\"],[\"ln\",\"LN\"],[\"log10\",\"LOG10\"],[\"e^\",\"EXP\"],[\"10^\",\"POW10\"]]},\n{type:\"input_value\",name:\"NUM\",check:\"Number\"}],output:\"Number\",colour:\"%{BKY_MATH_HUE}\",helpUrl:\"%{BKY_MATH_SINGLE_HELPURL}\",extensions:[\"math_op_tooltip\"]},{type:\"math_trig\",message0:\"%1 %2\",args0:[{type:\"field_dropdown\",name:\"OP\",options:[[\"%{BKY_MATH_TRIG_SIN}\",\"SIN\"],[\"%{BKY_MATH_TRIG_COS}\",\"COS\"],[\"%{BKY_MATH_TRIG_TAN}\",\"TAN\"],[\"%{BKY_MATH_TRIG_ASIN}\",\"ASIN\"],[\"%{BKY_MATH_TRIG_ACOS}\",\"ACOS\"],[\"%{BKY_MATH_TRIG_ATAN}\",\"ATAN\"]]},{type:\"input_value\",name:\"NUM\",check:\"Number\"}],output:\"Number\",colour:\"%{BKY_MATH_HUE}\",\nhelpUrl:\"%{BKY_MATH_TRIG_HELPURL}\",extensions:[\"math_op_tooltip\"]},{type:\"math_constant\",message0:\"%1\",args0:[{type:\"field_dropdown\",name:\"CONSTANT\",options:[[\"\\u03c0\",\"PI\"],[\"e\",\"E\"],[\"\\u03c6\",\"GOLDEN_RATIO\"],[\"sqrt(2)\",\"SQRT2\"],[\"sqrt(\\u00bd)\",\"SQRT1_2\"],[\"\\u221e\",\"INFINITY\"]]}],output:\"Number\",colour:\"%{BKY_MATH_HUE}\",tooltip:\"%{BKY_MATH_CONSTANT_TOOLTIP}\",helpUrl:\"%{BKY_MATH_CONSTANT_HELPURL}\"},{type:\"math_number_property\",message0:\"%1 %2\",args0:[{type:\"input_value\",name:\"NUMBER_TO_CHECK\",check:\"Number\"},\n{type:\"field_dropdown\",name:\"PROPERTY\",options:[[\"%{BKY_MATH_IS_EVEN}\",\"EVEN\"],[\"%{BKY_MATH_IS_ODD}\",\"ODD\"],[\"%{BKY_MATH_IS_PRIME}\",\"PRIME\"],[\"%{BKY_MATH_IS_WHOLE}\",\"WHOLE\"],[\"%{BKY_MATH_IS_POSITIVE}\",\"POSITIVE\"],[\"%{BKY_MATH_IS_NEGATIVE}\",\"NEGATIVE\"],[\"%{BKY_MATH_IS_DIVISIBLE_BY}\",\"DIVISIBLE_BY\"]]}],inputsInline:!0,output:\"Boolean\",colour:\"%{BKY_MATH_HUE}\",tooltip:\"%{BKY_MATH_IS_TOOLTIP}\",mutator:\"math_is_divisibleby_mutator\"},{type:\"math_change\",message0:\"%{BKY_MATH_CHANGE_TITLE}\",args0:[{type:\"field_variable\",\nname:\"VAR\",variable:\"%{BKY_MATH_CHANGE_TITLE_ITEM}\"},{type:\"input_value\",name:\"DELTA\",check:\"Number\"}],previousStatement:null,nextStatement:null,colour:\"%{BKY_VARIABLES_HUE}\",helpUrl:\"%{BKY_MATH_CHANGE_HELPURL}\",extensions:[\"math_change_tooltip\"]},{type:\"math_round\",message0:\"%1 %2\",args0:[{type:\"field_dropdown\",name:\"OP\",options:[[\"%{BKY_MATH_ROUND_OPERATOR_ROUND}\",\"ROUND\"],[\"%{BKY_MATH_ROUND_OPERATOR_ROUNDUP}\",\"ROUNDUP\"],[\"%{BKY_MATH_ROUND_OPERATOR_ROUNDDOWN}\",\"ROUNDDOWN\"]]},{type:\"input_value\",\nname:\"NUM\",check:\"Number\"}],output:\"Number\",colour:\"%{BKY_MATH_HUE}\",helpUrl:\"%{BKY_MATH_ROUND_HELPURL}\",tooltip:\"%{BKY_MATH_ROUND_TOOLTIP}\"},{type:\"math_on_list\",message0:\"%1 %2\",args0:[{type:\"field_dropdown\",name:\"OP\",options:[[\"%{BKY_MATH_ONLIST_OPERATOR_SUM}\",\"SUM\"],[\"%{BKY_MATH_ONLIST_OPERATOR_MIN}\",\"MIN\"],[\"%{BKY_MATH_ONLIST_OPERATOR_MAX}\",\"MAX\"],[\"%{BKY_MATH_ONLIST_OPERATOR_AVERAGE}\",\"AVERAGE\"],[\"%{BKY_MATH_ONLIST_OPERATOR_MEDIAN}\",\"MEDIAN\"],[\"%{BKY_MATH_ONLIST_OPERATOR_MODE}\",\"MODE\"],[\"%{BKY_MATH_ONLIST_OPERATOR_STD_DEV}\",\n\"STD_DEV\"],[\"%{BKY_MATH_ONLIST_OPERATOR_RANDOM}\",\"RANDOM\"]]},{type:\"input_value\",name:\"LIST\",check:\"Array\"}],output:\"Number\",colour:\"%{BKY_MATH_HUE}\",helpUrl:\"%{BKY_MATH_ONLIST_HELPURL}\",mutator:\"math_modes_of_list_mutator\",extensions:[\"math_op_tooltip\"]},{type:\"math_modulo\",message0:\"%{BKY_MATH_MODULO_TITLE}\",args0:[{type:\"input_value\",name:\"DIVIDEND\",check:\"Number\"},{type:\"input_value\",name:\"DIVISOR\",check:\"Number\"}],inputsInline:!0,output:\"Number\",colour:\"%{BKY_MATH_HUE}\",tooltip:\"%{BKY_MATH_MODULO_TOOLTIP}\",\nhelpUrl:\"%{BKY_MATH_MODULO_HELPURL}\"},{type:\"math_constrain\",message0:\"%{BKY_MATH_CONSTRAIN_TITLE}\",args0:[{type:\"input_value\",name:\"VALUE\",check:\"Number\"},{type:\"input_value\",name:\"LOW\",check:\"Number\"},{type:\"input_value\",name:\"HIGH\",check:\"Number\"}],inputsInline:!0,output:\"Number\",colour:\"%{BKY_MATH_HUE}\",tooltip:\"%{BKY_MATH_CONSTRAIN_TOOLTIP}\",helpUrl:\"%{BKY_MATH_CONSTRAIN_HELPURL}\"},{type:\"math_random_int\",message0:\"%{BKY_MATH_RANDOM_INT_TITLE}\",args0:[{type:\"input_value\",name:\"FROM\",check:\"Number\"},\n{type:\"input_value\",name:\"TO\",check:\"Number\"}],inputsInline:!0,output:\"Number\",colour:\"%{BKY_MATH_HUE}\",tooltip:\"%{BKY_MATH_RANDOM_INT_TOOLTIP}\",helpUrl:\"%{BKY_MATH_RANDOM_INT_HELPURL}\"},{type:\"math_random_float\",message0:\"%{BKY_MATH_RANDOM_FLOAT_TITLE_RANDOM}\",output:\"Number\",colour:\"%{BKY_MATH_HUE}\",tooltip:\"%{BKY_MATH_RANDOM_FLOAT_TOOLTIP}\",helpUrl:\"%{BKY_MATH_RANDOM_FLOAT_HELPURL}\"}]);\nBlockly.Constants.Math.TOOLTIPS_BY_OP={ADD:\"%{BKY_MATH_ARITHMETIC_TOOLTIP_ADD}\",MINUS:\"%{BKY_MATH_ARITHMETIC_TOOLTIP_MINUS}\",MULTIPLY:\"%{BKY_MATH_ARITHMETIC_TOOLTIP_MULTIPLY}\",DIVIDE:\"%{BKY_MATH_ARITHMETIC_TOOLTIP_DIVIDE}\",POWER:\"%{BKY_MATH_ARITHMETIC_TOOLTIP_POWER}\",ROOT:\"%{BKY_MATH_SINGLE_TOOLTIP_ROOT}\",ABS:\"%{BKY_MATH_SINGLE_TOOLTIP_ABS}\",NEG:\"%{BKY_MATH_SINGLE_TOOLTIP_NEG}\",LN:\"%{BKY_MATH_SINGLE_TOOLTIP_LN}\",LOG10:\"%{BKY_MATH_SINGLE_TOOLTIP_LOG10}\",EXP:\"%{BKY_MATH_SINGLE_TOOLTIP_EXP}\",POW10:\"%{BKY_MATH_SINGLE_TOOLTIP_POW10}\",\nSIN:\"%{BKY_MATH_TRIG_TOOLTIP_SIN}\",COS:\"%{BKY_MATH_TRIG_TOOLTIP_COS}\",TAN:\"%{BKY_MATH_TRIG_TOOLTIP_TAN}\",ASIN:\"%{BKY_MATH_TRIG_TOOLTIP_ASIN}\",ACOS:\"%{BKY_MATH_TRIG_TOOLTIP_ACOS}\",ATAN:\"%{BKY_MATH_TRIG_TOOLTIP_ATAN}\",SUM:\"%{BKY_MATH_ONLIST_TOOLTIP_SUM}\",MIN:\"%{BKY_MATH_ONLIST_TOOLTIP_MIN}\",MAX:\"%{BKY_MATH_ONLIST_TOOLTIP_MAX}\",AVERAGE:\"%{BKY_MATH_ONLIST_TOOLTIP_AVERAGE}\",MEDIAN:\"%{BKY_MATH_ONLIST_TOOLTIP_MEDIAN}\",MODE:\"%{BKY_MATH_ONLIST_TOOLTIP_MODE}\",STD_DEV:\"%{BKY_MATH_ONLIST_TOOLTIP_STD_DEV}\",RANDOM:\"%{BKY_MATH_ONLIST_TOOLTIP_RANDOM}\"};\nBlockly.Extensions.register(\"math_op_tooltip\",Blockly.Extensions.buildTooltipForDropdown(\"OP\",Blockly.Constants.Math.TOOLTIPS_BY_OP));\nBlockly.Constants.Math.IS_DIVISIBLEBY_MUTATOR_MIXIN={mutationToDom:function(){var a=document.createElement(\"mutation\"),b=\"DIVISIBLE_BY\"==this.getFieldValue(\"PROPERTY\");a.setAttribute(\"divisor_input\",b);return a},domToMutation:function(a){a=\"true\"==a.getAttribute(\"divisor_input\");this.updateShape_(a)},updateShape_:function(a){var b=this.getInput(\"DIVISOR\");a?b||this.appendValueInput(\"DIVISOR\").setCheck(\"Number\"):b&&this.removeInput(\"DIVISOR\")}};\nBlockly.Constants.Math.IS_DIVISIBLE_MUTATOR_EXTENSION=function(){this.getField(\"PROPERTY\").setValidator(function(a){this.sourceBlock_.updateShape_(\"DIVISIBLE_BY\"==a)})};Blockly.Extensions.registerMutator(\"math_is_divisibleby_mutator\",Blockly.Constants.Math.IS_DIVISIBLEBY_MUTATOR_MIXIN,Blockly.Constants.Math.IS_DIVISIBLE_MUTATOR_EXTENSION);Blockly.Constants.Math.CHANGE_TOOLTIP_EXTENSION=function(){this.setTooltip(function(){return Blockly.Msg.MATH_CHANGE_TOOLTIP.replace(\"%1\",this.getFieldValue(\"VAR\"))}.bind(this))};\nBlockly.Extensions.register(\"math_change_tooltip\",Blockly.Extensions.buildTooltipWithFieldValue(Blockly.Msg.MATH_CHANGE_TOOLTIP,\"VAR\"));Blockly.Constants.Math.LIST_MODES_MUTATOR_MIXIN={updateType_:function(a){\"MODE\"==a?this.outputConnection.setCheck(\"Array\"):this.outputConnection.setCheck(\"Number\")},mutationToDom:function(){var a=document.createElement(\"mutation\");a.setAttribute(\"op\",this.getFieldValue(\"OP\"));return a},domToMutation:function(a){this.updateType_(a.getAttribute(\"op\"))}};\nBlockly.Constants.Math.LIST_MODES_MUTATOR_EXTENSION=function(){this.getField(\"OP\").setValidator(function(a){this.updateType_(a)}.bind(this))};Blockly.Extensions.registerMutator(\"math_modes_of_list_mutator\",Blockly.Constants.Math.LIST_MODES_MUTATOR_MIXIN,Blockly.Constants.Math.LIST_MODES_MUTATOR_EXTENSION);Blockly.Blocks.procedures={};Blockly.Blocks.procedures.HUE=290;\nBlockly.Blocks.procedures_defnoreturn={init:function(){var a=new Blockly.FieldTextInput(\"\",Blockly.Procedures.rename);a.setSpellcheck(!1);this.appendDummyInput().appendField(Blockly.Msg.PROCEDURES_DEFNORETURN_TITLE).appendField(a,\"NAME\").appendField(\"\",\"PARAMS\");this.setMutator(new Blockly.Mutator([\"procedures_mutatorarg\"]));(this.workspace.options.comments||this.workspace.options.parentWorkspace&&this.workspace.options.parentWorkspace.options.comments)&&Blockly.Msg.PROCEDURES_DEFNORETURN_COMMENT&&\nthis.setCommentText(Blockly.Msg.PROCEDURES_DEFNORETURN_COMMENT);this.setColour(Blockly.Blocks.procedures.HUE);this.setTooltip(Blockly.Msg.PROCEDURES_DEFNORETURN_TOOLTIP);this.setHelpUrl(Blockly.Msg.PROCEDURES_DEFNORETURN_HELPURL);this.arguments_=[];this.setStatements_(!0);this.statementConnection_=null},setStatements_:function(a){this.hasStatements_!==a&&(a?(this.appendStatementInput(\"STACK\").appendField(Blockly.Msg.PROCEDURES_DEFNORETURN_DO),this.getInput(\"RETURN\")&&this.moveInputBefore(\"STACK\",\n\"RETURN\")):this.removeInput(\"STACK\",!0),this.hasStatements_=a)},updateParams_:function(){for(var a=!1,b={},c=0;c<this.arguments_.length;c++){if(b[\"arg_\"+this.arguments_[c].toLowerCase()]){a=!0;break}b[\"arg_\"+this.arguments_[c].toLowerCase()]=!0}a?this.setWarningText(Blockly.Msg.PROCEDURES_DEF_DUPLICATE_WARNING):this.setWarningText(null);a=\"\";this.arguments_.length&&(a=Blockly.Msg.PROCEDURES_BEFORE_PARAMS+\" \"+this.arguments_.join(\", \"));Blockly.Events.disable();try{this.setFieldValue(a,\"PARAMS\")}finally{Blockly.Events.enable()}},\nmutationToDom:function(a){var b=document.createElement(\"mutation\");a&&b.setAttribute(\"name\",this.getFieldValue(\"NAME\"));for(var c=0;c<this.arguments_.length;c++){var d=document.createElement(\"arg\");d.setAttribute(\"name\",this.arguments_[c]);a&&this.paramIds_&&d.setAttribute(\"paramId\",this.paramIds_[c]);b.appendChild(d)}this.hasStatements_||b.setAttribute(\"statements\",\"false\");return b},domToMutation:function(a){this.arguments_=[];for(var b=0,c;c=a.childNodes[b];b++)\"arg\"==c.nodeName.toLowerCase()&&\nthis.arguments_.push(c.getAttribute(\"name\"));this.updateParams_();Blockly.Procedures.mutateCallers(this);this.setStatements_(\"false\"!==a.getAttribute(\"statements\"))},decompose:function(a){var b=a.newBlock(\"procedures_mutatorcontainer\");b.initSvg();this.getInput(\"RETURN\")?b.setFieldValue(this.hasStatements_?\"TRUE\":\"FALSE\",\"STATEMENTS\"):b.getInput(\"STATEMENT_INPUT\").setVisible(!1);for(var c=b.getInput(\"STACK\").connection,d=0;d<this.arguments_.length;d++){var e=a.newBlock(\"procedures_mutatorarg\");e.initSvg();\ne.setFieldValue(this.arguments_[d],\"NAME\");e.oldLocation=d;c.connect(e.previousConnection);c=e.nextConnection}Blockly.Procedures.mutateCallers(this);return b},compose:function(a){this.arguments_=[];this.paramIds_=[];for(var b=a.getInputTargetBlock(\"STACK\");b;)this.arguments_.push(b.getFieldValue(\"NAME\")),this.paramIds_.push(b.id),b=b.nextConnection&&b.nextConnection.targetBlock();this.updateParams_();Blockly.Procedures.mutateCallers(this);a=a.getFieldValue(\"STATEMENTS\");if(null!==a&&(a=\"TRUE\"==a,\nthis.hasStatements_!=a))if(a)this.setStatements_(!0),Blockly.Mutator.reconnect(this.statementConnection_,this,\"STACK\"),this.statementConnection_=null;else{a=this.getInput(\"STACK\").connection;if(this.statementConnection_=a.targetConnection)a=a.targetBlock(),a.unplug(),a.bumpNeighbours_();this.setStatements_(!1)}},getProcedureDef:function(){return[this.getFieldValue(\"NAME\"),this.arguments_,!1]},getVars:function(){return this.arguments_},renameVar:function(a,b){for(var c=!1,d=0;d<this.arguments_.length;d++)Blockly.Names.equals(a,\nthis.arguments_[d])&&(this.arguments_[d]=b,c=!0);if(c&&(this.updateParams_(),this.mutator.isVisible())){c=this.mutator.workspace_.getAllBlocks();d=0;for(var e;e=c[d];d++)\"procedures_mutatorarg\"==e.type&&Blockly.Names.equals(a,e.getFieldValue(\"NAME\"))&&e.setFieldValue(b,\"NAME\")}},customContextMenu:function(a){var b={enabled:!0},c=this.getFieldValue(\"NAME\");b.text=Blockly.Msg.PROCEDURES_CREATE_DO.replace(\"%1\",c);var d=goog.dom.createDom(\"mutation\");d.setAttribute(\"name\",c);for(var e=0;e<this.arguments_.length;e++)c=\ngoog.dom.createDom(\"arg\"),c.setAttribute(\"name\",this.arguments_[e]),d.appendChild(c);d=goog.dom.createDom(\"block\",null,d);d.setAttribute(\"type\",this.callType_);b.callback=Blockly.ContextMenu.callbackFactory(this,d);a.push(b);if(!this.isCollapsed())for(e=0;e<this.arguments_.length;e++)b={enabled:!0},c=this.arguments_[e],b.text=Blockly.Msg.VARIABLES_SET_CREATE_GET.replace(\"%1\",c),d=goog.dom.createDom(\"field\",null,c),d.setAttribute(\"name\",\"VAR\"),d=goog.dom.createDom(\"block\",null,d),d.setAttribute(\"type\",\n\"variables_get\"),b.callback=Blockly.ContextMenu.callbackFactory(this,d),a.push(b)},callType_:\"procedures_callnoreturn\"};\nBlockly.Blocks.procedures_defreturn={init:function(){var a=new Blockly.FieldTextInput(\"\",Blockly.Procedures.rename);a.setSpellcheck(!1);this.appendDummyInput().appendField(Blockly.Msg.PROCEDURES_DEFRETURN_TITLE).appendField(a,\"NAME\").appendField(\"\",\"PARAMS\");this.appendValueInput(\"RETURN\").setAlign(Blockly.ALIGN_RIGHT).appendField(Blockly.Msg.PROCEDURES_DEFRETURN_RETURN);this.setMutator(new Blockly.Mutator([\"procedures_mutatorarg\"]));(this.workspace.options.comments||this.workspace.options.parentWorkspace&&\nthis.workspace.options.parentWorkspace.options.comments)&&Blockly.Msg.PROCEDURES_DEFRETURN_COMMENT&&this.setCommentText(Blockly.Msg.PROCEDURES_DEFRETURN_COMMENT);this.setColour(Blockly.Blocks.procedures.HUE);this.setTooltip(Blockly.Msg.PROCEDURES_DEFRETURN_TOOLTIP);this.setHelpUrl(Blockly.Msg.PROCEDURES_DEFRETURN_HELPURL);this.arguments_=[];this.setStatements_(!0);this.statementConnection_=null},setStatements_:Blockly.Blocks.procedures_defnoreturn.setStatements_,updateParams_:Blockly.Blocks.procedures_defnoreturn.updateParams_,\nmutationToDom:Blockly.Blocks.procedures_defnoreturn.mutationToDom,domToMutation:Blockly.Blocks.procedures_defnoreturn.domToMutation,decompose:Blockly.Blocks.procedures_defnoreturn.decompose,compose:Blockly.Blocks.procedures_defnoreturn.compose,getProcedureDef:function(){return[this.getFieldValue(\"NAME\"),this.arguments_,!0]},getVars:Blockly.Blocks.procedures_defnoreturn.getVars,renameVar:Blockly.Blocks.procedures_defnoreturn.renameVar,customContextMenu:Blockly.Blocks.procedures_defnoreturn.customContextMenu,\ncallType_:\"procedures_callreturn\"};Blockly.Blocks.procedures_mutatorcontainer={init:function(){this.appendDummyInput().appendField(Blockly.Msg.PROCEDURES_MUTATORCONTAINER_TITLE);this.appendStatementInput(\"STACK\");this.appendDummyInput(\"STATEMENT_INPUT\").appendField(Blockly.Msg.PROCEDURES_ALLOW_STATEMENTS).appendField(new Blockly.FieldCheckbox(\"TRUE\"),\"STATEMENTS\");this.setColour(Blockly.Blocks.procedures.HUE);this.setTooltip(Blockly.Msg.PROCEDURES_MUTATORCONTAINER_TOOLTIP);this.contextMenu=!1}};\nBlockly.Blocks.procedures_mutatorarg={init:function(){var a=new Blockly.FieldTextInput(\"x\",this.validator_);this.appendDummyInput().appendField(Blockly.Msg.PROCEDURES_MUTATORARG_TITLE).appendField(a,\"NAME\");this.setPreviousStatement(!0);this.setNextStatement(!0);this.setColour(Blockly.Blocks.procedures.HUE);this.setTooltip(Blockly.Msg.PROCEDURES_MUTATORARG_TOOLTIP);this.contextMenu=!1;a.onFinishEditing_=this.createNewVar_;a.onFinishEditing_(\"x\")},validator_:function(a){return(a=a.replace(/[\\s\\xa0]+/g,\n\" \").replace(/^ | $/g,\"\"))||null},createNewVar_:function(a){var b=this.sourceBlock_;if(b&&b.workspace&&b.workspace.options&&b.workspace.options.parentWorkspace){b=b.workspace.options.parentWorkspace;var c=b.getVariable(a);c&&c.name!==a?b.renameVariableById(c.getId(),a):b.createVariable(a)}}};\nBlockly.Blocks.procedures_callnoreturn={init:function(){this.appendDummyInput(\"TOPROW\").appendField(this.id,\"NAME\");this.setPreviousStatement(!0);this.setNextStatement(!0);this.setColour(Blockly.Blocks.procedures.HUE);this.setHelpUrl(Blockly.Msg.PROCEDURES_CALLNORETURN_HELPURL);this.arguments_=[];this.quarkConnections_={};this.quarkIds_=null},getProcedureCall:function(){return this.getFieldValue(\"NAME\")},renameProcedure:function(a,b){Blockly.Names.equals(a,this.getProcedureCall())&&(this.setFieldValue(b,\n\"NAME\"),this.setTooltip((this.outputConnection?Blockly.Msg.PROCEDURES_CALLRETURN_TOOLTIP:Blockly.Msg.PROCEDURES_CALLNORETURN_TOOLTIP).replace(\"%1\",b)))},setProcedureParameters_:function(a,b){var c=Blockly.Procedures.getDefinition(this.getProcedureCall(),this.workspace),d=c&&c.mutator&&c.mutator.isVisible();d||(this.quarkConnections_={},this.quarkIds_=null);if(b)if(goog.array.equals(this.arguments_,a))this.quarkIds_=b;else{if(b.length!=a.length)throw\"Error: paramNames and paramIds must be the same length.\";\nthis.setCollapsed(!1);this.quarkIds_||(this.quarkConnections_={},a.join(\"\\n\")==this.arguments_.join(\"\\n\")?this.quarkIds_=b:this.quarkIds_=[]);c=this.rendered;this.rendered=!1;for(var e=0;e<this.arguments_.length;e++){var f=this.getInput(\"ARG\"+e);f&&(f=f.connection.targetConnection,this.quarkConnections_[this.quarkIds_[e]]=f,d&&f&&-1==b.indexOf(this.quarkIds_[e])&&(f.disconnect(),f.getSourceBlock().bumpNeighbours_()))}this.arguments_=[].concat(a);this.updateShape_();if(this.quarkIds_=b)for(e=0;e<this.arguments_.length;e++)d=\nthis.quarkIds_[e],d in this.quarkConnections_&&(f=this.quarkConnections_[d],Blockly.Mutator.reconnect(f,this,\"ARG\"+e)||delete this.quarkConnections_[d]);(this.rendered=c)&&this.render()}},updateShape_:function(){for(var a=0;a<this.arguments_.length;a++){var b=this.getField(\"ARGNAME\"+a);if(b){Blockly.Events.disable();try{b.setValue(this.arguments_[a])}finally{Blockly.Events.enable()}}else b=new Blockly.FieldLabel(this.arguments_[a]),this.appendValueInput(\"ARG\"+a).setAlign(Blockly.ALIGN_RIGHT).appendField(b,\n\"ARGNAME\"+a).init()}for(;this.getInput(\"ARG\"+a);)this.removeInput(\"ARG\"+a),a++;if(a=this.getInput(\"TOPROW\"))this.arguments_.length?this.getField(\"WITH\")||(a.appendField(Blockly.Msg.PROCEDURES_CALL_BEFORE_PARAMS,\"WITH\"),a.init()):this.getField(\"WITH\")&&a.removeField(\"WITH\")},mutationToDom:function(){var a=document.createElement(\"mutation\");a.setAttribute(\"name\",this.getProcedureCall());for(var b=0;b<this.arguments_.length;b++){var c=document.createElement(\"arg\");c.setAttribute(\"name\",this.arguments_[b]);\na.appendChild(c)}return a},domToMutation:function(a){var b=a.getAttribute(\"name\");this.renameProcedure(this.getProcedureCall(),b);b=[];for(var c=[],d=0,e;e=a.childNodes[d];d++)\"arg\"==e.nodeName.toLowerCase()&&(b.push(e.getAttribute(\"name\")),c.push(e.getAttribute(\"paramId\")));this.setProcedureParameters_(b,c)},renameVar:function(a,b){for(var c=0;c<this.arguments_.length;c++)Blockly.Names.equals(a,this.arguments_[c])&&(this.arguments_[c]=b,this.getField(\"ARGNAME\"+c).setValue(b))},onchange:function(a){if(this.workspace&&\n!this.workspace.isFlyout)if(a.type==Blockly.Events.BLOCK_CREATE&&-1!=a.ids.indexOf(this.id)){var b=this.getProcedureCall();b=Blockly.Procedures.getDefinition(b,this.workspace);!b||b.type==this.defType_&&JSON.stringify(b.arguments_)==JSON.stringify(this.arguments_)||(b=null);if(!b){Blockly.Events.setGroup(a.group);a=goog.dom.createDom(\"xml\");b=goog.dom.createDom(\"block\");b.setAttribute(\"type\",this.defType_);var c=this.getRelativeToSurfaceXY(),d=c.y+2*Blockly.SNAP_RADIUS;b.setAttribute(\"x\",c.x+Blockly.SNAP_RADIUS*\n(this.RTL?-1:1));b.setAttribute(\"y\",d);c=this.mutationToDom();b.appendChild(c);c=goog.dom.createDom(\"field\");c.setAttribute(\"name\",\"NAME\");c.appendChild(document.createTextNode(this.getProcedureCall()));b.appendChild(c);a.appendChild(b);Blockly.Xml.domToWorkspace(a,this.workspace);Blockly.Events.setGroup(!1)}}else a.type==Blockly.Events.BLOCK_DELETE&&(b=this.getProcedureCall(),b=Blockly.Procedures.getDefinition(b,this.workspace),b||(Blockly.Events.setGroup(a.group),this.dispose(!0,!1),Blockly.Events.setGroup(!1)))},\ncustomContextMenu:function(a){var b={enabled:!0};b.text=Blockly.Msg.PROCEDURES_HIGHLIGHT_DEF;var c=this.getProcedureCall(),d=this.workspace;b.callback=function(){var a=Blockly.Procedures.getDefinition(c,d);a&&a.select()};a.push(b)},defType_:\"procedures_defnoreturn\"};\nBlockly.Blocks.procedures_callreturn={init:function(){this.appendDummyInput(\"TOPROW\").appendField(\"\",\"NAME\");this.setOutput(!0);this.setColour(Blockly.Blocks.procedures.HUE);this.setHelpUrl(Blockly.Msg.PROCEDURES_CALLRETURN_HELPURL);this.arguments_=[];this.quarkConnections_={};this.quarkIds_=null},getProcedureCall:Blockly.Blocks.procedures_callnoreturn.getProcedureCall,renameProcedure:Blockly.Blocks.procedures_callnoreturn.renameProcedure,setProcedureParameters_:Blockly.Blocks.procedures_callnoreturn.setProcedureParameters_,\nupdateShape_:Blockly.Blocks.procedures_callnoreturn.updateShape_,mutationToDom:Blockly.Blocks.procedures_callnoreturn.mutationToDom,domToMutation:Blockly.Blocks.procedures_callnoreturn.domToMutation,renameVar:Blockly.Blocks.procedures_callnoreturn.renameVar,onchange:Blockly.Blocks.procedures_callnoreturn.onchange,customContextMenu:Blockly.Blocks.procedures_callnoreturn.customContextMenu,defType_:\"procedures_defreturn\"};\nBlockly.Blocks.procedures_ifreturn={init:function(){this.appendValueInput(\"CONDITION\").setCheck(\"Boolean\").appendField(Blockly.Msg.CONTROLS_IF_MSG_IF);this.appendValueInput(\"VALUE\").appendField(Blockly.Msg.PROCEDURES_DEFRETURN_RETURN);this.setInputsInline(!0);this.setPreviousStatement(!0);this.setNextStatement(!0);this.setColour(Blockly.Blocks.procedures.HUE);this.setTooltip(Blockly.Msg.PROCEDURES_IFRETURN_TOOLTIP);this.setHelpUrl(Blockly.Msg.PROCEDURES_IFRETURN_HELPURL);this.hasReturnValue_=!0},\nmutationToDom:function(){var a=document.createElement(\"mutation\");a.setAttribute(\"value\",Number(this.hasReturnValue_));return a},domToMutation:function(a){this.hasReturnValue_=1==a.getAttribute(\"value\");this.hasReturnValue_||(this.removeInput(\"VALUE\"),this.appendDummyInput(\"VALUE\").appendField(Blockly.Msg.PROCEDURES_DEFRETURN_RETURN))},onchange:function(){if(this.workspace.isDragging&&!this.workspace.isDragging()){var a=!1,b=this;do{if(-1!=this.FUNCTION_TYPES.indexOf(b.type)){a=!0;break}b=b.getSurroundParent()}while(b);\na?(\"procedures_defnoreturn\"==b.type&&this.hasReturnValue_?(this.removeInput(\"VALUE\"),this.appendDummyInput(\"VALUE\").appendField(Blockly.Msg.PROCEDURES_DEFRETURN_RETURN),this.hasReturnValue_=!1):\"procedures_defreturn\"!=b.type||this.hasReturnValue_||(this.removeInput(\"VALUE\"),this.appendValueInput(\"VALUE\").appendField(Blockly.Msg.PROCEDURES_DEFRETURN_RETURN),this.hasReturnValue_=!0),this.setWarningText(null),this.isInFlyout||this.setDisabled(!1)):(this.setWarningText(Blockly.Msg.PROCEDURES_IFRETURN_WARNING),\nthis.isInFlyout||this.getInheritedDisabled()||this.setDisabled(!0))}},FUNCTION_TYPES:[\"procedures_defnoreturn\",\"procedures_defreturn\"]};Blockly.Blocks.texts={};Blockly.Constants.Text={};Blockly.Constants.Text.HUE=160;Blockly.Blocks.texts.HUE=Blockly.Constants.Text.HUE;\nBlockly.defineBlocksWithJsonArray([{type:\"text\",message0:\"%1\",args0:[{type:\"field_input\",name:\"TEXT\",text:\"\"}],output:\"String\",colour:\"%{BKY_TEXTS_HUE}\",helpUrl:\"%{BKY_TEXT_TEXT_HELPURL}\",tooltip:\"%{BKY_TEXT_TEXT_TOOLTIP}\",extensions:[\"text_quotes\",\"parent_tooltip_when_inline\"]},{type:\"text_join\",message0:\"\",output:\"String\",colour:\"%{BKY_TEXTS_HUE}\",helpUrl:\"%{BKY_TEXT_JOIN_HELPURL}\",tooltip:\"%{BKY_TEXT_JOIN_TOOLTIP}\",mutator:\"text_join_mutator\"},{type:\"text_create_join_container\",message0:\"%{BKY_TEXT_CREATE_JOIN_TITLE_JOIN} %1 %2\",\nargs0:[{type:\"input_dummy\"},{type:\"input_statement\",name:\"STACK\"}],colour:\"%{BKY_TEXTS_HUE}\",tooltip:\"%{BKY_TEXT_CREATE_JOIN_TOOLTIP}\",enableContextMenu:!1},{type:\"text_create_join_item\",message0:\"%{BKY_TEXT_CREATE_JOIN_ITEM_TITLE_ITEM}\",previousStatement:null,nextStatement:null,colour:\"%{BKY_TEXTS_HUE}\",tooltip:\"{%BKY_TEXT_CREATE_JOIN_ITEM_TOOLTIP}\",enableContextMenu:!1},{type:\"text_append\",message0:\"%{BKY_TEXT_APPEND_TITLE}\",args0:[{type:\"field_variable\",name:\"VAR\",variable:\"%{BKY_TEXT_APPEND_VARIABLE}\"},\n{type:\"input_value\",name:\"TEXT\"}],previousStatement:null,nextStatement:null,colour:\"%{BKY_TEXTS_HUE}\",extensions:[\"text_append_tooltip\"]},{type:\"text_length\",message0:\"%{BKY_TEXT_LENGTH_TITLE}\",args0:[{type:\"input_value\",name:\"VALUE\",check:[\"String\",\"Array\"]}],output:\"Number\",colour:\"%{BKY_TEXTS_HUE}\",tooltip:\"%{BKY_TEXT_LENGTH_TOOLTIP}\",helpUrl:\"%{BKY_TEXT_LENGTH_HELPURL}\"},{type:\"text_isEmpty\",message0:\"%{BKY_TEXT_ISEMPTY_TITLE}\",args0:[{type:\"input_value\",name:\"VALUE\",check:[\"String\",\"Array\"]}],\noutput:\"Boolean\",colour:\"%{BKY_TEXTS_HUE}\",tooltip:\"%{BKY_TEXT_ISEMPTY_TOOLTIP}\",helpUrl:\"%{BKY_TEXT_ISEMPTY_HELPURL}\"},{type:\"text_indexOf\",message0:\"%{BKY_TEXT_INDEXOF_TITLE}\",args0:[{type:\"input_value\",name:\"VALUE\",check:\"String\"},{type:\"field_dropdown\",name:\"END\",options:[[\"%{BKY_TEXT_INDEXOF_OPERATOR_FIRST}\",\"FIRST\"],[\"%{BKY_TEXT_INDEXOF_OPERATOR_LAST}\",\"LAST\"]]},{type:\"input_value\",name:\"FIND\",check:\"String\"}],output:\"Number\",colour:\"%{BKY_TEXTS_HUE}\",helpUrl:\"%{BKY_TEXT_INDEXOF_HELPURL}\",inputsInline:!0,\nextensions:[\"text_indexOf_tooltip\"]},{type:\"text_charAt\",message0:\"%{BKY_TEXT_CHARAT_TITLE}\",args0:[{type:\"input_value\",name:\"VALUE\",check:\"String\"},{type:\"input_dummy\",name:\"AT\"}],output:\"String\",colour:\"%{BKY_TEXTS_HUE}\",helpUrl:\"%{BKY_TEXT_CHARAT_HELPURL}\",inputsInline:!0,mutator:\"text_charAt_mutator\"}]);\nBlockly.Blocks.text_getSubstring={init:function(){this.WHERE_OPTIONS_1=[[Blockly.Msg.TEXT_GET_SUBSTRING_START_FROM_START,\"FROM_START\"],[Blockly.Msg.TEXT_GET_SUBSTRING_START_FROM_END,\"FROM_END\"],[Blockly.Msg.TEXT_GET_SUBSTRING_START_FIRST,\"FIRST\"]];this.WHERE_OPTIONS_2=[[Blockly.Msg.TEXT_GET_SUBSTRING_END_FROM_START,\"FROM_START\"],[Blockly.Msg.TEXT_GET_SUBSTRING_END_FROM_END,\"FROM_END\"],[Blockly.Msg.TEXT_GET_SUBSTRING_END_LAST,\"LAST\"]];this.setHelpUrl(Blockly.Msg.TEXT_GET_SUBSTRING_HELPURL);this.setColour(Blockly.Blocks.texts.HUE);\nthis.appendValueInput(\"STRING\").setCheck(\"String\").appendField(Blockly.Msg.TEXT_GET_SUBSTRING_INPUT_IN_TEXT);this.appendDummyInput(\"AT1\");this.appendDummyInput(\"AT2\");Blockly.Msg.TEXT_GET_SUBSTRING_TAIL&&this.appendDummyInput(\"TAIL\").appendField(Blockly.Msg.TEXT_GET_SUBSTRING_TAIL);this.setInputsInline(!0);this.setOutput(!0,\"String\");this.updateAt_(1,!0);this.updateAt_(2,!0);this.setTooltip(Blockly.Msg.TEXT_GET_SUBSTRING_TOOLTIP)},mutationToDom:function(){var a=document.createElement(\"mutation\"),\nb=this.getInput(\"AT1\").type==Blockly.INPUT_VALUE;a.setAttribute(\"at1\",b);b=this.getInput(\"AT2\").type==Blockly.INPUT_VALUE;a.setAttribute(\"at2\",b);return a},domToMutation:function(a){var b=\"true\"==a.getAttribute(\"at1\");a=\"true\"==a.getAttribute(\"at2\");this.updateAt_(1,b);this.updateAt_(2,a)},updateAt_:function(a,b){this.removeInput(\"AT\"+a);this.removeInput(\"ORDINAL\"+a,!0);b?(this.appendValueInput(\"AT\"+a).setCheck(\"Number\"),Blockly.Msg.ORDINAL_NUMBER_SUFFIX&&this.appendDummyInput(\"ORDINAL\"+a).appendField(Blockly.Msg.ORDINAL_NUMBER_SUFFIX)):\nthis.appendDummyInput(\"AT\"+a);2==a&&Blockly.Msg.TEXT_GET_SUBSTRING_TAIL&&(this.removeInput(\"TAIL\",!0),this.appendDummyInput(\"TAIL\").appendField(Blockly.Msg.TEXT_GET_SUBSTRING_TAIL));var c=new Blockly.FieldDropdown(this[\"WHERE_OPTIONS_\"+a],function(c){var d=\"FROM_START\"==c||\"FROM_END\"==c;if(d!=b){var f=this.sourceBlock_;f.updateAt_(a,d);f.setFieldValue(c,\"WHERE\"+a);return null}});this.getInput(\"AT\"+a).appendField(c,\"WHERE\"+a);1==a&&this.moveInputBefore(\"AT1\",\"AT2\")}};\nBlockly.Blocks.text_changeCase={init:function(){var a=[[Blockly.Msg.TEXT_CHANGECASE_OPERATOR_UPPERCASE,\"UPPERCASE\"],[Blockly.Msg.TEXT_CHANGECASE_OPERATOR_LOWERCASE,\"LOWERCASE\"],[Blockly.Msg.TEXT_CHANGECASE_OPERATOR_TITLECASE,\"TITLECASE\"]];this.setHelpUrl(Blockly.Msg.TEXT_CHANGECASE_HELPURL);this.setColour(Blockly.Blocks.texts.HUE);this.appendValueInput(\"TEXT\").setCheck(\"String\").appendField(new Blockly.FieldDropdown(a),\"CASE\");this.setOutput(!0,\"String\");this.setTooltip(Blockly.Msg.TEXT_CHANGECASE_TOOLTIP)}};\nBlockly.Blocks.text_trim={init:function(){var a=[[Blockly.Msg.TEXT_TRIM_OPERATOR_BOTH,\"BOTH\"],[Blockly.Msg.TEXT_TRIM_OPERATOR_LEFT,\"LEFT\"],[Blockly.Msg.TEXT_TRIM_OPERATOR_RIGHT,\"RIGHT\"]];this.setHelpUrl(Blockly.Msg.TEXT_TRIM_HELPURL);this.setColour(Blockly.Blocks.texts.HUE);this.appendValueInput(\"TEXT\").setCheck(\"String\").appendField(new Blockly.FieldDropdown(a),\"MODE\");this.setOutput(!0,\"String\");this.setTooltip(Blockly.Msg.TEXT_TRIM_TOOLTIP)}};\nBlockly.Blocks.text_print={init:function(){this.jsonInit({message0:Blockly.Msg.TEXT_PRINT_TITLE,args0:[{type:\"input_value\",name:\"TEXT\"}],previousStatement:null,nextStatement:null,colour:Blockly.Blocks.texts.HUE,tooltip:Blockly.Msg.TEXT_PRINT_TOOLTIP,helpUrl:Blockly.Msg.TEXT_PRINT_HELPURL})}};\nBlockly.Blocks.text_prompt_ext={init:function(){var a=[[Blockly.Msg.TEXT_PROMPT_TYPE_TEXT,\"TEXT\"],[Blockly.Msg.TEXT_PROMPT_TYPE_NUMBER,\"NUMBER\"]];this.setHelpUrl(Blockly.Msg.TEXT_PROMPT_HELPURL);this.setColour(Blockly.Blocks.texts.HUE);var b=this;a=new Blockly.FieldDropdown(a,function(a){b.updateType_(a)});this.appendValueInput(\"TEXT\").appendField(a,\"TYPE\");this.setOutput(!0,\"String\");this.setTooltip(function(){return\"TEXT\"==b.getFieldValue(\"TYPE\")?Blockly.Msg.TEXT_PROMPT_TOOLTIP_TEXT:Blockly.Msg.TEXT_PROMPT_TOOLTIP_NUMBER})},\nupdateType_:function(a){this.outputConnection.setCheck(\"NUMBER\"==a?\"Number\":\"String\")},mutationToDom:function(){var a=document.createElement(\"mutation\");a.setAttribute(\"type\",this.getFieldValue(\"TYPE\"));return a},domToMutation:function(a){this.updateType_(a.getAttribute(\"type\"))}};\nBlockly.Blocks.text_prompt={init:function(){this.mixin(Blockly.Constants.Text.QUOTE_IMAGE_MIXIN);var a=[[Blockly.Msg.TEXT_PROMPT_TYPE_TEXT,\"TEXT\"],[Blockly.Msg.TEXT_PROMPT_TYPE_NUMBER,\"NUMBER\"]],b=this;this.setHelpUrl(Blockly.Msg.TEXT_PROMPT_HELPURL);this.setColour(Blockly.Blocks.texts.HUE);a=new Blockly.FieldDropdown(a,function(a){b.updateType_(a)});this.appendDummyInput().appendField(a,\"TYPE\").appendField(this.newQuote_(!0)).appendField(new Blockly.FieldTextInput(\"\"),\"TEXT\").appendField(this.newQuote_(!1));\nthis.setOutput(!0,\"String\");this.setTooltip(function(){return\"TEXT\"==b.getFieldValue(\"TYPE\")?Blockly.Msg.TEXT_PROMPT_TOOLTIP_TEXT:Blockly.Msg.TEXT_PROMPT_TOOLTIP_NUMBER})},updateType_:Blockly.Blocks.text_prompt_ext.updateType_,mutationToDom:Blockly.Blocks.text_prompt_ext.mutationToDom,domToMutation:Blockly.Blocks.text_prompt_ext.domToMutation};\nBlockly.Blocks.text_count={init:function(){this.jsonInit({message0:Blockly.Msg.TEXT_COUNT_MESSAGE0,args0:[{type:\"input_value\",name:\"SUB\",check:\"String\"},{type:\"input_value\",name:\"TEXT\",check:\"String\"}],output:\"Number\",inputsInline:!0,colour:Blockly.Blocks.texts.HUE,tooltip:Blockly.Msg.TEXT_COUNT_TOOLTIP,helpUrl:Blockly.Msg.TEXT_COUNT_HELPURL})}};\nBlockly.Blocks.text_replace={init:function(){this.jsonInit({message0:Blockly.Msg.TEXT_REPLACE_MESSAGE0,args0:[{type:\"input_value\",name:\"FROM\",check:\"String\"},{type:\"input_value\",name:\"TO\",check:\"String\"},{type:\"input_value\",name:\"TEXT\",check:\"String\"}],output:\"String\",inputsInline:!0,colour:Blockly.Blocks.texts.HUE,tooltip:Blockly.Msg.TEXT_REPLACE_TOOLTIP,helpUrl:Blockly.Msg.TEXT_REPLACE_HELPURL})}};\nBlockly.Blocks.text_reverse={init:function(){this.jsonInit({message0:Blockly.Msg.TEXT_REVERSE_MESSAGE0,args0:[{type:\"input_value\",name:\"TEXT\",check:\"String\"}],output:\"String\",inputsInline:!0,colour:Blockly.Blocks.texts.HUE,tooltip:Blockly.Msg.TEXT_REVERSE_TOOLTIP,helpUrl:Blockly.Msg.TEXT_REVERSE_HELPURL})}};\nBlockly.Constants.Text.QUOTE_IMAGE_MIXIN={QUOTE_IMAGE_LEFT_DATAURI:\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAKCAQAAAAqJXdxAAAAn0lEQVQI1z3OMa5BURSF4f/cQhAKjUQhuQmFNwGJEUi0RKN5rU7FHKhpjEH3TEMtkdBSCY1EIv8r7nFX9e29V7EBAOvu7RPjwmWGH/VuF8CyN9/OAdvqIXYLvtRaNjx9mMTDyo+NjAN1HNcl9ZQ5oQMM3dgDUqDo1l8DzvwmtZN7mnD+PkmLa+4mhrxVA9fRowBWmVBhFy5gYEjKMfz9AylsaRRgGzvZAAAAAElFTkSuQmCC\",QUOTE_IMAGE_RIGHT_DATAURI:\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAKCAQAAAAqJXdxAAAAqUlEQVQI1z3KvUpCcRiA8ef9E4JNHhI0aFEacm1o0BsI0Slx8wa8gLauoDnoBhq7DcfWhggONDmJJgqCPA7neJ7p934EOOKOnM8Q7PDElo/4x4lFb2DmuUjcUzS3URnGib9qaPNbuXvBO3sGPHJDRG6fGVdMSeWDP2q99FQdFrz26Gu5Tq7dFMzUvbXy8KXeAj57cOklgA+u1B5AoslLtGIHQMaCVnwDnADZIFIrXsoXrgAAAABJRU5ErkJggg==\",\nQUOTE_IMAGE_WIDTH:12,QUOTE_IMAGE_HEIGHT:12,quoteField_:function(a){for(var b=0,c;c=this.inputList[b];b++)for(var d=0,e;e=c.fieldRow[d];d++)if(a==e.name){c.insertFieldAt(d,this.newQuote_(!0));c.insertFieldAt(d+2,this.newQuote_(!1));return}console.warn('field named \"'+a+'\" not found in '+this.toDevString())},newQuote_:function(a){a=this.RTL?!a:a;return new Blockly.FieldImage(a?this.QUOTE_IMAGE_LEFT_DATAURI:this.QUOTE_IMAGE_RIGHT_DATAURI,this.QUOTE_IMAGE_WIDTH,this.QUOTE_IMAGE_HEIGHT,a?\"\\u201c\":\"\\u201d\")}};\nBlockly.Constants.Text.TEXT_QUOTES_EXTENSION=function(){this.mixin(Blockly.Constants.Text.QUOTE_IMAGE_MIXIN);this.quoteField_(\"TEXT\")};\nBlockly.Constants.Text.TEXT_JOIN_MUTATOR_MIXIN={mutationToDom:function(){var a=document.createElement(\"mutation\");a.setAttribute(\"items\",this.itemCount_);return a},domToMutation:function(a){this.itemCount_=parseInt(a.getAttribute(\"items\"),10);this.updateShape_()},decompose:function(a){var b=a.newBlock(\"text_create_join_container\");b.initSvg();for(var c=b.getInput(\"STACK\").connection,d=0;d<this.itemCount_;d++){var e=a.newBlock(\"text_create_join_item\");e.initSvg();c.connect(e.previousConnection);c=\ne.nextConnection}return b},compose:function(a){var b=a.getInputTargetBlock(\"STACK\");for(a=[];b;)a.push(b.valueConnection_),b=b.nextConnection&&b.nextConnection.targetBlock();for(b=0;b<this.itemCount_;b++){var c=this.getInput(\"ADD\"+b).connection.targetConnection;c&&-1==a.indexOf(c)&&c.disconnect()}this.itemCount_=a.length;this.updateShape_();for(b=0;b<this.itemCount_;b++)Blockly.Mutator.reconnect(a[b],this,\"ADD\"+b)},saveConnections:function(a){a=a.getInputTargetBlock(\"STACK\");for(var b=0;a;){var c=\nthis.getInput(\"ADD\"+b);a.valueConnection_=c&&c.connection.targetConnection;b++;a=a.nextConnection&&a.nextConnection.targetBlock()}},updateShape_:function(){this.itemCount_&&this.getInput(\"EMPTY\")?this.removeInput(\"EMPTY\"):this.itemCount_||this.getInput(\"EMPTY\")||this.appendDummyInput(\"EMPTY\").appendField(this.newQuote_(!0)).appendField(this.newQuote_(!1));for(var a=0;a<this.itemCount_;a++)if(!this.getInput(\"ADD\"+a)){var b=this.appendValueInput(\"ADD\"+a);0==a&&b.appendField(Blockly.Msg.TEXT_JOIN_TITLE_CREATEWITH)}for(;this.getInput(\"ADD\"+\na);)this.removeInput(\"ADD\"+a),a++}};Blockly.Constants.Text.TEXT_JOIN_EXTENSION=function(){this.mixin(Blockly.Constants.Text.QUOTE_IMAGE_MIXIN);this.itemCount_=2;this.updateShape_();this.setMutator(new Blockly.Mutator([\"text_create_join_item\"]))};Blockly.Constants.Text.TEXT_APPEND_TOOLTIP_EXTENSION=function(){var a=this;this.setTooltip(function(){return Blockly.Msg.TEXT_APPEND_TOOLTIP?Blockly.Msg.TEXT_APPEND_TOOLTIP.replace(\"%1\",a.getFieldValue(\"VAR\")):\"\"})};\nBlockly.Constants.Text.TEXT_INDEXOF_TOOLTIP_EXTENSION=function(){var a=this;this.setTooltip(function(){return Blockly.Msg.TEXT_INDEXOF_TOOLTIP.replace(\"%1\",a.workspace.options.oneBasedIndex?\"0\":\"-1\")})};\nBlockly.Constants.Text.TEXT_CHARAT_MUTATOR_MIXIN={mutationToDom:function(){var a=document.createElement(\"mutation\"),b=this.getInput(\"AT\").type==Blockly.INPUT_VALUE;a.setAttribute(\"at\",b);return a},domToMutation:function(a){a=\"false\"!=a.getAttribute(\"at\");this.updateAt_(a)},updateAt_:function(a){this.removeInput(\"AT\");this.removeInput(\"ORDINAL\",!0);a?(this.appendValueInput(\"AT\").setCheck(\"Number\"),Blockly.Msg.ORDINAL_NUMBER_SUFFIX&&this.appendDummyInput(\"ORDINAL\").appendField(Blockly.Msg.ORDINAL_NUMBER_SUFFIX)):\nthis.appendDummyInput(\"AT\");Blockly.Msg.TEXT_CHARAT_TAIL&&(this.removeInput(\"TAIL\",!0),this.appendDummyInput(\"TAIL\").appendField(Blockly.Msg.TEXT_CHARAT_TAIL));var b=new Blockly.FieldDropdown(this.WHERE_OPTIONS,function(b){var c=\"FROM_START\"==b||\"FROM_END\"==b;if(c!=a){var e=this.sourceBlock_;e.updateAt_(c);e.setFieldValue(b,\"WHERE\");return null}});this.getInput(\"AT\").appendField(b,\"WHERE\")}};\nBlockly.Constants.Text.TEXT_CHARAT_EXTENSION=function(){this.WHERE_OPTIONS=[[Blockly.Msg.TEXT_CHARAT_FROM_START,\"FROM_START\"],[Blockly.Msg.TEXT_CHARAT_FROM_END,\"FROM_END\"],[Blockly.Msg.TEXT_CHARAT_FIRST,\"FIRST\"],[Blockly.Msg.TEXT_CHARAT_LAST,\"LAST\"],[Blockly.Msg.TEXT_CHARAT_RANDOM,\"RANDOM\"]];this.updateAt_(!0);var a=this;this.setTooltip(function(){var b=a.getFieldValue(\"WHERE\"),c=Blockly.Msg.TEXT_CHARAT_TOOLTIP;(\"FROM_START\"==b||\"FROM_END\"==b)&&(b=\"FROM_START\"==b?Blockly.Msg.LISTS_INDEX_FROM_START_TOOLTIP:\nBlockly.Msg.LISTS_INDEX_FROM_END_TOOLTIP)&&(c+=\"  \"+b.replace(\"%1\",a.workspace.options.oneBasedIndex?\"#1\":\"#0\"));return c})};Blockly.Extensions.register(\"text_indexOf_tooltip\",Blockly.Constants.Text.TEXT_INDEXOF_TOOLTIP_EXTENSION);Blockly.Extensions.register(\"text_quotes\",Blockly.Constants.Text.TEXT_QUOTES_EXTENSION);Blockly.Extensions.register(\"text_append_tooltip\",Blockly.Constants.Text.TEXT_APPEND_TOOLTIP_EXTENSION);\nBlockly.Extensions.registerMutator(\"text_join_mutator\",Blockly.Constants.Text.TEXT_JOIN_MUTATOR_MIXIN,Blockly.Constants.Text.TEXT_JOIN_EXTENSION);Blockly.Extensions.registerMutator(\"text_charAt_mutator\",Blockly.Constants.Text.TEXT_CHARAT_MUTATOR_MIXIN,Blockly.Constants.Text.TEXT_CHARAT_EXTENSION);Blockly.Blocks.variables={};Blockly.Constants.Variables={};Blockly.Constants.Variables.HUE=330;Blockly.Blocks.variables.HUE=Blockly.Constants.Variables.HUE;\nBlockly.defineBlocksWithJsonArray([{type:\"variables_get\",message0:\"%1\",args0:[{type:\"field_variable\",name:\"VAR\",variable:\"%{BKY_VARIABLES_DEFAULT_NAME}\"}],output:null,colour:\"%{BKY_VARIABLES_HUE}\",helpUrl:\"%{BKY_VARIABLES_GET_HELPURL}\",tooltip:\"%{BKY_VARIABLES_GET_TOOLTIP}\",extensions:[\"contextMenu_variableSetterGetter\"]},{type:\"variables_set\",message0:\"%{BKY_VARIABLES_SET}\",args0:[{type:\"field_variable\",name:\"VAR\",variable:\"%{BKY_VARIABLES_DEFAULT_NAME}\"},{type:\"input_value\",name:\"VALUE\"}],previousStatement:null,\nnextStatement:null,colour:\"%{BKY_VARIABLES_HUE}\",tooltip:\"%{BKY_VARIABLES_SET_TOOLTIP}\",helpUrl:\"%{BKY_VARIABLES_SET_HELPURL}\",extensions:[\"contextMenu_variableSetterGetter\"]}]);\nBlockly.Constants.Variables.CUSTOM_CONTEXT_MENU_VARIABLE_GETTER_SETTER_MIXIN={customContextMenu:function(a){if(\"variables_get\"==this.type)var b=\"variables_set\",c=Blockly.Msg.VARIABLES_GET_CREATE_SET;else b=\"variables_get\",c=Blockly.Msg.VARIABLES_SET_CREATE_GET;var d={enabled:0<this.workspace.remainingCapacity()},e=this.getFieldValue(\"VAR\");d.text=c.replace(\"%1\",e);c=goog.dom.createDom(\"field\",null,e);c.setAttribute(\"name\",\"VAR\");c=goog.dom.createDom(\"block\",null,c);c.setAttribute(\"type\",b);d.callback=\nBlockly.ContextMenu.callbackFactory(this,c);a.push(d)}};Blockly.Extensions.registerMixin(\"contextMenu_variableSetterGetter\",Blockly.Constants.Variables.CUSTOM_CONTEXT_MENU_VARIABLE_GETTER_SETTER_MIXIN);","// This file was automatically generated.  Do not modify.\n\n'use strict';\n\ngoog.provide('Blockly.Msg.es');\n\ngoog.require('Blockly.Msg');\n\n/** @export */ Blockly.Msg.ADD_COMMENT = \"Añadir comentario\";\n/** @export */ Blockly.Msg.CANNOT_DELETE_VARIABLE_PROCEDURE = \"No se puede eliminar la variable \\\"%1\\\" porque es parte de la definición de la función \\\"%2\\\"\";\n/** @export */ Blockly.Msg.CHANGE_VALUE_TITLE = \"Cambiar el valor:\";\n/** @export */ Blockly.Msg.CLEAN_UP = \"Limpiar los bloques\";\n/** @export */ Blockly.Msg.COLLAPSE_ALL = \"Contraer bloques\";\n/** @export */ Blockly.Msg.COLLAPSE_BLOCK = \"Contraer bloque\";\n/** @export */ Blockly.Msg.COLOUR_BLEND_COLOUR1 = \"color 1\";\n/** @export */ Blockly.Msg.COLOUR_BLEND_COLOUR2 = \"color 2\";\n/** @export */ Blockly.Msg.COLOUR_BLEND_HELPURL = \"http://meyerweb.com/eric/tools/color-blend/\";  // untranslated\n/** @export */ Blockly.Msg.COLOUR_BLEND_RATIO = \"proporción\";\n/** @export */ Blockly.Msg.COLOUR_BLEND_TITLE = \"combinar\";\n/** @export */ Blockly.Msg.COLOUR_BLEND_TOOLTIP = \"Combina dos colores con una proporción determinada (0,0–1,0).\";\n/** @export */ Blockly.Msg.COLOUR_PICKER_HELPURL = \"https://es.wikipedia.org/wiki/Color\";\n/** @export */ Blockly.Msg.COLOUR_PICKER_TOOLTIP = \"Elige un color de la paleta.\";\n/** @export */ Blockly.Msg.COLOUR_RANDOM_HELPURL = \"http://randomcolour.com\";  // untranslated\n/** @export */ Blockly.Msg.COLOUR_RANDOM_TITLE = \"color aleatorio\";\n/** @export */ Blockly.Msg.COLOUR_RANDOM_TOOLTIP = \"Elige un color al azar.\";\n/** @export */ Blockly.Msg.COLOUR_RGB_BLUE = \"azul\";\n/** @export */ Blockly.Msg.COLOUR_RGB_GREEN = \"verde\";\n/** @export */ Blockly.Msg.COLOUR_RGB_HELPURL = \"http://www.december.com/html/spec/colorper.html\";  // untranslated\n/** @export */ Blockly.Msg.COLOUR_RGB_RED = \"rojo\";\n/** @export */ Blockly.Msg.COLOUR_RGB_TITLE = \"colorear con\";\n/** @export */ Blockly.Msg.COLOUR_RGB_TOOLTIP = \"Crea un color con cantidades específicas de rojo, verde y azul. Todos los valores deben encontrarse entre 0 y 100.\";\n/** @export */ Blockly.Msg.CONTROLS_FLOW_STATEMENTS_HELPURL = \"https://github.com/google/blockly/wiki/Loops#loop-termination-blocks\";  // untranslated\n/** @export */ Blockly.Msg.CONTROLS_FLOW_STATEMENTS_OPERATOR_BREAK = \"romper el bucle\";\n/** @export */ Blockly.Msg.CONTROLS_FLOW_STATEMENTS_OPERATOR_CONTINUE = \"continuar con la siguiente iteración del bucle\";\n/** @export */ Blockly.Msg.CONTROLS_FLOW_STATEMENTS_TOOLTIP_BREAK = \"Romper el bucle que lo contiene.\";\n/** @export */ Blockly.Msg.CONTROLS_FLOW_STATEMENTS_TOOLTIP_CONTINUE = \"Saltar el resto de este bucle, y continuar con la siguiente iteración.\";\n/** @export */ Blockly.Msg.CONTROLS_FLOW_STATEMENTS_WARNING = \"Atención: este bloque puede usarse solamente dentro de un bucle.\";\n/** @export */ Blockly.Msg.CONTROLS_FOREACH_HELPURL = \"https://es.wikipedia.org/wiki/Foreach\";\n/** @export */ Blockly.Msg.CONTROLS_FOREACH_TITLE = \"para cada elemento %1 en la lista %2\";\n/** @export */ Blockly.Msg.CONTROLS_FOREACH_TOOLTIP = \"Para cada elemento en una lista, establecer la variable '%1' al elemento y luego hacer algunas declaraciones.\";\n/** @export */ Blockly.Msg.CONTROLS_FOR_HELPURL = \"https://github.com/google/blockly/wiki/Loops#count-with\";  // untranslated\n/** @export */ Blockly.Msg.CONTROLS_FOR_TITLE = \"contar con %1 desde %2 hasta %3 de a %4\";\n/** @export */ Blockly.Msg.CONTROLS_FOR_TOOLTIP = \"Hacer que la variable \\\"%1\\\" tome los valores desde el número de inicio hasta el número final, contando con el intervalo especificado, y hacer los bloques especificados.\";\n/** @export */ Blockly.Msg.CONTROLS_IF_ELSEIF_TOOLTIP = \"Agregar una condición a este bloque.\";\n/** @export */ Blockly.Msg.CONTROLS_IF_ELSE_TOOLTIP = \"Agregar una condición general final a este bloque.\";\n/** @export */ Blockly.Msg.CONTROLS_IF_HELPURL = \"https://github.com/google/blockly/wiki/IfElse\";  // untranslated\n/** @export */ Blockly.Msg.CONTROLS_IF_IF_TOOLTIP = \"Agregar, eliminar o reordenar las secciones para reconfigurar este bloque.\";\n/** @export */ Blockly.Msg.CONTROLS_IF_MSG_ELSE = \"sino\";\n/** @export */ Blockly.Msg.CONTROLS_IF_MSG_ELSEIF = \"sino si\";\n/** @export */ Blockly.Msg.CONTROLS_IF_MSG_IF = \"si\";\n/** @export */ Blockly.Msg.CONTROLS_IF_TOOLTIP_1 = \"Si un valor es verdadero, entonces hacer algunas declaraciones.\";\n/** @export */ Blockly.Msg.CONTROLS_IF_TOOLTIP_2 = \"Si un valor es verdadero, entonces hacer el primer bloque de declaraciones.  De lo contrario, hacer el segundo bloque de declaraciones.\";\n/** @export */ Blockly.Msg.CONTROLS_IF_TOOLTIP_3 = \"Si el primer valor es verdadero, entonces hacer el primer bloque de declaraciones. De lo contrario, si el segundo valor es verdadero, hacer el segundo bloque de declaraciones.\";\n/** @export */ Blockly.Msg.CONTROLS_IF_TOOLTIP_4 = \"Si el primer valor es verdadero, entonces hacer el primer bloque de declaraciones. De lo contrario, si el segundo valor es verdadero, hacer el segundo bloque de declaraciones. Si ninguno de los valores son verdaderos, hacer el último bloque de declaraciones.\";\n/** @export */ Blockly.Msg.CONTROLS_REPEAT_HELPURL = \"https://es.wikipedia.org/wiki/Bucle_for\";\n/** @export */ Blockly.Msg.CONTROLS_REPEAT_INPUT_DO = \"hacer\";\n/** @export */ Blockly.Msg.CONTROLS_REPEAT_TITLE = \"repetir %1 veces\";\n/** @export */ Blockly.Msg.CONTROLS_REPEAT_TOOLTIP = \"Hacer algunas declaraciones varias veces.\";\n/** @export */ Blockly.Msg.CONTROLS_WHILEUNTIL_HELPURL = \"https://github.com/google/blockly/wiki/Loops#repeat\";  // untranslated\n/** @export */ Blockly.Msg.CONTROLS_WHILEUNTIL_OPERATOR_UNTIL = \"repetir hasta\";\n/** @export */ Blockly.Msg.CONTROLS_WHILEUNTIL_OPERATOR_WHILE = \"repetir mientras\";\n/** @export */ Blockly.Msg.CONTROLS_WHILEUNTIL_TOOLTIP_UNTIL = \"Mientras un valor sea falso, entonces hacer algunas declaraciones.\";\n/** @export */ Blockly.Msg.CONTROLS_WHILEUNTIL_TOOLTIP_WHILE = \"Mientras un valor sea verdadero, entonces hacer algunas declaraciones.\";\n/** @export */ Blockly.Msg.DELETE_ALL_BLOCKS = \"¿Eliminar todos los %1 bloques?\";\n/** @export */ Blockly.Msg.DELETE_BLOCK = \"Eliminar bloque\";\n/** @export */ Blockly.Msg.DELETE_VARIABLE = \"Borrar la variable \\\"%1\\\"\";\n/** @export */ Blockly.Msg.DELETE_VARIABLE_CONFIRMATION = \"¿Borrar %1 usos de la variable \\\"%2\\\"?\";\n/** @export */ Blockly.Msg.DELETE_X_BLOCKS = \"Eliminar %1 bloques\";\n/** @export */ Blockly.Msg.DISABLE_BLOCK = \"Desactivar bloque\";\n/** @export */ Blockly.Msg.DUPLICATE_BLOCK = \"Duplicar\";\n/** @export */ Blockly.Msg.ENABLE_BLOCK = \"Activar bloque\";\n/** @export */ Blockly.Msg.EXPAND_ALL = \"Expandir bloques\";\n/** @export */ Blockly.Msg.EXPAND_BLOCK = \"Expandir bloque\";\n/** @export */ Blockly.Msg.EXTERNAL_INPUTS = \"Entradas externas\";\n/** @export */ Blockly.Msg.HELP = \"Ayuda\";\n/** @export */ Blockly.Msg.INLINE_INPUTS = \"Entradas en línea\";\n/** @export */ Blockly.Msg.IOS_CANCEL = \"Cancelar\";\n/** @export */ Blockly.Msg.IOS_ERROR = \"Error\";\n/** @export */ Blockly.Msg.IOS_OK = \"Aceptar\";\n/** @export */ Blockly.Msg.IOS_PROCEDURES_ADD_INPUT = \"+ Añadir entrada\";\n/** @export */ Blockly.Msg.IOS_PROCEDURES_ALLOW_STATEMENTS = \"Permitir declaraciones\";\n/** @export */ Blockly.Msg.IOS_PROCEDURES_DUPLICATE_INPUTS_ERROR = \"Esta función tiene entradas duplicadas.\";\n/** @export */ Blockly.Msg.IOS_PROCEDURES_INPUTS = \"ENTRADAS\";\n/** @export */ Blockly.Msg.IOS_VARIABLES_ADD_BUTTON = \"Añadir\";\n/** @export */ Blockly.Msg.IOS_VARIABLES_ADD_VARIABLE = \"+ Añadir variable\";\n/** @export */ Blockly.Msg.IOS_VARIABLES_DELETE_BUTTON = \"Borrar\";\n/** @export */ Blockly.Msg.IOS_VARIABLES_EMPTY_NAME_ERROR = \"No puedes usar un nombre de variable vacío.\";\n/** @export */ Blockly.Msg.IOS_VARIABLES_RENAME_BUTTON = \"Renombrar\";\n/** @export */ Blockly.Msg.IOS_VARIABLES_VARIABLE_NAME = \"Nombre de la variable\";\n/** @export */ Blockly.Msg.LISTS_CREATE_EMPTY_HELPURL = \"https://github.com/google/blockly/wiki/Lists#create-empty-list\";  // untranslated\n/** @export */ Blockly.Msg.LISTS_CREATE_EMPTY_TITLE = \"crear lista vacía\";\n/** @export */ Blockly.Msg.LISTS_CREATE_EMPTY_TOOLTIP = \"Devuelve una lista, de longitud 0, sin ningún dato\";\n/** @export */ Blockly.Msg.LISTS_CREATE_WITH_CONTAINER_TITLE_ADD = \"lista\";\n/** @export */ Blockly.Msg.LISTS_CREATE_WITH_CONTAINER_TOOLTIP = \"Agregar, eliminar o reorganizar las secciones para reconfigurar este bloque de lista.\";\n/** @export */ Blockly.Msg.LISTS_CREATE_WITH_HELPURL = \"https://github.com/google/blockly/wiki/Lists#create-list-with\";\n/** @export */ Blockly.Msg.LISTS_CREATE_WITH_INPUT_WITH = \"crear lista con\";\n/** @export */ Blockly.Msg.LISTS_CREATE_WITH_ITEM_TOOLTIP = \"Agregar un elemento a la lista.\";\n/** @export */ Blockly.Msg.LISTS_CREATE_WITH_TOOLTIP = \"Crear una lista con cualquier número de elementos.\";\n/** @export */ Blockly.Msg.LISTS_GET_INDEX_FIRST = \"primero\";\n/** @export */ Blockly.Msg.LISTS_GET_INDEX_FROM_END = \"# del final\";\n/** @export */ Blockly.Msg.LISTS_GET_INDEX_FROM_START = \"#\";  // untranslated\n/** @export */ Blockly.Msg.LISTS_GET_INDEX_GET = \"obtener\";\n/** @export */ Blockly.Msg.LISTS_GET_INDEX_GET_REMOVE = \"obtener y eliminar\";\n/** @export */ Blockly.Msg.LISTS_GET_INDEX_LAST = \"último\";\n/** @export */ Blockly.Msg.LISTS_GET_INDEX_RANDOM = \"aleatorio\";\n/** @export */ Blockly.Msg.LISTS_GET_INDEX_REMOVE = \"eliminar\";\n/** @export */ Blockly.Msg.LISTS_GET_INDEX_TAIL = \"\";  // untranslated\n/** @export */ Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_FIRST = \"Devuelve el primer elemento de una lista.\";\n/** @export */ Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_FROM = \"Devuelve el elemento en la posición especificada en una lista.\";\n/** @export */ Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_LAST = \"Devuelve el último elemento de una lista.\";\n/** @export */ Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_RANDOM = \"Devuelve un elemento aleatorio en una lista.\";\n/** @export */ Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FIRST = \"Elimina y devuelve el primer elemento de una lista.\";\n/** @export */ Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_FROM = \"Elimina y devuelve el elemento en la posición especificada en una lista.\";\n/** @export */ Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_LAST = \"Elimina y devuelve el último elemento de una lista.\";\n/** @export */ Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_GET_REMOVE_RANDOM = \"Elimina y devuelve un elemento aleatorio en una lista.\";\n/** @export */ Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FIRST = \"Elimina el primer elemento de una lista.\";\n/** @export */ Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_FROM = \"Elimina el elemento en la posición especificada en una lista.\";\n/** @export */ Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_LAST = \"Elimina el último elemento de una lista.\";\n/** @export */ Blockly.Msg.LISTS_GET_INDEX_TOOLTIP_REMOVE_RANDOM = \"Elimina un elemento aleatorio en una lista.\";\n/** @export */ Blockly.Msg.LISTS_GET_SUBLIST_END_FROM_END = \"hasta # del final\";\n/** @export */ Blockly.Msg.LISTS_GET_SUBLIST_END_FROM_START = \"hasta #\";\n/** @export */ Blockly.Msg.LISTS_GET_SUBLIST_END_LAST = \"hasta el último\";\n/** @export */ Blockly.Msg.LISTS_GET_SUBLIST_HELPURL = \"https://github.com/google/blockly/wiki/Lists#getting-a-sublist\";  // untranslated\n/** @export */ Blockly.Msg.LISTS_GET_SUBLIST_START_FIRST = \"obtener sublista desde el primero\";\n/** @export */ Blockly.Msg.LISTS_GET_SUBLIST_START_FROM_END = \"obtener sublista desde # del final\";\n/** @export */ Blockly.Msg.LISTS_GET_SUBLIST_START_FROM_START = \"obtener sublista desde #\";\n/** @export */ Blockly.Msg.LISTS_GET_SUBLIST_TAIL = \"\";  // untranslated\n/** @export */ Blockly.Msg.LISTS_GET_SUBLIST_TOOLTIP = \"Crea una copia de la parte especificada de una lista.\";\n/** @export */ Blockly.Msg.LISTS_INDEX_FROM_END_TOOLTIP = \"%1 es el último elemento.\";\n/** @export */ Blockly.Msg.LISTS_INDEX_FROM_START_TOOLTIP = \"%1 es el primer elemento.\";\n/** @export */ Blockly.Msg.LISTS_INDEX_OF_FIRST = \"encontrar la primera aparición del elemento\";\n/** @export */ Blockly.Msg.LISTS_INDEX_OF_HELPURL = \"https://github.com/google/blockly/wiki/Lists#getting-items-from-a-list\";  // untranslated\n/** @export */ Blockly.Msg.LISTS_INDEX_OF_LAST = \"encontrar la última aparición del elemento\";\n/** @export */ Blockly.Msg.LISTS_INDEX_OF_TOOLTIP = \"Devuelve el índice de la primera/última aparición del elemento en la lista. Devuelve %1 si el elemento no se encuentra.\";\n/** @export */ Blockly.Msg.LISTS_INLIST = \"en la lista\";\n/** @export */ Blockly.Msg.LISTS_ISEMPTY_HELPURL = \"https://github.com/google/blockly/wiki/Lists#is-empty\";  // untranslated\n/** @export */ Blockly.Msg.LISTS_ISEMPTY_TITLE = \"%1 está vacía\";\n/** @export */ Blockly.Msg.LISTS_ISEMPTY_TOOLTIP = \"Devuelve verdadero si la lista está vacía.\";\n/** @export */ Blockly.Msg.LISTS_LENGTH_HELPURL = \"https://github.com/google/blockly/wiki/Lists#length-of\";  // untranslated\n/** @export */ Blockly.Msg.LISTS_LENGTH_TITLE = \"longitud de %1\";\n/** @export */ Blockly.Msg.LISTS_LENGTH_TOOLTIP = \"Devuelve la longitud de una lista.\";\n/** @export */ Blockly.Msg.LISTS_REPEAT_HELPURL = \"https://github.com/google/blockly/wiki/Lists#create-list-with\";  // untranslated\n/** @export */ Blockly.Msg.LISTS_REPEAT_TITLE = \"crear lista con el elemento %1 repetido %2 veces\";\n/** @export */ Blockly.Msg.LISTS_REPEAT_TOOLTIP = \"Crea una lista que consta de un valor dado repetido el número de veces especificado.\";\n/** @export */ Blockly.Msg.LISTS_REVERSE_HELPURL = \"https://github.com/google/blockly/wiki/Lists#reversing-a-list\";\n/** @export */ Blockly.Msg.LISTS_REVERSE_MESSAGE0 = \"invertir %1\";\n/** @export */ Blockly.Msg.LISTS_REVERSE_TOOLTIP = \"Invertir una copia de una lista.\";\n/** @export */ Blockly.Msg.LISTS_SET_INDEX_HELPURL = \"https://github.com/google/blockly/wiki/Lists#in-list--set\";  // untranslated\n/** @export */ Blockly.Msg.LISTS_SET_INDEX_INPUT_TO = \"como\";\n/** @export */ Blockly.Msg.LISTS_SET_INDEX_INSERT = \"insertar en\";\n/** @export */ Blockly.Msg.LISTS_SET_INDEX_SET = \"establecer\";\n/** @export */ Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FIRST = \"Inserta el elemento al inicio de una lista.\";\n/** @export */ Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_FROM = \"Inserta el elemento en la posición especificada en una lista.\";\n/** @export */ Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_LAST = \"Añade el elemento al final de una lista.\";\n/** @export */ Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_INSERT_RANDOM = \"Inserta el elemento aleatoriamente en una lista.\";\n/** @export */ Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_FIRST = \"Establece el primer elemento de una lista.\";\n/** @export */ Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_FROM = \"Establece el elemento en la posición especificada en una lista.\";\n/** @export */ Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_LAST = \"Establece el último elemento de una lista.\";\n/** @export */ Blockly.Msg.LISTS_SET_INDEX_TOOLTIP_SET_RANDOM = \"Establece un elemento aleatorio en una lista.\";\n/** @export */ Blockly.Msg.LISTS_SORT_HELPURL = \"https://github.com/google/blockly/wiki/Lists#sorting-a-list\";\n/** @export */ Blockly.Msg.LISTS_SORT_ORDER_ASCENDING = \"ascendente\";\n/** @export */ Blockly.Msg.LISTS_SORT_ORDER_DESCENDING = \"descendente\";\n/** @export */ Blockly.Msg.LISTS_SORT_TITLE = \"orden %1 %2 %3\";\n/** @export */ Blockly.Msg.LISTS_SORT_TOOLTIP = \"Ordenar una copia de una lista.\";\n/** @export */ Blockly.Msg.LISTS_SORT_TYPE_IGNORECASE = \"alfabético, ignorar mayúscula/minúscula\";\n/** @export */ Blockly.Msg.LISTS_SORT_TYPE_NUMERIC = \"numérico\";\n/** @export */ Blockly.Msg.LISTS_SORT_TYPE_TEXT = \"alfabético\";\n/** @export */ Blockly.Msg.LISTS_SPLIT_HELPURL = \"https://github.com/google/blockly/wiki/Lists#splitting-strings-and-joining-lists\";\n/** @export */ Blockly.Msg.LISTS_SPLIT_LIST_FROM_TEXT = \"hacer lista a partir de texto\";\n/** @export */ Blockly.Msg.LISTS_SPLIT_TEXT_FROM_LIST = \"hacer texto a partir de lista\";\n/** @export */ Blockly.Msg.LISTS_SPLIT_TOOLTIP_JOIN = \"Unir una lista de textos en un solo texto, separado por un delimitador.\";\n/** @export */ Blockly.Msg.LISTS_SPLIT_TOOLTIP_SPLIT = \"Dividir el texto en una lista de textos, separando en cada delimitador.\";\n/** @export */ Blockly.Msg.LISTS_SPLIT_WITH_DELIMITER = \"con delimitador\";\n/** @export */ Blockly.Msg.LOGIC_BOOLEAN_FALSE = \"falso\";\n/** @export */ Blockly.Msg.LOGIC_BOOLEAN_HELPURL = \"https://github.com/google/blockly/wiki/Logic#values\";  // untranslated\n/** @export */ Blockly.Msg.LOGIC_BOOLEAN_TOOLTIP = \"Devuelve verdadero o falso.\";\n/** @export */ Blockly.Msg.LOGIC_BOOLEAN_TRUE = \"verdadero\";\n/** @export */ Blockly.Msg.LOGIC_COMPARE_HELPURL = \"https://es.wikipedia.org/wiki/Desigualdad_matemática\";\n/** @export */ Blockly.Msg.LOGIC_COMPARE_TOOLTIP_EQ = \"Devuelve verdadero si ambas entradas son iguales.\";\n/** @export */ Blockly.Msg.LOGIC_COMPARE_TOOLTIP_GT = \"Devuelve verdadero si la primera entrada es mayor que la segunda entrada.\";\n/** @export */ Blockly.Msg.LOGIC_COMPARE_TOOLTIP_GTE = \"Devuelve verdadero si la primera entrada es mayor o igual a la segunda entrada.\";\n/** @export */ Blockly.Msg.LOGIC_COMPARE_TOOLTIP_LT = \"Devuelve verdadero si la primera entrada es menor que la segunda entrada.\";\n/** @export */ Blockly.Msg.LOGIC_COMPARE_TOOLTIP_LTE = \"Devuelve verdadero si la primera entrada es menor que o igual a la segunda entrada.\";\n/** @export */ Blockly.Msg.LOGIC_COMPARE_TOOLTIP_NEQ = \"Devuelve verdadero si ambas entradas son distintas.\";\n/** @export */ Blockly.Msg.LOGIC_NEGATE_HELPURL = \"https://github.com/google/blockly/wiki/Logic#not\";  // untranslated\n/** @export */ Blockly.Msg.LOGIC_NEGATE_TITLE = \"no %1\";\n/** @export */ Blockly.Msg.LOGIC_NEGATE_TOOLTIP = \"Devuelve verdadero si la entrada es falsa. Devuelve falso si la entrada es verdadera.\";\n/** @export */ Blockly.Msg.LOGIC_NULL = \"nulo\";\n/** @export */ Blockly.Msg.LOGIC_NULL_HELPURL = \"https://en.wikipedia.org/wiki/Nullable_type\";  // untranslated\n/** @export */ Blockly.Msg.LOGIC_NULL_TOOLTIP = \"Devuelve nulo.\";\n/** @export */ Blockly.Msg.LOGIC_OPERATION_AND = \"y\";\n/** @export */ Blockly.Msg.LOGIC_OPERATION_HELPURL = \"https://github.com/google/blockly/wiki/Logic#logical-operations\";  // untranslated\n/** @export */ Blockly.Msg.LOGIC_OPERATION_OR = \"o\";\n/** @export */ Blockly.Msg.LOGIC_OPERATION_TOOLTIP_AND = \"Devuelve verdadero si ambas entradas son verdaderas.\";\n/** @export */ Blockly.Msg.LOGIC_OPERATION_TOOLTIP_OR = \"Devuelve verdadero si al menos una de las entradas es verdadera.\";\n/** @export */ Blockly.Msg.LOGIC_TERNARY_CONDITION = \"prueba\";\n/** @export */ Blockly.Msg.LOGIC_TERNARY_HELPURL = \"https://en.wikipedia.org/wiki/%3F:\";  // untranslated\n/** @export */ Blockly.Msg.LOGIC_TERNARY_IF_FALSE = \"si es falso\";\n/** @export */ Blockly.Msg.LOGIC_TERNARY_IF_TRUE = \"si es verdadero\";\n/** @export */ Blockly.Msg.LOGIC_TERNARY_TOOLTIP = \"Comprueba la condición en \\\"prueba\\\". Si la condición es verdadera, devuelve el valor \\\"si es verdadero\\\"; de lo contrario, devuelve el valor \\\"si es falso\\\".\";\n/** @export */ Blockly.Msg.MATH_ADDITION_SYMBOL = \"+\";  // untranslated\n/** @export */ Blockly.Msg.MATH_ARITHMETIC_HELPURL = \"https://es.wikipedia.org/wiki/Aritmética\";\n/** @export */ Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_ADD = \"Devuelve la suma de ambos números.\";\n/** @export */ Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_DIVIDE = \"Devuelve el cociente de ambos números.\";\n/** @export */ Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_MINUS = \"Devuelve la diferencia de ambos números.\";\n/** @export */ Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_MULTIPLY = \"Devuelve el producto de ambos números.\";\n/** @export */ Blockly.Msg.MATH_ARITHMETIC_TOOLTIP_POWER = \"Devuelve el primer número elevado a la potencia del segundo.\";\n/** @export */ Blockly.Msg.MATH_CHANGE_HELPURL = \"https://en.wikipedia.org/wiki/Programming_idiom#Incrementing_a_counter\";\n/** @export */ Blockly.Msg.MATH_CHANGE_TITLE = \"añadir %2 a %1\";\n/** @export */ Blockly.Msg.MATH_CHANGE_TOOLTIP = \"Añadir un número a la variable «%1».\";\n/** @export */ Blockly.Msg.MATH_CONSTANT_HELPURL = \"https://es.wikipedia.org/wiki/Anexo:Constantes_matemáticas\";\n/** @export */ Blockly.Msg.MATH_CONSTANT_TOOLTIP = \"Devuelve una de las constantes comunes: π (3.141…), e (2.718…), φ (1.618…), sqrt(2) (1.414…), sqrt(½) (0.707…) o ∞ (infinito).\";\n/** @export */ Blockly.Msg.MATH_CONSTRAIN_HELPURL = \"https://en.wikipedia.org/wiki/Clamping_(graphics)\";  // untranslated\n/** @export */ Blockly.Msg.MATH_CONSTRAIN_TITLE = \"limitar %1 entre %2 y %3\";\n/** @export */ Blockly.Msg.MATH_CONSTRAIN_TOOLTIP = \"Limitar un número entre los límites especificados (inclusive).\";\n/** @export */ Blockly.Msg.MATH_DIVISION_SYMBOL = \"÷\";  // untranslated\n/** @export */ Blockly.Msg.MATH_IS_DIVISIBLE_BY = \"es divisible por\";\n/** @export */ Blockly.Msg.MATH_IS_EVEN = \"es par\";\n/** @export */ Blockly.Msg.MATH_IS_NEGATIVE = \"es negativo\";\n/** @export */ Blockly.Msg.MATH_IS_ODD = \"es impar\";\n/** @export */ Blockly.Msg.MATH_IS_POSITIVE = \"es positivo\";\n/** @export */ Blockly.Msg.MATH_IS_PRIME = \"es primo\";\n/** @export */ Blockly.Msg.MATH_IS_TOOLTIP = \"Comprueba si un número es par, impar, primo, entero, positivo, negativo, o si es divisible por un número determinado. Devuelve verdadero o falso.\";\n/** @export */ Blockly.Msg.MATH_IS_WHOLE = \"es entero\";\n/** @export */ Blockly.Msg.MATH_MODULO_HELPURL = \"https://en.wikipedia.org/wiki/Modulo_operation\";\n/** @export */ Blockly.Msg.MATH_MODULO_TITLE = \"resto de %1 ÷ %2\";\n/** @export */ Blockly.Msg.MATH_MODULO_TOOLTIP = \"Devuelve el resto al dividir los dos números.\";\n/** @export */ Blockly.Msg.MATH_MULTIPLICATION_SYMBOL = \"×\";  // untranslated\n/** @export */ Blockly.Msg.MATH_NUMBER_HELPURL = \"https://es.wikipedia.org/wiki/Número\";\n/** @export */ Blockly.Msg.MATH_NUMBER_TOOLTIP = \"Un número.\";\n/** @export */ Blockly.Msg.MATH_ONLIST_HELPURL = \"\";  // untranslated\n/** @export */ Blockly.Msg.MATH_ONLIST_OPERATOR_AVERAGE = \"promedio de la lista\";\n/** @export */ Blockly.Msg.MATH_ONLIST_OPERATOR_MAX = \"máximo de la lista\";\n/** @export */ Blockly.Msg.MATH_ONLIST_OPERATOR_MEDIAN = \"mediana de la lista\";\n/** @export */ Blockly.Msg.MATH_ONLIST_OPERATOR_MIN = \"mínimo de la lista\";\n/** @export */ Blockly.Msg.MATH_ONLIST_OPERATOR_MODE = \"modas de la lista\";\n/** @export */ Blockly.Msg.MATH_ONLIST_OPERATOR_RANDOM = \"elemento aleatorio de la lista\";\n/** @export */ Blockly.Msg.MATH_ONLIST_OPERATOR_STD_DEV = \"desviación estándar de la lista\";\n/** @export */ Blockly.Msg.MATH_ONLIST_OPERATOR_SUM = \"suma de la lista\";\n/** @export */ Blockly.Msg.MATH_ONLIST_TOOLTIP_AVERAGE = \"Devuelve el promedio (media aritmética) de los valores numéricos en la lista.\";\n/** @export */ Blockly.Msg.MATH_ONLIST_TOOLTIP_MAX = \"Devuelve el número más grande en la lista.\";\n/** @export */ Blockly.Msg.MATH_ONLIST_TOOLTIP_MEDIAN = \"Devuelve la mediana en la lista.\";\n/** @export */ Blockly.Msg.MATH_ONLIST_TOOLTIP_MIN = \"Devuelve el número más pequeño en la lista.\";\n/** @export */ Blockly.Msg.MATH_ONLIST_TOOLTIP_MODE = \"Devuelve una lista de los elementos más comunes en la lista.\";\n/** @export */ Blockly.Msg.MATH_ONLIST_TOOLTIP_RANDOM = \"Devuelve un elemento aleatorio de la lista.\";\n/** @export */ Blockly.Msg.MATH_ONLIST_TOOLTIP_STD_DEV = \"Devuelve la desviación estándar de la lista.\";\n/** @export */ Blockly.Msg.MATH_ONLIST_TOOLTIP_SUM = \"Devuelve la suma de todos los números en la lista.\";\n/** @export */ Blockly.Msg.MATH_POWER_SYMBOL = \"^\";  // untranslated\n/** @export */ Blockly.Msg.MATH_RANDOM_FLOAT_HELPURL = \"https://es.wikipedia.org/wiki/Generador_de_números_aleatorios\";\n/** @export */ Blockly.Msg.MATH_RANDOM_FLOAT_TITLE_RANDOM = \"fracción aleatoria\";\n/** @export */ Blockly.Msg.MATH_RANDOM_FLOAT_TOOLTIP = \"Devuelve una fracción aleatoria entre 0,0 (ambos inclusive) y 1.0 (exclusivo).\";\n/** @export */ Blockly.Msg.MATH_RANDOM_INT_HELPURL = \"https://es.wikipedia.org/wiki/Generador_de_números_aleatorios\";\n/** @export */ Blockly.Msg.MATH_RANDOM_INT_TITLE = \"entero aleatorio de %1 a %2\";\n/** @export */ Blockly.Msg.MATH_RANDOM_INT_TOOLTIP = \"Devuelve un entero aleatorio entre los dos límites especificados, inclusive.\";\n/** @export */ Blockly.Msg.MATH_ROUND_HELPURL = \"https://es.wikipedia.org/wiki/Redondeo\";\n/** @export */ Blockly.Msg.MATH_ROUND_OPERATOR_ROUND = \"redondear\";\n/** @export */ Blockly.Msg.MATH_ROUND_OPERATOR_ROUNDDOWN = \"redondear a la baja\";\n/** @export */ Blockly.Msg.MATH_ROUND_OPERATOR_ROUNDUP = \"redondear al alza\";\n/** @export */ Blockly.Msg.MATH_ROUND_TOOLTIP = \"Redondear un número al alza o a la baja.\";\n/** @export */ Blockly.Msg.MATH_SINGLE_HELPURL = \"https://es.wikipedia.org/wiki/Ra%C3%ADz_cuadrada\";\n/** @export */ Blockly.Msg.MATH_SINGLE_OP_ABSOLUTE = \"absoluto\";\n/** @export */ Blockly.Msg.MATH_SINGLE_OP_ROOT = \"raíz cuadrada\";\n/** @export */ Blockly.Msg.MATH_SINGLE_TOOLTIP_ABS = \"Devuelve el valor absoluto de un número.\";\n/** @export */ Blockly.Msg.MATH_SINGLE_TOOLTIP_EXP = \"Devuelve e a la potencia de un número.\";\n/** @export */ Blockly.Msg.MATH_SINGLE_TOOLTIP_LN = \"Devuelve el logaritmo natural de un número.\";\n/** @export */ Blockly.Msg.MATH_SINGLE_TOOLTIP_LOG10 = \"Devuelve el logaritmo base 10 de un número.\";\n/** @export */ Blockly.Msg.MATH_SINGLE_TOOLTIP_NEG = \"Devuelve la negación de un número.\";\n/** @export */ Blockly.Msg.MATH_SINGLE_TOOLTIP_POW10 = \"Devuelve 10 a la potencia de un número.\";\n/** @export */ Blockly.Msg.MATH_SINGLE_TOOLTIP_ROOT = \"Devuelve la raíz cuadrada de un número.\";\n/** @export */ Blockly.Msg.MATH_SUBTRACTION_SYMBOL = \"-\";  // untranslated\n/** @export */ Blockly.Msg.MATH_TRIG_ACOS = \"acos\";  // untranslated\n/** @export */ Blockly.Msg.MATH_TRIG_ASIN = \"asin\";  // untranslated\n/** @export */ Blockly.Msg.MATH_TRIG_ATAN = \"atan\";  // untranslated\n/** @export */ Blockly.Msg.MATH_TRIG_COS = \"cos\";  // untranslated\n/** @export */ Blockly.Msg.MATH_TRIG_HELPURL = \"https://es.wikipedia.org/wiki/Función_trigonométrica\";\n/** @export */ Blockly.Msg.MATH_TRIG_SIN = \"sin\";  // untranslated\n/** @export */ Blockly.Msg.MATH_TRIG_TAN = \"tan\";  // untranslated\n/** @export */ Blockly.Msg.MATH_TRIG_TOOLTIP_ACOS = \"Devuelve el arcocoseno de un número.\";\n/** @export */ Blockly.Msg.MATH_TRIG_TOOLTIP_ASIN = \"Devuelve el arcoseno de un número.\";\n/** @export */ Blockly.Msg.MATH_TRIG_TOOLTIP_ATAN = \"Devuelve el arcotangente de un número.\";\n/** @export */ Blockly.Msg.MATH_TRIG_TOOLTIP_COS = \"Devuelve el coseno de un grado (no radián).\";\n/** @export */ Blockly.Msg.MATH_TRIG_TOOLTIP_SIN = \"Devuelve el seno de un grado (no radián).\";\n/** @export */ Blockly.Msg.MATH_TRIG_TOOLTIP_TAN = \"Devuelve la tangente de un grado (no radián).\";\n/** @export */ Blockly.Msg.NEW_VARIABLE = \"Crear variable…\";\n/** @export */ Blockly.Msg.NEW_VARIABLE_TITLE = \"Nombre de variable nueva:\";\n/** @export */ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = \"\";  // untranslated\n/** @export */ Blockly.Msg.PROCEDURES_ALLOW_STATEMENTS = \"permitir declaraciones\";\n/** @export */ Blockly.Msg.PROCEDURES_BEFORE_PARAMS = \"con:\";\n/** @export */ Blockly.Msg.PROCEDURES_CALLNORETURN_HELPURL = \"https://es.wikipedia.org/wiki/Subrutina\";\n/** @export */ Blockly.Msg.PROCEDURES_CALLNORETURN_TOOLTIP = \"Ejecuta la función definida por el usuario '%1'.\";\n/** @export */ Blockly.Msg.PROCEDURES_CALLRETURN_HELPURL = \"https://es.wikipedia.org/wiki/Subrutina\";\n/** @export */ Blockly.Msg.PROCEDURES_CALLRETURN_TOOLTIP = \"Ejecuta la función definida por el usuario '%1' y usa su salida.\";\n/** @export */ Blockly.Msg.PROCEDURES_CALL_BEFORE_PARAMS = \"con:\";\n/** @export */ Blockly.Msg.PROCEDURES_CREATE_DO = \"Crear '%1'\";\n/** @export */ Blockly.Msg.PROCEDURES_DEFNORETURN_COMMENT = \"Describe esta función...\";\n/** @export */ Blockly.Msg.PROCEDURES_DEFNORETURN_DO = \"\";  // untranslated\n/** @export */ Blockly.Msg.PROCEDURES_DEFNORETURN_HELPURL = \"https://en.wikipedia.org/wiki/Subroutine\";  // untranslated\n/** @export */ Blockly.Msg.PROCEDURES_DEFNORETURN_PROCEDURE = \"hacer algo\";\n/** @export */ Blockly.Msg.PROCEDURES_DEFNORETURN_TITLE = \"para\";\n/** @export */ Blockly.Msg.PROCEDURES_DEFNORETURN_TOOLTIP = \"Crea una función sin salida.\";\n/** @export */ Blockly.Msg.PROCEDURES_DEFRETURN_HELPURL = \"https://en.wikipedia.org/wiki/Subroutine\";  // untranslated\n/** @export */ Blockly.Msg.PROCEDURES_DEFRETURN_RETURN = \"devuelve\";\n/** @export */ Blockly.Msg.PROCEDURES_DEFRETURN_TOOLTIP = \"Crea una función con una salida.\";\n/** @export */ Blockly.Msg.PROCEDURES_DEF_DUPLICATE_WARNING = \"Advertencia: Esta función tiene parámetros duplicados.\";\n/** @export */ Blockly.Msg.PROCEDURES_HIGHLIGHT_DEF = \"Destacar definición de la función\";\n/** @export */ Blockly.Msg.PROCEDURES_IFRETURN_HELPURL = \"http://c2.com/cgi/wiki?GuardClause\";  // untranslated\n/** @export */ Blockly.Msg.PROCEDURES_IFRETURN_TOOLTIP = \"Si un valor es verdadero, entonces devuelve un segundo valor.\";\n/** @export */ Blockly.Msg.PROCEDURES_IFRETURN_WARNING = \"Advertencia: Este bloque solo puede ser utilizado dentro de la definición de una función.\";\n/** @export */ Blockly.Msg.PROCEDURES_MUTATORARG_TITLE = \"nombre de entrada:\";\n/** @export */ Blockly.Msg.PROCEDURES_MUTATORARG_TOOLTIP = \"Añadir una entrada a la función.\";\n/** @export */ Blockly.Msg.PROCEDURES_MUTATORCONTAINER_TITLE = \"entradas\";\n/** @export */ Blockly.Msg.PROCEDURES_MUTATORCONTAINER_TOOLTIP = \"Añadir, eliminar o reordenar entradas para esta función.\";\n/** @export */ Blockly.Msg.PROCEDURE_ALREADY_EXISTS = \"Ya existe un procedimiento llamado \\\"%1\\\".\";\n/** @export */ Blockly.Msg.REDO = \"Rehacer\";\n/** @export */ Blockly.Msg.REMOVE_COMMENT = \"Eliminar comentario\";\n/** @export */ Blockly.Msg.RENAME_VARIABLE = \"Renombrar la variable…\";\n/** @export */ Blockly.Msg.RENAME_VARIABLE_TITLE = \"Renombrar todas las variables «%1» a:\";\n/** @export */ Blockly.Msg.TEXT_APPEND_HELPURL = \"https://github.com/google/blockly/wiki/Text#text-modification\";  // untranslated\n/** @export */ Blockly.Msg.TEXT_APPEND_TITLE = \"a %1 añade el texto %2\";\n/** @export */ Blockly.Msg.TEXT_APPEND_TOOLTIP = \"Añadir texto a la variable '%1'.\";\n/** @export */ Blockly.Msg.TEXT_CHANGECASE_HELPURL = \"https://github.com/google/blockly/wiki/Text#adjusting-text-case\";  // untranslated\n/** @export */ Blockly.Msg.TEXT_CHANGECASE_OPERATOR_LOWERCASE = \"a minúsculas\";\n/** @export */ Blockly.Msg.TEXT_CHANGECASE_OPERATOR_TITLECASE = \"a Mayúsculas Cada Palabra\";\n/** @export */ Blockly.Msg.TEXT_CHANGECASE_OPERATOR_UPPERCASE = \"a MAYÚSCULAS\";\n/** @export */ Blockly.Msg.TEXT_CHANGECASE_TOOLTIP = \"Devuelve una copia del texto en un tamaño diferente.\";\n/** @export */ Blockly.Msg.TEXT_CHARAT_FIRST = \"obtener la primera letra\";\n/** @export */ Blockly.Msg.TEXT_CHARAT_FROM_END = \"obtener la letra # del final\";\n/** @export */ Blockly.Msg.TEXT_CHARAT_FROM_START = \"obtener la letra #\";\n/** @export */ Blockly.Msg.TEXT_CHARAT_HELPURL = \"https://github.com/google/blockly/wiki/Text#extracting-text\";  // untranslated\n/** @export */ Blockly.Msg.TEXT_CHARAT_LAST = \"obtener la última letra\";\n/** @export */ Blockly.Msg.TEXT_CHARAT_RANDOM = \"obtener letra aleatoria\";\n/** @export */ Blockly.Msg.TEXT_CHARAT_TAIL = \"\";  // untranslated\n/** @export */ Blockly.Msg.TEXT_CHARAT_TITLE = \"en el texto %1 %2\";\n/** @export */ Blockly.Msg.TEXT_CHARAT_TOOLTIP = \"Devuelve la letra en la posición especificada.\";\n/** @export */ Blockly.Msg.TEXT_COUNT_HELPURL = \"https://github.com/google/blockly/wiki/Text#counting-substrings\";\n/** @export */ Blockly.Msg.TEXT_COUNT_MESSAGE0 = \"contar %1 en %2\";\n/** @export */ Blockly.Msg.TEXT_COUNT_TOOLTIP = \"Cuantas veces aparece un texto dentro de otro texto.\";\n/** @export */ Blockly.Msg.TEXT_CREATE_JOIN_ITEM_TOOLTIP = \"Agregar un elemento al texto.\";\n/** @export */ Blockly.Msg.TEXT_CREATE_JOIN_TITLE_JOIN = \"unir\";\n/** @export */ Blockly.Msg.TEXT_CREATE_JOIN_TOOLTIP = \"Agregar, eliminar o reordenar las secciones para reconfigurar este bloque de texto.\";\n/** @export */ Blockly.Msg.TEXT_GET_SUBSTRING_END_FROM_END = \"hasta la letra # del final\";\n/** @export */ Blockly.Msg.TEXT_GET_SUBSTRING_END_FROM_START = \"hasta la letra #\";\n/** @export */ Blockly.Msg.TEXT_GET_SUBSTRING_END_LAST = \"hasta la última letra\";\n/** @export */ Blockly.Msg.TEXT_GET_SUBSTRING_HELPURL = \"https://github.com/google/blockly/wiki/Text#extracting-a-region-of-text\";  // untranslated\n/** @export */ Blockly.Msg.TEXT_GET_SUBSTRING_INPUT_IN_TEXT = \"en el texto\";\n/** @export */ Blockly.Msg.TEXT_GET_SUBSTRING_START_FIRST = \"obtener subcadena desde la primera letra\";\n/** @export */ Blockly.Msg.TEXT_GET_SUBSTRING_START_FROM_END = \"obtener subcadena desde la letra # del final\";\n/** @export */ Blockly.Msg.TEXT_GET_SUBSTRING_START_FROM_START = \"obtener subcadena desde la letra #\";\n/** @export */ Blockly.Msg.TEXT_GET_SUBSTRING_TAIL = \"\";  // untranslated\n/** @export */ Blockly.Msg.TEXT_GET_SUBSTRING_TOOLTIP = \"Devuelve una porción determinada del texto.\";\n/** @export */ Blockly.Msg.TEXT_INDEXOF_HELPURL = \"https://github.com/google/blockly/wiki/Text#finding-text\";  // untranslated\n/** @export */ Blockly.Msg.TEXT_INDEXOF_OPERATOR_FIRST = \"encontrar la primera aparición del texto\";\n/** @export */ Blockly.Msg.TEXT_INDEXOF_OPERATOR_LAST = \"encontrar la última aparición del texto\";\n/** @export */ Blockly.Msg.TEXT_INDEXOF_TITLE = \"en el texto %1 %2 %3\";\n/** @export */ Blockly.Msg.TEXT_INDEXOF_TOOLTIP = \"Devuelve el índice de la primera/última aparición del primer texto en el segundo texto. Devuelve %1 si el texto no se encuentra.\";\n/** @export */ Blockly.Msg.TEXT_ISEMPTY_HELPURL = \"https://github.com/google/blockly/wiki/Text#checking-for-empty-text\";  // untranslated\n/** @export */ Blockly.Msg.TEXT_ISEMPTY_TITLE = \"%1 está vacío\";\n/** @export */ Blockly.Msg.TEXT_ISEMPTY_TOOLTIP = \"Devuelve verdadero si el texto proporcionado está vacío.\";\n/** @export */ Blockly.Msg.TEXT_JOIN_HELPURL = \"https://github.com/google/blockly/wiki/Text#text-creation\";  // untranslated\n/** @export */ Blockly.Msg.TEXT_JOIN_TITLE_CREATEWITH = \"crear texto con\";\n/** @export */ Blockly.Msg.TEXT_JOIN_TOOLTIP = \"Crear un fragmento de texto al unir cualquier número de elementos.\";\n/** @export */ Blockly.Msg.TEXT_LENGTH_HELPURL = \"https://github.com/google/blockly/wiki/Text#text-modification\";  // untranslated\n/** @export */ Blockly.Msg.TEXT_LENGTH_TITLE = \"longitud de %1\";\n/** @export */ Blockly.Msg.TEXT_LENGTH_TOOLTIP = \"Devuelve el número de letras (espacios incluidos) del texto proporcionado.\";\n/** @export */ Blockly.Msg.TEXT_PRINT_HELPURL = \"https://github.com/google/blockly/wiki/Text#printing-text\";  // untranslated\n/** @export */ Blockly.Msg.TEXT_PRINT_TITLE = \"imprimir %1\";\n/** @export */ Blockly.Msg.TEXT_PRINT_TOOLTIP = \"Imprimir el texto, número u otro valor especificado.\";\n/** @export */ Blockly.Msg.TEXT_PROMPT_HELPURL = \"https://github.com/google/blockly/wiki/Text#getting-input-from-the-user\";  // untranslated\n/** @export */ Blockly.Msg.TEXT_PROMPT_TOOLTIP_NUMBER = \"Solicitar al usuario un número.\";\n/** @export */ Blockly.Msg.TEXT_PROMPT_TOOLTIP_TEXT = \"Solicitar al usuario un texto.\";\n/** @export */ Blockly.Msg.TEXT_PROMPT_TYPE_NUMBER = \"solicitar número con el mensaje\";\n/** @export */ Blockly.Msg.TEXT_PROMPT_TYPE_TEXT = \"solicitar texto con el mensaje\";\n/** @export */ Blockly.Msg.TEXT_REPLACE_HELPURL = \"https://github.com/google/blockly/wiki/Text#replacing-substrings\";\n/** @export */ Blockly.Msg.TEXT_REPLACE_MESSAGE0 = \"reemplazar %1 con %2 en %3\";\n/** @export */ Blockly.Msg.TEXT_REPLACE_TOOLTIP = \"Reemplazar todas las veces que un texto dentro de otro texto.\";\n/** @export */ Blockly.Msg.TEXT_REVERSE_HELPURL = \"https://github.com/google/blockly/wiki/Text#reversing-text\";\n/** @export */ Blockly.Msg.TEXT_REVERSE_MESSAGE0 = \"invertir %1\";\n/** @export */ Blockly.Msg.TEXT_REVERSE_TOOLTIP = \"Invierte el orden de los caracteres en el texto.\";\n/** @export */ Blockly.Msg.TEXT_TEXT_HELPURL = \"https://es.wikipedia.org/wiki/Cadena_de_caracteres\";\n/** @export */ Blockly.Msg.TEXT_TEXT_TOOLTIP = \"Una letra, palabra o línea de texto.\";\n/** @export */ Blockly.Msg.TEXT_TRIM_HELPURL = \"https://github.com/google/blockly/wiki/Text#trimming-removing-spaces\";  // untranslated\n/** @export */ Blockly.Msg.TEXT_TRIM_OPERATOR_BOTH = \"quitar espacios de ambos lados de\";\n/** @export */ Blockly.Msg.TEXT_TRIM_OPERATOR_LEFT = \"quitar espacios iniciales de\";\n/** @export */ Blockly.Msg.TEXT_TRIM_OPERATOR_RIGHT = \"quitar espacios finales de\";\n/** @export */ Blockly.Msg.TEXT_TRIM_TOOLTIP = \"Devuelve una copia del texto sin los espacios de uno o ambos extremos.\";\n/** @export */ Blockly.Msg.TODAY = \"Hoy\";\n/** @export */ Blockly.Msg.UNDO = \"Deshacer\";\n/** @export */ Blockly.Msg.VARIABLES_DEFAULT_NAME = \"elemento\";\n/** @export */ Blockly.Msg.VARIABLES_GET_CREATE_SET = \"Crear 'establecer %1'\";\n/** @export */ Blockly.Msg.VARIABLES_GET_HELPURL = \"https://github.com/google/blockly/wiki/Variables#get\";  // untranslated\n/** @export */ Blockly.Msg.VARIABLES_GET_TOOLTIP = \"Devuelve el valor de esta variable.\";\n/** @export */ Blockly.Msg.VARIABLES_SET = \"establecer %1 a %2\";\n/** @export */ Blockly.Msg.VARIABLES_SET_CREATE_GET = \"Crear 'obtener %1'\";\n/** @export */ Blockly.Msg.VARIABLES_SET_HELPURL = \"https://github.com/google/blockly/wiki/Variables#set\";  // untranslated\n/** @export */ Blockly.Msg.VARIABLES_SET_TOOLTIP = \"Establece esta variable para que sea igual a la entrada.\";\n/** @export */ Blockly.Msg.VARIABLE_ALREADY_EXISTS = \"Ya existe una variable llamada \\\"%1\\\".\";\n/** @export */ Blockly.Msg.VARIABLE_ALREADY_EXISTS_FOR_ANOTHER_TYPE = \"Ya existe una variable nombrada \\\"%1\\\" para otra variable del tipo \\\"%2\\\".\";\n/** @export */ Blockly.Msg.PROCEDURES_DEFRETURN_TITLE = Blockly.Msg.PROCEDURES_DEFNORETURN_TITLE;\n/** @export */ Blockly.Msg.CONTROLS_IF_IF_TITLE_IF = Blockly.Msg.CONTROLS_IF_MSG_IF;\n/** @export */ Blockly.Msg.CONTROLS_WHILEUNTIL_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO;\n/** @export */ Blockly.Msg.CONTROLS_IF_MSG_THEN = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO;\n/** @export */ Blockly.Msg.CONTROLS_IF_ELSE_TITLE_ELSE = Blockly.Msg.CONTROLS_IF_MSG_ELSE;\n/** @export */ Blockly.Msg.PROCEDURES_DEFRETURN_PROCEDURE = Blockly.Msg.PROCEDURES_DEFNORETURN_PROCEDURE;\n/** @export */ Blockly.Msg.LISTS_GET_SUBLIST_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST;\n/** @export */ Blockly.Msg.LISTS_GET_INDEX_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST;\n/** @export */ Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME;\n/** @export */ Blockly.Msg.PROCEDURES_DEFRETURN_DO = Blockly.Msg.PROCEDURES_DEFNORETURN_DO;\n/** @export */ Blockly.Msg.CONTROLS_IF_ELSEIF_TITLE_ELSEIF = Blockly.Msg.CONTROLS_IF_MSG_ELSEIF;\n/** @export */ Blockly.Msg.LISTS_GET_INDEX_HELPURL = Blockly.Msg.LISTS_INDEX_OF_HELPURL;\n/** @export */ Blockly.Msg.CONTROLS_FOREACH_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO;\n/** @export */ Blockly.Msg.LISTS_SET_INDEX_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST;\n/** @export */ Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO;\n/** @export */ Blockly.Msg.LISTS_CREATE_WITH_ITEM_TITLE = Blockly.Msg.VARIABLES_DEFAULT_NAME;\n/** @export */ Blockly.Msg.TEXT_APPEND_VARIABLE = Blockly.Msg.VARIABLES_DEFAULT_NAME;\n/** @export */ Blockly.Msg.TEXT_CREATE_JOIN_ITEM_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME;\n/** @export */ Blockly.Msg.LISTS_INDEX_OF_INPUT_IN_LIST = Blockly.Msg.LISTS_INLIST;\n/** @export */ Blockly.Msg.PROCEDURES_DEFRETURN_COMMENT = Blockly.Msg.PROCEDURES_DEFNORETURN_COMMENT;\n\n/** @export */ Blockly.Msg.MATH_HUE = \"230\";\n/** @export */ Blockly.Msg.LOOPS_HUE = \"120\";\n/** @export */ Blockly.Msg.LISTS_HUE = \"260\";\n/** @export */ Blockly.Msg.LOGIC_HUE = \"210\";\n/** @export */ Blockly.Msg.VARIABLES_HUE = \"330\";\n/** @export */ Blockly.Msg.TEXTS_HUE = \"160\";\n/** @export */ Blockly.Msg.PROCEDURES_HUE = \"290\";\n/** @export */ Blockly.Msg.COLOUR_HUE = \"20\";","// Do not edit this file; automatically generated by build.py.\n'use strict';\n\n\nBlockly.JavaScript=new Blockly.Generator(\"JavaScript\");Blockly.JavaScript.addReservedWords(\"Blockly,break,case,catch,continue,debugger,default,delete,do,else,finally,for,function,if,in,instanceof,new,return,switch,this,throw,try,typeof,var,void,while,with,class,enum,export,extends,import,super,implements,interface,let,package,private,protected,public,static,yield,const,null,true,false,Array,ArrayBuffer,Boolean,Date,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Error,eval,EvalError,Float32Array,Float64Array,Function,Infinity,Int16Array,Int32Array,Int8Array,isFinite,isNaN,Iterator,JSON,Math,NaN,Number,Object,parseFloat,parseInt,RangeError,ReferenceError,RegExp,StopIteration,String,SyntaxError,TypeError,Uint16Array,Uint32Array,Uint8Array,Uint8ClampedArray,undefined,uneval,URIError,applicationCache,closed,Components,content,_content,controllers,crypto,defaultStatus,dialogArguments,directories,document,frameElement,frames,fullScreen,globalStorage,history,innerHeight,innerWidth,length,location,locationbar,localStorage,menubar,messageManager,mozAnimationStartTime,mozInnerScreenX,mozInnerScreenY,mozPaintCount,name,navigator,opener,outerHeight,outerWidth,pageXOffset,pageYOffset,parent,performance,personalbar,pkcs11,returnValue,screen,screenX,screenY,scrollbars,scrollMaxX,scrollMaxY,scrollX,scrollY,self,sessionStorage,sidebar,status,statusbar,toolbar,top,URL,window,addEventListener,alert,atob,back,blur,btoa,captureEvents,clearImmediate,clearInterval,clearTimeout,close,confirm,disableExternalCapture,dispatchEvent,dump,enableExternalCapture,escape,find,focus,forward,GeckoActiveXObject,getAttention,getAttentionWithCycleCount,getComputedStyle,getSelection,home,matchMedia,maximize,minimize,moveBy,moveTo,mozRequestAnimationFrame,open,openDialog,postMessage,print,prompt,QueryInterface,releaseEvents,removeEventListener,resizeBy,resizeTo,restore,routeEvent,scroll,scrollBy,scrollByLines,scrollByPages,scrollTo,setCursor,setImmediate,setInterval,setResizable,setTimeout,showModalDialog,sizeToContent,stop,unescape,updateCommands,XPCNativeWrapper,XPCSafeJSObjectWrapper,onabort,onbeforeunload,onblur,onchange,onclick,onclose,oncontextmenu,ondevicemotion,ondeviceorientation,ondragdrop,onerror,onfocus,onhashchange,onkeydown,onkeypress,onkeyup,onload,onmousedown,onmousemove,onmouseout,onmouseover,onmouseup,onmozbeforepaint,onpaint,onpopstate,onreset,onresize,onscroll,onselect,onsubmit,onunload,onpageshow,onpagehide,Image,Option,Worker,Event,Range,File,FileReader,Blob,BlobBuilder,Attr,CDATASection,CharacterData,Comment,console,DocumentFragment,DocumentType,DomConfiguration,DOMError,DOMErrorHandler,DOMException,DOMImplementation,DOMImplementationList,DOMImplementationRegistry,DOMImplementationSource,DOMLocator,DOMObject,DOMString,DOMStringList,DOMTimeStamp,DOMUserData,Entity,EntityReference,MediaQueryList,MediaQueryListListener,NameList,NamedNodeMap,Node,NodeFilter,NodeIterator,NodeList,Notation,Plugin,PluginArray,ProcessingInstruction,SharedWorker,Text,TimeRanges,Treewalker,TypeInfo,UserDataHandler,Worker,WorkerGlobalScope,HTMLDocument,HTMLElement,HTMLAnchorElement,HTMLAppletElement,HTMLAudioElement,HTMLAreaElement,HTMLBaseElement,HTMLBaseFontElement,HTMLBodyElement,HTMLBRElement,HTMLButtonElement,HTMLCanvasElement,HTMLDirectoryElement,HTMLDivElement,HTMLDListElement,HTMLEmbedElement,HTMLFieldSetElement,HTMLFontElement,HTMLFormElement,HTMLFrameElement,HTMLFrameSetElement,HTMLHeadElement,HTMLHeadingElement,HTMLHtmlElement,HTMLHRElement,HTMLIFrameElement,HTMLImageElement,HTMLInputElement,HTMLKeygenElement,HTMLLabelElement,HTMLLIElement,HTMLLinkElement,HTMLMapElement,HTMLMenuElement,HTMLMetaElement,HTMLModElement,HTMLObjectElement,HTMLOListElement,HTMLOptGroupElement,HTMLOptionElement,HTMLOutputElement,HTMLParagraphElement,HTMLParamElement,HTMLPreElement,HTMLQuoteElement,HTMLScriptElement,HTMLSelectElement,HTMLSourceElement,HTMLSpanElement,HTMLStyleElement,HTMLTableElement,HTMLTableCaptionElement,HTMLTableCellElement,HTMLTableDataCellElement,HTMLTableHeaderCellElement,HTMLTableColElement,HTMLTableRowElement,HTMLTableSectionElement,HTMLTextAreaElement,HTMLTimeElement,HTMLTitleElement,HTMLTrackElement,HTMLUListElement,HTMLUnknownElement,HTMLVideoElement,HTMLCanvasElement,CanvasRenderingContext2D,CanvasGradient,CanvasPattern,TextMetrics,ImageData,CanvasPixelArray,HTMLAudioElement,HTMLVideoElement,NotifyAudioAvailableEvent,HTMLCollection,HTMLAllCollection,HTMLFormControlsCollection,HTMLOptionsCollection,HTMLPropertiesCollection,DOMTokenList,DOMSettableTokenList,DOMStringMap,RadioNodeList,SVGDocument,SVGElement,SVGAElement,SVGAltGlyphElement,SVGAltGlyphDefElement,SVGAltGlyphItemElement,SVGAnimationElement,SVGAnimateElement,SVGAnimateColorElement,SVGAnimateMotionElement,SVGAnimateTransformElement,SVGSetElement,SVGCircleElement,SVGClipPathElement,SVGColorProfileElement,SVGCursorElement,SVGDefsElement,SVGDescElement,SVGEllipseElement,SVGFilterElement,SVGFilterPrimitiveStandardAttributes,SVGFEBlendElement,SVGFEColorMatrixElement,SVGFEComponentTransferElement,SVGFECompositeElement,SVGFEConvolveMatrixElement,SVGFEDiffuseLightingElement,SVGFEDisplacementMapElement,SVGFEDistantLightElement,SVGFEFloodElement,SVGFEGaussianBlurElement,SVGFEImageElement,SVGFEMergeElement,SVGFEMergeNodeElement,SVGFEMorphologyElement,SVGFEOffsetElement,SVGFEPointLightElement,SVGFESpecularLightingElement,SVGFESpotLightElement,SVGFETileElement,SVGFETurbulenceElement,SVGComponentTransferFunctionElement,SVGFEFuncRElement,SVGFEFuncGElement,SVGFEFuncBElement,SVGFEFuncAElement,SVGFontElement,SVGFontFaceElement,SVGFontFaceFormatElement,SVGFontFaceNameElement,SVGFontFaceSrcElement,SVGFontFaceUriElement,SVGForeignObjectElement,SVGGElement,SVGGlyphElement,SVGGlyphRefElement,SVGGradientElement,SVGLinearGradientElement,SVGRadialGradientElement,SVGHKernElement,SVGImageElement,SVGLineElement,SVGMarkerElement,SVGMaskElement,SVGMetadataElement,SVGMissingGlyphElement,SVGMPathElement,SVGPathElement,SVGPatternElement,SVGPolylineElement,SVGPolygonElement,SVGRectElement,SVGScriptElement,SVGStopElement,SVGStyleElement,SVGSVGElement,SVGSwitchElement,SVGSymbolElement,SVGTextElement,SVGTextPathElement,SVGTitleElement,SVGTRefElement,SVGTSpanElement,SVGUseElement,SVGViewElement,SVGVKernElement,SVGAngle,SVGColor,SVGICCColor,SVGElementInstance,SVGElementInstanceList,SVGLength,SVGLengthList,SVGMatrix,SVGNumber,SVGNumberList,SVGPaint,SVGPoint,SVGPointList,SVGPreserveAspectRatio,SVGRect,SVGStringList,SVGTransform,SVGTransformList,SVGAnimatedAngle,SVGAnimatedBoolean,SVGAnimatedEnumeration,SVGAnimatedInteger,SVGAnimatedLength,SVGAnimatedLengthList,SVGAnimatedNumber,SVGAnimatedNumberList,SVGAnimatedPreserveAspectRatio,SVGAnimatedRect,SVGAnimatedString,SVGAnimatedTransformList,SVGPathSegList,SVGPathSeg,SVGPathSegArcAbs,SVGPathSegArcRel,SVGPathSegClosePath,SVGPathSegCurvetoCubicAbs,SVGPathSegCurvetoCubicRel,SVGPathSegCurvetoCubicSmoothAbs,SVGPathSegCurvetoCubicSmoothRel,SVGPathSegCurvetoQuadraticAbs,SVGPathSegCurvetoQuadraticRel,SVGPathSegCurvetoQuadraticSmoothAbs,SVGPathSegCurvetoQuadraticSmoothRel,SVGPathSegLinetoAbs,SVGPathSegLinetoHorizontalAbs,SVGPathSegLinetoHorizontalRel,SVGPathSegLinetoRel,SVGPathSegLinetoVerticalAbs,SVGPathSegLinetoVerticalRel,SVGPathSegMovetoAbs,SVGPathSegMovetoRel,ElementTimeControl,TimeEvent,SVGAnimatedPathData,SVGAnimatedPoints,SVGColorProfileRule,SVGCSSRule,SVGExternalResourcesRequired,SVGFitToViewBox,SVGLangSpace,SVGLocatable,SVGRenderingIntent,SVGStylable,SVGTests,SVGTextContentElement,SVGTextPositioningElement,SVGTransformable,SVGUnitTypes,SVGURIReference,SVGViewSpec,SVGZoomAndPan\");\nBlockly.JavaScript.ORDER_ATOMIC=0;Blockly.JavaScript.ORDER_NEW=1.1;Blockly.JavaScript.ORDER_MEMBER=1.2;Blockly.JavaScript.ORDER_FUNCTION_CALL=2;Blockly.JavaScript.ORDER_INCREMENT=3;Blockly.JavaScript.ORDER_DECREMENT=3;Blockly.JavaScript.ORDER_BITWISE_NOT=4.1;Blockly.JavaScript.ORDER_UNARY_PLUS=4.2;Blockly.JavaScript.ORDER_UNARY_NEGATION=4.3;Blockly.JavaScript.ORDER_LOGICAL_NOT=4.4;Blockly.JavaScript.ORDER_TYPEOF=4.5;Blockly.JavaScript.ORDER_VOID=4.6;Blockly.JavaScript.ORDER_DELETE=4.7;\nBlockly.JavaScript.ORDER_DIVISION=5.1;Blockly.JavaScript.ORDER_MULTIPLICATION=5.2;Blockly.JavaScript.ORDER_MODULUS=5.3;Blockly.JavaScript.ORDER_SUBTRACTION=6.1;Blockly.JavaScript.ORDER_ADDITION=6.2;Blockly.JavaScript.ORDER_BITWISE_SHIFT=7;Blockly.JavaScript.ORDER_RELATIONAL=8;Blockly.JavaScript.ORDER_IN=8;Blockly.JavaScript.ORDER_INSTANCEOF=8;Blockly.JavaScript.ORDER_EQUALITY=9;Blockly.JavaScript.ORDER_BITWISE_AND=10;Blockly.JavaScript.ORDER_BITWISE_XOR=11;Blockly.JavaScript.ORDER_BITWISE_OR=12;\nBlockly.JavaScript.ORDER_LOGICAL_AND=13;Blockly.JavaScript.ORDER_LOGICAL_OR=14;Blockly.JavaScript.ORDER_CONDITIONAL=15;Blockly.JavaScript.ORDER_ASSIGNMENT=16;Blockly.JavaScript.ORDER_COMMA=17;Blockly.JavaScript.ORDER_NONE=99;\nBlockly.JavaScript.ORDER_OVERRIDES=[[Blockly.JavaScript.ORDER_FUNCTION_CALL,Blockly.JavaScript.ORDER_MEMBER],[Blockly.JavaScript.ORDER_FUNCTION_CALL,Blockly.JavaScript.ORDER_FUNCTION_CALL],[Blockly.JavaScript.ORDER_MEMBER,Blockly.JavaScript.ORDER_MEMBER],[Blockly.JavaScript.ORDER_MEMBER,Blockly.JavaScript.ORDER_FUNCTION_CALL],[Blockly.JavaScript.ORDER_LOGICAL_NOT,Blockly.JavaScript.ORDER_LOGICAL_NOT],[Blockly.JavaScript.ORDER_MULTIPLICATION,Blockly.JavaScript.ORDER_MULTIPLICATION],[Blockly.JavaScript.ORDER_ADDITION,\nBlockly.JavaScript.ORDER_ADDITION],[Blockly.JavaScript.ORDER_LOGICAL_AND,Blockly.JavaScript.ORDER_LOGICAL_AND],[Blockly.JavaScript.ORDER_LOGICAL_OR,Blockly.JavaScript.ORDER_LOGICAL_OR]];\nBlockly.JavaScript.init=function(a){Blockly.JavaScript.definitions_=Object.create(null);Blockly.JavaScript.functionNames_=Object.create(null);Blockly.JavaScript.variableDB_?Blockly.JavaScript.variableDB_.reset():Blockly.JavaScript.variableDB_=new Blockly.Names(Blockly.JavaScript.RESERVED_WORDS_);var b=[];a=a.getAllVariables();if(a.length){for(var c=0;c<a.length;c++)b[c]=Blockly.JavaScript.variableDB_.getName(a[c].name,Blockly.Variables.NAME_TYPE);Blockly.JavaScript.definitions_.variables=\"var \"+b.join(\", \")+\n\";\"}};Blockly.JavaScript.finish=function(a){var b=[],c;for(c in Blockly.JavaScript.definitions_)b.push(Blockly.JavaScript.definitions_[c]);delete Blockly.JavaScript.definitions_;delete Blockly.JavaScript.functionNames_;Blockly.JavaScript.variableDB_.reset();return b.join(\"\\n\\n\")+\"\\n\\n\\n\"+a};Blockly.JavaScript.scrubNakedValue=function(a){return a+\";\\n\"};Blockly.JavaScript.quote_=function(a){a=a.replace(/\\\\/g,\"\\\\\\\\\").replace(/\\n/g,\"\\\\\\n\").replace(/'/g,\"\\\\'\");return\"'\"+a+\"'\"};\nBlockly.JavaScript.scrub_=function(a,b){var c=\"\";if(!a.outputConnection||!a.outputConnection.targetConnection){var d=a.getCommentText();(d=Blockly.utils.wrap(d,Blockly.JavaScript.COMMENT_WRAP-3))&&(c=a.getProcedureDef?c+(\"/**\\n\"+Blockly.JavaScript.prefixLines(d+\"\\n\",\" * \")+\" */\\n\"):c+Blockly.JavaScript.prefixLines(d+\"\\n\",\"// \"));for(var e=0;e<a.inputList.length;e++)a.inputList[e].type==Blockly.INPUT_VALUE&&(d=a.inputList[e].connection.targetBlock())&&(d=Blockly.JavaScript.allNestedComments(d))&&(c+=\nBlockly.JavaScript.prefixLines(d,\"// \"))}e=a.nextConnection&&a.nextConnection.targetBlock();e=Blockly.JavaScript.blockToCode(e);return c+b+e};\nBlockly.JavaScript.getAdjusted=function(a,b,c,d,e){c=c||0;e=e||Blockly.JavaScript.ORDER_NONE;a.workspace.options.oneBasedIndex&&c--;var f=a.workspace.options.oneBasedIndex?\"1\":\"0\";a=0<c?Blockly.JavaScript.valueToCode(a,b,Blockly.JavaScript.ORDER_ADDITION)||f:0>c?Blockly.JavaScript.valueToCode(a,b,Blockly.JavaScript.ORDER_SUBTRACTION)||f:d?Blockly.JavaScript.valueToCode(a,b,Blockly.JavaScript.ORDER_UNARY_NEGATION)||f:Blockly.JavaScript.valueToCode(a,b,e)||f;if(Blockly.isNumber(a))a=parseFloat(a)+c,\nd&&(a=-a);else{if(0<c){a=a+\" + \"+c;var g=Blockly.JavaScript.ORDER_ADDITION}else 0>c&&(a=a+\" - \"+-c,g=Blockly.JavaScript.ORDER_SUBTRACTION);d&&(a=c?\"-(\"+a+\")\":\"-\"+a,g=Blockly.JavaScript.ORDER_UNARY_NEGATION);g=Math.floor(g);e=Math.floor(e);g&&e>=g&&(a=\"(\"+a+\")\")}return a};Blockly.JavaScript.colour={};Blockly.JavaScript.colour_picker=function(a){return[\"'\"+a.getFieldValue(\"COLOUR\")+\"'\",Blockly.JavaScript.ORDER_ATOMIC]};Blockly.JavaScript.colour_random=function(a){return[Blockly.JavaScript.provideFunction_(\"colourRandom\",[\"function \"+Blockly.JavaScript.FUNCTION_NAME_PLACEHOLDER_+\"() {\",\"  var num = Math.floor(Math.random() * Math.pow(2, 24));\",\"  return '#' + ('00000' + num.toString(16)).substr(-6);\",\"}\"])+\"()\",Blockly.JavaScript.ORDER_FUNCTION_CALL]};\nBlockly.JavaScript.colour_rgb=function(a){var b=Blockly.JavaScript.valueToCode(a,\"RED\",Blockly.JavaScript.ORDER_COMMA)||0,c=Blockly.JavaScript.valueToCode(a,\"GREEN\",Blockly.JavaScript.ORDER_COMMA)||0;a=Blockly.JavaScript.valueToCode(a,\"BLUE\",Blockly.JavaScript.ORDER_COMMA)||0;return[Blockly.JavaScript.provideFunction_(\"colourRgb\",[\"function \"+Blockly.JavaScript.FUNCTION_NAME_PLACEHOLDER_+\"(r, g, b) {\",\"  r = Math.max(Math.min(Number(r), 100), 0) * 2.55;\",\"  g = Math.max(Math.min(Number(g), 100), 0) * 2.55;\",\n\"  b = Math.max(Math.min(Number(b), 100), 0) * 2.55;\",\"  r = ('0' + (Math.round(r) || 0).toString(16)).slice(-2);\",\"  g = ('0' + (Math.round(g) || 0).toString(16)).slice(-2);\",\"  b = ('0' + (Math.round(b) || 0).toString(16)).slice(-2);\",\"  return '#' + r + g + b;\",\"}\"])+\"(\"+b+\", \"+c+\", \"+a+\")\",Blockly.JavaScript.ORDER_FUNCTION_CALL]};\nBlockly.JavaScript.colour_blend=function(a){var b=Blockly.JavaScript.valueToCode(a,\"COLOUR1\",Blockly.JavaScript.ORDER_COMMA)||\"'#000000'\",c=Blockly.JavaScript.valueToCode(a,\"COLOUR2\",Blockly.JavaScript.ORDER_COMMA)||\"'#000000'\";a=Blockly.JavaScript.valueToCode(a,\"RATIO\",Blockly.JavaScript.ORDER_COMMA)||.5;return[Blockly.JavaScript.provideFunction_(\"colourBlend\",[\"function \"+Blockly.JavaScript.FUNCTION_NAME_PLACEHOLDER_+\"(c1, c2, ratio) {\",\"  ratio = Math.max(Math.min(Number(ratio), 1), 0);\",\"  var r1 = parseInt(c1.substring(1, 3), 16);\",\n\"  var g1 = parseInt(c1.substring(3, 5), 16);\",\"  var b1 = parseInt(c1.substring(5, 7), 16);\",\"  var r2 = parseInt(c2.substring(1, 3), 16);\",\"  var g2 = parseInt(c2.substring(3, 5), 16);\",\"  var b2 = parseInt(c2.substring(5, 7), 16);\",\"  var r = Math.round(r1 * (1 - ratio) + r2 * ratio);\",\"  var g = Math.round(g1 * (1 - ratio) + g2 * ratio);\",\"  var b = Math.round(b1 * (1 - ratio) + b2 * ratio);\",\"  r = ('0' + (r || 0).toString(16)).slice(-2);\",\"  g = ('0' + (g || 0).toString(16)).slice(-2);\",\"  b = ('0' + (b || 0).toString(16)).slice(-2);\",\n\"  return '#' + r + g + b;\",\"}\"])+\"(\"+b+\", \"+c+\", \"+a+\")\",Blockly.JavaScript.ORDER_FUNCTION_CALL]};Blockly.JavaScript.lists={};Blockly.JavaScript.lists_create_empty=function(a){return[\"[]\",Blockly.JavaScript.ORDER_ATOMIC]};Blockly.JavaScript.lists_create_with=function(a){for(var b=Array(a.itemCount_),c=0;c<a.itemCount_;c++)b[c]=Blockly.JavaScript.valueToCode(a,\"ADD\"+c,Blockly.JavaScript.ORDER_COMMA)||\"null\";return[\"[\"+b.join(\", \")+\"]\",Blockly.JavaScript.ORDER_ATOMIC]};\nBlockly.JavaScript.lists_repeat=function(a){var b=Blockly.JavaScript.provideFunction_(\"listsRepeat\",[\"function \"+Blockly.JavaScript.FUNCTION_NAME_PLACEHOLDER_+\"(value, n) {\",\"  var array = [];\",\"  for (var i = 0; i < n; i++) {\",\"    array[i] = value;\",\"  }\",\"  return array;\",\"}\"]),c=Blockly.JavaScript.valueToCode(a,\"ITEM\",Blockly.JavaScript.ORDER_COMMA)||\"null\";a=Blockly.JavaScript.valueToCode(a,\"NUM\",Blockly.JavaScript.ORDER_COMMA)||\"0\";return[b+\"(\"+c+\", \"+a+\")\",Blockly.JavaScript.ORDER_FUNCTION_CALL]};\nBlockly.JavaScript.lists_length=function(a){return[(Blockly.JavaScript.valueToCode(a,\"VALUE\",Blockly.JavaScript.ORDER_MEMBER)||\"[]\")+\".length\",Blockly.JavaScript.ORDER_MEMBER]};Blockly.JavaScript.lists_isEmpty=function(a){return[\"!\"+(Blockly.JavaScript.valueToCode(a,\"VALUE\",Blockly.JavaScript.ORDER_MEMBER)||\"[]\")+\".length\",Blockly.JavaScript.ORDER_LOGICAL_NOT]};\nBlockly.JavaScript.lists_indexOf=function(a){var b=\"FIRST\"==a.getFieldValue(\"END\")?\"indexOf\":\"lastIndexOf\",c=Blockly.JavaScript.valueToCode(a,\"FIND\",Blockly.JavaScript.ORDER_NONE)||\"''\";b=(Blockly.JavaScript.valueToCode(a,\"VALUE\",Blockly.JavaScript.ORDER_MEMBER)||\"[]\")+\".\"+b+\"(\"+c+\")\";return a.workspace.options.oneBasedIndex?[b+\" + 1\",Blockly.JavaScript.ORDER_ADDITION]:[b,Blockly.JavaScript.ORDER_FUNCTION_CALL]};\nBlockly.JavaScript.lists_getIndex=function(a){var b=a.getFieldValue(\"MODE\")||\"GET\",c=a.getFieldValue(\"WHERE\")||\"FROM_START\",d=Blockly.JavaScript.valueToCode(a,\"VALUE\",\"RANDOM\"==c?Blockly.JavaScript.ORDER_COMMA:Blockly.JavaScript.ORDER_MEMBER)||\"[]\";switch(c){case \"FIRST\":if(\"GET\"==b)return[d+\"[0]\",Blockly.JavaScript.ORDER_MEMBER];if(\"GET_REMOVE\"==b)return[d+\".shift()\",Blockly.JavaScript.ORDER_MEMBER];if(\"REMOVE\"==b)return d+\".shift();\\n\";break;case \"LAST\":if(\"GET\"==b)return[d+\".slice(-1)[0]\",Blockly.JavaScript.ORDER_MEMBER];\nif(\"GET_REMOVE\"==b)return[d+\".pop()\",Blockly.JavaScript.ORDER_MEMBER];if(\"REMOVE\"==b)return d+\".pop();\\n\";break;case \"FROM_START\":a=Blockly.JavaScript.getAdjusted(a,\"AT\");if(\"GET\"==b)return[d+\"[\"+a+\"]\",Blockly.JavaScript.ORDER_MEMBER];if(\"GET_REMOVE\"==b)return[d+\".splice(\"+a+\", 1)[0]\",Blockly.JavaScript.ORDER_FUNCTION_CALL];if(\"REMOVE\"==b)return d+\".splice(\"+a+\", 1);\\n\";break;case \"FROM_END\":a=Blockly.JavaScript.getAdjusted(a,\"AT\",1,!0);if(\"GET\"==b)return[d+\".slice(\"+a+\")[0]\",Blockly.JavaScript.ORDER_FUNCTION_CALL];\nif(\"GET_REMOVE\"==b)return[d+\".splice(\"+a+\", 1)[0]\",Blockly.JavaScript.ORDER_FUNCTION_CALL];if(\"REMOVE\"==b)return d+\".splice(\"+a+\", 1);\";break;case \"RANDOM\":d=Blockly.JavaScript.provideFunction_(\"listsGetRandomItem\",[\"function \"+Blockly.JavaScript.FUNCTION_NAME_PLACEHOLDER_+\"(list, remove) {\",\"  var x = Math.floor(Math.random() * list.length);\",\"  if (remove) {\",\"    return list.splice(x, 1)[0];\",\"  } else {\",\"    return list[x];\",\"  }\",\"}\"])+\"(\"+d+\", \"+(\"GET\"!=b)+\")\";if(\"GET\"==b||\"GET_REMOVE\"==b)return[d,\nBlockly.JavaScript.ORDER_FUNCTION_CALL];if(\"REMOVE\"==b)return d+\";\\n\"}throw\"Unhandled combination (lists_getIndex).\";};\nBlockly.JavaScript.lists_setIndex=function(a){function b(){if(c.match(/^\\w+$/))return\"\";var a=Blockly.JavaScript.variableDB_.getDistinctName(\"tmpList\",Blockly.Variables.NAME_TYPE),b=\"var \"+a+\" = \"+c+\";\\n\";c=a;return b}var c=Blockly.JavaScript.valueToCode(a,\"LIST\",Blockly.JavaScript.ORDER_MEMBER)||\"[]\",d=a.getFieldValue(\"MODE\")||\"GET\",e=a.getFieldValue(\"WHERE\")||\"FROM_START\",f=Blockly.JavaScript.valueToCode(a,\"TO\",Blockly.JavaScript.ORDER_ASSIGNMENT)||\"null\";switch(e){case \"FIRST\":if(\"SET\"==d)return c+\n\"[0] = \"+f+\";\\n\";if(\"INSERT\"==d)return c+\".unshift(\"+f+\");\\n\";break;case \"LAST\":if(\"SET\"==d)return a=b(),a+(c+\"[\"+c+\".length - 1] = \"+f+\";\\n\");if(\"INSERT\"==d)return c+\".push(\"+f+\");\\n\";break;case \"FROM_START\":e=Blockly.JavaScript.getAdjusted(a,\"AT\");if(\"SET\"==d)return c+\"[\"+e+\"] = \"+f+\";\\n\";if(\"INSERT\"==d)return c+\".splice(\"+e+\", 0, \"+f+\");\\n\";break;case \"FROM_END\":e=Blockly.JavaScript.getAdjusted(a,\"AT\",1,!1,Blockly.JavaScript.ORDER_SUBTRACTION);a=b();if(\"SET\"==d)return a+(c+\"[\"+c+\".length - \"+e+\n\"] = \"+f+\";\\n\");if(\"INSERT\"==d)return a+(c+\".splice(\"+c+\".length - \"+e+\", 0, \"+f+\");\\n\");break;case \"RANDOM\":a=b();e=Blockly.JavaScript.variableDB_.getDistinctName(\"tmpX\",Blockly.Variables.NAME_TYPE);a+=\"var \"+e+\" = Math.floor(Math.random() * \"+c+\".length);\\n\";if(\"SET\"==d)return a+(c+\"[\"+e+\"] = \"+f+\";\\n\");if(\"INSERT\"==d)return a+(c+\".splice(\"+e+\", 0, \"+f+\");\\n\")}throw\"Unhandled combination (lists_setIndex).\";};\nBlockly.JavaScript.lists.getIndex_=function(a,b,c){return\"FIRST\"==b?\"0\":\"FROM_END\"==b?a+\".length - 1 - \"+c:\"LAST\"==b?a+\".length - 1\":c};\nBlockly.JavaScript.lists_getSublist=function(a){var b=Blockly.JavaScript.valueToCode(a,\"LIST\",Blockly.JavaScript.ORDER_MEMBER)||\"[]\",c=a.getFieldValue(\"WHERE1\"),d=a.getFieldValue(\"WHERE2\");if(\"FIRST\"==c&&\"LAST\"==d)b+=\".slice(0)\";else if(b.match(/^\\w+$/)||\"FROM_END\"!=c&&\"FROM_START\"==d){switch(c){case \"FROM_START\":var e=Blockly.JavaScript.getAdjusted(a,\"AT1\");break;case \"FROM_END\":e=Blockly.JavaScript.getAdjusted(a,\"AT1\",1,!1,Blockly.JavaScript.ORDER_SUBTRACTION);e=b+\".length - \"+e;break;case \"FIRST\":e=\n\"0\";break;default:throw\"Unhandled option (lists_getSublist).\";}switch(d){case \"FROM_START\":a=Blockly.JavaScript.getAdjusted(a,\"AT2\",1);break;case \"FROM_END\":a=Blockly.JavaScript.getAdjusted(a,\"AT2\",0,!1,Blockly.JavaScript.ORDER_SUBTRACTION);a=b+\".length - \"+a;break;case \"LAST\":a=b+\".length\";break;default:throw\"Unhandled option (lists_getSublist).\";}b=b+\".slice(\"+e+\", \"+a+\")\"}else{e=Blockly.JavaScript.getAdjusted(a,\"AT1\");a=Blockly.JavaScript.getAdjusted(a,\"AT2\");var f=Blockly.JavaScript.lists.getIndex_,\ng={FIRST:\"First\",LAST:\"Last\",FROM_START:\"FromStart\",FROM_END:\"FromEnd\"};b=Blockly.JavaScript.provideFunction_(\"subsequence\"+g[c]+g[d],[\"function \"+Blockly.JavaScript.FUNCTION_NAME_PLACEHOLDER_+\"(sequence\"+(\"FROM_END\"==c||\"FROM_START\"==c?\", at1\":\"\")+(\"FROM_END\"==d||\"FROM_START\"==d?\", at2\":\"\")+\") {\",\"  var start = \"+f(\"sequence\",c,\"at1\")+\";\",\"  var end = \"+f(\"sequence\",d,\"at2\")+\" + 1;\",\"  return sequence.slice(start, end);\",\"}\"])+\"(\"+b+(\"FROM_END\"==c||\"FROM_START\"==c?\", \"+e:\"\")+(\"FROM_END\"==d||\"FROM_START\"==\nd?\", \"+a:\"\")+\")\"}return[b,Blockly.JavaScript.ORDER_FUNCTION_CALL]};\nBlockly.JavaScript.lists_sort=function(a){var b=Blockly.JavaScript.valueToCode(a,\"LIST\",Blockly.JavaScript.ORDER_FUNCTION_CALL)||\"[]\",c=\"1\"===a.getFieldValue(\"DIRECTION\")?1:-1;a=a.getFieldValue(\"TYPE\");var d=Blockly.JavaScript.provideFunction_(\"listsGetSortCompare\",[\"function \"+Blockly.JavaScript.FUNCTION_NAME_PLACEHOLDER_+\"(type, direction) {\",\"  var compareFuncs = {\",'    \"NUMERIC\": function(a, b) {',\"        return parseFloat(a) - parseFloat(b); },\",'    \"TEXT\": function(a, b) {',\"        return a.toString() > b.toString() ? 1 : -1; },\",\n'    \"IGNORE_CASE\": function(a, b) {',\"        return a.toString().toLowerCase() > b.toString().toLowerCase() ? 1 : -1; },\",\"  };\",\"  var compare = compareFuncs[type];\",\"  return function(a, b) { return compare(a, b) * direction; }\",\"}\"]);return[b+\".slice().sort(\"+d+'(\"'+a+'\", '+c+\"))\",Blockly.JavaScript.ORDER_FUNCTION_CALL]};\nBlockly.JavaScript.lists_split=function(a){var b=Blockly.JavaScript.valueToCode(a,\"INPUT\",Blockly.JavaScript.ORDER_MEMBER),c=Blockly.JavaScript.valueToCode(a,\"DELIM\",Blockly.JavaScript.ORDER_NONE)||\"''\";a=a.getFieldValue(\"MODE\");if(\"SPLIT\"==a)b||(b=\"''\"),a=\"split\";else if(\"JOIN\"==a)b||(b=\"[]\"),a=\"join\";else throw\"Unknown mode: \"+a;return[b+\".\"+a+\"(\"+c+\")\",Blockly.JavaScript.ORDER_FUNCTION_CALL]};\nBlockly.JavaScript.lists_reverse=function(a){return[(Blockly.JavaScript.valueToCode(a,\"LIST\",Blockly.JavaScript.ORDER_FUNCTION_CALL)||\"[]\")+\".slice().reverse()\",Blockly.JavaScript.ORDER_FUNCTION_CALL]};Blockly.JavaScript.logic={};Blockly.JavaScript.controls_if=function(a){var b=0,c=\"\";do{var d=Blockly.JavaScript.valueToCode(a,\"IF\"+b,Blockly.JavaScript.ORDER_NONE)||\"false\";var e=Blockly.JavaScript.statementToCode(a,\"DO\"+b);c+=(0<b?\" else \":\"\")+\"if (\"+d+\") {\\n\"+e+\"}\";++b}while(a.getInput(\"IF\"+b));a.getInput(\"ELSE\")&&(e=Blockly.JavaScript.statementToCode(a,\"ELSE\"),c+=\" else {\\n\"+e+\"}\");return c+\"\\n\"};Blockly.JavaScript.controls_ifelse=Blockly.JavaScript.controls_if;\nBlockly.JavaScript.logic_compare=function(a){var b={EQ:\"==\",NEQ:\"!=\",LT:\"<\",LTE:\"<=\",GT:\">\",GTE:\">=\"}[a.getFieldValue(\"OP\")],c=\"==\"==b||\"!=\"==b?Blockly.JavaScript.ORDER_EQUALITY:Blockly.JavaScript.ORDER_RELATIONAL,d=Blockly.JavaScript.valueToCode(a,\"A\",c)||\"0\";a=Blockly.JavaScript.valueToCode(a,\"B\",c)||\"0\";return[d+\" \"+b+\" \"+a,c]};\nBlockly.JavaScript.logic_operation=function(a){var b=\"AND\"==a.getFieldValue(\"OP\")?\"&&\":\"||\",c=\"&&\"==b?Blockly.JavaScript.ORDER_LOGICAL_AND:Blockly.JavaScript.ORDER_LOGICAL_OR,d=Blockly.JavaScript.valueToCode(a,\"A\",c);a=Blockly.JavaScript.valueToCode(a,\"B\",c);if(d||a){var e=\"&&\"==b?\"true\":\"false\";d||(d=e);a||(a=e)}else a=d=\"false\";return[d+\" \"+b+\" \"+a,c]};\nBlockly.JavaScript.logic_negate=function(a){var b=Blockly.JavaScript.ORDER_LOGICAL_NOT;return[\"!\"+(Blockly.JavaScript.valueToCode(a,\"BOOL\",b)||\"true\"),b]};Blockly.JavaScript.logic_boolean=function(a){return[\"TRUE\"==a.getFieldValue(\"BOOL\")?\"true\":\"false\",Blockly.JavaScript.ORDER_ATOMIC]};Blockly.JavaScript.logic_null=function(a){return[\"null\",Blockly.JavaScript.ORDER_ATOMIC]};\nBlockly.JavaScript.logic_ternary=function(a){var b=Blockly.JavaScript.valueToCode(a,\"IF\",Blockly.JavaScript.ORDER_CONDITIONAL)||\"false\",c=Blockly.JavaScript.valueToCode(a,\"THEN\",Blockly.JavaScript.ORDER_CONDITIONAL)||\"null\";a=Blockly.JavaScript.valueToCode(a,\"ELSE\",Blockly.JavaScript.ORDER_CONDITIONAL)||\"null\";return[b+\" ? \"+c+\" : \"+a,Blockly.JavaScript.ORDER_CONDITIONAL]};Blockly.JavaScript.loops={};\nBlockly.JavaScript.controls_repeat_ext=function(a){var b=a.getField(\"TIMES\")?String(Number(a.getFieldValue(\"TIMES\"))):Blockly.JavaScript.valueToCode(a,\"TIMES\",Blockly.JavaScript.ORDER_ASSIGNMENT)||\"0\",c=Blockly.JavaScript.statementToCode(a,\"DO\");c=Blockly.JavaScript.addLoopTrap(c,a.id);a=\"\";var d=Blockly.JavaScript.variableDB_.getDistinctName(\"count\",Blockly.Variables.NAME_TYPE),e=b;b.match(/^\\w+$/)||Blockly.isNumber(b)||(e=Blockly.JavaScript.variableDB_.getDistinctName(\"repeat_end\",Blockly.Variables.NAME_TYPE),\na+=\"var \"+e+\" = \"+b+\";\\n\");return a+(\"for (var \"+d+\" = 0; \"+d+\" < \"+e+\"; \"+d+\"++) {\\n\"+c+\"}\\n\")};Blockly.JavaScript.controls_repeat=Blockly.JavaScript.controls_repeat_ext;\nBlockly.JavaScript.controls_whileUntil=function(a){var b=\"UNTIL\"==a.getFieldValue(\"MODE\"),c=Blockly.JavaScript.valueToCode(a,\"BOOL\",b?Blockly.JavaScript.ORDER_LOGICAL_NOT:Blockly.JavaScript.ORDER_NONE)||\"false\",d=Blockly.JavaScript.statementToCode(a,\"DO\");d=Blockly.JavaScript.addLoopTrap(d,a.id);b&&(c=\"!\"+c);return\"while (\"+c+\") {\\n\"+d+\"}\\n\"};\nBlockly.JavaScript.controls_for=function(a){var b=Blockly.JavaScript.variableDB_.getName(a.getFieldValue(\"VAR\"),Blockly.Variables.NAME_TYPE),c=Blockly.JavaScript.valueToCode(a,\"FROM\",Blockly.JavaScript.ORDER_ASSIGNMENT)||\"0\",d=Blockly.JavaScript.valueToCode(a,\"TO\",Blockly.JavaScript.ORDER_ASSIGNMENT)||\"0\",e=Blockly.JavaScript.valueToCode(a,\"BY\",Blockly.JavaScript.ORDER_ASSIGNMENT)||\"1\",f=Blockly.JavaScript.statementToCode(a,\"DO\");f=Blockly.JavaScript.addLoopTrap(f,a.id);if(Blockly.isNumber(c)&&Blockly.isNumber(d)&&\nBlockly.isNumber(e)){var g=parseFloat(c)<=parseFloat(d);a=\"for (\"+b+\" = \"+c+\"; \"+b+(g?\" <= \":\" >= \")+d+\"; \"+b;b=Math.abs(parseFloat(e));a=(1==b?a+(g?\"++\":\"--\"):a+((g?\" += \":\" -= \")+b))+(\") {\\n\"+f+\"}\\n\")}else a=\"\",g=c,c.match(/^\\w+$/)||Blockly.isNumber(c)||(g=Blockly.JavaScript.variableDB_.getDistinctName(b+\"_start\",Blockly.Variables.NAME_TYPE),a+=\"var \"+g+\" = \"+c+\";\\n\"),c=d,d.match(/^\\w+$/)||Blockly.isNumber(d)||(c=Blockly.JavaScript.variableDB_.getDistinctName(b+\"_end\",Blockly.Variables.NAME_TYPE),\na+=\"var \"+c+\" = \"+d+\";\\n\"),d=Blockly.JavaScript.variableDB_.getDistinctName(b+\"_inc\",Blockly.Variables.NAME_TYPE),a+=\"var \"+d+\" = \",a=Blockly.isNumber(e)?a+(Math.abs(e)+\";\\n\"):a+(\"Math.abs(\"+e+\");\\n\"),a=a+(\"if (\"+g+\" > \"+c+\") {\\n\")+(Blockly.JavaScript.INDENT+d+\" = -\"+d+\";\\n\"),a+=\"}\\n\",a+=\"for (\"+b+\" = \"+g+\"; \"+d+\" >= 0 ? \"+b+\" <= \"+c+\" : \"+b+\" >= \"+c+\"; \"+b+\" += \"+d+\") {\\n\"+f+\"}\\n\";return a};\nBlockly.JavaScript.controls_forEach=function(a){var b=Blockly.JavaScript.variableDB_.getName(a.getFieldValue(\"VAR\"),Blockly.Variables.NAME_TYPE),c=Blockly.JavaScript.valueToCode(a,\"LIST\",Blockly.JavaScript.ORDER_ASSIGNMENT)||\"[]\",d=Blockly.JavaScript.statementToCode(a,\"DO\");d=Blockly.JavaScript.addLoopTrap(d,a.id);a=\"\";var e=c;c.match(/^\\w+$/)||(e=Blockly.JavaScript.variableDB_.getDistinctName(b+\"_list\",Blockly.Variables.NAME_TYPE),a+=\"var \"+e+\" = \"+c+\";\\n\");c=Blockly.JavaScript.variableDB_.getDistinctName(b+\n\"_index\",Blockly.Variables.NAME_TYPE);d=Blockly.JavaScript.INDENT+b+\" = \"+e+\"[\"+c+\"];\\n\"+d;return a+(\"for (var \"+c+\" in \"+e+\") {\\n\"+d+\"}\\n\")};Blockly.JavaScript.controls_flow_statements=function(a){switch(a.getFieldValue(\"FLOW\")){case \"BREAK\":return\"break;\\n\";case \"CONTINUE\":return\"continue;\\n\"}throw\"Unknown flow statement.\";};Blockly.JavaScript.math={};Blockly.JavaScript.math_number=function(a){return[parseFloat(a.getFieldValue(\"NUM\")),Blockly.JavaScript.ORDER_ATOMIC]};\nBlockly.JavaScript.math_arithmetic=function(a){var b={ADD:[\" + \",Blockly.JavaScript.ORDER_ADDITION],MINUS:[\" - \",Blockly.JavaScript.ORDER_SUBTRACTION],MULTIPLY:[\" * \",Blockly.JavaScript.ORDER_MULTIPLICATION],DIVIDE:[\" / \",Blockly.JavaScript.ORDER_DIVISION],POWER:[null,Blockly.JavaScript.ORDER_COMMA]}[a.getFieldValue(\"OP\")],c=b[0];b=b[1];var d=Blockly.JavaScript.valueToCode(a,\"A\",b)||\"0\";a=Blockly.JavaScript.valueToCode(a,\"B\",b)||\"0\";return c?[d+c+a,b]:[\"Math.pow(\"+d+\", \"+a+\")\",Blockly.JavaScript.ORDER_FUNCTION_CALL]};\nBlockly.JavaScript.math_single=function(a){var b=a.getFieldValue(\"OP\");if(\"NEG\"==b)return a=Blockly.JavaScript.valueToCode(a,\"NUM\",Blockly.JavaScript.ORDER_UNARY_NEGATION)||\"0\",\"-\"==a[0]&&(a=\" \"+a),[\"-\"+a,Blockly.JavaScript.ORDER_UNARY_NEGATION];a=\"SIN\"==b||\"COS\"==b||\"TAN\"==b?Blockly.JavaScript.valueToCode(a,\"NUM\",Blockly.JavaScript.ORDER_DIVISION)||\"0\":Blockly.JavaScript.valueToCode(a,\"NUM\",Blockly.JavaScript.ORDER_NONE)||\"0\";switch(b){case \"ABS\":var c=\"Math.abs(\"+a+\")\";break;case \"ROOT\":c=\"Math.sqrt(\"+\na+\")\";break;case \"LN\":c=\"Math.log(\"+a+\")\";break;case \"EXP\":c=\"Math.exp(\"+a+\")\";break;case \"POW10\":c=\"Math.pow(10,\"+a+\")\";break;case \"ROUND\":c=\"Math.round(\"+a+\")\";break;case \"ROUNDUP\":c=\"Math.ceil(\"+a+\")\";break;case \"ROUNDDOWN\":c=\"Math.floor(\"+a+\")\";break;case \"SIN\":c=\"Math.sin(\"+a+\" / 180 * Math.PI)\";break;case \"COS\":c=\"Math.cos(\"+a+\" / 180 * Math.PI)\";break;case \"TAN\":c=\"Math.tan(\"+a+\" / 180 * Math.PI)\"}if(c)return[c,Blockly.JavaScript.ORDER_FUNCTION_CALL];switch(b){case \"LOG10\":c=\"Math.log(\"+a+\n\") / Math.log(10)\";break;case \"ASIN\":c=\"Math.asin(\"+a+\") / Math.PI * 180\";break;case \"ACOS\":c=\"Math.acos(\"+a+\") / Math.PI * 180\";break;case \"ATAN\":c=\"Math.atan(\"+a+\") / Math.PI * 180\";break;default:throw\"Unknown math operator: \"+b;}return[c,Blockly.JavaScript.ORDER_DIVISION]};\nBlockly.JavaScript.math_constant=function(a){return{PI:[\"Math.PI\",Blockly.JavaScript.ORDER_MEMBER],E:[\"Math.E\",Blockly.JavaScript.ORDER_MEMBER],GOLDEN_RATIO:[\"(1 + Math.sqrt(5)) / 2\",Blockly.JavaScript.ORDER_DIVISION],SQRT2:[\"Math.SQRT2\",Blockly.JavaScript.ORDER_MEMBER],SQRT1_2:[\"Math.SQRT1_2\",Blockly.JavaScript.ORDER_MEMBER],INFINITY:[\"Infinity\",Blockly.JavaScript.ORDER_ATOMIC]}[a.getFieldValue(\"CONSTANT\")]};\nBlockly.JavaScript.math_number_property=function(a){var b=Blockly.JavaScript.valueToCode(a,\"NUMBER_TO_CHECK\",Blockly.JavaScript.ORDER_MODULUS)||\"0\",c=a.getFieldValue(\"PROPERTY\");if(\"PRIME\"==c)return[Blockly.JavaScript.provideFunction_(\"mathIsPrime\",[\"function \"+Blockly.JavaScript.FUNCTION_NAME_PLACEHOLDER_+\"(n) {\",\"  // https://en.wikipedia.org/wiki/Primality_test#Naive_methods\",\"  if (n == 2 || n == 3) {\",\"    return true;\",\"  }\",\"  // False if n is NaN, negative, is 1, or not whole.\",\"  // And false if n is divisible by 2 or 3.\",\n\"  if (isNaN(n) || n <= 1 || n % 1 != 0 || n % 2 == 0 || n % 3 == 0) {\",\"    return false;\",\"  }\",\"  // Check all the numbers of form 6k +/- 1, up to sqrt(n).\",\"  for (var x = 6; x <= Math.sqrt(n) + 1; x += 6) {\",\"    if (n % (x - 1) == 0 || n % (x + 1) == 0) {\",\"      return false;\",\"    }\",\"  }\",\"  return true;\",\"}\"])+\"(\"+b+\")\",Blockly.JavaScript.ORDER_FUNCTION_CALL];switch(c){case \"EVEN\":var d=b+\" % 2 == 0\";break;case \"ODD\":d=b+\" % 2 == 1\";break;case \"WHOLE\":d=b+\" % 1 == 0\";break;case \"POSITIVE\":d=\nb+\" > 0\";break;case \"NEGATIVE\":d=b+\" < 0\";break;case \"DIVISIBLE_BY\":a=Blockly.JavaScript.valueToCode(a,\"DIVISOR\",Blockly.JavaScript.ORDER_MODULUS)||\"0\",d=b+\" % \"+a+\" == 0\"}return[d,Blockly.JavaScript.ORDER_EQUALITY]};Blockly.JavaScript.math_change=function(a){var b=Blockly.JavaScript.valueToCode(a,\"DELTA\",Blockly.JavaScript.ORDER_ADDITION)||\"0\";a=Blockly.JavaScript.variableDB_.getName(a.getFieldValue(\"VAR\"),Blockly.Variables.NAME_TYPE);return a+\" = (typeof \"+a+\" == 'number' ? \"+a+\" : 0) + \"+b+\";\\n\"};\nBlockly.JavaScript.math_round=Blockly.JavaScript.math_single;Blockly.JavaScript.math_trig=Blockly.JavaScript.math_single;\nBlockly.JavaScript.math_on_list=function(a){var b=a.getFieldValue(\"OP\");switch(b){case \"SUM\":a=Blockly.JavaScript.valueToCode(a,\"LIST\",Blockly.JavaScript.ORDER_MEMBER)||\"[]\";a+=\".reduce(function(x, y) {return x + y;})\";break;case \"MIN\":a=Blockly.JavaScript.valueToCode(a,\"LIST\",Blockly.JavaScript.ORDER_COMMA)||\"[]\";a=\"Math.min.apply(null, \"+a+\")\";break;case \"MAX\":a=Blockly.JavaScript.valueToCode(a,\"LIST\",Blockly.JavaScript.ORDER_COMMA)||\"[]\";a=\"Math.max.apply(null, \"+a+\")\";break;case \"AVERAGE\":b=Blockly.JavaScript.provideFunction_(\"mathMean\",\n[\"function \"+Blockly.JavaScript.FUNCTION_NAME_PLACEHOLDER_+\"(myList) {\",\"  return myList.reduce(function(x, y) {return x + y;}) / myList.length;\",\"}\"]);a=Blockly.JavaScript.valueToCode(a,\"LIST\",Blockly.JavaScript.ORDER_NONE)||\"[]\";a=b+\"(\"+a+\")\";break;case \"MEDIAN\":b=Blockly.JavaScript.provideFunction_(\"mathMedian\",[\"function \"+Blockly.JavaScript.FUNCTION_NAME_PLACEHOLDER_+\"(myList) {\",\"  var localList = myList.filter(function (x) {return typeof x == 'number';});\",\"  if (!localList.length) return null;\",\n\"  localList.sort(function(a, b) {return b - a;});\",\"  if (localList.length % 2 == 0) {\",\"    return (localList[localList.length / 2 - 1] + localList[localList.length / 2]) / 2;\",\"  } else {\",\"    return localList[(localList.length - 1) / 2];\",\"  }\",\"}\"]);a=Blockly.JavaScript.valueToCode(a,\"LIST\",Blockly.JavaScript.ORDER_NONE)||\"[]\";a=b+\"(\"+a+\")\";break;case \"MODE\":b=Blockly.JavaScript.provideFunction_(\"mathModes\",[\"function \"+Blockly.JavaScript.FUNCTION_NAME_PLACEHOLDER_+\"(values) {\",\"  var modes = [];\",\n\"  var counts = [];\",\"  var maxCount = 0;\",\"  for (var i = 0; i < values.length; i++) {\",\"    var value = values[i];\",\"    var found = false;\",\"    var thisCount;\",\"    for (var j = 0; j < counts.length; j++) {\",\"      if (counts[j][0] === value) {\",\"        thisCount = ++counts[j][1];\",\"        found = true;\",\"        break;\",\"      }\",\"    }\",\"    if (!found) {\",\"      counts.push([value, 1]);\",\"      thisCount = 1;\",\"    }\",\"    maxCount = Math.max(thisCount, maxCount);\",\"  }\",\"  for (var j = 0; j < counts.length; j++) {\",\n\"    if (counts[j][1] == maxCount) {\",\"        modes.push(counts[j][0]);\",\"    }\",\"  }\",\"  return modes;\",\"}\"]);a=Blockly.JavaScript.valueToCode(a,\"LIST\",Blockly.JavaScript.ORDER_NONE)||\"[]\";a=b+\"(\"+a+\")\";break;case \"STD_DEV\":b=Blockly.JavaScript.provideFunction_(\"mathStandardDeviation\",[\"function \"+Blockly.JavaScript.FUNCTION_NAME_PLACEHOLDER_+\"(numbers) {\",\"  var n = numbers.length;\",\"  if (!n) return null;\",\"  var mean = numbers.reduce(function(x, y) {return x + y;}) / n;\",\"  var variance = 0;\",\n\"  for (var j = 0; j < n; j++) {\",\"    variance += Math.pow(numbers[j] - mean, 2);\",\"  }\",\"  variance = variance / n;\",\"  return Math.sqrt(variance);\",\"}\"]);a=Blockly.JavaScript.valueToCode(a,\"LIST\",Blockly.JavaScript.ORDER_NONE)||\"[]\";a=b+\"(\"+a+\")\";break;case \"RANDOM\":b=Blockly.JavaScript.provideFunction_(\"mathRandomList\",[\"function \"+Blockly.JavaScript.FUNCTION_NAME_PLACEHOLDER_+\"(list) {\",\"  var x = Math.floor(Math.random() * list.length);\",\"  return list[x];\",\"}\"]);a=Blockly.JavaScript.valueToCode(a,\n\"LIST\",Blockly.JavaScript.ORDER_NONE)||\"[]\";a=b+\"(\"+a+\")\";break;default:throw\"Unknown operator: \"+b;}return[a,Blockly.JavaScript.ORDER_FUNCTION_CALL]};Blockly.JavaScript.math_modulo=function(a){var b=Blockly.JavaScript.valueToCode(a,\"DIVIDEND\",Blockly.JavaScript.ORDER_MODULUS)||\"0\";a=Blockly.JavaScript.valueToCode(a,\"DIVISOR\",Blockly.JavaScript.ORDER_MODULUS)||\"0\";return[b+\" % \"+a,Blockly.JavaScript.ORDER_MODULUS]};\nBlockly.JavaScript.math_constrain=function(a){var b=Blockly.JavaScript.valueToCode(a,\"VALUE\",Blockly.JavaScript.ORDER_COMMA)||\"0\",c=Blockly.JavaScript.valueToCode(a,\"LOW\",Blockly.JavaScript.ORDER_COMMA)||\"0\";a=Blockly.JavaScript.valueToCode(a,\"HIGH\",Blockly.JavaScript.ORDER_COMMA)||\"Infinity\";return[\"Math.min(Math.max(\"+b+\", \"+c+\"), \"+a+\")\",Blockly.JavaScript.ORDER_FUNCTION_CALL]};\nBlockly.JavaScript.math_random_int=function(a){var b=Blockly.JavaScript.valueToCode(a,\"FROM\",Blockly.JavaScript.ORDER_COMMA)||\"0\";a=Blockly.JavaScript.valueToCode(a,\"TO\",Blockly.JavaScript.ORDER_COMMA)||\"0\";return[Blockly.JavaScript.provideFunction_(\"mathRandomInt\",[\"function \"+Blockly.JavaScript.FUNCTION_NAME_PLACEHOLDER_+\"(a, b) {\",\"  if (a > b) {\",\"    // Swap a and b to ensure a is smaller.\",\"    var c = a;\",\"    a = b;\",\"    b = c;\",\"  }\",\"  return Math.floor(Math.random() * (b - a + 1) + a);\",\n\"}\"])+\"(\"+b+\", \"+a+\")\",Blockly.JavaScript.ORDER_FUNCTION_CALL]};Blockly.JavaScript.math_random_float=function(a){return[\"Math.random()\",Blockly.JavaScript.ORDER_FUNCTION_CALL]};Blockly.JavaScript.procedures={};\nBlockly.JavaScript.procedures_defreturn=function(a){var b=Blockly.JavaScript.variableDB_.getName(a.getFieldValue(\"NAME\"),Blockly.Procedures.NAME_TYPE),c=Blockly.JavaScript.statementToCode(a,\"STACK\");if(Blockly.JavaScript.STATEMENT_PREFIX){var d=a.id.replace(/\\$/g,\"$$$$\");c=Blockly.JavaScript.prefixLines(Blockly.JavaScript.STATEMENT_PREFIX.replace(/%1/g,\"'\"+d+\"'\"),Blockly.JavaScript.INDENT)+c}Blockly.JavaScript.INFINITE_LOOP_TRAP&&(c=Blockly.JavaScript.INFINITE_LOOP_TRAP.replace(/%1/g,\"'\"+a.id+\"'\")+\nc);(d=Blockly.JavaScript.valueToCode(a,\"RETURN\",Blockly.JavaScript.ORDER_NONE)||\"\")&&(d=\"  return \"+d+\";\\n\");for(var e=[],f=0;f<a.arguments_.length;f++)e[f]=Blockly.JavaScript.variableDB_.getName(a.arguments_[f],Blockly.Variables.NAME_TYPE);c=\"function \"+b+\"(\"+e.join(\", \")+\") {\\n\"+c+d+\"}\";c=Blockly.JavaScript.scrub_(a,c);Blockly.JavaScript.definitions_[\"%\"+b]=c;return null};Blockly.JavaScript.procedures_defnoreturn=Blockly.JavaScript.procedures_defreturn;\nBlockly.JavaScript.procedures_callreturn=function(a){for(var b=Blockly.JavaScript.variableDB_.getName(a.getFieldValue(\"NAME\"),Blockly.Procedures.NAME_TYPE),c=[],d=0;d<a.arguments_.length;d++)c[d]=Blockly.JavaScript.valueToCode(a,\"ARG\"+d,Blockly.JavaScript.ORDER_COMMA)||\"null\";return[b+\"(\"+c.join(\", \")+\")\",Blockly.JavaScript.ORDER_FUNCTION_CALL]};\nBlockly.JavaScript.procedures_callnoreturn=function(a){for(var b=Blockly.JavaScript.variableDB_.getName(a.getFieldValue(\"NAME\"),Blockly.Procedures.NAME_TYPE),c=[],d=0;d<a.arguments_.length;d++)c[d]=Blockly.JavaScript.valueToCode(a,\"ARG\"+d,Blockly.JavaScript.ORDER_COMMA)||\"null\";return b+\"(\"+c.join(\", \")+\");\\n\"};\nBlockly.JavaScript.procedures_ifreturn=function(a){var b=\"if (\"+(Blockly.JavaScript.valueToCode(a,\"CONDITION\",Blockly.JavaScript.ORDER_NONE)||\"false\")+\") {\\n\";a.hasReturnValue_?(a=Blockly.JavaScript.valueToCode(a,\"VALUE\",Blockly.JavaScript.ORDER_NONE)||\"null\",b+=\"  return \"+a+\";\\n\"):b+=\"  return;\\n\";return b+\"}\\n\"};Blockly.JavaScript.texts={};Blockly.JavaScript.text=function(a){return[Blockly.JavaScript.quote_(a.getFieldValue(\"TEXT\")),Blockly.JavaScript.ORDER_ATOMIC]};\nBlockly.JavaScript.text_join=function(a){switch(a.itemCount_){case 0:return[\"''\",Blockly.JavaScript.ORDER_ATOMIC];case 1:return[\"String(\"+(Blockly.JavaScript.valueToCode(a,\"ADD0\",Blockly.JavaScript.ORDER_NONE)||\"''\")+\")\",Blockly.JavaScript.ORDER_FUNCTION_CALL];case 2:var b=Blockly.JavaScript.valueToCode(a,\"ADD0\",Blockly.JavaScript.ORDER_NONE)||\"''\";a=Blockly.JavaScript.valueToCode(a,\"ADD1\",Blockly.JavaScript.ORDER_NONE)||\"''\";return[\"String(\"+b+\") + String(\"+a+\")\",Blockly.JavaScript.ORDER_ADDITION];\ndefault:b=Array(a.itemCount_);for(var c=0;c<a.itemCount_;c++)b[c]=Blockly.JavaScript.valueToCode(a,\"ADD\"+c,Blockly.JavaScript.ORDER_COMMA)||\"''\";a=\"[\"+b.join(\",\")+\"].join('')\";return[a,Blockly.JavaScript.ORDER_FUNCTION_CALL]}};Blockly.JavaScript.text_append=function(a){var b=Blockly.JavaScript.variableDB_.getName(a.getFieldValue(\"VAR\"),Blockly.Variables.NAME_TYPE);a=Blockly.JavaScript.valueToCode(a,\"TEXT\",Blockly.JavaScript.ORDER_NONE)||\"''\";return b+\" = String(\"+b+\") + String(\"+a+\");\\n\"};\nBlockly.JavaScript.text_length=function(a){return[(Blockly.JavaScript.valueToCode(a,\"VALUE\",Blockly.JavaScript.ORDER_FUNCTION_CALL)||\"''\")+\".length\",Blockly.JavaScript.ORDER_MEMBER]};Blockly.JavaScript.text_isEmpty=function(a){return[\"!\"+(Blockly.JavaScript.valueToCode(a,\"VALUE\",Blockly.JavaScript.ORDER_MEMBER)||\"''\")+\".length\",Blockly.JavaScript.ORDER_LOGICAL_NOT]};\nBlockly.JavaScript.text_indexOf=function(a){var b=\"FIRST\"==a.getFieldValue(\"END\")?\"indexOf\":\"lastIndexOf\",c=Blockly.JavaScript.valueToCode(a,\"FIND\",Blockly.JavaScript.ORDER_NONE)||\"''\";b=(Blockly.JavaScript.valueToCode(a,\"VALUE\",Blockly.JavaScript.ORDER_MEMBER)||\"''\")+\".\"+b+\"(\"+c+\")\";return a.workspace.options.oneBasedIndex?[b+\" + 1\",Blockly.JavaScript.ORDER_ADDITION]:[b,Blockly.JavaScript.ORDER_FUNCTION_CALL]};\nBlockly.JavaScript.text_charAt=function(a){var b=a.getFieldValue(\"WHERE\")||\"FROM_START\",c=Blockly.JavaScript.valueToCode(a,\"VALUE\",\"RANDOM\"==b?Blockly.JavaScript.ORDER_NONE:Blockly.JavaScript.ORDER_MEMBER)||\"''\";switch(b){case \"FIRST\":return[c+\".charAt(0)\",Blockly.JavaScript.ORDER_FUNCTION_CALL];case \"LAST\":return[c+\".slice(-1)\",Blockly.JavaScript.ORDER_FUNCTION_CALL];case \"FROM_START\":return a=Blockly.JavaScript.getAdjusted(a,\"AT\"),[c+\".charAt(\"+a+\")\",Blockly.JavaScript.ORDER_FUNCTION_CALL];case \"FROM_END\":return a=\nBlockly.JavaScript.getAdjusted(a,\"AT\",1,!0),[c+\".slice(\"+a+\").charAt(0)\",Blockly.JavaScript.ORDER_FUNCTION_CALL];case \"RANDOM\":return[Blockly.JavaScript.provideFunction_(\"textRandomLetter\",[\"function \"+Blockly.JavaScript.FUNCTION_NAME_PLACEHOLDER_+\"(text) {\",\"  var x = Math.floor(Math.random() * text.length);\",\"  return text[x];\",\"}\"])+\"(\"+c+\")\",Blockly.JavaScript.ORDER_FUNCTION_CALL]}throw\"Unhandled option (text_charAt).\";};\nBlockly.JavaScript.text.getIndex_=function(a,b,c){return\"FIRST\"==b?\"0\":\"FROM_END\"==b?a+\".length - 1 - \"+c:\"LAST\"==b?a+\".length - 1\":c};\nBlockly.JavaScript.text_getSubstring=function(a){var b=Blockly.JavaScript.valueToCode(a,\"STRING\",Blockly.JavaScript.ORDER_FUNCTION_CALL)||\"''\",c=a.getFieldValue(\"WHERE1\"),d=a.getFieldValue(\"WHERE2\");if(\"FIRST\"!=c||\"LAST\"!=d)if(b.match(/^'?\\w+'?$/)||\"FROM_END\"!=c&&\"LAST\"!=c&&\"FROM_END\"!=d&&\"LAST\"!=d){switch(c){case \"FROM_START\":var e=Blockly.JavaScript.getAdjusted(a,\"AT1\");break;case \"FROM_END\":e=Blockly.JavaScript.getAdjusted(a,\"AT1\",1,!1,Blockly.JavaScript.ORDER_SUBTRACTION);e=b+\".length - \"+e;break;\ncase \"FIRST\":e=\"0\";break;default:throw\"Unhandled option (text_getSubstring).\";}switch(d){case \"FROM_START\":a=Blockly.JavaScript.getAdjusted(a,\"AT2\",1);break;case \"FROM_END\":a=Blockly.JavaScript.getAdjusted(a,\"AT2\",0,!1,Blockly.JavaScript.ORDER_SUBTRACTION);a=b+\".length - \"+a;break;case \"LAST\":a=b+\".length\";break;default:throw\"Unhandled option (text_getSubstring).\";}b=b+\".slice(\"+e+\", \"+a+\")\"}else{e=Blockly.JavaScript.getAdjusted(a,\"AT1\");a=Blockly.JavaScript.getAdjusted(a,\"AT2\");var f=Blockly.JavaScript.text.getIndex_,\ng={FIRST:\"First\",LAST:\"Last\",FROM_START:\"FromStart\",FROM_END:\"FromEnd\"};b=Blockly.JavaScript.provideFunction_(\"subsequence\"+g[c]+g[d],[\"function \"+Blockly.JavaScript.FUNCTION_NAME_PLACEHOLDER_+\"(sequence\"+(\"FROM_END\"==c||\"FROM_START\"==c?\", at1\":\"\")+(\"FROM_END\"==d||\"FROM_START\"==d?\", at2\":\"\")+\") {\",\"  var start = \"+f(\"sequence\",c,\"at1\")+\";\",\"  var end = \"+f(\"sequence\",d,\"at2\")+\" + 1;\",\"  return sequence.slice(start, end);\",\"}\"])+\"(\"+b+(\"FROM_END\"==c||\"FROM_START\"==c?\", \"+e:\"\")+(\"FROM_END\"==d||\"FROM_START\"==\nd?\", \"+a:\"\")+\")\"}return[b,Blockly.JavaScript.ORDER_FUNCTION_CALL]};\nBlockly.JavaScript.text_changeCase=function(a){var b={UPPERCASE:\".toUpperCase()\",LOWERCASE:\".toLowerCase()\",TITLECASE:null}[a.getFieldValue(\"CASE\")];a=Blockly.JavaScript.valueToCode(a,\"TEXT\",b?Blockly.JavaScript.ORDER_MEMBER:Blockly.JavaScript.ORDER_NONE)||\"''\";return[b?a+b:Blockly.JavaScript.provideFunction_(\"textToTitleCase\",[\"function \"+Blockly.JavaScript.FUNCTION_NAME_PLACEHOLDER_+\"(str) {\",\"  return str.replace(/\\\\S+/g,\",\"      function(txt) {return txt[0].toUpperCase() + txt.substring(1).toLowerCase();});\",\"}\"])+\n\"(\"+a+\")\",Blockly.JavaScript.ORDER_FUNCTION_CALL]};Blockly.JavaScript.text_trim=function(a){var b={LEFT:\".replace(/^[\\\\s\\\\xa0]+/, '')\",RIGHT:\".replace(/[\\\\s\\\\xa0]+$/, '')\",BOTH:\".trim()\"}[a.getFieldValue(\"MODE\")];return[(Blockly.JavaScript.valueToCode(a,\"TEXT\",Blockly.JavaScript.ORDER_MEMBER)||\"''\")+b,Blockly.JavaScript.ORDER_FUNCTION_CALL]};Blockly.JavaScript.text_print=function(a){return\"window.alert(\"+(Blockly.JavaScript.valueToCode(a,\"TEXT\",Blockly.JavaScript.ORDER_NONE)||\"''\")+\");\\n\"};\nBlockly.JavaScript.text_prompt_ext=function(a){var b=\"window.prompt(\"+(a.getField(\"TEXT\")?Blockly.JavaScript.quote_(a.getFieldValue(\"TEXT\")):Blockly.JavaScript.valueToCode(a,\"TEXT\",Blockly.JavaScript.ORDER_NONE)||\"''\")+\")\";\"NUMBER\"==a.getFieldValue(\"TYPE\")&&(b=\"parseFloat(\"+b+\")\");return[b,Blockly.JavaScript.ORDER_FUNCTION_CALL]};Blockly.JavaScript.text_prompt=Blockly.JavaScript.text_prompt_ext;\nBlockly.JavaScript.text_count=function(a){var b=Blockly.JavaScript.valueToCode(a,\"TEXT\",Blockly.JavaScript.ORDER_MEMBER)||\"''\";a=Blockly.JavaScript.valueToCode(a,\"SUB\",Blockly.JavaScript.ORDER_NONE)||\"''\";return[Blockly.JavaScript.provideFunction_(\"textCount\",[\"function \"+Blockly.JavaScript.FUNCTION_NAME_PLACEHOLDER_+\"(haystack, needle) {\",\"  if (needle.length === 0) {\",\"    return haystack.length + 1;\",\"  } else {\",\"    return haystack.split(needle).length - 1;\",\"  }\",\"}\"])+\"(\"+b+\", \"+a+\")\",Blockly.JavaScript.ORDER_SUBTRACTION]};\nBlockly.JavaScript.text_replace=function(a){var b=Blockly.JavaScript.valueToCode(a,\"TEXT\",Blockly.JavaScript.ORDER_MEMBER)||\"''\",c=Blockly.JavaScript.valueToCode(a,\"FROM\",Blockly.JavaScript.ORDER_NONE)||\"''\";a=Blockly.JavaScript.valueToCode(a,\"TO\",Blockly.JavaScript.ORDER_NONE)||\"''\";return[Blockly.JavaScript.provideFunction_(\"textReplace\",[\"function \"+Blockly.JavaScript.FUNCTION_NAME_PLACEHOLDER_+\"(haystack, needle, replacement) {\",'  needle = needle.replace(/([-()\\\\[\\\\]{}+?*.$\\\\^|,:#<!\\\\\\\\])/g,\"\\\\\\\\$1\")',\n'                 .replace(/\\\\x08/g,\"\\\\\\\\x08\");',\"  return haystack.replace(new RegExp(needle, 'g'), replacement);\",\"}\"])+\"(\"+b+\", \"+c+\", \"+a+\")\",Blockly.JavaScript.ORDER_MEMBER]};Blockly.JavaScript.text_reverse=function(a){return[(Blockly.JavaScript.valueToCode(a,\"TEXT\",Blockly.JavaScript.ORDER_MEMBER)||\"''\")+\".split('').reverse().join('')\",Blockly.JavaScript.ORDER_MEMBER]};Blockly.JavaScript.variables={};Blockly.JavaScript.variables_get=function(a){return[Blockly.JavaScript.variableDB_.getName(a.getFieldValue(\"VAR\"),Blockly.Variables.NAME_TYPE),Blockly.JavaScript.ORDER_ATOMIC]};Blockly.JavaScript.variables_set=function(a){var b=Blockly.JavaScript.valueToCode(a,\"VALUE\",Blockly.JavaScript.ORDER_ASSIGNMENT)||\"0\";return Blockly.JavaScript.variableDB_.getName(a.getFieldValue(\"VAR\"),Blockly.Variables.NAME_TYPE)+\" = \"+b+\";\\n\"};","(function() {\n  define('ember-cli-shims/deprecations', [], function() {\n    var values = {\"ember-application\":{\"default\":[\"@ember/application\"]},\"ember-array\":{\"default\":[\"@ember/array\"]},\"ember-array/mutable\":{\"default\":[\"@ember/array/mutable\"]},\"ember-array/utils\":{\"A\":[\"@ember/array\",\"A\"],\"isEmberArray\":[\"@ember/array\",\"isArray\"],\"wrap\":[\"@ember/array\",\"makeArray\"]},\"ember-component\":{\"default\":[\"@ember/component\"]},\"ember-components/checkbox\":{\"default\":[\"@ember/component/checkbox\"]},\"ember-components/text-area\":{\"default\":[\"@ember/component/text-area\"]},\"ember-components/text-field\":{\"default\":[\"@ember/component/text-field\"]},\"ember-computed\":{\"default\":[\"@ember/object\",\"computed\"],\"alias\":[\"@ember/object/computed\",\"alias\"],\"and\":[\"@ember/object/computed\",\"and\"],\"bool\":[\"@ember/object/computed\",\"bool\"],\"collect\":[\"@ember/object/computed\",\"collect\"],\"deprecatingAlias\":[\"@ember/object/computed\",\"deprecatingAlias\"],\"empty\":[\"@ember/object/computed\",\"empty\"],\"equal\":[\"@ember/object/computed\",\"equal\"],\"filter\":[\"@ember/object/computed\",\"filter\"],\"filterBy\":[\"@ember/object/computed\",\"filterBy\"],\"filterProperty\":[\"@ember/object/computed\",\"filterProperty\"],\"gt\":[\"@ember/object/computed\",\"gt\"],\"gte\":[\"@ember/object/computed\",\"gte\"],\"intersect\":[\"@ember/object/computed\",\"intersect\"],\"lt\":[\"@ember/object/computed\",\"lt\"],\"lte\":[\"@ember/object/computed\",\"lte\"],\"map\":[\"@ember/object/computed\",\"map\"],\"mapBy\":[\"@ember/object/computed\",\"mapBy\"],\"mapProperty\":[\"@ember/object/computed\",\"mapProperty\"],\"match\":[\"@ember/object/computed\",\"match\"],\"max\":[\"@ember/object/computed\",\"max\"],\"min\":[\"@ember/object/computed\",\"min\"],\"none\":[\"@ember/object/computed\",\"none\"],\"not\":[\"@ember/object/computed\",\"not\"],\"notEmpty\":[\"@ember/object/computed\",\"notEmpty\"],\"oneWay\":[\"@ember/object/computed\",\"oneWay\"],\"or\":[\"@ember/object/computed\",\"or\"],\"readOnly\":[\"@ember/object/computed\",\"readOnly\"],\"reads\":[\"@ember/object/computed\",\"reads\"],\"setDiff\":[\"@ember/object/computed\",\"setDiff\"],\"sort\":[\"@ember/object/computed\",\"sort\"],\"sum\":[\"@ember/object/computed\",\"sum\"],\"union\":[\"@ember/object/computed\",\"union\"],\"uniq\":[\"@ember/object/computed\",\"uniq\"]},\"ember-controller\":{\"default\":[\"@ember/controller\"]},\"ember-controller/inject\":{\"default\":[\"@ember/controller\",\"inject\"]},\"ember-controller/proxy\":{\"default\":[\"@ember/array/proxy\"]},\"ember-debug\":{\"inspect\":[\"@ember/debug\",\"inspect\"],\"log\":[\"@ember/debug\",\"debug\"],\"run\":[\"@ember/debug\",\"runInDebug\"],\"warn\":[\"@ember/debug\",\"warn\"]},\"ember-debug/container-debug-adapter\":{\"default\":[\"@ember/debug/container-debug-adapter\"]},\"ember-debug/data-adapter\":{\"default\":[\"@ember/debug/data-adapter\"]},\"ember-deprecations\":{\"deprecate\":[\"@ember/application/deprecations\",\"deprecate\"],\"deprecateFunc\":[\"@ember/application/deprecations\",\"deprecateFunc\"]},\"ember-enumerable\":{\"default\":[\"@ember/enumerable\"]},\"ember-evented\":{\"default\":[\"@ember/object/evented\"]},\"ember-evented/on\":{\"default\":[\"@ember/object/evented\",\"on\"]},\"ember-globals-resolver\":{\"default\":[\"@ember/application/globals-resolver\"]},\"ember-helper\":{\"default\":[\"@ember/component/helper\"],\"helper\":[\"@ember/component/helper\",\"helper\"]},\"ember-instrumentation\":{\"instrument\":[\"@ember/instrumentation\",\"instrument\"],\"reset\":[\"@ember/instrumentation\",\"reset\"],\"subscribe\":[\"@ember/instrumentation\",\"subscribe\"],\"unsubscribe\":[\"@ember/instrumentation\",\"unsubscribe\"]},\"ember-locations/hash\":{\"default\":[\"@ember/routing/hash-location\"]},\"ember-locations/history\":{\"default\":[\"@ember/routing/history-location\"]},\"ember-locations/none\":{\"default\":[\"@ember/routing/none-location\"]},\"ember-map\":{\"default\":[\"@ember/map\"],\"withDefault\":[\"@ember/map/with-default\"]},\"ember-metal/events\":{\"addListener\":[\"@ember/object/events\",\"addListener\"],\"removeListener\":[\"@ember/object/events\",\"removeListener\"],\"send\":[\"@ember/object/events\",\"sendEvent\"]},\"ember-metal/get\":{\"default\":[\"@ember/object\",\"get\"],\"getProperties\":[\"@ember/object\",\"getProperties\"]},\"ember-metal/mixin\":{\"default\":[\"@ember/object/mixin\"]},\"ember-metal/observer\":{\"default\":[\"@ember/object\",\"observer\"],\"addObserver\":[\"@ember/object/observers\",\"addObserver\"],\"removeObserver\":[\"@ember/object/observers\",\"removeObserver\"]},\"ember-metal/on-load\":{\"default\":[\"@ember/application\",\"onLoad\"],\"run\":[\"@ember/application\",\"runLoadHooks\"]},\"ember-metal/set\":{\"default\":[\"@ember/object\",\"set\"],\"setProperties\":[\"@ember/object\",\"setProperties\"],\"trySet\":[\"@ember/object\",\"trySet\"]},\"ember-metal/utils\":{\"aliasMethod\":[\"@ember/object\",\"aliasMethod\"],\"assert\":[\"@ember/debug\",\"assert\"],\"cacheFor\":[\"@ember/object/internals\",\"cacheFor\"],\"copy\":[\"@ember/object/internals\",\"copy\"],\"guidFor\":[\"@ember/object/internals\",\"guidFor\"]},\"ember-object\":{\"default\":[\"@ember/object\"]},\"ember-owner/get\":{\"default\":[\"@ember/application\",\"getOwner\"]},\"ember-owner/set\":{\"default\":[\"@ember/application\",\"setOwner\"]},\"ember-platform\":{\"assign\":[\"@ember/polyfills\",\"assign\"],\"create\":[\"@ember/polyfills\",\"create\"],\"hasAccessors\":[\"@ember/polyfills\",\"hasPropertyAccessors\"],\"keys\":[\"@ember/polyfills\",\"keys\"]},\"ember-route\":{\"default\":[\"@ember/routing/route\"]},\"ember-router\":{\"default\":[\"@ember/routing/router\"]},\"ember-runloop\":{\"default\":[\"@ember/runloop\",\"run\"],\"begin\":[\"@ember/runloop\",\"begin\"],\"bind\":[\"@ember/runloop\",\"bind\"],\"cancel\":[\"@ember/runloop\",\"cancel\"],\"debounce\":[\"@ember/runloop\",\"debounce\"],\"end\":[\"@ember/runloop\",\"end\"],\"join\":[\"@ember/runloop\",\"join\"],\"later\":[\"@ember/runloop\",\"later\"],\"next\":[\"@ember/runloop\",\"next\"],\"once\":[\"@ember/runloop\",\"once\"],\"schedule\":[\"@ember/runloop\",\"schedule\"],\"scheduleOnce\":[\"@ember/runloop\",\"scheduleOnce\"],\"throttle\":[\"@ember/runloop\",\"throttle\"]},\"ember-service\":{\"default\":[\"@ember/service\"]},\"ember-service/inject\":{\"default\":[\"@ember/service\",\"inject\"]},\"ember-string\":{\"camelize\":[\"@ember/string\",\"camelize\"],\"capitalize\":[\"@ember/string\",\"capitalize\"],\"classify\":[\"@ember/string\",\"classify\"],\"dasherize\":[\"@ember/string\",\"dasherize\"],\"decamelize\":[\"@ember/string\",\"decamelize\"],\"fmt\":[\"@ember/string\",\"fmt\"],\"htmlSafe\":[\"@ember/string\",\"htmlSafe\"],\"loc\":[\"@ember/string\",\"loc\"],\"underscore\":[\"@ember/string\",\"underscore\"],\"w\":[\"@ember/string\",\"w\"]},\"ember-test/adapter\":{\"default\":[\"@ember/test/adapter\"]},\"ember-utils\":{\"isBlank\":[\"@ember/utils\",\"isBlank\"],\"isEmpty\":[\"@ember/utils\",\"isEmpty\"],\"isNone\":[\"@ember/utils\",\"isNone\"],\"isPresent\":[\"@ember/utils\",\"isPresent\"],\"tryInvoke\":[\"@ember/utils\",\"tryInvoke\"],\"typeOf\":[\"@ember/utils\",\"typeOf\"]}};\n    \n    Object.defineProperty(values, '__esModule', {\n      value: true\n    });\n\n    return values;\n  });\n})();","(function() {\n/* globals define, Ember, jQuery */\n\n  function processEmberShims() {\n    var shims = {\n      'ember-application': {\n        'default': Ember.Application\n      },\n      'ember-array': {\n        'default': Ember.Array\n      },\n      'ember-array/mutable': {\n        'default': Ember.MutableArray\n      },\n      'ember-array/utils': {\n        'A':            Ember.A,\n        'isEmberArray': Ember.isArray,\n        'wrap':         Ember.makeArray\n      },\n      'ember-component': {\n        'default': Ember.Component\n      },\n      'ember-components/checkbox': {\n        'default': Ember.Checkbox\n      },\n      'ember-components/text-area': {\n        'default': Ember.TextArea\n      },\n      'ember-components/text-field': {\n        'default': Ember.TextField\n      },\n      'ember-controller': {\n        'default': Ember.Controller\n      },\n      'ember-controller/inject': {\n        'default': Ember.inject.controller\n      },\n      'ember-controller/proxy': {\n        'default': Ember.ArrayProxy\n      },\n      'ember-controllers/sortable': {\n        'default': Ember.SortableMixin\n      },\n      'ember-debug': {\n        'log':      Ember.debug,\n        'inspect':  Ember.inspect,\n        'run':      Ember.runInDebug,\n        'warn':     Ember.warn\n      },\n      'ember-debug/container-debug-adapter': {\n        'default': Ember.ContainerDebugAdapter\n      },\n      'ember-debug/data-adapter': {\n        'default': Ember.DataAdapter\n      },\n      'ember-deprecations': {\n        'deprecate':      Ember.deprecate,\n        'deprecateFunc':  Ember.deprecateFunc\n      },\n      'ember-enumerable': {\n        'default': Ember.Enumerable\n      },\n      'ember-evented': {\n        'default': Ember.Evented\n      },\n      'ember-evented/on': {\n        'default': Ember.on\n      },\n      'ember-globals-resolver': {\n        'default': Ember.DefaultResolver\n      },\n      'ember-helper': {\n        'default':  Ember.Helper,\n        'helper':   Ember.Helper && Ember.Helper.helper\n      },\n      'ember-instrumentation': {\n        'instrument':   Ember.Instrumentation.instrument,\n        'reset':        Ember.Instrumentation.reset,\n        'subscribe':    Ember.Instrumentation.subscribe,\n        'unsubscribe':  Ember.Instrumentation.unsubscribe\n      },\n      'ember-locations/hash': {\n        'default': Ember.HashLocation\n      },\n      'ember-locations/history': {\n        'default': Ember.HistoryLocation\n      },\n      'ember-locations/none': {\n        'default': Ember.NoneLocation\n      },\n      'ember-map': {\n        'default':      Ember.Map,\n        'withDefault':  Ember.MapWithDefault\n      },\n      'ember-metal/destroy': {\n        'default': Ember.destroy\n      },\n      'ember-metal/events': {\n        'addListener':    Ember.addListener,\n        'removeListener': Ember.removeListener,\n        'send':           Ember.sendEvent\n      },\n      'ember-metal/get': {\n        'default': Ember.get,\n        'getProperties': Ember.getProperties\n      },\n      'ember-metal/mixin': {\n        'default': Ember.Mixin\n      },\n      'ember-metal/observer': {\n        'default':        Ember.observer,\n        'addObserver':    Ember.addObserver,\n        'removeObserver': Ember.removeObserver\n      },\n      'ember-metal/on-load': {\n        'default':  Ember.onLoad,\n        'run':      Ember.runLoadHooks\n      },\n      'ember-metal/set': {\n        'default':        Ember.set,\n        'setProperties':  Ember.setProperties,\n        'trySet':         Ember.trySet\n      },\n      'ember-metal/utils': {\n        'aliasMethod':  Ember.aliasMethod,\n        'assert':       Ember.assert,\n        'cacheFor':     Ember.cacheFor,\n        'copy':         Ember.copy,\n        'guidFor':      Ember.guidFor\n      },\n      'ember-object': {\n        'default': Ember.Object\n      },\n      'ember-owner/get': {\n        'default': Ember.getOwner\n      },\n      'ember-owner/set': {\n        'default': Ember.setOwner\n      },\n      'ember-platform': {\n        'assign':         Ember.assign || Ember.merge,\n        'create':         Ember.create,\n        'defineProperty': Ember.platform.defineProperty,\n        'hasAccessors':   Ember.platform.hasPropertyAccessors,\n        'keys':           Ember.keys\n      },\n      'ember-route': {\n        'default': Ember.Route\n      },\n      'ember-router': {\n        'default': Ember.Router\n      },\n      'ember-runloop': {\n        'default':      Ember.run,\n        'begin':        Ember.run.begin,\n        'bind':         Ember.run.bind,\n        'cancel':       Ember.run.cancel,\n        'debounce':     Ember.run.debounce,\n        'end':          Ember.run.end,\n        'join':         Ember.run.join,\n        'later':        Ember.run.later,\n        'next':         Ember.run.next,\n        'once':         Ember.run.once,\n        'schedule':     Ember.run.schedule,\n        'scheduleOnce': Ember.run.scheduleOnce,\n        'throttle':     Ember.run.throttle\n      },\n      'ember-service': {\n        'default': Ember.Service\n      },\n      'ember-service/inject': {\n        'default': Ember.inject.service\n      },\n      'ember-set/ordered': {\n        'default': Ember.OrderedSet\n      },\n      'ember-string': {\n        'camelize':     Ember.String.camelize,\n        'capitalize':   Ember.String.capitalize,\n        'classify':     Ember.String.classify,\n        'dasherize':    Ember.String.dasherize,\n        'decamelize':   Ember.String.decamelize,\n        'fmt':          Ember.String.fmt,\n        'htmlSafe':     Ember.String.htmlSafe,\n        'loc':          Ember.String.loc,\n        'underscore':   Ember.String.underscore,\n        'w':            Ember.String.w\n      },\n      'ember-utils': {\n        'isBlank':    Ember.isBlank,\n        'isEmpty':    Ember.isEmpty,\n        'isNone':     Ember.isNone,\n        'isPresent':  Ember.isPresent,\n        'tryInvoke':  Ember.tryInvoke,\n        'typeOf':     Ember.typeOf\n      }\n    };\n\n    // populate `ember/computed` named exports\n    shims['ember-computed'] = {\n      'default': Ember.computed\n    };\n    var computedMacros = [\n      \"empty\",\"notEmpty\", \"none\", \"not\", \"bool\", \"match\",\n      \"equal\", \"gt\", \"gte\", \"lt\", \"lte\", \"alias\", \"oneWay\",\n      \"reads\", \"readOnly\", \"deprecatingAlias\",\n      \"and\", \"or\", \"collect\", \"sum\", \"min\", \"max\",\n      \"map\", \"sort\", \"setDiff\", \"mapBy\", \"mapProperty\",\n      \"filter\", \"filterBy\", \"filterProperty\", \"uniq\",\n      \"union\", \"intersect\"\n    ];\n    for (var i = 0, l = computedMacros.length; i < l; i++) {\n      var key = computedMacros[i];\n      shims['ember-computed'][key] = Ember.computed[key];\n    }\n\n    for (var moduleName in shims) {\n      generateModule(moduleName, shims[moduleName], true);\n    }\n  }\n\n  function processTestShims() {\n    if (Ember.Test) {\n      var testShims = {\n        'ember-test': {\n          'default': Ember.Test\n        },\n        'ember-test/adapter': {\n          'default': Ember.Test.Adapter\n        },\n        'ember-test/qunit-adapter': {\n          'default': Ember.Test.QUnitAdapter\n        }\n      };\n\n      for (var moduleName in testShims) {\n        generateModule(moduleName, testShims[moduleName]);\n      }\n    }\n  }\n\n  function generateModule(name, values, deprecated) {\n    define(name, ['ember-cli-shims/deprecations'], function(deprecations) {\n      'use strict';\n\n      if (deprecated) {\n        var moduleDeprecations = deprecations[name];\n\n        var message = 'Importing from the `' + name + '` module has been deprecated. ';\n        if (moduleDeprecations) {\n          message += 'Please use the new module imports:\\n\\n';\n          Object.keys(moduleDeprecations).forEach(function(key) {\n            var newImport = moduleDeprecations[key];\n            if (newImport[1]) {\n              message += 'import { ' + newImport[1] + ' } from \\'' + newImport[0] + '\\'\\n';\n            } else {\n              var importName = Ember.String.classify(newImport[0].split('/').pop());\n              message += 'import ' + importName + ' from \\'' + newImport[0] + '\\'\\n';\n            }\n          });\n          message += '\\n';\n\n        } else {\n          message += 'Please use globals instead.';\n        }\n\n        Ember.deprecate(message, false, {\n          id: 'ember-cli-shims.deprecated-shims',\n          until: '3.0.0',\n          url: 'https://github.com/emberjs/rfcs/blob/master/text/0176-javascript-module-api.md'\n        });\n      }\n\n      Object.defineProperty(values, '__esModule', {\n        value: true\n      });\n\n      return values;\n    });\n  }\n\n  generateModule('ember', { default: Ember });\n  processEmberShims();\n  processTestShims();\n  generateModule('jquery', { 'default': self.jQuery });\n  generateModule('rsvp', { 'default': Ember.RSVP });\n})();\n","/* @preserve\n * The MIT License (MIT)\n * \n * Copyright (c) 2013-2018 Petka Antonov\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n * \n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n * \n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n * \n */\n/**\n * bluebird build version 3.5.5\n * Features enabled: core, race, call_get, generators, map, nodeify, promisify, props, reduce, settle, some, using, timers, filter, any, each\n*/\n!function(t){if(\"object\"==typeof exports&&\"undefined\"!=typeof module)module.exports=t();else if(\"function\"==typeof define&&define.amd)define([],t);else{var e;\"undefined\"!=typeof window?e=window:\"undefined\"!=typeof global?e=global:\"undefined\"!=typeof self&&(e=self),e.Promise=t()}}(function(){var t,e,n;return function r(t,e,n){function i(s,a){if(!e[s]){if(!t[s]){var c=\"function\"==typeof _dereq_&&_dereq_;if(!a&&c)return c(s,!0);if(o)return o(s,!0);var l=new Error(\"Cannot find module '\"+s+\"'\");throw l.code=\"MODULE_NOT_FOUND\",l}var u=e[s]={exports:{}};t[s][0].call(u.exports,function(e){var n=t[s][1][e];return i(n?n:e)},u,u.exports,r,t,e,n)}return e[s].exports}for(var o=\"function\"==typeof _dereq_&&_dereq_,s=0;s<n.length;s++)i(n[s]);return i}({1:[function(t,e,n){\"use strict\";e.exports=function(t){function e(t){var e=new n(t),r=e.promise();return e.setHowMany(1),e.setUnwrap(),e.init(),r}var n=t._SomePromiseArray;t.any=function(t){return e(t)},t.prototype.any=function(){return e(this)}}},{}],2:[function(t,e,n){\"use strict\";function r(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new h(16),this._normalQueue=new h(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var t=this;this.drainQueues=function(){t._drainQueues()},this._schedule=p}function i(t,e,n){this._lateQueue.push(t,e,n),this._queueTick()}function o(t,e,n){this._normalQueue.push(t,e,n),this._queueTick()}function s(t){this._normalQueue._pushOne(t),this._queueTick()}function a(t){for(;t.length()>0;)c(t)}function c(t){var e=t.shift();if(\"function\"!=typeof e)e._settlePromises();else{var n=t.shift(),r=t.shift();e.call(n,r)}}var l;try{throw new Error}catch(u){l=u}var p=t(\"./schedule\"),h=t(\"./queue\"),f=t(\"./util\");r.prototype.setScheduler=function(t){var e=this._schedule;return this._schedule=t,this._customScheduler=!0,e},r.prototype.hasCustomScheduler=function(){return this._customScheduler},r.prototype.enableTrampoline=function(){this._trampolineEnabled=!0},r.prototype.disableTrampolineIfNecessary=function(){f.hasDevTools&&(this._trampolineEnabled=!1)},r.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues},r.prototype.fatalError=function(t,e){e?(process.stderr.write(\"Fatal \"+(t instanceof Error?t.stack:t)+\"\\n\"),process.exit(2)):this.throwLater(t)},r.prototype.throwLater=function(t,e){if(1===arguments.length&&(e=t,t=function(){throw e}),\"undefined\"!=typeof setTimeout)setTimeout(function(){t(e)},0);else try{this._schedule(function(){t(e)})}catch(n){throw new Error(\"No async scheduler available\\n\\n    See http://goo.gl/MqrFmX\\n\")}},f.hasDevTools?(r.prototype.invokeLater=function(t,e,n){this._trampolineEnabled?i.call(this,t,e,n):this._schedule(function(){setTimeout(function(){t.call(e,n)},100)})},r.prototype.invoke=function(t,e,n){this._trampolineEnabled?o.call(this,t,e,n):this._schedule(function(){t.call(e,n)})},r.prototype.settlePromises=function(t){this._trampolineEnabled?s.call(this,t):this._schedule(function(){t._settlePromises()})}):(r.prototype.invokeLater=i,r.prototype.invoke=o,r.prototype.settlePromises=s),r.prototype._drainQueues=function(){a(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,a(this._lateQueue)},r.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},r.prototype._reset=function(){this._isTickUsed=!1},e.exports=r,e.exports.firstLineError=l},{\"./queue\":26,\"./schedule\":29,\"./util\":36}],3:[function(t,e,n){\"use strict\";e.exports=function(t,e,n,r){var i=!1,o=function(t,e){this._reject(e)},s=function(t,e){e.promiseRejectionQueued=!0,e.bindingPromise._then(o,o,null,this,t)},a=function(t,e){0===(50397184&this._bitField)&&this._resolveCallback(e.target)},c=function(t,e){e.promiseRejectionQueued||this._reject(t)};t.prototype.bind=function(o){i||(i=!0,t.prototype._propagateFrom=r.propagateFromFunction(),t.prototype._boundValue=r.boundValueFunction());var l=n(o),u=new t(e);u._propagateFrom(this,1);var p=this._target();if(u._setBoundTo(l),l instanceof t){var h={promiseRejectionQueued:!1,promise:u,target:p,bindingPromise:l};p._then(e,s,void 0,u,h),l._then(a,c,void 0,u,h),u._setOnCancel(l)}else u._resolveCallback(p);return u},t.prototype._setBoundTo=function(t){void 0!==t?(this._bitField=2097152|this._bitField,this._boundTo=t):this._bitField=-2097153&this._bitField},t.prototype._isBound=function(){return 2097152===(2097152&this._bitField)},t.bind=function(e,n){return t.resolve(n).bind(e)}}},{}],4:[function(t,e,n){\"use strict\";function r(){try{Promise===o&&(Promise=i)}catch(t){}return o}var i;\"undefined\"!=typeof Promise&&(i=Promise);var o=t(\"./promise\")();o.noConflict=r,e.exports=o},{\"./promise\":22}],5:[function(t,e,n){\"use strict\";var r=Object.create;if(r){var i=r(null),o=r(null);i[\" size\"]=o[\" size\"]=0}e.exports=function(e){function n(t,n){var r;if(null!=t&&(r=t[n]),\"function\"!=typeof r){var i=\"Object \"+a.classString(t)+\" has no method '\"+a.toString(n)+\"'\";throw new e.TypeError(i)}return r}function r(t){var e=this.pop(),r=n(t,e);return r.apply(t,this)}function i(t){return t[this]}function o(t){var e=+this;return 0>e&&(e=Math.max(0,e+t.length)),t[e]}var s,a=t(\"./util\"),c=a.canEvaluate;a.isIdentifier;e.prototype.call=function(t){var e=[].slice.call(arguments,1);return e.push(t),this._then(r,void 0,void 0,e,void 0)},e.prototype.get=function(t){var e,n=\"number\"==typeof t;if(n)e=o;else if(c){var r=s(t);e=null!==r?r:i}else e=i;return this._then(e,void 0,void 0,t,void 0)}}},{\"./util\":36}],6:[function(t,e,n){\"use strict\";e.exports=function(e,n,r,i){var o=t(\"./util\"),s=o.tryCatch,a=o.errorObj,c=e._async;e.prototype[\"break\"]=e.prototype.cancel=function(){if(!i.cancellation())return this._warn(\"cancellation is disabled\");for(var t=this,e=t;t._isCancellable();){if(!t._cancelBy(e)){e._isFollowing()?e._followee().cancel():e._cancelBranched();break}var n=t._cancellationParent;if(null==n||!n._isCancellable()){t._isFollowing()?t._followee().cancel():t._cancelBranched();break}t._isFollowing()&&t._followee().cancel(),t._setWillBeCancelled(),e=t,t=n}},e.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},e.prototype._enoughBranchesHaveCancelled=function(){return void 0===this._branchesRemainingToCancel||this._branchesRemainingToCancel<=0},e.prototype._cancelBy=function(t){return t===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),this._enoughBranchesHaveCancelled()?(this._invokeOnCancel(),!0):!1)},e.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},e.prototype._cancel=function(){this._isCancellable()&&(this._setCancelled(),c.invoke(this._cancelPromises,this,void 0))},e.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},e.prototype._unsetOnCancel=function(){this._onCancelField=void 0},e.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},e.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},e.prototype._doInvokeOnCancel=function(t,e){if(o.isArray(t))for(var n=0;n<t.length;++n)this._doInvokeOnCancel(t[n],e);else if(void 0!==t)if(\"function\"==typeof t){if(!e){var r=s(t).call(this._boundValue());r===a&&(this._attachExtraTrace(r.e),c.throwLater(r.e))}}else t._resultCancelled(this)},e.prototype._invokeOnCancel=function(){var t=this._onCancel();this._unsetOnCancel(),c.invoke(this._doInvokeOnCancel,this,t)},e.prototype._invokeInternalOnCancel=function(){this._isCancellable()&&(this._doInvokeOnCancel(this._onCancel(),!0),this._unsetOnCancel())},e.prototype._resultCancelled=function(){this.cancel()}}},{\"./util\":36}],7:[function(t,e,n){\"use strict\";e.exports=function(e){function n(t,n,a){return function(c){var l=a._boundValue();t:for(var u=0;u<t.length;++u){var p=t[u];if(p===Error||null!=p&&p.prototype instanceof Error){if(c instanceof p)return o(n).call(l,c)}else if(\"function\"==typeof p){var h=o(p).call(l,c);if(h===s)return h;if(h)return o(n).call(l,c)}else if(r.isObject(c)){for(var f=i(p),_=0;_<f.length;++_){var d=f[_];if(p[d]!=c[d])continue t}return o(n).call(l,c)}}return e}}var r=t(\"./util\"),i=t(\"./es5\").keys,o=r.tryCatch,s=r.errorObj;return n}},{\"./es5\":13,\"./util\":36}],8:[function(t,e,n){\"use strict\";e.exports=function(t){function e(){this._trace=new e.CapturedTrace(r())}function n(){return i?new e:void 0}function r(){var t=o.length-1;return t>=0?o[t]:void 0}var i=!1,o=[];return t.prototype._promiseCreated=function(){},t.prototype._pushContext=function(){},t.prototype._popContext=function(){return null},t._peekContext=t.prototype._peekContext=function(){},e.prototype._pushContext=function(){void 0!==this._trace&&(this._trace._promiseCreated=null,o.push(this._trace))},e.prototype._popContext=function(){if(void 0!==this._trace){var t=o.pop(),e=t._promiseCreated;return t._promiseCreated=null,e}return null},e.CapturedTrace=null,e.create=n,e.deactivateLongStackTraces=function(){},e.activateLongStackTraces=function(){var n=t.prototype._pushContext,o=t.prototype._popContext,s=t._peekContext,a=t.prototype._peekContext,c=t.prototype._promiseCreated;e.deactivateLongStackTraces=function(){t.prototype._pushContext=n,t.prototype._popContext=o,t._peekContext=s,t.prototype._peekContext=a,t.prototype._promiseCreated=c,i=!1},i=!0,t.prototype._pushContext=e.prototype._pushContext,t.prototype._popContext=e.prototype._popContext,t._peekContext=t.prototype._peekContext=r,t.prototype._promiseCreated=function(){var t=this._peekContext();t&&null==t._promiseCreated&&(t._promiseCreated=this)}},e}},{}],9:[function(t,e,n){\"use strict\";e.exports=function(e,n){function r(t,e){return{promise:e}}function i(){return!1}function o(t,e,n){var r=this;try{t(e,n,function(t){if(\"function\"!=typeof t)throw new TypeError(\"onCancel must be a function, got: \"+H.toString(t));r._attachCancellationCallback(t)})}catch(i){return i}}function s(t){if(!this._isCancellable())return this;var e=this._onCancel();void 0!==e?H.isArray(e)?e.push(t):this._setOnCancel([e,t]):this._setOnCancel(t)}function a(){return this._onCancelField}function c(t){this._onCancelField=t}function l(){this._cancellationParent=void 0,this._onCancelField=void 0}function u(t,e){if(0!==(1&e)){this._cancellationParent=t;var n=t._branchesRemainingToCancel;void 0===n&&(n=0),t._branchesRemainingToCancel=n+1}0!==(2&e)&&t._isBound()&&this._setBoundTo(t._boundTo)}function p(t,e){0!==(2&e)&&t._isBound()&&this._setBoundTo(t._boundTo)}function h(){var t=this._boundTo;return void 0!==t&&t instanceof e?t.isFulfilled()?t.value():void 0:t}function f(){this._trace=new O(this._peekContext())}function _(t,e){if(U(t)){var n=this._trace;if(void 0!==n&&e&&(n=n._parent),void 0!==n)n.attachExtraTrace(t);else if(!t.__stackCleaned__){var r=E(t);H.notEnumerableProp(t,\"stack\",r.message+\"\\n\"+r.stack.join(\"\\n\")),H.notEnumerableProp(t,\"__stackCleaned__\",!0)}}}function d(){this._trace=void 0}function v(t,e,n,r,i){if(void 0===t&&null!==e&&J){if(void 0!==i&&i._returnedNonUndefined())return;if(0===(65535&r._bitField))return;n&&(n+=\" \");var o=\"\",s=\"\";if(e._trace){for(var a=e._trace.stack.split(\"\\n\"),c=C(a),l=c.length-1;l>=0;--l){var u=c[l];if(!q.test(u)){var p=u.match($);p&&(o=\"at \"+p[1]+\":\"+p[2]+\":\"+p[3]+\" \");break}}if(c.length>0)for(var h=c[0],l=0;l<a.length;++l)if(a[l]===h){l>0&&(s=\"\\n\"+a[l-1]);break}}var f=\"a promise was created in a \"+n+\"handler \"+o+\"but was not returned from it, see http://goo.gl/rRqMUw\"+s;r._warn(f,!0,e)}}function y(t,e){var n=t+\" is deprecated and will be removed in a future version.\";return e&&(n+=\" Use \"+e+\" instead.\"),m(n)}function m(t,n,r){if(at.warnings){var i,o=new N(t);if(n)r._attachExtraTrace(o);else if(at.longStackTraces&&(i=e._peekContext()))i.attachExtraTrace(o);else{var s=E(o);o.stack=s.message+\"\\n\"+s.stack.join(\"\\n\")}nt(\"warning\",o)||k(o,\"\",!0)}}function g(t,e){for(var n=0;n<e.length-1;++n)e[n].push(\"From previous event:\"),e[n]=e[n].join(\"\\n\");return n<e.length&&(e[n]=e[n].join(\"\\n\")),t+\"\\n\"+e.join(\"\\n\")}function b(t){for(var e=0;e<t.length;++e)(0===t[e].length||e+1<t.length&&t[e][0]===t[e+1][0])&&(t.splice(e,1),e--)}function w(t){for(var e=t[0],n=1;n<t.length;++n){for(var r=t[n],i=e.length-1,o=e[i],s=-1,a=r.length-1;a>=0;--a)if(r[a]===o){s=a;break}for(var a=s;a>=0;--a){var c=r[a];if(e[i]!==c)break;e.pop(),i--}e=r}}function C(t){for(var e=[],n=0;n<t.length;++n){var r=t[n],i=\"    (No stack trace)\"===r||Q.test(r),o=i&&it(r);i&&!o&&(z&&\" \"!==r.charAt(0)&&(r=\"    \"+r),e.push(r))}return e}function j(t){for(var e=t.stack.replace(/\\s+$/g,\"\").split(\"\\n\"),n=0;n<e.length;++n){var r=e[n];if(\"    (No stack trace)\"===r||Q.test(r))break}return n>0&&\"SyntaxError\"!=t.name&&(e=e.slice(n)),e}function E(t){var e=t.stack,n=t.toString();return e=\"string\"==typeof e&&e.length>0?j(t):[\"    (No stack trace)\"],{message:n,stack:\"SyntaxError\"==t.name?e:C(e)}}function k(t,e,n){if(\"undefined\"!=typeof console){var r;if(H.isObject(t)){var i=t.stack;r=e+G(i,t)}else r=e+String(t);\"function\"==typeof V?V(r,n):(\"function\"==typeof console.log||\"object\"==typeof console.log)&&console.log(r)}}function F(t,e,n,r){var i=!1;try{\"function\"==typeof e&&(i=!0,\"rejectionHandled\"===t?e(r):e(n,r))}catch(o){L.throwLater(o)}\"unhandledRejection\"===t?nt(t,n,r)||i||k(n,\"Unhandled rejection \"):nt(t,r)}function T(t){var e;if(\"function\"==typeof t)e=\"[function \"+(t.name||\"anonymous\")+\"]\";else{e=t&&\"function\"==typeof t.toString?t.toString():H.toString(t);var n=/\\[object [a-zA-Z0-9$_]+\\]/;if(n.test(e))try{var r=JSON.stringify(t);e=r}catch(i){}0===e.length&&(e=\"(empty array)\")}return\"(<\"+x(e)+\">, no stack trace)\"}function x(t){var e=41;return t.length<e?t:t.substr(0,e-3)+\"...\"}function P(){return\"function\"==typeof st}function S(t){var e=t.match(ot);return e?{fileName:e[1],line:parseInt(e[2],10)}:void 0}function R(t,e){if(P()){for(var n,r,i=(t.stack||\"\").split(\"\\n\"),o=(e.stack||\"\").split(\"\\n\"),s=-1,a=-1,c=0;c<i.length;++c){var l=S(i[c]);if(l){n=l.fileName,s=l.line;break}}for(var c=0;c<o.length;++c){var l=S(o[c]);if(l){r=l.fileName,a=l.line;break}}0>s||0>a||!n||!r||n!==r||s>=a||(it=function(t){if(M.test(t))return!0;var e=S(t);return e&&e.fileName===n&&s<=e.line&&e.line<=a?!0:!1})}}function O(t){this._parent=t,this._promisesCreated=0;var e=this._length=1+(void 0===t?0:t._length);st(this,O),e>32&&this.uncycle()}var A,D,V,I=e._getDomain,L=e._async,N=t(\"./errors\").Warning,H=t(\"./util\"),B=t(\"./es5\"),U=H.canAttachTrace,M=/[\\\\\\/]bluebird[\\\\\\/]js[\\\\\\/](release|debug|instrumented)/,q=/\\((?:timers\\.js):\\d+:\\d+\\)/,$=/[\\/<\\(](.+?):(\\d+):(\\d+)\\)?\\s*$/,Q=null,G=null,z=!1,X=!(0==H.env(\"BLUEBIRD_DEBUG\")||!H.env(\"BLUEBIRD_DEBUG\")&&\"development\"!==H.env(\"NODE_ENV\")),W=!(0==H.env(\"BLUEBIRD_WARNINGS\")||!X&&!H.env(\"BLUEBIRD_WARNINGS\")),K=!(0==H.env(\"BLUEBIRD_LONG_STACK_TRACES\")||!X&&!H.env(\"BLUEBIRD_LONG_STACK_TRACES\")),J=0!=H.env(\"BLUEBIRD_W_FORGOTTEN_RETURN\")&&(W||!!H.env(\"BLUEBIRD_W_FORGOTTEN_RETURN\"));e.prototype.suppressUnhandledRejections=function(){var t=this._target();t._bitField=-1048577&t._bitField|524288},e.prototype._ensurePossibleRejectionHandled=function(){if(0===(524288&this._bitField)){this._setRejectionIsUnhandled();var t=this;setTimeout(function(){t._notifyUnhandledRejection()},1)}},e.prototype._notifyUnhandledRejectionIsHandled=function(){F(\"rejectionHandled\",A,void 0,this)},e.prototype._setReturnedNonUndefined=function(){this._bitField=268435456|this._bitField},e.prototype._returnedNonUndefined=function(){return 0!==(268435456&this._bitField)},e.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var t=this._settledValue();this._setUnhandledRejectionIsNotified(),F(\"unhandledRejection\",D,t,this)}},e.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=262144|this._bitField},e.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-262145&this._bitField},e.prototype._isUnhandledRejectionNotified=function(){return(262144&this._bitField)>0},e.prototype._setRejectionIsUnhandled=function(){this._bitField=1048576|this._bitField},e.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-1048577&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},e.prototype._isRejectionUnhandled=function(){return(1048576&this._bitField)>0},e.prototype._warn=function(t,e,n){return m(t,e,n||this)},e.onPossiblyUnhandledRejection=function(t){var e=I();D=\"function\"==typeof t?null===e?t:H.domainBind(e,t):void 0},e.onUnhandledRejectionHandled=function(t){var e=I();A=\"function\"==typeof t?null===e?t:H.domainBind(e,t):void 0};var Y=function(){};e.longStackTraces=function(){if(L.haveItemsQueued()&&!at.longStackTraces)throw new Error(\"cannot enable long stack traces after promises have been created\\n\\n    See http://goo.gl/MqrFmX\\n\");if(!at.longStackTraces&&P()){var t=e.prototype._captureStackTrace,r=e.prototype._attachExtraTrace,i=e.prototype._dereferenceTrace;at.longStackTraces=!0,Y=function(){if(L.haveItemsQueued()&&!at.longStackTraces)throw new Error(\"cannot enable long stack traces after promises have been created\\n\\n    See http://goo.gl/MqrFmX\\n\");e.prototype._captureStackTrace=t,e.prototype._attachExtraTrace=r,e.prototype._dereferenceTrace=i,n.deactivateLongStackTraces(),L.enableTrampoline(),at.longStackTraces=!1},e.prototype._captureStackTrace=f,e.prototype._attachExtraTrace=_,e.prototype._dereferenceTrace=d,n.activateLongStackTraces(),L.disableTrampolineIfNecessary()}},e.hasLongStackTraces=function(){return at.longStackTraces&&P()};var Z=function(){try{if(\"function\"==typeof CustomEvent){var t=new CustomEvent(\"CustomEvent\");return H.global.dispatchEvent(t),function(t,e){var n={detail:e,cancelable:!0};B.defineProperty(n,\"promise\",{value:e.promise}),B.defineProperty(n,\"reason\",{value:e.reason});var r=new CustomEvent(t.toLowerCase(),n);return!H.global.dispatchEvent(r)}}if(\"function\"==typeof Event){var t=new Event(\"CustomEvent\");return H.global.dispatchEvent(t),function(t,e){var n=new Event(t.toLowerCase(),{cancelable:!0});return n.detail=e,B.defineProperty(n,\"promise\",{value:e.promise}),B.defineProperty(n,\"reason\",{value:e.reason}),!H.global.dispatchEvent(n)}}var t=document.createEvent(\"CustomEvent\");return t.initCustomEvent(\"testingtheevent\",!1,!0,{}),H.global.dispatchEvent(t),function(t,e){var n=document.createEvent(\"CustomEvent\");return n.initCustomEvent(t.toLowerCase(),!1,!0,e),!H.global.dispatchEvent(n)}}catch(e){}return function(){return!1}}(),tt=function(){return H.isNode?function(){return process.emit.apply(process,arguments)}:H.global?function(t){var e=\"on\"+t.toLowerCase(),n=H.global[e];return n?(n.apply(H.global,[].slice.call(arguments,1)),!0):!1}:function(){return!1}}(),et={promiseCreated:r,promiseFulfilled:r,promiseRejected:r,promiseResolved:r,promiseCancelled:r,promiseChained:function(t,e,n){return{promise:e,child:n}},warning:function(t,e){return{warning:e}},unhandledRejection:function(t,e,n){return{reason:e,promise:n}},rejectionHandled:r},nt=function(t){var e=!1;try{e=tt.apply(null,arguments)}catch(n){L.throwLater(n),e=!0}var r=!1;try{r=Z(t,et[t].apply(null,arguments))}catch(n){L.throwLater(n),r=!0}return r||e};e.config=function(t){if(t=Object(t),\"longStackTraces\"in t&&(t.longStackTraces?e.longStackTraces():!t.longStackTraces&&e.hasLongStackTraces()&&Y()),\"warnings\"in t){var n=t.warnings;at.warnings=!!n,J=at.warnings,H.isObject(n)&&\"wForgottenReturn\"in n&&(J=!!n.wForgottenReturn)}if(\"cancellation\"in t&&t.cancellation&&!at.cancellation){if(L.haveItemsQueued())throw new Error(\"cannot enable cancellation after promises are in use\");e.prototype._clearCancellationData=l,e.prototype._propagateFrom=u,e.prototype._onCancel=a,e.prototype._setOnCancel=c,e.prototype._attachCancellationCallback=s,e.prototype._execute=o,rt=u,at.cancellation=!0}return\"monitoring\"in t&&(t.monitoring&&!at.monitoring?(at.monitoring=!0,e.prototype._fireEvent=nt):!t.monitoring&&at.monitoring&&(at.monitoring=!1,e.prototype._fireEvent=i)),e},e.prototype._fireEvent=i,e.prototype._execute=function(t,e,n){try{t(e,n)}catch(r){return r}},e.prototype._onCancel=function(){},e.prototype._setOnCancel=function(t){},e.prototype._attachCancellationCallback=function(t){},e.prototype._captureStackTrace=function(){},e.prototype._attachExtraTrace=function(){},e.prototype._dereferenceTrace=function(){},e.prototype._clearCancellationData=function(){},e.prototype._propagateFrom=function(t,e){};var rt=p,it=function(){return!1},ot=/[\\/<\\(]([^:\\/]+):(\\d+):(?:\\d+)\\)?\\s*$/;H.inherits(O,Error),n.CapturedTrace=O,O.prototype.uncycle=function(){var t=this._length;if(!(2>t)){for(var e=[],n={},r=0,i=this;void 0!==i;++r)e.push(i),i=i._parent;t=this._length=r;for(var r=t-1;r>=0;--r){var o=e[r].stack;void 0===n[o]&&(n[o]=r)}for(var r=0;t>r;++r){var s=e[r].stack,a=n[s];if(void 0!==a&&a!==r){a>0&&(e[a-1]._parent=void 0,e[a-1]._length=1),e[r]._parent=void 0,e[r]._length=1;var c=r>0?e[r-1]:this;t-1>a?(c._parent=e[a+1],c._parent.uncycle(),c._length=c._parent._length+1):(c._parent=void 0,c._length=1);for(var l=c._length+1,u=r-2;u>=0;--u)e[u]._length=l,l++;return}}}},O.prototype.attachExtraTrace=function(t){if(!t.__stackCleaned__){this.uncycle();for(var e=E(t),n=e.message,r=[e.stack],i=this;void 0!==i;)r.push(C(i.stack.split(\"\\n\"))),i=i._parent;w(r),b(r),H.notEnumerableProp(t,\"stack\",g(n,r)),H.notEnumerableProp(t,\"__stackCleaned__\",!0)}};var st=function(){var t=/^\\s*at\\s*/,e=function(t,e){return\"string\"==typeof t?t:void 0!==e.name&&void 0!==e.message?e.toString():T(e)};if(\"number\"==typeof Error.stackTraceLimit&&\"function\"==typeof Error.captureStackTrace){Error.stackTraceLimit+=6,Q=t,G=e;var n=Error.captureStackTrace;return it=function(t){return M.test(t)},function(t,e){Error.stackTraceLimit+=6,n(t,e),Error.stackTraceLimit-=6}}var r=new Error;if(\"string\"==typeof r.stack&&r.stack.split(\"\\n\")[0].indexOf(\"stackDetection@\")>=0)return Q=/@/,G=e,z=!0,function(t){t.stack=(new Error).stack};var i;try{throw new Error}catch(o){i=\"stack\"in o}return\"stack\"in r||!i||\"number\"!=typeof Error.stackTraceLimit?(G=function(t,e){return\"string\"==typeof t?t:\"object\"!=typeof e&&\"function\"!=typeof e||void 0===e.name||void 0===e.message?T(e):e.toString()},null):(Q=t,G=e,function(t){Error.stackTraceLimit+=6;try{throw new Error}catch(e){t.stack=e.stack}Error.stackTraceLimit-=6})}([]);\"undefined\"!=typeof console&&\"undefined\"!=typeof console.warn&&(V=function(t){console.warn(t)},H.isNode&&process.stderr.isTTY?V=function(t,e){var n=e?\"\u001b[33m\":\"\u001b[31m\";console.warn(n+t+\"\u001b[0m\\n\")}:H.isNode||\"string\"!=typeof(new Error).stack||(V=function(t,e){console.warn(\"%c\"+t,e?\"color: darkorange\":\"color: red\")}));var at={warnings:W,longStackTraces:!1,cancellation:!1,monitoring:!1};return K&&e.longStackTraces(),{longStackTraces:function(){return at.longStackTraces},warnings:function(){return at.warnings},cancellation:function(){return at.cancellation},monitoring:function(){return at.monitoring},propagateFromFunction:function(){return rt},boundValueFunction:function(){return h},checkForgottenReturns:v,setBounds:R,warn:m,deprecated:y,CapturedTrace:O,fireDomEvent:Z,fireGlobalEvent:tt}}},{\"./errors\":12,\"./es5\":13,\"./util\":36}],10:[function(t,e,n){\"use strict\";e.exports=function(t){function e(){return this.value}function n(){throw this.reason}t.prototype[\"return\"]=t.prototype.thenReturn=function(n){return n instanceof t&&n.suppressUnhandledRejections(),this._then(e,void 0,void 0,{value:n},void 0)},t.prototype[\"throw\"]=t.prototype.thenThrow=function(t){return this._then(n,void 0,void 0,{reason:t},void 0)},t.prototype.catchThrow=function(t){if(arguments.length<=1)return this._then(void 0,n,void 0,{reason:t},void 0);var e=arguments[1],r=function(){throw e};return this.caught(t,r)},t.prototype.catchReturn=function(n){if(arguments.length<=1)return n instanceof t&&n.suppressUnhandledRejections(),this._then(void 0,e,void 0,{value:n},void 0);var r=arguments[1];r instanceof t&&r.suppressUnhandledRejections();var i=function(){return r};return this.caught(n,i)}}},{}],11:[function(t,e,n){\"use strict\";e.exports=function(t,e){function n(){return o(this)}function r(t,n){return i(t,n,e,e)}var i=t.reduce,o=t.all;t.prototype.each=function(t){return i(this,t,e,0)._then(n,void 0,void 0,this,void 0)},t.prototype.mapSeries=function(t){return i(this,t,e,e)},t.each=function(t,r){return i(t,r,e,0)._then(n,void 0,void 0,t,void 0)},t.mapSeries=r}},{}],12:[function(t,e,n){\"use strict\";function r(t,e){function n(r){return this instanceof n?(p(this,\"message\",\"string\"==typeof r?r:e),p(this,\"name\",t),void(Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this))):new n(r)}return u(n,Error),n}function i(t){return this instanceof i?(p(this,\"name\",\"OperationalError\"),p(this,\"message\",t),this.cause=t,this.isOperational=!0,void(t instanceof Error?(p(this,\"message\",t.message),p(this,\"stack\",t.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor))):new i(t)}var o,s,a=t(\"./es5\"),c=a.freeze,l=t(\"./util\"),u=l.inherits,p=l.notEnumerableProp,h=r(\"Warning\",\"warning\"),f=r(\"CancellationError\",\"cancellation error\"),_=r(\"TimeoutError\",\"timeout error\"),d=r(\"AggregateError\",\"aggregate error\");try{o=TypeError,s=RangeError}catch(v){o=r(\"TypeError\",\"type error\"),s=r(\"RangeError\",\"range error\")}for(var y=\"join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse\".split(\" \"),m=0;m<y.length;++m)\"function\"==typeof Array.prototype[y[m]]&&(d.prototype[y[m]]=Array.prototype[y[m]]);a.defineProperty(d.prototype,\"length\",{value:0,configurable:!1,writable:!0,enumerable:!0}),d.prototype.isOperational=!0;var g=0;d.prototype.toString=function(){var t=Array(4*g+1).join(\" \"),e=\"\\n\"+t+\"AggregateError of:\\n\";g++,t=Array(4*g+1).join(\" \");for(var n=0;n<this.length;++n){for(var r=this[n]===this?\"[Circular AggregateError]\":this[n]+\"\",i=r.split(\"\\n\"),o=0;o<i.length;++o)i[o]=t+i[o];r=i.join(\"\\n\"),e+=r+\"\\n\"}return g--,e},u(i,Error);var b=Error.__BluebirdErrorTypes__;b||(b=c({CancellationError:f,TimeoutError:_,OperationalError:i,RejectionError:i,AggregateError:d}),a.defineProperty(Error,\"__BluebirdErrorTypes__\",{value:b,writable:!1,enumerable:!1,configurable:!1})),e.exports={Error:Error,TypeError:o,RangeError:s,CancellationError:b.CancellationError,OperationalError:b.OperationalError,TimeoutError:b.TimeoutError,AggregateError:b.AggregateError,Warning:h}},{\"./es5\":13,\"./util\":36}],13:[function(t,e,n){var r=function(){\"use strict\";return void 0===this}();if(r)e.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:r,propertyIsWritable:function(t,e){var n=Object.getOwnPropertyDescriptor(t,e);return!(n&&!n.writable&&!n.set)}};else{var i={}.hasOwnProperty,o={}.toString,s={}.constructor.prototype,a=function(t){var e=[];for(var n in t)i.call(t,n)&&e.push(n);return e},c=function(t,e){return{value:t[e]}},l=function(t,e,n){return t[e]=n.value,t},u=function(t){return t},p=function(t){try{return Object(t).constructor.prototype}catch(e){return s}},h=function(t){try{return\"[object Array]\"===o.call(t)}catch(e){return!1}};e.exports={isArray:h,keys:a,names:a,defineProperty:l,getDescriptor:c,freeze:u,getPrototypeOf:p,isES5:r,propertyIsWritable:function(){return!0}}}},{}],14:[function(t,e,n){\"use strict\";e.exports=function(t,e){var n=t.map;t.prototype.filter=function(t,r){return n(this,t,r,e)},t.filter=function(t,r,i){return n(t,r,i,e)}}},{}],15:[function(t,e,n){\"use strict\";e.exports=function(e,n,r){function i(t,e,n){this.promise=t,this.type=e,this.handler=n,this.called=!1,this.cancelPromise=null}function o(t){this.finallyHandler=t}function s(t,e){return null!=t.cancelPromise?(arguments.length>1?t.cancelPromise._reject(e):t.cancelPromise._cancel(),t.cancelPromise=null,!0):!1}function a(){return l.call(this,this.promise._target()._settledValue())}function c(t){return s(this,t)?void 0:(h.e=t,h)}function l(t){var i=this.promise,l=this.handler;if(!this.called){this.called=!0;var u=this.isFinallyHandler()?l.call(i._boundValue()):l.call(i._boundValue(),t);if(u===r)return u;if(void 0!==u){i._setReturnedNonUndefined();var f=n(u,i);if(f instanceof e){if(null!=this.cancelPromise){if(f._isCancelled()){var _=new p(\"late cancellation observer\");return i._attachExtraTrace(_),h.e=_,h}f.isPending()&&f._attachCancellationCallback(new o(this))}return f._then(a,c,void 0,this,void 0)}}}return i.isRejected()?(s(this),h.e=t,h):(s(this),t)}var u=t(\"./util\"),p=e.CancellationError,h=u.errorObj,f=t(\"./catch_filter\")(r);return i.prototype.isFinallyHandler=function(){return 0===this.type},o.prototype._resultCancelled=function(){s(this.finallyHandler)},e.prototype._passThrough=function(t,e,n,r){return\"function\"!=typeof t?this.then():this._then(n,r,void 0,new i(this,e,t),void 0)},e.prototype.lastly=e.prototype[\"finally\"]=function(t){return this._passThrough(t,0,l,l)},e.prototype.tap=function(t){return this._passThrough(t,1,l)},e.prototype.tapCatch=function(t){var n=arguments.length;if(1===n)return this._passThrough(t,1,void 0,l);var r,i=new Array(n-1),o=0;for(r=0;n-1>r;++r){var s=arguments[r];if(!u.isObject(s))return e.reject(new TypeError(\"tapCatch statement predicate: expecting an object but got \"+u.classString(s)));i[o++]=s}i.length=o;var a=arguments[r];return this._passThrough(f(i,a,this),1,void 0,l)},i}},{\"./catch_filter\":7,\"./util\":36}],16:[function(t,e,n){\"use strict\";e.exports=function(e,n,r,i,o,s){function a(t,n,r){for(var o=0;o<n.length;++o){r._pushContext();var s=f(n[o])(t);if(r._popContext(),s===h){r._pushContext();var a=e.reject(h.e);return r._popContext(),a}var c=i(s,r);if(c instanceof e)return c}return null}function c(t,n,i,o){if(s.cancellation()){var a=new e(r),c=this._finallyPromise=new e(r);this._promise=a.lastly(function(){return c}),a._captureStackTrace(),a._setOnCancel(this)}else{var l=this._promise=new e(r);l._captureStackTrace()}this._stack=o,this._generatorFunction=t,this._receiver=n,this._generator=void 0,this._yieldHandlers=\"function\"==typeof i?[i].concat(_):_,this._yieldedPromise=null,this._cancellationPhase=!1}var l=t(\"./errors\"),u=l.TypeError,p=t(\"./util\"),h=p.errorObj,f=p.tryCatch,_=[];p.inherits(c,o),c.prototype._isResolved=function(){return null===this._promise},c.prototype._cleanup=function(){this._promise=this._generator=null,s.cancellation()&&null!==this._finallyPromise&&(this._finallyPromise._fulfill(),this._finallyPromise=null)},c.prototype._promiseCancelled=function(){if(!this._isResolved()){var t,n=\"undefined\"!=typeof this._generator[\"return\"];if(n)this._promise._pushContext(),t=f(this._generator[\"return\"]).call(this._generator,void 0),this._promise._popContext();else{var r=new e.CancellationError(\"generator .return() sentinel\");e.coroutine.returnSentinel=r,this._promise._attachExtraTrace(r),this._promise._pushContext(),t=f(this._generator[\"throw\"]).call(this._generator,r),this._promise._popContext()}this._cancellationPhase=!0,this._yieldedPromise=null,this._continue(t)}},c.prototype._promiseFulfilled=function(t){this._yieldedPromise=null,this._promise._pushContext();var e=f(this._generator.next).call(this._generator,t);this._promise._popContext(),this._continue(e)},c.prototype._promiseRejected=function(t){this._yieldedPromise=null,this._promise._attachExtraTrace(t),this._promise._pushContext();var e=f(this._generator[\"throw\"]).call(this._generator,t);this._promise._popContext(),this._continue(e)},c.prototype._resultCancelled=function(){if(this._yieldedPromise instanceof e){var t=this._yieldedPromise;this._yieldedPromise=null,t.cancel()}},c.prototype.promise=function(){return this._promise},c.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._promiseFulfilled(void 0)},c.prototype._continue=function(t){var n=this._promise;if(t===h)return this._cleanup(),this._cancellationPhase?n.cancel():n._rejectCallback(t.e,!1);var r=t.value;if(t.done===!0)return this._cleanup(),this._cancellationPhase?n.cancel():n._resolveCallback(r);var o=i(r,this._promise);if(!(o instanceof e)&&(o=a(o,this._yieldHandlers,this._promise),\nnull===o))return void this._promiseRejected(new u(\"A value %s was yielded that could not be treated as a promise\\n\\n    See http://goo.gl/MqrFmX\\n\\n\".replace(\"%s\",String(r))+\"From coroutine:\\n\"+this._stack.split(\"\\n\").slice(1,-7).join(\"\\n\")));o=o._target();var s=o._bitField;0===(50397184&s)?(this._yieldedPromise=o,o._proxy(this,null)):0!==(33554432&s)?e._async.invoke(this._promiseFulfilled,this,o._value()):0!==(16777216&s)?e._async.invoke(this._promiseRejected,this,o._reason()):this._promiseCancelled()},e.coroutine=function(t,e){if(\"function\"!=typeof t)throw new u(\"generatorFunction must be a function\\n\\n    See http://goo.gl/MqrFmX\\n\");var n=Object(e).yieldHandler,r=c,i=(new Error).stack;return function(){var e=t.apply(this,arguments),o=new r(void 0,void 0,n,i),s=o.promise();return o._generator=e,o._promiseFulfilled(void 0),s}},e.coroutine.addYieldHandler=function(t){if(\"function\"!=typeof t)throw new u(\"expecting a function but got \"+p.classString(t));_.push(t)},e.spawn=function(t){if(s.deprecated(\"Promise.spawn()\",\"Promise.coroutine()\"),\"function\"!=typeof t)return n(\"generatorFunction must be a function\\n\\n    See http://goo.gl/MqrFmX\\n\");var r=new c(t,this),i=r.promise();return r._run(e.spawn),i}}},{\"./errors\":12,\"./util\":36}],17:[function(t,e,n){\"use strict\";e.exports=function(e,n,r,i,o,s){var a=t(\"./util\");a.canEvaluate,a.tryCatch,a.errorObj;e.join=function(){var t,e=arguments.length-1;if(e>0&&\"function\"==typeof arguments[e]){t=arguments[e];var r}var i=[].slice.call(arguments);t&&i.pop();var r=new n(i).promise();return void 0!==t?r.spread(t):r}}},{\"./util\":36}],18:[function(t,e,n){\"use strict\";e.exports=function(e,n,r,i,o,s){function a(t,e,n,r){this.constructor$(t),this._promise._captureStackTrace();var i=l();this._callback=null===i?e:u.domainBind(i,e),this._preservedValues=r===o?new Array(this.length()):null,this._limit=n,this._inFlight=0,this._queue=[],f.invoke(this._asyncInit,this,void 0)}function c(t,n,i,o){if(\"function\"!=typeof n)return r(\"expecting a function but got \"+u.classString(n));var s=0;if(void 0!==i){if(\"object\"!=typeof i||null===i)return e.reject(new TypeError(\"options argument must be an object but it is \"+u.classString(i)));if(\"number\"!=typeof i.concurrency)return e.reject(new TypeError(\"'concurrency' must be a number but it is \"+u.classString(i.concurrency)));s=i.concurrency}return s=\"number\"==typeof s&&isFinite(s)&&s>=1?s:0,new a(t,n,s,o).promise()}var l=e._getDomain,u=t(\"./util\"),p=u.tryCatch,h=u.errorObj,f=e._async;u.inherits(a,n),a.prototype._asyncInit=function(){this._init$(void 0,-2)},a.prototype._init=function(){},a.prototype._promiseFulfilled=function(t,n){var r=this._values,o=this.length(),a=this._preservedValues,c=this._limit;if(0>n){if(n=-1*n-1,r[n]=t,c>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(c>=1&&this._inFlight>=c)return r[n]=t,this._queue.push(n),!1;null!==a&&(a[n]=t);var l=this._promise,u=this._callback,f=l._boundValue();l._pushContext();var _=p(u).call(f,t,n,o),d=l._popContext();if(s.checkForgottenReturns(_,d,null!==a?\"Promise.filter\":\"Promise.map\",l),_===h)return this._reject(_.e),!0;var v=i(_,this._promise);if(v instanceof e){v=v._target();var y=v._bitField;if(0===(50397184&y))return c>=1&&this._inFlight++,r[n]=v,v._proxy(this,-1*(n+1)),!1;if(0===(33554432&y))return 0!==(16777216&y)?(this._reject(v._reason()),!0):(this._cancel(),!0);_=v._value()}r[n]=_}var m=++this._totalResolved;return m>=o?(null!==a?this._filter(r,a):this._resolve(r),!0):!1},a.prototype._drainQueue=function(){for(var t=this._queue,e=this._limit,n=this._values;t.length>0&&this._inFlight<e;){if(this._isResolved())return;var r=t.pop();this._promiseFulfilled(n[r],r)}},a.prototype._filter=function(t,e){for(var n=e.length,r=new Array(n),i=0,o=0;n>o;++o)t[o]&&(r[i++]=e[o]);r.length=i,this._resolve(r)},a.prototype.preservedValues=function(){return this._preservedValues},e.prototype.map=function(t,e){return c(this,t,e,null)},e.map=function(t,e,n,r){return c(t,e,n,r)}}},{\"./util\":36}],19:[function(t,e,n){\"use strict\";e.exports=function(e,n,r,i,o){var s=t(\"./util\"),a=s.tryCatch;e.method=function(t){if(\"function\"!=typeof t)throw new e.TypeError(\"expecting a function but got \"+s.classString(t));return function(){var r=new e(n);r._captureStackTrace(),r._pushContext();var i=a(t).apply(this,arguments),s=r._popContext();return o.checkForgottenReturns(i,s,\"Promise.method\",r),r._resolveFromSyncValue(i),r}},e.attempt=e[\"try\"]=function(t){if(\"function\"!=typeof t)return i(\"expecting a function but got \"+s.classString(t));var r=new e(n);r._captureStackTrace(),r._pushContext();var c;if(arguments.length>1){o.deprecated(\"calling Promise.try with more than 1 argument\");var l=arguments[1],u=arguments[2];c=s.isArray(l)?a(t).apply(u,l):a(t).call(u,l)}else c=a(t)();var p=r._popContext();return o.checkForgottenReturns(c,p,\"Promise.try\",r),r._resolveFromSyncValue(c),r},e.prototype._resolveFromSyncValue=function(t){t===s.errorObj?this._rejectCallback(t.e,!1):this._resolveCallback(t,!0)}}},{\"./util\":36}],20:[function(t,e,n){\"use strict\";function r(t){return t instanceof Error&&u.getPrototypeOf(t)===Error.prototype}function i(t){var e;if(r(t)){e=new l(t),e.name=t.name,e.message=t.message,e.stack=t.stack;for(var n=u.keys(t),i=0;i<n.length;++i){var o=n[i];p.test(o)||(e[o]=t[o])}return e}return s.markAsOriginatingFromRejection(t),t}function o(t,e){return function(n,r){if(null!==t){if(n){var o=i(a(n));t._attachExtraTrace(o),t._reject(o)}else if(e){var s=[].slice.call(arguments,1);t._fulfill(s)}else t._fulfill(r);t=null}}}var s=t(\"./util\"),a=s.maybeWrapAsError,c=t(\"./errors\"),l=c.OperationalError,u=t(\"./es5\"),p=/^(?:name|message|stack|cause)$/;e.exports=o},{\"./errors\":12,\"./es5\":13,\"./util\":36}],21:[function(t,e,n){\"use strict\";e.exports=function(e){function n(t,e){var n=this;if(!o.isArray(t))return r.call(n,t,e);var i=a(e).apply(n._boundValue(),[null].concat(t));i===c&&s.throwLater(i.e)}function r(t,e){var n=this,r=n._boundValue(),i=void 0===t?a(e).call(r,null):a(e).call(r,null,t);i===c&&s.throwLater(i.e)}function i(t,e){var n=this;if(!t){var r=new Error(t+\"\");r.cause=t,t=r}var i=a(e).call(n._boundValue(),t);i===c&&s.throwLater(i.e)}var o=t(\"./util\"),s=e._async,a=o.tryCatch,c=o.errorObj;e.prototype.asCallback=e.prototype.nodeify=function(t,e){if(\"function\"==typeof t){var o=r;void 0!==e&&Object(e).spread&&(o=n),this._then(o,i,void 0,this,t)}return this}}},{\"./util\":36}],22:[function(t,e,n){\"use strict\";e.exports=function(){function n(){}function r(t,e){if(null==t||t.constructor!==i)throw new m(\"the promise constructor cannot be invoked directly\\n\\n    See http://goo.gl/MqrFmX\\n\");if(\"function\"!=typeof e)throw new m(\"expecting a function but got \"+f.classString(e))}function i(t){t!==b&&r(this,t),this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,this._resolveFromExecutor(t),this._promiseCreated(),this._fireEvent(\"promiseCreated\",this)}function o(t){this.promise._resolveCallback(t)}function s(t){this.promise._rejectCallback(t,!1)}function a(t){var e=new i(b);e._fulfillmentHandler0=t,e._rejectionHandler0=t,e._promise0=t,e._receiver0=t}var c,l=function(){return new m(\"circular promise resolution chain\\n\\n    See http://goo.gl/MqrFmX\\n\")},u=function(){return new i.PromiseInspection(this._target())},p=function(t){return i.reject(new m(t))},h={},f=t(\"./util\");c=f.isNode?function(){var t=process.domain;return void 0===t&&(t=null),t}:function(){return null},f.notEnumerableProp(i,\"_getDomain\",c);var _=t(\"./es5\"),d=t(\"./async\"),v=new d;_.defineProperty(i,\"_async\",{value:v});var y=t(\"./errors\"),m=i.TypeError=y.TypeError;i.RangeError=y.RangeError;var g=i.CancellationError=y.CancellationError;i.TimeoutError=y.TimeoutError,i.OperationalError=y.OperationalError,i.RejectionError=y.OperationalError,i.AggregateError=y.AggregateError;var b=function(){},w={},C={},j=t(\"./thenables\")(i,b),E=t(\"./promise_array\")(i,b,j,p,n),k=t(\"./context\")(i),F=k.create,T=t(\"./debuggability\")(i,k),x=(T.CapturedTrace,t(\"./finally\")(i,j,C)),P=t(\"./catch_filter\")(C),S=t(\"./nodeback\"),R=f.errorObj,O=f.tryCatch;return i.prototype.toString=function(){return\"[object Promise]\"},i.prototype.caught=i.prototype[\"catch\"]=function(t){var e=arguments.length;if(e>1){var n,r=new Array(e-1),i=0;for(n=0;e-1>n;++n){var o=arguments[n];if(!f.isObject(o))return p(\"Catch statement predicate: expecting an object but got \"+f.classString(o));r[i++]=o}if(r.length=i,t=arguments[n],\"function\"!=typeof t)throw new m(\"The last argument to .catch() must be a function, got \"+f.toString(t));return this.then(void 0,P(r,t,this))}return this.then(void 0,t)},i.prototype.reflect=function(){return this._then(u,u,void 0,this,void 0)},i.prototype.then=function(t,e){if(T.warnings()&&arguments.length>0&&\"function\"!=typeof t&&\"function\"!=typeof e){var n=\".then() only accepts functions but was passed: \"+f.classString(t);arguments.length>1&&(n+=\", \"+f.classString(e)),this._warn(n)}return this._then(t,e,void 0,void 0,void 0)},i.prototype.done=function(t,e){var n=this._then(t,e,void 0,void 0,void 0);n._setIsFinal()},i.prototype.spread=function(t){return\"function\"!=typeof t?p(\"expecting a function but got \"+f.classString(t)):this.all()._then(t,void 0,void 0,w,void 0)},i.prototype.toJSON=function(){var t={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(t.fulfillmentValue=this.value(),t.isFulfilled=!0):this.isRejected()&&(t.rejectionReason=this.reason(),t.isRejected=!0),t},i.prototype.all=function(){return arguments.length>0&&this._warn(\".all() was passed arguments but it does not take any\"),new E(this).promise()},i.prototype.error=function(t){return this.caught(f.originatesFromRejection,t)},i.getNewLibraryCopy=e.exports,i.is=function(t){return t instanceof i},i.fromNode=i.fromCallback=function(t){var e=new i(b);e._captureStackTrace();var n=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,r=O(t)(S(e,n));return r===R&&e._rejectCallback(r.e,!0),e._isFateSealed()||e._setAsyncGuaranteed(),e},i.all=function(t){return new E(t).promise()},i.cast=function(t){var e=j(t);return e instanceof i||(e=new i(b),e._captureStackTrace(),e._setFulfilled(),e._rejectionHandler0=t),e},i.resolve=i.fulfilled=i.cast,i.reject=i.rejected=function(t){var e=new i(b);return e._captureStackTrace(),e._rejectCallback(t,!0),e},i.setScheduler=function(t){if(\"function\"!=typeof t)throw new m(\"expecting a function but got \"+f.classString(t));return v.setScheduler(t)},i.prototype._then=function(t,e,n,r,o){var s=void 0!==o,a=s?o:new i(b),l=this._target(),u=l._bitField;s||(a._propagateFrom(this,3),a._captureStackTrace(),void 0===r&&0!==(2097152&this._bitField)&&(r=0!==(50397184&u)?this._boundValue():l===this?void 0:this._boundTo),this._fireEvent(\"promiseChained\",this,a));var p=c();if(0!==(50397184&u)){var h,_,d=l._settlePromiseCtx;0!==(33554432&u)?(_=l._rejectionHandler0,h=t):0!==(16777216&u)?(_=l._fulfillmentHandler0,h=e,l._unsetRejectionIsUnhandled()):(d=l._settlePromiseLateCancellationObserver,_=new g(\"late cancellation observer\"),l._attachExtraTrace(_),h=e),v.invoke(d,l,{handler:null===p?h:\"function\"==typeof h&&f.domainBind(p,h),promise:a,receiver:r,value:_})}else l._addCallbacks(t,e,a,r,p);return a},i.prototype._length=function(){return 65535&this._bitField},i.prototype._isFateSealed=function(){return 0!==(117506048&this._bitField)},i.prototype._isFollowing=function(){return 67108864===(67108864&this._bitField)},i.prototype._setLength=function(t){this._bitField=-65536&this._bitField|65535&t},i.prototype._setFulfilled=function(){this._bitField=33554432|this._bitField,this._fireEvent(\"promiseFulfilled\",this)},i.prototype._setRejected=function(){this._bitField=16777216|this._bitField,this._fireEvent(\"promiseRejected\",this)},i.prototype._setFollowing=function(){this._bitField=67108864|this._bitField,this._fireEvent(\"promiseResolved\",this)},i.prototype._setIsFinal=function(){this._bitField=4194304|this._bitField},i.prototype._isFinal=function(){return(4194304&this._bitField)>0},i.prototype._unsetCancelled=function(){this._bitField=-65537&this._bitField},i.prototype._setCancelled=function(){this._bitField=65536|this._bitField,this._fireEvent(\"promiseCancelled\",this)},i.prototype._setWillBeCancelled=function(){this._bitField=8388608|this._bitField},i.prototype._setAsyncGuaranteed=function(){v.hasCustomScheduler()||(this._bitField=134217728|this._bitField)},i.prototype._receiverAt=function(t){var e=0===t?this._receiver0:this[4*t-4+3];return e===h?void 0:void 0===e&&this._isBound()?this._boundValue():e},i.prototype._promiseAt=function(t){return this[4*t-4+2]},i.prototype._fulfillmentHandlerAt=function(t){return this[4*t-4+0]},i.prototype._rejectionHandlerAt=function(t){return this[4*t-4+1]},i.prototype._boundValue=function(){},i.prototype._migrateCallback0=function(t){var e=(t._bitField,t._fulfillmentHandler0),n=t._rejectionHandler0,r=t._promise0,i=t._receiverAt(0);void 0===i&&(i=h),this._addCallbacks(e,n,r,i,null)},i.prototype._migrateCallbackAt=function(t,e){var n=t._fulfillmentHandlerAt(e),r=t._rejectionHandlerAt(e),i=t._promiseAt(e),o=t._receiverAt(e);void 0===o&&(o=h),this._addCallbacks(n,r,i,o,null)},i.prototype._addCallbacks=function(t,e,n,r,i){var o=this._length();if(o>=65531&&(o=0,this._setLength(0)),0===o)this._promise0=n,this._receiver0=r,\"function\"==typeof t&&(this._fulfillmentHandler0=null===i?t:f.domainBind(i,t)),\"function\"==typeof e&&(this._rejectionHandler0=null===i?e:f.domainBind(i,e));else{var s=4*o-4;this[s+2]=n,this[s+3]=r,\"function\"==typeof t&&(this[s+0]=null===i?t:f.domainBind(i,t)),\"function\"==typeof e&&(this[s+1]=null===i?e:f.domainBind(i,e))}return this._setLength(o+1),o},i.prototype._proxy=function(t,e){this._addCallbacks(void 0,void 0,e,t,null)},i.prototype._resolveCallback=function(t,e){if(0===(117506048&this._bitField)){if(t===this)return this._rejectCallback(l(),!1);var n=j(t,this);if(!(n instanceof i))return this._fulfill(t);e&&this._propagateFrom(n,2);var r=n._target();if(r===this)return void this._reject(l());var o=r._bitField;if(0===(50397184&o)){var s=this._length();s>0&&r._migrateCallback0(this);for(var a=1;s>a;++a)r._migrateCallbackAt(this,a);this._setFollowing(),this._setLength(0),this._setFollowee(r)}else if(0!==(33554432&o))this._fulfill(r._value());else if(0!==(16777216&o))this._reject(r._reason());else{var c=new g(\"late cancellation observer\");r._attachExtraTrace(c),this._reject(c)}}},i.prototype._rejectCallback=function(t,e,n){var r=f.ensureErrorObject(t),i=r===t;if(!i&&!n&&T.warnings()){var o=\"a promise was rejected with a non-error: \"+f.classString(t);this._warn(o,!0)}this._attachExtraTrace(r,e?i:!1),this._reject(t)},i.prototype._resolveFromExecutor=function(t){if(t!==b){var e=this;this._captureStackTrace(),this._pushContext();var n=!0,r=this._execute(t,function(t){e._resolveCallback(t)},function(t){e._rejectCallback(t,n)});n=!1,this._popContext(),void 0!==r&&e._rejectCallback(r,!0)}},i.prototype._settlePromiseFromHandler=function(t,e,n,r){var i=r._bitField;if(0===(65536&i)){r._pushContext();var o;e===w?n&&\"number\"==typeof n.length?o=O(t).apply(this._boundValue(),n):(o=R,o.e=new m(\"cannot .spread() a non-array: \"+f.classString(n))):o=O(t).call(e,n);var s=r._popContext();i=r._bitField,0===(65536&i)&&(o===C?r._reject(n):o===R?r._rejectCallback(o.e,!1):(T.checkForgottenReturns(o,s,\"\",r,this),r._resolveCallback(o)))}},i.prototype._target=function(){for(var t=this;t._isFollowing();)t=t._followee();return t},i.prototype._followee=function(){return this._rejectionHandler0},i.prototype._setFollowee=function(t){this._rejectionHandler0=t},i.prototype._settlePromise=function(t,e,r,o){var s=t instanceof i,a=this._bitField,c=0!==(134217728&a);0!==(65536&a)?(s&&t._invokeInternalOnCancel(),r instanceof x&&r.isFinallyHandler()?(r.cancelPromise=t,O(e).call(r,o)===R&&t._reject(R.e)):e===u?t._fulfill(u.call(r)):r instanceof n?r._promiseCancelled(t):s||t instanceof E?t._cancel():r.cancel()):\"function\"==typeof e?s?(c&&t._setAsyncGuaranteed(),this._settlePromiseFromHandler(e,r,o,t)):e.call(r,o,t):r instanceof n?r._isResolved()||(0!==(33554432&a)?r._promiseFulfilled(o,t):r._promiseRejected(o,t)):s&&(c&&t._setAsyncGuaranteed(),0!==(33554432&a)?t._fulfill(o):t._reject(o))},i.prototype._settlePromiseLateCancellationObserver=function(t){var e=t.handler,n=t.promise,r=t.receiver,o=t.value;\"function\"==typeof e?n instanceof i?this._settlePromiseFromHandler(e,r,o,n):e.call(r,o,n):n instanceof i&&n._reject(o)},i.prototype._settlePromiseCtx=function(t){this._settlePromise(t.promise,t.handler,t.receiver,t.value)},i.prototype._settlePromise0=function(t,e,n){var r=this._promise0,i=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(r,t,i,e)},i.prototype._clearCallbackDataAtIndex=function(t){var e=4*t-4;this[e+2]=this[e+3]=this[e+0]=this[e+1]=void 0},i.prototype._fulfill=function(t){var e=this._bitField;if(!((117506048&e)>>>16)){if(t===this){var n=l();return this._attachExtraTrace(n),this._reject(n)}this._setFulfilled(),this._rejectionHandler0=t,(65535&e)>0&&(0!==(134217728&e)?this._settlePromises():v.settlePromises(this),this._dereferenceTrace())}},i.prototype._reject=function(t){var e=this._bitField;if(!((117506048&e)>>>16))return this._setRejected(),this._fulfillmentHandler0=t,this._isFinal()?v.fatalError(t,f.isNode):void((65535&e)>0?v.settlePromises(this):this._ensurePossibleRejectionHandled())},i.prototype._fulfillPromises=function(t,e){for(var n=1;t>n;n++){var r=this._fulfillmentHandlerAt(n),i=this._promiseAt(n),o=this._receiverAt(n);this._clearCallbackDataAtIndex(n),this._settlePromise(i,r,o,e)}},i.prototype._rejectPromises=function(t,e){for(var n=1;t>n;n++){var r=this._rejectionHandlerAt(n),i=this._promiseAt(n),o=this._receiverAt(n);this._clearCallbackDataAtIndex(n),this._settlePromise(i,r,o,e)}},i.prototype._settlePromises=function(){var t=this._bitField,e=65535&t;if(e>0){if(0!==(16842752&t)){var n=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,n,t),this._rejectPromises(e,n)}else{var r=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,r,t),this._fulfillPromises(e,r)}this._setLength(0)}this._clearCancellationData()},i.prototype._settledValue=function(){var t=this._bitField;return 0!==(33554432&t)?this._rejectionHandler0:0!==(16777216&t)?this._fulfillmentHandler0:void 0},\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&_.defineProperty(i.prototype,Symbol.toStringTag,{get:function(){return\"Object\"}}),i.defer=i.pending=function(){T.deprecated(\"Promise.defer\",\"new Promise\");var t=new i(b);return{promise:t,resolve:o,reject:s}},f.notEnumerableProp(i,\"_makeSelfResolutionError\",l),t(\"./method\")(i,b,j,p,T),t(\"./bind\")(i,b,j,T),t(\"./cancel\")(i,E,p,T),t(\"./direct_resolve\")(i),t(\"./synchronous_inspection\")(i),t(\"./join\")(i,E,j,b,v,c),i.Promise=i,i.version=\"3.5.5\",t(\"./call_get.js\")(i),t(\"./generators.js\")(i,p,b,j,n,T),t(\"./map.js\")(i,E,p,j,b,T),t(\"./nodeify.js\")(i),t(\"./promisify.js\")(i,b),t(\"./props.js\")(i,E,j,p),t(\"./race.js\")(i,b,j,p),t(\"./reduce.js\")(i,E,p,j,b,T),t(\"./settle.js\")(i,E,T),t(\"./some.js\")(i,E,p),t(\"./timers.js\")(i,b,T),t(\"./using.js\")(i,p,j,F,b,T),t(\"./any.js\")(i),t(\"./each.js\")(i,b),t(\"./filter.js\")(i,b),f.toFastProperties(i),f.toFastProperties(i.prototype),a({a:1}),a({b:2}),a({c:3}),a(1),a(function(){}),a(void 0),a(!1),a(new i(b)),T.setBounds(d.firstLineError,f.lastLineError),i}},{\"./any.js\":1,\"./async\":2,\"./bind\":3,\"./call_get.js\":5,\"./cancel\":6,\"./catch_filter\":7,\"./context\":8,\"./debuggability\":9,\"./direct_resolve\":10,\"./each.js\":11,\"./errors\":12,\"./es5\":13,\"./filter.js\":14,\"./finally\":15,\"./generators.js\":16,\"./join\":17,\"./map.js\":18,\"./method\":19,\"./nodeback\":20,\"./nodeify.js\":21,\"./promise_array\":23,\"./promisify.js\":24,\"./props.js\":25,\"./race.js\":27,\"./reduce.js\":28,\"./settle.js\":30,\"./some.js\":31,\"./synchronous_inspection\":32,\"./thenables\":33,\"./timers.js\":34,\"./using.js\":35,\"./util\":36}],23:[function(t,e,n){\"use strict\";e.exports=function(e,n,r,i,o){function s(t){switch(t){case-2:return[];case-3:return{};case-6:return new Map}}function a(t){var r=this._promise=new e(n);t instanceof e&&r._propagateFrom(t,3),r._setOnCancel(this),this._values=t,this._length=0,this._totalResolved=0,this._init(void 0,-2)}var c=t(\"./util\");c.isArray;return c.inherits(a,o),a.prototype.length=function(){return this._length},a.prototype.promise=function(){return this._promise},a.prototype._init=function l(t,n){var o=r(this._values,this._promise);if(o instanceof e){o=o._target();var a=o._bitField;if(this._values=o,0===(50397184&a))return this._promise._setAsyncGuaranteed(),o._then(l,this._reject,void 0,this,n);if(0===(33554432&a))return 0!==(16777216&a)?this._reject(o._reason()):this._cancel();o=o._value()}if(o=c.asArray(o),null===o){var u=i(\"expecting an array or an iterable object but got \"+c.classString(o)).reason();return void this._promise._rejectCallback(u,!1)}return 0===o.length?void(-5===n?this._resolveEmptyArray():this._resolve(s(n))):void this._iterate(o)},a.prototype._iterate=function(t){var n=this.getActualLength(t.length);this._length=n,this._values=this.shouldCopyValues()?new Array(n):this._values;for(var i=this._promise,o=!1,s=null,a=0;n>a;++a){var c=r(t[a],i);c instanceof e?(c=c._target(),s=c._bitField):s=null,o?null!==s&&c.suppressUnhandledRejections():null!==s?0===(50397184&s)?(c._proxy(this,a),this._values[a]=c):o=0!==(33554432&s)?this._promiseFulfilled(c._value(),a):0!==(16777216&s)?this._promiseRejected(c._reason(),a):this._promiseCancelled(a):o=this._promiseFulfilled(c,a)}o||i._setAsyncGuaranteed()},a.prototype._isResolved=function(){return null===this._values},a.prototype._resolve=function(t){this._values=null,this._promise._fulfill(t)},a.prototype._cancel=function(){!this._isResolved()&&this._promise._isCancellable()&&(this._values=null,this._promise._cancel())},a.prototype._reject=function(t){this._values=null,this._promise._rejectCallback(t,!1)},a.prototype._promiseFulfilled=function(t,e){this._values[e]=t;var n=++this._totalResolved;return n>=this._length?(this._resolve(this._values),!0):!1},a.prototype._promiseCancelled=function(){return this._cancel(),!0},a.prototype._promiseRejected=function(t){return this._totalResolved++,this._reject(t),!0},a.prototype._resultCancelled=function(){if(!this._isResolved()){var t=this._values;if(this._cancel(),t instanceof e)t.cancel();else for(var n=0;n<t.length;++n)t[n]instanceof e&&t[n].cancel()}},a.prototype.shouldCopyValues=function(){return!0},a.prototype.getActualLength=function(t){return t},a}},{\"./util\":36}],24:[function(t,e,n){\"use strict\";e.exports=function(e,n){function r(t){return!C.test(t)}function i(t){try{return t.__isPromisified__===!0}catch(e){return!1}}function o(t,e,n){var r=f.getDataPropertyOrDefault(t,e+n,b);return r?i(r):!1}function s(t,e,n){for(var r=0;r<t.length;r+=2){var i=t[r];if(n.test(i))for(var o=i.replace(n,\"\"),s=0;s<t.length;s+=2)if(t[s]===o)throw new m(\"Cannot promisify an API that has normal methods with '%s'-suffix\\n\\n    See http://goo.gl/MqrFmX\\n\".replace(\"%s\",e))}}function a(t,e,n,r){for(var a=f.inheritedDataKeys(t),c=[],l=0;l<a.length;++l){var u=a[l],p=t[u],h=r===j?!0:j(u,p,t);\"function\"!=typeof p||i(p)||o(t,u,e)||!r(u,p,t,h)||c.push(u,p)}return s(c,e,n),c}function c(t,r,i,o,s,a){function c(){var i=r;r===h&&(i=this);var o=new e(n);o._captureStackTrace();var s=\"string\"==typeof u&&this!==l?this[u]:t,c=_(o,a);try{s.apply(i,d(arguments,c))}catch(p){o._rejectCallback(v(p),!0,!0)}return o._isFateSealed()||o._setAsyncGuaranteed(),o}var l=function(){return this}(),u=t;return\"string\"==typeof u&&(t=o),f.notEnumerableProp(c,\"__isPromisified__\",!0),c}function l(t,e,n,r,i){for(var o=new RegExp(E(e)+\"$\"),s=a(t,e,o,n),c=0,l=s.length;l>c;c+=2){var u=s[c],p=s[c+1],_=u+e;if(r===k)t[_]=k(u,h,u,p,e,i);else{var d=r(p,function(){return k(u,h,u,p,e,i)});f.notEnumerableProp(d,\"__isPromisified__\",!0),t[_]=d}}return f.toFastProperties(t),t}function u(t,e,n){return k(t,e,void 0,t,null,n)}var p,h={},f=t(\"./util\"),_=t(\"./nodeback\"),d=f.withAppended,v=f.maybeWrapAsError,y=f.canEvaluate,m=t(\"./errors\").TypeError,g=\"Async\",b={__isPromisified__:!0},w=[\"arity\",\"length\",\"name\",\"arguments\",\"caller\",\"callee\",\"prototype\",\"__isPromisified__\"],C=new RegExp(\"^(?:\"+w.join(\"|\")+\")$\"),j=function(t){return f.isIdentifier(t)&&\"_\"!==t.charAt(0)&&\"constructor\"!==t},E=function(t){return t.replace(/([$])/,\"\\\\$\")},k=y?p:c;e.promisify=function(t,e){if(\"function\"!=typeof t)throw new m(\"expecting a function but got \"+f.classString(t));if(i(t))return t;e=Object(e);var n=void 0===e.context?h:e.context,o=!!e.multiArgs,s=u(t,n,o);return f.copyDescriptors(t,s,r),s},e.promisifyAll=function(t,e){if(\"function\"!=typeof t&&\"object\"!=typeof t)throw new m(\"the target of promisifyAll must be an object or a function\\n\\n    See http://goo.gl/MqrFmX\\n\");e=Object(e);var n=!!e.multiArgs,r=e.suffix;\"string\"!=typeof r&&(r=g);var i=e.filter;\"function\"!=typeof i&&(i=j);var o=e.promisifier;if(\"function\"!=typeof o&&(o=k),!f.isIdentifier(r))throw new RangeError(\"suffix must be a valid identifier\\n\\n    See http://goo.gl/MqrFmX\\n\");for(var s=f.inheritedDataKeys(t),a=0;a<s.length;++a){var c=t[s[a]];\"constructor\"!==s[a]&&f.isClass(c)&&(l(c.prototype,r,i,o,n),l(c,r,i,o,n))}return l(t,r,i,o,n)}}},{\"./errors\":12,\"./nodeback\":20,\"./util\":36}],25:[function(t,e,n){\"use strict\";e.exports=function(e,n,r,i){function o(t){var e,n=!1;if(void 0!==a&&t instanceof a)e=p(t),n=!0;else{var r=u.keys(t),i=r.length;e=new Array(2*i);for(var o=0;i>o;++o){var s=r[o];e[o]=t[s],e[o+i]=s}}this.constructor$(e),this._isMap=n,this._init$(void 0,n?-6:-3)}function s(t){var n,s=r(t);return l(s)?(n=s instanceof e?s._then(e.props,void 0,void 0,void 0,void 0):new o(s).promise(),s instanceof e&&n._propagateFrom(s,2),n):i(\"cannot await properties of a non-object\\n\\n    See http://goo.gl/MqrFmX\\n\")}var a,c=t(\"./util\"),l=c.isObject,u=t(\"./es5\");\"function\"==typeof Map&&(a=Map);var p=function(){function t(t,r){this[e]=t,this[e+n]=r,e++}var e=0,n=0;return function(r){n=r.size,e=0;var i=new Array(2*r.size);return r.forEach(t,i),i}}(),h=function(t){for(var e=new a,n=t.length/2|0,r=0;n>r;++r){var i=t[n+r],o=t[r];e.set(i,o)}return e};c.inherits(o,n),o.prototype._init=function(){},o.prototype._promiseFulfilled=function(t,e){this._values[e]=t;var n=++this._totalResolved;if(n>=this._length){var r;if(this._isMap)r=h(this._values);else{r={};for(var i=this.length(),o=0,s=this.length();s>o;++o)r[this._values[o+i]]=this._values[o]}return this._resolve(r),!0}return!1},o.prototype.shouldCopyValues=function(){return!1},o.prototype.getActualLength=function(t){return t>>1},e.prototype.props=function(){return s(this)},e.props=function(t){return s(t)}}},{\"./es5\":13,\"./util\":36}],26:[function(t,e,n){\"use strict\";function r(t,e,n,r,i){for(var o=0;i>o;++o)n[o+r]=t[o+e],t[o+e]=void 0}function i(t){this._capacity=t,this._length=0,this._front=0}i.prototype._willBeOverCapacity=function(t){return this._capacity<t},i.prototype._pushOne=function(t){var e=this.length();this._checkCapacity(e+1);var n=this._front+e&this._capacity-1;this[n]=t,this._length=e+1},i.prototype.push=function(t,e,n){var r=this.length()+3;if(this._willBeOverCapacity(r))return this._pushOne(t),this._pushOne(e),void this._pushOne(n);var i=this._front+r-3;this._checkCapacity(r);var o=this._capacity-1;this[i+0&o]=t,this[i+1&o]=e,this[i+2&o]=n,this._length=r},i.prototype.shift=function(){var t=this._front,e=this[t];return this[t]=void 0,this._front=t+1&this._capacity-1,this._length--,e},i.prototype.length=function(){return this._length},i.prototype._checkCapacity=function(t){this._capacity<t&&this._resizeTo(this._capacity<<1)},i.prototype._resizeTo=function(t){var e=this._capacity;this._capacity=t;var n=this._front,i=this._length,o=n+i&e-1;r(this,0,this,e,o)},e.exports=i},{}],27:[function(t,e,n){\"use strict\";e.exports=function(e,n,r,i){function o(t,o){var c=r(t);if(c instanceof e)return a(c);if(t=s.asArray(t),null===t)return i(\"expecting an array or an iterable object but got \"+s.classString(t));var l=new e(n);void 0!==o&&l._propagateFrom(o,3);for(var u=l._fulfill,p=l._reject,h=0,f=t.length;f>h;++h){var _=t[h];(void 0!==_||h in t)&&e.cast(_)._then(u,p,void 0,l,null)}return l}var s=t(\"./util\"),a=function(t){return t.then(function(e){return o(e,t)})};e.race=function(t){return o(t,void 0)},e.prototype.race=function(){return o(this,void 0)}}},{\"./util\":36}],28:[function(t,e,n){\"use strict\";e.exports=function(e,n,r,i,o,s){function a(t,n,r,i){this.constructor$(t);var s=h();this._fn=null===s?n:f.domainBind(s,n),void 0!==r&&(r=e.resolve(r),r._attachCancellationCallback(this)),this._initialValue=r,this._currentCancellable=null,i===o?this._eachValues=Array(this._length):0===i?this._eachValues=null:this._eachValues=void 0,this._promise._captureStackTrace(),this._init$(void 0,-5)}function c(t,e){this.isFulfilled()?e._resolve(t):e._reject(t)}function l(t,e,n,i){if(\"function\"!=typeof e)return r(\"expecting a function but got \"+f.classString(e));var o=new a(t,e,n,i);return o.promise()}function u(t){this.accum=t,this.array._gotAccum(t);var n=i(this.value,this.array._promise);return n instanceof e?(this.array._currentCancellable=n,n._then(p,void 0,void 0,this,void 0)):p.call(this,n)}function p(t){var n=this.array,r=n._promise,i=_(n._fn);r._pushContext();var o;o=void 0!==n._eachValues?i.call(r._boundValue(),t,this.index,this.length):i.call(r._boundValue(),this.accum,t,this.index,this.length),o instanceof e&&(n._currentCancellable=o);var a=r._popContext();return s.checkForgottenReturns(o,a,void 0!==n._eachValues?\"Promise.each\":\"Promise.reduce\",r),o}var h=e._getDomain,f=t(\"./util\"),_=f.tryCatch;f.inherits(a,n),a.prototype._gotAccum=function(t){void 0!==this._eachValues&&null!==this._eachValues&&t!==o&&this._eachValues.push(t)},a.prototype._eachComplete=function(t){return null!==this._eachValues&&this._eachValues.push(t),this._eachValues},a.prototype._init=function(){},a.prototype._resolveEmptyArray=function(){this._resolve(void 0!==this._eachValues?this._eachValues:this._initialValue)},a.prototype.shouldCopyValues=function(){return!1},a.prototype._resolve=function(t){this._promise._resolveCallback(t),this._values=null},a.prototype._resultCancelled=function(t){return t===this._initialValue?this._cancel():void(this._isResolved()||(this._resultCancelled$(),this._currentCancellable instanceof e&&this._currentCancellable.cancel(),this._initialValue instanceof e&&this._initialValue.cancel()))},a.prototype._iterate=function(t){this._values=t;var n,r,i=t.length;if(void 0!==this._initialValue?(n=this._initialValue,r=0):(n=e.resolve(t[0]),r=1),this._currentCancellable=n,!n.isRejected())for(;i>r;++r){var o={accum:null,value:t[r],index:r,length:i,array:this};n=n._then(u,void 0,void 0,o,void 0)}void 0!==this._eachValues&&(n=n._then(this._eachComplete,void 0,void 0,this,void 0)),n._then(c,c,void 0,n,this)},e.prototype.reduce=function(t,e){return l(this,t,e,null)},e.reduce=function(t,e,n,r){return l(t,e,n,r)}}},{\"./util\":36}],29:[function(t,e,n){\"use strict\";var r,i=t(\"./util\"),o=function(){throw new Error(\"No async scheduler available\\n\\n    See http://goo.gl/MqrFmX\\n\")},s=i.getNativePromise();if(i.isNode&&\"undefined\"==typeof MutationObserver){var a=global.setImmediate,c=process.nextTick;r=i.isRecentNode?function(t){a.call(global,t)}:function(t){c.call(process,t)}}else if(\"function\"==typeof s&&\"function\"==typeof s.resolve){var l=s.resolve();r=function(t){l.then(t)}}else r=\"undefined\"!=typeof MutationObserver&&(\"undefined\"==typeof window||!window.navigator||!window.navigator.standalone&&!window.cordova)&&\"classList\"in document.documentElement?function(){var t=document.createElement(\"div\"),e={attributes:!0},n=!1,r=document.createElement(\"div\"),i=new MutationObserver(function(){t.classList.toggle(\"foo\"),n=!1});i.observe(r,e);var o=function(){n||(n=!0,r.classList.toggle(\"foo\"))};return function(n){var r=new MutationObserver(function(){r.disconnect(),n()});r.observe(t,e),o()}}():\"undefined\"!=typeof setImmediate?function(t){setImmediate(t)}:\"undefined\"!=typeof setTimeout?function(t){setTimeout(t,0)}:o;e.exports=r},{\"./util\":36\n}],30:[function(t,e,n){\"use strict\";e.exports=function(e,n,r){function i(t){this.constructor$(t)}var o=e.PromiseInspection,s=t(\"./util\");s.inherits(i,n),i.prototype._promiseResolved=function(t,e){this._values[t]=e;var n=++this._totalResolved;return n>=this._length?(this._resolve(this._values),!0):!1},i.prototype._promiseFulfilled=function(t,e){var n=new o;return n._bitField=33554432,n._settledValueField=t,this._promiseResolved(e,n)},i.prototype._promiseRejected=function(t,e){var n=new o;return n._bitField=16777216,n._settledValueField=t,this._promiseResolved(e,n)},e.settle=function(t){return r.deprecated(\".settle()\",\".reflect()\"),new i(t).promise()},e.prototype.settle=function(){return e.settle(this)}}},{\"./util\":36}],31:[function(t,e,n){\"use strict\";e.exports=function(e,n,r){function i(t){this.constructor$(t),this._howMany=0,this._unwrap=!1,this._initialized=!1}function o(t,e){if((0|e)!==e||0>e)return r(\"expecting a positive integer\\n\\n    See http://goo.gl/MqrFmX\\n\");var n=new i(t),o=n.promise();return n.setHowMany(e),n.init(),o}var s=t(\"./util\"),a=t(\"./errors\").RangeError,c=t(\"./errors\").AggregateError,l=s.isArray,u={};s.inherits(i,n),i.prototype._init=function(){if(this._initialized){if(0===this._howMany)return void this._resolve([]);this._init$(void 0,-5);var t=l(this._values);!this._isResolved()&&t&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}},i.prototype.init=function(){this._initialized=!0,this._init()},i.prototype.setUnwrap=function(){this._unwrap=!0},i.prototype.howMany=function(){return this._howMany},i.prototype.setHowMany=function(t){this._howMany=t},i.prototype._promiseFulfilled=function(t){return this._addFulfilled(t),this._fulfilled()===this.howMany()?(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0):!1},i.prototype._promiseRejected=function(t){return this._addRejected(t),this._checkOutcome()},i.prototype._promiseCancelled=function(){return this._values instanceof e||null==this._values?this._cancel():(this._addRejected(u),this._checkOutcome())},i.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var t=new c,e=this.length();e<this._values.length;++e)this._values[e]!==u&&t.push(this._values[e]);return t.length>0?this._reject(t):this._cancel(),!0}return!1},i.prototype._fulfilled=function(){return this._totalResolved},i.prototype._rejected=function(){return this._values.length-this.length()},i.prototype._addRejected=function(t){this._values.push(t)},i.prototype._addFulfilled=function(t){this._values[this._totalResolved++]=t},i.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},i.prototype._getRangeError=function(t){var e=\"Input array must contain at least \"+this._howMany+\" items but contains only \"+t+\" items\";return new a(e)},i.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},e.some=function(t,e){return o(t,e)},e.prototype.some=function(t){return o(this,t)},e._SomePromiseArray=i}},{\"./errors\":12,\"./util\":36}],32:[function(t,e,n){\"use strict\";e.exports=function(t){function e(t){void 0!==t?(t=t._target(),this._bitField=t._bitField,this._settledValueField=t._isFateSealed()?t._settledValue():void 0):(this._bitField=0,this._settledValueField=void 0)}e.prototype._settledValue=function(){return this._settledValueField};var n=e.prototype.value=function(){if(!this.isFulfilled())throw new TypeError(\"cannot get fulfillment value of a non-fulfilled promise\\n\\n    See http://goo.gl/MqrFmX\\n\");return this._settledValue()},r=e.prototype.error=e.prototype.reason=function(){if(!this.isRejected())throw new TypeError(\"cannot get rejection reason of a non-rejected promise\\n\\n    See http://goo.gl/MqrFmX\\n\");return this._settledValue()},i=e.prototype.isFulfilled=function(){return 0!==(33554432&this._bitField)},o=e.prototype.isRejected=function(){return 0!==(16777216&this._bitField)},s=e.prototype.isPending=function(){return 0===(50397184&this._bitField)},a=e.prototype.isResolved=function(){return 0!==(50331648&this._bitField)};e.prototype.isCancelled=function(){return 0!==(8454144&this._bitField)},t.prototype.__isCancelled=function(){return 65536===(65536&this._bitField)},t.prototype._isCancelled=function(){return this._target().__isCancelled()},t.prototype.isCancelled=function(){return 0!==(8454144&this._target()._bitField)},t.prototype.isPending=function(){return s.call(this._target())},t.prototype.isRejected=function(){return o.call(this._target())},t.prototype.isFulfilled=function(){return i.call(this._target())},t.prototype.isResolved=function(){return a.call(this._target())},t.prototype.value=function(){return n.call(this._target())},t.prototype.reason=function(){var t=this._target();return t._unsetRejectionIsUnhandled(),r.call(t)},t.prototype._value=function(){return this._settledValue()},t.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},t.PromiseInspection=e}},{}],33:[function(t,e,n){\"use strict\";e.exports=function(e,n){function r(t,r){if(u(t)){if(t instanceof e)return t;var i=o(t);if(i===l){r&&r._pushContext();var c=e.reject(i.e);return r&&r._popContext(),c}if(\"function\"==typeof i){if(s(t)){var c=new e(n);return t._then(c._fulfill,c._reject,void 0,c,null),c}return a(t,i,r)}}return t}function i(t){return t.then}function o(t){try{return i(t)}catch(e){return l.e=e,l}}function s(t){try{return p.call(t,\"_promise0\")}catch(e){return!1}}function a(t,r,i){function o(t){a&&(a._resolveCallback(t),a=null)}function s(t){a&&(a._rejectCallback(t,p,!0),a=null)}var a=new e(n),u=a;i&&i._pushContext(),a._captureStackTrace(),i&&i._popContext();var p=!0,h=c.tryCatch(r).call(t,o,s);return p=!1,a&&h===l&&(a._rejectCallback(h.e,!0,!0),a=null),u}var c=t(\"./util\"),l=c.errorObj,u=c.isObject,p={}.hasOwnProperty;return r}},{\"./util\":36}],34:[function(t,e,n){\"use strict\";e.exports=function(e,n,r){function i(t){this.handle=t}function o(t){return clearTimeout(this.handle),t}function s(t){throw clearTimeout(this.handle),t}var a=t(\"./util\"),c=e.TimeoutError;i.prototype._resultCancelled=function(){clearTimeout(this.handle)};var l=function(t){return u(+this).thenReturn(t)},u=e.delay=function(t,o){var s,a;return void 0!==o?(s=e.resolve(o)._then(l,null,null,t,void 0),r.cancellation()&&o instanceof e&&s._setOnCancel(o)):(s=new e(n),a=setTimeout(function(){s._fulfill()},+t),r.cancellation()&&s._setOnCancel(new i(a)),s._captureStackTrace()),s._setAsyncGuaranteed(),s};e.prototype.delay=function(t){return u(t,this)};var p=function(t,e,n){var r;r=\"string\"!=typeof e?e instanceof Error?e:new c(\"operation timed out\"):new c(e),a.markAsOriginatingFromRejection(r),t._attachExtraTrace(r),t._reject(r),null!=n&&n.cancel()};e.prototype.timeout=function(t,e){t=+t;var n,a,c=new i(setTimeout(function(){n.isPending()&&p(n,e,a)},t));return r.cancellation()?(a=this.then(),n=a._then(o,s,void 0,c,void 0),n._setOnCancel(c)):n=this._then(o,s,void 0,c,void 0),n}}},{\"./util\":36}],35:[function(t,e,n){\"use strict\";e.exports=function(e,n,r,i,o,s){function a(t){setTimeout(function(){throw t},0)}function c(t){var e=r(t);return e!==t&&\"function\"==typeof t._isDisposable&&\"function\"==typeof t._getDisposer&&t._isDisposable()&&e._setDisposable(t._getDisposer()),e}function l(t,n){function i(){if(s>=l)return u._fulfill();var o=c(t[s++]);if(o instanceof e&&o._isDisposable()){try{o=r(o._getDisposer().tryDispose(n),t.promise)}catch(p){return a(p)}if(o instanceof e)return o._then(i,a,null,null,null)}i()}var s=0,l=t.length,u=new e(o);return i(),u}function u(t,e,n){this._data=t,this._promise=e,this._context=n}function p(t,e,n){this.constructor$(t,e,n)}function h(t){return u.isDisposer(t)?(this.resources[this.index]._setDisposable(t),t.promise()):t}function f(t){this.length=t,this.promise=null,this[t-1]=null}var _=t(\"./util\"),d=t(\"./errors\").TypeError,v=t(\"./util\").inherits,y=_.errorObj,m=_.tryCatch,g={};u.prototype.data=function(){return this._data},u.prototype.promise=function(){return this._promise},u.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():g},u.prototype.tryDispose=function(t){var e=this.resource(),n=this._context;void 0!==n&&n._pushContext();var r=e!==g?this.doDispose(e,t):null;return void 0!==n&&n._popContext(),this._promise._unsetDisposable(),this._data=null,r},u.isDisposer=function(t){return null!=t&&\"function\"==typeof t.resource&&\"function\"==typeof t.tryDispose},v(p,u),p.prototype.doDispose=function(t,e){var n=this.data();return n.call(t,t,e)},f.prototype._resultCancelled=function(){for(var t=this.length,n=0;t>n;++n){var r=this[n];r instanceof e&&r.cancel()}},e.using=function(){var t=arguments.length;if(2>t)return n(\"you must pass at least 2 arguments to Promise.using\");var i=arguments[t-1];if(\"function\"!=typeof i)return n(\"expecting a function but got \"+_.classString(i));var o,a=!0;2===t&&Array.isArray(arguments[0])?(o=arguments[0],t=o.length,a=!1):(o=arguments,t--);for(var c=new f(t),p=0;t>p;++p){var d=o[p];if(u.isDisposer(d)){var v=d;d=d.promise(),d._setDisposable(v)}else{var g=r(d);g instanceof e&&(d=g._then(h,null,null,{resources:c,index:p},void 0))}c[p]=d}for(var b=new Array(c.length),p=0;p<b.length;++p)b[p]=e.resolve(c[p]).reflect();var w=e.all(b).then(function(t){for(var e=0;e<t.length;++e){var n=t[e];if(n.isRejected())return y.e=n.error(),y;if(!n.isFulfilled())return void w.cancel();t[e]=n.value()}C._pushContext(),i=m(i);var r=a?i.apply(void 0,t):i(t),o=C._popContext();return s.checkForgottenReturns(r,o,\"Promise.using\",C),r}),C=w.lastly(function(){var t=new e.PromiseInspection(w);return l(c,t)});return c.promise=C,C._setOnCancel(c),C},e.prototype._setDisposable=function(t){this._bitField=131072|this._bitField,this._disposer=t},e.prototype._isDisposable=function(){return(131072&this._bitField)>0},e.prototype._getDisposer=function(){return this._disposer},e.prototype._unsetDisposable=function(){this._bitField=-131073&this._bitField,this._disposer=void 0},e.prototype.disposer=function(t){if(\"function\"==typeof t)return new p(t,this,i());throw new d}}},{\"./errors\":12,\"./util\":36}],36:[function(t,e,n){\"use strict\";function r(){try{var t=P;return P=null,t.apply(this,arguments)}catch(e){return x.e=e,x}}function i(t){return P=t,r}function o(t){return null==t||t===!0||t===!1||\"string\"==typeof t||\"number\"==typeof t}function s(t){return\"function\"==typeof t||\"object\"==typeof t&&null!==t}function a(t){return o(t)?new Error(v(t)):t}function c(t,e){var n,r=t.length,i=new Array(r+1);for(n=0;r>n;++n)i[n]=t[n];return i[n]=e,i}function l(t,e,n){if(!F.isES5)return{}.hasOwnProperty.call(t,e)?t[e]:void 0;var r=Object.getOwnPropertyDescriptor(t,e);return null!=r?null==r.get&&null==r.set?r.value:n:void 0}function u(t,e,n){if(o(t))return t;var r={value:n,configurable:!0,enumerable:!1,writable:!0};return F.defineProperty(t,e,r),t}function p(t){throw t}function h(t){try{if(\"function\"==typeof t){var e=F.names(t.prototype),n=F.isES5&&e.length>1,r=e.length>0&&!(1===e.length&&\"constructor\"===e[0]),i=A.test(t+\"\")&&F.names(t).length>0;if(n||r||i)return!0}return!1}catch(o){return!1}}function f(t){function e(){}function n(){return typeof r.foo}e.prototype=t;var r=new e;return n(),n(),t}function _(t){return D.test(t)}function d(t,e,n){for(var r=new Array(t),i=0;t>i;++i)r[i]=e+i+n;return r}function v(t){try{return t+\"\"}catch(e){return\"[no string representation]\"}}function y(t){return t instanceof Error||null!==t&&\"object\"==typeof t&&\"string\"==typeof t.message&&\"string\"==typeof t.name}function m(t){try{u(t,\"isOperational\",!0)}catch(e){}}function g(t){return null==t?!1:t instanceof Error.__BluebirdErrorTypes__.OperationalError||t.isOperational===!0}function b(t){return y(t)&&F.propertyIsWritable(t,\"stack\")}function w(t){return{}.toString.call(t)}function C(t,e,n){for(var r=F.names(t),i=0;i<r.length;++i){var o=r[i];if(n(o))try{F.defineProperty(e,o,F.getDescriptor(t,o))}catch(s){}}}function j(t){return H?process.env[t]:void 0}function E(){if(\"function\"==typeof Promise)try{var t=new Promise(function(){});if(\"[object Promise]\"==={}.toString.call(t))return Promise}catch(e){}}function k(t,e){return t.bind(e)}var F=t(\"./es5\"),T=\"undefined\"==typeof navigator,x={e:{}},P,S=\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:void 0!==this?this:null,R=function(t,e){function n(){this.constructor=t,this.constructor$=e;for(var n in e.prototype)r.call(e.prototype,n)&&\"$\"!==n.charAt(n.length-1)&&(this[n+\"$\"]=e.prototype[n])}var r={}.hasOwnProperty;return n.prototype=e.prototype,t.prototype=new n,t.prototype},O=function(){var t=[Array.prototype,Object.prototype,Function.prototype],e=function(e){for(var n=0;n<t.length;++n)if(t[n]===e)return!0;return!1};if(F.isES5){var n=Object.getOwnPropertyNames;return function(t){for(var r=[],i=Object.create(null);null!=t&&!e(t);){var o;try{o=n(t)}catch(s){return r}for(var a=0;a<o.length;++a){var c=o[a];if(!i[c]){i[c]=!0;var l=Object.getOwnPropertyDescriptor(t,c);null!=l&&null==l.get&&null==l.set&&r.push(c)}}t=F.getPrototypeOf(t)}return r}}var r={}.hasOwnProperty;return function(n){if(e(n))return[];var i=[];t:for(var o in n)if(r.call(n,o))i.push(o);else{for(var s=0;s<t.length;++s)if(r.call(t[s],o))continue t;i.push(o)}return i}}(),A=/this\\s*\\.\\s*\\S+\\s*=/,D=/^[a-z$_][a-z$_0-9]*$/i,V=function(){return\"stack\"in new Error?function(t){return b(t)?t:new Error(v(t))}:function(t){if(b(t))return t;try{throw new Error(v(t))}catch(e){return e}}}(),I=function(t){return F.isArray(t)?t:null};if(\"undefined\"!=typeof Symbol&&Symbol.iterator){var L=\"function\"==typeof Array.from?function(t){return Array.from(t)}:function(t){for(var e,n=[],r=t[Symbol.iterator]();!(e=r.next()).done;)n.push(e.value);return n};I=function(t){return F.isArray(t)?t:null!=t&&\"function\"==typeof t[Symbol.iterator]?L(t):null}}var N=\"undefined\"!=typeof process&&\"[object process]\"===w(process).toLowerCase(),H=\"undefined\"!=typeof process&&\"undefined\"!=typeof process.env,B={isClass:h,isIdentifier:_,inheritedDataKeys:O,getDataPropertyOrDefault:l,thrower:p,isArray:F.isArray,asArray:I,notEnumerableProp:u,isPrimitive:o,isObject:s,isError:y,canEvaluate:T,errorObj:x,tryCatch:i,inherits:R,withAppended:c,maybeWrapAsError:a,toFastProperties:f,filledRange:d,toString:v,canAttachTrace:b,ensureErrorObject:V,originatesFromRejection:g,markAsOriginatingFromRejection:m,classString:w,copyDescriptors:C,hasDevTools:\"undefined\"!=typeof chrome&&chrome&&\"function\"==typeof chrome.loadTimes,isNode:N,hasEnvVariables:H,env:j,global:S,getNativePromise:E,domainBind:k};B.isRecentNode=B.isNode&&function(){var t;return process.versions&&process.versions.node?t=process.versions.node.split(\".\").map(Number):process.version&&(t=process.version.split(\".\").map(Number)),0===t[0]&&t[1]>10||t[0]>0}(),B.isNode&&B.toFastProperties(process);try{throw new Error}catch(U){B.lastLineError=U}e.exports=B},{\"./es5\":13}]},{},[4])(4)}),\"undefined\"!=typeof window&&null!==window?window.P=window.Promise:\"undefined\"!=typeof self&&null!==self&&(self.P=self.Promise);","// BLOCKLY VERSION: 3ca7bcc3dfc80651c65c103740feec3de39fb1c3\n// BLOCKLY-PACKAGE VERSION: 0.0.15\n// blocks/procedures.js\n\n/**\n * @license\n * Visual Blocks Editor\n *\n * Copyright 2012 Google Inc.\n * https://developers.google.com/blockly/\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *   http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * @fileoverview Procedure blocks for Blockly.\n * @author fraser@google.com (Neil Fraser)\n */\n'use strict';\n\ngoog.provide('Blockly.Blocks.procedures');\n\ngoog.require('Blockly.Blocks');\n\n\n/**\n * Common HSV hue for all blocks in this category.\n */\nBlockly.Blocks.procedures.HUE = 290;\n\nBlockly.Blocks['procedures_defnoreturn'] = {\n  /**\n   * Block for defining a procedure with no return value.\n   * @this Blockly.Block\n   */\n  init: function() {\n    var nameField = new Blockly.FieldTextInput('',\n        Blockly.Procedures.rename);\n    nameField.setSpellcheck(false);\n    this.appendDummyInput()\n        .appendField(Blockly.Msg.PROCEDURES_DEFNORETURN_TITLE)\n        .appendField(nameField, 'NAME')\n        .appendField('', 'PARAMS');\n    this.setMutator(new Blockly.Mutator(['procedures_mutatorarg']));\n    if ((this.workspace.options.comments ||\n         (this.workspace.options.parentWorkspace &&\n          this.workspace.options.parentWorkspace.options.comments)) &&\n        Blockly.Msg.PROCEDURES_DEFNORETURN_COMMENT) {\n      this.setCommentText(Blockly.Msg.PROCEDURES_DEFNORETURN_COMMENT);\n    }\n    this.setColour(Blockly.Blocks.procedures.HUE);\n    this.setTooltip(Blockly.Msg.PROCEDURES_DEFNORETURN_TOOLTIP);\n    this.setHelpUrl(Blockly.Msg.PROCEDURES_DEFNORETURN_HELPURL);\n    this.arguments_ = [];\n    this.setStatements_(true);\n    this.statementConnection_ = null;\n  },\n  /**\n   * Add or remove the statement block from this function definition.\n   * @param {boolean} hasStatements True if a statement block is needed.\n   * @this Blockly.Block\n   */\n  setStatements_: function(hasStatements) {\n    if (this.hasStatements_ === hasStatements) {\n      return;\n    }\n    if (hasStatements) {\n      this.appendStatementInput('STACK')\n          .appendField(Blockly.Msg.PROCEDURES_DEFNORETURN_DO);\n      if (this.getInput('RETURN')) {\n        this.moveInputBefore('STACK', 'RETURN');\n      }\n    } else {\n      this.removeInput('STACK', true);\n    }\n    this.hasStatements_ = hasStatements;\n  },\n  /**\n   * Update the display of parameters for this procedure definition block.\n   * Display a warning if there are duplicately named parameters.\n   * @private\n   * @this Blockly.Block\n   */\n  updateParams_: function() {\n    // Check for duplicated arguments.\n    var badArg = false;\n    var hash = {};\n    for (var i = 0; i < this.arguments_.length; i++) {\n      if (hash['arg_' + this.arguments_[i].toLowerCase()]) {\n        badArg = true;\n        break;\n      }\n      hash['arg_' + this.arguments_[i].toLowerCase()] = true;\n    }\n    if (badArg) {\n      this.setWarningText(Blockly.Msg.PROCEDURES_DEF_DUPLICATE_WARNING);\n    } else {\n      this.setWarningText(null);\n    }\n    // Merge the arguments into a human-readable list.\n    var paramString = '';\n    if (this.arguments_.length) {\n      paramString = Blockly.Msg.PROCEDURES_BEFORE_PARAMS +\n          ' ' + this.arguments_.join(', ');\n    }\n    // The params field is deterministic based on the mutation,\n    // no need to fire a change event.\n    Blockly.Events.disable();\n    try {\n      this.setFieldValue(paramString, 'PARAMS');\n    } finally {\n      Blockly.Events.enable();\n    }\n  },\n  /**\n   * Create XML to represent the argument inputs.\n   * @param {boolean=} opt_paramIds If true include the IDs of the parameter\n   *     quarks.  Used by Blockly.Procedures.mutateCallers for reconnection.\n   * @return {!Element} XML storage element.\n   * @this Blockly.Block\n   */\n  mutationToDom: function(opt_paramIds) {\n    var container = document.createElement('mutation');\n    if (opt_paramIds) {\n      container.setAttribute('name', this.getFieldValue('NAME'));\n    }\n    for (var i = 0; i < this.arguments_.length; i++) {\n      var parameter = document.createElement('arg');\n      parameter.setAttribute('name', this.arguments_[i]);\n      if (opt_paramIds && this.paramIds_) {\n        parameter.setAttribute('paramId', this.paramIds_[i]);\n      }\n      container.appendChild(parameter);\n    }\n\n    // Save whether the statement input is visible.\n    if (!this.hasStatements_) {\n      container.setAttribute('statements', 'false');\n    }\n    return container;\n  },\n  /**\n   * Parse XML to restore the argument inputs.\n   * @param {!Element} xmlElement XML storage element.\n   * @this Blockly.Block\n   */\n  domToMutation: function(xmlElement) {\n    this.arguments_ = [];\n    for (var i = 0, childNode; childNode = xmlElement.childNodes[i]; i++) {\n      if (childNode.nodeName.toLowerCase() == 'arg') {\n        this.arguments_.push(childNode.getAttribute('name'));\n      }\n    }\n    this.updateParams_();\n    Blockly.Procedures.mutateCallers(this);\n\n    // Show or hide the statement input.\n    this.setStatements_(xmlElement.getAttribute('statements') !== 'false');\n  },\n  /**\n   * Populate the mutator's dialog with this block's components.\n   * @param {!Blockly.Workspace} workspace Mutator's workspace.\n   * @return {!Blockly.Block} Root block in mutator.\n   * @this Blockly.Block\n   */\n  decompose: function(workspace) {\n    var containerBlock = workspace.newBlock('procedures_mutatorcontainer');\n    containerBlock.initSvg();\n\n    // Check/uncheck the allow statement box.\n    if (this.getInput('RETURN')) {\n      containerBlock.setFieldValue(this.hasStatements_ ? 'TRUE' : 'FALSE',\n                                   'STATEMENTS');\n    } else {\n      containerBlock.getInput('STATEMENT_INPUT').setVisible(false);\n    }\n\n    // Parameter list.\n    var connection = containerBlock.getInput('STACK').connection;\n    for (var i = 0; i < this.arguments_.length; i++) {\n      var paramBlock = workspace.newBlock('procedures_mutatorarg');\n      paramBlock.initSvg();\n      paramBlock.setFieldValue(this.arguments_[i], 'NAME');\n      // Store the old location.\n      paramBlock.oldLocation = i;\n      connection.connect(paramBlock.previousConnection);\n      connection = paramBlock.nextConnection;\n    }\n    // Initialize procedure's callers with blank IDs.\n    Blockly.Procedures.mutateCallers(this);\n    return containerBlock;\n  },\n  /**\n   * Reconfigure this block based on the mutator dialog's components.\n   * @param {!Blockly.Block} containerBlock Root block in mutator.\n   * @this Blockly.Block\n   */\n  compose: function(containerBlock) {\n    // Parameter list.\n    this.arguments_ = [];\n    this.paramIds_ = [];\n    var paramBlock = containerBlock.getInputTargetBlock('STACK');\n    while (paramBlock) {\n      this.arguments_.push(paramBlock.getFieldValue('NAME'));\n      this.paramIds_.push(paramBlock.id);\n      paramBlock = paramBlock.nextConnection &&\n          paramBlock.nextConnection.targetBlock();\n    }\n    this.updateParams_();\n    Blockly.Procedures.mutateCallers(this);\n\n    // Show/hide the statement input.\n    var hasStatements = containerBlock.getFieldValue('STATEMENTS');\n    if (hasStatements !== null) {\n      hasStatements = hasStatements == 'TRUE';\n      if (this.hasStatements_ != hasStatements) {\n        if (hasStatements) {\n          this.setStatements_(true);\n          // Restore the stack, if one was saved.\n          Blockly.Mutator.reconnect(this.statementConnection_, this, 'STACK');\n          this.statementConnection_ = null;\n        } else {\n          // Save the stack, then disconnect it.\n          var stackConnection = this.getInput('STACK').connection;\n          this.statementConnection_ = stackConnection.targetConnection;\n          if (this.statementConnection_) {\n            var stackBlock = stackConnection.targetBlock();\n            stackBlock.unplug();\n            stackBlock.bumpNeighbours_();\n          }\n          this.setStatements_(false);\n        }\n      }\n    }\n  },\n  /**\n   * Return the signature of this procedure definition.\n   * @return {!Array} Tuple containing three elements:\n   *     - the name of the defined procedure,\n   *     - a list of all its arguments,\n   *     - that it DOES NOT have a return value.\n   * @this Blockly.Block\n   */\n  getProcedureDef: function() {\n    return [this.getFieldValue('NAME'), this.arguments_, false];\n  },\n  /**\n   * Return all variables referenced by this block.\n   * @return {!Array.<string>} List of variable names.\n   * @this Blockly.Block\n   */\n  getVars: function() {\n    return this.arguments_;\n  },\n  /**\n   * Notification that a variable is renaming.\n   * If the name matches one of this block's variables, rename it.\n   * @param {string} oldName Previous name of variable.\n   * @param {string} newName Renamed variable.\n   * @this Blockly.Block\n   */\n  renameVar: function(oldName, newName) {\n    var change = false;\n    for (var i = 0; i < this.arguments_.length; i++) {\n      if (Blockly.Names.equals(oldName, this.arguments_[i])) {\n        this.arguments_[i] = newName;\n        change = true;\n      }\n    }\n    if (change) {\n      this.updateParams_();\n      // Update the mutator's variables if the mutator is open.\n      if (this.mutator.isVisible()) {\n        var blocks = this.mutator.workspace_.getAllBlocks();\n        for (var i = 0, block; block = blocks[i]; i++) {\n          if (block.type == 'procedures_mutatorarg' &&\n              Blockly.Names.equals(oldName, block.getFieldValue('NAME'))) {\n            block.setFieldValue(newName, 'NAME');\n          }\n        }\n      }\n    }\n  },\n  /**\n   * Add custom menu options to this block's context menu.\n   * @param {!Array} options List of menu options to add to.\n   * @this Blockly.Block\n   */\n  customContextMenu: function(options) {\n    // Add option to create caller.\n    var option = {enabled: true};\n    var name = this.getFieldValue('NAME');\n    option.text = Blockly.Msg.PROCEDURES_CREATE_DO.replace('%1', name);\n    var xmlMutation = goog.dom.createDom('mutation');\n    xmlMutation.setAttribute('name', name);\n    for (var i = 0; i < this.arguments_.length; i++) {\n      var xmlArg = goog.dom.createDom('arg');\n      xmlArg.setAttribute('name', this.arguments_[i]);\n      xmlMutation.appendChild(xmlArg);\n    }\n    var xmlBlock = goog.dom.createDom('block', null, xmlMutation);\n    xmlBlock.setAttribute('type', this.callType_);\n    option.callback = Blockly.ContextMenu.callbackFactory(this, xmlBlock);\n    options.push(option);\n\n    // Add options to create getters for each parameter.\n    if (!this.isCollapsed()) {\n      for (var i = 0; i < this.arguments_.length; i++) {\n        var option = {enabled: true};\n        var name = this.arguments_[i];\n        option.text = Blockly.Msg.VARIABLES_SET_CREATE_GET.replace('%1', name);\n        var xmlField = goog.dom.createDom('field', null, name);\n        xmlField.setAttribute('name', 'VAR');\n        var xmlBlock = goog.dom.createDom('block', null, xmlField);\n        xmlBlock.setAttribute('type', 'variables_get');\n        option.callback = Blockly.ContextMenu.callbackFactory(this, xmlBlock);\n        options.push(option);\n      }\n    }\n  },\n  callType_: 'procedures_callnoreturn'\n};\n\nBlockly.Blocks['procedures_defreturn'] = {\n  /**\n   * Block for defining a procedure with a return value.\n   * @this Blockly.Block\n   */\n  init: function() {\n    var nameField = new Blockly.FieldTextInput('',\n        Blockly.Procedures.rename);\n    nameField.setSpellcheck(false);\n    this.appendDummyInput()\n        .appendField(Blockly.Msg.PROCEDURES_DEFRETURN_TITLE)\n        .appendField(nameField, 'NAME')\n        .appendField('', 'PARAMS');\n    this.appendValueInput('RETURN')\n        .setAlign(Blockly.ALIGN_RIGHT)\n        .appendField(Blockly.Msg.PROCEDURES_DEFRETURN_RETURN);\n    this.setMutator(new Blockly.Mutator(['procedures_mutatorarg']));\n    if ((this.workspace.options.comments ||\n         (this.workspace.options.parentWorkspace &&\n          this.workspace.options.parentWorkspace.options.comments)) &&\n        Blockly.Msg.PROCEDURES_DEFRETURN_COMMENT) {\n      this.setCommentText(Blockly.Msg.PROCEDURES_DEFRETURN_COMMENT);\n    }\n    this.setColour(Blockly.Blocks.procedures.HUE);\n    this.setTooltip(Blockly.Msg.PROCEDURES_DEFRETURN_TOOLTIP);\n    this.setHelpUrl(Blockly.Msg.PROCEDURES_DEFRETURN_HELPURL);\n    this.arguments_ = [];\n    this.setStatements_(true);\n    this.statementConnection_ = null;\n  },\n  setStatements_: Blockly.Blocks['procedures_defnoreturn'].setStatements_,\n  updateParams_: Blockly.Blocks['procedures_defnoreturn'].updateParams_,\n  mutationToDom: Blockly.Blocks['procedures_defnoreturn'].mutationToDom,\n  domToMutation: Blockly.Blocks['procedures_defnoreturn'].domToMutation,\n  decompose: Blockly.Blocks['procedures_defnoreturn'].decompose,\n  compose: Blockly.Blocks['procedures_defnoreturn'].compose,\n  /**\n   * Return the signature of this procedure definition.\n   * @return {!Array} Tuple containing three elements:\n   *     - the name of the defined procedure,\n   *     - a list of all its arguments,\n   *     - that it DOES have a return value.\n   * @this Blockly.Block\n   */\n  getProcedureDef: function() {\n    return [this.getFieldValue('NAME'), this.arguments_, true];\n  },\n  getVars: Blockly.Blocks['procedures_defnoreturn'].getVars,\n  renameVar: Blockly.Blocks['procedures_defnoreturn'].renameVar,\n  customContextMenu: Blockly.Blocks['procedures_defnoreturn'].customContextMenu,\n  callType_: 'procedures_callreturn'\n};\n\nBlockly.Blocks['procedures_mutatorcontainer'] = {\n  /**\n   * Mutator block for procedure container.\n   * @this Blockly.Block\n   */\n  init: function() {\n    this.appendDummyInput()\n        .appendField(Blockly.Msg.PROCEDURES_MUTATORCONTAINER_TITLE);\n    this.appendStatementInput('STACK');\n    this.appendDummyInput('STATEMENT_INPUT')\n        .appendField(Blockly.Msg.PROCEDURES_ALLOW_STATEMENTS)\n        .appendField(new Blockly.FieldCheckbox('TRUE'), 'STATEMENTS');\n    this.setColour(Blockly.Blocks.procedures.HUE);\n    this.setTooltip(Blockly.Msg.PROCEDURES_MUTATORCONTAINER_TOOLTIP);\n    this.contextMenu = false;\n  }\n};\n\nBlockly.Blocks['procedures_mutatorarg'] = {\n  /**\n   * Mutator block for procedure argument.\n   * @this Blockly.Block\n   */\n  init: function() {\n    var field = new Blockly.FieldTextInput('x', this.validator_);\n    this.appendDummyInput()\n        .appendField(Blockly.Msg.PROCEDURES_MUTATORARG_TITLE)\n        .appendField(field, 'NAME');\n    this.setPreviousStatement(true);\n    this.setNextStatement(true);\n    this.setColour(Blockly.Blocks.procedures.HUE);\n    this.setTooltip(Blockly.Msg.PROCEDURES_MUTATORARG_TOOLTIP);\n    this.contextMenu = false;\n\n    // Create the default variable when we drag the block in from the flyout.\n    // Have to do this after installing the field on the block.\n    field.onFinishEditing_ = this.createNewVar_;\n    field.onFinishEditing_('x');\n  },\n  /**\n   * Obtain a valid name for the procedure.\n   * Merge runs of whitespace.  Strip leading and trailing whitespace.\n   * Beyond this, all names are legal.\n   * @param {string} newVar User-supplied name.\n   * @return {?string} Valid name, or null if a name was not specified.\n   * @private\n   * @this Blockly.Block\n   */\n  validator_: function(newVar) {\n    newVar = newVar.replace(/[\\s\\xa0]+/g, ' ').replace(/^ | $/g, '');\n    return newVar || null;\n  },\n  /**\n   * Called when focusing away from the text field.\n   * Creates a new variable with this name.\n   * @param {string} newText The new variable name.\n   * @private\n   * @this Blockly.FieldTextInput\n   */\n  createNewVar_: function(newText) {\n    var source = this.sourceBlock_;\n    if (source && source.workspace && source.workspace.options &&\n        source.workspace.options.parentWorkspace) {\n      source.workspace.options.parentWorkspace.createVariable(newText);\n    }\n  }\n};\n\nBlockly.Blocks['procedures_callnoreturn'] = {\n  /**\n   * Block for calling a procedure with no return value.\n   * @this Blockly.Block\n   */\n  init: function() {\n    this.appendDummyInput('TOPROW')\n        .appendField(this.id, 'NAME');\n    this.setPreviousStatement(true);\n    this.setNextStatement(true);\n    this.setColour(Blockly.Blocks.procedures.HUE);\n    // Tooltip is set in renameProcedure.\n    this.setHelpUrl(Blockly.Msg.PROCEDURES_CALLNORETURN_HELPURL);\n    this.arguments_ = [];\n    this.quarkConnections_ = {};\n    this.quarkIds_ = null;\n  },\n  /**\n   * Returns the name of the procedure this block calls.\n   * @return {string} Procedure name.\n   * @this Blockly.Block\n   */\n  getProcedureCall: function() {\n    // The NAME field is guaranteed to exist, null will never be returned.\n    return /** @type {string} */ (this.getFieldValue('NAME'));\n  },\n  /**\n   * Notification that a procedure is renaming.\n   * If the name matches this block's procedure, rename it.\n   * @param {string} oldName Previous name of procedure.\n   * @param {string} newName Renamed procedure.\n   * @this Blockly.Block\n   */\n  renameProcedure: function(oldName, newName) {\n    if (Blockly.Names.equals(oldName, this.getProcedureCall())) {\n      this.setFieldValue(newName, 'NAME');\n      this.setTooltip(\n          (this.outputConnection ? Blockly.Msg.PROCEDURES_CALLRETURN_TOOLTIP :\n           Blockly.Msg.PROCEDURES_CALLNORETURN_TOOLTIP)\n          .replace('%1', newName));\n    }\n  },\n  /**\n   * Notification that the procedure's parameters have changed.\n   * @param {!Array.<string>} paramNames New param names, e.g. ['x', 'y', 'z'].\n   * @param {!Array.<string>} paramIds IDs of params (consistent for each\n   *     parameter through the life of a mutator, regardless of param renaming),\n   *     e.g. ['piua', 'f8b_', 'oi.o'].\n   * @private\n   * @this Blockly.Block\n   */\n  setProcedureParameters_: function(paramNames, paramIds) {\n    // Data structures:\n    // this.arguments = ['x', 'y']\n    //     Existing param names.\n    // this.quarkConnections_ {piua: null, f8b_: Blockly.Connection}\n    //     Look-up of paramIds to connections plugged into the call block.\n    // this.quarkIds_ = ['piua', 'f8b_']\n    //     Existing param IDs.\n    // Note that quarkConnections_ may include IDs that no longer exist, but\n    // which might reappear if a param is reattached in the mutator.\n    var defBlock = Blockly.Procedures.getDefinition(this.getProcedureCall(),\n        this.workspace);\n    var mutatorOpen = defBlock && defBlock.mutator &&\n        defBlock.mutator.isVisible();\n    if (!mutatorOpen) {\n      this.quarkConnections_ = {};\n      this.quarkIds_ = null;\n    }\n    if (!paramIds) {\n      // Reset the quarks (a mutator is about to open).\n      return;\n    }\n    if (goog.array.equals(this.arguments_, paramNames)) {\n      // No change.\n      this.quarkIds_ = paramIds;\n      return;\n    }\n    if (paramIds.length != paramNames.length) {\n      throw 'Error: paramNames and paramIds must be the same length.';\n    }\n    this.setCollapsed(false);\n    if (!this.quarkIds_) {\n      // Initialize tracking for this block.\n      this.quarkConnections_ = {};\n      if (paramNames.join('\\n') == this.arguments_.join('\\n')) {\n        // No change to the parameters, allow quarkConnections_ to be\n        // populated with the existing connections.\n        this.quarkIds_ = paramIds;\n      } else {\n        this.quarkIds_ = [];\n      }\n    }\n    // Switch off rendering while the block is rebuilt.\n    var savedRendered = this.rendered;\n    this.rendered = false;\n    // Update the quarkConnections_ with existing connections.\n    for (var i = 0; i < this.arguments_.length; i++) {\n      var input = this.getInput('ARG' + i);\n      if (input) {\n        var connection = input.connection.targetConnection;\n        this.quarkConnections_[this.quarkIds_[i]] = connection;\n        if (mutatorOpen && connection &&\n            paramIds.indexOf(this.quarkIds_[i]) == -1) {\n          // This connection should no longer be attached to this block.\n          connection.disconnect();\n          connection.getSourceBlock().bumpNeighbours_();\n        }\n      }\n    }\n    // Rebuild the block's arguments.\n    this.arguments_ = [].concat(paramNames);\n    this.updateShape_();\n    this.quarkIds_ = paramIds;\n    // Reconnect any child blocks.\n    if (this.quarkIds_) {\n      for (var i = 0; i < this.arguments_.length; i++) {\n        var quarkId = this.quarkIds_[i];\n        if (quarkId in this.quarkConnections_) {\n          var connection = this.quarkConnections_[quarkId];\n          if (!Blockly.Mutator.reconnect(connection, this, 'ARG' + i)) {\n            // Block no longer exists or has been attached elsewhere.\n            delete this.quarkConnections_[quarkId];\n          }\n        }\n      }\n    }\n    // Restore rendering and show the changes.\n    this.rendered = savedRendered;\n    if (this.rendered) {\n      this.render();\n    }\n  },\n  /**\n   * Modify this block to have the correct number of arguments.\n   * @private\n   * @this Blockly.Block\n   */\n  updateShape_: function() {\n    for (var i = 0; i < this.arguments_.length; i++) {\n      var field = this.getField('ARGNAME' + i);\n      if (field) {\n        // Ensure argument name is up to date.\n        // The argument name field is deterministic based on the mutation,\n        // no need to fire a change event.\n        Blockly.Events.disable();\n        try {\n          field.setValue(this.arguments_[i]);\n        } finally {\n          Blockly.Events.enable();\n        }\n      } else {\n        // Add new input.\n        field = new Blockly.FieldLabel(this.arguments_[i]);\n        var input = this.appendValueInput('ARG' + i)\n            .setAlign(Blockly.ALIGN_RIGHT)\n            .appendField(field, 'ARGNAME' + i);\n        input.init();\n      }\n    }\n    // Remove deleted inputs.\n    while (this.getInput('ARG' + i)) {\n      this.removeInput('ARG' + i);\n      i++;\n    }\n    // Add 'with:' if there are parameters, remove otherwise.\n    var topRow = this.getInput('TOPROW');\n    if (topRow) {\n      if (this.arguments_.length) {\n        if (!this.getField('WITH')) {\n          topRow.appendField(Blockly.Msg.PROCEDURES_CALL_BEFORE_PARAMS, 'WITH');\n          topRow.init();\n        }\n      } else {\n        if (this.getField('WITH')) {\n          topRow.removeField('WITH');\n        }\n      }\n    }\n  },\n  /**\n   * Create XML to represent the (non-editable) name and arguments.\n   * @return {!Element} XML storage element.\n   * @this Blockly.Block\n   */\n  mutationToDom: function() {\n    var container = document.createElement('mutation');\n    container.setAttribute('name', this.getProcedureCall());\n    for (var i = 0; i < this.arguments_.length; i++) {\n      var parameter = document.createElement('arg');\n      parameter.setAttribute('name', this.arguments_[i]);\n      container.appendChild(parameter);\n    }\n    return container;\n  },\n  /**\n   * Parse XML to restore the (non-editable) name and parameters.\n   * @param {!Element} xmlElement XML storage element.\n   * @this Blockly.Block\n   */\n  domToMutation: function(xmlElement) {\n    var name = xmlElement.getAttribute('name');\n    this.renameProcedure(this.getProcedureCall(), name);\n    var args = [];\n    var paramIds = [];\n    for (var i = 0, childNode; childNode = xmlElement.childNodes[i]; i++) {\n      if (childNode.nodeName.toLowerCase() == 'arg') {\n        args.push(childNode.getAttribute('name'));\n        paramIds.push(childNode.getAttribute('paramId'));\n      }\n    }\n    this.setProcedureParameters_(args, paramIds);\n  },\n  /**\n   * Notification that a variable is renaming.\n   * If the name matches one of this block's variables, rename it.\n   * @param {string} oldName Previous name of variable.\n   * @param {string} newName Renamed variable.\n   * @this Blockly.Block\n   */\n  renameVar: function(oldName, newName) {\n    for (var i = 0; i < this.arguments_.length; i++) {\n      if (Blockly.Names.equals(oldName, this.arguments_[i])) {\n        this.arguments_[i] = newName;\n        this.getField('ARGNAME' + i).setValue(newName);\n      }\n    }\n  },\n  /**\n   * Procedure calls cannot exist without the corresponding procedure\n   * definition.  Enforce this link whenever an event is fired.\n   * @param {!Blockly.Events.Abstract} event Change event.\n   * @this Blockly.Block\n   */\n  onchange: function(event) {\n    if (!this.workspace || this.workspace.isFlyout) {\n      // Block is deleted or is in a flyout.\n      return;\n    }\n    if (event.type == Blockly.Events.BLOCK_CREATE &&\n        event.ids.indexOf(this.id) != -1) {\n      // Look for the case where a procedure call was created (usually through\n      // paste) and there is no matching definition.  In this case, create\n      // an empty definition block with the correct signature.\n      var name = this.getProcedureCall();\n      var def = Blockly.Procedures.getDefinition(name, this.workspace);\n\n      if (def && (def.type != this.defType_ ||\n          JSON.stringify(def.arguments_) != JSON.stringify(this.arguments_))) {\n        // The signatures don't match.\n        def = null;\n      }\n      if (!def) {\n        Blockly.Events.setGroup(event.group);\n        /**\n         * Create matching definition block.\n         * <xml>\n         *   <block type=\"procedures_defreturn\" x=\"10\" y=\"20\">\n         *     <mutation name=\"test\">\n         *       <arg name=\"x\"></arg>\n         *     </mutation>\n         *     <field name=\"NAME\">test</field>\n         *   </block>\n         * </xml>\n         */\n        var xml = goog.dom.createDom('xml');\n        var block = goog.dom.createDom('block');\n        block.setAttribute('type', this.defType_);\n        var xy = this.getRelativeToSurfaceXY();\n        var x = xy.x + Blockly.SNAP_RADIUS * (this.RTL ? -1 : 1);\n        var y = xy.y + Blockly.SNAP_RADIUS * 2;\n        block.setAttribute('x', x);\n        block.setAttribute('y', y);\n        var mutation = this.mutationToDom();\n        block.appendChild(mutation);\n        var field = goog.dom.createDom('field');\n        field.setAttribute('name', 'NAME');\n        field.appendChild(document.createTextNode(this.getProcedureCall()));\n        block.appendChild(field);\n        xml.appendChild(block);\n        Blockly.Xml.domToWorkspace(xml, this.workspace);\n        Blockly.Events.setGroup(false);\n      }\n    } else if (event.type == Blockly.Events.BLOCK_DELETE) {\n      // Look for the case where a procedure definition has been deleted,\n      // leaving this block (a procedure call) orphaned.  In this case, delete\n      // the orphan.\n      var name = this.getProcedureCall();\n      var def = Blockly.Procedures.getDefinition(name, this.workspace);\n      if (!def) {\n        Blockly.Events.setGroup(event.group);\n        this.dispose(true, false);\n        Blockly.Events.setGroup(false);\n      }\n    }\n  },\n  /**\n   * Add menu option to find the definition block for this call.\n   * @param {!Array} options List of menu options to add to.\n   * @this Blockly.Block\n   */\n  customContextMenu: function(options) {\n    var option = {enabled: true};\n    option.text = Blockly.Msg.PROCEDURES_HIGHLIGHT_DEF;\n    var name = this.getProcedureCall();\n    var workspace = this.workspace;\n    option.callback = function() {\n      var def = Blockly.Procedures.getDefinition(name, workspace);\n      def && def.select();\n    };\n    options.push(option);\n  },\n  defType_: 'procedures_defnoreturn'\n};\n\nBlockly.Blocks['procedures_callreturn'] = {\n  /**\n   * Block for calling a procedure with a return value.\n   * @this Blockly.Block\n   */\n  init: function() {\n    this.appendDummyInput('TOPROW')\n        .appendField('', 'NAME');\n    this.setOutput(true);\n    this.setColour(Blockly.Blocks.procedures.HUE);\n    // Tooltip is set in domToMutation.\n    this.setHelpUrl(Blockly.Msg.PROCEDURES_CALLRETURN_HELPURL);\n    this.arguments_ = [];\n    this.quarkConnections_ = {};\n    this.quarkIds_ = null;\n  },\n  getProcedureCall: Blockly.Blocks['procedures_callnoreturn'].getProcedureCall,\n  renameProcedure: Blockly.Blocks['procedures_callnoreturn'].renameProcedure,\n  setProcedureParameters_:\n      Blockly.Blocks['procedures_callnoreturn'].setProcedureParameters_,\n  updateShape_: Blockly.Blocks['procedures_callnoreturn'].updateShape_,\n  mutationToDom: Blockly.Blocks['procedures_callnoreturn'].mutationToDom,\n  domToMutation: Blockly.Blocks['procedures_callnoreturn'].domToMutation,\n  renameVar: Blockly.Blocks['procedures_callnoreturn'].renameVar,\n  onchange: Blockly.Blocks['procedures_callnoreturn'].onchange,\n  customContextMenu:\n      Blockly.Blocks['procedures_callnoreturn'].customContextMenu,\n  defType_: 'procedures_defreturn'\n};\n\nBlockly.Blocks['procedures_ifreturn'] = {\n  /**\n   * Block for conditionally returning a value from a procedure.\n   * @this Blockly.Block\n   */\n  init: function() {\n    this.appendValueInput('CONDITION')\n        .setCheck('Boolean')\n        .appendField(Blockly.Msg.CONTROLS_IF_MSG_IF);\n    this.appendValueInput('VALUE')\n        .appendField(Blockly.Msg.PROCEDURES_DEFRETURN_RETURN);\n    this.setInputsInline(true);\n    this.setPreviousStatement(true);\n    this.setNextStatement(true);\n    this.setColour(Blockly.Blocks.procedures.HUE);\n    this.setTooltip(Blockly.Msg.PROCEDURES_IFRETURN_TOOLTIP);\n    this.setHelpUrl(Blockly.Msg.PROCEDURES_IFRETURN_HELPURL);\n    this.hasReturnValue_ = true;\n  },\n  /**\n   * Create XML to represent whether this block has a return value.\n   * @return {!Element} XML storage element.\n   * @this Blockly.Block\n   */\n  mutationToDom: function() {\n    var container = document.createElement('mutation');\n    container.setAttribute('value', Number(this.hasReturnValue_));\n    return container;\n  },\n  /**\n   * Parse XML to restore whether this block has a return value.\n   * @param {!Element} xmlElement XML storage element.\n   * @this Blockly.Block\n   */\n  domToMutation: function(xmlElement) {\n    var value = xmlElement.getAttribute('value');\n    this.hasReturnValue_ = (value == 1);\n    if (!this.hasReturnValue_) {\n      this.removeInput('VALUE');\n      this.appendDummyInput('VALUE')\n        .appendField(Blockly.Msg.PROCEDURES_DEFRETURN_RETURN);\n    }\n  },\n  /**\n   * Called whenever anything on the workspace changes.\n   * Add warning if this flow block is not nested inside a loop.\n   * @param {!Blockly.Events.Abstract} e Change event.\n   * @this Blockly.Block\n   */\n  onchange: function(/* e */) {\n    if (!this.workspace.isDragging || this.workspace.isDragging()) {\n      return;  // Don't change state at the start of a drag.\n    }\n    var legal = false;\n    // Is the block nested in a procedure?\n    var block = this;\n    do {\n      if (this.FUNCTION_TYPES.indexOf(block.type) != -1) {\n        legal = true;\n        break;\n      }\n      block = block.getSurroundParent();\n    } while (block);\n    if (legal) {\n      // If needed, toggle whether this block has a return value.\n      if (block.type == 'procedures_defnoreturn' && this.hasReturnValue_) {\n        this.removeInput('VALUE');\n        this.appendDummyInput('VALUE')\n            .appendField(Blockly.Msg.PROCEDURES_DEFRETURN_RETURN);\n        this.hasReturnValue_ = false;\n      } else if (block.type == 'procedures_defreturn' &&\n                 !this.hasReturnValue_) {\n        this.removeInput('VALUE');\n        this.appendValueInput('VALUE')\n            .appendField(Blockly.Msg.PROCEDURES_DEFRETURN_RETURN);\n        this.hasReturnValue_ = true;\n      }\n      this.setWarningText(null);\n      if (!this.isInFlyout) {\n        this.setDisabled(false);\n      }\n    } else {\n      this.setWarningText(Blockly.Msg.PROCEDURES_IFRETURN_WARNING);\n      if (!this.isInFlyout && !this.getInheritedDisabled()) {\n        this.setDisabled(true);\n      }\n    }\n  },\n  /**\n   * List of block types that are functions and thus do not need warnings.\n   * To add a new function type add this to your code:\n   * Blockly.Blocks['procedures_ifreturn'].FUNCTION_TYPES.push('custom_func');\n   */\n  FUNCTION_TYPES: ['procedures_defnoreturn', 'procedures_defreturn']\n};","var PLUS = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAQAAAD2e2DtAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAHdElNRQfhDAUCCjFLV0NqAAAC60lEQVR42u3dQW7aQABA0Wl7MMjJICeDnIwuqm4qVQrYjMH/Pa/jsfFnTJDwjAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMBUP7Y+gClOY4zznX9zHmN8bn3gLHcYtwXbYevDZ5nLost/G7dx2foUeNzyyy+BN7Zs8ncjeHvrvP/NAW9qvff/rueAn1sfwNMcX3hvL2S/3wPcVt7fTl+p/c4AfIsA4gQQJ4A4AcQJIE4AcQKIE0CcAOIEECeAOAHECSBOAHECiBNAnADiBBAngDgBxAkgTgBxAogTQJwA4gQQJ4A4AcQJIE4AcQKIE0CcAOIEECeAOAHECSBOAHECiBNAnADiBBAngDgBxAkgTgBxAogTQJwA4mYHcBinVRdz+v+2tjlHfdrv8lRjHFZcyG3P22VmBPOWQrrsd+WtJ7iOjzkDzQrA5b/XpATmBHAY1ynj7MtxfD1/kDkBrP+RrGHC1ZnxX8Bpwhj7NOGV8z1A3IxbgBvA455+fcwAcQKIE0CcAOIEECeAOAHECSBOAHECiBNAnADiBBAngDgBxAkgTgBxAogTQJwA4gQQJ4A4AcT9mjLKcevTfFPn5/860AwQ58ehr2wnPw51C3jMccYgcwL48nyAu11nPB3AI2Je1bRHxMz7EPgxjuaBb7mO46zLP3MG+OMwjuM8ecx3cp419f81O4B51v7PY6evlO8B4gQQJ4A4AcQJIE4AcQKIE0CcAOIEECeAOAHECSBOAHECiBNAnADiBBAngDgBxAkgTgBxAogTQJwA4gQQJ4A4AcQJIE4AcQKIE0CcAOIEECeAOAHECSBOAHECiBNAnADiBBAngDgBxAkgTgBxAogTQJwA4gQQN2fp2G0cV9zXhEVct7HfGeD6wntjisu4rbRdtj4VHnFYLYDD1qfCY9aZA7z/39jyBFz+N7fsRrD7yX+n62H+4zTG3QvWnscYn1sfOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALvzG8Ijm7EmMQYoAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE3LTEyLTA1VDAyOjEwOjQ5LTA1OjAwJa2zowAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxNy0xMi0wNVQwMjoxMDo0OS0wNTowMFTwCx8AAAAASUVORK5CYII=\";\nvar MINUS = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAQAAAD2e2DtAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAHdElNRQfhDAUCCi+xWH4JAAABcUlEQVR42u3c7ZGCMBSG0etuYcTKls7AyrSEVWd4+bjnUECMeSbhD6kCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIBzu4XHm2rUvPekD2yutR57/4itTLXU0/Pvs9SUW5TcDrDUyE3r9Na6ZwZKBWD5PxVKIBPAVGtknGsZibeBTADPyCjXE1idn8A0/gJjXFPgn0sEwIEljgAHwPc2Xx87QHMCaE4AzQmgOQE0J4DmBNCcAJoTQHMCaE4AzQmgOQE0J4DmBNCcAJoTQHMCaE4AzQmgOQE0J4DmBNDcb2SUsfc0T2re/utAO0BzPg49sot8HOoI+M5IDJIJ4OF+gI+F7gpyRcwxxa6Iyb0E3mvYB96y1kgtv2vijubS18QBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAWXq7xrTQhKAi3AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE3LTEyLTA1VDAyOjEwOjQ3LTA1OjAwdZLI/gAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxNy0xMi0wNVQwMjoxMDo0Ny0wNTowMATPcEIAAAAASUVORK5CYII=\";\nvar HAND = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QAAKqNIzIAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfiBAUBKBeKSgeBAAABTElEQVQoz22QzyvDcRjHX5/vvrMyStI2uZgftdVCSpJCyW1y00oUF+Xg4OIkx5VyUyJOsgv/gnJw4YCSSFMyB5pGbLJ99/k8LltreB2f9+v50eOigoc5FvGTJF8pugCwaKaNaE98uf9zMBXwjtNpbvmuaH2B0+HXuuyMEbOlQ4U1M5ZVcYbowg02YfZW5cnE9JIROdI7jsiOacoMPLZdEYPR1ouQkxCRG+feESlIXkQOzLR+NhvCpc3UbPcHAoRsADcAQ0Twq0ZosQgEVY0SqvGpkAUCxkIUYRP4bZRRNi9pvaD+TwXyFseHuYzy/Kt8CWfQ5Ems6C/5y7uZyDEH0Nt8vq0dUx0XzaapPyIIoIi23+47+SrlTvrTjLhKy2wmO95OqiacS+QBH9gAFDlOZnYbrimWOixSZCwUlK+vZd7bXiPldyi0yqX1OtkfCBS/9XAtDKAAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTgtMDQtMDVUMDQ6NDQ6NDItMDM6MDD+uUN1AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE4LTA0LTA1VDA0OjQwOjIzLTAzOjAw5hdZgAAAAABJRU5ErkJggg==\";\n\nwindow.initProcedsBlockly = function(customStatementType, initialize = () => {}) {\n  Blockly.Msg.PROCEDURES_DEFNORETURN_COMMENT = 'Describe el procedimiento...';\n  Blockly.Msg.PROCEDURES_DEFNORETURN_PROCEDURE = \"Hacer algo\";\n  Blockly.Msg.PROCEDURES_DEFNORETURN_TITLE = \"Definir\";\n  Blockly.Msg.PROCEDURES_DEFNORETURN_NOPARAMS = \"\";\n  Blockly.Msg.PROCEDURES_DEFRETURN_NOPARAMS = \"\";\n  Blockly.Msg.PROCEDURES_DEFRETURN_COMMENT = 'Describe la función...';\n  Blockly.Msg.PROCEDURES_DEFRETURN_PROCEDURE = \"devolver algo\";\n  Blockly.Msg.PROCEDURES_DEFRETURN_TITLE = \"Definir\";\n  Blockly.Msg.PROCEDURES_BEFORE_PARAMS = \"con\";\n  Blockly.Msg.PROCEDURES_DEFNORETURN_TOOLTIP = \"Crea un procedimiento.\";\n  Blockly.Msg.PROCEDURES_DEFRETURN_TOOLTIP = \"Crea una función.\";\n  Blockly.Msg.PROCEDURES_ADD_PARAMETER = \"Agregar parámetro\";\n  Blockly.Msg.PROCEDURES_ADD_PARAMETER_PROMPT = \"Ingresa el nombre del parámetro\";\n  Blockly.Msg.PROCEDURES_REMOVE_PARAMETER = \"Quitar parámetro\";\n  Blockly.Msg.PROCEDURES_PARAMETER = \"parámetro\";\n\n  // -------------------------------------\n  // [!] Fixing FieldImage's click handler\n  // -------------------------------------\n\n  Blockly.FieldImage.prototype.init = function() {\n    if (this.fieldGroup_) {\n      // Image has already been initialized once.\n      return;\n    }\n    // Build the DOM.\n    /** @type {SVGElement} */\n    this.fieldGroup_ = Blockly.utils.createSvgElement('g', {}, null);\n    if (!this.visible_) {\n      this.fieldGroup_.style.display = 'none';\n    }\n    /** @type {SVGElement} */\n    this.imageElement_ = Blockly.utils.createSvgElement(\n      'image',\n      {\n        'height': this.height_ + 'px',\n        'width': this.width_ + 'px'\n      },\n      this.fieldGroup_);\n    this.setValue(this.src_);\n    this.sourceBlock_.getSvgRoot().appendChild(this.fieldGroup_);\n\n    // Configure the field to be transparent with respect to tooltips.\n    this.setTooltip(this.sourceBlock_);\n    Blockly.Tooltip.bindMouseEvents(this.imageElement_);\n\n    var self = this;\n\n    if (this.clickHandler_) { // [!]\n      this.imageElement_.addEventListener(\"mousedown\", function(event) {\n        event.stopPropagation();\n        event.preventDefault();\n\n        if (event.button === 0) {\n          self.clickHandler_();\n        }\n      });\n    }\n  };\n\n  // [!] Modifying callbackFactory to return the created block\n  Blockly.ContextMenu.callbackFactory = function(block, xml) {\n    return function() {\n      Blockly.Events.disable();\n      try {\n        var newBlock = Blockly.Xml.domToBlock(xml, block.workspace);\n        // Move the new block next to the old block.\n        var xy = block.getRelativeToSurfaceXY();\n        if (block.RTL) {\n          xy.x -= Blockly.SNAP_RADIUS;\n        } else {\n          xy.x += Blockly.SNAP_RADIUS;\n        }\n        xy.y += Blockly.SNAP_RADIUS * 2;\n        newBlock.moveBy(xy.x, xy.y);\n      } finally {\n        Blockly.Events.enable();\n      }\n      if (Blockly.Events.isEnabled() && !newBlock.isShadow()) {\n        Blockly.Events.fire(new Blockly.Events.BlockCreate(newBlock));\n      }\n      newBlock.select();\n\n      return newBlock; // [!]\n    };\n  };\n\n  // --------------------------------------\n  // [!] Adding custom procedure parameters\n  // --------------------------------------\n\n  var createParameterCaller = function(procedureBlock, name) {\n    var xmlField = goog.dom.createDom('field', null, name);\n    xmlField.setAttribute('name', 'VAR');\n    var xmlBlock = goog.dom.createDom('block', null, xmlField);\n    xmlBlock.setAttribute('type', 'variables_get');\n\n    var callback = Blockly.ContextMenu.callbackFactory(procedureBlock, xmlBlock);\n\n    return function() {\n      var block = callback();\n      block.$parent = procedureBlock.id;\n\n      try {\n        Blockly.Events.disabled_ = 1;\n        const posParent = procedureBlock.getRelativeToSurfaceXY();\n        const pos = block.getRelativeToSurfaceXY();\n        let width = procedureBlock.width;\n        const returnBlock = procedureBlock.inputList.find((it) => it.name === \"RETURN\");\n        if (returnBlock) width -= returnBlock.renderWidth - 8;\n\n        block.moveBy(posParent.x - pos.x + width + 16, posParent.y - pos.y + 6);\n      } finally {\n        Blockly.Events.disabled_ = 0;\n      }\n    };\n  };\n\n  var getAvailableName = function(self, name) {\n    var result = name;\n    while (self.arguments_.some(it => it === result))\n      result += \"_\";\n    return result;\n  }\n\n  var addParameter = function(self, index, name) {\n    var i = index === undefined ? self.arguments_.length : index;\n    var tmpName = name === undefined ? Blockly.Msg.PROCEDURES_PARAMETER + \" \" + (i + 1) : name;\n    var name = index === undefined ? getAvailableName(self, tmpName) : tmpName;\n    var id = \"INPUTARG\" + i;\n\n    if (index === undefined) {\n      self.arguments_.push(name);\n      self.updateParams_();\n\n      var blocks = self.workspace.getAllBlocks();\n      for (block of blocks)\n        if (block.type === self.callType_ && block.getProcedureCall() === self.getProcedureDef()[0]) {\n          block.arguments_.push(name);\n          block.updateShape_();\n        }\n    }\n\n    var createCallButton = new Blockly.FieldImage(\n      HAND,\n      16,\n      16,\n      Blockly.Msg.VARIABLES_SET_CREATE_GET.replace('%1', name),\n      function() {\n        createParameterCaller(self, self.arguments_[i])();\n      }\n    );\n\n    var removeParameterButton = new Blockly.FieldImage(\n      MINUS,\n      16,\n      16,\n      Blockly.Msg.PROCEDURES_REMOVE_PARAMETER,\n      function() {\n        for (var j = 0; j < self.arguments_.length; j++)\n          self.removeInput(\"INPUTARG\" + j);\n        self.arguments_.splice(i, 1);\n        self.arguments_.forEach(function(name, i) {\n          addParameter(this, i, name, true);\n        }.bind(self));\n\n        var blocks = self.workspace.getAllBlocks();\n        for (block of blocks)\n          if (block.type === self.callType_ && block.getProcedureCall() === self.getProcedureDef()[0]) {\n            block.arguments_.splice(i, 1);\n            block.updateShape_();\n          }\n      }\n    );\n\n    var nameField = new Blockly.FieldTextInput(name, function(newName) {\n      var oldName = self.arguments_[i];\n\n      if (oldName !== newName)\n        newName = getAvailableName(self, newName);\n\n      self.arguments_[i] = newName;\n\n      var blocks = self.workspace.getAllBlocks();\n      for (block of blocks) {\n        if (block.type === self.callType_ && block.getProcedureCall() === self.getProcedureDef()[0]) {\n          block.arguments_ = block.arguments_.map(function(it) {\n            return it === oldName ? newName : it;\n          });\n          block.updateShape_();\n        }\n\n        if (block.type === \"variables_get\" && block.$parent === self.id) {\n          var varField = block.getField(\"VAR\");\n          if (varField.getValue() === oldName) {\n            varField.setValue(newName);\n          }\n        }\n      }\n\n      return newName;\n    });\n\n    self\n      .appendDummyInput(id)\n      .appendField(Blockly.Msg.PROCEDURES_BEFORE_PARAMS)\n      .appendField(nameField, 'ARG' + i)\n      .appendField(createCallButton)\n      .appendField(removeParameterButton);\n\n    self.moveInputBefore(id, 'STACK');\n  };\n\n  var makeProcedureDomToMutation = function() {\n    return function(xmlElement) {\n      this.arguments_ = [];\n      for (var i = 0, childNode; childNode = xmlElement.childNodes[i]; i++) {\n        if (childNode.nodeName.toLowerCase() == 'arg') {\n          this.arguments_.push(childNode.getAttribute('name'));\n        }\n      }\n      this.updateParams_();\n      Blockly.Procedures.mutateCallers(this);\n\n      // Show or hide the statement input.\n      this.setStatements_(xmlElement.getAttribute('statements') !== 'false');\n\n      this.arguments_.forEach(function(name, i) { // [!]\n        addParameter(this, i, name);\n      }.bind(this));\n    };\n  }\n\n  var makeProcedureInit = function(\n    withReturn,\n    withStatements = true,\n    withParameters = false,\n    defaultName,\n    title,\n    comment,\n    tooltip,\n    helpUrl,\n    returnMsg = Blockly.Msg.PROCEDURES_DEFRETURN_RETURN\n  ) {\n    return function() {\n      var defaultLegalName = Blockly.Procedures.findLegalName(defaultName, this);\n      var nameField = new Blockly.FieldTextInput(defaultLegalName, Blockly.Procedures.rename);\n      nameField.setSpellcheck(false);\n\n      var self = this;\n\n      // [!]\n      var addParameterButton = new Blockly.FieldImage(\n        PLUS,\n        16,\n        16,\n        Blockly.Msg.PROCEDURES_ADD_PARAMETER,\n        function() { addParameter(self); }\n      );\n\n      var input = this.appendDummyInput()\n          .appendField(title)\n          .appendField(nameField, 'NAME')\n          .appendField('', 'PARAMS');\n\n      if (withParameters)\n        input.appendField(addParameterButton);\n\n      if (withReturn)\n        this.appendValueInput('RETURN')\n            .setAlign(Blockly.ALIGN_RIGHT)\n            .appendField(returnMsg);\n\n      // if (withParametersMutator)\n      //   this.setMutator(new Blockly.Mutator(['procedures_mutatorarg']));\n\n      if ((this.workspace.options.comments ||\n           (this.workspace.options.parentWorkspace &&\n            this.workspace.options.parentWorkspace.options.comments)) &&\n          comment) {\n        this.setCommentText(comment);\n      }\n      this.setCommentText(null);\n      this.setColour((\n        Blockly.CUSTOM_COLORS && (\n          Blockly.CUSTOM_COLORS[this.type] ||\n          Blockly.CUSTOM_COLORS[withReturn ? \"function\" : \"procedure\"]\n        )) || Blockly.Blocks.procedures.HUE);\n      this.setTooltip(tooltip);\n      this.setHelpUrl(helpUrl);\n      this.arguments_ = [];\n      this.setStatements_(withStatements);\n      this.statementConnection_ = null;\n\n      // if (!withParametersMutator) this.updateParams_();\n\n      // [!] adding create call button\n      var createCallButton = new Blockly.FieldImage(\n        HAND,\n        16,\n        16,\n        \"\",\n        function() {\n          var name = self.getFieldValue('NAME');\n          var xmlMutation = goog.dom.createDom('mutation');\n          xmlMutation.setAttribute('name', name);\n          for (var i = 0; i < self.arguments_.length; i++) {\n            var xmlArg = goog.dom.createDom('arg');\n            xmlArg.setAttribute('name', self.arguments_[i]);\n            xmlMutation.appendChild(xmlArg);\n          }\n          var xmlBlock = goog.dom.createDom('block', null, xmlMutation);\n          xmlBlock.setAttribute('type', self.callType_);\n\n          const block = Blockly.ContextMenu.callbackFactory(self, xmlBlock)();\n\n          try {\n            const procedureBlock = self;\n\n            Blockly.Events.disabled_ = 1;\n            const posParent = procedureBlock.getRelativeToSurfaceXY();\n            const pos = block.getRelativeToSurfaceXY();\n            let width = procedureBlock.width;\n            const returnBlock = procedureBlock.inputList.find((it) => it.name === \"RETURN\");\n            if (returnBlock) width -= returnBlock.renderWidth - 8;\n\n            block.moveBy(posParent.x - pos.x + width + 16, posParent.y - pos.y + 6);\n          } finally {\n            Blockly.Events.disabled_ = 0;\n          }\n        }\n      );\n      input.appendField(createCallButton);\n    };\n  };\n\n  // -----------------------\n  // [!] Custom context menu\n  // -----------------------\n\n  var makeProcedureCustomMenu = function(withParametersOptions = true) {\n    return function(options) {\n      // Add options to create getters for each parameter.\n      if (!this.isCollapsed()) {\n        for (var i = this.arguments_.length - 1; i >= 0; i--) {\n          var option = {enabled: true};\n          var name = this.arguments_[i];\n          option.text = Blockly.Msg.VARIABLES_SET_CREATE_GET.replace('%1', name);\n          option.callback = createParameterCaller(this, name);\n\n          options.unshift(option);\n        }\n      }\n\n      // [!]\n      // if (withParametersOptions) {\n      //   options.unshift({\n      //     enabled: this.arguments_.length > 0,\n      //     text: Blockly.Msg.PROCEDURES_REMOVE_PARAMETER,\n      //     callback: function() {\n      //       this.arguments_.pop();\n      //       this.updateParams_();\n      //     }.bind(this)\n      //   });\n\n      //   options.unshift({\n      //     enabled: true,\n      //     text: Blockly.Msg.PROCEDURES_ADD_PARAMETER,\n      //     callback: function() {\n      //       var name = \"\";\n      //       while (name === \"\") // Rompe encapsulamiento\n      //         name = Blockly.Blocks['procedures_mutatorarg'].validator_(prompt(Blockly.Msg.PROCEDURES_ADD_PARAMETER_PROMPT));\n      //       if (name === null) return;\n\n      //       this.arguments_.push(name);\n      //       this.updateParams_();\n      //     }.bind(this)\n      //   });\n      // }\n\n      // Add option to create caller.\n      var option = {enabled: true};\n      var name = this.getFieldValue('NAME');\n      option.text = Blockly.Msg.PROCEDURES_CREATE_DO.replace('%1', name);\n      var xmlMutation = goog.dom.createDom('mutation');\n      xmlMutation.setAttribute('name', name);\n      for (var i = 0; i < this.arguments_.length; i++) {\n        var xmlArg = goog.dom.createDom('arg');\n        xmlArg.setAttribute('name', this.arguments_[i]);\n        xmlMutation.appendChild(xmlArg);\n      }\n      var xmlBlock = goog.dom.createDom('block', null, xmlMutation);\n      xmlBlock.setAttribute('type', this.callType_);\n      option.callback = Blockly.ContextMenu.callbackFactory(this, xmlBlock);\n      options.unshift(option); // [!]\n\n      options.pop(); // [!] Remove help\n    };\n  };\n\n  // ---------------------------------------------------------------------\n  // [!] Setting custom statement type to procedure calls and adding color\n  // ---------------------------------------------------------------------\n\n  var oldProceduresCallNoReturnInit = Blockly.Blocks['procedures_callnoreturn'].init;\n  Blockly.Blocks['procedures_callnoreturn'].init = function() {\n    oldProceduresCallNoReturnInit.call(this);\n\n    if (customStatementType) {\n      this.jsonInit({\n        type: customStatementType,\n        previousStatement: customStatementType,\n        nextStatement: customStatementType\n      });\n    }\n\n    this.setColour((\n      Blockly.CUSTOM_COLORS && (\n        Blockly.CUSTOM_COLORS[this.type] ||\n        Blockly.CUSTOM_COLORS.procedure_call\n      )) || Blockly.Blocks.procedures.HUE);\n  };\n\n  // ----------------------------------\n  // [!] Adding color to function calls\n  // ----------------------------------\n\n  var oldProceduresCallReturnInit = Blockly.Blocks['procedures_callreturn'].init;\n  Blockly.Blocks['procedures_callreturn'].init = function() {\n    oldProceduresCallReturnInit.call(this);\n\n    this.setColour((\n      Blockly.CUSTOM_COLORS && (\n        Blockly.CUSTOM_COLORS[this.type] || // TODO: Usar this.type en todos los cosos de colors\n        Blockly.CUSTOM_COLORS.function_call\n      )) || Blockly.Blocks.procedures.HUE);\n  };\n\n  // -------------------------------\n  // [!] Patching default procedures\n  // -------------------------------\n\n  var makeUpdateParams = function() { return function() { }; };\n\n  Blockly.Blocks['procedures_defnoreturn'].init = makeProcedureInit(\n    false, true, true,\n    Blockly.Msg.PROCEDURES_DEFNORETURN_PROCEDURE,\n    Blockly.Msg.PROCEDURES_DEFNORETURN_TITLE,\n    Blockly.Msg.PROCEDURES_DEFNORETURN_COMMENT,\n    Blockly.Msg.PROCEDURES_DEFNORETURN_TOOLTIP,\n    Blockly.Msg.PROCEDURES_DEFNORETURN_HELPURL\n  );\n  Blockly.Blocks['procedures_defnoreturn'].customContextMenu = makeProcedureCustomMenu();\n  Blockly.Blocks['procedures_defnoreturn'].updateParams_ = makeUpdateParams();\n  Blockly.Blocks['procedures_defnoreturn'].domToMutation = makeProcedureDomToMutation();\n\n  Blockly.Blocks['procedures_defreturn'].init = makeProcedureInit(\n    true, true, true,\n    Blockly.Msg.PROCEDURES_DEFRETURN_PROCEDURE,\n    Blockly.Msg.PROCEDURES_DEFRETURN_TITLE,\n    Blockly.Msg.PROCEDURES_DEFRETURN_COMMENT,\n    Blockly.Msg.PROCEDURES_DEFRETURN_TOOLTIP,\n    Blockly.Msg.PROCEDURES_DEFRETURN_HELPURL\n  );\n  Blockly.Blocks['procedures_defreturn'].customContextMenu = makeProcedureCustomMenu();\n  Blockly.Blocks['procedures_defreturn'].updateParams_ = makeUpdateParams();\n  Blockly.Blocks['procedures_defreturn'].domToMutation = makeProcedureDomToMutation();\n\n  // -------------------------------------------------\n  // [!] Adding a new type of procedure with no params\n  // -------------------------------------------------\n\n  Blockly.Blocks['procedures_defnoreturnnoparams'] = {\n    init: makeProcedureInit(\n      false, true, false,\n      Blockly.Msg.PROCEDURES_DEFNORETURN_PROCEDURE,\n      Blockly.Msg.PROCEDURES_DEFNORETURN_TITLE,\n      Blockly.Msg.PROCEDURES_DEFNORETURN_COMMENT,\n      Blockly.Msg.PROCEDURES_DEFNORETURN_TOOLTIP,\n      Blockly.Msg.PROCEDURES_DEFNORETURN_HELPURL\n    ),\n    setStatements_: Blockly.Blocks['procedures_defnoreturn'].setStatements_,\n    updateParams_: makeUpdateParams(),\n    mutationToDom: Blockly.Blocks['procedures_defnoreturn'].mutationToDom,\n    domToMutation: makeProcedureDomToMutation(),\n    decompose: Blockly.Blocks['procedures_defnoreturn'].decompose,\n    compose: Blockly.Blocks['procedures_defnoreturn'].compose,\n    getProcedureDef: Blockly.Blocks['procedures_defnoreturn'].getProcedureDef,\n    getVars: Blockly.Blocks['procedures_defnoreturn'].getVars,\n    renameVar: Blockly.Blocks['procedures_defnoreturn'].renameVar,\n    customContextMenu: makeProcedureCustomMenu(false),\n    callType_: 'procedures_callnoreturnnoparams'\n  };\n\n  Blockly.Blocks['procedures_callnoreturnnoparams'] = {\n    init: Blockly.Blocks['procedures_callnoreturn'].init,\n    getProcedureCall: Blockly.Blocks['procedures_callnoreturn'].getProcedureCall,\n    renameProcedure: Blockly.Blocks['procedures_callnoreturn'].renameProcedure,\n    setProcedureParameters_: Blockly.Blocks['procedures_callnoreturn'].setProcedureParameters_,\n    updateShape_: Blockly.Blocks['procedures_callnoreturn'].updateShape_,\n    mutationToDom: Blockly.Blocks['procedures_callnoreturn'].mutationToDom,\n    domToMutation: Blockly.Blocks['procedures_callnoreturn'].domToMutation,\n    renameVar: Blockly.Blocks['procedures_callnoreturn'].renameVar,\n    onchange: Blockly.Blocks['procedures_callnoreturn'].onchange,\n    customContextMenu: Blockly.Blocks['procedures_callnoreturn'].customContextMenu,\n    defType_: 'procedures_defnoreturnnoparams'\n  };\n\n  // ---------------------------------------------------------------------\n  // [!] Adding a new type of function only with return value (and params)\n  // ---------------------------------------------------------------------\n\n  Blockly.Blocks['procedures_defreturnsimplewithparams'] = {\n    init: makeProcedureInit(\n      true, false, true,\n      Blockly.Msg.PROCEDURES_DEFRETURN_PROCEDURE,\n      Blockly.Msg.PROCEDURES_DEFRETURN_TITLE,\n      Blockly.Msg.PROCEDURES_DEFRETURN_COMMENT,\n      Blockly.Msg.PROCEDURES_DEFRETURN_TOOLTIP,\n      Blockly.Msg.PROCEDURES_DEFRETURN_HELPURL\n    ),\n    setStatements_: Blockly.Blocks['procedures_defreturn'].setStatements_,\n    updateParams_: makeUpdateParams(),\n    mutationToDom: Blockly.Blocks['procedures_defreturn'].mutationToDom,\n    domToMutation: makeProcedureDomToMutation(),\n    decompose: Blockly.Blocks['procedures_defreturn'].decompose,\n    compose: Blockly.Blocks['procedures_defreturn'].compose,\n    getProcedureDef: Blockly.Blocks['procedures_defreturn'].getProcedureDef,\n    getVars: Blockly.Blocks['procedures_defreturn'].getVars,\n    renameVar: Blockly.Blocks['procedures_defreturn'].renameVar,\n    customContextMenu: makeProcedureCustomMenu(true),\n    callType_: 'procedures_callreturnsimplewithparams'\n  };\n\n  Blockly.Blocks['procedures_callreturnsimplewithparams'] = {\n    init: Blockly.Blocks['procedures_callreturn'].init,\n    getProcedureCall: Blockly.Blocks['procedures_callreturn'].getProcedureCall,\n    renameProcedure: Blockly.Blocks['procedures_callreturn'].renameProcedure,\n    setProcedureParameters_: Blockly.Blocks['procedures_callreturn'].setProcedureParameters_,\n    updateShape_: Blockly.Blocks['procedures_callreturn'].updateShape_,\n    mutationToDom: Blockly.Blocks['procedures_callreturn'].mutationToDom,\n    domToMutation: Blockly.Blocks['procedures_callreturn'].domToMutation,\n    renameVar: Blockly.Blocks['procedures_callreturn'].renameVar,\n    onchange: Blockly.Blocks['procedures_callreturn'].onchange,\n    customContextMenu: Blockly.Blocks['procedures_callreturn'].customContextMenu,\n    defType_: 'procedures_defreturnsimplewithparams'\n  };\n\n  // --------------------------------------------------------\n  // [!] Adding a new type of function only with return value\n  // --------------------------------------------------------\n\n  Blockly.Blocks['procedures_defreturnsimple'] = {\n    init: makeProcedureInit(\n      true, false, false,\n      Blockly.Msg.PROCEDURES_DEFRETURN_PROCEDURE,\n      Blockly.Msg.PROCEDURES_DEFRETURN_TITLE,\n      Blockly.Msg.PROCEDURES_DEFRETURN_COMMENT,\n      Blockly.Msg.PROCEDURES_DEFRETURN_TOOLTIP,\n      Blockly.Msg.PROCEDURES_DEFRETURN_HELPURL\n    ),\n    setStatements_: Blockly.Blocks['procedures_defreturn'].setStatements_,\n    updateParams_: makeUpdateParams(),\n    mutationToDom: Blockly.Blocks['procedures_defreturn'].mutationToDom,\n    domToMutation: makeProcedureDomToMutation(),\n    decompose: Blockly.Blocks['procedures_defreturn'].decompose,\n    compose: Blockly.Blocks['procedures_defreturn'].compose,\n    getProcedureDef: Blockly.Blocks['procedures_defreturn'].getProcedureDef,\n    getVars: Blockly.Blocks['procedures_defreturn'].getVars,\n    renameVar: Blockly.Blocks['procedures_defreturn'].renameVar,\n    customContextMenu: makeProcedureCustomMenu(false),\n    callType_: 'procedures_callreturnsimple'\n  };\n\n  Blockly.Blocks['procedures_callreturnsimple'] = {\n    init: Blockly.Blocks['procedures_callreturn'].init,\n    getProcedureCall: Blockly.Blocks['procedures_callreturn'].getProcedureCall,\n    renameProcedure: Blockly.Blocks['procedures_callreturn'].renameProcedure,\n    setProcedureParameters_: Blockly.Blocks['procedures_callreturn'].setProcedureParameters_,\n    updateShape_: Blockly.Blocks['procedures_callreturn'].updateShape_,\n    mutationToDom: Blockly.Blocks['procedures_callreturn'].mutationToDom,\n    domToMutation: Blockly.Blocks['procedures_callreturn'].domToMutation,\n    renameVar: Blockly.Blocks['procedures_callreturn'].renameVar,\n    onchange: Blockly.Blocks['procedures_callreturn'].onchange,\n    customContextMenu: Blockly.Blocks['procedures_callreturn'].customContextMenu,\n    defType_: 'procedures_defreturnsimple'\n  };\n\n  // ---------------------------------------------------------------\n  // [!] Calling `initialize` to support another types of procedures\n  // ---------------------------------------------------------------\n  initialize(\n    makeProcedureInit,\n    makeUpdateParams,\n    makeProcedureDomToMutation,\n    makeProcedureCustomMenu\n  );\n\n    // -------------------------------------------------------------------\n  // [!] Adding two flyoutCategories: PROCEDURE_CALLS and FUNCTION_CALLS\n  // -------------------------------------------------------------------\n\n  Blockly.Procedures.procedureCallFlyoutCategory = function(workspace) {\n    var xmlList = [];\n\n    function populateProcedures(procedureList) { // [!]\n      for (var i = 0; i < procedureList.length; i++) {\n        var name = procedureList[i][0];\n        var args = procedureList[i][1];\n        var templateName = Blockly.Procedures.getDefinition(name, workspace).callType_; // [!]\n        // <block type=\"procedures_callnoreturn\" gap=\"16\">\n        //   <mutation name=\"do something\">\n        //     <arg name=\"x\"></arg>\n        //   </mutation>\n        // </block>\n        var block = goog.dom.createDom('block');\n        block.setAttribute('type', templateName);\n        block.setAttribute('gap', 16);\n        var mutation = goog.dom.createDom('mutation');\n        mutation.setAttribute('name', name);\n        block.appendChild(mutation);\n        for (var j = 0; j < args.length; j++) {\n          var arg = goog.dom.createDom('arg');\n          arg.setAttribute('name', args[j]);\n          mutation.appendChild(arg);\n        }\n        xmlList.push(block);\n      }\n    }\n\n    var tuple = Blockly.Procedures.allProcedures(workspace);\n    populateProcedures(tuple[0]); // [!]\n    return xmlList;\n  };\n\n  Blockly.Procedures.functionCallFlyoutCategory = function(workspace) {\n    var xmlList = [];\n\n    function populateProcedures(procedureList) { // [!]\n      for (var i = 0; i < procedureList.length; i++) {\n        var name = procedureList[i][0];\n        var args = procedureList[i][1];\n        var templateName = Blockly.Procedures.getDefinition(name, workspace).callType_; // [!]\n        // <block type=\"procedures_callnoreturn\" gap=\"16\">\n        //   <mutation name=\"do something\">\n        //     <arg name=\"x\"></arg>\n        //   </mutation>\n        // </block>\n        var block = goog.dom.createDom('block');\n        block.setAttribute('type', templateName);\n        block.setAttribute('gap', 16);\n        var mutation = goog.dom.createDom('mutation');\n        mutation.setAttribute('name', name);\n        block.appendChild(mutation);\n        for (var j = 0; j < args.length; j++) {\n          var arg = goog.dom.createDom('arg');\n          arg.setAttribute('name', args[j]);\n          mutation.appendChild(arg);\n        }\n        xmlList.push(block);\n      }\n    }\n\n    var tuple = Blockly.Procedures.allProcedures(workspace);\n    populateProcedures(tuple[1]); // [!]\n    return xmlList;\n  };\n\n  Blockly.Flyout.prototype.show = function(xmlList) {\n    this.workspace_.setResizesEnabled(false);\n    this.hide();\n    this.clearOldBlocks_();\n\n    // Handle dynamic categories, represented by a name instead of a list of XML.\n    // Look up the correct category generation function and call that to get a\n    // valid XML list.\n    if (xmlList === \"PROCEDURE_CALLS\") { // [!]\n      xmlList = Blockly.Procedures.procedureCallFlyoutCategory(this.workspace_.targetWorkspace);\n    } else if (xmlList === \"FUNCTION_CALLS\") { // [!]\n      xmlList = Blockly.Procedures.functionCallFlyoutCategory(this.workspace_.targetWorkspace);\n    } else if (typeof xmlList == 'string') {\n      var fnToApply = this.workspace_.targetWorkspace.getToolboxCategoryCallback(\n          xmlList);\n      goog.asserts.assert(goog.isFunction(fnToApply),\n          'Couldn\\'t find a callback function when opening a toolbox category.');\n      xmlList = fnToApply(this.workspace_.targetWorkspace);\n      goog.asserts.assert(goog.isArray(xmlList),\n          'The result of a toolbox category callback must be an array.');\n    }\n\n    this.setVisible(true);\n    // Create the blocks to be shown in this flyout.\n    var contents = [];\n    var gaps = [];\n    this.permanentlyDisabled_.length = 0;\n    for (var i = 0, xml; xml = xmlList[i]; i++) {\n      if (xml.tagName) {\n        var tagName = xml.tagName.toUpperCase();\n        var default_gap = this.horizontalLayout_ ? this.GAP_X : this.GAP_Y;\n        if (tagName == 'BLOCK') {\n          var curBlock = Blockly.Xml.domToBlock(xml, this.workspace_);\n          if (curBlock.disabled) {\n            // Record blocks that were initially disabled.\n            // Do not enable these blocks as a result of capacity filtering.\n            this.permanentlyDisabled_.push(curBlock);\n          }\n          contents.push({type: 'block', block: curBlock});\n          var gap = parseInt(xml.getAttribute('gap'), 10);\n          gaps.push(isNaN(gap) ? default_gap : gap);\n        } else if (xml.tagName.toUpperCase() == 'SEP') {\n          // Change the gap between two blocks.\n          // <sep gap=\"36\"></sep>\n          // The default gap is 24, can be set larger or smaller.\n          // This overwrites the gap attribute on the previous block.\n          // Note that a deprecated method is to add a gap to a block.\n          // <block type=\"math_arithmetic\" gap=\"8\"></block>\n          var newGap = parseInt(xml.getAttribute('gap'), 10);\n          // Ignore gaps before the first block.\n          if (!isNaN(newGap) && gaps.length > 0) {\n            gaps[gaps.length - 1] = newGap;\n          } else {\n            gaps.push(default_gap);\n          }\n        } else if (tagName == 'BUTTON' || tagName == 'LABEL') {\n          // Labels behave the same as buttons, but are styled differently.\n          var isLabel = tagName == 'LABEL';\n          var curButton = new Blockly.FlyoutButton(this.workspace_,\n              this.targetWorkspace_, xml, isLabel);\n          contents.push({type: 'button', button: curButton});\n          gaps.push(default_gap);\n        }\n      }\n    }\n\n    this.layout_(contents, gaps);\n\n    // IE 11 is an incompetent browser that fails to fire mouseout events.\n    // When the mouse is over the background, deselect all blocks.\n    var deselectAll = function() {\n      var topBlocks = this.workspace_.getTopBlocks(false);\n      for (var i = 0, block; block = topBlocks[i]; i++) {\n        block.removeSelect();\n      }\n    };\n\n    this.listeners_.push(Blockly.bindEventWithChecks_(this.svgBackground_,\n        'mouseover', this, deselectAll));\n\n    if (this.horizontalLayout_) {\n      this.height_ = 0;\n    } else {\n      this.width_ = 0;\n    }\n    this.workspace_.setResizesEnabled(true);\n    this.reflow();\n\n    this.filterForCapacity_();\n\n    // Correctly position the flyout's scrollbar when it opens.\n    this.position();\n\n    this.reflowWrapper_ = this.reflow.bind(this);\n    this.workspace_.addChangeListener(this.reflowWrapper_);\n  };\n\n}\n","// Acorn: Copyright 2012 Marijn Haverbeke, MIT License\nvar mod$$inline_58=function(a){function b(a){n=a||{};for(var b in Ua)Object.prototype.hasOwnProperty.call(n,b)||(n[b]=Ua[b]);wa=n.sourceFile||null}function c(a,b){var c=Ab(k,a);b+=\" (\"+c.line+\":\"+c.column+\")\";var d=new SyntaxError(b);d.pos=a;d.loc=c;d.raisedAt=f;throw d;}function d(a){function b(a){if(1==a.length)return c+=\"return str === \"+JSON.stringify(a[0])+\";\";c+=\"switch(str){\";for(var va=0;va<a.length;++va)c+=\"case \"+JSON.stringify(a[va])+\":\";c+=\"return true}return false;\"}a=a.split(\" \");var c=\n\"\",d=[],e=0;a:for(;e<a.length;++e){for(var g=0;g<d.length;++g)if(d[g][0].length==a[e].length){d[g].push(a[e]);continue a}d.push([a[e]])}if(3<d.length){d.sort(function(a,b){return b.length-a.length});c+=\"switch(str.length){\";for(e=0;e<d.length;++e)a=d[e],c+=\"case \"+a[0].length+\":\",b(a);c+=\"}\"}else b(a);return new Function(\"str\",c)}function e(){this.line=G;this.column=f-D}function g(a,b){X=f;n.locations&&(ia=new e);p=a;l();H=b;R=a.beforeExpr}function h(){for(var a=f,b=n.onComment&&n.locations&&new e,\nc=k.charCodeAt(f+=2);f<S&&10!==c&&13!==c&&8232!==c&&8233!==c;)++f,c=k.charCodeAt(f);if(n.onComment)n.onComment(!1,k.slice(a+2,f),a,f,b,n.locations&&new e)}function l(){for(;f<S;){var a=k.charCodeAt(f);if(32===a)++f;else if(13===a)++f,a=k.charCodeAt(f),10===a&&++f,n.locations&&(++G,D=f);else if(10===a||8232===a||8233===a)++f,n.locations&&(++G,D=f);else if(8<a&&14>a)++f;else if(47===a)if(a=k.charCodeAt(f+1),42===a){var a=n.onComment&&n.locations&&new e,b=f,d=k.indexOf(\"*/\",f+=2);-1===d&&c(f-2,\"Unterminated comment\");\nf=d+2;if(n.locations){Y.lastIndex=b;for(var g=void 0;(g=Y.exec(k))&&g.index<f;)++G,D=g.index+g[0].length}if(n.onComment)n.onComment(!0,k.slice(b+2,d),b,f,a,n.locations&&new e)}else if(47===a)h();else break;else if(160===a)++f;else if(5760<=a&&Bb.test(String.fromCharCode(a)))++f;else break}}function m(a){switch(a){case 46:return a=k.charCodeAt(f+1),48<=a&&57>=a?a=P(!0):(++f,a=g(xa)),a;case 40:return++f,g(I);case 41:return++f,g(E);case 59:return++f,g(J);case 44:return++f,g(L);case 91:return++f,g(ja);\ncase 93:return++f,g(ka);case 123:return++f,g(Z);case 125:return++f,g(T);case 58:return++f,g(aa);case 63:return++f,g(ya);case 48:if(a=k.charCodeAt(f+1),120===a||88===a)return f+=2,a=B(16),null==a&&c(x+2,\"Expected hexadecimal number\"),la(k.charCodeAt(f))&&c(f,\"Identifier directly after number\"),a=g(ba,a);case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return P(!1);case 34:case 39:a:{f++;for(var b=\"\";;){f>=S&&c(x,\"Unterminated string constant\");var d=k.charCodeAt(f);if(d===a){++f;\na=g(da,b);break a}if(92===d){var d=k.charCodeAt(++f),e=/^[0-7]+/.exec(k.slice(f,f+3));for(e&&(e=e[0]);e&&255<parseInt(e,8);)e=e.slice(0,-1);\"0\"===e&&(e=null);++f;if(e)C&&c(f-2,\"Octal literal in strict mode\"),b+=String.fromCharCode(parseInt(e,8)),f+=e.length-1;else switch(d){case 110:b+=\"\\n\";break;case 114:b+=\"\\r\";break;case 120:b+=String.fromCharCode(ma(2));break;case 117:b+=String.fromCharCode(ma(4));break;case 85:b+=String.fromCharCode(ma(8));break;case 116:b+=\"\\t\";break;case 98:b+=\"\\b\";break;case 118:b+=\n\"\\x0B\";break;case 102:b+=\"\\f\";break;case 48:b+=\"\\x00\";break;case 13:10===k.charCodeAt(f)&&++f;case 10:n.locations&&(D=f,++G);break;default:b+=String.fromCharCode(d)}}else 13!==d&&10!==d&&8232!==d&&8233!==d||c(x,\"Unterminated string constant\"),b+=String.fromCharCode(d),++f}}return a;case 47:return a=k.charCodeAt(f+1),R?(++f,a=K()):a=61===a?t(U,2):t(za,1),a;case 37:case 42:return a=k.charCodeAt(f+1),a=61===a?t(U,2):t(Cb,1),a;case 124:case 38:return b=k.charCodeAt(f+1),a=b===a?t(124===a?Va:Wa,2):61===\nb?t(U,2):t(124===a?Db:Eb,1),a;case 94:return a=k.charCodeAt(f+1),a=61===a?t(U,2):t(Fb,1),a;case 43:case 45:return b=k.charCodeAt(f+1),b===a?45==b&&62==k.charCodeAt(f+2)&&na.test(k.slice(M,f))?(f+=3,h(),l(),a=z()):a=t(Gb,2):a=61===b?t(U,2):t(Hb,1),a;case 60:case 62:return b=k.charCodeAt(f+1),d=1,b===a?(d=62===a&&62===k.charCodeAt(f+2)?3:2,a=61===k.charCodeAt(f+d)?t(U,d+1):t(Ib,d)):33==b&&60==a&&45==k.charCodeAt(f+2)&&45==k.charCodeAt(f+3)?(f+=4,h(),l(),a=z()):(61===b&&(d=61===k.charCodeAt(f+2)?3:2),\na=t(Jb,d)),a;case 61:case 33:return b=k.charCodeAt(f+1),a=61===b?t(Kb,61===k.charCodeAt(f+2)?3:2):t(61===a?Aa:Xa,1),a;case 126:return t(Xa,1)}return!1}function z(a){a?f=x+1:x=f;n.locations&&(oa=new e);if(a)return K();if(f>=S)return g(pa);var b=k.charCodeAt(f);if(la(b)||92===b)return Ya();a=m(b);if(!1===a){b=String.fromCharCode(b);if(\"\\\\\"===b||Za.test(b))return Ya();c(f,\"Unexpected character '\"+b+\"'\")}return a}function t(a,b){var c=k.slice(f,f+b);f+=b;g(a,c)}function K(){for(var a,b,d=f;;){f>=S&&c(d,\n\"Unterminated regular expression\");var e=k.charAt(f);na.test(e)&&c(d,\"Unterminated regular expression\");if(a)a=!1;else{if(\"[\"===e)b=!0;else if(\"]\"===e&&b)b=!1;else if(\"/\"===e&&!b)break;a=\"\\\\\"===e}++f}a=k.slice(d,f);++f;(b=$a())&&!/^[gmsiy]*$/.test(b)&&c(d,\"Invalid regexp flag\");return g(Ba,new RegExp(a,b))}function B(a,b){for(var c=f,d=0,e=0,g=null==b?Infinity:b;e<g;++e){var h=k.charCodeAt(f),h=97<=h?h-97+10:65<=h?h-65+10:48<=h&&57>=h?h-48:Infinity;if(h>=a)break;++f;d=d*a+h}return f===c||null!=b&&\nf-c!==b?null:d}function P(a){var b=f,d=!1,e=48===k.charCodeAt(f);a||null!==B(10)||c(b,\"Invalid number\");46===k.charCodeAt(f)&&(++f,B(10),d=!0);a=k.charCodeAt(f);if(69===a||101===a)a=k.charCodeAt(++f),43!==a&&45!==a||++f,null===B(10)&&c(b,\"Invalid number\"),d=!0;la(k.charCodeAt(f))&&c(f,\"Identifier directly after number\");a=k.slice(b,f);var h;d?h=parseFloat(a):e&&1!==a.length?/[89]/.test(a)||C?c(b,\"Invalid number\"):h=parseInt(a,8):h=parseInt(a,10);return g(ba,h)}function ma(a){a=B(16,a);null===a&&c(x,\n\"Bad character escape sequence\");return a}function $a(){ca=!1;for(var a,b=!0,d=f;;){var e=k.charCodeAt(f);if(ab(e))ca&&(a+=k.charAt(f)),++f;else if(92===e){ca||(a=k.slice(d,f));ca=!0;117!=k.charCodeAt(++f)&&c(f,\"Expecting Unicode escape sequence \\\\uXXXX\");++f;var e=ma(4),g=String.fromCharCode(e);g||c(f-1,\"Invalid Unicode escape\");(b?la(e):ab(e))||c(f-4,\"Invalid Unicode escape\");a+=g}else break;b=!1}return ca?a:k.slice(d,f)}function Ya(){var a=$a(),b=V;ca||(Lb(a)?b=Ca[a]:(n.forbidReserved&&(3===n.ecmaVersion?\nMb:Nb)(a)||C&&bb(a))&&c(x,\"The keyword '\"+a+\"' is reserved\"));return g(b,a)}function r(){Da=x;M=X;Ea=ia;z()}function Fa(a){C=a;f=M;if(n.locations)for(;f<D;)D=k.lastIndexOf(\"\\n\",D-2)+1,--G;l();z()}function cb(){this.type=null;this.start=x;this.end=null}function db(){this.start=oa;this.end=null;null!==wa&&(this.source=wa)}function y(){var a=new cb;n.locations&&(a.loc=new db);n.directSourceFile&&(a.sourceFile=n.directSourceFile);n.ranges&&(a.range=[x,0]);return a}function Q(a){var b=new cb;b.start=a.start;\nn.locations&&(b.loc=new db,b.loc.start=a.loc.start);n.ranges&&(b.range=[a.range[0],0]);return b}function q(a,b){a.type=b;a.end=M;n.locations&&(a.loc.end=Ea);n.ranges&&(a.range[1]=M);return a}function Ga(a){return 5<=n.ecmaVersion&&\"ExpressionStatement\"===a.type&&\"Literal\"===a.expression.type&&\"use strict\"===a.expression.value}function u(a){if(p===a)return r(),!0}function qa(){return!n.strictSemicolons&&(p===pa||p===T||na.test(k.slice(M,x)))}function W(){u(J)||qa()||N()}function v(a){p===a?r():N()}\nfunction N(){c(x,\"Unexpected token\")}function ra(a){\"Identifier\"!==a.type&&\"MemberExpression\"!==a.type&&c(a.start,\"Assigning to rvalue\");C&&\"Identifier\"===a.type&&sa(a.name)&&c(a.start,\"Assigning to \"+a.name+\" in strict mode\")}function F(){(p===za||p===U&&\"/=\"==H)&&z(!0);var a=p,b=y();switch(a){case Ha:case eb:r();var d=a===Ha;u(J)||qa()?b.label=null:p!==V?N():(b.label=O(),W());for(var e=0;e<w.length;++e){var g=w[e];if(null==b.label||g.name===b.label.name){if(null!=g.kind&&(d||\"loop\"===g.kind))break;\nif(b.label&&d)break}}e===w.length&&c(b.start,\"Unsyntactic \"+a.keyword);return q(b,d?\"BreakStatement\":\"ContinueStatement\");case fb:return r(),W(),q(b,\"DebuggerStatement\");case gb:return r(),w.push(Ia),b.body=F(),w.pop(),v(Ja),b.test=ea(),W(),q(b,\"DoWhileStatement\");case hb:r();w.push(Ia);v(I);if(p===J)return Ka(b,null);if(p===La)return a=y(),r(),ib(a,!0),q(a,\"VariableDeclaration\"),1===a.declarations.length&&u(ta)?jb(b,a):Ka(b,a);a=A(!1,!0);return u(ta)?(ra(a),jb(b,a)):Ka(b,a);case Ma:return r(),Na(b,\n!0);case kb:return r(),b.test=ea(),b.consequent=F(),b.alternate=u(lb)?F():null,q(b,\"IfStatement\");case mb:return fa||c(x,\"'return' outside of function\"),r(),u(J)||qa()?b.argument=null:(b.argument=A(),W()),q(b,\"ReturnStatement\");case Oa:r();b.discriminant=ea();b.cases=[];v(Z);for(w.push(Ob);p!=T;)p===Pa||p===nb?(a=p===Pa,e&&q(e,\"SwitchCase\"),b.cases.push(e=y()),e.consequent=[],r(),a?e.test=A():(d&&c(Da,\"Multiple default clauses\"),d=!0,e.test=null),v(aa)):(e||N(),e.consequent.push(F()));e&&q(e,\"SwitchCase\");\nr();w.pop();return q(b,\"SwitchStatement\");case ob:return r(),na.test(k.slice(M,x))&&c(M,\"Illegal newline after throw\"),b.argument=A(),W(),q(b,\"ThrowStatement\");case pb:return r(),b.block=ga(),b.handler=null,p===qb&&(a=y(),r(),v(I),a.param=O(),C&&sa(a.param.name)&&c(a.param.start,\"Binding \"+a.param.name+\" in strict mode\"),v(E),a.guard=null,a.body=ga(),b.handler=q(a,\"CatchClause\")),b.guardedHandlers=rb,b.finalizer=u(sb)?ga():null,b.handler||b.finalizer||c(b.start,\"Missing catch or finally clause\"),\nq(b,\"TryStatement\");case La:return r(),ib(b),W(),q(b,\"VariableDeclaration\");case Ja:return r(),b.test=ea(),w.push(Ia),b.body=F(),w.pop(),q(b,\"WhileStatement\");case tb:return C&&c(x,\"'with' in strict mode\"),r(),b.object=ea(),b.body=F(),q(b,\"WithStatement\");case Z:return ga();case J:return r(),q(b,\"EmptyStatement\");default:d=H;g=A();if(a===V&&\"Identifier\"===g.type&&u(aa)){for(e=0;e<w.length;++e)w[e].name===d&&c(g.start,\"Label '\"+d+\"' is already declared\");a=p.isLoop?\"loop\":p===Oa?\"switch\":null;w.push({name:d,\nkind:a});b.body=F();w.pop();b.label=g;return q(b,\"LabeledStatement\")}b.expression=g;W();return q(b,\"ExpressionStatement\")}}function ea(){v(I);var a=A();v(E);return a}function ga(a){var b=y(),c=!0,d=!1,e;b.body=[];for(v(Z);!u(T);){var g=F();b.body.push(g);c&&a&&Ga(g)&&(e=d,Fa(d=!0));c=!1}d&&!e&&Fa(!1);return q(b,\"BlockStatement\")}function Ka(a,b){a.init=b;v(J);a.test=p===J?null:A();v(J);a.update=p===E?null:A();v(E);a.body=F();w.pop();return q(a,\"ForStatement\")}function jb(a,b){a.left=b;a.right=A();\nv(E);a.body=F();w.pop();return q(a,\"ForInStatement\")}function ib(a,b){a.declarations=[];for(a.kind=\"var\";;){var d=y();d.id=O();C&&sa(d.id.name)&&c(d.id.start,\"Binding \"+d.id.name+\" in strict mode\");d.init=u(Aa)?A(!0,b):null;a.declarations.push(q(d,\"VariableDeclarator\"));if(!u(L))break}return a}function A(a,b){var c=Qa(b);if(!a&&p===L){var d=Q(c);for(d.expressions=[c];u(L);)d.expressions.push(Qa(b));return q(d,\"SequenceExpression\")}return c}function Qa(a){var b;b=a;var c;c=b;c=Ra(Sa(),-1,c);if(u(ya)){var d=\nQ(c);d.test=c;d.consequent=A(!0);v(aa);d.alternate=A(!0,b);b=q(d,\"ConditionalExpression\")}else b=c;return p.isAssign?(c=Q(b),c.operator=H,c.left=b,r(),c.right=Qa(a),ra(b),q(c,\"AssignmentExpression\")):b}function Ra(a,b,c){var d=p.binop;if(null!=d&&(!c||p!==ta)&&d>b){var e=Q(a);e.left=a;e.operator=H;a=p;r();e.right=Ra(Sa(),d,c);d=q(e,a===Va||a===Wa?\"LogicalExpression\":\"BinaryExpression\");return Ra(d,b,c)}return a}function Sa(){if(p.prefix){var a=y(),b=p.isUpdate;a.operator=H;R=a.prefix=!0;r();a.argument=\nSa();b?ra(a.argument):C&&\"delete\"===a.operator&&\"Identifier\"===a.argument.type&&c(a.start,\"Deleting local variable in strict mode\");return q(a,b?\"UpdateExpression\":\"UnaryExpression\")}for(b=ha(ua());p.postfix&&!qa();)a=Q(b),a.operator=H,a.prefix=!1,a.argument=b,ra(b),r(),b=q(a,\"UpdateExpression\");return b}function ha(a,b){if(u(xa)){var c=Q(a);c.object=a;c.property=O(!0);c.computed=!1;return ha(q(c,\"MemberExpression\"),b)}return u(ja)?(c=Q(a),c.object=a,c.property=A(),c.computed=!0,v(ka),ha(q(c,\"MemberExpression\"),\nb)):!b&&u(I)?(c=Q(a),c.callee=a,c.arguments=Ta(E,!1),ha(q(c,\"CallExpression\"),b)):a}function ua(){switch(p){case ub:var a=y();r();return q(a,\"ThisExpression\");case V:return O();case ba:case da:case Ba:return a=y(),a.value=H,a.raw=k.slice(x,X),r(),q(a,\"Literal\");case vb:case wb:case xb:return a=y(),a.value=p.atomValue,a.raw=p.keyword,r(),q(a,\"Literal\");case I:var a=oa,b=x;r();var d=A();d.start=b;d.end=X;n.locations&&(d.loc.start=a,d.loc.end=ia);n.ranges&&(d.range=[b,X]);v(E);return d;case ja:return a=\ny(),r(),a.elements=Ta(ka,!0,!0),q(a,\"ArrayExpression\");case Z:a=y();b=!0;d=!1;a.properties=[];for(r();!u(T);){if(b)b=!1;else if(v(L),n.allowTrailingCommas&&u(T))break;var e={key:p===ba||p===da?ua():O(!0)},g=!1,h;u(aa)?(e.value=A(!0),h=e.kind=\"init\"):5<=n.ecmaVersion&&\"Identifier\"===e.key.type&&(\"get\"===e.key.name||\"set\"===e.key.name)?(g=d=!0,h=e.kind=e.key.name,e.key=p===ba||p===da?ua():O(!0),p!==I&&N(),e.value=Na(y(),!1)):N();if(\"Identifier\"===e.key.type&&(C||d))for(var f=0;f<a.properties.length;++f){var l=\na.properties[f];if(l.key.name===e.key.name){var m=h==l.kind||g&&\"init\"===l.kind||\"init\"===h&&(\"get\"===l.kind||\"set\"===l.kind);m&&!C&&\"init\"===h&&\"init\"===l.kind&&(m=!1);m&&c(e.key.start,\"Redefinition of property\")}}a.properties.push(e)}return a=q(a,\"ObjectExpression\");case Ma:return a=y(),r(),Na(a,!1);case yb:return a=y(),r(),a.callee=ha(ua(),!0),u(I)?a.arguments=Ta(E,!1):a.arguments=rb,a=q(a,\"NewExpression\");default:N()}}function Na(a,b){p===V?a.id=O():b?N():a.id=null;a.params=[];var d=!0;for(v(I);!u(E);)d?\nd=!1:v(L),a.params.push(O());var d=fa,e=w;fa=!0;w=[];a.body=ga(!0);fa=d;w=e;if(C||a.body.body.length&&Ga(a.body.body[0]))for(d=a.id?-1:0;d<a.params.length;++d)if(e=0>d?a.id:a.params[d],(bb(e.name)||sa(e.name))&&c(e.start,\"Defining '\"+e.name+\"' in strict mode\"),0<=d)for(var g=0;g<d;++g)e.name===a.params[g].name&&c(e.start,\"Argument name clash in strict mode\");return q(a,b?\"FunctionDeclaration\":\"FunctionExpression\")}function Ta(a,b,c){for(var d=[],e=!0;!u(a);){if(e)e=!1;else if(v(L),b&&n.allowTrailingCommas&&\nu(a))break;c&&p===L?d.push(null):d.push(A(!0))}return d}function O(a){var b=y();b.name=p===V?H:a&&!n.forbidReserved&&p.keyword||N();R=!1;r();return q(b,\"Identifier\")}a.version=\"0.4.1\";var n,k,S,wa;a.parse=function(a,c){k=String(a);S=k.length;b(c);G=1;f=D=0;R=!0;l();var d,g=n.program;Da=M=f;n.locations&&(Ea=new e);fa=C=null;w=[];z();d=g||y();var h=!0;g||(d.body=[]);for(;p!==pa;)g=F(),d.body.push(g),h&&Ga(g)&&Fa(!0),h=!1;return d=q(d,\"Program\")};var Ua=a.defaultOptions={ecmaVersion:5,strictSemicolons:!1,\nallowTrailingCommas:!0,forbidReserved:!1,locations:!1,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null},Ab=a.getLineInfo=function(a,b){for(var c=1,d=0;;){Y.lastIndex=d;var e=Y.exec(a);if(e&&e.index<b)++c,d=e.index+e[0].length;else break}return{line:c,column:b-d}};a.tokenize=function(a,c){function d(a){z(a);e.start=x;e.end=X;e.startLoc=oa;e.endLoc=ia;e.type=p;e.value=H;return e}k=String(a);S=k.length;b(c);G=1;f=D=0;R=!0;l();var e={};d.jumpTo=function(a,b){f=a;if(n.locations){G=\n1;D=Y.lastIndex=0;for(var c;(c=Y.exec(k))&&c.index<a;)++G,D=c.index+c[0].length}R=b;l()};return d};var f,x,X,oa,ia,p,H,R,G,D,Da,M,Ea,fa,w,C,rb=[],ba={type:\"num\"},Ba={type:\"regexp\"},da={type:\"string\"},V={type:\"name\"},pa={type:\"eof\"},Ha={keyword:\"break\"},Pa={keyword:\"case\",beforeExpr:!0},qb={keyword:\"catch\"},eb={keyword:\"continue\"},fb={keyword:\"debugger\"},nb={keyword:\"default\"},gb={keyword:\"do\",isLoop:!0},lb={keyword:\"else\",beforeExpr:!0},sb={keyword:\"finally\"},hb={keyword:\"for\",isLoop:!0},Ma={keyword:\"function\"},\nkb={keyword:\"if\"},mb={keyword:\"return\",beforeExpr:!0},Oa={keyword:\"switch\"},ob={keyword:\"throw\",beforeExpr:!0},pb={keyword:\"try\"},La={keyword:\"var\"},Ja={keyword:\"while\",isLoop:!0},tb={keyword:\"with\"},yb={keyword:\"new\",beforeExpr:!0},ub={keyword:\"this\"},vb={keyword:\"null\",atomValue:null},wb={keyword:\"true\",atomValue:!0},xb={keyword:\"false\",atomValue:!1},ta={keyword:\"in\",binop:7,beforeExpr:!0},Ca={\"break\":Ha,\"case\":Pa,\"catch\":qb,\"continue\":eb,\"debugger\":fb,\"default\":nb,\"do\":gb,\"else\":lb,\"finally\":sb,\n\"for\":hb,\"function\":Ma,\"if\":kb,\"return\":mb,\"switch\":Oa,\"throw\":ob,\"try\":pb,\"var\":La,\"while\":Ja,\"with\":tb,\"null\":vb,\"true\":wb,\"false\":xb,\"new\":yb,\"in\":ta,\"instanceof\":{keyword:\"instanceof\",binop:7,beforeExpr:!0},\"this\":ub,\"typeof\":{keyword:\"typeof\",prefix:!0,beforeExpr:!0},\"void\":{keyword:\"void\",prefix:!0,beforeExpr:!0},\"delete\":{keyword:\"delete\",prefix:!0,beforeExpr:!0}},ja={type:\"[\",beforeExpr:!0},ka={type:\"]\"},Z={type:\"{\",beforeExpr:!0},T={type:\"}\"},I={type:\"(\",beforeExpr:!0},E={type:\")\"},L={type:\",\",\nbeforeExpr:!0},J={type:\";\",beforeExpr:!0},aa={type:\":\",beforeExpr:!0},xa={type:\".\"},ya={type:\"?\",beforeExpr:!0},za={binop:10,beforeExpr:!0},Aa={isAssign:!0,beforeExpr:!0},U={isAssign:!0,beforeExpr:!0},Gb={postfix:!0,prefix:!0,isUpdate:!0},Xa={prefix:!0,beforeExpr:!0},Va={binop:1,beforeExpr:!0},Wa={binop:2,beforeExpr:!0},Db={binop:3,beforeExpr:!0},Fb={binop:4,beforeExpr:!0},Eb={binop:5,beforeExpr:!0},Kb={binop:6,beforeExpr:!0},Jb={binop:7,beforeExpr:!0},Ib={binop:8,beforeExpr:!0},Hb={binop:9,prefix:!0,\nbeforeExpr:!0},Cb={binop:10,beforeExpr:!0};a.tokTypes={bracketL:ja,bracketR:ka,braceL:Z,braceR:T,parenL:I,parenR:E,comma:L,semi:J,colon:aa,dot:xa,question:ya,slash:za,eq:Aa,name:V,eof:pa,num:ba,regexp:Ba,string:da};for(var zb in Ca)a.tokTypes[\"_\"+zb]=Ca[zb];var Mb=d(\"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile\"),Nb=d(\"class enum extends super const export import\"),\nbb=d(\"implements interface let package private protected public static yield\"),sa=d(\"eval arguments\"),Lb=d(\"break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this\"),Bb=/[\\u1680\\u180e\\u2000-\\u200a\\u202f\\u205f\\u3000\\ufeff]/,Za=RegExp(\"[\\u00aa\\u00b5\\u00ba\\u00c0-\\u00d6\\u00d8-\\u00f6\\u00f8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]\"),\nPb=RegExp(\"[\\u00aa\\u00b5\\u00ba\\u00c0-\\u00d6\\u00d8-\\u00f6\\u00f8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f]\"),\nna=/[\\n\\r\\u2028\\u2029]/,Y=/\\r\\n|[\\n\\r\\u2028\\u2029]/g,la=a.isIdentifierStart=function(a){return 65>a?36===a:91>a?!0:97>a?95===a:123>a?!0:170<=a&&Za.test(String.fromCharCode(a))},ab=a.isIdentifierChar=function(a){return 48>a?36===a:58>a?!0:65>a?!1:91>a?!0:97>a?95===a:123>a?!0:170<=a&&Pb.test(String.fromCharCode(a))},ca,Ia={kind:\"loop\"},Ob={kind:\"switch\"}};\n\"object\"==typeof exports&&\"object\"==typeof module?mod$$inline_58(exports):\"function\"==typeof define&&define.amd?define([\"exports\"],mod$$inline_58):mod$$inline_58(this.acorn||(this.acorn={}));\n// JS-Interpreter: Copyright 2013 Google Inc, Apache 2.0\nvar Interpreter=function(a,b){\"string\"==typeof a&&(a=acorn.parse(a,Interpreter.PARSE_OPTIONS));this.ast=a;this.initFunc_=b;this.paused_=!1;this.polyfills_=[];this.UNDEFINED=new Interpreter.Primitive(void 0,this);this.NULL=new Interpreter.Primitive(null,this);this.NAN=new Interpreter.Primitive(NaN,this);this.TRUE=new Interpreter.Primitive(!0,this);this.FALSE=new Interpreter.Primitive(!1,this);this.NUMBER_ZERO=new Interpreter.Primitive(0,this);this.NUMBER_ONE=new Interpreter.Primitive(1,this);this.STRING_EMPTY=\nnew Interpreter.Primitive(\"\",this);var c=this.createScope(this.ast,null);this.NAN.parent=this.NUMBER;this.TRUE.parent=this.BOOLEAN;this.FALSE.parent=this.BOOLEAN;this.NUMBER_ZERO.parent=this.NUMBER;this.NUMBER_ONE.parent=this.NUMBER;this.STRING_EMPTY.parent=this.STRING;this.ast=acorn.parse(this.polyfills_.join(\"\\n\"),Interpreter.PARSE_OPTIONS);this.stripLocations_(this.ast);this.stateStack=[{node:this.ast,scope:c,thisExpression:c,done:!1}];this.run();this.ast=a;this.stateStack=[{node:this.ast,scope:c,\nthisExpression:c,done:!1}]};Interpreter.PARSE_OPTIONS={ecmaVersion:5};Interpreter.READONLY_DESCRIPTOR={configurable:!0,enumerable:!0,writable:!1};Interpreter.NONENUMERABLE_DESCRIPTOR={configurable:!0,enumerable:!1,writable:!0};Interpreter.READONLY_NONENUMERABLE_DESCRIPTOR={configurable:!0,enumerable:!1,writable:!1};\nInterpreter.prototype.appendCode=function(a){var b=this.stateStack[this.stateStack.length-1];if(!b||\"Program\"!=b.node.type)throw Error(\"Expecting original AST to start with a Program node.\");\"string\"==typeof a&&(a=acorn.parse(a,Interpreter.PARSE_OPTIONS));if(!a||\"Program\"!=a.type)throw Error(\"Expecting new AST to start with a Program node.\");this.populateScope_(a,b.scope);for(var c=0,d;d=a.body[c];c++)b.node.body.push(d);b.done=!1};\nInterpreter.prototype.step=function(){var a=this.stateStack[0];if(!a||\"Program\"==a.node.type&&a.done)return!1;if(this.paused_)return!0;this[\"step\"+a.node.type]();return a.node.end?!0:this.step()};Interpreter.prototype.run=function(){for(;!this.paused_&&this.step(););return this.paused_};\nInterpreter.prototype.initGlobalScope=function(a){this.setProperty(a,\"Infinity\",this.createPrimitive(Infinity),Interpreter.READONLY_DESCRIPTOR);this.setProperty(a,\"NaN\",this.NAN,Interpreter.READONLY_DESCRIPTOR);this.setProperty(a,\"undefined\",this.UNDEFINED,Interpreter.READONLY_DESCRIPTOR);this.setProperty(a,\"window\",a,Interpreter.READONLY_DESCRIPTOR);this.setProperty(a,\"self\",a);this.initFunction(a);this.initObject(a);a.parent=this.OBJECT;this.initArray(a);this.initNumber(a);this.initString(a);this.initBoolean(a);\nthis.initDate(a);this.initMath(a);this.initRegExp(a);this.initJSON(a);this.initError(a);var b=this,c;c=function(a){a=a||b.UNDEFINED;return b.createPrimitive(isNaN(a.toNumber()))};this.setProperty(a,\"isNaN\",this.createNativeFunction(c));c=function(a){a=a||b.UNDEFINED;return b.createPrimitive(isFinite(a.toNumber()))};this.setProperty(a,\"isFinite\",this.createNativeFunction(c));this.setProperty(a,\"parseFloat\",this.getProperty(this.NUMBER,\"parseFloat\"));this.setProperty(a,\"parseInt\",this.getProperty(this.NUMBER,\n\"parseInt\"));c=this.createObject(this.FUNCTION);c.eval=!0;this.setProperty(c,\"length\",this.NUMBER_ONE,Interpreter.READONLY_DESCRIPTOR);this.setProperty(a,\"eval\",c);for(var d=[[escape,\"escape\"],[unescape,\"unescape\"],[decodeURI,\"decodeURI\"],[decodeURIComponent,\"decodeURIComponent\"],[encodeURI,\"encodeURI\"],[encodeURIComponent,\"encodeURIComponent\"]],f=0;f<d.length;f++)c=function(a){return function(c){c=(c||b.UNDEFINED).toString();try{c=a(c)}catch(d){b.throwException(b.URI_ERROR,d.message)}return b.createPrimitive(c)}}(d[f][0]),\nthis.setProperty(a,d[f][1],this.createNativeFunction(c));this.initFunc_&&this.initFunc_(this,a)};\nInterpreter.prototype.initFunction=function(a){var b=this,c;c=function(a){for(var c=this.parent==b.FUNCTION?this:b.createObject(b.FUNCTION),g=arguments.length?arguments[arguments.length-1].toString():\"\",k=[],l=0;l<arguments.length-1;l++)k.push(arguments[l].toString());k=k.join(\", \");if(-1!=k.indexOf(\")\"))throw SyntaxError(\"Function arg string contains parenthesis\");c.parentScope=b.stateStack[b.stateStack.length-1].scope;g=acorn.parse(\"$ = function(\"+k+\") {\"+g+\"};\",Interpreter.PARSE_OPTIONS);c.node=\ng.body[0].expression.right;b.setProperty(c,\"length\",b.createPrimitive(c.node.length),Interpreter.READONLY_DESCRIPTOR);return c};this.FUNCTION=this.createObject(null);this.setProperty(a,\"Function\",this.FUNCTION);this.FUNCTION.type=\"function\";this.setProperty(this.FUNCTION,\"prototype\",this.createObject(null));this.FUNCTION.nativeFunc=c;c=function(a,c){var g=b.stateStack[0];g.func_=this;g.funcThis_=a;g.arguments=[];if(c)if(b.isa(c,b.ARRAY))for(var k=0;k<c.length;k++)g.arguments[k]=b.getProperty(c,k);\nelse b.throwException(b.TYPE_ERROR,\"CreateListFromArrayLike called on non-object\");g.doneArgs_=!0;g.doneExec_=!1};this.setNativeFunctionPrototype(this.FUNCTION,\"apply\",c);c=function(a,c){var g=b.stateStack[0];g.func_=this;g.funcThis_=a;g.arguments=[];for(var k=1;k<arguments.length;k++)g.arguments.push(arguments[k]);g.doneArgs_=!0;g.doneExec_=!1};this.setNativeFunctionPrototype(this.FUNCTION,\"call\",c);c=function(a,c){var g=b.createFunction(this.node,this.parentScope);a&&(g.boundThis_=a);g.boundArgs_=\n[];for(var k=1;k<arguments.length;k++)g.boundArgs_.push(arguments[k]);return g};this.setNativeFunctionPrototype(this.FUNCTION,\"bind\",c);c=function(){return b.createPrimitive(this.toString())};this.setNativeFunctionPrototype(this.FUNCTION,\"toString\",c);this.setProperty(this.FUNCTION,\"toString\",this.createNativeFunction(c),Interpreter.NONENUMERABLE_DESCRIPTOR);c=function(){return b.createPrimitive(this.valueOf())};this.setNativeFunctionPrototype(this.FUNCTION,\"valueOf\",c);this.setProperty(this.FUNCTION,\n\"valueOf\",this.createNativeFunction(c),Interpreter.NONENUMERABLE_DESCRIPTOR)};\nInterpreter.prototype.initObject=function(a){var b=this,c;c=function(a){if(!a||a==b.UNDEFINED||a==b.NULL)return this.parent==b.OBJECT?this:b.createObject(b.OBJECT);if(a.isPrimitive){var c=b.createObject(a.parent);c.data=a.data;return c}return a};this.OBJECT=this.createNativeFunction(c);this.setProperty(a,\"Object\",this.OBJECT);c=function(a){var c=b.createObject(b.ARRAY),g=0,k;for(k in a.properties)b.setProperty(c,g,b.createPrimitive(k)),g++;return c};this.setProperty(this.OBJECT,\"getOwnPropertyNames\",\nthis.createNativeFunction(c),Interpreter.NONENUMERABLE_DESCRIPTOR);c=function(a){var c=b.createObject(b.ARRAY),g=0,k;for(k in a.properties)a.notEnumerable[k]||(b.setProperty(c,g,b.createPrimitive(k)),g++);return c};this.setProperty(this.OBJECT,\"keys\",this.createNativeFunction(c),Interpreter.NONENUMERABLE_DESCRIPTOR);c=function(a,c,g){c=(c||b.UNDEFINED).toString();if(g instanceof Interpreter.Object)if(!a.properties[c]&&a.preventExtensions)b.throwException(b.TYPE_ERROR,\"Can't define property \"+c+\", object is not extensible\");\nelse{var k=b.getProperty(g,\"value\");k==b.UNDEFINED&&(k=null);var l=b.getProperty(g,\"get\"),n=b.getProperty(g,\"set\");g={configurable:b.pseudoToNative(b.getProperty(g,\"configurable\")),enumerable:b.pseudoToNative(b.getProperty(g,\"enumerable\")),writable:b.pseudoToNative(b.getProperty(g,\"writable\")),get:l==b.UNDEFINED?void 0:l,set:n==b.UNDEFINED?void 0:n};b.setProperty(a,c,k,g);return a}else b.throwException(b.TYPE_ERROR,\"Property description must be an object.\")};this.setProperty(this.OBJECT,\"defineProperty\",\nthis.createNativeFunction(c),Interpreter.NONENUMERABLE_DESCRIPTOR);this.polyfills_.push(\"Object.defineProperties = function(obj, props) {\",\"var keys = Object.keys(props);\",\"for (var i = 0; i < keys.length; i++) {\",\"Object.defineProperty(obj, keys[i], props[keys[i]]);\",\"}\",\"return obj;\",\"};\",\"\");c=function(a,c){c=(c||b.UNDEFINED).toString();if(!(c in a.properties))return b.UNDEFINED;var g=!a.notConfigurable[c],k=!a.notEnumerable[c],l=!a.notWritable[c],n=a.getter[c],v=a.setter[c],r=b.createObject(b.OBJECT);\nb.setProperty(r,\"configurable\",b.createPrimitive(g));b.setProperty(r,\"enumerable\",b.createPrimitive(k));n||v?(b.setProperty(r,\"getter\",n),b.setProperty(r,\"setter\",v)):(b.setProperty(r,\"writable\",b.createPrimitive(l)),b.setProperty(r,\"value\",b.getProperty(a,c)));return r};this.setProperty(this.OBJECT,\"getOwnPropertyDescriptor\",this.createNativeFunction(c),Interpreter.NONENUMERABLE_DESCRIPTOR);c=function(a){return a.parent&&a.parent.properties&&a.parent.properties.prototype?a.parent.properties.prototype:\nb.NULL};this.setProperty(this.OBJECT,\"getPrototypeOf\",this.createNativeFunction(c),Interpreter.NONENUMERABLE_DESCRIPTOR);c=function(a){return b.createPrimitive(!a.preventExtensions)};this.setProperty(this.OBJECT,\"isExtensible\",this.createNativeFunction(c),Interpreter.NONENUMERABLE_DESCRIPTOR);c=function(a){a.isPrimitive||(a.preventExtensions=!0);return a};this.setProperty(this.OBJECT,\"preventExtensions\",this.createNativeFunction(c),Interpreter.NONENUMERABLE_DESCRIPTOR);c=function(){return b.createPrimitive(this.toString())};\nthis.setNativeFunctionPrototype(this.OBJECT,\"toString\",c);c=function(){return b.createPrimitive(this.toString())};this.setNativeFunctionPrototype(this.OBJECT,\"toLocaleString\",c);c=function(){return b.createPrimitive(this.valueOf())};this.setNativeFunctionPrototype(this.OBJECT,\"valueOf\",c);c=function(a){a=(a||b.UNDEFINED).toString();return a in this.properties?b.TRUE:b.FALSE};this.setNativeFunctionPrototype(this.OBJECT,\"hasOwnProperty\",c);c=function(a){a=(a||b.UNDEFINED).toString();a=a in this.properties&&\n!this.notEnumerable[a];return b.createPrimitive(a)};this.setNativeFunctionPrototype(this.OBJECT,\"propertyIsEnumerable\",c);c=function(a){for(;;)if(a.parent&&a.parent.properties&&a.parent.properties.prototype){if(a=a.parent.properties.prototype,a==this)return b.createPrimitive(!0)}else return b.createPrimitive(!1)};this.setNativeFunctionPrototype(this.OBJECT,\"isPrototypeOf\",c)};\nInterpreter.prototype.initArray=function(a){var b=this,c=function(a,b){var c=a?Math.floor(a.toNumber()):b;isNaN(c)&&(c=b);return c},d;d=function(a){var c=this.parent==b.ARRAY?this:b.createObject(b.ARRAY),d=arguments[0];if(d&&\"number\"==d.type)isNaN(b.arrayIndex(d))&&b.throwException(b.RANGE_ERROR,\"Invalid array length\"),c.length=d.data;else{for(d=0;d<arguments.length;d++)c.properties[d]=arguments[d];c.length=d}return c};this.ARRAY=this.createNativeFunction(d);this.setProperty(a,\"Array\",this.ARRAY);\nd=function(a){return b.createPrimitive(b.isa(a,b.ARRAY))};this.setProperty(this.ARRAY,\"isArray\",this.createNativeFunction(d),Interpreter.NONENUMERABLE_DESCRIPTOR);d=function(){if(this.length){var a=this.properties[this.length-1];delete this.properties[this.length-1];this.length--}else a=b.UNDEFINED;return a};this.setNativeFunctionPrototype(this.ARRAY,\"pop\",d);d=function(a){for(var c=0;c<arguments.length;c++)this.properties[this.length]=arguments[c],this.length++;return b.createPrimitive(this.length)};\nthis.setNativeFunctionPrototype(this.ARRAY,\"push\",d);d=function(){if(this.length){for(var a=this.properties[0],c=1;c<this.length;c++)this.properties[c-1]=this.properties[c];this.length--;delete this.properties[this.length]}else a=b.UNDEFINED;return a};this.setNativeFunctionPrototype(this.ARRAY,\"shift\",d);d=function(a){for(var c=this.length-1;0<=c;c--)this.properties[c+arguments.length]=this.properties[c];this.length+=arguments.length;for(c=0;c<arguments.length;c++)this.properties[c]=arguments[c];\nreturn b.createPrimitive(this.length)};this.setNativeFunctionPrototype(this.ARRAY,\"unshift\",d);d=function(){for(var a=0;a<this.length/2;a++){var b=this.properties[this.length-a-1];this.properties[this.length-a-1]=this.properties[a];this.properties[a]=b}return this};this.setNativeFunctionPrototype(this.ARRAY,\"reverse\",d);d=function(a,d,k){a=c(a,0);a=0>a?Math.max(this.length+a,0):Math.min(a,this.length);d=c(d,Infinity);d=Math.min(d,this.length-a);for(var l=b.createObject(b.ARRAY),n=a;n<a+d;n++)l.properties[l.length++]=\nthis.properties[n],this.properties[n]=this.properties[n+d];for(n=a+d;n<this.length-d;n++)this.properties[n]=this.properties[n+d];for(n=this.length-d;n<this.length;n++)delete this.properties[n];this.length-=d;for(n=this.length-1;n>=a;n--)this.properties[n+arguments.length-2]=this.properties[n];this.length+=arguments.length-2;for(n=2;n<arguments.length;n++)this.properties[a+n-2]=arguments[n];return l};this.setNativeFunctionPrototype(this.ARRAY,\"splice\",d);d=function(a,d){var k=b.createObject(b.ARRAY),\nl=c(a,0);0>l&&(l=this.length+l);var l=Math.max(0,Math.min(l,this.length)),n=c(d,this.length);0>n&&(n=this.length+n);for(var n=Math.max(0,Math.min(n,this.length)),v=0;l<n;l++){var r=b.getProperty(this,l);b.setProperty(k,v++,r)}return k};this.setNativeFunctionPrototype(this.ARRAY,\"slice\",d);d=function(a){a=a&&void 0!==a.data?a.toString():void 0;for(var c=[],d=0;d<this.length;d++)c[d]=this.properties[d];return b.createPrimitive(c.join(a))};this.setNativeFunctionPrototype(this.ARRAY,\"join\",d);d=function(a){for(var c=\nb.createObject(b.ARRAY),d=0,l=0;l<this.length;l++){var n=b.getProperty(this,l);b.setProperty(c,d++,n)}for(l=0;l<arguments.length;l++){var v=arguments[l];if(b.isa(v,b.ARRAY))for(var r=0;r<v.length;r++)n=b.getProperty(v,r),b.setProperty(c,d++,n);else b.setProperty(c,d++,v)}return c};this.setNativeFunctionPrototype(this.ARRAY,\"concat\",d);d=function(a,d){a=a||b.UNDEFINED;var k=c(d,0);0>k&&(k=this.length+k);for(k=Math.max(0,k);k<this.length;k++){var l=b.getProperty(this,k);if(l.isPrimitive&&a.isPrimitive?\nl.data===a.data:l===a)return b.createPrimitive(k)}return b.createPrimitive(-1)};this.setNativeFunctionPrototype(this.ARRAY,\"indexOf\",d);d=function(a,d){a=a||b.UNDEFINED;var k=c(d,this.length);0>k&&(k=this.length+k);for(k=Math.min(k,this.length-1);0<=k;k--){var l=b.getProperty(this,k);if(l.isPrimitive&&a.isPrimitive?l.data===a.data:l===a)return b.createPrimitive(k)}return b.createPrimitive(-1)};this.setNativeFunctionPrototype(this.ARRAY,\"lastIndexOf\",d);this.polyfills_.push(\"Array.prototype.every = function(callbackfn, thisArg) {\",\n\"if (this == null || typeof callbackfn !== 'function') throw new TypeError;\",\"var T, k;\",\"var O = Object(this);\",\"var len = O.length >>> 0;\",\"if (arguments.length > 1) T = thisArg;\",\"k = 0;\",\"while (k < len) {\",\"if (k in O && !callbackfn.call(T, O[k], k, O)) return false;\",\"k++;\",\"}\",\"return true;\",\"};\",\"Array.prototype.filter = function(fun/*, thisArg*/) {\",\"if (this === void 0 || this === null || typeof fun !== 'function') throw new TypeError;\",\"var t = Object(this);\",\"var len = t.length >>> 0;\",\n\"var res = [];\",\"var thisArg = arguments.length >= 2 ? arguments[1] : void 0;\",\"for (var i = 0; i < len; i++) {\",\"if (i in t) {\",\"var val = t[i];\",\"if (fun.call(thisArg, val, i, t)) res.push(val);\",\"}\",\"}\",\"return res;\",\"};\",\"Array.prototype.forEach = function(callback, thisArg) {\",\"if (this == null || typeof callback !== 'function') throw new TypeError;\",\"var T, k;\",\"var O = Object(this);\",\"var len = O.length >>> 0;\",\"if (arguments.length > 1) T = thisArg;\",\"k = 0;\",\"while (k < len) {\",\"if (k in O) callback.call(T, O[k], k, O);\",\n\"k++;\",\"}\",\"};\",\"Array.prototype.map = function(callback, thisArg) {\",\"if (this == null || typeof callback !== 'function') new TypeError;\",\"var T, A, k;\",\"var O = Object(this);\",\"var len = O.length >>> 0;\",\"if (arguments.length > 1) T = thisArg;\",\"A = new Array(len);\",\"k = 0;\",\"while (k < len) {\",\"if (k in O) A[k] = callback.call(T, O[k], k, O);\",\"k++;\",\"}\",\"return A;\",\"};\",\"Array.prototype.reduce = function(callback /*, initialValue*/) {\",\"if (this == null || typeof callback !== 'function') throw new TypeError;\",\n\"var t = Object(this), len = t.length >>> 0, k = 0, value;\",\"if (arguments.length == 2) {\",\"value = arguments[1];\",\"} else {\",\"while (k < len && !(k in t)) k++;\",\"if (k >= len) {\",\"throw new TypeError('Reduce of empty array with no initial value');\",\"}\",\"value = t[k++];\",\"}\",\"for (; k < len; k++) {\",\"if (k in t) value = callback(value, t[k], k, t);\",\"}\",\"return value;\",\"};\",\"Array.prototype.reduceRight = function(callback /*, initialValue*/) {\",\"if (null === this || 'undefined' === typeof this || 'function' !== typeof callback) throw new TypeError;\",\n\"var t = Object(this), len = t.length >>> 0, k = len - 1, value;\",\"if (arguments.length >= 2) {\",\"value = arguments[1];\",\"} else {\",\"while (k >= 0 && !(k in t)) k--;\",\"if (k < 0) {\",\"throw new TypeError('Reduce of empty array with no initial value');\",\"}\",\"value = t[k--];\",\"}\",\"for (; k >= 0; k--) {\",\"if (k in t) value = callback(value, t[k], k, t);\",\"}\",\"return value;\",\"};\",\"Array.prototype.some = function(fun/*, thisArg*/) {\",\"if (this == null || typeof fun !== 'function') throw new TypeError;\",\n\"var t = Object(this);\",\"var len = t.length >>> 0;\",\"var thisArg = arguments.length >= 2 ? arguments[1] : void 0;\",\"for (var i = 0; i < len; i++) {\",\"if (i in t && fun.call(thisArg, t[i], i, t)) {\",\"return true;\",\"}\",\"}\",\"return false;\",\"};\",\"Array.prototype.sort = function(opt_comp) {\",\"for (var i = 0; i < this.length; i++) {\",\"var changes = 0;\",\"for (var j = 0; j < this.length - i - 1; j++) {\",\"if (opt_comp ?opt_comp(this[j], this[j + 1]) > 0 : this[j] > this[j + 1]) {\",\"var swap = this[j];\",\"this[j] = this[j + 1];\",\n\"this[j + 1] = swap;\",\"changes++;\",\"}\",\"}\",\"if (changes <= 1) break;\",\"}\",\"return this;\",\"};\",\"Array.prototype.toLocaleString = function() {\",\"var out = [];\",\"for (var i = 0; i < this.length; i++) {\",\"out[i] = (this[i] === null || this[i] === undefined) ? '' : this[i].toLocaleString();\",\"}\",\"return out.join(',');\",\"};\",\"\")};\nInterpreter.prototype.initNumber=function(a){var b=this,c;c=function(a){a=a?a.toNumber():0;if(this.parent!=b.NUMBER)return b.createPrimitive(a);this.data=a;return this};this.NUMBER=this.createNativeFunction(c);this.setProperty(a,\"Number\",this.NUMBER);a=[\"MAX_VALUE\",\"MIN_VALUE\",\"NaN\",\"NEGATIVE_INFINITY\",\"POSITIVE_INFINITY\"];for(c=0;c<a.length;c++)this.setProperty(this.NUMBER,a[c],this.createPrimitive(Number[a[c]]));c=function(a){a=a||b.UNDEFINED;return b.createPrimitive(parseFloat(a.toString()))};\nthis.setProperty(this.NUMBER,\"parseFloat\",this.createNativeFunction(c));c=function(a,c){a=a||b.UNDEFINED;c=c||b.UNDEFINED;return b.createPrimitive(parseInt(a.toString(),c.toNumber()))};this.setProperty(this.NUMBER,\"parseInt\",this.createNativeFunction(c));c=function(a){a=a?a.toNumber():void 0;var c=this.toNumber();return b.createPrimitive(c.toExponential(a))};this.setNativeFunctionPrototype(this.NUMBER,\"toExponential\",c);c=function(a){a=a?a.toNumber():void 0;var c=this.toNumber();return b.createPrimitive(c.toFixed(a))};\nthis.setNativeFunctionPrototype(this.NUMBER,\"toFixed\",c);c=function(a){a=a?a.toNumber():void 0;var c=this.toNumber();return b.createPrimitive(c.toPrecision(a))};this.setNativeFunctionPrototype(this.NUMBER,\"toPrecision\",c);c=function(a){a=a?a.toNumber():10;var c=this.toNumber();return b.createPrimitive(c.toString(a))};this.setNativeFunctionPrototype(this.NUMBER,\"toString\",c);c=function(a,c){a=a?b.pseudoToNative(a):void 0;c=c?b.pseudoToNative(c):void 0;return b.createPrimitive(this.toNumber().toLocaleString(a,\nc))};this.setNativeFunctionPrototype(this.NUMBER,\"toLocaleString\",c)};\nInterpreter.prototype.initString=function(a){var b=this,c;c=function(a){a=a?a.toString():\"\";if(this.parent!=b.STRING)return b.createPrimitive(a);this.data=a;return this};this.STRING=this.createNativeFunction(c);this.setProperty(a,\"String\",this.STRING);c=function(a){for(var c=0;c<arguments.length;c++)arguments[c]=arguments[c].toNumber();return b.createPrimitive(String.fromCharCode.apply(String,arguments))};this.setProperty(this.STRING,\"fromCharCode\",this.createNativeFunction(c),Interpreter.NONENUMERABLE_DESCRIPTOR);\na=[\"toLowerCase\",\"toUpperCase\",\"toLocaleLowerCase\",\"toLocaleUpperCase\"];for(var d=0;d<a.length;d++)c=function(a){return function(){return b.createPrimitive(a.apply(this))}}(String.prototype[a[d]]),this.setNativeFunctionPrototype(this.STRING,a[d],c);c=function(){var a=this.toString();return b.createPrimitive(a.replace(/^\\s+|\\s+$/g,\"\"))};this.setNativeFunctionPrototype(this.STRING,\"trim\",c);c=function(){var a=this.toString();return b.createPrimitive(a.replace(/^\\s+/g,\"\"))};this.setNativeFunctionPrototype(this.STRING,\n\"trimLeft\",c);c=function(){var a=this.toString();return b.createPrimitive(a.replace(/\\s+$/g,\"\"))};this.setNativeFunctionPrototype(this.STRING,\"trimRight\",c);a=[\"charAt\",\"charCodeAt\",\"substring\",\"slice\",\"substr\"];for(d=0;d<a.length;d++)c=function(a){return function(){for(var c=0;c<arguments.length;c++)arguments[c]=arguments[c].toNumber();return b.createPrimitive(a.apply(this,arguments))}}(String.prototype[a[d]]),this.setNativeFunctionPrototype(this.STRING,a[d],c);c=function(a,c){var d=this.toString();\na=(a||b.UNDEFINED).toString();c=c?c.toNumber():void 0;return b.createPrimitive(d.indexOf(a,c))};this.setNativeFunctionPrototype(this.STRING,\"indexOf\",c);c=function(a,c){var d=this.toString();a=(a||b.UNDEFINED).toString();c=c?c.toNumber():void 0;return b.createPrimitive(d.lastIndexOf(a,c))};this.setNativeFunctionPrototype(this.STRING,\"lastIndexOf\",c);c=function(a,c,d){a=(a||b.UNDEFINED).toString();c=c?b.pseudoToNative(c):void 0;d=d?b.pseudoToNative(d):void 0;return b.createPrimitive(this.toString().localeCompare(a,\nc,d))};this.setNativeFunctionPrototype(this.STRING,\"localeCompare\",c);c=function(a,c){var d=this.toString();a=a?b.isa(a,b.REGEXP)?a.data:a.toString():void 0;c=c?c.toNumber():void 0;for(var d=d.split(a,c),l=b.createObject(b.ARRAY),n=0;n<d.length;n++)b.setProperty(l,n,b.createPrimitive(d[n]));return l};this.setNativeFunctionPrototype(this.STRING,\"split\",c);c=function(a){for(var c=this.toString(),d=0;d<arguments.length;d++)c+=arguments[d].toString();return b.createPrimitive(c)};this.setNativeFunctionPrototype(this.STRING,\n\"concat\",c);c=function(a){var c=this.toString();a=a?a.data:void 0;a=c.match(a);if(null===a)return b.NULL;for(var c=b.createObject(b.ARRAY),d=0;d<a.length;d++)b.setProperty(c,d,b.createPrimitive(a[d]));return c};this.setNativeFunctionPrototype(this.STRING,\"match\",c);c=function(a){var c=this.toString();a=a?a.data:void 0;return b.createPrimitive(c.search(a))};this.setNativeFunctionPrototype(this.STRING,\"search\",c);c=function(a,c){var d=this.toString();a=(a||b.UNDEFINED).valueOf();c=(c||b.UNDEFINED).toString();\nreturn b.createPrimitive(d.replace(a,c))};this.setNativeFunctionPrototype(this.STRING,\"replace\",c)};Interpreter.prototype.initBoolean=function(a){var b=this,c;c=function(a){a=a?a.toBoolean():!1;if(this.parent!=b.BOOLEAN)return b.createPrimitive(a);this.data=a;return this};this.BOOLEAN=this.createNativeFunction(c);this.setProperty(a,\"Boolean\",this.BOOLEAN)};\nInterpreter.prototype.initDate=function(a){var b=this,c;c=function(a,c,d,l,n,v,r){if(this.parent==b.DATE)var x=this;else return b.createPrimitive(Date());if(arguments.length)if(1!=arguments.length||\"string\"!=a.type&&!b.isa(a,b.STRING)){for(var w=[null],y=0;y<arguments.length;y++)w[y+1]=arguments[y]?arguments[y].toNumber():void 0;x.data=new (Function.prototype.bind.apply(Date,w))}else x.data=new Date(a.toString());else x.data=new Date;return x};this.DATE=this.createNativeFunction(c);this.setProperty(a,\n\"Date\",this.DATE);c=function(){return b.createPrimitive((new Date).getTime())};this.setProperty(this.DATE,\"now\",this.createNativeFunction(c),Interpreter.NONENUMERABLE_DESCRIPTOR);c=function(a){a=a?a.toString():void 0;return b.createPrimitive(Date.parse(a))};this.setProperty(this.DATE,\"parse\",this.createNativeFunction(c),Interpreter.NONENUMERABLE_DESCRIPTOR);c=function(a,c,d,l,n,v,r){for(var x=[],w=0;w<arguments.length;w++)x[w]=arguments[w]?arguments[w].toNumber():void 0;return b.createPrimitive(Date.UTC.apply(Date,\nx))};this.setProperty(this.DATE,\"UTC\",this.createNativeFunction(c),Interpreter.NONENUMERABLE_DESCRIPTOR);a=\"getDate getDay getFullYear getHours getMilliseconds getMinutes getMonth getSeconds getTime getTimezoneOffset getUTCDate getUTCDay getUTCFullYear getUTCHours getUTCMilliseconds getUTCMinutes getUTCMonth getUTCSeconds getYear setDate setFullYear setHours setMilliseconds setMinutes setMonth setSeconds setTime setUTCDate setUTCFullYear setUTCHours setUTCMilliseconds setUTCMinutes setUTCMonth setUTCSeconds setYear toDateString toISOString toJSON toGMTString toLocaleDateString toLocaleString toLocaleTimeString toTimeString toUTCString\".split(\" \");\nfor(var d=0;d<a.length;d++)c=function(a){return function(c){for(var d=[],l=0;l<arguments.length;l++)d[l]=b.pseudoToNative(arguments[l]);return b.createPrimitive(this.data[a].apply(this.data,d))}}(a[d]),this.setNativeFunctionPrototype(this.DATE,a[d],c)};\nInterpreter.prototype.initMath=function(a){var b=this,c=this.createObject(this.OBJECT);this.setProperty(a,\"Math\",c);var d=\"E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2\".split(\" \");for(a=0;a<d.length;a++)this.setProperty(c,d[a],this.createPrimitive(Math[d[a]]),Interpreter.READONLY_NONENUMERABLE_DESCRIPTOR);d=\"abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan\".split(\" \");for(a=0;a<d.length;a++){var f=function(a){return function(){for(var c=0;c<arguments.length;c++)arguments[c]=\narguments[c].toNumber();return b.createPrimitive(a.apply(Math,arguments))}}(Math[d[a]]);this.setProperty(c,d[a],this.createNativeFunction(f),Interpreter.NONENUMERABLE_DESCRIPTOR)}};\nInterpreter.prototype.initRegExp=function(a){var b=this,c;c=function(a,c){var g=this.parent==b.REGEXP?this:b.createObject(b.REGEXP);a=a?a.toString():\"\";c=c?c.toString():\"\";return b.populateRegExp_(g,new RegExp(a,c))};this.REGEXP=this.createNativeFunction(c);this.setProperty(a,\"RegExp\",this.REGEXP);this.setProperty(this.REGEXP.properties.prototype,\"global\",this.UNDEFINED,Interpreter.READONLY_NONENUMERABLE_DESCRIPTOR);this.setProperty(this.REGEXP.properties.prototype,\"ignoreCase\",this.UNDEFINED,Interpreter.READONLY_NONENUMERABLE_DESCRIPTOR);\nthis.setProperty(this.REGEXP.properties.prototype,\"multiline\",this.UNDEFINED,Interpreter.READONLY_NONENUMERABLE_DESCRIPTOR);this.setProperty(this.REGEXP.properties.prototype,\"source\",this.createPrimitive(\"(?:)\"),Interpreter.READONLY_NONENUMERABLE_DESCRIPTOR);c=function(a){a=a.toString();return b.createPrimitive(this.data.test(a))};this.setNativeFunctionPrototype(this.REGEXP,\"test\",c);c=function(a){a=a.toString();this.data.lastIndex=b.getProperty(this,\"lastIndex\").toNumber();a=this.data.exec(a);b.setProperty(this,\n\"lastIndex\",b.createPrimitive(this.data.lastIndex));if(a){for(var c=b.createObject(b.ARRAY),g=0;g<a.length;g++)b.setProperty(c,g,b.createPrimitive(a[g]));b.setProperty(c,\"index\",b.createPrimitive(a.index));b.setProperty(c,\"input\",b.createPrimitive(a.input));return c}return b.NULL};this.setNativeFunctionPrototype(this.REGEXP,\"exec\",c)};\nInterpreter.prototype.initJSON=function(a){var b=this,c=b.createObject(this.OBJECT);this.setProperty(a,\"JSON\",c);a=function(a){a=JSON.parse(a.toString());return b.nativeToPseudo(a)};this.setProperty(c,\"parse\",this.createNativeFunction(a));a=function(a){a=b.pseudoToNative(a);return b.createPrimitive(JSON.stringify(a))};this.setProperty(c,\"stringify\",this.createNativeFunction(a))};\nInterpreter.prototype.initError=function(a){var b=this;this.ERROR=this.createNativeFunction(function(a){var c=this.parent==b.ERROR?this:b.createObject(b.ERROR);a&&b.setProperty(c,\"message\",b.createPrimitive(String(a)),Interpreter.NONENUMERABLE_DESCRIPTOR);return c});this.setProperty(a,\"Error\",this.ERROR);this.setProperty(this.ERROR.properties.prototype,\"message\",this.STRING_EMPTY,Interpreter.NONENUMERABLE_DESCRIPTOR);this.setProperty(this.ERROR.properties.prototype,\"name\",this.createPrimitive(\"Error\"),\nInterpreter.NONENUMERABLE_DESCRIPTOR);var c=function(c){var f=b.createNativeFunction(function(a){var c=b.isa(this.parent,b.ERROR)?this:b.createObject(f);a&&b.setProperty(c,\"message\",b.createPrimitive(String(a)),Interpreter.NONENUMERABLE_DESCRIPTOR);return c});b.setProperty(f,\"prototype\",b.createObject(b.ERROR));b.setProperty(f.properties.prototype,\"name\",b.createPrimitive(c),Interpreter.NONENUMERABLE_DESCRIPTOR);b.setProperty(a,c,f);return f};c(\"EvalError\");this.RANGE_ERROR=c(\"RangeError\");this.REFERENCE_ERROR=\nc(\"ReferenceError\");c(\"SyntaxError\");this.TYPE_ERROR=c(\"TypeError\");this.URI_ERROR=c(\"URIError\")};Interpreter.prototype.isa=function(a,b){if(!a||!b)return!1;for(;a.parent!=b;){if(!a.parent||!a.parent.properties.prototype)return!1;a=a.parent.properties.prototype}return!0};\nInterpreter.prototype.comp=function(a,b){if(a.isPrimitive&&\"number\"==typeof a&&isNaN(a.data)||b.isPrimitive&&\"number\"==typeof b&&isNaN(b.data))return NaN;if(a===b)return 0;if(a.isPrimitive&&b.isPrimitive)a=a.data,b=b.data;else return NaN;return a<b?-1:a>b?1:0};Interpreter.prototype.arrayIndex=function(a){a=Number(a);return!isFinite(a)||a!=Math.floor(a)||0>a?NaN:a};\nInterpreter.Primitive=function(a,b){var c=typeof a;this.data=a;this.type=c;\"number\"==c?this.parent=b.NUMBER:\"string\"==c?this.parent=b.STRING:\"boolean\"==c&&(this.parent=b.BOOLEAN)};Interpreter.Primitive.prototype.data=void 0;Interpreter.Primitive.prototype.type=\"undefined\";Interpreter.Primitive.prototype.parent=null;Interpreter.Primitive.prototype.isPrimitive=!0;Interpreter.Primitive.prototype.toBoolean=function(){return!!this.data};Interpreter.Primitive.prototype.toNumber=function(){return Number(this.data)};\nInterpreter.Primitive.prototype.toString=function(){return String(this.data)};Interpreter.Primitive.prototype.valueOf=function(){return this.data};Interpreter.prototype.createPrimitive=function(a){return void 0===a?this.UNDEFINED:null===a?this.NULL:!0===a?this.TRUE:!1===a?this.FALSE:0===a?this.NUMBER_ZERO:1===a?this.NUMBER_ONE:\"\"===a?this.STRING_EMPTY:a instanceof RegExp?this.populateRegExp_(this.createObject(this.REGEXP),a):new Interpreter.Primitive(a,this)};\nInterpreter.Object=function(a){this.notConfigurable=Object.create(null);this.notEnumerable=Object.create(null);this.notWritable=Object.create(null);this.getter=Object.create(null);this.setter=Object.create(null);this.properties=Object.create(null);this.parent=a};Interpreter.Object.prototype.type=\"object\";Interpreter.Object.prototype.parent=null;Interpreter.Object.prototype.isPrimitive=!1;Interpreter.Object.prototype.data=void 0;Interpreter.Object.prototype.toBoolean=function(){return!0};\nInterpreter.Object.prototype.toNumber=function(){return Number(void 0===this.data?this.toString():this.data)};Interpreter.Object.prototype.toString=function(){return void 0===this.data?\"[\"+this.type+\"]\":String(this.data)};Interpreter.Object.prototype.valueOf=function(){return void 0===this.data?this:this.data};\nInterpreter.prototype.createObject=function(a){a=new Interpreter.Object(a);this.isa(a,this.FUNCTION)&&(a.type=\"function\",this.setProperty(a,\"prototype\",this.createObject(this.OBJECT||null)));this.isa(a,this.ARRAY)&&(a.length=0,a.toString=function(){for(var a=[],c=0;c<this.length;c++){var d=this.properties[c];a[c]=!d||d.isPrimitive&&(null===d.data||void 0===d.data)?\"\":d.toString()}return a.join(\",\")});return a};\nInterpreter.prototype.populateRegExp_=function(a,b){a.data=b;this.setProperty(a,\"lastIndex\",this.createPrimitive(b.lastIndex),Interpreter.NONENUMERABLE_DESCRIPTOR);this.setProperty(a,\"source\",this.createPrimitive(b.source),Interpreter.READONLY_NONENUMERABLE_DESCRIPTOR);this.setProperty(a,\"global\",this.createPrimitive(b.global),Interpreter.READONLY_NONENUMERABLE_DESCRIPTOR);this.setProperty(a,\"ignoreCase\",this.createPrimitive(b.ignoreCase),Interpreter.READONLY_NONENUMERABLE_DESCRIPTOR);this.setProperty(a,\n\"multiline\",this.createPrimitive(b.multiline),Interpreter.READONLY_NONENUMERABLE_DESCRIPTOR);a.toString=function(){return String(this.data)};a.valueOf=function(){return this.data};return a};Interpreter.prototype.createFunction=function(a,b){var c=this.createObject(this.FUNCTION);c.parentScope=b||this.getScope();c.node=a;this.setProperty(c,\"length\",this.createPrimitive(c.node.params.length),Interpreter.READONLY_DESCRIPTOR);return c};\nInterpreter.prototype.createNativeFunction=function(a){var b=this.createObject(this.FUNCTION);b.nativeFunc=a;this.setProperty(b,\"length\",this.createPrimitive(a.length),Interpreter.READONLY_DESCRIPTOR);return b};Interpreter.prototype.createAsyncFunction=function(a){var b=this.createObject(this.FUNCTION);b.asyncFunc=a;this.setProperty(b,\"length\",this.createPrimitive(a.length),Interpreter.READONLY_DESCRIPTOR);return b};\nInterpreter.prototype.nativeToPseudo=function(a){if(\"boolean\"==typeof a||\"number\"==typeof a||\"string\"==typeof a||null===a||void 0===a||a instanceof RegExp)return this.createPrimitive(a);var b;if(a instanceof Array){b=this.createObject(this.ARRAY);for(var c=0;c<a.length;c++)this.setProperty(b,c,this.nativeToPseudo(a[c]))}else for(c in b=this.createObject(this.OBJECT),a)this.setProperty(b,c,this.nativeToPseudo(a[c]));return b};\nInterpreter.prototype.pseudoToNative=function(a){if(a.isPrimitive||this.isa(a,this.NUMBER)||this.isa(a,this.STRING)||this.isa(a,this.BOOLEAN))return a.data;var b;if(this.isa(a,this.ARRAY)){b=[];for(var c=0;c<a.length;c++)b[c]=this.pseudoToNative(a.properties[c])}else for(c in b={},a.properties)b[c]=this.pseudoToNative(a.properties[c]);return b};\nInterpreter.prototype.getProperty=function(a,b){b=b.toString();a!=this.UNDEFINED&&a!=this.NULL||this.throwException(this.TYPE_ERROR,\"Cannot read property '\"+b+\"' of \"+a);if(this.isa(a,this.STRING)){if(\"length\"==b)return this.createPrimitive(a.data.length);var c=this.arrayIndex(b);if(!isNaN(c)&&c<a.data.length)return this.createPrimitive(a.data[c])}else if(this.isa(a,this.ARRAY)&&\"length\"==b)return this.createPrimitive(a.length);for(;;){if(a.properties&&b in a.properties)return(c=a.getter[b])?(c.isGetter=\n!0,c):a.properties[b];if(a.parent&&a.parent.properties&&a.parent.properties.prototype)a=a.parent.properties.prototype;else break}return this.UNDEFINED};\nInterpreter.prototype.hasProperty=function(a,b){b=b.toString();if(a.isPrimitive)throw TypeError(\"Primitive data type has no properties\");if(\"length\"==b&&(this.isa(a,this.STRING)||this.isa(a,this.ARRAY)))return!0;if(this.isa(a,this.STRING)){var c=this.arrayIndex(b);if(!isNaN(c)&&c<a.data.length)return!0}for(;;){if(a.properties&&b in a.properties)return!0;if(a.parent&&a.parent.properties&&a.parent.properties.prototype)a=a.parent.properties.prototype;else break}return!1};\nInterpreter.prototype.setProperty=function(a,b,c,d){b=b.toString();d&&a.notConfigurable[b]&&this.throwException(this.TYPE_ERROR,\"Cannot redefine property: \"+b);if(\"object\"!=typeof c)throw Error(\"Failure to wrap a value: \"+c);a!=this.UNDEFINED&&a!=this.NULL||this.throwException(this.TYPE_ERROR,\"Cannot set property '\"+b+\"' of \"+a);d&&(d.get||d.set)&&(c||void 0!==d.writable)&&this.throwException(this.TYPE_ERROR,\"Invalid property descriptor. Cannot both specify accessors and a value or writable attribute\");\nif(!a.isPrimitive){if(this.isa(a,this.STRING)){var f=this.arrayIndex(b);if(\"length\"==b||!isNaN(f)&&f<a.data.length)return}if(this.isa(a,this.ARRAY)){var g;if(\"length\"==b){b=this.arrayIndex(c.toNumber());isNaN(b)&&this.throwException(this.RANGE_ERROR,\"Invalid array length\");if(b<a.length)for(g in a.properties)g=this.arrayIndex(g),!isNaN(g)&&b<=g&&delete a.properties[g];a.length=b;return}isNaN(g=this.arrayIndex(b))||(a.length=Math.max(a.length,g+1))}if(!a.properties[b]&&a.preventExtensions)a=this.getScope(),\na.strict&&this.throwException(this.TYPE_ERROR,\"Can't add property \"+b+\", object is not extensible\");else if(d)a.properties[b]=c,d.configurable||(a.notConfigurable[b]=!0),(g=d.get)?a.getter[b]=g:delete a.getter[b],(c=d.set)?a.setter[b]=c:delete a.setter[b],(f=d.enumerable||!1)?delete a.notEnumerable[b]:a.notEnumerable[b]=!0,g||c?(delete a.notWritable[b],a.properties[b]=this.UNDEFINED):(d=d.writable||!1)?delete a.notWritable[b]:a.notWritable[b]=!0;else{if(a.setter[b])return a.setter[b];a.notWritable[b]||\n(a.properties[b]=c)}}};Interpreter.prototype.setNativeFunctionPrototype=function(a,b,c){this.setProperty(a.properties.prototype,b,this.createNativeFunction(c),Interpreter.NONENUMERABLE_DESCRIPTOR)};Interpreter.prototype.deleteProperty=function(a,b){b=b.toString();return a.isPrimitive||a.notWritable[b]||\"length\"==b&&this.isa(a,this.ARRAY)?!1:delete a.properties[b]};\nInterpreter.prototype.getScope=function(){for(var a=0;a<this.stateStack.length;a++)if(this.stateStack[a].scope)return this.stateStack[a].scope;throw Error(\"No scope found.\");};Interpreter.prototype.createScope=function(a,b){var c=this.createObject(null);(c.parentScope=b)||this.initGlobalScope(c);this.populateScope_(a,c);c.strict=!1;if(b&&b.strict)c.strict=!0;else{var d=a.body&&a.body[0];d&&d.expression&&\"Literal\"==d.expression.type&&\"use strict\"==d.expression.value&&(c.strict=!0)}return c};\nInterpreter.prototype.createSpecialScope=function(a,b){if(!a)throw Error(\"parentScope required\");var c=b||this.createObject(null);c.parentScope=a;c.strict=a.strict;return c};Interpreter.prototype.getValueFromScope=function(a){var b=this.getScope();for(a=a.toString();b;){if(a in b.properties)return b.properties[a];b=b.parentScope}this.throwException(this.REFERENCE_ERROR,a+\" is not defined\");return this.UNDEFINED};\nInterpreter.prototype.setValueToScope=function(a,b){for(var c=this.getScope(),d=c.strict,f=a.toString();c;){if(f in c.properties||!d&&!c.parentScope){c.notWritable[f]||(c.properties[f]=b);return}c=c.parentScope}this.throwException(this.REFERENCE_ERROR,f+\" is not defined\")};\nInterpreter.prototype.populateScope_=function(a,b){if(\"VariableDeclaration\"==a.type)for(var c=0;c<a.declarations.length;c++)this.setProperty(b,a.declarations[c].id.name,this.UNDEFINED);else{if(\"FunctionDeclaration\"==a.type){this.setProperty(b,a.id.name,this.createFunction(a,b));return}if(\"FunctionExpression\"==a.type)return}var d=a.constructor,f;for(f in a){var g=a[f];if(g&&\"object\"==typeof g)if(g instanceof Array)for(c=0;c<g.length;c++)g[c]&&g[c].constructor==d&&this.populateScope_(g[c],b);else g.constructor==\nd&&this.populateScope_(g,b)}};Interpreter.prototype.stripLocations_=function(a){delete a.start;delete a.end;var b=a.constructor,c;for(c in a){var d=a[c];if(d&&\"object\"==typeof d)if(d instanceof Array)for(var f=0;f<d.length;f++)d[f]&&d[f].constructor==b&&this.stripLocations_(d[f]);else d.constructor==b&&this.stripLocations_(d)}};Interpreter.prototype.getValue=function(a){if(a instanceof Array){var b=a[0];a=a[1];return this.getProperty(b,a)}return this.getValueFromScope(a)};\nInterpreter.prototype.setValue=function(a,b){if(a instanceof Array){var c=a[0],d=a[1];return this.setProperty(c,d,b)}this.setValueToScope(a,b)};\nInterpreter.prototype.throwException=function(a,b){if(this.stateStack[0].interpreter)try{this.stateStack[0].interpreter.throwException(a,b);return}catch(f){}if(void 0===b)var c=a;else c=this.createObject(a),this.setProperty(c,\"message\",this.createPrimitive(b),Interpreter.NONENUMERABLE_DESCRIPTOR);do var d=this.stateStack.shift();while(d&&\"TryStatement\"!==d.node.type);if(d)this.stateStack.unshift({node:d.node.handler,throwValue:c});else throw this.isa(c,this.ERROR)?(d={EvalError:EvalError,RangeError:RangeError,\nReferenceError:ReferenceError,SyntaxError:SyntaxError,TypeError:TypeError,URIError:URIError},d=d[this.getProperty(c,\"name\")]||Error,c=d(this.getProperty(c,\"message\"))):c=c.toString(),c;};\nInterpreter.prototype.stepArrayExpression=function(){var a=this.stateStack[0],b=a.node,c=a.n||0;a.array?a.value&&this.setProperty(a.array,c-1,a.value):a.array=this.createObject(this.ARRAY);c<b.elements.length?(a.n=c+1,b.elements[c]?this.stateStack.unshift({node:b.elements[c]}):a.value=void 0):(a.array.length=a.n||0,this.stateStack.shift(),this.stateStack[0].value=a.array)};\nInterpreter.prototype.stepAssignmentExpression=function(){var a=this.stateStack[0],b=a.node;if(a.doneLeft)if(a.doneRight)if(a.doneSetter_)this.stateStack.shift(),this.stateStack[0].value=a.doneSetter_;else{var c=a.value;if(\"=\"==b.operator)b=c;else{var d=a.leftValue.toNumber(),f=c.toNumber();if(\"+=\"==b.operator)\"string\"==a.leftValue.type||\"string\"==c.type?(b=a.leftValue.toString(),c=c.toString()):(b=d,c=f),b+=c;else if(\"-=\"==b.operator)b=d-f;else if(\"*=\"==b.operator)b=d*f;else if(\"/=\"==b.operator)b=\nd/f;else if(\"%=\"==b.operator)b=d%f;else if(\"<<=\"==b.operator)b=d<<f;else if(\">>=\"==b.operator)b=d>>f;else if(\">>>=\"==b.operator)b=d>>>f;else if(\"&=\"==b.operator)b=d&f;else if(\"^=\"==b.operator)b=d^f;else if(\"|=\"==b.operator)b=d|f;else throw SyntaxError(\"Unknown assignment expression: \"+b.operator);b=this.createPrimitive(b)}(c=this.setValue(a.leftSide,b))?(a.doneSetter_=b,this.stateStack.unshift({node:{type:\"CallExpression\"},doneCallee_:!0,funcThis_:a.leftSide[0],func_:c,doneArgs_:!0,arguments:[b]})):\n(this.stateStack.shift(),this.stateStack[0].value=b)}else{a.leftSide||(a.leftSide=a.value);a.doneGetter_&&(a.leftValue=a.value);if(!a.doneGetter_&&\"=\"!=b.operator&&(a.leftValue=this.getValue(a.leftSide),a.leftValue.isGetter)){a.leftValue.isGetter=!1;a.doneGetter_=!0;this.stateStack.unshift({node:{type:\"CallExpression\"},doneCallee_:!0,funcThis_:a.leftSide[0],func_:a.leftValue,doneArgs_:!0,arguments:[]});return}a.doneRight=!0;this.stateStack.unshift({node:b.right})}else a.doneLeft=!0,this.stateStack.unshift({node:b.left,\ncomponents:!0})};\nInterpreter.prototype.stepBinaryExpression=function(){var a=this.stateStack[0],b=a.node;if(a.doneLeft)if(a.doneRight){this.stateStack.shift();var c=a.leftValue,a=a.value,d=this.comp(c,a);if(\"==\"==b.operator||\"!=\"==b.operator)c=c.isPrimitive&&a.isPrimitive?c.data==a.data:0===d,\"!=\"==b.operator&&(c=!c);else if(\"===\"==b.operator||\"!==\"==b.operator)c=c.isPrimitive&&a.isPrimitive?c.data===a.data:c===a,\"!==\"==b.operator&&(c=!c);else if(\">\"==b.operator)c=1==d;else if(\">=\"==b.operator)c=1==d||0===d;else if(\"<\"==\nb.operator)c=-1==d;else if(\"<=\"==b.operator)c=-1==d||0===d;else if(\"+\"==b.operator)\"string\"==c.type||\"string\"==a.type?(c=c.toString(),a=a.toString()):(c=c.toNumber(),a=a.toNumber()),c+=a;else if(\"in\"==b.operator)c=this.hasProperty(a,c);else if(\"instanceof\"==b.operator)this.isa(a,this.FUNCTION)||this.throwException(this.TYPE_ERROR,\"Expecting a function in instanceof check\"),c=this.isa(c,a);else if(c=c.toNumber(),a=a.toNumber(),\"-\"==b.operator)c-=a;else if(\"*\"==b.operator)c*=a;else if(\"/\"==b.operator)c/=\na;else if(\"%\"==b.operator)c%=a;else if(\"&\"==b.operator)c&=a;else if(\"|\"==b.operator)c|=a;else if(\"^\"==b.operator)c^=a;else if(\"<<\"==b.operator)c<<=a;else if(\">>\"==b.operator)c>>=a;else if(\">>>\"==b.operator)c>>>=a;else throw SyntaxError(\"Unknown binary operator: \"+b.operator);this.stateStack[0].value=this.createPrimitive(c)}else a.doneRight=!0,a.leftValue=a.value,this.stateStack.unshift({node:b.right});else a.doneLeft=!0,this.stateStack.unshift({node:b.left})};\nInterpreter.prototype.stepBlockStatement=function(){var a=this.stateStack[0],b=a.node,c=a.n_||0;b.body[c]?(a.done=!1,a.n_=c+1,this.stateStack.unshift({node:b.body[c]})):(a.done=!0,\"Program\"!=a.node.type&&this.stateStack.shift())};\nInterpreter.prototype.stepBreakStatement=function(){var a=this.stateStack.shift(),a=a.node,b=null;a.label&&(b=a.label.name);for(a=this.stateStack.shift();a&&\"CallExpression\"!=a.node.type&&\"NewExpression\"!=a.node.type;){if(b?b==a.label:a.isLoop||a.isSwitch)return;a=this.stateStack.shift()}throw SyntaxError(\"Illegal break statement\");};\nInterpreter.prototype.stepCallExpression=function(){var a=this.stateStack[0],b=a.node;if(a.doneCallee_){if(!a.func_){if(\"function\"==a.value.type)a.func_=a.value;else if(a.value.length&&(a.member_=a.value[0]),a.func_=this.getValue(a.value),!a.func_||\"function\"!=a.func_.type){this.throwException(this.TYPE_ERROR,(a.value&&a.value.type)+\" is not a function\");return}\"NewExpression\"==a.node.type?(a.funcThis_=this.createObject(a.func_),a.isConstructor_=!0):a.funcThis_=a.func_.boundThis_?a.func_.boundThis_:\na.value.length?a.value[0]:this.stateStack[this.stateStack.length-1].thisExpression;a.arguments=a.func_.boundArgs_?a.func_.boundArgs_.concat():[];a.n_=0}if(!a.doneArgs_){0!=a.n_&&a.arguments.push(a.value);if(b.arguments[a.n_]){this.stateStack.unshift({node:b.arguments[a.n_]});a.n_++;return}a.doneArgs_=!0}if(a.doneExec_)this.stateStack.shift(),this.stateStack[0].value=a.isConstructor_&&\"object\"!==a.value.type?a.funcThis_:a.value;else if(a.doneExec_=!0,a.func_.node){for(var b=this.createScope(a.func_.node.body,\na.func_.parentScope),c=0;c<a.func_.node.params.length;c++){var d=this.createPrimitive(a.func_.node.params[c].name),f=a.arguments.length>c?a.arguments[c]:this.UNDEFINED;this.setProperty(b,d,f)}d=this.createObject(this.ARRAY);for(c=0;c<a.arguments.length;c++)this.setProperty(d,this.createPrimitive(c),a.arguments[c]);this.setProperty(b,\"arguments\",d);b={node:a.func_.node.body,scope:b,thisExpression:a.funcThis_};this.stateStack.unshift(b);a.value=this.UNDEFINED}else if(a.func_.nativeFunc)a.value=a.func_.nativeFunc.apply(a.funcThis_,\na.arguments);else if(a.func_.asyncFunc){var g=this,b=function(b){a.value=b||g.UNDEFINED;g.paused_=!1},b=a.arguments.concat(b);a.func_.asyncFunc.apply(a.funcThis_,b);this.paused_=!0}else if(a.func_.eval)(b=a.arguments[0])?b.isPrimitive?(b=new Interpreter(b.toString()),b.stateStack[0].scope.parentScope=this.getScope(),a={node:{type:\"Eval_\"},interpreter:b},this.stateStack.unshift(a)):a.value=b:a.value=this.UNDEFINED;else throw TypeError(\"function not a function (huh?)\");}else a.doneCallee_=!0,this.stateStack.unshift({node:b.callee,\ncomponents:!0})};Interpreter.prototype.stepCatchClause=function(){var a=this.stateStack[0],b=a.node;if(a.doneBody)this.stateStack.shift();else{a.doneBody=!0;var c;if(b.param){c=this.createSpecialScope(this.getScope());var d=this.createPrimitive(b.param.name);this.setProperty(c,d,a.throwValue)}this.stateStack.unshift({node:b.body,scope:c})}};\nInterpreter.prototype.stepConditionalExpression=function(){var a=this.stateStack[0];a.done?(this.stateStack.shift(),\"ConditionalExpression\"==a.node.type&&(this.stateStack[0].value=a.value)):a.test?(a.done=!0,a.value.toBoolean()&&a.node.consequent?this.stateStack.unshift({node:a.node.consequent}):!a.value.toBoolean()&&a.node.alternate&&this.stateStack.unshift({node:a.node.alternate})):(a.test=!0,this.stateStack.unshift({node:a.node.test}))};\nInterpreter.prototype.stepContinueStatement=function(){var a=this.stateStack[0].node,b=null;a.label&&(b=a.label.name);for(a=this.stateStack[0];a&&\"CallExpression\"!=a.node.type&&\"NewExpression\"!=a.node.type;){if(a.isLoop&&(!b||b==a.label))return;this.stateStack.shift();a=this.stateStack[0]}throw SyntaxError(\"Illegal continue statement\");};\nInterpreter.prototype.stepDoWhileStatement=function(){var a=this.stateStack[0];a.isLoop=!0;\"DoWhileStatement\"==a.node.type&&void 0===a.test&&(a.value=this.TRUE,a.test=!0);a.test?(a.test=!1,a.value.toBoolean()?a.node.body&&this.stateStack.unshift({node:a.node.body}):this.stateStack.shift()):(a.test=!0,this.stateStack.unshift({node:a.node.test}))};Interpreter.prototype.stepEmptyStatement=function(){this.stateStack.shift()};\nInterpreter.prototype.stepEval_=function(){var a=this.stateStack[0];a.interpreter.step()||(this.stateStack.shift(),this.stateStack[0].value=a.interpreter.value||this.UNDEFINED)};Interpreter.prototype.stepExpressionStatement=function(){var a=this.stateStack[0];a.done?(this.stateStack.shift(),this.value=a.value):(a.done=!0,this.stateStack.unshift({node:a.node.expression}))};\nInterpreter.prototype.stepForInStatement=function(){var a=this.stateStack[0];a.isLoop=!0;var b=a.node;if(a.doneVariable_)if(a.doneObject_){\"undefined\"==typeof a.iterator&&(a.object=a.value,a.iterator=0);var c=null;a:do{var d=a.iterator,f;for(f in a.object.properties)if(!a.object.notEnumerable[f]){if(0==d){c=f;break a}d--}a.object=a.object.parent&&a.object.parent.properties.prototype;a.iterator=0}while(a.object);a.iterator++;null===c?this.stateStack.shift():(this.setValueToScope(a.variable,this.createPrimitive(c)),\nb.body&&this.stateStack.unshift({node:b.body}))}else a.doneObject_=!0,a.variable=a.value,this.stateStack.unshift({node:b.right});else a.doneVariable_=!0,a=b.left,\"VariableDeclaration\"==a.type&&(a=a.declarations[0].id),this.stateStack.unshift({node:a,components:!0})};\nInterpreter.prototype.stepForStatement=function(){var a=this.stateStack[0];a.isLoop=!0;var b=a.node,c=a.mode||0;0==c?(a.mode=1,b.init&&this.stateStack.unshift({node:b.init})):1==c?(a.mode=2,b.test&&this.stateStack.unshift({node:b.test})):2==c?(a.mode=3,b.test&&a.value&&!a.value.toBoolean()?this.stateStack.shift():b.body&&this.stateStack.unshift({node:b.body})):3==c&&(a.mode=1,b.update&&this.stateStack.unshift({node:b.update}))};Interpreter.prototype.stepFunctionDeclaration=function(){this.stateStack.shift()};\nInterpreter.prototype.stepFunctionExpression=function(){var a=this.stateStack.shift();this.stateStack[0].value=this.createFunction(a.node)};Interpreter.prototype.stepIdentifier=function(){var a=this.stateStack.shift(),b=this.createPrimitive(a.node.name);this.stateStack[0].value=a.components?b:this.getValueFromScope(b)};Interpreter.prototype.stepIfStatement=Interpreter.prototype.stepConditionalExpression;\nInterpreter.prototype.stepLabeledStatement=function(){var a=this.stateStack.shift();this.stateStack.unshift({node:a.node.body,label:a.node.label.name})};Interpreter.prototype.stepLiteral=function(){var a=this.stateStack.shift();this.stateStack[0].value=this.createPrimitive(a.node.value)};\nInterpreter.prototype.stepLogicalExpression=function(){var a=this.stateStack[0],b=a.node;if(\"&&\"!=b.operator&&\"||\"!=b.operator)throw SyntaxError(\"Unknown logical operator: \"+b.operator);a.doneLeft_?a.doneRight_?(this.stateStack.shift(),this.stateStack[0].value=a.value):\"&&\"==b.operator&&!a.value.toBoolean()||\"||\"==b.operator&&a.value.toBoolean()?(this.stateStack.shift(),this.stateStack[0].value=a.value):(a.doneRight_=!0,this.stateStack.unshift({node:b.right})):(a.doneLeft_=!0,this.stateStack.unshift({node:b.left}))};\nInterpreter.prototype.stepMemberExpression=function(){var a=this.stateStack[0],b=a.node;a.doneObject_?a.doneProperty_?(this.stateStack.shift(),a.components?this.stateStack[0].value=[a.object,a.value]:(b=this.getProperty(a.object,a.value),b.isGetter?(b.isGetter=!1,this.stateStack.unshift({node:{type:\"CallExpression\"},doneCallee_:!0,funcThis_:a.object,func_:b,doneArgs_:!0,arguments:[]})):this.stateStack[0].value=b)):(a.doneProperty_=!0,a.object=a.value,this.stateStack.unshift({node:b.property,components:!b.computed})):\n(a.doneObject_=!0,this.stateStack.unshift({node:b.object}))};Interpreter.prototype.stepNewExpression=Interpreter.prototype.stepCallExpression;\nInterpreter.prototype.stepObjectExpression=function(){var a=this.stateStack[0],b=a.node,c=a.valueToggle,d=a.n||0;a.object?c?a.key=a.value:(a.properties[a.key]||(a.properties[a.key]={}),a.properties[a.key][a.kind]=a.value):(a.object=this.createObject(this.OBJECT),a.properties=Object.create(null));if(b.properties[d])c?(a.n=d+1,this.stateStack.unshift({node:b.properties[d].value})):(a.kind=b.properties[d].kind,this.stateStack.unshift({node:b.properties[d].key,components:!0})),a.valueToggle=!c;else{for(var f in a.properties)b=\na.properties[f],\"get\"in b||\"set\"in b?(b={configurable:!0,enumerable:!0,get:b.get,set:b.set},this.setProperty(a.object,f,null,b)):this.setProperty(a.object,f,b.init);this.stateStack.shift();this.stateStack[0].value=a.object}};Interpreter.prototype.stepProgram=Interpreter.prototype.stepBlockStatement;\nInterpreter.prototype.stepReturnStatement=function(){var a=this.stateStack[0],b=a.node;if(b.argument&&!a.done)a.done=!0,this.stateStack.unshift({node:b.argument});else{b=a.value||this.UNDEFINED;do{this.stateStack.shift();if(0==this.stateStack.length)throw SyntaxError(\"Illegal return statement\");a=this.stateStack[0]}while(\"CallExpression\"!=a.node.type&&\"NewExpression\"!=a.node.type);a.value=b}};\nInterpreter.prototype.stepSequenceExpression=function(){var a=this.stateStack[0],b=a.node,c=a.n||0;b.expressions[c]?(a.n=c+1,this.stateStack.unshift({node:b.expressions[c]})):(this.stateStack.shift(),this.stateStack[0].value=a.value)};\nInterpreter.prototype.stepSwitchStatement=function(){var a=this.stateStack[0];a.checked=a.checked||[];a.isSwitch=!0;if(a.test){a.switchValue||(a.switchValue=a.value);var b=a.index||0,c=a.node.cases[b];if(c)if(a.done||a.checked[b]||!c.test){if(a.done||!c.test||0==this.comp(a.value,a.switchValue)){a.done=!0;var d=a.n||0;if(c.consequent[d]){this.stateStack.unshift({node:c.consequent[d]});a.n=d+1;return}}a.n=0;a.index=b+1}else a.checked[b]=!0,this.stateStack.unshift({node:c.test});else this.stateStack.shift()}else a.test=\n!0,this.stateStack.unshift({node:a.node.discriminant})};Interpreter.prototype.stepThisExpression=function(){this.stateStack.shift();for(var a=0;a<this.stateStack.length;a++)if(this.stateStack[a].thisExpression){this.stateStack[0].value=this.stateStack[a].thisExpression;return}throw Error(\"No this expression found.\");};Interpreter.prototype.stepThrowStatement=function(){var a=this.stateStack[0],b=a.node;a.argument?this.throwException(a.value):(a.argument=!0,this.stateStack.unshift({node:b.argument}))};\nInterpreter.prototype.stepTryStatement=function(){var a=this.stateStack[0],b=a.node;a.doneBlock?!a.doneFinalizer&&b.finalizer?(a.doneFinalizer=!0,this.stateStack.unshift({node:b.finalizer})):this.stateStack.shift():(a.doneBlock=!0,this.stateStack.unshift({node:b.block}))};\nInterpreter.prototype.stepUnaryExpression=function(){var a=this.stateStack[0],b=a.node;if(a.done){this.stateStack.shift();if(\"-\"==b.operator)b=-a.value.toNumber();else if(\"+\"==b.operator)b=a.value.toNumber();else if(\"!\"==b.operator)b=!a.value.toBoolean();else if(\"~\"==b.operator)b=~a.value.toNumber();else if(\"delete\"==b.operator||\"typeof\"==b.operator){if(a.value.length)var c=a.value[0],a=a.value[1];else c=this.getScope(),a=a.value;b=\"delete\"==b.operator?this.deleteProperty(c,a):this.getProperty(c,\na).type}else if(\"void\"==b.operator)b=void 0;else throw SyntaxError(\"Unknown unary operator: \"+b.operator);this.stateStack[0].value=this.createPrimitive(b)}else{a.done=!0;c={node:b.argument};if(\"delete\"==b.operator||\"typeof\"==b.operator)c.components=!0;this.stateStack.unshift(c)}};\nInterpreter.prototype.stepUpdateExpression=function(){var a=this.stateStack[0],b=a.node;if(a.doneLeft){a.leftSide||(a.leftSide=a.value);a.doneGetter_&&(a.leftValue=a.value);if(!a.doneGetter_&&(a.leftValue=this.getValue(a.leftSide),a.leftValue.isGetter)){a.leftValue.isGetter=!1;a.doneGetter_=!0;this.stateStack.unshift({node:{type:\"CallExpression\"},doneCallee_:!0,funcThis_:a.leftSide[0],func_:a.leftValue,doneArgs_:!0,arguments:[]});return}if(a.doneSetter_)this.stateStack.shift(),this.stateStack[0].value=\na.doneSetter_;else{var c=a.leftValue.toNumber(),d;if(\"++\"==b.operator)d=this.createPrimitive(c+1);else if(\"--\"==b.operator)d=this.createPrimitive(c-1);else throw SyntaxError(\"Unknown update expression: \"+b.operator);b=b.prefix?d:this.createPrimitive(c);(c=this.setValue(a.leftSide,d))?(a.doneSetter_=b,this.stateStack.unshift({node:{type:\"CallExpression\"},doneCallee_:!0,funcThis_:a.leftSide[0],func_:c,doneArgs_:!0,arguments:[d]})):(this.stateStack.shift(),this.stateStack[0].value=b)}}else a.doneLeft=\n!0,this.stateStack.unshift({node:b.argument,components:!0})};Interpreter.prototype.stepVariableDeclaration=function(){var a=this.stateStack[0],b=a.node,c=a.n||0;b.declarations[c]?(a.n=c+1,this.stateStack.unshift({node:b.declarations[c]})):this.stateStack.shift()};Interpreter.prototype.stepVariableDeclarator=function(){var a=this.stateStack[0],b=a.node;b.init&&!a.done?(a.done=!0,this.stateStack.unshift({node:b.init})):(b.init&&this.setValue(this.createPrimitive(b.id.name),a.value),this.stateStack.shift())};\nInterpreter.prototype.stepWithStatement=function(){var a=this.stateStack[0],b=a.node;a.doneObject?a.doneBody?this.stateStack.shift():(a.doneBody=!0,a=this.createSpecialScope(this.getScope(),a.value),this.stateStack.unshift({node:b.body,scope:a})):(a.doneObject=!0,this.stateStack.unshift({node:b.object}))};Interpreter.prototype.stepWhileStatement=Interpreter.prototype.stepDoWhileStatement;this.Interpreter=Interpreter;Interpreter.prototype.appendCode=Interpreter.prototype.appendCode;\nInterpreter.prototype.createAsyncFunction=Interpreter.prototype.createAsyncFunction;Interpreter.prototype.step=Interpreter.prototype.step;Interpreter.prototype.run=Interpreter.prototype.run;\n","/*jshint curly:true, eqeqeq:true, laxbreak:true, noempty:false */\n/*\n\n  The MIT License (MIT)\n\n  Copyright (c) 2007-2013 Einar Lielmanis and contributors.\n\n  Permission is hereby granted, free of charge, to any person\n  obtaining a copy of this software and associated documentation files\n  (the \"Software\"), to deal in the Software without restriction,\n  including without limitation the rights to use, copy, modify, merge,\n  publish, distribute, sublicense, and/or sell copies of the Software,\n  and to permit persons to whom the Software is furnished to do so,\n  subject to the following conditions:\n\n  The above copyright notice and this permission notice shall be\n  included in all copies or substantial portions of the Software.\n\n  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n  BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n  ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n  SOFTWARE.\n\n JS Beautifier\n---------------\n\n\n  Written by Einar Lielmanis, <einar@jsbeautifier.org>\n      http://jsbeautifier.org/\n\n  Originally converted to javascript by Vital, <vital76@gmail.com>\n  \"End braces on own line\" added by Chris J. Shull, <chrisjshull@gmail.com>\n  Parsing improvements for brace-less statements by Liam Newman <bitwiseman@gmail.com>\n\n\n  Usage:\n    js_beautify(js_source_text);\n    js_beautify(js_source_text, options);\n\n  The options are:\n    indent_size (default 4)          - indentation size,\n    indent_char (default space)      - character to indent with,\n    preserve_newlines (default true) - whether existing line breaks should be preserved,\n    max_preserve_newlines (default unlimited) - maximum number of line breaks to be preserved in one chunk,\n\n    jslint_happy (default false) - if true, then jslint-stricter mode is enforced.\n\n            jslint_happy        !jslint_happy\n            ---------------------------------\n            function ()         function()\n\n            switch () {         switch() {\n            case 1:               case 1:\n              break;                break;\n            }                   }\n\n    space_after_anon_function (default false) - should the space before an anonymous function's parens be added, \"function()\" vs \"function ()\",\n          NOTE: This option is overriden by jslint_happy (i.e. if jslint_happy is true, space_after_anon_function is true by design)\n\n    brace_style (default \"collapse\") - \"collapse-preserve-inline\" | \"collapse\" | \"expand\" | \"end-expand\" | \"none\"\n            put braces on the same line as control statements (default), or put braces on own line (Allman / ANSI style), or just put end braces on own line, or attempt to keep them where they are.\n\n    space_before_conditional (default true) - should the space before conditional statement be added, \"if(true)\" vs \"if (true)\",\n\n    unescape_strings (default false) - should printable characters in strings encoded in \\xNN notation be unescaped, \"example\" vs \"\\x65\\x78\\x61\\x6d\\x70\\x6c\\x65\"\n\n    wrap_line_length (default unlimited) - lines should wrap at next opportunity after this number of characters.\n          NOTE: This is not a hard limit. Lines will continue until a point where a newline would\n                be preserved if it were present.\n\n    end_with_newline (default false)  - end output with a newline\n\n\n    e.g\n\n    js_beautify(js_source_text, {\n      'indent_size': 1,\n      'indent_char': '\\t'\n    });\n\n*/\n\n// Object.values polyfill found here:\n// http://tokenposts.blogspot.com.au/2012/04/javascript-objectkeys-browser.html\nif (!Object.values) {\n    Object.values = function(o) {\n        if (o !== Object(o)) {\n            throw new TypeError('Object.values called on a non-object');\n        }\n        var k = [],\n            p;\n        for (p in o) {\n            if (Object.prototype.hasOwnProperty.call(o, p)) {\n                k.push(o[p]);\n            }\n        }\n        return k;\n    };\n}\n\n(function() {\n\n    function js_beautify(js_source_text, options) {\n\n        var acorn = {};\n        (function(exports) {\n            /* jshint curly: false */\n            // This section of code is taken from acorn.\n            //\n            // Acorn was written by Marijn Haverbeke and released under an MIT\n            // license. The Unicode regexps (for identifiers and whitespace) were\n            // taken from [Esprima](http://esprima.org) by Ariya Hidayat.\n            //\n            // Git repositories for Acorn are available at\n            //\n            //     http://marijnhaverbeke.nl/git/acorn\n            //     https://github.com/marijnh/acorn.git\n\n            // ## Character categories\n\n            // Big ugly regular expressions that match characters in the\n            // whitespace, identifier, and identifier-start categories. These\n            // are only applied when a character is found to actually have a\n            // code point above 128.\n\n            var nonASCIIwhitespace = /[\\u1680\\u180e\\u2000-\\u200a\\u202f\\u205f\\u3000\\ufeff]/; // jshint ignore:line\n            var nonASCIIidentifierStartChars = \"\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc\";\n            var nonASCIIidentifierChars = \"\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f\";\n            var nonASCIIidentifierStart = new RegExp(\"[\" + nonASCIIidentifierStartChars + \"]\");\n            var nonASCIIidentifier = new RegExp(\"[\" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + \"]\");\n\n            // Whether a single character denotes a newline.\n\n            exports.newline = /[\\n\\r\\u2028\\u2029]/;\n\n            // Matches a whole line break (where CRLF is considered a single\n            // line break). Used to count lines.\n\n            // in javascript, these two differ\n            // in python they are the same, different methods are called on them\n            exports.lineBreak = new RegExp('\\r\\n|' + exports.newline.source);\n            exports.allLineBreaks = new RegExp(exports.lineBreak.source, 'g');\n\n\n            // Test whether a given character code starts an identifier.\n\n            exports.isIdentifierStart = function(code) {\n                // permit $ (36) and @ (64). @ is used in ES7 decorators.\n                if (code < 65) return code === 36 || code === 64;\n                // 65 through 91 are uppercase letters.\n                if (code < 91) return true;\n                // permit _ (95).\n                if (code < 97) return code === 95;\n                // 97 through 123 are lowercase letters.\n                if (code < 123) return true;\n                return code >= 0xaa && nonASCIIidentifierStart.test(String.fromCharCode(code));\n            };\n\n            // Test whether a given character is part of an identifier.\n\n            exports.isIdentifierChar = function(code) {\n                if (code < 48) return code === 36;\n                if (code < 58) return true;\n                if (code < 65) return false;\n                if (code < 91) return true;\n                if (code < 97) return code === 95;\n                if (code < 123) return true;\n                return code >= 0xaa && nonASCIIidentifier.test(String.fromCharCode(code));\n            };\n        })(acorn);\n        /* jshint curly: true */\n\n        function in_array(what, arr) {\n            for (var i = 0; i < arr.length; i += 1) {\n                if (arr[i] === what) {\n                    return true;\n                }\n            }\n            return false;\n        }\n\n        function trim(s) {\n            return s.replace(/^\\s+|\\s+$/g, '');\n        }\n\n        function ltrim(s) {\n            return s.replace(/^\\s+/g, '');\n        }\n\n        // function rtrim(s) {\n        //     return s.replace(/\\s+$/g, '');\n        // }\n\n        function sanitizeOperatorPosition(opPosition) {\n            opPosition = opPosition || OPERATOR_POSITION.before_newline;\n\n            var validPositionValues = Object.values(OPERATOR_POSITION);\n\n            if (!in_array(opPosition, validPositionValues)) {\n                throw new Error(\"Invalid Option Value: The option 'operator_position' must be one of the following values\\n\" +\n                    validPositionValues +\n                    \"\\nYou passed in: '\" + opPosition + \"'\");\n            }\n\n            return opPosition;\n        }\n\n        var OPERATOR_POSITION = {\n            before_newline: 'before-newline',\n            after_newline: 'after-newline',\n            preserve_newline: 'preserve-newline',\n        };\n\n        var OPERATOR_POSITION_BEFORE_OR_PRESERVE = [OPERATOR_POSITION.before_newline, OPERATOR_POSITION.preserve_newline];\n\n        var MODE = {\n            BlockStatement: 'BlockStatement', // 'BLOCK'\n            Statement: 'Statement', // 'STATEMENT'\n            ObjectLiteral: 'ObjectLiteral', // 'OBJECT',\n            ArrayLiteral: 'ArrayLiteral', //'[EXPRESSION]',\n            ForInitializer: 'ForInitializer', //'(FOR-EXPRESSION)',\n            Conditional: 'Conditional', //'(COND-EXPRESSION)',\n            Expression: 'Expression' //'(EXPRESSION)'\n        };\n\n        function Beautifier(js_source_text, options) {\n            \"use strict\";\n            var output;\n            var tokens = [],\n                token_pos;\n            var Tokenizer;\n            var current_token;\n            var last_type, last_last_text, indent_string;\n            var flags, previous_flags, flag_store;\n            var prefix;\n\n            var handlers, opt;\n            var baseIndentString = '';\n\n            handlers = {\n                'TK_START_EXPR': handle_start_expr,\n                'TK_END_EXPR': handle_end_expr,\n                'TK_START_BLOCK': handle_start_block,\n                'TK_END_BLOCK': handle_end_block,\n                'TK_WORD': handle_word,\n                'TK_RESERVED': handle_word,\n                'TK_SEMICOLON': handle_semicolon,\n                'TK_STRING': handle_string,\n                'TK_EQUALS': handle_equals,\n                'TK_OPERATOR': handle_operator,\n                'TK_COMMA': handle_comma,\n                'TK_BLOCK_COMMENT': handle_block_comment,\n                'TK_COMMENT': handle_comment,\n                'TK_DOT': handle_dot,\n                'TK_UNKNOWN': handle_unknown,\n                'TK_EOF': handle_eof\n            };\n\n            function create_flags(flags_base, mode) {\n                var next_indent_level = 0;\n                if (flags_base) {\n                    next_indent_level = flags_base.indentation_level;\n                    if (!output.just_added_newline() &&\n                        flags_base.line_indent_level > next_indent_level) {\n                        next_indent_level = flags_base.line_indent_level;\n                    }\n                }\n\n                var next_flags = {\n                    mode: mode,\n                    parent: flags_base,\n                    last_text: flags_base ? flags_base.last_text : '', // last token text\n                    last_word: flags_base ? flags_base.last_word : '', // last 'TK_WORD' passed\n                    declaration_statement: false,\n                    declaration_assignment: false,\n                    multiline_frame: false,\n                    inline_frame: false,\n                    if_block: false,\n                    else_block: false,\n                    do_block: false,\n                    do_while: false,\n                    import_block: false,\n                    in_case_statement: false, // switch(..){ INSIDE HERE }\n                    in_case: false, // we're on the exact line with \"case 0:\"\n                    case_body: false, // the indented case-action block\n                    indentation_level: next_indent_level,\n                    line_indent_level: flags_base ? flags_base.line_indent_level : next_indent_level,\n                    start_line_index: output.get_line_number(),\n                    ternary_depth: 0\n                };\n                return next_flags;\n            }\n\n            // Some interpreters have unexpected results with foo = baz || bar;\n            options = options ? options : {};\n            opt = {};\n\n            // compatibility\n            if (options.braces_on_own_line !== undefined) { //graceful handling of deprecated option\n                opt.brace_style = options.braces_on_own_line ? \"expand\" : \"collapse\";\n            }\n            opt.brace_style = options.brace_style ? options.brace_style : (opt.brace_style ? opt.brace_style : \"collapse\");\n\n            // graceful handling of deprecated option\n            if (opt.brace_style === \"expand-strict\") {\n                opt.brace_style = \"expand\";\n            }\n\n            opt.indent_size = options.indent_size ? parseInt(options.indent_size, 10) : 4;\n            opt.indent_char = options.indent_char ? options.indent_char : ' ';\n            opt.eol = options.eol ? options.eol : 'auto';\n            opt.preserve_newlines = (options.preserve_newlines === undefined) ? true : options.preserve_newlines;\n            opt.break_chained_methods = (options.break_chained_methods === undefined) ? false : options.break_chained_methods;\n            opt.max_preserve_newlines = (options.max_preserve_newlines === undefined) ? 0 : parseInt(options.max_preserve_newlines, 10);\n            opt.space_in_paren = (options.space_in_paren === undefined) ? false : options.space_in_paren;\n            opt.space_in_empty_paren = (options.space_in_empty_paren === undefined) ? false : options.space_in_empty_paren;\n            opt.jslint_happy = (options.jslint_happy === undefined) ? false : options.jslint_happy;\n            opt.space_after_anon_function = (options.space_after_anon_function === undefined) ? false : options.space_after_anon_function;\n            opt.keep_array_indentation = (options.keep_array_indentation === undefined) ? false : options.keep_array_indentation;\n            opt.space_before_conditional = (options.space_before_conditional === undefined) ? true : options.space_before_conditional;\n            opt.unescape_strings = (options.unescape_strings === undefined) ? false : options.unescape_strings;\n            opt.wrap_line_length = (options.wrap_line_length === undefined) ? 0 : parseInt(options.wrap_line_length, 10);\n            opt.e4x = (options.e4x === undefined) ? false : options.e4x;\n            opt.end_with_newline = (options.end_with_newline === undefined) ? false : options.end_with_newline;\n            opt.comma_first = (options.comma_first === undefined) ? false : options.comma_first;\n            opt.operator_position = sanitizeOperatorPosition(options.operator_position);\n\n            // For testing of beautify ignore:start directive\n            opt.test_output_raw = (options.test_output_raw === undefined) ? false : options.test_output_raw;\n\n            // force opt.space_after_anon_function to true if opt.jslint_happy\n            if (opt.jslint_happy) {\n                opt.space_after_anon_function = true;\n            }\n\n            if (options.indent_with_tabs) {\n                opt.indent_char = '\\t';\n                opt.indent_size = 1;\n            }\n\n            if (opt.eol === 'auto') {\n                opt.eol = '\\n';\n                if (js_source_text && acorn.lineBreak.test(js_source_text || '')) {\n                    opt.eol = js_source_text.match(acorn.lineBreak)[0];\n                }\n            }\n\n            opt.eol = opt.eol.replace(/\\\\r/, '\\r').replace(/\\\\n/, '\\n');\n\n            //----------------------------------\n            indent_string = '';\n            while (opt.indent_size > 0) {\n                indent_string += opt.indent_char;\n                opt.indent_size -= 1;\n            }\n\n            var preindent_index = 0;\n            if (js_source_text && js_source_text.length) {\n                while ((js_source_text.charAt(preindent_index) === ' ' ||\n                        js_source_text.charAt(preindent_index) === '\\t')) {\n                    baseIndentString += js_source_text.charAt(preindent_index);\n                    preindent_index += 1;\n                }\n                js_source_text = js_source_text.substring(preindent_index);\n            }\n\n            last_type = 'TK_START_BLOCK'; // last token type\n            last_last_text = ''; // pre-last token text\n            output = new Output(indent_string, baseIndentString);\n\n            // If testing the ignore directive, start with output disable set to true\n            output.raw = opt.test_output_raw;\n\n\n            // Stack of parsing/formatting states, including MODE.\n            // We tokenize, parse, and output in an almost purely a forward-only stream of token input\n            // and formatted output.  This makes the beautifier less accurate than full parsers\n            // but also far more tolerant of syntax errors.\n            //\n            // For example, the default mode is MODE.BlockStatement. If we see a '{' we push a new frame of type\n            // MODE.BlockStatement on the the stack, even though it could be object literal.  If we later\n            // encounter a \":\", we'll switch to to MODE.ObjectLiteral.  If we then see a \";\",\n            // most full parsers would die, but the beautifier gracefully falls back to\n            // MODE.BlockStatement and continues on.\n            flag_store = [];\n            set_mode(MODE.BlockStatement);\n\n            this.beautify = function() {\n\n                /*jshint onevar:true */\n                var local_token, sweet_code;\n                Tokenizer = new tokenizer(js_source_text, opt, indent_string);\n                tokens = Tokenizer.tokenize();\n                token_pos = 0;\n\n                function get_local_token() {\n                    local_token = get_token();\n                    return local_token;\n                }\n\n                while (get_local_token()) {\n                    for (var i = 0; i < local_token.comments_before.length; i++) {\n                        // The cleanest handling of inline comments is to treat them as though they aren't there.\n                        // Just continue formatting and the behavior should be logical.\n                        // Also ignore unknown tokens.  Again, this should result in better behavior.\n                        handle_token(local_token.comments_before[i]);\n                    }\n                    handle_token(local_token);\n\n                    last_last_text = flags.last_text;\n                    last_type = local_token.type;\n                    flags.last_text = local_token.text;\n\n                    token_pos += 1;\n                }\n\n                sweet_code = output.get_code();\n                if (opt.end_with_newline) {\n                    sweet_code += '\\n';\n                }\n\n                if (opt.eol !== '\\n') {\n                    sweet_code = sweet_code.replace(/[\\n]/g, opt.eol);\n                }\n\n                return sweet_code;\n            };\n\n            function handle_token(local_token) {\n                var newlines = local_token.newlines;\n                var keep_whitespace = opt.keep_array_indentation && is_array(flags.mode);\n\n                if (keep_whitespace) {\n                    for (var i = 0; i < newlines; i += 1) {\n                        print_newline(i > 0);\n                    }\n                } else {\n                    if (opt.max_preserve_newlines && newlines > opt.max_preserve_newlines) {\n                        newlines = opt.max_preserve_newlines;\n                    }\n\n                    if (opt.preserve_newlines) {\n                        if (local_token.newlines > 1) {\n                            print_newline();\n                            for (var j = 1; j < newlines; j += 1) {\n                                print_newline(true);\n                            }\n                        }\n                    }\n                }\n\n                current_token = local_token;\n                handlers[current_token.type]();\n            }\n\n            // we could use just string.split, but\n            // IE doesn't like returning empty strings\n            function split_linebreaks(s) {\n                //return s.split(/\\x0d\\x0a|\\x0a/);\n\n                s = s.replace(acorn.allLineBreaks, '\\n');\n                var out = [],\n                    idx = s.indexOf(\"\\n\");\n                while (idx !== -1) {\n                    out.push(s.substring(0, idx));\n                    s = s.substring(idx + 1);\n                    idx = s.indexOf(\"\\n\");\n                }\n                if (s.length) {\n                    out.push(s);\n                }\n                return out;\n            }\n\n            var newline_restricted_tokens = ['break', 'continue', 'return', 'throw'];\n\n            function allow_wrap_or_preserved_newline(force_linewrap) {\n                force_linewrap = (force_linewrap === undefined) ? false : force_linewrap;\n\n                // Never wrap the first token on a line\n                if (output.just_added_newline()) {\n                    return;\n                }\n\n                var shouldPreserveOrForce = (opt.preserve_newlines && current_token.wanted_newline) || force_linewrap;\n                var operatorLogicApplies = in_array(flags.last_text, Tokenizer.positionable_operators) || in_array(current_token.text, Tokenizer.positionable_operators);\n\n                if (operatorLogicApplies) {\n                    var shouldPrintOperatorNewline = (\n                            in_array(flags.last_text, Tokenizer.positionable_operators) &&\n                            in_array(opt.operator_position, OPERATOR_POSITION_BEFORE_OR_PRESERVE)\n                        ) ||\n                        in_array(current_token.text, Tokenizer.positionable_operators);\n                    shouldPreserveOrForce = shouldPreserveOrForce && shouldPrintOperatorNewline;\n                }\n\n                if (shouldPreserveOrForce) {\n                    print_newline(false, true);\n                } else if (opt.wrap_line_length) {\n                    if (last_type === 'TK_RESERVED' && in_array(flags.last_text, newline_restricted_tokens)) {\n                        // These tokens should never have a newline inserted\n                        // between them and the following expression.\n                        return;\n                    }\n                    var proposed_line_length = output.current_line.get_character_count() + current_token.text.length +\n                        (output.space_before_token ? 1 : 0);\n                    if (proposed_line_length >= opt.wrap_line_length) {\n                        print_newline(false, true);\n                    }\n                }\n            }\n\n            function print_newline(force_newline, preserve_statement_flags) {\n                if (!preserve_statement_flags) {\n                    if (flags.last_text !== ';' && flags.last_text !== ',' && flags.last_text !== '=' && last_type !== 'TK_OPERATOR') {\n                        while (flags.mode === MODE.Statement && !flags.if_block && !flags.do_block) {\n                            restore_mode();\n                        }\n                    }\n                }\n\n                if (output.add_new_line(force_newline)) {\n                    flags.multiline_frame = true;\n                }\n            }\n\n            function print_token_line_indentation() {\n                if (output.just_added_newline()) {\n                    if (opt.keep_array_indentation && is_array(flags.mode) && current_token.wanted_newline) {\n                        output.current_line.push(current_token.whitespace_before);\n                        output.space_before_token = false;\n                    } else if (output.set_indent(flags.indentation_level)) {\n                        flags.line_indent_level = flags.indentation_level;\n                    }\n                }\n            }\n\n            function print_token(printable_token) {\n                if (output.raw) {\n                    output.add_raw_token(current_token);\n                    return;\n                }\n\n                if (opt.comma_first && last_type === 'TK_COMMA' &&\n                    output.just_added_newline()) {\n                    if (output.previous_line.last() === ',') {\n                        var popped = output.previous_line.pop();\n                        // if the comma was already at the start of the line,\n                        // pull back onto that line and reprint the indentation\n                        if (output.previous_line.is_empty()) {\n                            output.previous_line.push(popped);\n                            output.trim(true);\n                            output.current_line.pop();\n                            output.trim();\n                        }\n\n                        // add the comma in front of the next token\n                        print_token_line_indentation();\n                        output.add_token(',');\n                        output.space_before_token = true;\n                    }\n                }\n\n                printable_token = printable_token || current_token.text;\n                print_token_line_indentation();\n                output.add_token(printable_token);\n            }\n\n            function indent() {\n                flags.indentation_level += 1;\n            }\n\n            function deindent() {\n                if (flags.indentation_level > 0 &&\n                    ((!flags.parent) || flags.indentation_level > flags.parent.indentation_level)) {\n                    flags.indentation_level -= 1;\n\n                }\n            }\n\n            function set_mode(mode) {\n                if (flags) {\n                    flag_store.push(flags);\n                    previous_flags = flags;\n                } else {\n                    previous_flags = create_flags(null, mode);\n                }\n\n                flags = create_flags(previous_flags, mode);\n            }\n\n            function is_array(mode) {\n                return mode === MODE.ArrayLiteral;\n            }\n\n            function is_expression(mode) {\n                return in_array(mode, [MODE.Expression, MODE.ForInitializer, MODE.Conditional]);\n            }\n\n            function restore_mode() {\n                if (flag_store.length > 0) {\n                    previous_flags = flags;\n                    flags = flag_store.pop();\n                    if (previous_flags.mode === MODE.Statement) {\n                        output.remove_redundant_indentation(previous_flags);\n                    }\n                }\n            }\n\n            function start_of_object_property() {\n                return flags.parent.mode === MODE.ObjectLiteral && flags.mode === MODE.Statement && (\n                    (flags.last_text === ':' && flags.ternary_depth === 0) || (last_type === 'TK_RESERVED' && in_array(flags.last_text, ['get', 'set'])));\n            }\n\n            function start_of_statement() {\n                if (\n                    (last_type === 'TK_RESERVED' && in_array(flags.last_text, ['var', 'let', 'const']) && current_token.type === 'TK_WORD') ||\n                    (last_type === 'TK_RESERVED' && flags.last_text === 'do') ||\n                    (last_type === 'TK_RESERVED' && in_array(flags.last_text, ['return', 'throw']) && !current_token.wanted_newline) ||\n                    (last_type === 'TK_RESERVED' && flags.last_text === 'else' && !(current_token.type === 'TK_RESERVED' && current_token.text === 'if')) ||\n                    (last_type === 'TK_END_EXPR' && (previous_flags.mode === MODE.ForInitializer || previous_flags.mode === MODE.Conditional)) ||\n                    (last_type === 'TK_WORD' && flags.mode === MODE.BlockStatement &&\n                        !flags.in_case &&\n                        !(current_token.text === '--' || current_token.text === '++') &&\n                        last_last_text !== 'function' &&\n                        current_token.type !== 'TK_WORD' && current_token.type !== 'TK_RESERVED') ||\n                    (flags.mode === MODE.ObjectLiteral && (\n                        (flags.last_text === ':' && flags.ternary_depth === 0) || (last_type === 'TK_RESERVED' && in_array(flags.last_text, ['get', 'set']))))\n                ) {\n\n                    set_mode(MODE.Statement);\n                    indent();\n\n                    if (last_type === 'TK_RESERVED' && in_array(flags.last_text, ['var', 'let', 'const']) && current_token.type === 'TK_WORD') {\n                        flags.declaration_statement = true;\n                    }\n\n                    // Issue #276:\n                    // If starting a new statement with [if, for, while, do], push to a new line.\n                    // if (a) if (b) if(c) d(); else e(); else f();\n                    if (!start_of_object_property()) {\n                        allow_wrap_or_preserved_newline(\n                            current_token.type === 'TK_RESERVED' && in_array(current_token.text, ['do', 'for', 'if', 'while']));\n                    }\n\n                    return true;\n                }\n                return false;\n            }\n\n            function all_lines_start_with(lines, c) {\n                for (var i = 0; i < lines.length; i++) {\n                    var line = trim(lines[i]);\n                    if (line.charAt(0) !== c) {\n                        return false;\n                    }\n                }\n                return true;\n            }\n\n            function each_line_matches_indent(lines, indent) {\n                var i = 0,\n                    len = lines.length,\n                    line;\n                for (; i < len; i++) {\n                    line = lines[i];\n                    // allow empty lines to pass through\n                    if (line && line.indexOf(indent) !== 0) {\n                        return false;\n                    }\n                }\n                return true;\n            }\n\n            function is_special_word(word) {\n                return in_array(word, ['case', 'return', 'do', 'if', 'throw', 'else']);\n            }\n\n            function get_token(offset) {\n                var index = token_pos + (offset || 0);\n                return (index < 0 || index >= tokens.length) ? null : tokens[index];\n            }\n\n            function handle_start_expr() {\n                if (start_of_statement()) {\n                    // The conditional starts the statement if appropriate.\n                }\n\n                var next_mode = MODE.Expression;\n                if (current_token.text === '[') {\n\n                    if (last_type === 'TK_WORD' || flags.last_text === ')') {\n                        // this is array index specifier, break immediately\n                        // a[x], fn()[x]\n                        if (last_type === 'TK_RESERVED' && in_array(flags.last_text, Tokenizer.line_starters)) {\n                            output.space_before_token = true;\n                        }\n                        set_mode(next_mode);\n                        print_token();\n                        indent();\n                        if (opt.space_in_paren) {\n                            output.space_before_token = true;\n                        }\n                        return;\n                    }\n\n                    next_mode = MODE.ArrayLiteral;\n                    if (is_array(flags.mode)) {\n                        if (flags.last_text === '[' ||\n                            (flags.last_text === ',' && (last_last_text === ']' || last_last_text === '}'))) {\n                            // ], [ goes to new line\n                            // }, [ goes to new line\n                            if (!opt.keep_array_indentation) {\n                                print_newline();\n                            }\n                        }\n                    }\n\n                } else {\n                    if (last_type === 'TK_RESERVED' && flags.last_text === 'for') {\n                        next_mode = MODE.ForInitializer;\n                    } else if (last_type === 'TK_RESERVED' && in_array(flags.last_text, ['if', 'while'])) {\n                        next_mode = MODE.Conditional;\n                    } else {\n                        // next_mode = MODE.Expression;\n                    }\n                }\n\n                if (flags.last_text === ';' || last_type === 'TK_START_BLOCK') {\n                    print_newline();\n                } else if (last_type === 'TK_END_EXPR' || last_type === 'TK_START_EXPR' || last_type === 'TK_END_BLOCK' || flags.last_text === '.') {\n                    // TODO: Consider whether forcing this is required.  Review failing tests when removed.\n                    allow_wrap_or_preserved_newline(current_token.wanted_newline);\n                    // do nothing on (( and )( and ][ and ]( and .(\n                } else if (!(last_type === 'TK_RESERVED' && current_token.text === '(') && last_type !== 'TK_WORD' && last_type !== 'TK_OPERATOR') {\n                    output.space_before_token = true;\n                } else if ((last_type === 'TK_RESERVED' && (flags.last_word === 'function' || flags.last_word === 'typeof')) ||\n                    (flags.last_text === '*' &&\n                        (in_array(last_last_text, ['function', 'yield']) ||\n                            (flags.mode === MODE.ObjectLiteral && in_array(last_last_text, ['{', ',']))))) {\n                    // function() vs function ()\n                    // yield*() vs yield* ()\n                    // function*() vs function* ()\n                    if (opt.space_after_anon_function) {\n                        output.space_before_token = true;\n                    }\n                } else if (last_type === 'TK_RESERVED' && (in_array(flags.last_text, Tokenizer.line_starters) || flags.last_text === 'catch')) {\n                    if (opt.space_before_conditional) {\n                        output.space_before_token = true;\n                    }\n                }\n\n                // Should be a space between await and an IIFE\n                if (current_token.text === '(' && last_type === 'TK_RESERVED' && flags.last_word === 'await') {\n                    output.space_before_token = true;\n                }\n\n                // Support of this kind of newline preservation.\n                // a = (b &&\n                //     (c || d));\n                if (current_token.text === '(') {\n                    if (last_type === 'TK_EQUALS' || last_type === 'TK_OPERATOR') {\n                        if (!start_of_object_property()) {\n                            allow_wrap_or_preserved_newline();\n                        }\n                    }\n                }\n\n                // Support preserving wrapped arrow function expressions\n                // a.b('c',\n                //     () => d.e\n                // )\n                if (current_token.text === '(' && last_type !== 'TK_WORD' && last_type !== 'TK_RESERVED') {\n                    allow_wrap_or_preserved_newline();\n                }\n\n                set_mode(next_mode);\n                print_token();\n                if (opt.space_in_paren) {\n                    output.space_before_token = true;\n                }\n\n                // In all cases, if we newline while inside an expression it should be indented.\n                indent();\n            }\n\n            function handle_end_expr() {\n                // statements inside expressions are not valid syntax, but...\n                // statements must all be closed when their container closes\n                while (flags.mode === MODE.Statement) {\n                    restore_mode();\n                }\n\n                if (flags.multiline_frame) {\n                    allow_wrap_or_preserved_newline(current_token.text === ']' && is_array(flags.mode) && !opt.keep_array_indentation);\n                }\n\n                if (opt.space_in_paren) {\n                    if (last_type === 'TK_START_EXPR' && !opt.space_in_empty_paren) {\n                        // () [] no inner space in empty parens like these, ever, ref #320\n                        output.trim();\n                        output.space_before_token = false;\n                    } else {\n                        output.space_before_token = true;\n                    }\n                }\n                if (current_token.text === ']' && opt.keep_array_indentation) {\n                    print_token();\n                    restore_mode();\n                } else {\n                    restore_mode();\n                    print_token();\n                }\n                output.remove_redundant_indentation(previous_flags);\n\n                // do {} while () // no statement required after\n                if (flags.do_while && previous_flags.mode === MODE.Conditional) {\n                    previous_flags.mode = MODE.Expression;\n                    flags.do_block = false;\n                    flags.do_while = false;\n\n                }\n            }\n\n            function handle_start_block() {\n                // Check if this is should be treated as a ObjectLiteral\n                var next_token = get_token(1);\n                var second_token = get_token(2);\n                if (second_token && (\n                        (in_array(second_token.text, [':', ',']) && in_array(next_token.type, ['TK_STRING', 'TK_WORD', 'TK_RESERVED'])) ||\n                        (in_array(next_token.text, ['get', 'set']) && in_array(second_token.type, ['TK_WORD', 'TK_RESERVED']))\n                    )) {\n                    // We don't support TypeScript,but we didn't break it for a very long time.\n                    // We'll try to keep not breaking it.\n                    if (!in_array(last_last_text, ['class', 'interface'])) {\n                        set_mode(MODE.ObjectLiteral);\n                    } else {\n                        set_mode(MODE.BlockStatement);\n                    }\n                } else if (last_type === 'TK_OPERATOR' && flags.last_text === '=>') {\n                    // arrow function: (param1, paramN) => { statements }\n                    set_mode(MODE.BlockStatement);\n                } else if (in_array(last_type, ['TK_EQUALS', 'TK_START_EXPR', 'TK_COMMA', 'TK_OPERATOR']) ||\n                    (last_type === 'TK_RESERVED' && in_array(flags.last_text, ['return', 'throw', 'import', 'default']))\n                ) {\n                    // Detecting shorthand function syntax is difficult by scanning forward,\n                    //     so check the surrounding context.\n                    // If the block is being returned, imported, export default, passed as arg,\n                    //     assigned with = or assigned in a nested object, treat as an ObjectLiteral.\n                    set_mode(MODE.ObjectLiteral);\n                } else {\n                    set_mode(MODE.BlockStatement);\n                }\n\n                var empty_braces = !next_token.comments_before.length && next_token.text === '}';\n                var empty_anonymous_function = empty_braces && flags.last_word === 'function' &&\n                    last_type === 'TK_END_EXPR';\n\n\n                if (opt.brace_style === \"expand\" ||\n                    (opt.brace_style === \"none\" && current_token.wanted_newline)) {\n                    if (last_type !== 'TK_OPERATOR' &&\n                        (empty_anonymous_function ||\n                            last_type === 'TK_EQUALS' ||\n                            (last_type === 'TK_RESERVED' && is_special_word(flags.last_text) && flags.last_text !== 'else'))) {\n                        output.space_before_token = true;\n                    } else {\n                        print_newline(false, true);\n                    }\n                } else { // collapse\n                    if (opt.brace_style === 'collapse-preserve-inline') {\n                        // search forward for a newline wanted inside this block\n                        var index = 0;\n                        var check_token = null;\n                        flags.inline_frame = true;\n                        do {\n                            index += 1;\n                            check_token = get_token(index);\n                            if (check_token.wanted_newline) {\n                                flags.inline_frame = false;\n                                break;\n                            }\n                        } while (check_token.type !== 'TK_EOF' &&\n                            !(check_token.type === 'TK_END_BLOCK' && check_token.opened === current_token));\n                    }\n\n                    if (is_array(previous_flags.mode) && (last_type === 'TK_START_EXPR' || last_type === 'TK_COMMA')) {\n                        // if we're preserving inline,\n                        // allow newline between comma and next brace.\n                        if (last_type === 'TK_COMMA' || opt.space_in_paren) {\n                            output.space_before_token = true;\n                        }\n\n                        if (opt.brace_style === 'collapse-preserve-inline' &&\n                            (last_type === 'TK_COMMA' || (last_type === 'TK_START_EXPR' && flags.inline_frame))) {\n                            allow_wrap_or_preserved_newline();\n                            previous_flags.multiline_frame = previous_flags.multiline_frame || flags.multiline_frame;\n                            flags.multiline_frame = false;\n                        }\n                    } else if (last_type !== 'TK_OPERATOR' && last_type !== 'TK_START_EXPR') {\n                        if (last_type === 'TK_START_BLOCK') {\n                            print_newline();\n                        } else {\n                            output.space_before_token = true;\n                        }\n                    }\n                }\n                print_token();\n                indent();\n            }\n\n            function handle_end_block() {\n                // statements must all be closed when their container closes\n                while (flags.mode === MODE.Statement) {\n                    restore_mode();\n                }\n                var empty_braces = last_type === 'TK_START_BLOCK';\n\n                if (opt.brace_style === \"expand\") {\n                    if (!empty_braces) {\n                        print_newline();\n                    }\n                } else {\n                    // skip {}\n                    if (!empty_braces) {\n                        if (flags.inline_frame) {\n                            output.space_before_token = true;\n                        } else if (is_array(flags.mode) && opt.keep_array_indentation) {\n                            // we REALLY need a newline here, but newliner would skip that\n                            opt.keep_array_indentation = false;\n                            print_newline();\n                            opt.keep_array_indentation = true;\n\n                        } else {\n                            print_newline();\n                        }\n                    }\n                }\n                restore_mode();\n                print_token();\n            }\n\n            function handle_word() {\n                if (current_token.type === 'TK_RESERVED') {\n                    if (in_array(current_token.text, ['set', 'get']) && flags.mode !== MODE.ObjectLiteral) {\n                        current_token.type = 'TK_WORD';\n                    } else if (in_array(current_token.text, ['as', 'from']) && !flags.import_block) {\n                        current_token.type = 'TK_WORD';\n                    } else if (flags.mode === MODE.ObjectLiteral) {\n                        var next_token = get_token(1);\n                        if (next_token.text === ':') {\n                            current_token.type = 'TK_WORD';\n                        }\n                    }\n                }\n\n                if (start_of_statement()) {\n                    // The conditional starts the statement if appropriate.\n                } else if (current_token.wanted_newline && !is_expression(flags.mode) &&\n                    (last_type !== 'TK_OPERATOR' || (flags.last_text === '--' || flags.last_text === '++')) &&\n                    last_type !== 'TK_EQUALS' &&\n                    (opt.preserve_newlines || !(last_type === 'TK_RESERVED' && in_array(flags.last_text, ['var', 'let', 'const', 'set', 'get'])))) {\n\n                    print_newline();\n                }\n\n                if (flags.do_block && !flags.do_while) {\n                    if (current_token.type === 'TK_RESERVED' && current_token.text === 'while') {\n                        // do {} ## while ()\n                        output.space_before_token = true;\n                        print_token();\n                        output.space_before_token = true;\n                        flags.do_while = true;\n                        return;\n                    } else {\n                        // do {} should always have while as the next word.\n                        // if we don't see the expected while, recover\n                        print_newline();\n                        flags.do_block = false;\n                    }\n                }\n\n                // if may be followed by else, or not\n                // Bare/inline ifs are tricky\n                // Need to unwind the modes correctly: if (a) if (b) c(); else d(); else e();\n                if (flags.if_block) {\n                    if (!flags.else_block && (current_token.type === 'TK_RESERVED' && current_token.text === 'else')) {\n                        flags.else_block = true;\n                    } else {\n                        while (flags.mode === MODE.Statement) {\n                            restore_mode();\n                        }\n                        flags.if_block = false;\n                        flags.else_block = false;\n                    }\n                }\n\n                if (current_token.type === 'TK_RESERVED' && (current_token.text === 'case' || (current_token.text === 'default' && flags.in_case_statement))) {\n                    print_newline();\n                    if (flags.case_body || opt.jslint_happy) {\n                        // switch cases following one another\n                        deindent();\n                        flags.case_body = false;\n                    }\n                    print_token();\n                    flags.in_case = true;\n                    flags.in_case_statement = true;\n                    return;\n                }\n\n                if (current_token.type === 'TK_RESERVED' && current_token.text === 'function') {\n                    if (in_array(flags.last_text, ['}', ';']) || (output.just_added_newline() && !in_array(flags.last_text, ['[', '{', ':', '=', ',']))) {\n                        // make sure there is a nice clean space of at least one blank line\n                        // before a new function definition\n                        if (!output.just_added_blankline() && !current_token.comments_before.length) {\n                            print_newline();\n                            print_newline(true);\n                        }\n                    }\n                    if (last_type === 'TK_RESERVED' || last_type === 'TK_WORD') {\n                        if (last_type === 'TK_RESERVED' && in_array(flags.last_text, ['get', 'set', 'new', 'return', 'export', 'async'])) {\n                            output.space_before_token = true;\n                        } else if (last_type === 'TK_RESERVED' && flags.last_text === 'default' && last_last_text === 'export') {\n                            output.space_before_token = true;\n                        } else {\n                            print_newline();\n                        }\n                    } else if (last_type === 'TK_OPERATOR' || flags.last_text === '=') {\n                        // foo = function\n                        output.space_before_token = true;\n                    } else if (!flags.multiline_frame && (is_expression(flags.mode) || is_array(flags.mode))) {\n                        // (function\n                    } else {\n                        print_newline();\n                    }\n                }\n\n                if (last_type === 'TK_COMMA' || last_type === 'TK_START_EXPR' || last_type === 'TK_EQUALS' || last_type === 'TK_OPERATOR') {\n                    if (!start_of_object_property()) {\n                        allow_wrap_or_preserved_newline();\n                    }\n                }\n\n                if (current_token.type === 'TK_RESERVED' && in_array(current_token.text, ['function', 'get', 'set'])) {\n                    print_token();\n                    flags.last_word = current_token.text;\n                    return;\n                }\n\n                prefix = 'NONE';\n\n                if (last_type === 'TK_END_BLOCK') {\n\n                    if (!(current_token.type === 'TK_RESERVED' && in_array(current_token.text, ['else', 'catch', 'finally', 'from']))) {\n                        prefix = 'NEWLINE';\n                    } else {\n                        if (opt.brace_style === \"expand\" ||\n                            opt.brace_style === \"end-expand\" ||\n                            (opt.brace_style === \"none\" && current_token.wanted_newline)) {\n                            prefix = 'NEWLINE';\n                        } else {\n                            prefix = 'SPACE';\n                            output.space_before_token = true;\n                        }\n                    }\n                } else if (last_type === 'TK_SEMICOLON' && flags.mode === MODE.BlockStatement) {\n                    // TODO: Should this be for STATEMENT as well?\n                    prefix = 'NEWLINE';\n                } else if (last_type === 'TK_SEMICOLON' && is_expression(flags.mode)) {\n                    prefix = 'SPACE';\n                } else if (last_type === 'TK_STRING') {\n                    prefix = 'NEWLINE';\n                } else if (last_type === 'TK_RESERVED' || last_type === 'TK_WORD' ||\n                    (flags.last_text === '*' &&\n                        (in_array(last_last_text, ['function', 'yield']) ||\n                            (flags.mode === MODE.ObjectLiteral && in_array(last_last_text, ['{', ',']))))) {\n                    prefix = 'SPACE';\n                } else if (last_type === 'TK_START_BLOCK') {\n                    if (flags.inline_frame) {\n                        prefix = 'SPACE';\n                    } else {\n                        prefix = 'NEWLINE';\n                    }\n                } else if (last_type === 'TK_END_EXPR') {\n                    output.space_before_token = true;\n                    prefix = 'NEWLINE';\n                }\n\n                if (current_token.type === 'TK_RESERVED' && in_array(current_token.text, Tokenizer.line_starters) && flags.last_text !== ')') {\n                    if (flags.inline_frame || flags.last_text === 'else' || flags.last_text === 'export') {\n                        prefix = 'SPACE';\n                    } else {\n                        prefix = 'NEWLINE';\n                    }\n\n                }\n\n                if (current_token.type === 'TK_RESERVED' && in_array(current_token.text, ['else', 'catch', 'finally'])) {\n                    if (!(last_type === 'TK_END_BLOCK' && previous_flags.mode === MODE.BlockStatement) ||\n                        opt.brace_style === \"expand\" ||\n                        opt.brace_style === \"end-expand\" ||\n                        (opt.brace_style === \"none\" && current_token.wanted_newline)) {\n                        print_newline();\n                    } else {\n                        output.trim(true);\n                        var line = output.current_line;\n                        // If we trimmed and there's something other than a close block before us\n                        // put a newline back in.  Handles '} // comment' scenario.\n                        if (line.last() !== '}') {\n                            print_newline();\n                        }\n                        output.space_before_token = true;\n                    }\n                } else if (prefix === 'NEWLINE') {\n                    if (last_type === 'TK_RESERVED' && is_special_word(flags.last_text)) {\n                        // no newline between 'return nnn'\n                        output.space_before_token = true;\n                    } else if (last_type !== 'TK_END_EXPR') {\n                        if ((last_type !== 'TK_START_EXPR' || !(current_token.type === 'TK_RESERVED' && in_array(current_token.text, ['var', 'let', 'const']))) && flags.last_text !== ':') {\n                            // no need to force newline on 'var': for (var x = 0...)\n                            if (current_token.type === 'TK_RESERVED' && current_token.text === 'if' && flags.last_text === 'else') {\n                                // no newline for } else if {\n                                output.space_before_token = true;\n                            } else {\n                                print_newline();\n                            }\n                        }\n                    } else if (current_token.type === 'TK_RESERVED' && in_array(current_token.text, Tokenizer.line_starters) && flags.last_text !== ')') {\n                        print_newline();\n                    }\n                } else if (flags.multiline_frame && is_array(flags.mode) && flags.last_text === ',' && last_last_text === '}') {\n                    print_newline(); // }, in lists get a newline treatment\n                } else if (prefix === 'SPACE') {\n                    output.space_before_token = true;\n                }\n                print_token();\n                flags.last_word = current_token.text;\n\n                if (current_token.type === 'TK_RESERVED') {\n                    if (current_token.text === 'do') {\n                        flags.do_block = true;\n                    } else if (current_token.text === 'if') {\n                        flags.if_block = true;\n                    } else if (current_token.text === 'import') {\n                        flags.import_block = true;\n                    } else if (flags.import_block && current_token.type === 'TK_RESERVED' && current_token.text === 'from') {\n                        flags.import_block = false;\n                    }\n                }\n            }\n\n            function handle_semicolon() {\n                if (start_of_statement()) {\n                    // The conditional starts the statement if appropriate.\n                    // Semicolon can be the start (and end) of a statement\n                    output.space_before_token = false;\n                }\n                while (flags.mode === MODE.Statement && !flags.if_block && !flags.do_block) {\n                    restore_mode();\n                }\n\n                // hacky but effective for the moment\n                if (flags.import_block) {\n                    flags.import_block = false;\n                }\n                print_token();\n            }\n\n            function handle_string() {\n                if (start_of_statement()) {\n                    // The conditional starts the statement if appropriate.\n                    // One difference - strings want at least a space before\n                    output.space_before_token = true;\n                } else if (last_type === 'TK_RESERVED' || last_type === 'TK_WORD' || flags.inline_frame) {\n                    output.space_before_token = true;\n                } else if (last_type === 'TK_COMMA' || last_type === 'TK_START_EXPR' || last_type === 'TK_EQUALS' || last_type === 'TK_OPERATOR') {\n                    if (!start_of_object_property()) {\n                        allow_wrap_or_preserved_newline();\n                    }\n                } else {\n                    print_newline();\n                }\n                print_token();\n            }\n\n            function handle_equals() {\n                if (start_of_statement()) {\n                    // The conditional starts the statement if appropriate.\n                }\n\n                if (flags.declaration_statement) {\n                    // just got an '=' in a var-line, different formatting/line-breaking, etc will now be done\n                    flags.declaration_assignment = true;\n                }\n                output.space_before_token = true;\n                print_token();\n                output.space_before_token = true;\n            }\n\n            function handle_comma() {\n                print_token();\n                output.space_before_token = true;\n                if (flags.declaration_statement) {\n                    if (is_expression(flags.parent.mode)) {\n                        // do not break on comma, for(var a = 1, b = 2)\n                        flags.declaration_assignment = false;\n                    }\n\n                    if (flags.declaration_assignment) {\n                        flags.declaration_assignment = false;\n                        print_newline(false, true);\n                    } else if (opt.comma_first) {\n                        // for comma-first, we want to allow a newline before the comma\n                        // to turn into a newline after the comma, which we will fixup later\n                        allow_wrap_or_preserved_newline();\n                    }\n                } else if (flags.mode === MODE.ObjectLiteral ||\n                    (flags.mode === MODE.Statement && flags.parent.mode === MODE.ObjectLiteral)) {\n                    if (flags.mode === MODE.Statement) {\n                        restore_mode();\n                    }\n\n                    if (!flags.inline_frame) {\n                        print_newline();\n                    }\n                } else if (opt.comma_first) {\n                    // EXPR or DO_BLOCK\n                    // for comma-first, we want to allow a newline before the comma\n                    // to turn into a newline after the comma, which we will fixup later\n                    allow_wrap_or_preserved_newline();\n                }\n            }\n\n            function handle_operator() {\n                if (start_of_statement()) {\n                    // The conditional starts the statement if appropriate.\n                }\n\n                if (last_type === 'TK_RESERVED' && is_special_word(flags.last_text)) {\n                    // \"return\" had a special handling in TK_WORD. Now we need to return the favor\n                    output.space_before_token = true;\n                    print_token();\n                    return;\n                }\n\n                // hack for actionscript's import .*;\n                if (current_token.text === '*' && last_type === 'TK_DOT') {\n                    print_token();\n                    return;\n                }\n\n                if (current_token.text === '::') {\n                    // no spaces around exotic namespacing syntax operator\n                    print_token();\n                    return;\n                }\n\n                // Allow line wrapping between operators when operator_position is\n                //   set to before or preserve\n                if (last_type === 'TK_OPERATOR' && in_array(opt.operator_position, OPERATOR_POSITION_BEFORE_OR_PRESERVE)) {\n                    allow_wrap_or_preserved_newline();\n                }\n\n                if (current_token.text === ':' && flags.in_case) {\n                    flags.case_body = true;\n                    indent();\n                    print_token();\n                    print_newline();\n                    flags.in_case = false;\n                    return;\n                }\n\n                var space_before = true;\n                var space_after = true;\n                var in_ternary = false;\n                var isGeneratorAsterisk = current_token.text === '*' &&\n                    ((last_type === 'TK_RESERVED' && in_array(flags.last_text, ['function', 'yield'])) ||\n                        (flags.mode === MODE.ObjectLiteral && in_array(last_type, ['TK_START_BLOCK', 'TK_COMMA'])));\n                var isUnary = in_array(current_token.text, ['-', '+']) && (\n                    in_array(last_type, ['TK_START_BLOCK', 'TK_START_EXPR', 'TK_EQUALS', 'TK_OPERATOR']) ||\n                    in_array(flags.last_text, Tokenizer.line_starters) ||\n                    flags.last_text === ','\n                );\n\n                if (current_token.text === ':') {\n                    if (flags.ternary_depth === 0) {\n                        // Colon is invalid javascript outside of ternary and object, but do our best to guess what was meant.\n                        space_before = false;\n                    } else {\n                        flags.ternary_depth -= 1;\n                        in_ternary = true;\n                    }\n                } else if (current_token.text === '?') {\n                    flags.ternary_depth += 1;\n                }\n\n                // let's handle the operator_position option prior to any conflicting logic\n                if (!isUnary && !isGeneratorAsterisk && opt.preserve_newlines && in_array(current_token.text, Tokenizer.positionable_operators)) {\n                    var isColon = current_token.text === ':';\n                    var isTernaryColon = (isColon && in_ternary);\n                    var isOtherColon = (isColon && !in_ternary);\n\n                    switch (opt.operator_position) {\n                        case OPERATOR_POSITION.before_newline:\n                            // if the current token is : and it's not a ternary statement then we set space_before to false\n                            output.space_before_token = !isOtherColon;\n\n                            print_token();\n\n                            if (!isColon || isTernaryColon) {\n                                allow_wrap_or_preserved_newline();\n                            }\n\n                            output.space_before_token = true;\n                            return;\n\n                        case OPERATOR_POSITION.after_newline:\n                            // if the current token is anything but colon, or (via deduction) it's a colon and in a ternary statement,\n                            //   then print a newline.\n\n                            output.space_before_token = true;\n\n                            if (!isColon || isTernaryColon) {\n                                if (get_token(1).wanted_newline) {\n                                    print_newline(false, true);\n                                } else {\n                                    allow_wrap_or_preserved_newline();\n                                }\n                            } else {\n                                output.space_before_token = false;\n                            }\n\n                            print_token();\n\n                            output.space_before_token = true;\n                            return;\n\n                        case OPERATOR_POSITION.preserve_newline:\n                            if (!isOtherColon) {\n                                allow_wrap_or_preserved_newline();\n                            }\n\n                            // if we just added a newline, or the current token is : and it's not a ternary statement,\n                            //   then we set space_before to false\n                            space_before = !(output.just_added_newline() || isOtherColon);\n\n                            output.space_before_token = space_before;\n                            print_token();\n                            output.space_before_token = true;\n                            return;\n                    }\n                }\n\n                if (in_array(current_token.text, ['--', '++', '!', '~']) || isUnary) {\n                    // unary operators (and binary +/- pretending to be unary) special cases\n\n                    space_before = false;\n                    space_after = false;\n\n                    // http://www.ecma-international.org/ecma-262/5.1/#sec-7.9.1\n                    // if there is a newline between -- or ++ and anything else we should preserve it.\n                    if (current_token.wanted_newline && (current_token.text === '--' || current_token.text === '++')) {\n                        print_newline(false, true);\n                    }\n\n                    if (flags.last_text === ';' && is_expression(flags.mode)) {\n                        // for (;; ++i)\n                        //        ^^^\n                        space_before = true;\n                    }\n\n                    if (last_type === 'TK_RESERVED') {\n                        space_before = true;\n                    } else if (last_type === 'TK_END_EXPR') {\n                        space_before = !(flags.last_text === ']' && (current_token.text === '--' || current_token.text === '++'));\n                    } else if (last_type === 'TK_OPERATOR') {\n                        // a++ + ++b;\n                        // a - -b\n                        space_before = in_array(current_token.text, ['--', '-', '++', '+']) && in_array(flags.last_text, ['--', '-', '++', '+']);\n                        // + and - are not unary when preceeded by -- or ++ operator\n                        // a-- + b\n                        // a * +b\n                        // a - -b\n                        if (in_array(current_token.text, ['+', '-']) && in_array(flags.last_text, ['--', '++'])) {\n                            space_after = true;\n                        }\n                    }\n\n\n                    if (((flags.mode === MODE.BlockStatement && !flags.inline_frame) || flags.mode === MODE.Statement) &&\n                        (flags.last_text === '{' || flags.last_text === ';')) {\n                        // { foo; --i }\n                        // foo(); --bar;\n                        print_newline();\n                    }\n                } else if (isGeneratorAsterisk) {\n                    allow_wrap_or_preserved_newline();\n                    space_before = false;\n                    space_after = false;\n                }\n                output.space_before_token = output.space_before_token || space_before;\n                print_token();\n                output.space_before_token = space_after;\n            }\n\n            function handle_block_comment() {\n                if (output.raw) {\n                    output.add_raw_token(current_token);\n                    if (current_token.directives && current_token.directives.preserve === 'end') {\n                        // If we're testing the raw output behavior, do not allow a directive to turn it off.\n                        output.raw = opt.test_output_raw;\n                    }\n                    return;\n                }\n\n                if (current_token.directives) {\n                    print_newline(false, true);\n                    print_token();\n                    if (current_token.directives.preserve === 'start') {\n                        output.raw = true;\n                    }\n                    print_newline(false, true);\n                    return;\n                }\n\n                // inline block\n                if (!acorn.newline.test(current_token.text) && !current_token.wanted_newline) {\n                    output.space_before_token = true;\n                    print_token();\n                    output.space_before_token = true;\n                    return;\n                }\n\n                var lines = split_linebreaks(current_token.text);\n                var j; // iterator for this case\n                var javadoc = false;\n                var starless = false;\n                var lastIndent = current_token.whitespace_before;\n                var lastIndentLength = lastIndent.length;\n\n                // block comment starts with a new line\n                print_newline(false, true);\n                if (lines.length > 1) {\n                    javadoc = all_lines_start_with(lines.slice(1), '*');\n                    starless = each_line_matches_indent(lines.slice(1), lastIndent);\n                }\n\n                // first line always indented\n                print_token(lines[0]);\n                for (j = 1; j < lines.length; j++) {\n                    print_newline(false, true);\n                    if (javadoc) {\n                        // javadoc: reformat and re-indent\n                        print_token(' ' + ltrim(lines[j]));\n                    } else if (starless && lines[j].length > lastIndentLength) {\n                        // starless: re-indent non-empty content, avoiding trim\n                        print_token(lines[j].substring(lastIndentLength));\n                    } else {\n                        // normal comments output raw\n                        output.add_token(lines[j]);\n                    }\n                }\n\n                // for comments of more than one line, make sure there's a new line after\n                print_newline(false, true);\n            }\n\n            function handle_comment() {\n                if (current_token.wanted_newline) {\n                    print_newline(false, true);\n                } else {\n                    output.trim(true);\n                }\n\n                output.space_before_token = true;\n                print_token();\n                print_newline(false, true);\n            }\n\n            function handle_dot() {\n                if (start_of_statement()) {\n                    // The conditional starts the statement if appropriate.\n                }\n\n                if (last_type === 'TK_RESERVED' && is_special_word(flags.last_text)) {\n                    output.space_before_token = true;\n                } else {\n                    // allow preserved newlines before dots in general\n                    // force newlines on dots after close paren when break_chained - for bar().baz()\n                    allow_wrap_or_preserved_newline(flags.last_text === ')' && opt.break_chained_methods);\n                }\n\n                print_token();\n            }\n\n            function handle_unknown() {\n                print_token();\n\n                if (current_token.text[current_token.text.length - 1] === '\\n') {\n                    print_newline();\n                }\n            }\n\n            function handle_eof() {\n                // Unwind any open statements\n                while (flags.mode === MODE.Statement) {\n                    restore_mode();\n                }\n            }\n        }\n\n\n        function OutputLine(parent) {\n            var _character_count = 0;\n            // use indent_count as a marker for lines that have preserved indentation\n            var _indent_count = -1;\n\n            var _items = [];\n            var _empty = true;\n\n            this.set_indent = function(level) {\n                _character_count = parent.baseIndentLength + level * parent.indent_length;\n                _indent_count = level;\n            };\n\n            this.get_character_count = function() {\n                return _character_count;\n            };\n\n            this.is_empty = function() {\n                return _empty;\n            };\n\n            this.last = function() {\n                if (!this._empty) {\n                    return _items[_items.length - 1];\n                } else {\n                    return null;\n                }\n            };\n\n            this.push = function(input) {\n                _items.push(input);\n                _character_count += input.length;\n                _empty = false;\n            };\n\n            this.pop = function() {\n                var item = null;\n                if (!_empty) {\n                    item = _items.pop();\n                    _character_count -= item.length;\n                    _empty = _items.length === 0;\n                }\n                return item;\n            };\n\n            this.remove_indent = function() {\n                if (_indent_count > 0) {\n                    _indent_count -= 1;\n                    _character_count -= parent.indent_length;\n                }\n            };\n\n            this.trim = function() {\n                while (this.last() === ' ') {\n                    _items.pop();\n                    _character_count -= 1;\n                }\n                _empty = _items.length === 0;\n            };\n\n            this.toString = function() {\n                var result = '';\n                if (!this._empty) {\n                    if (_indent_count >= 0) {\n                        result = parent.indent_cache[_indent_count];\n                    }\n                    result += _items.join('');\n                }\n                return result;\n            };\n        }\n\n        function Output(indent_string, baseIndentString) {\n            baseIndentString = baseIndentString || '';\n            this.indent_cache = [baseIndentString];\n            this.baseIndentLength = baseIndentString.length;\n            this.indent_length = indent_string.length;\n            this.raw = false;\n\n            var lines = [];\n            this.baseIndentString = baseIndentString;\n            this.indent_string = indent_string;\n            this.previous_line = null;\n            this.current_line = null;\n            this.space_before_token = false;\n\n            this.add_outputline = function() {\n                this.previous_line = this.current_line;\n                this.current_line = new OutputLine(this);\n                lines.push(this.current_line);\n            };\n\n            // initialize\n            this.add_outputline();\n\n\n            this.get_line_number = function() {\n                return lines.length;\n            };\n\n            // Using object instead of string to allow for later expansion of info about each line\n            this.add_new_line = function(force_newline) {\n                if (this.get_line_number() === 1 && this.just_added_newline()) {\n                    return false; // no newline on start of file\n                }\n\n                if (force_newline || !this.just_added_newline()) {\n                    if (!this.raw) {\n                        this.add_outputline();\n                    }\n                    return true;\n                }\n\n                return false;\n            };\n\n            this.get_code = function() {\n                var sweet_code = lines.join('\\n').replace(/[\\r\\n\\t ]+$/, '');\n                return sweet_code;\n            };\n\n            this.set_indent = function(level) {\n                // Never indent your first output indent at the start of the file\n                if (lines.length > 1) {\n                    while (level >= this.indent_cache.length) {\n                        this.indent_cache.push(this.indent_cache[this.indent_cache.length - 1] + this.indent_string);\n                    }\n\n                    this.current_line.set_indent(level);\n                    return true;\n                }\n                this.current_line.set_indent(0);\n                return false;\n            };\n\n            this.add_raw_token = function(token) {\n                for (var x = 0; x < token.newlines; x++) {\n                    this.add_outputline();\n                }\n                this.current_line.push(token.whitespace_before);\n                this.current_line.push(token.text);\n                this.space_before_token = false;\n            };\n\n            this.add_token = function(printable_token) {\n                this.add_space_before_token();\n                this.current_line.push(printable_token);\n            };\n\n            this.add_space_before_token = function() {\n                if (this.space_before_token && !this.just_added_newline()) {\n                    this.current_line.push(' ');\n                }\n                this.space_before_token = false;\n            };\n\n            this.remove_redundant_indentation = function(frame) {\n                // This implementation is effective but has some issues:\n                //     - can cause line wrap to happen too soon due to indent removal\n                //           after wrap points are calculated\n                // These issues are minor compared to ugly indentation.\n\n                if (frame.multiline_frame ||\n                    frame.mode === MODE.ForInitializer ||\n                    frame.mode === MODE.Conditional) {\n                    return;\n                }\n\n                // remove one indent from each line inside this section\n                var index = frame.start_line_index;\n\n                var output_length = lines.length;\n                while (index < output_length) {\n                    lines[index].remove_indent();\n                    index++;\n                }\n            };\n\n            this.trim = function(eat_newlines) {\n                eat_newlines = (eat_newlines === undefined) ? false : eat_newlines;\n\n                this.current_line.trim(indent_string, baseIndentString);\n\n                while (eat_newlines && lines.length > 1 &&\n                    this.current_line.is_empty()) {\n                    lines.pop();\n                    this.current_line = lines[lines.length - 1];\n                    this.current_line.trim();\n                }\n\n                this.previous_line = lines.length > 1 ? lines[lines.length - 2] : null;\n            };\n\n            this.just_added_newline = function() {\n                return this.current_line.is_empty();\n            };\n\n            this.just_added_blankline = function() {\n                if (this.just_added_newline()) {\n                    if (lines.length === 1) {\n                        return true; // start of the file and newline = blank\n                    }\n\n                    var line = lines[lines.length - 2];\n                    return line.is_empty();\n                }\n                return false;\n            };\n        }\n\n        var InputScanner = function(input) {\n            var _input = input;\n            var _input_length = _input.length;\n            var _position = 0;\n\n            this.back = function() {\n                _position -= 1;\n            };\n\n            this.hasNext = function() {\n                return _position < _input_length;\n            };\n\n            this.next = function() {\n                var val = null;\n                if (this.hasNext()) {\n                    val = _input.charAt(_position);\n                    _position += 1;\n                }\n                return val;\n            };\n\n            this.peek = function(index) {\n                var val = null;\n                index = index || 0;\n                index += _position;\n                if (index >= 0 && index < _input_length) {\n                    val = _input.charAt(index);\n                }\n                return val;\n            };\n\n            this.peekCharCode = function(index) {\n                var val = 0;\n                index = index || 0;\n                index += _position;\n                if (index >= 0 && index < _input_length) {\n                    val = _input.charCodeAt(index);\n                }\n                return val;\n            };\n\n            this.test = function(pattern, index) {\n                index = index || 0;\n                pattern.lastIndex = _position + index;\n                return pattern.test(_input);\n            };\n\n            this.testChar = function(pattern, index) {\n                var val = this.peek(index);\n                return val !== null && pattern.test(val);\n            };\n\n            this.match = function(pattern) {\n                pattern.lastIndex = _position;\n                var pattern_match = pattern.exec(_input);\n                if (pattern_match && pattern_match.index === _position) {\n                    _position += pattern_match[0].length;\n                } else {\n                    pattern_match = null;\n                }\n                return pattern_match;\n            };\n        };\n\n        var Token = function(type, text, newlines, whitespace_before, parent) {\n            this.type = type;\n            this.text = text;\n            this.comments_before = [];\n            this.newlines = newlines || 0;\n            this.wanted_newline = newlines > 0;\n            this.whitespace_before = whitespace_before || '';\n            this.parent = parent || null;\n            this.opened = null;\n            this.directives = null;\n        };\n\n        function tokenizer(input_string, opts) {\n\n            var whitespace = \"\\n\\r\\t \".split('');\n            var digit = /[0-9]/;\n            var digit_bin = /[01]/;\n            var digit_oct = /[01234567]/;\n            var digit_hex = /[0123456789abcdefABCDEF]/;\n\n            this.positionable_operators = '!= !== % & && * ** + - / : < << <= == === > >= >> >>> ? ^ | ||'.split(' ');\n            var punct = this.positionable_operators.concat(\n                // non-positionable operators - these do not follow operator position settings\n                '! %= &= *= **= ++ += , -- -= /= :: <<= = => >>= >>>= ^= |= ~'.split(' '));\n\n            // words which should always start on new line.\n            this.line_starters = 'continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export'.split(',');\n            var reserved_words = this.line_starters.concat(['do', 'in', 'else', 'get', 'set', 'new', 'catch', 'finally', 'typeof', 'yield', 'async', 'await', 'from', 'as']);\n\n            //  /* ... */ comment ends with nearest */ or end of file\n            var block_comment_pattern = /([\\s\\S]*?)((?:\\*\\/)|$)/g;\n\n            // comment ends just before nearest linefeed or end of file\n            var comment_pattern = /([^\\n\\r\\u2028\\u2029]*)/g;\n\n            var directives_block_pattern = /\\/\\* beautify( \\w+[:]\\w+)+ \\*\\//g;\n            var directive_pattern = / (\\w+)[:](\\w+)/g;\n            var directives_end_ignore_pattern = /([\\s\\S]*?)((?:\\/\\*\\sbeautify\\signore:end\\s\\*\\/)|$)/g;\n\n            var template_pattern = /((<\\?php|<\\?=)[\\s\\S]*?\\?>)|(<%[\\s\\S]*?%>)/g;\n\n            var n_newlines, whitespace_before_token, in_html_comment, tokens;\n            var input;\n\n            this.tokenize = function() {\n                input = new InputScanner(input_string);\n                in_html_comment = false;\n                tokens = [];\n\n                var next, last;\n                var token_values;\n                var open = null;\n                var open_stack = [];\n                var comments = [];\n\n                while (!(last && last.type === 'TK_EOF')) {\n                    token_values = tokenize_next();\n                    next = new Token(token_values[1], token_values[0], n_newlines, whitespace_before_token);\n                    while (next.type === 'TK_COMMENT' || next.type === 'TK_BLOCK_COMMENT' || next.type === 'TK_UNKNOWN') {\n                        if (next.type === 'TK_BLOCK_COMMENT') {\n                            next.directives = token_values[2];\n                        }\n                        comments.push(next);\n                        token_values = tokenize_next();\n                        next = new Token(token_values[1], token_values[0], n_newlines, whitespace_before_token);\n                    }\n\n                    if (comments.length) {\n                        next.comments_before = comments;\n                        comments = [];\n                    }\n\n                    if (next.type === 'TK_START_BLOCK' || next.type === 'TK_START_EXPR') {\n                        next.parent = last;\n                        open_stack.push(open);\n                        open = next;\n                    } else if ((next.type === 'TK_END_BLOCK' || next.type === 'TK_END_EXPR') &&\n                        (open && (\n                            (next.text === ']' && open.text === '[') ||\n                            (next.text === ')' && open.text === '(') ||\n                            (next.text === '}' && open.text === '{')))) {\n                        next.parent = open.parent;\n                        next.opened = open;\n\n                        open = open_stack.pop();\n                    }\n\n                    tokens.push(next);\n                    last = next;\n                }\n\n                return tokens;\n            };\n\n            function get_directives(text) {\n                if (!text.match(directives_block_pattern)) {\n                    return null;\n                }\n\n                var directives = {};\n                directive_pattern.lastIndex = 0;\n                var directive_match = directive_pattern.exec(text);\n\n                while (directive_match) {\n                    directives[directive_match[1]] = directive_match[2];\n                    directive_match = directive_pattern.exec(text);\n                }\n\n                return directives;\n            }\n\n            function tokenize_next() {\n                var resulting_string;\n                var whitespace_on_this_line = [];\n\n                n_newlines = 0;\n                whitespace_before_token = '';\n\n                var c = input.next();\n\n                if (c === null) {\n                    return ['', 'TK_EOF'];\n                }\n\n                var last_token;\n                if (tokens.length) {\n                    last_token = tokens[tokens.length - 1];\n                } else {\n                    // For the sake of tokenizing we can pretend that there was on open brace to start\n                    last_token = new Token('TK_START_BLOCK', '{');\n                }\n\n                while (in_array(c, whitespace)) {\n\n                    if (acorn.newline.test(c)) {\n                        if (!(c === '\\n' && input.peek(-2) === '\\r')) {\n                            n_newlines += 1;\n                            whitespace_on_this_line = [];\n                        }\n                    } else {\n                        whitespace_on_this_line.push(c);\n                    }\n\n                    c = input.next();\n\n                    if (c === null) {\n                        return ['', 'TK_EOF'];\n                    }\n                }\n\n                if (whitespace_on_this_line.length) {\n                    whitespace_before_token = whitespace_on_this_line.join('');\n                }\n\n                if (digit.test(c) || (c === '.' && input.testChar(digit))) {\n                    var allow_decimal = true;\n                    var allow_e = true;\n                    var local_digit = digit;\n\n                    if (c === '0' && input.testChar(/[XxOoBb]/)) {\n                        // switch to hex/oct/bin number, no decimal or e, just hex/oct/bin digits\n                        allow_decimal = false;\n                        allow_e = false;\n                        if (input.testChar(/[Bb]/)) {\n                            local_digit = digit_bin;\n                        } else if (input.testChar(/[Oo]/)) {\n                            local_digit = digit_oct;\n                        } else {\n                            local_digit = digit_hex;\n                        }\n                        c += input.next();\n                    } else if (c === '.') {\n                        // Already have a decimal for this literal, don't allow another\n                        allow_decimal = false;\n                    } else {\n                        // we know this first loop will run.  It keeps the logic simpler.\n                        c = '';\n                        input.back();\n                    }\n\n                    // Add the digits\n                    while (input.testChar(local_digit)) {\n                        c += input.next();\n\n                        if (allow_decimal && input.peek() === '.') {\n                            c += input.next();\n                            allow_decimal = false;\n                        } else if (allow_e && input.testChar(/[Ee]/)) {\n                            c += input.next();\n\n                            if (input.testChar(/[+-]/)) {\n                                c += input.next();\n                            }\n\n                            allow_e = false;\n                            allow_decimal = false;\n                        }\n                    }\n\n                    return [c, 'TK_WORD'];\n                }\n\n                if (acorn.isIdentifierStart(input.peekCharCode(-1))) {\n                    if (input.hasNext()) {\n                        while (acorn.isIdentifierChar(input.peekCharCode())) {\n                            c += input.next();\n                            if (!input.hasNext()) {\n                                break;\n                            }\n                        }\n                    }\n\n                    if (!(last_token.type === 'TK_DOT' ||\n                            (last_token.type === 'TK_RESERVED' && in_array(last_token.text, ['set', 'get']))) &&\n                        in_array(c, reserved_words)) {\n                        if (c === 'in') { // hack for 'in' operator\n                            return [c, 'TK_OPERATOR'];\n                        }\n                        return [c, 'TK_RESERVED'];\n                    }\n\n                    return [c, 'TK_WORD'];\n                }\n\n                if (c === '(' || c === '[') {\n                    return [c, 'TK_START_EXPR'];\n                }\n\n                if (c === ')' || c === ']') {\n                    return [c, 'TK_END_EXPR'];\n                }\n\n                if (c === '{') {\n                    return [c, 'TK_START_BLOCK'];\n                }\n\n                if (c === '}') {\n                    return [c, 'TK_END_BLOCK'];\n                }\n\n                if (c === ';') {\n                    return [c, 'TK_SEMICOLON'];\n                }\n\n                if (c === '/') {\n                    var comment = '';\n                    var comment_match;\n                    // peek for comment /* ... */\n                    if (input.peek() === '*') {\n                        input.next();\n                        comment_match = input.match(block_comment_pattern);\n                        comment = '/*' + comment_match[0];\n                        var directives = get_directives(comment);\n                        if (directives && directives.ignore === 'start') {\n                            comment_match = input.match(directives_end_ignore_pattern);\n                            comment += comment_match[0];\n                        }\n                        comment = comment.replace(acorn.allLineBreaks, '\\n');\n                        return [comment, 'TK_BLOCK_COMMENT', directives];\n                    }\n                    // peek for comment // ...\n                    if (input.peek() === '/') {\n                        input.next();\n                        comment_match = input.match(comment_pattern);\n                        comment = '//' + comment_match[0];\n                        return [comment, 'TK_COMMENT'];\n                    }\n\n                }\n\n                var startXmlRegExp = /<()([-a-zA-Z:0-9_.]+|{[\\s\\S]+?}|!\\[CDATA\\[[\\s\\S]*?\\]\\])(\\s+{[\\s\\S]+?}|\\s+[-a-zA-Z:0-9_.]+|\\s+[-a-zA-Z:0-9_.]+\\s*=\\s*('[^']*'|\"[^\"]*\"|{[\\s\\S]+?}))*\\s*(\\/?)\\s*>/g;\n\n                if (c === '`' || c === \"'\" || c === '\"' || // string\n                    (\n                        (c === '/') || // regexp\n                        (opts.e4x && c === \"<\" && input.test(startXmlRegExp, -1)) // xml\n                    ) && ( // regex and xml can only appear in specific locations during parsing\n                        (last_token.type === 'TK_RESERVED' && in_array(last_token.text, ['return', 'case', 'throw', 'else', 'do', 'typeof', 'yield'])) ||\n                        (last_token.type === 'TK_END_EXPR' && last_token.text === ')' &&\n                            last_token.parent && last_token.parent.type === 'TK_RESERVED' && in_array(last_token.parent.text, ['if', 'while', 'for'])) ||\n                        (in_array(last_token.type, ['TK_COMMENT', 'TK_START_EXPR', 'TK_START_BLOCK',\n                            'TK_END_BLOCK', 'TK_OPERATOR', 'TK_EQUALS', 'TK_EOF', 'TK_SEMICOLON', 'TK_COMMA'\n                        ]))\n                    )) {\n\n                    var sep = c,\n                        esc = false,\n                        has_char_escapes = false;\n\n                    resulting_string = c;\n\n                    if (sep === '/') {\n                        //\n                        // handle regexp\n                        //\n                        var in_char_class = false;\n                        while (input.hasNext() &&\n                            ((esc || in_char_class || input.peek() !== sep) &&\n                                !input.testChar(acorn.newline))) {\n                            resulting_string += input.peek();\n                            if (!esc) {\n                                esc = input.peek() === '\\\\';\n                                if (input.peek() === '[') {\n                                    in_char_class = true;\n                                } else if (input.peek() === ']') {\n                                    in_char_class = false;\n                                }\n                            } else {\n                                esc = false;\n                            }\n                            input.next();\n                        }\n                    } else if (opts.e4x && sep === '<') {\n                        //\n                        // handle e4x xml literals\n                        //\n\n                        var xmlRegExp = /[\\s\\S]*?<(\\/?)([-a-zA-Z:0-9_.]+|{[\\s\\S]+?}|!\\[CDATA\\[[\\s\\S]*?\\]\\])(\\s+{[\\s\\S]+?}|\\s+[-a-zA-Z:0-9_.]+|\\s+[-a-zA-Z:0-9_.]+\\s*=\\s*('[^']*'|\"[^\"]*\"|{[\\s\\S]+?}))*\\s*(\\/?)\\s*>/g;\n                        input.back();\n                        var xmlStr = '';\n                        var match = input.match(startXmlRegExp);\n                        if (match) {\n                            // Trim root tag to attempt to\n                            var rootTag = match[2].replace(/^{\\s+/, '{').replace(/\\s+}$/, '}');\n                            var isCurlyRoot = rootTag.indexOf('{') === 0;\n                            var depth = 0;\n                            while (match) {\n                                var isEndTag = !!match[1];\n                                var tagName = match[2];\n                                var isSingletonTag = (!!match[match.length - 1]) || (tagName.slice(0, 8) === \"![CDATA[\");\n                                if (!isSingletonTag &&\n                                    (tagName === rootTag || (isCurlyRoot && tagName.replace(/^{\\s+/, '{').replace(/\\s+}$/, '}')))) {\n                                    if (isEndTag) {\n                                        --depth;\n                                    } else {\n                                        ++depth;\n                                    }\n                                }\n                                xmlStr += match[0];\n                                if (depth <= 0) {\n                                    break;\n                                }\n                                match = input.match(xmlRegExp);\n                            }\n                            // if we didn't close correctly, keep unformatted.\n                            if (!match) {\n                                xmlStr += input.match(/[\\s\\S]*/g)[0];\n                            }\n                            xmlStr = xmlStr.replace(acorn.allLineBreaks, '\\n');\n                            return [xmlStr, \"TK_STRING\"];\n                        }\n                    } else {\n                        //\n                        // handle string\n                        //\n                        var parse_string = function(delimiter, allow_unescaped_newlines, start_sub) {\n                            // Template strings can travers lines without escape characters.\n                            // Other strings cannot\n                            var current_char;\n                            while (input.hasNext()) {\n                                current_char = input.peek();\n                                if (!(esc || (current_char !== delimiter &&\n                                        (allow_unescaped_newlines || !acorn.newline.test(current_char))))) {\n                                    break;\n                                }\n\n                                // Handle \\r\\n linebreaks after escapes or in template strings\n                                if ((esc || allow_unescaped_newlines) && acorn.newline.test(current_char)) {\n                                    if (current_char === '\\r' && input.peek(1) === '\\n') {\n                                        input.next();\n                                        current_char = input.peek();\n                                    }\n                                    resulting_string += '\\n';\n                                } else {\n                                    resulting_string += current_char;\n                                }\n\n                                if (esc) {\n                                    if (current_char === 'x' || current_char === 'u') {\n                                        has_char_escapes = true;\n                                    }\n                                    esc = false;\n                                } else {\n                                    esc = current_char === '\\\\';\n                                }\n\n                                input.next();\n\n                                if (start_sub && resulting_string.indexOf(start_sub, resulting_string.length - start_sub.length) !== -1) {\n                                    if (delimiter === '`') {\n                                        parse_string('}', allow_unescaped_newlines, '`');\n                                    } else {\n                                        parse_string('`', allow_unescaped_newlines, '${');\n                                    }\n                                }\n                            }\n                        };\n\n                        if (sep === '`') {\n                            parse_string('`', true, '${');\n                        } else {\n                            parse_string(sep);\n                        }\n                    }\n\n                    if (has_char_escapes && opts.unescape_strings) {\n                        resulting_string = unescape_string(resulting_string);\n                    }\n\n                    if (input.peek() === sep) {\n                        resulting_string += sep;\n                        input.next();\n\n                        if (sep === '/') {\n                            // regexps may have modifiers /regexp/MOD , so fetch those, too\n                            // Only [gim] are valid, but if the user puts in garbage, do what we can to take it.\n                            while (input.hasNext() && acorn.isIdentifierStart(input.peekCharCode())) {\n                                resulting_string += input.next();\n                            }\n                        }\n                    }\n                    return [resulting_string, 'TK_STRING'];\n                }\n\n                if (c === '#') {\n\n                    if (tokens.length === 0 && input.peek() === '!') {\n                        // shebang\n                        resulting_string = c;\n                        while (input.hasNext() && c !== '\\n') {\n                            c = input.next();\n                            resulting_string += c;\n                        }\n                        return [trim(resulting_string) + '\\n', 'TK_UNKNOWN'];\n                    }\n\n\n\n                    // Spidermonkey-specific sharp variables for circular references\n                    // https://developer.mozilla.org/En/Sharp_variables_in_JavaScript\n                    // http://mxr.mozilla.org/mozilla-central/source/js/src/jsscan.cpp around line 1935\n                    var sharp = '#';\n                    if (input.hasNext() && input.testChar(digit)) {\n                        do {\n                            c = input.next();\n                            sharp += c;\n                        } while (input.hasNext() && c !== '#' && c !== '=');\n                        if (c === '#') {\n                            //\n                        } else if (input.peek() === '[' && input.peek(1) === ']') {\n                            sharp += '[]';\n                            input.next();\n                            input.next();\n                        } else if (input.peek() === '{' && input.peek(1) === '}') {\n                            sharp += '{}';\n                            input.next();\n                            input.next();\n                        }\n                        return [sharp, 'TK_WORD'];\n                    }\n                }\n\n                if (c === '<' && (input.peek() === '?' || input.peek() === '%')) {\n                    input.back();\n                    var template_match = input.match(template_pattern);\n                    if (template_match) {\n                        c = template_match[0];\n                        c = c.replace(acorn.allLineBreaks, '\\n');\n                        return [c, 'TK_STRING'];\n                    }\n                }\n\n                if (c === '<' && input.match(/\\!--/g)) {\n                    c = '<!--';\n                    while (input.hasNext() && !input.testChar(acorn.newline)) {\n                        c += input.next();\n                    }\n                    in_html_comment = true;\n                    return [c, 'TK_COMMENT'];\n                }\n\n                if (c === '-' && in_html_comment && input.match(/->/g)) {\n                    in_html_comment = false;\n                    return ['-->', 'TK_COMMENT'];\n                }\n\n                if (c === '.') {\n                    return [c, 'TK_DOT'];\n                }\n\n                if (in_array(c, punct)) {\n                    while (input.hasNext() && in_array(c + input.peek(), punct)) {\n                        c += input.next();\n                        if (!input.hasNext()) {\n                            break;\n                        }\n                    }\n\n                    if (c === ',') {\n                        return [c, 'TK_COMMA'];\n                    } else if (c === '=') {\n                        return [c, 'TK_EQUALS'];\n                    } else {\n                        return [c, 'TK_OPERATOR'];\n                    }\n                }\n\n                return [c, 'TK_UNKNOWN'];\n            }\n\n\n            function unescape_string(s) {\n                // You think that a regex would work for this\n                // return s.replace(/\\\\x([0-9a-f]{2})/gi, function(match, val) {\n                //         return String.fromCharCode(parseInt(val, 16));\n                //     })\n                // However, dealing with '\\xff', '\\\\xff', '\\\\\\xff' makes this more fun.\n                var out = '',\n                    escaped = 0;\n\n                var input_scan = new InputScanner(s);\n                var matched = null;\n\n                while (input_scan.hasNext()) {\n                    // Keep any whitespace, non-slash characters\n                    // also keep slash pairs.\n                    matched = input_scan.match(/([\\s]|[^\\\\]|\\\\\\\\)+/g);\n\n                    if (matched) {\n                        out += matched[0];\n                    }\n\n                    if (input_scan.peek() === '\\\\') {\n                        input_scan.next();\n                        if (input_scan.peek() === 'x') {\n                            matched = input_scan.match(/x([0-9A-Fa-f]{2})/g);\n                        } else if (input_scan.peek() === 'u') {\n                            matched = input_scan.match(/u([0-9A-Fa-f]{4})/g);\n                        } else {\n                            out += '\\\\';\n                            if (input_scan.hasNext()) {\n                                out += input_scan.next();\n                            }\n                            continue;\n                        }\n\n                        // If there's some error decoding, return the original string\n                        if (!matched) {\n                            return s;\n                        }\n\n                        escaped = parseInt(matched[1], 16);\n\n                        if (escaped > 0x7e && escaped <= 0xff && matched[0].indexOf('x') === 0) {\n                            // we bail out on \\x7f..\\xff,\n                            // leaving whole string escaped,\n                            // as it's probably completely binary\n                            return s;\n                        } else if (escaped >= 0x00 && escaped < 0x20) {\n                            // leave 0x00...0x1f escaped\n                            out += '\\\\' + matched[0];\n                            continue;\n                        } else if (escaped === 0x22 || escaped === 0x27 || escaped === 0x5c) {\n                            // single-quote, apostrophe, backslash - escape these\n                            out += '\\\\' + String.fromCharCode(escaped);\n                        } else {\n                            out += String.fromCharCode(escaped);\n                        }\n                    }\n                }\n\n                return out;\n            }\n        }\n\n        var beautifier = new Beautifier(js_source_text, options);\n        return beautifier.beautify();\n\n    }\n\n    if (typeof define === \"function\" && define.amd) {\n        // Add support for AMD ( https://github.com/amdjs/amdjs-api/wiki/AMD#defineamd-property- )\n        define([], function() {\n            return { js_beautify: js_beautify };\n        });\n    } else if (typeof exports !== \"undefined\") {\n        // Add support for CommonJS. Just put this file somewhere on your require.paths\n        // and you will be able to `var js_beautify = require(\"beautify\").js_beautify`.\n        exports.js_beautify = js_beautify;\n    } else if (typeof window !== \"undefined\") {\n        // If we're running a web page and don't have either of the above, add our one global\n        window.js_beautify = js_beautify;\n    } else if (typeof global !== \"undefined\") {\n        // If we don't even have window, try global.\n        global.js_beautify = js_beautify;\n    }\n\n}());","var pbUtils = {\n  _descargar: function(textOrBlob, name, type = undefined) {\n    var a = document.getElementById(\"placeholder\");\n    var file;\n    if ((typeof textOrBlob) == \"string\") {\n      file = new Blob([textOrBlob], { type: type });\n    }\n    else {\n      file = textOrBlob;\n    }\n    a.href = URL.createObjectURL(file);\n    a.download = name;\n    a.click();\n  },\n\n  obtenerSolucionXml: function(withIds) {\n    var text = Blockly.Xml.domToPrettyText(Blockly.Xml.workspaceToDom(Blockly.mainWorkspace))\n    return withIds ? text : text.replace(/ id=\"[^\"]*\"/g, \"\");\n  },\n\n  cargarSolucionXml: function(codigo) {\n    var workspace = Blockly.getMainWorkspace();\n    workspace.clear();\n    var xml = Blockly.Xml.textToDom(codigo);\n    Blockly.Xml.domToWorkspace(xml, workspace);\n  },\n\n  guardarSolucionEnUrl: function() {\n    var xml = this.obtenerSolucionXml(true);\n    var codigo = btoa(xml);\n    window.location.href = window.location.href.split(\"?\")[0] + \"?codigo=\" + encodeURIComponent(codigo);\n    console.log(\"Se guardó correctamente la solución, ahora se puede recargar la página sin perder el workspace.\");\n  },\n\n  // Por ejemplo utils.obtenerPuntosDePizarra(\"pizarraFantasma\") ó bien utils.obtenerPuntosDePizarra(\"automata.pizarra\")\n  obtenerPuntosDePizarra: function(pizarra, unificar = false) {\n    return PilasEngineBloques.__container__.cache['service:pilas'].evaluar(`DibujoLineal.desdePizarra(pilas.escena_actual().${pizarra}, ${unificar});`).stringPuntos();\n  },\n\n  obtenerBloquesSvg: function() {\n    var workspace = Blockly.getMainWorkspace();\n    var aleph = workspace.svgBlockCanvas_.cloneNode(true);\n    aleph.removeAttribute(\"width\");\n    aleph.removeAttribute(\"height\");\n    aleph.removeAttribute(\"transform\");\n\n    var cssContent = Blockly.Css.CONTENT.join('').replace(/font-family: sans-serif/g, \"font-weight:bold;font-family: Arial\");\n    var css = '<defs><style type=\"text/css\" xmlns=\"http://www.w3.org/1999/xhtml\"><![CDATA[' + cssContent + ']]></style></defs>';\n\n    if (aleph.children[0] !== undefined) {\n      aleph.children[0].removeAttribute(\"transform\");\n    }\n\n    aleph.querySelectorAll(\".blocklyPathLight\").forEach(function (elem) { elem.setAttribute(\"fill\", \"none\") });\n    if (document.getElementsByClassName(\"aplicar-modo-lectura-simple\").length > 0) {\n      aleph.querySelectorAll(\".blocklyText\").forEach(function (elem) { elem.textContent = elem.textContent.toUpperCase() });\n    }\n\n    var bbox = document.getElementsByClassName(\"blocklyBlockCanvas\")[0].getBBox();\n    var xmlContent = new XMLSerializer().serializeToString(aleph);\n    xml = '<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"' + bbox.width + '\" height=\"' + bbox.height + '\" viewBox=\"0 0 ' + bbox.width + ' ' + bbox.height + '\">' + css + '<rect width=\"100%\" height=\"100%\" fill=\"white\"></rect>' + xmlContent + '</svg>';\n    this._descargar(xml, 'bloques.svg', 'image/svg+xml');\n  },\n\n  eliminarFondo: function() {\n    PilasEngineBloques.__container__.cache['service:pilas'].evaluar(`pilas.escena_actual().fondo.eliminar();`);\n    document.getElementsByClassName(\"content-spinner\")[0].innerHTML = '';\n    document.getElementsByClassName(\"iframe-pilas-canvas\")[0].style['background-color'] = 'white';\n  },\n\n  obtenerEscenaPng: function() {\n    var pilasIframe = document.querySelector('.iframe-pilas-canvas').contentDocument;\n    var pilasCanvas = pilasIframe.querySelector('canvas');\n    pilasCanvas.toBlob(function (blob) { pbUtils._descargar(blob, 'escena.png')});\n  }\n}\n","define(\"@babel/runtime/helpers/esm/AsyncGenerator\", [\"exports\", \"@babel/runtime/helpers/esm/AwaitValue\"], function (_exports, _AwaitValue) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = AsyncGenerator;\n\n  function AsyncGenerator(gen) {\n    var front, back;\n\n    function send(key, arg) {\n      return new Promise(function (resolve, reject) {\n        var request = {\n          key: key,\n          arg: arg,\n          resolve: resolve,\n          reject: reject,\n          next: null\n        };\n\n        if (back) {\n          back = back.next = request;\n        } else {\n          front = back = request;\n          resume(key, arg);\n        }\n      });\n    }\n\n    function resume(key, arg) {\n      try {\n        var result = gen[key](arg);\n        var value = result.value;\n        var wrappedAwait = value instanceof _AwaitValue.default;\n        Promise.resolve(wrappedAwait ? value.wrapped : value).then(function (arg) {\n          if (wrappedAwait) {\n            resume(\"next\", arg);\n            return;\n          }\n\n          settle(result.done ? \"return\" : \"normal\", arg);\n        }, function (err) {\n          resume(\"throw\", err);\n        });\n      } catch (err) {\n        settle(\"throw\", err);\n      }\n    }\n\n    function settle(type, value) {\n      switch (type) {\n        case \"return\":\n          front.resolve({\n            value: value,\n            done: true\n          });\n          break;\n\n        case \"throw\":\n          front.reject(value);\n          break;\n\n        default:\n          front.resolve({\n            value: value,\n            done: false\n          });\n          break;\n      }\n\n      front = front.next;\n\n      if (front) {\n        resume(front.key, front.arg);\n      } else {\n        back = null;\n      }\n    }\n\n    this._invoke = send;\n\n    if (typeof gen[\"return\"] !== \"function\") {\n      this[\"return\"] = undefined;\n    }\n  }\n\n  if (typeof Symbol === \"function\" && Symbol.asyncIterator) {\n    AsyncGenerator.prototype[Symbol.asyncIterator] = function () {\n      return this;\n    };\n  }\n\n  AsyncGenerator.prototype.next = function (arg) {\n    return this._invoke(\"next\", arg);\n  };\n\n  AsyncGenerator.prototype[\"throw\"] = function (arg) {\n    return this._invoke(\"throw\", arg);\n  };\n\n  AsyncGenerator.prototype[\"return\"] = function (arg) {\n    return this._invoke(\"return\", arg);\n  };\n});","define(\"@babel/runtime/helpers/esm/AwaitValue\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _AwaitValue;\n\n  function _AwaitValue(value) {\n    this.wrapped = value;\n  }\n});","define(\"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _applyDecoratedDescriptor;\n\n  function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) {\n    var desc = {};\n    Object.keys(descriptor).forEach(function (key) {\n      desc[key] = descriptor[key];\n    });\n    desc.enumerable = !!desc.enumerable;\n    desc.configurable = !!desc.configurable;\n\n    if ('value' in desc || desc.initializer) {\n      desc.writable = true;\n    }\n\n    desc = decorators.slice().reverse().reduce(function (desc, decorator) {\n      return decorator(target, property, desc) || desc;\n    }, desc);\n\n    if (context && desc.initializer !== void 0) {\n      desc.value = desc.initializer ? desc.initializer.call(context) : void 0;\n      desc.initializer = undefined;\n    }\n\n    if (desc.initializer === void 0) {\n      Object.defineProperty(target, property, desc);\n      desc = null;\n    }\n\n    return desc;\n  }\n});","define(\"@babel/runtime/helpers/esm/arrayWithHoles\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _arrayWithHoles;\n\n  function _arrayWithHoles(arr) {\n    if (Array.isArray(arr)) return arr;\n  }\n});","define(\"@babel/runtime/helpers/esm/arrayWithoutHoles\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _arrayWithoutHoles;\n\n  function _arrayWithoutHoles(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    }\n  }\n});","define(\"@babel/runtime/helpers/esm/assertThisInitialized\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _assertThisInitialized;\n\n  function _assertThisInitialized(self) {\n    if (self === void 0) {\n      throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n    }\n\n    return self;\n  }\n});","define(\"@babel/runtime/helpers/esm/asyncGeneratorDelegate\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _asyncGeneratorDelegate;\n\n  function _asyncGeneratorDelegate(inner, awaitWrap) {\n    var iter = {},\n        waiting = false;\n\n    function pump(key, value) {\n      waiting = true;\n      value = new Promise(function (resolve) {\n        resolve(inner[key](value));\n      });\n      return {\n        done: false,\n        value: awaitWrap(value)\n      };\n    }\n\n    ;\n\n    if (typeof Symbol === \"function\" && Symbol.iterator) {\n      iter[Symbol.iterator] = function () {\n        return this;\n      };\n    }\n\n    iter.next = function (value) {\n      if (waiting) {\n        waiting = false;\n        return value;\n      }\n\n      return pump(\"next\", value);\n    };\n\n    if (typeof inner[\"throw\"] === \"function\") {\n      iter[\"throw\"] = function (value) {\n        if (waiting) {\n          waiting = false;\n          throw value;\n        }\n\n        return pump(\"throw\", value);\n      };\n    }\n\n    if (typeof inner[\"return\"] === \"function\") {\n      iter[\"return\"] = function (value) {\n        return pump(\"return\", value);\n      };\n    }\n\n    return iter;\n  }\n});","define(\"@babel/runtime/helpers/esm/asyncIterator\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _asyncIterator;\n\n  function _asyncIterator(iterable) {\n    var method;\n\n    if (typeof Symbol !== \"undefined\") {\n      if (Symbol.asyncIterator) {\n        method = iterable[Symbol.asyncIterator];\n        if (method != null) return method.call(iterable);\n      }\n\n      if (Symbol.iterator) {\n        method = iterable[Symbol.iterator];\n        if (method != null) return method.call(iterable);\n      }\n    }\n\n    throw new TypeError(\"Object is not async iterable\");\n  }\n});","define(\"@babel/runtime/helpers/esm/asyncToGenerator\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _asyncToGenerator;\n\n  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n    try {\n      var info = gen[key](arg);\n      var value = info.value;\n    } catch (error) {\n      reject(error);\n      return;\n    }\n\n    if (info.done) {\n      resolve(value);\n    } else {\n      Promise.resolve(value).then(_next, _throw);\n    }\n  }\n\n  function _asyncToGenerator(fn) {\n    return function () {\n      var self = this,\n          args = arguments;\n      return new Promise(function (resolve, reject) {\n        var gen = fn.apply(self, args);\n\n        function _next(value) {\n          asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n        }\n\n        function _throw(err) {\n          asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n        }\n\n        _next(undefined);\n      });\n    };\n  }\n});","define(\"@babel/runtime/helpers/esm/awaitAsyncGenerator\", [\"exports\", \"@babel/runtime/helpers/esm/AwaitValue\"], function (_exports, _AwaitValue) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _awaitAsyncGenerator;\n\n  function _awaitAsyncGenerator(value) {\n    return new _AwaitValue.default(value);\n  }\n});","define(\"@babel/runtime/helpers/esm/classCallCheck\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _classCallCheck;\n\n  function _classCallCheck(instance, Constructor) {\n    if (!(instance instanceof Constructor)) {\n      throw new TypeError(\"Cannot call a class as a function\");\n    }\n  }\n});","define(\"@babel/runtime/helpers/esm/classNameTDZError\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _classNameTDZError;\n\n  function _classNameTDZError(name) {\n    throw new Error(\"Class \\\"\" + name + \"\\\" cannot be referenced in computed property keys.\");\n  }\n});","define(\"@babel/runtime/helpers/esm/classPrivateFieldGet\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _classPrivateFieldGet;\n\n  function _classPrivateFieldGet(receiver, privateMap) {\n    if (!privateMap.has(receiver)) {\n      throw new TypeError(\"attempted to get private field on non-instance\");\n    }\n\n    var descriptor = privateMap.get(receiver);\n\n    if (descriptor.get) {\n      return descriptor.get.call(receiver);\n    }\n\n    return descriptor.value;\n  }\n});","define(\"@babel/runtime/helpers/esm/classPrivateFieldLooseBase\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _classPrivateFieldBase;\n\n  function _classPrivateFieldBase(receiver, privateKey) {\n    if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {\n      throw new TypeError(\"attempted to use private field on non-instance\");\n    }\n\n    return receiver;\n  }\n});","define(\"@babel/runtime/helpers/esm/classPrivateFieldLooseKey\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _classPrivateFieldKey;\n  var id = 0;\n\n  function _classPrivateFieldKey(name) {\n    return \"__private_\" + id++ + \"_\" + name;\n  }\n});","define(\"@babel/runtime/helpers/esm/classPrivateFieldSet\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _classPrivateFieldSet;\n\n  function _classPrivateFieldSet(receiver, privateMap, value) {\n    if (!privateMap.has(receiver)) {\n      throw new TypeError(\"attempted to set private field on non-instance\");\n    }\n\n    var descriptor = privateMap.get(receiver);\n\n    if (descriptor.set) {\n      descriptor.set.call(receiver, value);\n    } else {\n      if (!descriptor.writable) {\n        throw new TypeError(\"attempted to set read only private field\");\n      }\n\n      descriptor.value = value;\n    }\n\n    return value;\n  }\n});","define(\"@babel/runtime/helpers/esm/classPrivateMethodGet\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _classPrivateMethodGet;\n\n  function _classPrivateMethodGet(receiver, privateSet, fn) {\n    if (!privateSet.has(receiver)) {\n      throw new TypeError(\"attempted to get private field on non-instance\");\n    }\n\n    return fn;\n  }\n});","define(\"@babel/runtime/helpers/esm/classPrivateMethodSet\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _classPrivateMethodSet;\n\n  function _classPrivateMethodSet() {\n    throw new TypeError(\"attempted to reassign private method\");\n  }\n});","define(\"@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _classStaticPrivateFieldSpecGet;\n\n  function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {\n    if (receiver !== classConstructor) {\n      throw new TypeError(\"Private static access of wrong provenance\");\n    }\n\n    return descriptor.value;\n  }\n});","define(\"@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _classStaticPrivateFieldSpecSet;\n\n  function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) {\n    if (receiver !== classConstructor) {\n      throw new TypeError(\"Private static access of wrong provenance\");\n    }\n\n    if (!descriptor.writable) {\n      throw new TypeError(\"attempted to set read only private field\");\n    }\n\n    descriptor.value = value;\n    return value;\n  }\n});","define(\"@babel/runtime/helpers/esm/classStaticPrivateMethodGet\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _classStaticPrivateMethodGet;\n\n  function _classStaticPrivateMethodGet(receiver, classConstructor, method) {\n    if (receiver !== classConstructor) {\n      throw new TypeError(\"Private static access of wrong provenance\");\n    }\n\n    return method;\n  }\n});","define(\"@babel/runtime/helpers/esm/classStaticPrivateMethodSet\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _classStaticPrivateMethodSet;\n\n  function _classStaticPrivateMethodSet() {\n    throw new TypeError(\"attempted to set read only static private field\");\n  }\n});","define(\"@babel/runtime/helpers/esm/construct\", [\"exports\", \"@babel/runtime/helpers/esm/setPrototypeOf\"], function (_exports, _setPrototypeOf) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _construct;\n\n  function isNativeReflectConstruct() {\n    if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n    if (Reflect.construct.sham) return false;\n    if (typeof Proxy === \"function\") return true;\n\n    try {\n      Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));\n      return true;\n    } catch (e) {\n      return false;\n    }\n  }\n\n  function _construct(Parent, args, Class) {\n    if (isNativeReflectConstruct()) {\n      _exports.default = _construct = Reflect.construct;\n    } else {\n      _exports.default = _construct = function _construct(Parent, args, Class) {\n        var a = [null];\n        a.push.apply(a, args);\n        var Constructor = Function.bind.apply(Parent, a);\n        var instance = new Constructor();\n        if (Class) (0, _setPrototypeOf.default)(instance, Class.prototype);\n        return instance;\n      };\n    }\n\n    return _construct.apply(null, arguments);\n  }\n});","define(\"@babel/runtime/helpers/esm/createClass\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _createClass;\n\n  function _defineProperties(target, props) {\n    for (var i = 0; i < props.length; i++) {\n      var descriptor = props[i];\n      descriptor.enumerable = descriptor.enumerable || false;\n      descriptor.configurable = true;\n      if (\"value\" in descriptor) descriptor.writable = true;\n      Object.defineProperty(target, descriptor.key, descriptor);\n    }\n  }\n\n  function _createClass(Constructor, protoProps, staticProps) {\n    if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n    if (staticProps) _defineProperties(Constructor, staticProps);\n    return Constructor;\n  }\n});","define(\"@babel/runtime/helpers/esm/decorate\", [\"exports\", \"@babel/runtime/helpers/esm/toArray\", \"@babel/runtime/helpers/esm/toPropertyKey\"], function (_exports, _toArray, _toPropertyKey) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _decorate;\n\n  function _decorate(decorators, factory, superClass, mixins) {\n    var api = _getDecoratorsApi();\n\n    if (mixins) {\n      for (var i = 0; i < mixins.length; i++) {\n        api = mixins[i](api);\n      }\n    }\n\n    var r = factory(function initialize(O) {\n      api.initializeInstanceElements(O, decorated.elements);\n    }, superClass);\n    var decorated = api.decorateClass(_coalesceClassElements(r.d.map(_createElementDescriptor)), decorators);\n    api.initializeClassElements(r.F, decorated.elements);\n    return api.runClassFinishers(r.F, decorated.finishers);\n  }\n\n  function _getDecoratorsApi() {\n    _getDecoratorsApi = function _getDecoratorsApi() {\n      return api;\n    };\n\n    var api = {\n      elementsDefinitionOrder: [[\"method\"], [\"field\"]],\n      initializeInstanceElements: function initializeInstanceElements(O, elements) {\n        [\"method\", \"field\"].forEach(function (kind) {\n          elements.forEach(function (element) {\n            if (element.kind === kind && element.placement === \"own\") {\n              this.defineClassElement(O, element);\n            }\n          }, this);\n        }, this);\n      },\n      initializeClassElements: function initializeClassElements(F, elements) {\n        var proto = F.prototype;\n        [\"method\", \"field\"].forEach(function (kind) {\n          elements.forEach(function (element) {\n            var placement = element.placement;\n\n            if (element.kind === kind && (placement === \"static\" || placement === \"prototype\")) {\n              var receiver = placement === \"static\" ? F : proto;\n              this.defineClassElement(receiver, element);\n            }\n          }, this);\n        }, this);\n      },\n      defineClassElement: function defineClassElement(receiver, element) {\n        var descriptor = element.descriptor;\n\n        if (element.kind === \"field\") {\n          var initializer = element.initializer;\n          descriptor = {\n            enumerable: descriptor.enumerable,\n            writable: descriptor.writable,\n            configurable: descriptor.configurable,\n            value: initializer === void 0 ? void 0 : initializer.call(receiver)\n          };\n        }\n\n        Object.defineProperty(receiver, element.key, descriptor);\n      },\n      decorateClass: function decorateClass(elements, decorators) {\n        var newElements = [];\n        var finishers = [];\n        var placements = {\n          \"static\": [],\n          prototype: [],\n          own: []\n        };\n        elements.forEach(function (element) {\n          this.addElementPlacement(element, placements);\n        }, this);\n        elements.forEach(function (element) {\n          if (!_hasDecorators(element)) return newElements.push(element);\n          var elementFinishersExtras = this.decorateElement(element, placements);\n          newElements.push(elementFinishersExtras.element);\n          newElements.push.apply(newElements, elementFinishersExtras.extras);\n          finishers.push.apply(finishers, elementFinishersExtras.finishers);\n        }, this);\n\n        if (!decorators) {\n          return {\n            elements: newElements,\n            finishers: finishers\n          };\n        }\n\n        var result = this.decorateConstructor(newElements, decorators);\n        finishers.push.apply(finishers, result.finishers);\n        result.finishers = finishers;\n        return result;\n      },\n      addElementPlacement: function addElementPlacement(element, placements, silent) {\n        var keys = placements[element.placement];\n\n        if (!silent && keys.indexOf(element.key) !== -1) {\n          throw new TypeError(\"Duplicated element (\" + element.key + \")\");\n        }\n\n        keys.push(element.key);\n      },\n      decorateElement: function decorateElement(element, placements) {\n        var extras = [];\n        var finishers = [];\n\n        for (var decorators = element.decorators, i = decorators.length - 1; i >= 0; i--) {\n          var keys = placements[element.placement];\n          keys.splice(keys.indexOf(element.key), 1);\n          var elementObject = this.fromElementDescriptor(element);\n          var elementFinisherExtras = this.toElementFinisherExtras((0, decorators[i])(elementObject) || elementObject);\n          element = elementFinisherExtras.element;\n          this.addElementPlacement(element, placements);\n\n          if (elementFinisherExtras.finisher) {\n            finishers.push(elementFinisherExtras.finisher);\n          }\n\n          var newExtras = elementFinisherExtras.extras;\n\n          if (newExtras) {\n            for (var j = 0; j < newExtras.length; j++) {\n              this.addElementPlacement(newExtras[j], placements);\n            }\n\n            extras.push.apply(extras, newExtras);\n          }\n        }\n\n        return {\n          element: element,\n          finishers: finishers,\n          extras: extras\n        };\n      },\n      decorateConstructor: function decorateConstructor(elements, decorators) {\n        var finishers = [];\n\n        for (var i = decorators.length - 1; i >= 0; i--) {\n          var obj = this.fromClassDescriptor(elements);\n          var elementsAndFinisher = this.toClassDescriptor((0, decorators[i])(obj) || obj);\n\n          if (elementsAndFinisher.finisher !== undefined) {\n            finishers.push(elementsAndFinisher.finisher);\n          }\n\n          if (elementsAndFinisher.elements !== undefined) {\n            elements = elementsAndFinisher.elements;\n\n            for (var j = 0; j < elements.length - 1; j++) {\n              for (var k = j + 1; k < elements.length; k++) {\n                if (elements[j].key === elements[k].key && elements[j].placement === elements[k].placement) {\n                  throw new TypeError(\"Duplicated element (\" + elements[j].key + \")\");\n                }\n              }\n            }\n          }\n        }\n\n        return {\n          elements: elements,\n          finishers: finishers\n        };\n      },\n      fromElementDescriptor: function fromElementDescriptor(element) {\n        var obj = {\n          kind: element.kind,\n          key: element.key,\n          placement: element.placement,\n          descriptor: element.descriptor\n        };\n        var desc = {\n          value: \"Descriptor\",\n          configurable: true\n        };\n        Object.defineProperty(obj, Symbol.toStringTag, desc);\n        if (element.kind === \"field\") obj.initializer = element.initializer;\n        return obj;\n      },\n      toElementDescriptors: function toElementDescriptors(elementObjects) {\n        if (elementObjects === undefined) return;\n        return (0, _toArray.default)(elementObjects).map(function (elementObject) {\n          var element = this.toElementDescriptor(elementObject);\n          this.disallowProperty(elementObject, \"finisher\", \"An element descriptor\");\n          this.disallowProperty(elementObject, \"extras\", \"An element descriptor\");\n          return element;\n        }, this);\n      },\n      toElementDescriptor: function toElementDescriptor(elementObject) {\n        var kind = String(elementObject.kind);\n\n        if (kind !== \"method\" && kind !== \"field\") {\n          throw new TypeError('An element descriptor\\'s .kind property must be either \"method\" or' + ' \"field\", but a decorator created an element descriptor with' + ' .kind \"' + kind + '\"');\n        }\n\n        var key = (0, _toPropertyKey.default)(elementObject.key);\n        var placement = String(elementObject.placement);\n\n        if (placement !== \"static\" && placement !== \"prototype\" && placement !== \"own\") {\n          throw new TypeError('An element descriptor\\'s .placement property must be one of \"static\",' + ' \"prototype\" or \"own\", but a decorator created an element descriptor' + ' with .placement \"' + placement + '\"');\n        }\n\n        var descriptor = elementObject.descriptor;\n        this.disallowProperty(elementObject, \"elements\", \"An element descriptor\");\n        var element = {\n          kind: kind,\n          key: key,\n          placement: placement,\n          descriptor: Object.assign({}, descriptor)\n        };\n\n        if (kind !== \"field\") {\n          this.disallowProperty(elementObject, \"initializer\", \"A method descriptor\");\n        } else {\n          this.disallowProperty(descriptor, \"get\", \"The property descriptor of a field descriptor\");\n          this.disallowProperty(descriptor, \"set\", \"The property descriptor of a field descriptor\");\n          this.disallowProperty(descriptor, \"value\", \"The property descriptor of a field descriptor\");\n          element.initializer = elementObject.initializer;\n        }\n\n        return element;\n      },\n      toElementFinisherExtras: function toElementFinisherExtras(elementObject) {\n        var element = this.toElementDescriptor(elementObject);\n\n        var finisher = _optionalCallableProperty(elementObject, \"finisher\");\n\n        var extras = this.toElementDescriptors(elementObject.extras);\n        return {\n          element: element,\n          finisher: finisher,\n          extras: extras\n        };\n      },\n      fromClassDescriptor: function fromClassDescriptor(elements) {\n        var obj = {\n          kind: \"class\",\n          elements: elements.map(this.fromElementDescriptor, this)\n        };\n        var desc = {\n          value: \"Descriptor\",\n          configurable: true\n        };\n        Object.defineProperty(obj, Symbol.toStringTag, desc);\n        return obj;\n      },\n      toClassDescriptor: function toClassDescriptor(obj) {\n        var kind = String(obj.kind);\n\n        if (kind !== \"class\") {\n          throw new TypeError('A class descriptor\\'s .kind property must be \"class\", but a decorator' + ' created a class descriptor with .kind \"' + kind + '\"');\n        }\n\n        this.disallowProperty(obj, \"key\", \"A class descriptor\");\n        this.disallowProperty(obj, \"placement\", \"A class descriptor\");\n        this.disallowProperty(obj, \"descriptor\", \"A class descriptor\");\n        this.disallowProperty(obj, \"initializer\", \"A class descriptor\");\n        this.disallowProperty(obj, \"extras\", \"A class descriptor\");\n\n        var finisher = _optionalCallableProperty(obj, \"finisher\");\n\n        var elements = this.toElementDescriptors(obj.elements);\n        return {\n          elements: elements,\n          finisher: finisher\n        };\n      },\n      runClassFinishers: function runClassFinishers(constructor, finishers) {\n        for (var i = 0; i < finishers.length; i++) {\n          var newConstructor = (0, finishers[i])(constructor);\n\n          if (newConstructor !== undefined) {\n            if (typeof newConstructor !== \"function\") {\n              throw new TypeError(\"Finishers must return a constructor.\");\n            }\n\n            constructor = newConstructor;\n          }\n        }\n\n        return constructor;\n      },\n      disallowProperty: function disallowProperty(obj, name, objectType) {\n        if (obj[name] !== undefined) {\n          throw new TypeError(objectType + \" can't have a .\" + name + \" property.\");\n        }\n      }\n    };\n    return api;\n  }\n\n  function _createElementDescriptor(def) {\n    var key = (0, _toPropertyKey.default)(def.key);\n    var descriptor;\n\n    if (def.kind === \"method\") {\n      descriptor = {\n        value: def.value,\n        writable: true,\n        configurable: true,\n        enumerable: false\n      };\n    } else if (def.kind === \"get\") {\n      descriptor = {\n        get: def.value,\n        configurable: true,\n        enumerable: false\n      };\n    } else if (def.kind === \"set\") {\n      descriptor = {\n        set: def.value,\n        configurable: true,\n        enumerable: false\n      };\n    } else if (def.kind === \"field\") {\n      descriptor = {\n        configurable: true,\n        writable: true,\n        enumerable: true\n      };\n    }\n\n    var element = {\n      kind: def.kind === \"field\" ? \"field\" : \"method\",\n      key: key,\n      placement: def[\"static\"] ? \"static\" : def.kind === \"field\" ? \"own\" : \"prototype\",\n      descriptor: descriptor\n    };\n    if (def.decorators) element.decorators = def.decorators;\n    if (def.kind === \"field\") element.initializer = def.value;\n    return element;\n  }\n\n  function _coalesceGetterSetter(element, other) {\n    if (element.descriptor.get !== undefined) {\n      other.descriptor.get = element.descriptor.get;\n    } else {\n      other.descriptor.set = element.descriptor.set;\n    }\n  }\n\n  function _coalesceClassElements(elements) {\n    var newElements = [];\n\n    var isSameElement = function isSameElement(other) {\n      return other.kind === \"method\" && other.key === element.key && other.placement === element.placement;\n    };\n\n    for (var i = 0; i < elements.length; i++) {\n      var element = elements[i];\n      var other;\n\n      if (element.kind === \"method\" && (other = newElements.find(isSameElement))) {\n        if (_isDataDescriptor(element.descriptor) || _isDataDescriptor(other.descriptor)) {\n          if (_hasDecorators(element) || _hasDecorators(other)) {\n            throw new ReferenceError(\"Duplicated methods (\" + element.key + \") can't be decorated.\");\n          }\n\n          other.descriptor = element.descriptor;\n        } else {\n          if (_hasDecorators(element)) {\n            if (_hasDecorators(other)) {\n              throw new ReferenceError(\"Decorators can't be placed on different accessors with for \" + \"the same property (\" + element.key + \").\");\n            }\n\n            other.decorators = element.decorators;\n          }\n\n          _coalesceGetterSetter(element, other);\n        }\n      } else {\n        newElements.push(element);\n      }\n    }\n\n    return newElements;\n  }\n\n  function _hasDecorators(element) {\n    return element.decorators && element.decorators.length;\n  }\n\n  function _isDataDescriptor(desc) {\n    return desc !== undefined && !(desc.value === undefined && desc.writable === undefined);\n  }\n\n  function _optionalCallableProperty(obj, name) {\n    var value = obj[name];\n\n    if (value !== undefined && typeof value !== \"function\") {\n      throw new TypeError(\"Expected '\" + name + \"' to be a function\");\n    }\n\n    return value;\n  }\n});","define(\"@babel/runtime/helpers/esm/defaults\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _defaults;\n\n  function _defaults(obj, defaults) {\n    var keys = Object.getOwnPropertyNames(defaults);\n\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i];\n      var value = Object.getOwnPropertyDescriptor(defaults, key);\n\n      if (value && value.configurable && obj[key] === undefined) {\n        Object.defineProperty(obj, key, value);\n      }\n    }\n\n    return obj;\n  }\n});","define(\"@babel/runtime/helpers/esm/defineEnumerableProperties\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _defineEnumerableProperties;\n\n  function _defineEnumerableProperties(obj, descs) {\n    for (var key in descs) {\n      var desc = descs[key];\n      desc.configurable = desc.enumerable = true;\n      if (\"value\" in desc) desc.writable = true;\n      Object.defineProperty(obj, key, desc);\n    }\n\n    if (Object.getOwnPropertySymbols) {\n      var objectSymbols = Object.getOwnPropertySymbols(descs);\n\n      for (var i = 0; i < objectSymbols.length; i++) {\n        var sym = objectSymbols[i];\n        var desc = descs[sym];\n        desc.configurable = desc.enumerable = true;\n        if (\"value\" in desc) desc.writable = true;\n        Object.defineProperty(obj, sym, desc);\n      }\n    }\n\n    return obj;\n  }\n});","define(\"@babel/runtime/helpers/esm/defineProperty\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _defineProperty;\n\n  function _defineProperty(obj, key, value) {\n    if (key in obj) {\n      Object.defineProperty(obj, key, {\n        value: value,\n        enumerable: true,\n        configurable: true,\n        writable: true\n      });\n    } else {\n      obj[key] = value;\n    }\n\n    return obj;\n  }\n});","define(\"@babel/runtime/helpers/esm/extends\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _extends;\n\n  function _extends() {\n    _exports.default = _extends = Object.assign || function (target) {\n      for (var i = 1; i < arguments.length; i++) {\n        var source = arguments[i];\n\n        for (var key in source) {\n          if (Object.prototype.hasOwnProperty.call(source, key)) {\n            target[key] = source[key];\n          }\n        }\n      }\n\n      return target;\n    };\n\n    return _extends.apply(this, arguments);\n  }\n});","define(\"@babel/runtime/helpers/esm/get\", [\"exports\", \"@babel/runtime/helpers/esm/getPrototypeOf\", \"@babel/runtime/helpers/esm/superPropBase\"], function (_exports, _getPrototypeOf, _superPropBase) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _get;\n\n  function _get(target, property, receiver) {\n    if (typeof Reflect !== \"undefined\" && Reflect.get) {\n      _exports.default = _get = Reflect.get;\n    } else {\n      _exports.default = _get = function _get(target, property, receiver) {\n        var base = (0, _superPropBase.default)(target, property);\n        if (!base) return;\n        var desc = Object.getOwnPropertyDescriptor(base, property);\n\n        if (desc.get) {\n          return desc.get.call(receiver);\n        }\n\n        return desc.value;\n      };\n    }\n\n    return _get(target, property, receiver || target);\n  }\n});","define(\"@babel/runtime/helpers/esm/getPrototypeOf\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _getPrototypeOf;\n\n  function _getPrototypeOf(o) {\n    _exports.default = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n      return o.__proto__ || Object.getPrototypeOf(o);\n    };\n    return _getPrototypeOf(o);\n  }\n});","define(\"@babel/runtime/helpers/esm/inherits\", [\"exports\", \"@babel/runtime/helpers/esm/setPrototypeOf\"], function (_exports, _setPrototypeOf) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _inherits;\n\n  function _inherits(subClass, superClass) {\n    if (typeof superClass !== \"function\" && superClass !== null) {\n      throw new TypeError(\"Super expression must either be null or a function\");\n    }\n\n    subClass.prototype = Object.create(superClass && superClass.prototype, {\n      constructor: {\n        value: subClass,\n        writable: true,\n        configurable: true\n      }\n    });\n    if (superClass) (0, _setPrototypeOf.default)(subClass, superClass);\n  }\n});","define(\"@babel/runtime/helpers/esm/inheritsLoose\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _inheritsLoose;\n\n  function _inheritsLoose(subClass, superClass) {\n    subClass.prototype = Object.create(superClass.prototype);\n    subClass.prototype.constructor = subClass;\n    subClass.__proto__ = superClass;\n  }\n});","define(\"@babel/runtime/helpers/esm/initializerDefineProperty\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _initializerDefineProperty;\n\n  function _initializerDefineProperty(target, property, descriptor, context) {\n    if (!descriptor) return;\n    Object.defineProperty(target, property, {\n      enumerable: descriptor.enumerable,\n      configurable: descriptor.configurable,\n      writable: descriptor.writable,\n      value: descriptor.initializer ? descriptor.initializer.call(context) : void 0\n    });\n  }\n});","define(\"@babel/runtime/helpers/esm/initializerWarningHelper\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _initializerWarningHelper;\n\n  function _initializerWarningHelper(descriptor, context) {\n    throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and set to use loose mode. ' + 'To use proposal-class-properties in spec mode with decorators, wait for ' + 'the next major version of decorators in stage 2.');\n  }\n});","define(\"@babel/runtime/helpers/esm/instanceof\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _instanceof;\n\n  function _instanceof(left, right) {\n    if (right != null && typeof Symbol !== \"undefined\" && right[Symbol.hasInstance]) {\n      return right[Symbol.hasInstance](left);\n    } else {\n      return left instanceof right;\n    }\n  }\n});","define(\"@babel/runtime/helpers/esm/interopRequireDefault\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _interopRequireDefault;\n\n  function _interopRequireDefault(obj) {\n    return obj && obj.__esModule ? obj : {\n      \"default\": obj\n    };\n  }\n});","define(\"@babel/runtime/helpers/esm/interopRequireWildcard\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _interopRequireWildcard;\n\n  function _interopRequireWildcard(obj) {\n    if (obj && obj.__esModule) {\n      return obj;\n    } else {\n      var newObj = {};\n\n      if (obj != null) {\n        for (var key in obj) {\n          if (Object.prototype.hasOwnProperty.call(obj, key)) {\n            var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {};\n\n            if (desc.get || desc.set) {\n              Object.defineProperty(newObj, key, desc);\n            } else {\n              newObj[key] = obj[key];\n            }\n          }\n        }\n      }\n\n      newObj[\"default\"] = obj;\n      return newObj;\n    }\n  }\n});","define(\"@babel/runtime/helpers/esm/isNativeFunction\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _isNativeFunction;\n\n  function _isNativeFunction(fn) {\n    return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n  }\n});","define(\"@babel/runtime/helpers/esm/iterableToArray\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _iterableToArray;\n\n  function _iterableToArray(iter) {\n    if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter);\n  }\n});","define(\"@babel/runtime/helpers/esm/iterableToArrayLimit\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _iterableToArrayLimit;\n\n  function _iterableToArrayLimit(arr, i) {\n    var _arr = [];\n    var _n = true;\n    var _d = false;\n    var _e = undefined;\n\n    try {\n      for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n        _arr.push(_s.value);\n\n        if (i && _arr.length === i) break;\n      }\n    } catch (err) {\n      _d = true;\n      _e = err;\n    } finally {\n      try {\n        if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n      } finally {\n        if (_d) throw _e;\n      }\n    }\n\n    return _arr;\n  }\n});","define(\"@babel/runtime/helpers/esm/iterableToArrayLimitLoose\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _iterableToArrayLimitLoose;\n\n  function _iterableToArrayLimitLoose(arr, i) {\n    var _arr = [];\n\n    for (var _iterator = arr[Symbol.iterator](), _step; !(_step = _iterator.next()).done;) {\n      _arr.push(_step.value);\n\n      if (i && _arr.length === i) break;\n    }\n\n    return _arr;\n  }\n});","define(\"@babel/runtime/helpers/esm/jsx\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _createRawReactElement;\n  var REACT_ELEMENT_TYPE;\n\n  function _createRawReactElement(type, props, key, children) {\n    if (!REACT_ELEMENT_TYPE) {\n      REACT_ELEMENT_TYPE = typeof Symbol === \"function\" && Symbol[\"for\"] && Symbol[\"for\"](\"react.element\") || 0xeac7;\n    }\n\n    var defaultProps = type && type.defaultProps;\n    var childrenLength = arguments.length - 3;\n\n    if (!props && childrenLength !== 0) {\n      props = {\n        children: void 0\n      };\n    }\n\n    if (props && defaultProps) {\n      for (var propName in defaultProps) {\n        if (props[propName] === void 0) {\n          props[propName] = defaultProps[propName];\n        }\n      }\n    } else if (!props) {\n      props = defaultProps || {};\n    }\n\n    if (childrenLength === 1) {\n      props.children = children;\n    } else if (childrenLength > 1) {\n      var childArray = new Array(childrenLength);\n\n      for (var i = 0; i < childrenLength; i++) {\n        childArray[i] = arguments[i + 3];\n      }\n\n      props.children = childArray;\n    }\n\n    return {\n      $$typeof: REACT_ELEMENT_TYPE,\n      type: type,\n      key: key === undefined ? null : '' + key,\n      ref: null,\n      props: props,\n      _owner: null\n    };\n  }\n});","define(\"@babel/runtime/helpers/esm/newArrowCheck\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _newArrowCheck;\n\n  function _newArrowCheck(innerThis, boundThis) {\n    if (innerThis !== boundThis) {\n      throw new TypeError(\"Cannot instantiate an arrow function\");\n    }\n  }\n});","define(\"@babel/runtime/helpers/esm/nonIterableRest\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _nonIterableRest;\n\n  function _nonIterableRest() {\n    throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n  }\n});","define(\"@babel/runtime/helpers/esm/nonIterableSpread\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _nonIterableSpread;\n\n  function _nonIterableSpread() {\n    throw new TypeError(\"Invalid attempt to spread non-iterable instance\");\n  }\n});","define(\"@babel/runtime/helpers/esm/objectDestructuringEmpty\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _objectDestructuringEmpty;\n\n  function _objectDestructuringEmpty(obj) {\n    if (obj == null) throw new TypeError(\"Cannot destructure undefined\");\n  }\n});","define(\"@babel/runtime/helpers/esm/objectSpread\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\"], function (_exports, _defineProperty) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _objectSpread;\n\n  function _objectSpread(target) {\n    for (var i = 1; i < arguments.length; i++) {\n      var source = arguments[i] != null ? arguments[i] : {};\n      var ownKeys = Object.keys(source);\n\n      if (typeof Object.getOwnPropertySymbols === 'function') {\n        ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {\n          return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n        }));\n      }\n\n      ownKeys.forEach(function (key) {\n        (0, _defineProperty.default)(target, key, source[key]);\n      });\n    }\n\n    return target;\n  }\n});","define(\"@babel/runtime/helpers/esm/objectWithoutProperties\", [\"exports\", \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\"], function (_exports, _objectWithoutPropertiesLoose) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _objectWithoutProperties;\n\n  function _objectWithoutProperties(source, excluded) {\n    if (source == null) return {};\n    var target = (0, _objectWithoutPropertiesLoose.default)(source, excluded);\n    var key, i;\n\n    if (Object.getOwnPropertySymbols) {\n      var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n      for (i = 0; i < sourceSymbolKeys.length; i++) {\n        key = sourceSymbolKeys[i];\n        if (excluded.indexOf(key) >= 0) continue;\n        if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n        target[key] = source[key];\n      }\n    }\n\n    return target;\n  }\n});","define(\"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _objectWithoutPropertiesLoose;\n\n  function _objectWithoutPropertiesLoose(source, excluded) {\n    if (source == null) return {};\n    var target = {};\n    var sourceKeys = Object.keys(source);\n    var key, i;\n\n    for (i = 0; i < sourceKeys.length; i++) {\n      key = sourceKeys[i];\n      if (excluded.indexOf(key) >= 0) continue;\n      target[key] = source[key];\n    }\n\n    return target;\n  }\n});","define(\"@babel/runtime/helpers/esm/possibleConstructorReturn\", [\"exports\", \"@babel/runtime/helpers/esm/typeof\", \"@babel/runtime/helpers/esm/assertThisInitialized\"], function (_exports, _typeof2, _assertThisInitialized) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _possibleConstructorReturn;\n\n  function _possibleConstructorReturn(self, call) {\n    if (call && ((0, _typeof2.default)(call) === \"object\" || typeof call === \"function\")) {\n      return call;\n    }\n\n    return (0, _assertThisInitialized.default)(self);\n  }\n});","define(\"@babel/runtime/helpers/esm/readOnlyError\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _readOnlyError;\n\n  function _readOnlyError(name) {\n    throw new Error(\"\\\"\" + name + \"\\\" is read-only\");\n  }\n});","define(\"@babel/runtime/helpers/esm/set\", [\"exports\", \"@babel/runtime/helpers/esm/getPrototypeOf\", \"@babel/runtime/helpers/esm/superPropBase\", \"@babel/runtime/helpers/esm/defineProperty\"], function (_exports, _getPrototypeOf, _superPropBase, _defineProperty) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _set;\n\n  function set(target, property, value, receiver) {\n    if (typeof Reflect !== \"undefined\" && Reflect.set) {\n      set = Reflect.set;\n    } else {\n      set = function set(target, property, value, receiver) {\n        var base = (0, _superPropBase.default)(target, property);\n        var desc;\n\n        if (base) {\n          desc = Object.getOwnPropertyDescriptor(base, property);\n\n          if (desc.set) {\n            desc.set.call(receiver, value);\n            return true;\n          } else if (!desc.writable) {\n            return false;\n          }\n        }\n\n        desc = Object.getOwnPropertyDescriptor(receiver, property);\n\n        if (desc) {\n          if (!desc.writable) {\n            return false;\n          }\n\n          desc.value = value;\n          Object.defineProperty(receiver, property, desc);\n        } else {\n          (0, _defineProperty.default)(receiver, property, value);\n        }\n\n        return true;\n      };\n    }\n\n    return set(target, property, value, receiver);\n  }\n\n  function _set(target, property, value, receiver, isStrict) {\n    var s = set(target, property, value, receiver || target);\n\n    if (!s && isStrict) {\n      throw new Error('failed to set property');\n    }\n\n    return value;\n  }\n});","define(\"@babel/runtime/helpers/esm/setPrototypeOf\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _setPrototypeOf;\n\n  function _setPrototypeOf(o, p) {\n    _exports.default = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n      o.__proto__ = p;\n      return o;\n    };\n\n    return _setPrototypeOf(o, p);\n  }\n});","define(\"@babel/runtime/helpers/esm/skipFirstGeneratorNext\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _skipFirstGeneratorNext;\n\n  function _skipFirstGeneratorNext(fn) {\n    return function () {\n      var it = fn.apply(this, arguments);\n      it.next();\n      return it;\n    };\n  }\n});","define(\"@babel/runtime/helpers/esm/slicedToArray\", [\"exports\", \"@babel/runtime/helpers/esm/arrayWithHoles\", \"@babel/runtime/helpers/esm/iterableToArrayLimit\", \"@babel/runtime/helpers/esm/nonIterableRest\"], function (_exports, _arrayWithHoles, _iterableToArrayLimit, _nonIterableRest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _slicedToArray;\n\n  function _slicedToArray(arr, i) {\n    return (0, _arrayWithHoles.default)(arr) || (0, _iterableToArrayLimit.default)(arr, i) || (0, _nonIterableRest.default)();\n  }\n});","define(\"@babel/runtime/helpers/esm/slicedToArrayLoose\", [\"exports\", \"@babel/runtime/helpers/esm/arrayWithHoles\", \"@babel/runtime/helpers/esm/iterableToArrayLimitLoose\", \"@babel/runtime/helpers/esm/nonIterableRest\"], function (_exports, _arrayWithHoles, _iterableToArrayLimitLoose, _nonIterableRest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _slicedToArrayLoose;\n\n  function _slicedToArrayLoose(arr, i) {\n    return (0, _arrayWithHoles.default)(arr) || (0, _iterableToArrayLimitLoose.default)(arr, i) || (0, _nonIterableRest.default)();\n  }\n});","define(\"@babel/runtime/helpers/esm/superPropBase\", [\"exports\", \"@babel/runtime/helpers/esm/getPrototypeOf\"], function (_exports, _getPrototypeOf) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _superPropBase;\n\n  function _superPropBase(object, property) {\n    while (!Object.prototype.hasOwnProperty.call(object, property)) {\n      object = (0, _getPrototypeOf.default)(object);\n      if (object === null) break;\n    }\n\n    return object;\n  }\n});","define(\"@babel/runtime/helpers/esm/taggedTemplateLiteral\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _taggedTemplateLiteral;\n\n  function _taggedTemplateLiteral(strings, raw) {\n    if (!raw) {\n      raw = strings.slice(0);\n    }\n\n    return Object.freeze(Object.defineProperties(strings, {\n      raw: {\n        value: Object.freeze(raw)\n      }\n    }));\n  }\n});","define(\"@babel/runtime/helpers/esm/taggedTemplateLiteralLoose\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _taggedTemplateLiteralLoose;\n\n  function _taggedTemplateLiteralLoose(strings, raw) {\n    if (!raw) {\n      raw = strings.slice(0);\n    }\n\n    strings.raw = raw;\n    return strings;\n  }\n});","define(\"@babel/runtime/helpers/esm/temporalRef\", [\"exports\", \"@babel/runtime/helpers/esm/temporalUndefined\"], function (_exports, _temporalUndefined) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _temporalRef;\n\n  function _temporalRef(val, name) {\n    if (val === _temporalUndefined.default) {\n      throw new ReferenceError(name + \" is not defined - temporal dead zone\");\n    } else {\n      return val;\n    }\n  }\n});","define(\"@babel/runtime/helpers/esm/temporalUndefined\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = {};\n  _exports.default = _default;\n});","define(\"@babel/runtime/helpers/esm/toArray\", [\"exports\", \"@babel/runtime/helpers/esm/arrayWithHoles\", \"@babel/runtime/helpers/esm/iterableToArray\", \"@babel/runtime/helpers/esm/nonIterableRest\"], function (_exports, _arrayWithHoles, _iterableToArray, _nonIterableRest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _toArray;\n\n  function _toArray(arr) {\n    return (0, _arrayWithHoles.default)(arr) || (0, _iterableToArray.default)(arr) || (0, _nonIterableRest.default)();\n  }\n});","define(\"@babel/runtime/helpers/esm/toConsumableArray\", [\"exports\", \"@babel/runtime/helpers/esm/arrayWithoutHoles\", \"@babel/runtime/helpers/esm/iterableToArray\", \"@babel/runtime/helpers/esm/nonIterableSpread\"], function (_exports, _arrayWithoutHoles, _iterableToArray, _nonIterableSpread) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _toConsumableArray;\n\n  function _toConsumableArray(arr) {\n    return (0, _arrayWithoutHoles.default)(arr) || (0, _iterableToArray.default)(arr) || (0, _nonIterableSpread.default)();\n  }\n});","define(\"@babel/runtime/helpers/esm/toPrimitive\", [\"exports\", \"@babel/runtime/helpers/esm/typeof\"], function (_exports, _typeof2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _toPrimitive;\n\n  function _toPrimitive(input, hint) {\n    if ((0, _typeof2.default)(input) !== \"object\" || input === null) return input;\n    var prim = input[Symbol.toPrimitive];\n\n    if (prim !== undefined) {\n      var res = prim.call(input, hint || \"default\");\n      if ((0, _typeof2.default)(res) !== \"object\") return res;\n      throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n    }\n\n    return (hint === \"string\" ? String : Number)(input);\n  }\n});","define(\"@babel/runtime/helpers/esm/toPropertyKey\", [\"exports\", \"@babel/runtime/helpers/esm/typeof\", \"@babel/runtime/helpers/esm/toPrimitive\"], function (_exports, _typeof2, _toPrimitive) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _toPropertyKey;\n\n  function _toPropertyKey(arg) {\n    var key = (0, _toPrimitive.default)(arg, \"string\");\n    return (0, _typeof2.default)(key) === \"symbol\" ? key : String(key);\n  }\n});","define(\"@babel/runtime/helpers/esm/typeof\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _typeof;\n\n  function _typeof2(obj) {\n    if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n      _typeof2 = function _typeof2(obj) {\n        return typeof obj;\n      };\n    } else {\n      _typeof2 = function _typeof2(obj) {\n        return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n      };\n    }\n\n    return _typeof2(obj);\n  }\n\n  function _typeof(obj) {\n    if (typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\") {\n      _exports.default = _typeof = function _typeof(obj) {\n        return _typeof2(obj);\n      };\n    } else {\n      _exports.default = _typeof = function _typeof(obj) {\n        return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : _typeof2(obj);\n      };\n    }\n\n    return _typeof(obj);\n  }\n});","define(\"@babel/runtime/helpers/esm/wrapAsyncGenerator\", [\"exports\", \"@babel/runtime/helpers/esm/AsyncGenerator\"], function (_exports, _AsyncGenerator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _wrapAsyncGenerator;\n\n  function _wrapAsyncGenerator(fn) {\n    return function () {\n      return new _AsyncGenerator.default(fn.apply(this, arguments));\n    };\n  }\n});","define(\"@babel/runtime/helpers/esm/wrapNativeSuper\", [\"exports\", \"@babel/runtime/helpers/esm/getPrototypeOf\", \"@babel/runtime/helpers/esm/setPrototypeOf\", \"@babel/runtime/helpers/esm/isNativeFunction\", \"@babel/runtime/helpers/esm/construct\"], function (_exports, _getPrototypeOf, _setPrototypeOf, _isNativeFunction, _construct) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _wrapNativeSuper;\n\n  function _wrapNativeSuper(Class) {\n    var _cache = typeof Map === \"function\" ? new Map() : undefined;\n\n    _exports.default = _wrapNativeSuper = function _wrapNativeSuper(Class) {\n      if (Class === null || !(0, _isNativeFunction.default)(Class)) return Class;\n\n      if (typeof Class !== \"function\") {\n        throw new TypeError(\"Super expression must either be null or a function\");\n      }\n\n      if (typeof _cache !== \"undefined\") {\n        if (_cache.has(Class)) return _cache.get(Class);\n\n        _cache.set(Class, Wrapper);\n      }\n\n      function Wrapper() {\n        return (0, _construct.default)(Class, arguments, (0, _getPrototypeOf.default)(this).constructor);\n      }\n\n      Wrapper.prototype = Object.create(Class.prototype, {\n        constructor: {\n          value: Wrapper,\n          enumerable: false,\n          writable: true,\n          configurable: true\n        }\n      });\n      return (0, _setPrototypeOf.default)(Wrapper, Class);\n    };\n\n    return _wrapNativeSuper(Class);\n  }\n});","define(\"@babel/runtime/helpers/esm/wrapRegExp\", [\"exports\", \"@babel/runtime/helpers/esm/typeof\", \"@babel/runtime/helpers/esm/wrapNativeSuper\", \"@babel/runtime/helpers/esm/getPrototypeOf\", \"@babel/runtime/helpers/esm/possibleConstructorReturn\", \"@babel/runtime/helpers/esm/inherits\"], function (_exports, _typeof2, _wrapNativeSuper, _getPrototypeOf, _possibleConstructorReturn, _inherits) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _wrapRegExp;\n\n  function _wrapRegExp(re, groups) {\n    _exports.default = _wrapRegExp = function _wrapRegExp(re, groups) {\n      return new BabelRegExp(re, groups);\n    };\n\n    var _RegExp = (0, _wrapNativeSuper.default)(RegExp);\n\n    var _super = RegExp.prototype;\n\n    var _groups = new WeakMap();\n\n    function BabelRegExp(re, groups) {\n      var _this = _RegExp.call(this, re);\n\n      _groups.set(_this, groups);\n\n      return _this;\n    }\n\n    (0, _inherits.default)(BabelRegExp, _RegExp);\n\n    BabelRegExp.prototype.exec = function (str) {\n      var result = _super.exec.call(this, str);\n\n      if (result) result.groups = buildGroups(result, this);\n      return result;\n    };\n\n    BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {\n      if (typeof substitution === \"string\") {\n        var groups = _groups.get(this);\n\n        return _super[Symbol.replace].call(this, str, substitution.replace(/\\$<([^>]+)>/g, function (_, name) {\n          return \"$\" + groups[name];\n        }));\n      } else if (typeof substitution === \"function\") {\n        var _this = this;\n\n        return _super[Symbol.replace].call(this, str, function () {\n          var args = [];\n          args.push.apply(args, arguments);\n\n          if ((0, _typeof2.default)(args[args.length - 1]) !== \"object\") {\n            args.push(buildGroups(args, _this));\n          }\n\n          return substitution.apply(this, args);\n        });\n      } else {\n        return _super[Symbol.replace].call(this, str, substitution);\n      }\n    };\n\n    function buildGroups(result, re) {\n      var g = _groups.get(re);\n\n      return Object.keys(g).reduce(function (groups, name) {\n        groups[name] = result[g[name]];\n        return groups;\n      }, Object.create(null));\n    }\n\n    return _wrapRegExp.apply(this, arguments);\n  }\n});","define('@ember-data/adapter/-private', ['exports', 'require', 'ember-inflector'], function (exports, require, emberInflector) { 'use strict';\n\n  var require__default = 'default' in require ? require['default'] : require;\n\n  var newline = /\\r?\\n/;\n  function parseResponseHeaders(headersString) {\n    var headers = Object.create(null);\n\n    if (!headersString) {\n      return headers;\n    }\n\n    var headerPairs = headersString.split(newline);\n\n    for (var i = 0; i < headerPairs.length; i++) {\n      var header = headerPairs[i];\n      var j = 0;\n      var foundSep = false;\n\n      for (; j < header.length; j++) {\n        if (header.charCodeAt(j) === 58\n        /* ':' */\n        ) {\n            foundSep = true;\n            break;\n          }\n      }\n\n      if (foundSep === false) {\n        continue;\n      }\n\n      var field = header.substring(0, j).trim();\n      var value = header.substring(j + 1, header.length).trim();\n\n      if (value) {\n        var lowerCasedField = field.toLowerCase();\n        headers[lowerCasedField] = value;\n        headers[field] = value;\n      }\n    }\n\n    return headers;\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 determineBodyPromise(response, requestData) {\n    return response.text().then(function (payload) {\n      var ret = payload;\n\n      try {\n        ret = JSON.parse(payload);\n      } catch (error) {\n        if (!(error instanceof SyntaxError)) {\n          throw error;\n        }\n\n        var status = response.status;\n\n        if (response.ok && (status === 204 || status === 205 || requestData.method === 'HEAD')) {\n          ret = undefined;\n        } else {\n          console.warn('This response was unable to be parsed as json.', payload);\n        }\n      }\n\n      return ret;\n    });\n  }\n\n  var RBRACKET = /\\[\\]$/;\n\n  function isPlainObject(obj) {\n    return Object.prototype.toString.call(obj) === '[object Object]';\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\n\n  function serializeQueryParams(queryParamsObject) {\n    var s = [];\n\n    function buildParams(prefix, obj) {\n      var i, len, key;\n\n      if (prefix) {\n        if (Array.isArray(obj)) {\n          for (i = 0, len = obj.length; i < len; i++) {\n            if (RBRACKET.test(prefix)) {\n              add(s, prefix, obj[i]);\n            } else {\n              buildParams(prefix + '[' + (typeof obj[i] === 'object' ? i : '') + ']', obj[i]);\n            }\n          }\n        } else if (isPlainObject(obj)) {\n          for (key in obj) {\n            buildParams(prefix + '[' + key + ']', obj[key]);\n          }\n        } else {\n          add(s, prefix, obj);\n        }\n      } else if (Array.isArray(obj)) {\n        for (i = 0, len = obj.length; i < len; i++) {\n          add(s, obj[i].name, obj[i].value);\n        }\n      } else {\n        for (key in obj) {\n          buildParams(key, obj[key]);\n        }\n      }\n\n      return s;\n    }\n\n    return buildParams('', queryParamsObject).join('&').replace(/%20/g, '+');\n  }\n  /**\n   * Part of the `serializeQueryParams` helper function.\n   */\n\n  function add(s, k, v) {\n    // Strip out keys with undefined value and replace null values with\n    // empty strings (mimics jQuery.ajax)\n    if (v === undefined) {\n      return;\n    } else if (v === null) {\n      v = '';\n    }\n\n    v = typeof v === 'function' ? v() : v;\n    s[s.length] = encodeURIComponent(k) + \"=\" + encodeURIComponent(v);\n  }\n\n  var _fetch = null;\n\n  if (require.has('fetch')) {\n    // use `fetch` module by default, this is commonly provided by ember-fetch\n    _fetch = require__default('fetch').default;\n  } else if (typeof fetch === 'function') {\n    // fallback to using global fetch\n    _fetch = fetch;\n  }\n\n  var _fetch$1 = _fetch;\n\n  /**\n\n    WARNING: This interface is likely to change in order to accommodate [RFC: Ember Data url templates](https://github.com/emberjs/rfcs/pull/4)\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 Adapter.extend(BuildURLMixin, {\n      findRecord: function(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    @namespace DS\n  */\n\n  var buildUrlMixin = Ember.Mixin.create({\n    /**\n      Builds a URL for a given type and optional ID.\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](#method_pathForType).\n       If an ID is specified, it adds the ID to the path generated\n      for the type, separated by a `/`.\n       When called by `RESTAdapter.findMany()` the `id` and `snapshot` parameters\n      will be arrays of ids and snapshots.\n       @method buildURL\n      @param {String} modelName\n      @param {(String|Array|Object)} id single id or array of ids or query\n      @param {(DS.Snapshot|Array)} 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    buildURL: function buildURL(modelName, id, snapshot, requestType, query) {\n      switch (requestType) {\n        case 'findRecord':\n          return this.urlForFindRecord(id, modelName, snapshot);\n\n        case 'findAll':\n          return this.urlForFindAll(modelName, snapshot);\n\n        case 'query':\n          return this.urlForQuery(query, modelName);\n\n        case 'queryRecord':\n          return this.urlForQueryRecord(query, modelName);\n\n        case 'findMany':\n          return this.urlForFindMany(id, modelName, snapshot);\n\n        case 'findHasMany':\n          return this.urlForFindHasMany(id, modelName, snapshot);\n\n        case 'findBelongsTo':\n          return this.urlForFindBelongsTo(id, modelName, snapshot);\n\n        case 'createRecord':\n          return this.urlForCreateRecord(modelName, snapshot);\n\n        case 'updateRecord':\n          return this.urlForUpdateRecord(id, modelName, snapshot);\n\n        case 'deleteRecord':\n          return this.urlForDeleteRecord(id, modelName, snapshot);\n\n        default:\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    _buildURL: function _buildURL(modelName, id) {\n      var path;\n      var url = [];\n      var host = Ember.get(this, 'host');\n      var prefix = this.urlPrefix();\n\n      if (modelName) {\n        path = this.pathForType(modelName);\n\n        if (path) {\n          url.push(path);\n        }\n      }\n\n      if (id) {\n        url.push(encodeURIComponent(id));\n      }\n\n      if (prefix) {\n        url.unshift(prefix);\n      }\n\n      url = url.join('/');\n\n      if (!host && url && url.charAt(0) !== '/') {\n        url = '/' + url;\n      }\n\n      return url;\n    },\n\n    /**\n     Builds a URL for a `store.findRecord(type, id)` call.\n      Example:\n      ```app/adapters/user.js\n     import JSONAPIAdapter from '@ember-data/adapter/json-api';\n      export default JSONAPIAdapter.extend({\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      @method urlForFindRecord\n     @param {String} id\n     @param {String} modelName\n     @param {DS.Snapshot} snapshot\n     @return {String} url\n      */\n    urlForFindRecord: 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      Example:\n      ```app/adapters/comment.js\n     import JSONAPIAdapter from '@ember-data/adapter/json-api';\n      export default JSONAPIAdapter.extend({\n       urlForFindAll(modelName, snapshot) {\n         return 'data/comments.json';\n       }\n     });\n     ```\n      @method urlForFindAll\n     @param {String} modelName\n     @param {DS.SnapshotRecordArray} snapshot\n     @return {String} url\n     */\n    urlForFindAll: function urlForFindAll(modelName, snapshot) {\n      return this._buildURL(modelName);\n    },\n\n    /**\n     Builds a URL for a `store.query(type, query)` call.\n      Example:\n      ```app/adapters/application.js\n     import RESTAdapter from '@ember-data/adapter/rest';\n      export default RESTAdapter.extend({\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 this._super(...arguments);\n         }\n       }\n     });\n     ```\n      @method urlForQuery\n     @param {Object} query\n     @param {String} modelName\n     @return {String} url\n     */\n    urlForQuery: function urlForQuery(query, modelName) {\n      return this._buildURL(modelName);\n    },\n\n    /**\n     Builds a URL for a `store.queryRecord(type, query)` call.\n      Example:\n      ```app/adapters/application.js\n     import RESTAdapter from '@ember-data/adapter/rest';\n      export default RESTAdapter.extend({\n       urlForQueryRecord({ slug }, modelName) {\n         let baseUrl = this.buildURL();\n         return `${baseUrl}/${encodeURIComponent(slug)}`;\n       }\n     });\n     ```\n      @method urlForQueryRecord\n     @param {Object} query\n     @param {String} modelName\n     @return {String} url\n     */\n    urlForQueryRecord: 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      Example:\n      ```app/adapters/application.js\n     import RESTAdapter from '@ember-data/adapter/rest';\n      export default RESTAdapter.extend({\n       urlForFindMany(ids, modelName) {\n         let baseUrl = this.buildURL();\n         return `${baseUrl}/coalesce`;\n       }\n     });\n     ```\n      @method urlForFindMany\n     @param {Array} ids\n     @param {String} modelName\n     @param {Array} snapshots\n     @return {String} url\n     */\n    urlForFindMany: 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      Example:\n      ```app/adapters/application.js\n     import JSONAPIAdapter from '@ember-data/adapter/json-api';\n      export default JSONAPIAdapter.extend({\n       urlForFindHasMany(id, modelName, snapshot) {\n         let baseUrl = this.buildURL(modelName, id);\n         return `${baseUrl}/relationships`;\n       }\n     });\n     ```\n      @method urlForFindHasMany\n     @param {String} id\n     @param {String} modelName\n     @param {DS.Snapshot} snapshot\n     @return {String} url\n     */\n    urlForFindHasMany: 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      Example:\n      ```app/adapters/application.js\n     import JSONAPIAdapter from '@ember-data/adapter/json-api';\n      export default JSONAPIAdapter.extend({\n       urlForFindBelongsTo(id, modelName, snapshot) {\n         let baseUrl = this.buildURL(modelName, id);\n         return `${baseUrl}/relationships`;\n       }\n     });\n     ```\n      @method urlForFindBelongsTo\n     @param {String} id\n     @param {String} modelName\n     @param {DS.Snapshot} snapshot\n     @return {String} url\n     */\n    urlForFindBelongsTo: 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      Example:\n      ```app/adapters/application.js\n     import RESTAdapter from '@ember-data/adapter/rest';\n      export default RESTAdapter.extend({\n       urlForCreateRecord(modelName, snapshot) {\n         return this._super(...arguments) + '/new';\n       }\n     });\n     ```\n      @method urlForCreateRecord\n     @param {String} modelName\n     @param {DS.Snapshot} snapshot\n     @return {String} url\n     */\n    urlForCreateRecord: 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      Example:\n      ```app/adapters/application.js\n     import RESTAdapter from '@ember-data/adapter/rest';\n      export default RESTAdapter.extend({\n       urlForUpdateRecord(id, modelName, snapshot) {\n         return `/${id}/feed?access_token=${snapshot.adapterOptions.token}`;\n       }\n     });\n     ```\n      @method urlForUpdateRecord\n     @param {String} id\n     @param {String} modelName\n     @param {DS.Snapshot} snapshot\n     @return {String} url\n     */\n    urlForUpdateRecord: 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      Example:\n      ```app/adapters/application.js\n     import RESTAdapter from '@ember-data/adapter/rest';\n      export default RESTAdapter.extend({\n       urlForDeleteRecord(id, modelName, snapshot) {\n         return this._super(...arguments) + '/destroy';\n       }\n     });\n     ```\n      @method urlForDeleteRecord\n     @param {String} id\n     @param {String} modelName\n     @param {DS.Snapshot} snapshot\n     @return {String} url\n     */\n    urlForDeleteRecord: 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    urlPrefix: function urlPrefix(path, parentURL) {\n      var host = Ember.get(this, 'host');\n      var namespace = Ember.get(this, 'namespace');\n\n      if (!host || host === '/') {\n        host = '';\n      }\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; // Absolute path\n        } else if (path.charAt(0) === '/') {\n          return \"\" + host + path; // Relative path\n        } else {\n          return parentURL + \"/\" + path;\n        }\n      } // No path provided\n\n\n      var url = [];\n\n      if (host) {\n        url.push(host);\n      }\n\n      if (namespace) {\n        url.push(namespace);\n      }\n\n      return url.join('/');\n    },\n\n    /**\n      Determines the pathname for a given type.\n       By default, it pluralizes the type's name (for example,\n      'post' becomes 'posts' and 'person' becomes 'people').\n       ### Pathname customization\n       For example, if you have an object `LineItem` with an\n      endpoint of `/line_items/`.\n       ```app/adapters/application.js\n      import RESTAdapter from '@ember-data/adapter/rest';\n      import { decamelize } from '@ember/string';\n      import { pluralize } from 'ember-inflector';\n       export default RESTAdapter.extend({\n        pathForType: function(modelName) {\n          var decamelized = decamelize(modelName);\n          return pluralize(decamelized);\n        }\n      });\n      ```\n       @method pathForType\n      @param {String} modelName\n      @return {String} path\n    **/\n    pathForType: function pathForType(modelName) {\n      var camelized = Ember.String.camelize(modelName);\n      return emberInflector.pluralize(camelized);\n    }\n  });\n\n  exports.BuildURLMixin = buildUrlMixin;\n  exports.determineBodyPromise = determineBodyPromise;\n  exports.fetch = _fetch$1;\n  exports.parseResponseHeaders = parseResponseHeaders;\n  exports.serializeQueryParams = serializeQueryParams;\n\n  Object.defineProperty(exports, '__esModule', { value: true });\n\n});\n","define(\"@ember-data/adapter/adapter\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\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    ### 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    @namespace DS\n    @extends EmberObject\n  */\n  var _default = Ember.Object.extend({\n    /**\n      If you would like your adapter to use a custom serializer you can\n      set the `defaultSerializer` property to be the name of the custom\n      serializer.\n       Note the `defaultSerializer` serializer has a lower priority than\n      a model specific serializer (i.e. `PostSerializer`) or the\n      `application` serializer.\n       ```app/adapters/django.js\n      import Adapter from '@ember-data/adapter';\n       export default Adapter.extend({\n        defaultSerializer: 'django'\n      });\n      ```\n       @property defaultSerializer\n      @type {String}\n    */\n    defaultSerializer: '-default',\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 Adapter.extend({\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 {DS.Store} store\n      @param {DS.Model} type\n      @param {String} id\n      @param {DS.Snapshot} snapshot\n      @return {Promise} promise\n    */\n    findRecord: null,\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 Adapter.extend({\n        findAll(store, type) {\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 findAll\n      @param {DS.Store} store\n      @param {DS.Model} type\n      @param {String} sinceToken\n      @param {DS.SnapshotRecordArray} snapshotRecordArray\n      @return {Promise} promise\n    */\n    findAll: null,\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 Adapter.extend({\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 {DS.Store} store\n      @param {DS.Model} type\n      @param {Object} query\n      @param {DS.AdapterPopulatedRecordArray} recordArray\n      @return {Promise} promise\n    */\n    query: null,\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 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 {DS.Store} store\n      @param {subclass of DS.Model} type\n      @param {Object} query\n      @return {Promise} promise\n    */\n    queryRecord: null,\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 Adapter.extend({\n        generateIdForRecord(store, type, inputProperties) {\n          return v4();\n        }\n      });\n      ```\n       @method generateIdForRecord\n      @param {DS.Store} store\n      @param {DS.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    */\n    generateIdForRecord: null,\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 Adapter.extend({\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 {DS.Snapshot} snapshot\n      @param {Object}   options\n      @return {Object} serialized snapshot\n    */\n    serialize: function serialize(snapshot, options) {\n      return snapshot.serialize(options);\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 { run } from '@ember/runloop';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default Adapter.extend({\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              run(null, resolve, data);\n            }, function(jqXHR) {\n              jqXHR.then = null; // tame jQuery's ill mannered promises\n              run(null, reject, jqXHR);\n            });\n          });\n        }\n      });\n      ```\n       @method createRecord\n      @param {DS.Store} store\n      @param {DS.Model} type   the Model class of the record\n      @param {DS.Snapshot} snapshot\n      @return {Promise} promise\n    */\n    createRecord: null,\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 { run } from '@ember/runloop';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default Adapter.extend({\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              run(null, resolve, data);\n            }, function(jqXHR) {\n              jqXHR.then = null; // tame jQuery's ill mannered promises\n              run(null, reject, jqXHR);\n            });\n          });\n        }\n      });\n      ```\n       @method updateRecord\n      @param {DS.Store} store\n      @param {DS.Model} type   the Model class of the record\n      @param {DS.Snapshot} snapshot\n      @return {Promise} promise\n    */\n    updateRecord: null,\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 { run } from '@ember/runloop';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default Adapter.extend({\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              run(null, resolve, data);\n            }, function(jqXHR) {\n              jqXHR.then = null; // tame jQuery's ill mannered promises\n              run(null, reject, jqXHR);\n            });\n          });\n        }\n      });\n      ```\n       @method deleteRecord\n      @param {DS.Store} store\n      @param {DS.Model} type   the Model class of the record\n      @param {DS.Snapshot} snapshot\n      @return {Promise} promise\n    */\n    deleteRecord: null,\n\n    /**\n      By default the store will try to coalesce all `fetchRecord` 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      @type {boolean}\n    */\n    coalesceFindRequests: true,\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 { run } from '@ember/runloop';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default Adapter.extend({\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              run(null, resolve, data);\n            }, function(jqXHR) {\n              jqXHR.then = null; // tame jQuery's ill mannered promises\n              run(null, reject, jqXHR);\n            });\n          });\n        }\n      });\n      ```\n       @method findMany\n      @param {DS.Store} store\n      @param {DS.Model} type   the Model class of the records\n      @param {Array}    ids\n      @param {Array} snapshots\n      @return {Promise} promise\n    */\n    findMany: null,\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      @param {DS.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: function 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 {DS.Store} store\n      @param {DS.Snapshot} snapshot\n      @return {Boolean}\n    */\n    shouldReloadRecord: function 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 {DS.Store} store\n      @param {DS.SnapshotRecordArray} snapshotRecordArray\n      @return {Boolean}\n    */\n    shouldReloadAll: function 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 {DS.Store} store\n      @param {DS.Snapshot} snapshot\n      @return {Boolean}\n    */\n    shouldBackgroundReloadRecord: function 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 {DS.Store} store\n      @param {DS.SnapshotRecordArray} snapshotRecordArray\n      @return {Boolean}\n    */\n    shouldBackgroundReloadAll: function shouldBackgroundReloadAll(store, snapshotRecordArray) {\n      return true;\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"@ember-data/adapter/error\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.AdapterError = AdapterError;\n  _exports.errorsHashToArray = errorsHashToArray;\n  _exports.errorsArrayToHash = errorsArrayToHash;\n  _exports.ServerError = _exports.ConflictError = _exports.NotFoundError = _exports.ForbiddenError = _exports.UnauthorizedError = _exports.AbortError = _exports.TimeoutError = _exports.InvalidError = void 0;\n  var SOURCE_POINTER_REGEXP = /^\\/?data\\/(attributes|relationships)\\/(.*)/;\n  var SOURCE_POINTER_PRIMARY_REGEXP = /^\\/?data/;\n  var PRIMARY_ATTRIBUTE_KEY = 'base';\n  /**\n    A `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. The following\n    subclasses are provided:\n  \n    - `InvalidError`\n    - `TimeoutError`\n    - `AbortError`\n    - `UnauthorizedError`\n    - `ForbiddenError`\n    - `NotFoundError`\n    - `ConflictError`\n    - `ServerError`\n  \n    To create a custom error to signal a specific error state in communicating\n    with an external API, extend the `DS.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 JSONAPIAdapter.extend({\n      handleResponse(status) {\n        if (503 === status) {\n          return new MaintenanceError();\n        }\n  \n        return this._super(...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 Route.extend({\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    @class AdapterError\n  */\n\n  function AdapterError(errors, message) {\n    if (message === void 0) {\n      message = 'Adapter operation failed';\n    }\n\n    this.isAdapterError = true;\n    var error = Ember.Error.call(this, message); // in ember 3.8+ Error is a Native Error and we don't\n    // gain these automatically from the EmberError.call\n\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      this.code = error.code;\n    }\n\n    this.errors = errors || [{\n      title: 'Adapter Error',\n      detail: message\n    }];\n  }\n\n  function extendFn(ErrorClass) {\n    return function (_temp) {\n      var _ref = _temp === void 0 ? {} : _temp,\n          defaultMessage = _ref.message;\n\n      return extend(ErrorClass, defaultMessage);\n    };\n  }\n\n  function extend(ParentErrorClass, defaultMessage) {\n    var ErrorClass = function ErrorClass(errors, message) {\n      (true && !(Array.isArray(errors || [])) && Ember.assert('`AdapterError` expects json-api formatted errors array.', Array.isArray(errors || [])));\n      ParentErrorClass.call(this, errors, message || defaultMessage);\n    };\n\n    ErrorClass.prototype = Object.create(ParentErrorClass.prototype);\n    ErrorClass.extend = extendFn(ErrorClass);\n    return ErrorClass;\n  }\n\n  AdapterError.prototype = Object.create(Ember.Error.prototype);\n  AdapterError.extend = extendFn(AdapterError);\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 Model.extend({\n      title: attr('string'),\n      content: attr('string')\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 RESTAdapter.extend({\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    @extends AdapterError\n  */\n\n  var InvalidError = extend(AdapterError, 'The adapter rejected the commit because it was invalid');\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  \n    export default Route.extend({\n      actions: {\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  \n    @class TimeoutError\n    @extends AdapterError\n  */\n\n  _exports.InvalidError = InvalidError;\n  var TimeoutError = extend(AdapterError, 'The adapter operation timed out');\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    @extends AdapterError\n  */\n\n  _exports.TimeoutError = TimeoutError;\n  var AbortError = extend(AdapterError, 'The adapter operation was aborted');\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  \n    export default Route.extend({\n      actions: {\n        error(error, transition) {\n          if (error instanceof UnauthorizedError) {\n            // go to the sign in route\n            this.transitionTo('login');\n            return;\n          }\n  \n          // ...other error handling logic\n        }\n      }\n    });\n    ```\n  \n    @class UnauthorizedError\n    @extends AdapterError\n  */\n\n  _exports.AbortError = AbortError;\n  var UnauthorizedError = extend(AdapterError, 'The adapter operation is unauthorized');\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    @extends AdapterError\n  */\n\n  _exports.UnauthorizedError = UnauthorizedError;\n  var ForbiddenError = extend(AdapterError, 'The adapter operation is forbidden');\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  \n    export default Route.extend({\n      model(params) {\n        return this.get('store').findRecord('post', params.post_id);\n      },\n  \n      actions: {\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  \n    @class NotFoundError\n    @extends AdapterError\n  */\n\n  _exports.ForbiddenError = ForbiddenError;\n  var NotFoundError = extend(AdapterError, 'The adapter could not find the resource');\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    @extends AdapterError\n  */\n\n  _exports.NotFoundError = NotFoundError;\n  var ConflictError = extend(AdapterError, 'The adapter operation failed due to a conflict');\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    @extends AdapterError\n  */\n\n  _exports.ConflictError = ConflictError;\n  var ServerError = extend(AdapterError, 'The adapter operation failed due to a server error');\n  /**\n    Convert an hash of errors into an array with errors in JSON-API format.\n  \n    ```javascript\n    import { errorsHashToArray } from '@ember-data/adapter/error';\n  \n    let errors = {\n      base: 'Invalid attributes on saving this record',\n      name: 'Must be present',\n      age: ['Must be present', 'Must be a number']\n    };\n  \n    let errorsArray = errorsHashToArray(errors);\n    // [\n    //   {\n    //     title: \"Invalid Document\",\n    //     detail: \"Invalid attributes on saving this record\",\n    //     source: { pointer: \"/data\" }\n    //   },\n    //   {\n    //     title: \"Invalid Attribute\",\n    //     detail: \"Must be present\",\n    //     source: { pointer: \"/data/attributes/name\" }\n    //   },\n    //   {\n    //     title: \"Invalid Attribute\",\n    //     detail: \"Must be present\",\n    //     source: { pointer: \"/data/attributes/age\" }\n    //   },\n    //   {\n    //     title: \"Invalid Attribute\",\n    //     detail: \"Must be a number\",\n    //     source: { pointer: \"/data/attributes/age\" }\n    //   }\n    // ]\n    ```\n  \n    @method errorsHashToArray\n    @public\n    @param {Object} errors hash with errors as properties\n    @return {Array} array of errors in JSON-API format\n  */\n\n  _exports.ServerError = ServerError;\n\n  function errorsHashToArray(errors) {\n    var out = [];\n\n    if (Ember.isPresent(errors)) {\n      Object.keys(errors).forEach(function (key) {\n        var messages = Ember.makeArray(errors[key]);\n\n        for (var i = 0; i < messages.length; i++) {\n          var title = 'Invalid Attribute';\n          var pointer = \"/data/attributes/\" + key;\n\n          if (key === PRIMARY_ATTRIBUTE_KEY) {\n            title = 'Invalid Document';\n            pointer = \"/data\";\n          }\n\n          out.push({\n            title: title,\n            detail: messages[i],\n            source: {\n              pointer: pointer\n            }\n          });\n        }\n      });\n    }\n\n    return out;\n  }\n  /**\n    Convert an array of errors in JSON-API format into an object.\n  \n    ```javascript\n    import { errorsArrayToHash } from '@ember-data/adapter/error';\n  \n    let errorsArray = [\n      {\n        title: 'Invalid Attribute',\n        detail: 'Must be present',\n        source: { pointer: '/data/attributes/name' }\n      },\n      {\n        title: 'Invalid Attribute',\n        detail: 'Must be present',\n        source: { pointer: '/data/attributes/age' }\n      },\n      {\n        title: 'Invalid Attribute',\n        detail: 'Must be a number',\n        source: { pointer: '/data/attributes/age' }\n      }\n    ];\n  \n    let errors = errorsArrayToHash(errorsArray);\n    // {\n    //   \"name\": [\"Must be present\"],\n    //   \"age\":  [\"Must be present\", \"must be a number\"]\n    // }\n    ```\n  \n    @method errorsArrayToHash\n    @public\n    @param {Array} errors array of errors in JSON-API format\n    @return {Object}\n  */\n\n\n  function errorsArrayToHash(errors) {\n    var out = {};\n\n    if (Ember.isPresent(errors)) {\n      errors.forEach(function (error) {\n        if (error.source && error.source.pointer) {\n          var key = error.source.pointer.match(SOURCE_POINTER_REGEXP);\n\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\n          if (key) {\n            out[key] = out[key] || [];\n            out[key].push(error.detail || error.title);\n          }\n        }\n      });\n    }\n\n    return out;\n  }\n});","define(\"@ember-data/adapter/index\", [\"exports\", \"@ember-data/adapter/-private\", \"@ember-data/adapter/adapter\"], function (_exports, _private, _adapter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"BuildURLMixin\", {\n    enumerable: true,\n    get: function get() {\n      return _private.BuildURLMixin;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _adapter.default;\n    }\n  });\n});","define(\"@ember-data/adapter/json-api\", [\"exports\", \"@ember-data/adapter/rest\", \"ember-inflector\"], function (_exports, _rest, _emberInflector) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n    The `JSONAPIAdapter` is the default adapter used by Ember Data. It\n    is responsible for transforming the store's requests into HTTP\n    requests that follow the [JSON API](http://jsonapi.org/format/)\n    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 JSONAPIAdapter.extend({\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 JSONAPIAdapter.extend({\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    @constructor\n    @namespace DS\n    @extends DS.RESTAdapter\n  */\n  var JSONAPIAdapter = _rest.default.extend({\n    defaultSerializer: '-json-api',\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: function ajaxOptions(url, type, options) {\n      if (options === void 0) {\n        options = {};\n      }\n\n      options.contentType = options.contentType || 'application/vnd.api+json';\n\n      var hash = this._super(url, type, options);\n\n      hash.headers['Accept'] = hash.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.get('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      @type {boolean}\n    */\n    coalesceFindRequests: false,\n    findMany: function findMany(store, type, ids, snapshots) {\n      var 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: function pathForType(modelName) {\n      var dasherized = Ember.String.dasherize(modelName);\n      return (0, _emberInflector.pluralize)(dasherized);\n    },\n    // TODO: Remove this once we have a better way to override HTTP verbs.\n    updateRecord: function updateRecord(store, type, snapshot) {\n      var data = {};\n      var serializer = store.serializerFor(type.modelName);\n      serializer.serializeIntoHash(data, type, snapshot, {\n        includeId: true\n      });\n      var url = this.buildURL(type.modelName, snapshot.id, snapshot, 'updateRecord');\n      return this.ajax(url, 'PATCH', {\n        data: data\n      });\n    }\n  });\n\n  var _default = JSONAPIAdapter;\n  _exports.default = _default;\n});","define(\"@ember-data/adapter/rest\", [\"exports\", \"@ember-data/adapter\", \"@ember-data/adapter/-private\", \"@ember-data/adapter/error\"], function (_exports, _adapter, _private, _error) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.fetchOptions = fetchOptions;\n  _exports.default = void 0;\n  var Promise = Ember.RSVP.Promise;\n  var hasJQuery = typeof jQuery !== 'undefined';\n  var hasNajax = typeof najax !== 'undefined';\n  /**\n    The REST adapter allows your store to communicate with an HTTP server by\n    transmitting JSON via XHR. Most Ember.js apps that consume a JSON API\n    should use the REST adapter.\n  \n    This adapter is designed around the idea that the JSON exchanged with\n    the server should be conventional.\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's Tag\",\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's Tag\",\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's Tag\",\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's Tag\",\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 RESTAdapter.extend({\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 RESTAdapter.extend({\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 RESTAdapter.extend({\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 RESTAdapter.extend({\n      headers: computed('session.authToken', function() {\n        return {\n          'API_KEY': this.get('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#method_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 { get } from '@ember/object';\n    import { computed } from '@ember/object';\n  \n    export default RESTAdapter.extend({\n      headers: computed(function() {\n        return {\n          'API_KEY': get(document.cookie.match(/apiKey\\=([^;]*)/), '1'),\n          'ANOTHER_HEADER': 'Some header value'\n        };\n      }).volatile()\n    });\n    ```\n  \n    @class RESTAdapter\n    @constructor\n    @namespace DS\n    @extends DS.Adapter\n    @uses DS.BuildURLMixin\n  */\n\n  var RESTAdapter = _adapter.default.extend(_adapter.BuildURLMixin, {\n    defaultSerializer: '-rest',\n    fastboot: Ember.computed(function () {\n      return Ember.getOwner(this).lookup('service:fastboot');\n    }),\n    useFetch: Ember.computed(function () {\n      var ENV = Ember.getOwner(this).resolveRegistration('config:environment'); // TODO: https://github.com/emberjs/data/issues/6093\n\n      var jQueryIntegrationDisabled = ENV && ENV.EmberENV && ENV.EmberENV._JQUERY_INTEGRATION === false;\n\n      if (jQueryIntegrationDisabled) {\n        return true;\n      } else if (hasNajax || hasJQuery) {\n        return false;\n      } else {\n        return true;\n      }\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 RESTAdapter.extend({\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    */\n    sortQueryParams: function sortQueryParams(obj) {\n      var keys = Object.keys(obj);\n      var len = keys.length;\n\n      if (len < 2) {\n        return obj;\n      }\n\n      var newQueryParams = {};\n      var sortedKeys = keys.sort();\n\n      for (var i = 0; i < len; i++) {\n        newQueryParams[sortedKeys[i]] = obj[sortedKeys[i]];\n      }\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.get('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      @type {boolean}\n    */\n    coalesceFindRequests: false,\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 RESTAdapter.extend({\n        namespace: 'api/1'\n      });\n      ```\n       Requests for the `Post` model would now target `/api/1/post/`.\n       @property namespace\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 RESTAdapter.extend({\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      @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](/api/data/classes/DS.RESTAdapter.html).\n       ```app/adapters/application.js\n      import RESTAdapter from '@ember-data/adapter/rest';\n      import { computed } from '@ember/object';\n       export default RESTAdapter.extend({\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      @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      @param {DS.Store} store\n      @param {DS.Model} type\n      @param {String} id\n      @param {DS.Snapshot} snapshot\n      @return {Promise} promise\n    */\n    findRecord: function findRecord(store, type, id, snapshot) {\n      var url = this.buildURL(type.modelName, id, snapshot, 'findRecord');\n      var 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      @param {DS.Store} store\n      @param {DS.Model} type\n      @param {String} sinceToken\n      @param {DS.SnapshotRecordArray} snapshotRecordArray\n      @return {Promise} promise\n    */\n    findAll: function findAll(store, type, sinceToken, snapshotRecordArray) {\n      var query = this.buildQuery(snapshotRecordArray);\n      var url = this.buildURL(type.modelName, null, snapshotRecordArray, 'findAll');\n\n      if (sinceToken) {\n        query.since = sinceToken;\n      }\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      @param {DS.Store} store\n      @param {DS.Model} type\n      @param {Object} query\n      @return {Promise} promise\n    */\n    query: function query(store, type, _query) {\n      var url = this.buildURL(type.modelName, null, null, 'query', _query);\n\n      if (this.sortQueryParams) {\n        _query = this.sortQueryParams(_query);\n      }\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      @param {DS.Store} store\n      @param {DS.Model} type\n      @param {Object} query\n      @return {Promise} promise\n    */\n    queryRecord: function queryRecord(store, type, query) {\n      var url = this.buildURL(type.modelName, null, null, 'queryRecord', query);\n\n      if (this.sortQueryParams) {\n        query = this.sortQueryParams(query);\n      }\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      @param {DS.Store} store\n      @param {DS.Model} type\n      @param {Array} ids\n      @param {Array} snapshots\n      @return {Promise} promise\n    */\n    findMany: function findMany(store, type, ids, snapshots) {\n      var 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      @param {DS.Store} store\n      @param {DS.Snapshot} snapshot\n      @param {String} url\n      @param {Object} relationship meta object describing the relationship\n      @return {Promise} promise\n    */\n    findHasMany: function findHasMany(store, snapshot, url, relationship) {\n      var id = snapshot.id;\n      var type = snapshot.modelName;\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      @param {DS.Store} store\n      @param {DS.Snapshot} snapshot\n      @param {String} url\n      @param {Object} relationship meta object describing the relationship\n      @return {Promise} promise\n    */\n    findBelongsTo: function findBelongsTo(store, snapshot, url, relationship) {\n      var id = snapshot.id;\n      var type = snapshot.modelName;\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      @param {DS.Store} store\n      @param {DS.Model} type\n      @param {DS.Snapshot} snapshot\n      @return {Promise} promise\n    */\n    createRecord: function createRecord(store, type, snapshot) {\n      var data = {};\n      var serializer = store.serializerFor(type.modelName);\n      var url = this.buildURL(type.modelName, null, snapshot, 'createRecord');\n      serializer.serializeIntoHash(data, type, snapshot, {\n        includeId: true\n      });\n      return this.ajax(url, 'POST', {\n        data: 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      @param {DS.Store} store\n      @param {DS.Model} type\n      @param {DS.Snapshot} snapshot\n      @return {Promise} promise\n    */\n    updateRecord: function updateRecord(store, type, snapshot) {\n      var data = {};\n      var serializer = store.serializerFor(type.modelName);\n      serializer.serializeIntoHash(data, type, snapshot);\n      var id = snapshot.id;\n      var url = this.buildURL(type.modelName, id, snapshot, 'updateRecord');\n      return this.ajax(url, 'PUT', {\n        data: 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      @param {DS.Store} store\n      @param {DS.Model} type\n      @param {DS.Snapshot} snapshot\n      @return {Promise} promise\n    */\n    deleteRecord: function deleteRecord(store, type, snapshot) {\n      var id = snapshot.id;\n      return this.ajax(this.buildURL(type.modelName, id, snapshot, 'deleteRecord'), 'DELETE');\n    },\n    _stripIDFromURL: function _stripIDFromURL(store, snapshot) {\n      var url = this.buildURL(snapshot.modelName, snapshot.id, snapshot);\n      var expandedURL = url.split('/'); // 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\n      var lastSegment = expandedURL[expandedURL.length - 1];\n      var id = snapshot.id;\n\n      if (decodeURIComponent(lastSegment) === id) {\n        expandedURL[expandedURL.length - 1] = '';\n      } else if (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\n      return expandedURL.join('/');\n    },\n    // http://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers\n    maxURLLength: 2048,\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      @param {DS.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: function groupRecordsForFindMany(store, snapshots) {\n      var groups = new Map();\n      var adapter = this;\n      var maxURLLength = this.maxURLLength;\n      snapshots.forEach(function (snapshot) {\n        var baseUrl = adapter._stripIDFromURL(store, snapshot);\n\n        if (!groups.has(baseUrl)) {\n          groups.set(baseUrl, []);\n        }\n\n        groups.get(baseUrl).push(snapshot);\n      });\n\n      function splitGroupToFitInUrl(group, maxURLLength, paramNameLength) {\n        var idsSize = 0;\n\n        var baseUrl = adapter._stripIDFromURL(store, group[0]);\n\n        var splitGroups = [[]];\n        group.forEach(function (snapshot) {\n          var additionalLength = encodeURIComponent(snapshot.id).length + paramNameLength;\n\n          if (baseUrl.length + idsSize + additionalLength >= maxURLLength) {\n            idsSize = 0;\n            splitGroups.push([]);\n          }\n\n          idsSize += additionalLength;\n          var lastGroupIndex = splitGroups.length - 1;\n          splitGroups[lastGroupIndex].push(snapshot);\n        });\n        return splitGroups;\n      }\n\n      var groupsArray = [];\n      groups.forEach(function (group, key) {\n        var paramNameLength = '&ids%5B%5D='.length;\n        var splitGroups = splitGroupToFitInUrl(group, maxURLLength, paramNameLength);\n        splitGroups.forEach(function (splitGroup) {\n          return groupsArray.push(splitGroup);\n        });\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      @param  {Number} status\n      @param  {Object} headers\n      @param  {Object} payload\n      @param  {Object} requestData - the original request information\n      @return {Object | DS.AdapterError} response\n    */\n    handleResponse: function 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(payload.errors);\n      }\n\n      var errors = this.normalizeErrorResponse(status, headers, payload);\n      var detailedMessage = this.generatedDetailedMessage(status, headers, payload, requestData);\n\n      switch (status) {\n        case 401:\n          return new _error.UnauthorizedError(errors, detailedMessage);\n\n        case 403:\n          return new _error.ForbiddenError(errors, detailedMessage);\n\n        case 404:\n          return new _error.NotFoundError(errors, detailedMessage);\n\n        case 409:\n          return new _error.ConflictError(errors, detailedMessage);\n\n        default:\n          if (status >= 500) {\n            return new _error.ServerError(errors, detailedMessage);\n          }\n\n      }\n\n      return new _error.AdapterError(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      @param  {Number} status\n      @param  {Object} headers\n      @param  {Object} payload\n      @return {Boolean}\n    */\n    isSuccess: function 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      @param  {Number} status\n      @param  {Object} headers\n      @param  {Object} payload\n      @return {Boolean}\n    */\n    isInvalid: function 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    ajax: function ajax(url, type, options) {\n      var adapter = this;\n      var useFetch = Ember.get(this, 'useFetch');\n      var requestData = {\n        url: url,\n        method: type\n      };\n      var hash = adapter.ajaxOptions(url, type, options);\n\n      if (useFetch) {\n        return this._fetchRequest(hash).then(function (response) {\n          return Ember.RSVP.hash({\n            response: response,\n            payload: (0, _private.determineBodyPromise)(response, requestData)\n          });\n        }).then(function (_ref) {\n          var response = _ref.response,\n              payload = _ref.payload;\n\n          if (response.ok) {\n            return fetchSuccessHandler(adapter, payload, response, requestData);\n          } else {\n            throw fetchErrorHandler(adapter, payload, response, null, requestData);\n          }\n        });\n      }\n\n      return new Promise(function (resolve, reject) {\n        hash.success = function (payload, textStatus, jqXHR) {\n          var response = ajaxSuccessHandler(adapter, payload, jqXHR, requestData);\n          Ember.run.join(null, resolve, response);\n        };\n\n        hash.error = function (jqXHR, textStatus, errorThrown) {\n          var error = ajaxErrorHandler(adapter, jqXHR, errorThrown, requestData);\n          Ember.run.join(null, reject, error);\n        };\n\n        adapter._ajax(hash);\n      }, 'DS: RESTAdapter#ajax ' + type + ' to ' + url);\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: function _ajaxRequest(options) {\n      jQuery.ajax(options);\n    },\n\n    /**\n      @method _najaxRequest\n      @private\n      @param {Object} options jQuery ajax options to be used for the najax request\n    */\n    _najaxRequest: function _najaxRequest(options) {\n      if (hasNajax) {\n        najax(options);\n      } else {\n        throw new Error('najax does not seem to be defined in your app. Did you override it via `addOrOverrideSandboxGlobals` in the fastboot server?');\n      }\n    },\n    _fetchRequest: function _fetchRequest(options) {\n      return (0, _private.fetch)(options.url, options);\n    },\n    _ajax: function _ajax(options) {\n      if (Ember.get(this, 'useFetch')) {\n        this._fetchRequest(options);\n      } else if (Ember.get(this, 'fastboot.isFastBoot')) {\n        this._najaxRequest(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: function ajaxOptions(url, method, options) {\n      options = Ember.assign({\n        url: url,\n        method: method,\n        type: method\n      }, options);\n      var headers = Ember.get(this, 'headers');\n\n      if (headers !== undefined) {\n        options.headers = Ember.assign({}, options.headers, headers);\n      } else if (!options.headers) {\n        options.headers = {};\n      }\n\n      if (options.data && options.type !== 'GET') {\n        var contentType = options.contentType || 'application/json; charset=utf-8';\n        options.headers['content-type'] = contentType;\n      }\n\n      if (Ember.get(this, 'useFetch')) {\n        options = fetchOptions(options, this);\n      } else {\n        options = _ajaxOptions(options, this);\n      }\n\n      options.url = this._ajaxURL(options.url);\n      return options;\n    },\n    _ajaxURL: function _ajaxURL(url) {\n      if (Ember.get(this, 'fastboot.isFastBoot')) {\n        var httpRegex = /^https?:\\/\\//;\n        var protocolRelativeRegex = /^\\/\\//;\n        var protocol = Ember.get(this, 'fastboot.request.protocol');\n        var host = Ember.get(this, 'fastboot.request.host');\n\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\n      return url;\n    },\n\n    /**\n      @method parseErrorResponse\n      @private\n      @param {String} responseText\n      @return {Object}\n    */\n    parseErrorResponse: function parseErrorResponse(responseText) {\n      var json = responseText;\n\n      try {\n        json = JSON.parse(responseText);\n      } catch (e) {// ignored\n      }\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: function normalizeErrorResponse(status, headers, payload) {\n      if (payload && typeof payload === 'object' && payload.errors) {\n        return payload.errors;\n      } else {\n        return [{\n          status: \"\" + status,\n          title: 'The backend responded with an error',\n          detail: \"\" + 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: function generatedDetailedMessage(status, headers, payload, requestData) {\n      var shortenedPayload;\n      var payloadContentType = headers['content-type'] || 'Empty Content-Type';\n\n      if (payloadContentType === 'text/html' && payload.length > 250) {\n        shortenedPayload = '[Omitted Lengthy HTML]';\n      } else {\n        shortenedPayload = payload;\n      }\n\n      var requestDescription = requestData.method + ' ' + requestData.url;\n      var payloadDescription = 'Payload (' + payloadContentType + ')';\n      return ['Ember Data Request ' + requestDescription + ' returned a ' + status, payloadDescription, shortenedPayload].join('\\n');\n    },\n    // @since 2.5.0\n    buildQuery: function buildQuery(snapshot) {\n      var query = {};\n\n      if (snapshot) {\n        var include = snapshot.include;\n\n        if (include) {\n          query.include = include;\n        }\n      }\n\n      return query;\n    }\n  });\n\n  function ajaxSuccess(adapter, payload, requestData, responseData) {\n    var response;\n\n    try {\n      response = adapter.handleResponse(responseData.status, responseData.headers, payload, requestData);\n    } catch (error) {\n      return Promise.reject(error);\n    }\n\n    if (response && response.isAdapterError) {\n      return Promise.reject(response);\n    } else {\n      return response;\n    }\n  }\n\n  function ajaxError(adapter, payload, requestData, responseData) {\n    if (true\n    /* DEBUG */\n    ) {\n      var 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      var validJSONString = !(responseData.textStatus === 'parsererror' && payload === '');\n      (true && Ember.warn(message, validJSONString, {\n        id: 'ds.adapter.returned-empty-string-as-JSON'\n      }));\n    }\n\n    var error;\n\n    if (responseData.errorThrown instanceof Error) {\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\n    return error;\n  } // Adapter abort error to include any relevent info, e.g. request/response:\n\n\n  function handleAbort(requestData, responseData) {\n    var method = requestData.method,\n        url = requestData.url,\n        errorThrown = requestData.errorThrown;\n    var status = responseData.status;\n    var msg = \"Request failed: \" + method + \" \" + url + \" \" + (errorThrown || '');\n    var errors = [{\n      title: 'Adapter Error',\n      detail: msg.trim(),\n      status: status\n    }];\n    return new _error.AbortError(errors);\n  } //From http://stackoverflow.com/questions/280634/endswith-in-javascript\n\n\n  function endsWith(string, suffix) {\n    if (typeof String.prototype.endsWith !== 'function') {\n      return string.indexOf(suffix, string.length - suffix.length) !== -1;\n    } else {\n      return string.endsWith(suffix);\n    }\n  }\n\n  function fetchSuccessHandler(adapter, payload, response, requestData) {\n    var responseData = fetchResponseData(response);\n    return ajaxSuccess(adapter, payload, requestData, responseData);\n  }\n\n  function fetchErrorHandler(adapter, payload, response, errorThrown, requestData) {\n    var responseData = fetchResponseData(response);\n    responseData.errorThrown = errorThrown;\n    return ajaxError(adapter, payload, requestData, responseData);\n  }\n\n  function ajaxSuccessHandler(adapter, payload, jqXHR, requestData) {\n    var responseData = ajaxResponseData(jqXHR);\n    return ajaxSuccess(adapter, payload, requestData, responseData);\n  }\n\n  function ajaxErrorHandler(adapter, jqXHR, errorThrown, requestData) {\n    var responseData = ajaxResponseData(jqXHR);\n    responseData.errorThrown = errorThrown;\n    var payload = adapter.parseErrorResponse(jqXHR.responseText);\n    return ajaxError(adapter, payload, requestData, responseData);\n  }\n\n  function fetchResponseData(response) {\n    return {\n      status: response.status,\n      textStatus: response.textStatus,\n      headers: headersToObject(response.headers)\n    };\n  }\n\n  function ajaxResponseData(jqXHR) {\n    return {\n      status: jqXHR.status,\n      textStatus: jqXHR.statusText,\n      headers: (0, _private.parseResponseHeaders)(jqXHR.getAllResponseHeaders())\n    };\n  }\n\n  function headersToObject(headers) {\n    var headersObject = {};\n\n    if (headers) {\n      headers.forEach(function (value, key) {\n        return headersObject[key] = value;\n      });\n    }\n\n    return headersObject;\n  }\n  /**\n   * Helper function that translates the options passed to `jQuery.ajax` into a format that `fetch` expects.\n   * @param {Object} _options\n   * @param {DS.Adapter} adapter\n   * @returns {Object}\n   */\n\n\n  function fetchOptions(options, adapter) {\n    options.credentials = 'same-origin';\n\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) {\n          // Test if there are already query params in the url (mimics jQuey.ajax).\n          var queryParamDelimiter = options.url.indexOf('?') > -1 ? '&' : '?';\n          options.url += \"\" + queryParamDelimiter + (0, _private.serializeQueryParams)(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        options.body = JSON.stringify(options.data);\n      }\n    }\n\n    return options;\n  }\n\n  function _ajaxOptions(options, adapter) {\n    options.dataType = 'json';\n    options.context = adapter;\n\n    if (options.data && options.type !== 'GET') {\n      options.data = JSON.stringify(options.data);\n      options.contentType = 'application/json; charset=utf-8';\n    }\n\n    options.beforeSend = function (xhr) {\n      Object.keys(options.headers).forEach(function (key) {\n        return xhr.setRequestHeader(key, options.headers[key]);\n      });\n    };\n\n    return options;\n  }\n\n  var _default = RESTAdapter;\n  _exports.default = _default;\n});","define(\"@ember-data/adapter/version\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = \"3.11.0\";\n  _exports.default = _default;\n});","define('@ember-data/model/-private', ['exports', '@ember-data/store/-private', '@ember-data/store'], function (exports, Private, store) { 'use strict';\n\n  /**\n    @module ember-data\n  */\n\n  function getDefaultValue(record, options, key) {\n    if (typeof options.defaultValue === 'function') {\n      return options.defaultValue.apply(null, arguments);\n    } else {\n      var defaultValue = options.defaultValue;\n      ( !(typeof defaultValue !== 'object' || defaultValue === null) && Ember.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  }\n\n  function hasValue(internalModel, key) {\n    return Private.recordDataFor(internalModel).hasAttr(key);\n  }\n  /**\n    `attr` defines an attribute on a [Model](/api/data/classes/DS.Model.html).\n    By default, attributes are passed through as-is, however you can specify an\n    optional type to have the value automatically transformed.\n    Ember Data ships with four basic transform types: `string`, `number`,\n    `boolean` and `date`. You can define your own transforms by subclassing\n    [Transform](/api/data/classes/DS.Transform.html).\n\n    Note that you cannot use `attr` to define an attribute of `id`.\n\n    `attr` takes an optional hash as a second parameter, currently\n    supported options are:\n\n    - `defaultValue`: Pass a string or a function to be called to set the attribute\n    to a default value if none is supplied.\n\n    Example\n\n    ```app/models/user.js\n    import Model, { attr } from '@ember-data/model';\n\n    export default Model.extend({\n      username: attr('string'),\n      email: attr('string'),\n      verified: attr('boolean', { defaultValue: false })\n    });\n    ```\n\n    Default value can also be a function. This is useful it you want to return\n    a new object for each attribute.\n\n    ```app/models/user.js\n    import Model, { attr } from '@ember-data/model';\n\n    export default Model.extend({\n      username: attr('string'),\n      email: attr('string'),\n      settings: attr({\n        defaultValue() {\n          return {};\n        }\n      })\n    });\n    ```\n\n    The `options` hash is passed as second argument to a transforms'\n    `serialize` and `deserialize` method. This allows to configure a\n    transformation and adapt the corresponding value, based on the config:\n\n    ```app/models/post.js\n    import Model, { attr } from '@ember-data/model';\n\n    export default Model.extend({\n      text: attr('text', {\n        uppercase: true\n      })\n    });\n    ```\n\n    ```app/transforms/text.js\n    import Transform from '@ember-data/serializer/transform';\n\n    export default Transform.extend({\n      serialize(value, options) {\n        if (options.uppercase) {\n          return value.toUpperCase();\n        }\n\n        return value;\n      },\n\n      deserialize(value) {\n        return value;\n      }\n    })\n    ```\n\n    @namespace\n    @method attr\n    @for DS\n    @param {String|Object} type the attribute type\n    @param {Object} options a hash of options\n    @return {Attribute}\n  */\n\n\n  function attr(type, options) {\n    if (typeof type === 'object') {\n      options = type;\n      type = undefined;\n    } else {\n      options = options || {};\n    }\n\n    var meta = {\n      type: type,\n      isAttribute: true,\n      kind: 'attribute',\n      options: options\n    };\n    return Ember.computed({\n      get: function get(key) {\n        {\n          if (['_internalModel', 'recordData', '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\n        var internalModel = this._internalModel;\n\n        if (hasValue(internalModel, key)) {\n          return internalModel.getAttributeValue(key);\n        } else {\n          return getDefaultValue(this, options, key);\n        }\n      },\n      set: function set(key, value) {\n        {\n          if (['_internalModel', 'recordData', '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\n        return this._internalModel.setDirtyAttribute(key, value);\n      }\n    }).meta(meta);\n  }\n\n  /**\n    `belongsTo` is used to define One-To-One and One-To-Many\n    relationships on a [Model](/api/data/classes/DS.Model.html).\n\n\n    `belongsTo` 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\n      related model in a One-To-Many relationship. See [Explicit Inverses](#explicit-inverses)\n\n    #### One-To-One\n    To declare a one-to-one relationship between two models, use\n    `belongsTo`:\n\n    ```app/models/user.js\n    import Model, { belongsTo } from '@ember-data/model';\n\n    export default Model.extend({\n      profile: belongsTo('profile')\n    });\n    ```\n\n    ```app/models/profile.js\n    import Model, { belongsTo } from '@ember-data/model';\n\n    export default Model.extend({\n      user: belongsTo('user')\n    });\n    ```\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 Model.extend({\n      comments: hasMany('comment')\n    });\n    ```\n\n    ```app/models/comment.js\n    import Model, { belongsTo } from '@ember-data/model';\n\n    export default Model.extend({\n      post: belongsTo('post')\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 key name.\n\n    ```app/models/comment.js\n    import Model, { belongsTo } from '@ember-data/model';\n\n    export default Model.extend({\n      post: belongsTo()\n    });\n    ```\n\n    will lookup for a Post type.\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/comment.js\n    import Model, { belongsTo } from '@ember-data/model';\n\n    export default Model.extend({\n      post: belongsTo('post', {\n        async: false\n      })\n    });\n    ```\n\n    In contrast to async relationship, accessing a sync relationship\n    will always return the record (Model instance) for the existing\n    local resource, or null. But it will error on access when\n    a related resource is known to exist and it has not been loaded.\n\n    ```\n    let post = comment.get('post');\n\n    ```\n\n    @method belongsTo\n    @param {String} modelName (optional) type of the relationship\n    @param {Object} options (optional) a hash of options\n    @return {Ember.computed} relationship\n  */\n  function belongsTo(modelName, options) {\n    var opts, userEnteredModelName;\n\n    if (typeof modelName === 'object') {\n      opts = modelName;\n      userEnteredModelName = undefined;\n    } else {\n      opts = options;\n      userEnteredModelName = modelName;\n    }\n\n    if (typeof userEnteredModelName === 'string') {\n      userEnteredModelName = store.normalizeModelName(userEnteredModelName);\n    }\n\n    ( !(typeof userEnteredModelName === 'string' || typeof userEnteredModelName === 'undefined') && Ember.assert('The first argument to belongsTo must be a string representing a model type key, not an instance of ' + Ember.inspect(userEnteredModelName) + \". E.g., to define a relation to the Person model, use belongsTo('person')\", typeof userEnteredModelName === 'string' || typeof userEnteredModelName === 'undefined'));\n    opts = opts || {};\n    var meta = {\n      type: userEnteredModelName,\n      isRelationship: true,\n      options: opts,\n      kind: 'belongsTo',\n      name: 'Belongs To',\n      key: null\n    };\n    return Ember.computed({\n      get: function get(key) {\n        {\n          if (['_internalModel', 'recordData', '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          if (opts.hasOwnProperty('serialize')) {\n            ( Ember.warn(\"You provided a serialize option on the \\\"\" + key + \"\\\" property in the \\\"\" + this._internalModel.modelName + \"\\\" class, this belongs in the serializer. See Serializer and it's implementations https://emberjs.com/api/data/classes/DS.Serializer.html\", false, {\n              id: 'ds.model.serialize-option-in-belongs-to'\n            }));\n          }\n\n          if (opts.hasOwnProperty('embedded')) {\n            ( Ember.warn(\"You provided an embedded option on the \\\"\" + key + \"\\\" property in the \\\"\" + this._internalModel.modelName + \"\\\" class, this belongs in the serializer. See EmbeddedRecordsMixin https://emberjs.com/api/data/classes/DS.EmbeddedRecordsMixin.html\", false, {\n              id: 'ds.model.embedded-option-in-belongs-to'\n            }));\n          }\n        }\n\n        return this._internalModel.getBelongsTo(key);\n      },\n      set: function set(key, value) {\n        {\n          if (['_internalModel', 'recordData', '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\n        this._internalModel.setDirtyBelongsTo(key, value);\n\n        return this._internalModel.getBelongsTo(key);\n      }\n    }).meta(meta);\n  }\n\n  /**\n    `hasMany` is used to define One-To-Many and Many-To-Many\n    relationships on a [Model](/api/data/classes/DS.Model.html).\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\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 Model.extend({\n      comments: hasMany('comment')\n    });\n    ```\n\n    ```app/models/comment.js\n    import Model, { belongsTo } from '@ember-data/model';\n\n    export default Model.extend({\n      post: belongsTo('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 Model.extend({\n      tags: hasMany('tag')\n    });\n    ```\n\n    ```app/models/tag.js\n    import Model, { hasMany } from '@ember-data/model';\n\n    export default Model.extend({\n      posts: hasMany('post')\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 Model.extend({\n      tags: hasMany()\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 Model.extend({\n      onePost: belongsTo('post'),\n      twoPost: belongsTo('post'),\n      redPost: belongsTo('post'),\n      bluePost: belongsTo('post')\n    });\n    ```\n\n    ```app/models/post.js\n    import Model, { hasMany } from '@ember-data/model';\n\n    export default Model.extend({\n      comments: hasMany('comment', {\n        inverse: 'redPost'\n      })\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 Model.extend({\n      comments: hasMany('comment', {\n        async: false\n      })\n    });\n    ```\n\n    In contrast to async relationship, accessing a sync relationship\n    will always return a [ManyArray](/api/data/classes/DS.ManyArray.html) 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.get('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    @namespace\n    @method hasMany\n    @for DS\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    if (typeof type === 'object') {\n      options = type;\n      type = undefined;\n    }\n\n    ( !(typeof type === 'string' || typeof type === 'undefined') && Ember.assert(\"The first argument to hasMany must be a string representing a model type key, not an instance of \" + Ember.inspect(type) + \". E.g., to define a relation to the Comment model, use hasMany('comment')\", typeof type === 'string' || typeof type === 'undefined'));\n    options = options || {};\n\n    if (typeof type === 'string') {\n      type = store.normalizeModelName(type);\n    } // 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\n\n    var meta = {\n      type: type,\n      options: options,\n      isRelationship: true,\n      kind: 'hasMany',\n      name: 'Has Many',\n      key: null\n    };\n    return Ember.computed({\n      get: function get(key) {\n        {\n          if (['_internalModel', 'recordData', '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\n        return this._internalModel.getHasMany(key);\n      },\n      set: function set(key, records) {\n        {\n          if (['_internalModel', 'recordData', '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\n        var internalModel = this._internalModel;\n        internalModel.setDirtyHasMany(key, records);\n        return internalModel.getHasMany(key);\n      }\n    }).meta(meta);\n  }\n\n  exports.attr = attr;\n  exports.belongsTo = belongsTo;\n  exports.hasMany = hasMany;\n\n  Object.defineProperty(exports, '__esModule', { value: true });\n\n});\n","define(\"@ember-data/model/index\", [\"exports\", \"@ember-data/model/-private\", \"@ember-data/store/-private\"], function (_exports, _private, _private2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"attr\", {\n    enumerable: true,\n    get: function get() {\n      return _private.attr;\n    }\n  });\n  Object.defineProperty(_exports, \"belongsTo\", {\n    enumerable: true,\n    get: function get() {\n      return _private.belongsTo;\n    }\n  });\n  Object.defineProperty(_exports, \"hasMany\", {\n    enumerable: true,\n    get: function get() {\n      return _private.hasMany;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _private2.Model;\n    }\n  });\n});","define(\"@ember-data/model/version\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = \"3.11.0\";\n  _exports.default = _default;\n});","define('@ember-data/serializer/-private', ['exports'], function (exports) { 'use strict';\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    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 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](/api/data/classes/DS.EmbeddedRecordsMixin.html#method_normalize)\n    * [serializeBelongsTo](/api/data/classes/DS.EmbeddedRecordsMixin.html#method_serializeBelongsTo)\n    * [serializeHasMany](/api/data/classes/DS.EmbeddedRecordsMixin.html#method_serializeHasMany)\n\n    @class EmbeddedRecordsMixin\n    @namespace DS\n  */\n  var embeddedRecordsMixin = Ember.Mixin.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     @param {DS.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: function normalize(typeClass, hash, prop) {\n      var normalizedHash = this._super(typeClass, hash, prop);\n\n      return this._extractEmbeddedRecords(this, this.store, typeClass, normalizedHash);\n    },\n    keyForRelationship: function 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    /**\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 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      @param {DS.Snapshot} snapshot\n      @param {Object} json\n      @param {Object} relationship\n    */\n    serializeBelongsTo: function serializeBelongsTo(snapshot, json, relationship) {\n      var attr = relationship.key;\n\n      if (this.noSerializeOptionSpecified(attr)) {\n        this._super(snapshot, json, relationship);\n\n        return;\n      }\n\n      var includeIds = this.hasSerializeIdsOption(attr);\n      var includeRecords = this.hasSerializeRecordsOption(attr);\n      var embeddedSnapshot = snapshot.belongsTo(attr);\n\n      if (includeIds) {\n        var serializedKey = this._getMappedKey(relationship.key, snapshot.type);\n\n        if (serializedKey === relationship.key && this.keyForRelationship) {\n          serializedKey = this.keyForRelationship(relationship.key, relationship.kind, 'serialize');\n        }\n\n        if (!embeddedSnapshot) {\n          json[serializedKey] = null;\n        } else {\n          json[serializedKey] = embeddedSnapshot.id;\n\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: function _serializeEmbeddedBelongsTo(snapshot, json, relationship) {\n      var embeddedSnapshot = snapshot.belongsTo(relationship.key);\n\n      var serializedKey = this._getMappedKey(relationship.key, snapshot.type);\n\n      if (serializedKey === relationship.key && this.keyForRelationship) {\n        serializedKey = this.keyForRelationship(relationship.key, relationship.kind, 'serialize');\n      }\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\n        if (relationship.options.polymorphic) {\n          this.serializePolymorphicType(snapshot, json, relationship);\n        }\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 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 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 = DS.Model.extend({\n        name:    DS.attr('string'),\n        pets: DS.hasMany('pet', { polymorphic: true })\n      });\n       Pet = DS.Model.extend({\n        name: DS.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 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      @param {DS.Snapshot} snapshot\n      @param {Object} json\n      @param {Object} relationship\n    */\n    serializeHasMany: function serializeHasMany(snapshot, json, relationship) {\n      var attr = relationship.key;\n\n      if (this.noSerializeOptionSpecified(attr)) {\n        this._super(snapshot, json, relationship);\n\n        return;\n      }\n\n      if (this.hasSerializeIdsOption(attr)) {\n        var serializedKey = this._getMappedKey(relationship.key, snapshot.type);\n\n        if (serializedKey === relationship.key && this.keyForRelationship) {\n          serializedKey = this.keyForRelationship(relationship.key, relationship.kind, 'serialize');\n        }\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    /*\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: function _serializeHasManyAsIdsAndTypes(snapshot, json, relationship) {\n      var serializedKey = this.keyForAttribute(relationship.key, 'serialize');\n      var hasMany = snapshot.hasMany(relationship.key);\n      json[serializedKey] = Ember.A(hasMany).map(function (recordSnapshot) {\n        //\n        // I'm sure I'm being utterly naive here. Propably id is a configurate 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: function _serializeEmbeddedHasMany(snapshot, json, relationship) {\n      var serializedKey = this._getMappedKey(relationship.key, snapshot.type);\n\n      if (serializedKey === relationship.key && this.keyForRelationship) {\n        serializedKey = this.keyForRelationship(relationship.key, relationship.kind, 'serialize');\n      }\n\n      ( Ember.warn(\"The embedded relationship '\" + serializedKey + \"' is undefined for '\" + snapshot.modelName + \"' with id '\" + snapshot.id + \"'. Please include it in your original payload.\", Ember.typeOf(snapshot.hasMany(relationship.key)) !== 'undefined', {\n        id: 'ds.serializer.embedded-relationship-undefined'\n      }));\n      json[serializedKey] = this._generateSerializedHasMany(snapshot, relationship);\n    },\n\n    /*\n      Returns an array of embedded records serialized to JSON\n    */\n    _generateSerializedHasMany: function _generateSerializedHasMany(snapshot, relationship) {\n      var hasMany = snapshot.hasMany(relationship.key);\n      var manyArray = Ember.A(hasMany);\n      var ret = new Array(manyArray.length);\n\n      for (var i = 0; i < manyArray.length; i++) {\n        var embeddedSnapshot = manyArray[i];\n        var embeddedJson = embeddedSnapshot.serialize({\n          includeId: true\n        });\n        this.removeEmbeddedForeignKey(snapshot, embeddedSnapshot, relationship, embeddedJson);\n        ret[i] = embeddedJson;\n      }\n\n      return ret;\n    },\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      @param {DS.Snapshot} snapshot\n      @param {DS.Snapshot} embeddedSnapshot\n      @param {Object} relationship\n      @param {Object} json\n    */\n    removeEmbeddedForeignKey: function removeEmbeddedForeignKey(snapshot, embeddedSnapshot, relationship, json) {\n      if (relationship.kind === 'belongsTo') {\n        var parentRecord = snapshot.type.inverseFor(relationship.key, this.store);\n\n        if (parentRecord) {\n          var name = parentRecord.name;\n          var embeddedSerializer = this.store.serializerFor(embeddedSnapshot.modelName);\n          var parentKey = embeddedSerializer.keyForRelationship(name, parentRecord.kind, 'deserialize');\n\n          if (parentKey) {\n            delete json[parentKey];\n          }\n        }\n      }\n      /*else if (relationship.kind === 'hasMany') {\n      return;\n      }*/\n\n    },\n    // checks config for attrs option to embedded (always) - serialize and deserialize\n    hasEmbeddedAlwaysOption: function hasEmbeddedAlwaysOption(attr) {\n      var option = this.attrsOption(attr);\n      return option && option.embedded === 'always';\n    },\n    // checks config for attrs option to serialize ids\n    hasSerializeRecordsOption: function hasSerializeRecordsOption(attr) {\n      var alwaysEmbed = this.hasEmbeddedAlwaysOption(attr);\n      var option = this.attrsOption(attr);\n      return alwaysEmbed || option && option.serialize === 'records';\n    },\n    // checks config for attrs option to serialize records\n    hasSerializeIdsOption: function hasSerializeIdsOption(attr) {\n      var 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: function hasSerializeIdsAndTypesOption(attr) {\n      var 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: function noSerializeOptionSpecified(attr) {\n      var 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: function hasDeserializeRecordsOption(attr) {\n      var alwaysEmbed = this.hasEmbeddedAlwaysOption(attr);\n      var option = this.attrsOption(attr);\n      return alwaysEmbed || option && option.deserialize === 'records';\n    },\n    attrsOption: function attrsOption(attr) {\n      var attrs = this.get('attrs');\n      return attrs && (attrs[Ember.String.camelize(attr)] || attrs[attr]);\n    },\n\n    /**\n     @method _extractEmbeddedRecords\n     @private\n    */\n    _extractEmbeddedRecords: function _extractEmbeddedRecords(serializer, store, typeClass, partial) {\n      var _this = this;\n\n      typeClass.eachRelationship(function (key, relationship) {\n        if (serializer.hasDeserializeRecordsOption(key)) {\n          if (relationship.kind === 'hasMany') {\n            _this._extractEmbeddedHasMany(store, key, partial, relationship);\n          }\n\n          if (relationship.kind === 'belongsTo') {\n            _this._extractEmbeddedBelongsTo(store, key, partial, relationship);\n          }\n        }\n      });\n      return partial;\n    },\n\n    /**\n     @method _extractEmbeddedHasMany\n     @private\n    */\n    _extractEmbeddedHasMany: function _extractEmbeddedHasMany(store, key, hash, relationshipMeta) {\n      var relationshipHash = Ember.get(hash, \"data.relationships.\" + key + \".data\");\n\n      if (!relationshipHash) {\n        return;\n      }\n\n      var hasMany = new Array(relationshipHash.length);\n\n      for (var i = 0; i < relationshipHash.length; i++) {\n        var item = relationshipHash[i];\n\n        var _this$_normalizeEmbed = this._normalizeEmbeddedRelationship(store, relationshipMeta, item),\n            data = _this$_normalizeEmbed.data,\n            included = _this$_normalizeEmbed.included;\n\n        hash.included = hash.included || [];\n        hash.included.push(data);\n\n        if (included) {\n          var _hash$included;\n\n          (_hash$included = hash.included).push.apply(_hash$included, included);\n        }\n\n        hasMany[i] = {\n          id: data.id,\n          type: data.type\n        };\n      }\n\n      var relationship = {\n        data: hasMany\n      };\n      Ember.set(hash, \"data.relationships.\" + key, relationship);\n    },\n\n    /**\n     @method _extractEmbeddedBelongsTo\n     @private\n    */\n    _extractEmbeddedBelongsTo: function _extractEmbeddedBelongsTo(store, key, hash, relationshipMeta) {\n      var relationshipHash = Ember.get(hash, \"data.relationships.\" + key + \".data\");\n\n      if (!relationshipHash) {\n        return;\n      }\n\n      var _this$_normalizeEmbed2 = this._normalizeEmbeddedRelationship(store, relationshipMeta, relationshipHash),\n          data = _this$_normalizeEmbed2.data,\n          included = _this$_normalizeEmbed2.included;\n\n      hash.included = hash.included || [];\n      hash.included.push(data);\n\n      if (included) {\n        var _hash$included2;\n\n        (_hash$included2 = hash.included).push.apply(_hash$included2, included);\n      }\n\n      var belongsTo = {\n        id: data.id,\n        type: data.type\n      };\n      var relationship = {\n        data: belongsTo\n      };\n      Ember.set(hash, \"data.relationships.\" + key, relationship);\n    },\n\n    /**\n     @method _normalizeEmbeddedRelationship\n     @private\n    */\n    _normalizeEmbeddedRelationship: function _normalizeEmbeddedRelationship(store, relationshipMeta, relationshipHash) {\n      var modelName = relationshipMeta.type;\n\n      if (relationshipMeta.options.polymorphic) {\n        modelName = relationshipHash.type;\n      }\n\n      var modelClass = store.modelFor(modelName);\n      var serializer = store.serializerFor(modelName);\n      return serializer.normalize(modelClass, relationshipHash, null);\n    },\n    isEmbeddedRecordsMixin: true\n  });\n\n  /*\n    Check if the passed model has a `type` attribute or a relationship named `type`.\n\n    @method modelHasAttributeOrRelationshipNamedType\n    @param modelClass\n   */\n  function modelHasAttributeOrRelationshipNamedType(modelClass) {\n    return Ember.get(modelClass, 'attributes').has('type') || Ember.get(modelClass, 'relationshipsByName').has('type');\n  }\n\n  exports.EmbeddedRecordsMixin = embeddedRecordsMixin;\n  exports.modelHasAttributeOrRelationshipNamedType = modelHasAttributeOrRelationshipNamedType;\n\n  Object.defineProperty(exports, '__esModule', { value: true });\n\n});\n","define(\"@ember-data/serializer/index\", [\"exports\", \"@ember-data/serializer/serializer\"], function (_exports, _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 get() {\n      return _serializer.default;\n    }\n  });\n});","define(\"@ember-data/serializer/json-api\", [\"exports\", \"ember-inflector\", \"@ember-data/serializer/json\", \"@ember-data/store\"], function (_exports, _emberInflector, _json, _store) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n    Ember Data 2.0 Serializer:\n  \n    In Ember Data 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    `JSONAPISerializer` supports the http://jsonapi.org/ spec and is the\n    serializer recommended by Ember Data.\n  \n    This serializer normalizes a JSON API payload that looks like:\n  \n    ```app/models/player.js\n    import Model, { attr, belongsTo } from '@ember-data/model';\n  \n    export default Model.extend({\n      name: attr('string'),\n      skill: attr('string'),\n      gamesPlayed: attr('number'),\n      club: belongsTo('club')\n    });\n    ```\n  \n    ```app/models/club.js\n    import Model, { attr, hasMany } from '@ember-data/model';\n  \n    export default Model.extend({\n      name: attr('string'),\n      location: attr('string'),\n      players: hasMany('player')\n    });\n    ```\n  \n    ```js\n      {\n        \"data\": [\n          {\n            \"attributes\": {\n              \"name\": \"Benfica\",\n              \"location\": \"Portugal\"\n            },\n            \"id\": \"1\",\n            \"relationships\": {\n              \"players\": {\n                \"data\": [\n                  {\n                    \"id\": \"3\",\n                    \"type\": \"players\"\n                  }\n                ]\n              }\n            },\n            \"type\": \"clubs\"\n          }\n        ],\n        \"included\": [\n          {\n            \"attributes\": {\n              \"name\": \"Eusebio Silva Ferreira\",\n              \"skill\": \"Rocket shot\",\n              \"games-played\": 431\n            },\n            \"id\": \"3\",\n            \"relationships\": {\n              \"club\": {\n                \"data\": {\n                  \"id\": \"1\",\n                  \"type\": \"clubs\"\n                }\n              }\n            },\n            \"type\": \"players\"\n          }\n        ]\n      }\n    ```\n  \n    to the format that the Ember Data store expects.\n  \n    ### Customizing meta\n  \n    Since a JSON API Document can have meta defined in multiple locations you can\n    use the specific serializer hooks if you need to customize the meta.\n  \n    One scenario would be to camelCase the meta keys of your payload. The example\n    below shows how this could be done using `normalizeArrayResponse` and\n    `extractRelationship`.\n  \n    ```app/serializers/application.js\n    export default JSONAPISerializer.extend({\n      normalizeArrayResponse(store, primaryModelClass, payload, id, requestType) {\n        let normalizedDocument = this._super(...arguments);\n  \n        // Customize document meta\n        normalizedDocument.meta = camelCaseKeys(normalizedDocument.meta);\n  \n        return normalizedDocument;\n      },\n  \n      extractRelationship(relationshipHash) {\n        let normalizedRelationship = this._super(...arguments);\n  \n        // Customize relationship meta\n        normalizedRelationship.meta = camelCaseKeys(normalizedRelationship.meta);\n  \n        return normalizedRelationship;\n      }\n    });\n    ```\n  \n    @since 1.13.0\n    @class JSONAPISerializer\n    @extends JSONSerializer\n  */\n  var JSONAPISerializer = _json.default.extend({\n    /**\n      @method _normalizeDocumentHelper\n      @param {Object} documentHash\n      @return {Object}\n      @private\n    */\n    _normalizeDocumentHelper: function _normalizeDocumentHelper(documentHash) {\n      if (Ember.typeOf(documentHash.data) === 'object') {\n        documentHash.data = this._normalizeResourceHelper(documentHash.data);\n      } else if (Array.isArray(documentHash.data)) {\n        var ret = new Array(documentHash.data.length);\n\n        for (var i = 0; i < documentHash.data.length; i++) {\n          var data = documentHash.data[i];\n          ret[i] = this._normalizeResourceHelper(data);\n        }\n\n        documentHash.data = ret;\n      }\n\n      if (Array.isArray(documentHash.included)) {\n        var _ret = new Array();\n\n        for (var _i = 0; _i < documentHash.included.length; _i++) {\n          var included = documentHash.included[_i];\n\n          var normalized = this._normalizeResourceHelper(included);\n\n          if (normalized !== null) {\n            // can be null when unknown type is encountered\n            _ret.push(normalized);\n          }\n        }\n\n        documentHash.included = _ret;\n      }\n\n      return documentHash;\n    },\n\n    /**\n      @method _normalizeRelationshipDataHelper\n      @param {Object} relationshipDataHash\n      @return {Object}\n      @private\n    */\n    _normalizeRelationshipDataHelper: function _normalizeRelationshipDataHelper(relationshipDataHash) {\n      relationshipDataHash.type = this.modelNameFromPayloadKey(relationshipDataHash.type);\n      return relationshipDataHash;\n    },\n\n    /**\n      @method _normalizeResourceHelper\n      @param {Object} resourceHash\n      @return {Object}\n      @private\n    */\n    _normalizeResourceHelper: function _normalizeResourceHelper(resourceHash) {\n      (true && !(!Ember.isNone(resourceHash.type)) && Ember.assert(this.warnMessageForUndefinedType(), !Ember.isNone(resourceHash.type), {\n        id: 'ds.serializer.type-is-undefined'\n      }));\n      var modelName, usedLookup;\n      modelName = this.modelNameFromPayloadKey(resourceHash.type);\n      usedLookup = 'modelNameFromPayloadKey';\n\n      if (!this.store._hasModelFor(modelName)) {\n        (true && Ember.warn(this.warnMessageNoModelForType(modelName, resourceHash.type, usedLookup), false, {\n          id: 'ds.serializer.model-for-type-missing'\n        }));\n        return null;\n      }\n\n      var modelClass = this.store.modelFor(modelName);\n      var serializer = this.store.serializerFor(modelName);\n\n      var _serializer$normalize = serializer.normalize(modelClass, resourceHash),\n          data = _serializer$normalize.data;\n\n      return data;\n    },\n\n    /**\n      @method pushPayload\n      @param {DS.Store} store\n      @param {Object} payload\n    */\n    pushPayload: function pushPayload(store, payload) {\n      var normalizedPayload = this._normalizeDocumentHelper(payload);\n\n      store.push(normalizedPayload);\n    },\n\n    /**\n      @method _normalizeResponse\n      @param {DS.Store} store\n      @param {DS.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: function _normalizeResponse(store, primaryModelClass, payload, id, requestType, isSingle) {\n      var normalizedPayload = this._normalizeDocumentHelper(payload);\n\n      return normalizedPayload;\n    },\n    normalizeQueryRecordResponse: function normalizeQueryRecordResponse() {\n      var normalized = this._super.apply(this, arguments);\n\n      (true && !(!Array.isArray(normalized.data)) && Ember.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        id: 'ds.serializer.json-api.queryRecord-array-response'\n      }));\n      return normalized;\n    },\n    extractAttributes: function extractAttributes(modelClass, resourceHash) {\n      var _this = this;\n\n      var attributes = {};\n\n      if (resourceHash.attributes) {\n        modelClass.eachAttribute(function (key) {\n          var attributeKey = _this.keyForAttribute(key, 'deserialize');\n\n          if (resourceHash.attributes[attributeKey] !== undefined) {\n            attributes[key] = resourceHash.attributes[attributeKey];\n          }\n\n          if (true\n          /* DEBUG */\n          ) {\n            if (resourceHash.attributes[attributeKey] === undefined && resourceHash.attributes[key] !== undefined) {\n              (true && !(false) && Ember.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\n      return attributes;\n    },\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       @param {Object} relationshipHash\n       @return {Object}\n    */\n    extractRelationship: function extractRelationship(relationshipHash) {\n      if (Ember.typeOf(relationshipHash.data) === 'object') {\n        relationshipHash.data = this._normalizeRelationshipDataHelper(relationshipHash.data);\n      }\n\n      if (Array.isArray(relationshipHash.data)) {\n        var ret = new Array(relationshipHash.data.length);\n\n        for (var i = 0; i < relationshipHash.data.length; i++) {\n          var data = relationshipHash.data[i];\n          ret[i] = this._normalizeRelationshipDataHelper(data);\n        }\n\n        relationshipHash.data = ret;\n      }\n\n      return relationshipHash;\n    },\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       @param {Object} modelClass\n       @param {Object} resourceHash\n       @return {Object}\n    */\n    extractRelationships: function extractRelationships(modelClass, resourceHash) {\n      var _this2 = this;\n\n      var relationships = {};\n\n      if (resourceHash.relationships) {\n        modelClass.eachRelationship(function (key, relationshipMeta) {\n          var relationshipKey = _this2.keyForRelationship(key, relationshipMeta.kind, 'deserialize');\n\n          if (resourceHash.relationships[relationshipKey] !== undefined) {\n            var relationshipHash = resourceHash.relationships[relationshipKey];\n            relationships[key] = _this2.extractRelationship(relationshipHash);\n          }\n\n          if (true\n          /* DEBUG */\n          ) {\n            if (resourceHash.relationships[relationshipKey] === undefined && resourceHash.relationships[key] !== undefined) {\n              (true && !(false) && Ember.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\n      return relationships;\n    },\n\n    /**\n      @method _extractType\n      @param {DS.Model} modelClass\n      @param {Object} resourceHash\n      @return {String}\n      @private\n    */\n    _extractType: function _extractType(modelClass, resourceHash) {\n      return this.modelNameFromPayloadKey(resourceHash.type);\n    },\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      @param {String} key\n      @return {String} the model's modelName\n    */\n    // TODO @deprecated Use modelNameFromPayloadType instead\n    modelNameFromPayloadKey: function modelNameFromPayloadKey(key) {\n      return (0, _emberInflector.singularize)((0, _store.normalizeModelName)(key));\n    },\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      @param {String} modelName\n      @return {String}\n    */\n    // TODO @deprecated Use payloadTypeFromModelName instead\n    payloadKeyFromModelName: function payloadKeyFromModelName(modelName) {\n      return (0, _emberInflector.pluralize)(modelName);\n    },\n    normalize: function normalize(modelClass, resourceHash) {\n      if (resourceHash.attributes) {\n        this.normalizeUsingDeclaredMapping(modelClass, resourceHash.attributes);\n      }\n\n      if (resourceHash.relationships) {\n        this.normalizeUsingDeclaredMapping(modelClass, resourceHash.relationships);\n      }\n\n      var 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: data\n      };\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 '@ember/string';\n       export default JSONAPISerializer.extend({\n        keyForAttribute(attr, method) {\n          return dasherize(attr).toUpperCase();\n        }\n      });\n      ```\n       @method keyForAttribute\n      @param {String} key\n      @param {String} method\n      @return {String} normalized key\n    */\n    keyForAttribute: function keyForAttribute(key, method) {\n      return Ember.String.dasherize(key);\n    },\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 '@ember/string';\n       export default JSONAPISerializer.extend({\n        keyForRelationship(key, relationship, method) {\n          return underscore(key);\n        }\n      });\n      ```\n     @method keyForRelationship\n     @param {String} key\n     @param {String} typeClass\n     @param {String} method\n     @return {String} normalized key\n    */\n    keyForRelationship: function keyForRelationship(key, typeClass, method) {\n      return Ember.String.dasherize(key);\n    },\n    serialize: function serialize(snapshot, options) {\n      var data = this._super.apply(this, arguments);\n\n      data.type = this.payloadKeyFromModelName(snapshot.modelName);\n      return {\n        data: data\n      };\n    },\n    serializeAttribute: function serializeAttribute(snapshot, json, key, attribute) {\n      var type = attribute.type;\n\n      if (this._canSerialize(key)) {\n        json.attributes = json.attributes || {};\n        var value = snapshot.attr(key);\n\n        if (type) {\n          var transform = this.transformFor(type);\n          value = transform.serialize(value, attribute.options);\n        }\n\n        var payloadKey = this._getMappedKey(key, snapshot.type);\n\n        if (payloadKey === key) {\n          payloadKey = this.keyForAttribute(key, 'serialize');\n        }\n\n        json.attributes[payloadKey] = value;\n      }\n    },\n    serializeBelongsTo: function serializeBelongsTo(snapshot, json, relationship) {\n      var key = relationship.key;\n\n      if (this._canSerialize(key)) {\n        var belongsTo = snapshot.belongsTo(key);\n        var belongsToIsNotNew = belongsTo && belongsTo.record && !belongsTo.record.get('isNew');\n\n        if (belongsTo === null || belongsToIsNotNew) {\n          json.relationships = json.relationships || {};\n\n          var payloadKey = this._getMappedKey(key, snapshot.type);\n\n          if (payloadKey === key) {\n            payloadKey = this.keyForRelationship(key, 'belongsTo', 'serialize');\n          }\n\n          var data = null;\n\n          if (belongsTo) {\n            var payloadType = this.payloadKeyFromModelName(belongsTo.modelName);\n            data = {\n              type: payloadType,\n              id: belongsTo.id\n            };\n          }\n\n          json.relationships[payloadKey] = {\n            data: data\n          };\n        }\n      }\n    },\n    serializeHasMany: function serializeHasMany(snapshot, json, relationship) {\n      var key = relationship.key;\n\n      if (this.shouldSerializeHasMany(snapshot, key, relationship)) {\n        var hasMany = snapshot.hasMany(key);\n\n        if (hasMany !== undefined) {\n          json.relationships = json.relationships || {};\n\n          var payloadKey = this._getMappedKey(key, snapshot.type);\n\n          if (payloadKey === key && this.keyForRelationship) {\n            payloadKey = this.keyForRelationship(key, 'hasMany', 'serialize');\n          } // only serialize has many relationships that are not new\n\n\n          var nonNewHasMany = hasMany.filter(function (item) {\n            return item.record && !item.record.get('isNew');\n          });\n          var data = new Array(nonNewHasMany.length);\n\n          for (var i = 0; i < nonNewHasMany.length; i++) {\n            var item = hasMany[i];\n            var payloadType = this.payloadKeyFromModelName(item.modelName);\n            data[i] = {\n              type: payloadType,\n              id: item.id\n            };\n          }\n\n          json.relationships[payloadKey] = {\n            data: data\n          };\n        }\n      }\n    }\n  });\n\n  if (true\n  /* DEBUG */\n  ) {\n    JSONAPISerializer.reopen({\n      willMergeMixin: function willMergeMixin(props) {\n        var constructor = this.constructor;\n        (true && Ember.warn(\"You've defined 'extractMeta' in \" + constructor.toString() + \" which is not used for serializers extending JSONAPISerializer. Read more at https://emberjs.com/api/data/classes/DS.JSONAPISerializer on how to customize meta when using JSON API.\", Ember.isNone(props.extractMeta) || props.extractMeta === _json.default.prototype.extractMeta, {\n          id: 'ds.serializer.json-api.extractMeta'\n        }));\n        (true && Ember.warn('The JSONAPISerializer does not work with the EmbeddedRecordsMixin because the JSON API spec does not describe how to format embedded resources.', !props.isEmbeddedRecordsMixin, {\n          id: 'ds.serializer.embedded-records-mixin-not-supported'\n        }));\n      },\n      warnMessageForUndefinedType: function warnMessageForUndefinedType() {\n        return 'Encountered a resource object with an undefined type (resolved resource using ' + this.constructor.toString() + ')';\n      },\n      warnMessageNoModelForType: function 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\n  var _default = JSONAPISerializer;\n  _exports.default = _default;\n});","define(\"@ember-data/serializer/json\", [\"exports\", \"@ember-data/serializer\", \"@ember-data/adapter/error\", \"@ember-data/serializer/-private\", \"@ember-data/store\", \"@ember-data/store/-private\"], function (_exports, _serializer, _error, _private, _store, _private2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var emberAssign = Ember.assign || Ember.merge;\n  /**\n    Ember Data 2.0 Serializer:\n  \n    In Ember Data 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, Ember Data 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 Model.extend({\n      friends: hasMany('user'),\n      house: belongsTo('location'),\n  \n      name: attr('string')\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      - `normalizeResponse` - entry method to the serializer.\n      - `normalizeCreateRecordResponse` - a `normalizeResponse` for a specific operation is called.\n      - `normalizeSingleResponse`|`normalizeArrayResponse` - for methods like `createRecord` we expect\n        a single record back, while for methods like `findAll` we expect multiple records back.\n      - `normalize` - `normalizeArray` 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      - `extractId` | `extractAttributes` | `extractRelationships` - `normalize` delegates to these methods to\n        turn the record payload into the JSON API format.\n  \n    @class JSONSerializer\n    @extends Serializer\n  */\n\n  var JSONSerializer = _serializer.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 JSONSerializer.extend({\n        primaryKey: '_id'\n      });\n      ```\n       @property primaryKey\n      @type {String}\n      @default 'id'\n    */\n    primaryKey: 'id',\n\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 Model.extend({\n        firstName: attr('string'),\n        lastName: attr('string'),\n        occupation: attr('string'),\n        admin: attr('boolean')\n      });\n      ```\n       ```app/serializers/person.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default JSONSerializer.extend({\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 JSONSerializer.extend({\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      @type {Object}\n    */\n    mergedProperties: ['attrs'],\n\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 {DS.Model} typeClass\n     @param {Object} data The data to transform\n     @return {Object} data The transformed data object\n    */\n    applyTransforms: function applyTransforms(typeClass, data) {\n      var _this = this;\n\n      var attributes = Ember.get(typeClass, 'attributes');\n      typeClass.eachTransformedAttribute(function (key, typeClass) {\n        if (data[key] === undefined) {\n          return;\n        }\n\n        var transform = _this.transformFor(typeClass);\n\n        var transformMeta = attributes.get(key);\n        data[key] = transform.deserialize(data[key], transformMeta.options);\n      });\n      return data;\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       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 this._super(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        var data = message.data;\n        var modelClass = store.modelFor(data.modelName);\n        var serializer = store.serializerFor(data.modelName);\n        var normalized = serializer.normalizeSingleResponse(store, modelClass, data, data.id);\n         store.push(normalized);\n      });\n      ```\n       @since 1.13.0\n      @method normalizeResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeResponse: function normalizeResponse(store, primaryModelClass, payload, id, requestType) {\n      switch (requestType) {\n        case 'findRecord':\n          return this.normalizeFindRecordResponse.apply(this, arguments);\n\n        case 'queryRecord':\n          return this.normalizeQueryRecordResponse.apply(this, arguments);\n\n        case 'findAll':\n          return this.normalizeFindAllResponse.apply(this, arguments);\n\n        case 'findBelongsTo':\n          return this.normalizeFindBelongsToResponse.apply(this, arguments);\n\n        case 'findHasMany':\n          return this.normalizeFindHasManyResponse.apply(this, arguments);\n\n        case 'findMany':\n          return this.normalizeFindManyResponse.apply(this, arguments);\n\n        case 'query':\n          return this.normalizeQueryResponse.apply(this, arguments);\n\n        case 'createRecord':\n          return this.normalizeCreateRecordResponse.apply(this, arguments);\n\n        case 'deleteRecord':\n          return this.normalizeDeleteRecordResponse.apply(this, arguments);\n\n        case 'updateRecord':\n          return this.normalizeUpdateRecordResponse.apply(this, arguments);\n      }\n    },\n\n    /**\n      @since 1.13.0\n      @method normalizeFindRecordResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeFindRecordResponse: function normalizeFindRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSingleResponse.apply(this, arguments);\n    },\n\n    /**\n      @since 1.13.0\n      @method normalizeQueryRecordResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeQueryRecordResponse: function normalizeQueryRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSingleResponse.apply(this, arguments);\n    },\n\n    /**\n      @since 1.13.0\n      @method normalizeFindAllResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeFindAllResponse: function normalizeFindAllResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeArrayResponse.apply(this, arguments);\n    },\n\n    /**\n      @since 1.13.0\n      @method normalizeFindBelongsToResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeFindBelongsToResponse: function normalizeFindBelongsToResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSingleResponse.apply(this, arguments);\n    },\n\n    /**\n      @since 1.13.0\n      @method normalizeFindHasManyResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeFindHasManyResponse: function normalizeFindHasManyResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeArrayResponse.apply(this, arguments);\n    },\n\n    /**\n      @since 1.13.0\n      @method normalizeFindManyResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeFindManyResponse: function normalizeFindManyResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeArrayResponse.apply(this, arguments);\n    },\n\n    /**\n      @since 1.13.0\n      @method normalizeQueryResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeQueryResponse: function normalizeQueryResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeArrayResponse.apply(this, arguments);\n    },\n\n    /**\n      @since 1.13.0\n      @method normalizeCreateRecordResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeCreateRecordResponse: function normalizeCreateRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSaveResponse.apply(this, arguments);\n    },\n\n    /**\n      @since 1.13.0\n      @method normalizeDeleteRecordResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeDeleteRecordResponse: function normalizeDeleteRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSaveResponse.apply(this, arguments);\n    },\n\n    /**\n      @since 1.13.0\n      @method normalizeUpdateRecordResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeUpdateRecordResponse: function normalizeUpdateRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSaveResponse.apply(this, arguments);\n    },\n\n    /**\n      @since 1.13.0\n      @method normalizeSaveResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeSaveResponse: function normalizeSaveResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSingleResponse.apply(this, arguments);\n    },\n\n    /**\n      @since 1.13.0\n      @method normalizeSingleResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeSingleResponse: function normalizeSingleResponse(store, primaryModelClass, payload, id, requestType) {\n      return this._normalizeResponse(store, primaryModelClass, payload, id, requestType, true);\n    },\n\n    /**\n      @since 1.13.0\n      @method normalizeArrayResponse\n      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeArrayResponse: function normalizeArrayResponse(store, primaryModelClass, payload, id, requestType) {\n      return this._normalizeResponse(store, primaryModelClass, payload, id, requestType, false);\n    },\n\n    /**\n      @method _normalizeResponse\n      @param {DS.Store} store\n      @param {DS.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: function _normalizeResponse(store, primaryModelClass, payload, id, requestType, isSingle) {\n      var documentHash = {\n        data: null,\n        included: []\n      };\n      var meta = this.extractMeta(store, primaryModelClass, payload);\n\n      if (meta) {\n        (true && !(Ember.typeOf(meta) === 'object') && Ember.assert('The `meta` returned from `extractMeta` has to be an object, not \"' + Ember.typeOf(meta) + '\".', Ember.typeOf(meta) === 'object'));\n        documentHash.meta = meta;\n      }\n\n      if (isSingle) {\n        var _this$normalize = this.normalize(primaryModelClass, payload),\n            data = _this$normalize.data,\n            included = _this$normalize.included;\n\n        documentHash.data = data;\n\n        if (included) {\n          documentHash.included = included;\n        }\n      } else {\n        var ret = new Array(payload.length);\n\n        for (var i = 0, l = payload.length; i < l; i++) {\n          var item = payload[i];\n\n          var _this$normalize2 = this.normalize(primaryModelClass, item),\n              _data = _this$normalize2.data,\n              _included = _this$normalize2.included;\n\n          if (_included) {\n            var _documentHash$include;\n\n            (_documentHash$include = documentHash.included).push.apply(_documentHash$include, _included);\n          }\n\n          ret[i] = _data;\n        }\n\n        documentHash.data = ret;\n      }\n\n      return documentHash;\n    },\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 '@ember/string';\n      import { get } from '@ember/object';\n       export default JSONSerializer.extend({\n        normalize(typeClass, hash) {\n          var fields = get(typeClass, 'fields');\n           fields.forEach(function(type, field) {\n            var payloadField = underscore(field);\n            if (field === payloadField) { return; }\n             hash[field] = hash[payloadField];\n            delete hash[payloadField];\n          });\n           return this._super.apply(this, arguments);\n        }\n      });\n      ```\n       @method normalize\n      @param {DS.Model} typeClass\n      @param {Object} hash\n      @return {Object}\n    */\n    normalize: function normalize(modelClass, resourceHash) {\n      var data = null;\n\n      if (resourceHash) {\n        this.normalizeUsingDeclaredMapping(modelClass, resourceHash);\n\n        if (Ember.typeOf(resourceHash.links) === 'object') {\n          this.normalizeUsingDeclaredMapping(modelClass, resourceHash.links);\n        }\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\n      return {\n        data: data\n      };\n    },\n\n    /**\n      Returns the resource's ID.\n       @method extractId\n      @param {Object} modelClass\n      @param {Object} resourceHash\n      @return {String}\n    */\n    extractId: function extractId(modelClass, resourceHash) {\n      var primaryKey = Ember.get(this, 'primaryKey');\n      var id = resourceHash[primaryKey];\n      return (0, _private2.coerceId)(id);\n    },\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      @param {Object} modelClass\n      @param {Object} resourceHash\n      @return {Object}\n    */\n    extractAttributes: function extractAttributes(modelClass, resourceHash) {\n      var _this2 = this;\n\n      var attributeKey;\n      var attributes = {};\n      modelClass.eachAttribute(function (key) {\n        attributeKey = _this2.keyForAttribute(key, 'deserialize');\n\n        if (resourceHash[attributeKey] !== undefined) {\n          attributes[key] = resourceHash[attributeKey];\n        }\n      });\n      return attributes;\n    },\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      @param {Object} relationshipModelName\n      @param {Object} relationshipHash\n      @return {Object}\n    */\n    extractRelationship: function extractRelationship(relationshipModelName, relationshipHash) {\n      if (Ember.isNone(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\n\n      if (Ember.typeOf(relationshipHash) === 'object') {\n        if (relationshipHash.id) {\n          relationshipHash.id = (0, _private2.coerceId)(relationshipHash.id);\n        }\n\n        var modelClass = this.store.modelFor(relationshipModelName);\n\n        if (relationshipHash.type && !(0, _private.modelHasAttributeOrRelationshipNamedType)(modelClass)) {\n          relationshipHash.type = this.modelNameFromPayloadKey(relationshipHash.type);\n        }\n\n        return relationshipHash;\n      }\n\n      return {\n        id: (0, _private2.coerceId)(relationshipHash),\n        type: relationshipModelName\n      };\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      @param {Object} relationshipModelName\n      @param {Object} relationshipHash\n      @param {Object} relationshipOptions\n      @return {Object}\n    */\n    extractPolymorphicRelationship: function extractPolymorphicRelationship(relationshipModelName, relationshipHash, relationshipOptions) {\n      return this.extractRelationship(relationshipModelName, relationshipHash);\n    },\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      @param {Object} modelClass\n      @param {Object} resourceHash\n      @return {Object}\n    */\n    extractRelationships: function extractRelationships(modelClass, resourceHash) {\n      var _this3 = this;\n\n      var relationships = {};\n      modelClass.eachRelationship(function (key, relationshipMeta) {\n        var relationship = null;\n\n        var relationshipKey = _this3.keyForRelationship(key, relationshipMeta.kind, 'deserialize');\n\n        if (resourceHash[relationshipKey] !== undefined) {\n          var data = null;\n          var relationshipHash = resourceHash[relationshipKey];\n\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 = _this3.extractPolymorphicRelationship(relationshipMeta.type, relationshipHash, {\n                key: key,\n                resourceHash: resourceHash,\n                relationshipMeta: relationshipMeta\n              });\n            } else {\n              data = _this3.extractRelationship(relationshipMeta.type, relationshipHash);\n            }\n          } else if (relationshipMeta.kind === 'hasMany') {\n            if (!Ember.isNone(relationshipHash)) {\n              data = new Array(relationshipHash.length);\n\n              if (relationshipMeta.options.polymorphic) {\n                for (var i = 0, l = relationshipHash.length; i < l; i++) {\n                  var item = relationshipHash[i];\n                  data[i] = _this3.extractPolymorphicRelationship(relationshipMeta.type, item, {\n                    key: key,\n                    resourceHash: resourceHash,\n                    relationshipMeta: relationshipMeta\n                  });\n                }\n              } else {\n                for (var _i = 0, _l = relationshipHash.length; _i < _l; _i++) {\n                  var _item = relationshipHash[_i];\n                  data[_i] = _this3.extractRelationship(relationshipMeta.type, _item);\n                }\n              }\n            }\n          }\n\n          relationship = {\n            data: data\n          };\n        }\n\n        var linkKey = _this3.keyForLink(key, relationshipMeta.kind);\n\n        if (resourceHash.links && resourceHash.links[linkKey] !== undefined) {\n          var related = resourceHash.links[linkKey];\n          relationship = relationship || {};\n          relationship.links = {\n            related: related\n          };\n        }\n\n        if (relationship) {\n          relationships[key] = relationship;\n        }\n      });\n      return relationships;\n    },\n\n    /**\n      @method modelNameFromPayloadKey\n      @param {String} key\n      @return {String} the model's modelName\n    */\n    // TODO @deprecated Use modelNameFromPayloadType instead\n    modelNameFromPayloadKey: function modelNameFromPayloadKey(key) {\n      return (0, _store.normalizeModelName)(key);\n    },\n\n    /**\n      @method normalizeRelationships\n      @private\n    */\n    normalizeRelationships: function normalizeRelationships(typeClass, hash) {\n      var _this4 = this;\n\n      var payloadKey;\n\n      if (this.keyForRelationship) {\n        typeClass.eachRelationship(function (key, relationship) {\n          payloadKey = _this4.keyForRelationship(key, relationship.kind, 'deserialize');\n\n          if (key === payloadKey) {\n            return;\n          }\n\n          if (hash[payloadKey] === undefined) {\n            return;\n          }\n\n          hash[key] = hash[payloadKey];\n          delete hash[payloadKey];\n        });\n      }\n    },\n\n    /**\n      @method normalizeUsingDeclaredMapping\n      @private\n    */\n    normalizeUsingDeclaredMapping: function normalizeUsingDeclaredMapping(modelClass, hash) {\n      var attrs = Ember.get(this, 'attrs');\n      var normalizedKey;\n      var payloadKey;\n\n      if (attrs) {\n        for (var key in attrs) {\n          normalizedKey = payloadKey = this._getMappedKey(key, modelClass);\n\n          if (hash[payloadKey] === undefined) {\n            continue;\n          }\n\n          if (Ember.get(modelClass, 'attributes').has(key)) {\n            normalizedKey = this.keyForAttribute(key);\n          }\n\n          if (Ember.get(modelClass, 'relationshipsByName').has(key)) {\n            normalizedKey = this.keyForRelationship(key);\n          }\n\n          if (payloadKey !== normalizedKey) {\n            hash[normalizedKey] = hash[payloadKey];\n            delete hash[payloadKey];\n          }\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: function _getMappedKey(key, modelClass) {\n      (true && Ember.warn('There is no attribute or relationship with the name `' + key + '` on `' + modelClass.modelName + '`. Check your serializers attrs hash.', Ember.get(modelClass, 'attributes').has(key) || Ember.get(modelClass, 'relationshipsByName').has(key), {\n        id: 'ds.serializer.no-mapped-attrs-key'\n      }));\n      var attrs = Ember.get(this, 'attrs');\n      var mappedKey;\n\n      if (attrs && attrs[key]) {\n        mappedKey = attrs[key]; //We need to account for both the { title: 'post_title' } and\n        //{ title: { key: 'post_title' }} forms\n\n        if (mappedKey.key) {\n          mappedKey = mappedKey.key;\n        }\n\n        if (typeof mappedKey === 'string') {\n          key = mappedKey;\n        }\n      }\n\n      return key;\n    },\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: function _canSerialize(key) {\n      var attrs = Ember.get(this, 'attrs');\n      return !attrs || !attrs[key] || attrs[key].serialize !== false;\n    },\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: function _mustSerialize(key) {\n      var attrs = Ember.get(this, 'attrs');\n      return attrs && attrs[key] && attrs[key].serialize === true;\n    },\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      @param {DS.Snapshot} snapshot\n      @param {String} key\n      @param {String} relationshipType\n      @return {boolean} true if the hasMany relationship should be serialized\n    */\n    shouldSerializeHasMany: function shouldSerializeHasMany(snapshot, key, relationship) {\n      var relationshipType = snapshot.type.determineRelationshipType(relationship, this.store);\n\n      if (this._mustSerialize(key)) {\n        return true;\n      }\n\n      return this._canSerialize(key) && (relationshipType === 'manyToNone' || relationshipType === 'manyToMany');\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 Model.extend({\n        title: attr(),\n        body: attr(),\n         author: belongsTo('user')\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 JSONSerializer.extend({\n        serialize(snapshot, options) {\n          var 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 'ember-inflector';\n       export default JSONSerializer.extend({\n        serialize(snapshot, options) {\n          var 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       ```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 first and make the tweaks on the returned\n      JSON.\n       ```app/serializers/post.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default JSONSerializer.extend({\n        serialize(snapshot, options) {\n          var json = this._super(...arguments);\n           json.subject = json.title;\n          delete json.title;\n           return json;\n        }\n      });\n      ```\n       @method serialize\n      @param {DS.Snapshot} snapshot\n      @param {Object} options\n      @return {Object} json\n    */\n    serialize: function serialize(snapshot, options) {\n      var _this5 = this;\n\n      var json = {};\n\n      if (options && options.includeId) {\n        var id = snapshot.id;\n\n        if (id) {\n          json[Ember.get(this, 'primaryKey')] = id;\n        }\n      }\n\n      snapshot.eachAttribute(function (key, attribute) {\n        _this5.serializeAttribute(snapshot, json, key, attribute);\n      });\n      snapshot.eachRelationship(function (key, relationship) {\n        if (relationship.kind === 'belongsTo') {\n          _this5.serializeBelongsTo(snapshot, json, relationship);\n        } else if (relationship.kind === 'hasMany') {\n          _this5.serializeHasMany(snapshot, json, relationship);\n        }\n      });\n      return json;\n    },\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 '@ember/string';\n       export default RESTSerializer.extend({\n        serializeIntoHash(data, type, snapshot, options) {\n          var root = decamelize(type.modelName);\n          data[root] = this.serialize(snapshot, options);\n        }\n      });\n      ```\n       @method serializeIntoHash\n      @param {Object} hash\n      @param {DS.Model} typeClass\n      @param {DS.Snapshot} snapshot\n      @param {Object} options\n    */\n    serializeIntoHash: function serializeIntoHash(hash, typeClass, snapshot, options) {\n      emberAssign(hash, this.serialize(snapshot, options));\n    },\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 JSONSerializer.extend({\n        serializeAttribute(snapshot, json, key, attributes) {\n          json.attributes = json.attributes || {};\n          this._super(snapshot, json.attributes, key, attributes);\n        }\n      });\n      ```\n       @method serializeAttribute\n      @param {DS.Snapshot} snapshot\n      @param {Object} json\n      @param {String} key\n      @param {Object} attribute\n    */\n    serializeAttribute: function serializeAttribute(snapshot, json, key, attribute) {\n      if (this._canSerialize(key)) {\n        var type = attribute.type;\n        var value = snapshot.attr(key);\n\n        if (type) {\n          var transform = this.transformFor(type);\n          value = transform.serialize(value, attribute.options);\n        } // if provided, use the mapping provided by `attrs` in\n        // the serializer\n\n\n        var payloadKey = this._getMappedKey(key, snapshot.type);\n\n        if (payloadKey === key && this.keyForAttribute) {\n          payloadKey = this.keyForAttribute(key, 'serialize');\n        }\n\n        json[payloadKey] = value;\n      }\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      import { isNone } from '@ember/utils';\n       export default JSONSerializer.extend({\n        serializeBelongsTo(snapshot, json, relationship) {\n          var key = relationship.key;\n          var belongsTo = snapshot.belongsTo(key);\n           key = this.keyForRelationship ? this.keyForRelationship(key, \"belongsTo\", \"serialize\") : key;\n           json[key] = isNone(belongsTo) ? belongsTo : belongsTo.record.toJSON();\n        }\n      });\n      ```\n       @method serializeBelongsTo\n      @param {DS.Snapshot} snapshot\n      @param {Object} json\n      @param {Object} relationship\n    */\n    serializeBelongsTo: function serializeBelongsTo(snapshot, json, relationship) {\n      var key = relationship.key;\n\n      if (this._canSerialize(key)) {\n        var belongsToId = snapshot.belongsTo(key, {\n          id: true\n        }); // if provided, use the mapping provided by `attrs` in\n        // the serializer\n\n        var payloadKey = this._getMappedKey(key, snapshot.type);\n\n        if (payloadKey === key && this.keyForRelationship) {\n          payloadKey = this.keyForRelationship(key, 'belongsTo', 'serialize');\n        } //Need to check whether the id is there for new&async records\n\n\n        if (Ember.isNone(belongsToId)) {\n          json[payloadKey] = null;\n        } else {\n          json[payloadKey] = belongsToId;\n        }\n\n        if (relationship.options.polymorphic) {\n          this.serializePolymorphicType(snapshot, json, relationship);\n        }\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     import DS from 'ember-data';\n      export default JSONSerializer.extend({\n       serializeHasMany(snapshot, json, relationship) {\n         var key = relationship.key;\n         if (key === 'comments') {\n           return;\n         } else {\n           this._super(...arguments);\n         }\n       }\n     });\n     ```\n      @method serializeHasMany\n     @param {DS.Snapshot} snapshot\n     @param {Object} json\n     @param {Object} relationship\n    */\n    serializeHasMany: function serializeHasMany(snapshot, json, relationship) {\n      var key = relationship.key;\n\n      if (this.shouldSerializeHasMany(snapshot, key, relationship)) {\n        var hasMany = snapshot.hasMany(key, {\n          ids: true\n        });\n\n        if (hasMany !== undefined) {\n          // if provided, use the mapping provided by `attrs` in\n          // the serializer\n          var payloadKey = this._getMappedKey(key, snapshot.type);\n\n          if (payloadKey === key && this.keyForRelationship) {\n            payloadKey = this.keyForRelationship(key, 'hasMany', 'serialize');\n          }\n\n          json[payloadKey] = hasMany; // TODO support for polymorphic manyToNone and manyToMany relationships\n        }\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      import { isNone } from '@ember/utils';\n       export default JSONSerializer.extend({\n        serializePolymorphicType(snapshot, json, relationship) {\n          var key = relationship.key;\n          var belongsTo = snapshot.belongsTo(key);\n           key = this.keyForAttribute ? this.keyForAttribute(key, 'serialize') : key;\n           if (isNone(belongsTo)) {\n            json[key + '_type'] = null;\n          } else {\n            json[key + '_type'] = belongsTo.modelName;\n          }\n        }\n      });\n      ```\n       @method serializePolymorphicType\n      @param {DS.Snapshot} snapshot\n      @param {Object} json\n      @param {Object} relationship\n    */\n    serializePolymorphicType: function serializePolymorphicType() {},\n\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 JSONSerializer.extend({\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      @param {DS.Store} store\n      @param {DS.Model} modelClass\n      @param {Object} payload\n    */\n    extractMeta: function extractMeta(store, modelClass, payload) {\n      if (payload && payload['meta'] !== undefined) {\n        var meta = payload.meta;\n        delete payload.meta;\n        return meta;\n      }\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 DS from 'ember-data';\n       export default JSONSerializer.extend({\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      @param {DS.Store} store\n      @param {DS.Model} typeClass\n      @param {Object} payload\n      @param {(String|Number)} id\n      @return {Object} json The deserialized errors\n    */\n    extractErrors: function extractErrors(store, typeClass, payload, id) {\n      var _this6 = this;\n\n      if (payload && typeof payload === 'object' && payload.errors) {\n        payload = (0, _error.errorsArrayToHash)(payload.errors);\n        this.normalizeUsingDeclaredMapping(typeClass, payload);\n        typeClass.eachAttribute(function (name) {\n          var key = _this6.keyForAttribute(name, 'deserialize');\n\n          if (key !== name && payload[key] !== undefined) {\n            payload[name] = payload[key];\n            delete payload[key];\n          }\n        });\n        typeClass.eachRelationship(function (name) {\n          var key = _this6.keyForRelationship(name, 'deserialize');\n\n          if (key !== name && payload[key] !== undefined) {\n            payload[name] = payload[key];\n            delete payload[key];\n          }\n        });\n      }\n\n      return payload;\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       Example\n       ```app/serializers/application.js\n      import JSONSerializer from '@ember-data/serializer/json';\n      import { underscore } from '@ember/string';\n       export default JSONSerializer.extend({\n        keyForAttribute(attr, method) {\n          return underscore(attr).toUpperCase();\n        }\n      });\n      ```\n       @method keyForAttribute\n      @param {String} key\n      @param {String} method\n      @return {String} normalized key\n    */\n    keyForAttribute: function keyForAttribute(key, method) {\n      return key;\n    },\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 '@ember/string';\n         export default JSONSerializer.extend({\n          keyForRelationship(key, relationship, method) {\n            return `rel_${underscore(key)}`;\n          }\n        });\n        ```\n       @method keyForRelationship\n      @param {String} key\n      @param {String} typeClass\n      @param {String} method\n      @return {String} normalized key\n    */\n    keyForRelationship: function keyForRelationship(key, typeClass, method) {\n      return key;\n    },\n\n    /**\n     `keyForLink` can be used to define a custom key when deserializing link\n     properties.\n      @method keyForLink\n     @param {String} key\n     @param {String} kind `belongsTo` or `hasMany`\n     @return {String} normalized key\n    */\n    keyForLink: function 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 {DS.Transform} transform\n    */\n    transformFor: function transformFor(attributeType, skipAssertion) {\n      var transform = Ember.getOwner(this).lookup('transform:' + attributeType);\n      (true && !(skipAssertion || !!transform) && Ember.assert(\"Unable to find the transform for `attr('\" + attributeType + \"')`\", skipAssertion || !!transform));\n      return transform;\n    }\n  });\n\n  var _default = JSONSerializer;\n  _exports.default = _default;\n});","define(\"@ember-data/serializer/rest\", [\"exports\", \"ember-inflector\", \"@ember-data/serializer/json\", \"@ember-data/store/-private\", \"@ember-data/serializer/-private\", \"@ember-data/store\"], function (_exports, _emberInflector, _json, _private, _private2, _store) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"EmbeddedRecordsMixin\", {\n    enumerable: true,\n    get: function get() {\n      return _private2.EmbeddedRecordsMixin;\n    }\n  });\n  _exports.default = void 0;\n\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 '@ember/string';\n  \n    export default RESTSerializer.extend({\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    @extends JSONSerializer\n  */\n  var RESTSerializer = _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 RESTSerializer.extend({\n        keyForPolymorphicType(key, relationship) {\n          var relationshipKey = this.keyForRelationship(key);\n           return 'type-' + relationshipKey;\n        }\n      });\n      ```\n      @method keyForPolymorphicType\n     @param {String} key\n     @param {String} typeClass\n     @param {String} method\n     @return {String} normalized key\n    */\n    keyForPolymorphicType: function keyForPolymorphicType(key, typeClass, method) {\n      var relationshipKey = this.keyForRelationship(key);\n      return relationshipKey + \"Type\";\n    },\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 RESTSerializer.extend({\n        normalize(model, hash, prop) {\n          if (prop === 'comments') {\n            hash.id = hash._id;\n            delete hash._id;\n          }\n           return this._super(...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      @param {DS.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 {DS.Store} store\n      @param {String} modelName\n      @param {Object} arrayHash\n      @param {String} prop\n      @return {Object}\n      @private\n    */\n    _normalizeArray: function _normalizeArray(store, modelName, arrayHash, prop) {\n      var _this = this;\n\n      var documentHash = {\n        data: [],\n        included: []\n      };\n      var modelClass = store.modelFor(modelName);\n      var serializer = store.serializerFor(modelName);\n      Ember.makeArray(arrayHash).forEach(function (hash) {\n        var _this$_normalizePolym = _this._normalizePolymorphicRecord(store, hash, prop, modelClass, serializer),\n            data = _this$_normalizePolym.data,\n            included = _this$_normalizePolym.included;\n\n        documentHash.data.push(data);\n\n        if (included) {\n          var _documentHash$include;\n\n          (_documentHash$include = documentHash.included).push.apply(_documentHash$include, included);\n        }\n      });\n      return documentHash;\n    },\n    _normalizePolymorphicRecord: function _normalizePolymorphicRecord(store, hash, prop, primaryModelClass, primarySerializer) {\n      var serializer = primarySerializer;\n      var modelClass = primaryModelClass;\n      var primaryHasTypeAttribute = (0, _private2.modelHasAttributeOrRelationshipNamedType)(primaryModelClass);\n\n      if (!primaryHasTypeAttribute && hash.type) {\n        // Support polymorphic records in async relationships\n        var modelName = this.modelNameFromPayloadKey(hash.type);\n\n        if (store._hasModelFor(modelName)) {\n          serializer = store.serializerFor(modelName);\n          modelClass = store.modelFor(modelName);\n        }\n      }\n\n      return serializer.normalize(modelClass, hash, prop);\n    },\n\n    /*\n      @method _normalizeResponse\n      @param {DS.Store} store\n      @param {DS.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: function _normalizeResponse(store, primaryModelClass, payload, id, requestType, isSingle) {\n      var documentHash = {\n        data: null,\n        included: []\n      };\n      var meta = this.extractMeta(store, primaryModelClass, payload);\n\n      if (meta) {\n        (true && !(Ember.typeOf(meta) === 'object') && Ember.assert('The `meta` returned from `extractMeta` has to be an object, not \"' + Ember.typeOf(meta) + '\".', Ember.typeOf(meta) === 'object'));\n        documentHash.meta = meta;\n      }\n\n      var keys = Object.keys(payload);\n\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          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\n        if (prop.charAt(0) === '_') {\n          forcedSecondary = true;\n          modelName = prop.substr(1);\n        }\n\n        var typeName = this.modelNameFromPayloadKey(modelName);\n\n        if (!store._hasModelFor(typeName)) {\n          (true && Ember.warn(this.warnMessageNoModelForKey(modelName, typeName), false, {\n            id: 'ds.serializer.model-for-key-missing'\n          }));\n          continue;\n        }\n\n        var isPrimary = !forcedSecondary && this.isPrimaryType(store, typeName, primaryModelClass);\n        var value = payload[prop];\n\n        if (value === null) {\n          continue;\n        }\n\n        if (true\n        /* DEBUG */\n        ) {\n          var isQueryRecordAnArray = requestType === 'queryRecord' && isPrimary && Array.isArray(value);\n          var message = 'The adapter returned an array for the primary data of a `queryRecord` response. This is deprecated as `queryRecord` should return a single record.';\n          (true && !(!isQueryRecordAnArray) && Ember.deprecate(message, !isQueryRecordAnArray, {\n            id: 'ds.serializer.rest.queryRecord-array-response',\n            until: '3.0'\n          }));\n        }\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\n\n        if (isPrimary && !Array.isArray(value)) {\n          var _this$_normalizePolym2 = this._normalizePolymorphicRecord(store, value, prop, primaryModelClass, this),\n              _data = _this$_normalizePolym2.data,\n              _included = _this$_normalizePolym2.included;\n\n          documentHash.data = _data;\n\n          if (_included) {\n            var _documentHash$include2;\n\n            (_documentHash$include2 = documentHash.included).push.apply(_documentHash$include2, _included);\n          }\n\n          continue;\n        }\n\n        var _this$_normalizeArray = this._normalizeArray(store, typeName, value, prop),\n            data = _this$_normalizeArray.data,\n            included = _this$_normalizeArray.included;\n\n        if (included) {\n          var _documentHash$include3;\n\n          (_documentHash$include3 = documentHash.included).push.apply(_documentHash$include3, included);\n        }\n\n        if (isSingle) {\n          data.forEach(function (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            var isUpdatedRecord = isPrimary && (0, _private.coerceId)(resource.id) === id;\n            var isFirstCreatedRecord = isPrimary && !id && !documentHash.data;\n\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              var _documentHash$include4;\n\n              (_documentHash$include4 = documentHash.included).push.apply(_documentHash$include4, data);\n            }\n          }\n        }\n      }\n\n      return documentHash;\n    },\n    isPrimaryType: function isPrimaryType(store, typeName, primaryTypeClass) {\n      return store.modelFor(typeName) === primaryTypeClass;\n    },\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      @param {DS.Store} store\n      @param {Object} payload\n    */\n    pushPayload: function pushPayload(store, payload) {\n      var documentHash = {\n        data: [],\n        included: []\n      };\n\n      for (var prop in payload) {\n        var modelName = this.modelNameFromPayloadKey(prop);\n\n        if (!store._hasModelFor(modelName)) {\n          (true && Ember.warn(this.warnMessageNoModelForKey(prop, modelName), false, {\n            id: 'ds.serializer.model-for-key-missing'\n          }));\n          continue;\n        }\n\n        var type = store.modelFor(modelName);\n        var typeSerializer = store.serializerFor(type.modelName);\n        Ember.makeArray(payload[prop]).forEach(function (hash) {\n          var _typeSerializer$norma = typeSerializer.normalize(type, hash, prop),\n              data = _typeSerializer$norma.data,\n              included = _typeSerializer$norma.included;\n\n          documentHash.data.push(data);\n\n          if (included) {\n            var _documentHash$include5;\n\n            (_documentHash$include5 = documentHash.included).push.apply(_documentHash$include5, included);\n          }\n        });\n      }\n\n      store.push(documentHash);\n    },\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 Model.extend({\n      });\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 RESTSerializer.extend({\n        modelNameFromPayloadKey(payloadKey) {\n          if (payloadKey === 'blog/post') {\n            return this._super(payloadKey.replace('blog/', ''));\n          } else {\n           return this._super(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      @param {String} key\n      @return {String} the model's modelName\n    */\n    modelNameFromPayloadKey: function modelNameFromPayloadKey(key) {\n      return (0, _emberInflector.singularize)((0, _store.normalizeModelName)(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 Model.extend({\n        title: attr(),\n        body: attr(),\n         author: belongsTo('user')\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 RESTSerializer.extend({\n        serialize(snapshot, options) {\n          var 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 'ember-inflector';\n       export default RESTSerializer.extend({\n        serialize(snapshot, options) {\n          var 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 RESTSerializer.extend({\n        serialize(snapshot, options) {\n          var json = this._super(snapshot, options);\n           json.subject = json.title;\n          delete json.title;\n           return json;\n        }\n      });\n      ```\n       @method serialize\n      @param {DS.Snapshot} snapshot\n      @param {Object} options\n      @return {Object} json\n    */\n    serialize: function serialize(snapshot, options) {\n      return this._super.apply(this, arguments);\n    },\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 '@ember/string';\n       export default RESTSerializer.extend({\n        serializeIntoHash(data, type, record, options) {\n          var root = decamelize(type.modelName);\n          data[root] = this.serialize(record, options);\n        }\n      });\n      ```\n       @method serializeIntoHash\n      @param {Object} hash\n      @param {DS.Model} typeClass\n      @param {DS.Snapshot} snapshot\n      @param {Object} options\n    */\n    serializeIntoHash: function serializeIntoHash(hash, typeClass, snapshot, options) {\n      var normalizedRootKey = this.payloadKeyFromModelName(typeClass.modelName);\n      hash[normalizedRootKey] = this.serialize(snapshot, options);\n    },\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 '@ember/string';\n       export default RESTSerializer.extend({\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      @param {String} modelName\n      @return {String}\n    */\n    payloadKeyFromModelName: function payloadKeyFromModelName(modelName) {\n      return Ember.String.camelize(modelName);\n    },\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      @param {DS.Snapshot} snapshot\n      @param {Object} json\n      @param {Object} relationship\n    */\n    serializePolymorphicType: function serializePolymorphicType(snapshot, json, relationship) {\n      var key = relationship.key;\n      var typeKey = this.keyForPolymorphicType(key, relationship.type, 'serialize');\n      var belongsTo = snapshot.belongsTo(key);\n\n      if (Ember.isNone(belongsTo)) {\n        json[typeKey] = null;\n      } else {\n        json[typeKey] = Ember.String.camelize(belongsTo.modelName);\n      }\n    },\n\n    /**\n      You can use this method to customize how a polymorphic relationship should\n      be extracted.\n       @method extractPolymorphicRelationship\n      @param {Object} relationshipType\n      @param {Object} relationshipHash\n      @param {Object} relationshipOptions\n      @return {Object}\n     */\n    extractPolymorphicRelationship: function extractPolymorphicRelationship(relationshipType, relationshipHash, relationshipOptions) {\n      var key = relationshipOptions.key,\n          resourceHash = relationshipOptions.resourceHash,\n          relationshipMeta = relationshipOptions.relationshipMeta; // 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\n      var isPolymorphic = relationshipMeta.options.polymorphic;\n      var typeProperty = this.keyForPolymorphicType(key, relationshipType, 'deserialize');\n\n      if (isPolymorphic && resourceHash[typeProperty] !== undefined && typeof relationshipHash !== 'object') {\n        var type = this.modelNameFromPayloadKey(resourceHash[typeProperty]);\n        return {\n          id: relationshipHash,\n          type: type\n        };\n      }\n\n      return this._super.apply(this, arguments);\n    }\n  });\n\n  if (true\n  /* DEBUG */\n  ) {\n    RESTSerializer.reopen({\n      warnMessageNoModelForKey: function 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\n  var _default = RESTSerializer;\n  _exports.default = _default;\n});","define(\"@ember-data/serializer/serializer\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n    `Serializer` 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      * `normalizeResponse()`\n      * `serialize()`\n  \n    And you can optionally override the following methods:\n  \n      * `normalize()`\n  \n    For an example implementation, see\n    [DS.JSONSerializer](DS.JSONSerializer), the included JSON serializer.\n  \n    @class Serializer\n    @namespace DS\n    @extends EmberObject\n  */\n  var _default = Ember.Object.extend({\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          var modelClass = this.store.modelFor(relationshipModelName);\n          var relationshipSerializer = this.store.serializerFor(relationshipModelName);\n          return relationshipSerializer.normalize(modelClass, relationshipHash);\n        }\n      });\n      ```\n       @property store\n      @type {DS.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      @param {DS.Store} store\n      @param {DS.Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeResponse: null,\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          var 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      @param {DS.Snapshot} snapshot\n      @param {Object} [options]\n      @return {Object}\n    */\n    serialize: null,\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          var data = {\n            id:            resourceHash.id,\n            type:          modelClass.modelName,\n            attributes:    resourceHash\n          };\n          return { data: data };\n        }\n      })\n      ```\n       @method normalize\n      @param {DS.Model} typeClass\n      @param {Object} hash\n      @return {Object}\n    */\n    normalize: function normalize(typeClass, hash) {\n      return hash;\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"@ember-data/serializer/transform\", [\"exports\", \"@ember-data/serializer/transforms/boolean\", \"@ember-data/serializer/transforms/date\", \"@ember-data/serializer/transforms/number\", \"@ember-data/serializer/transforms/string\", \"@ember-data/serializer/transforms/transform\"], function (_exports, _boolean, _date, _number, _string, _transform) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"BooleanTransform\", {\n    enumerable: true,\n    get: function get() {\n      return _boolean.default;\n    }\n  });\n  Object.defineProperty(_exports, \"DateTransform\", {\n    enumerable: true,\n    get: function get() {\n      return _date.default;\n    }\n  });\n  Object.defineProperty(_exports, \"NumberTransform\", {\n    enumerable: true,\n    get: function get() {\n      return _number.default;\n    }\n  });\n  Object.defineProperty(_exports, \"StringTransform\", {\n    enumerable: true,\n    get: function get() {\n      return _string.default;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _transform.default;\n    }\n  });\n});","define(\"@ember-data/serializer/transforms/boolean\", [\"exports\", \"@ember-data/serializer/transforms/transform\"], function (_exports, _transform) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\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    [DS.attr](../../data#method_attr) function.\n  \n    Usage\n  \n    ```app/models/user.js\n    import Model, { attr } from '@ember-data/model';\n  \n    export default Model.extend({\n      isAdmin: attr('boolean'),\n      name: attr('string'),\n      email: attr('string')\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 Model.extend({\n      email: attr('string'),\n      username: attr('string'),\n      wantsWeeklyEmail: attr('boolean', { allowNull: true })\n    });\n    ```\n  \n    @class BooleanTransform\n    @extends Transform\n   */\n  var _default = _transform.default.extend({\n    deserialize: function deserialize(serialized, options) {\n      if (Ember.isNone(serialized) && options.allowNull === true) {\n        return null;\n      }\n\n      var type = typeof serialized;\n\n      if (type === 'boolean') {\n        return serialized;\n      } else if (type === 'string') {\n        return /^(true|t|1)$/i.test(serialized);\n      } else if (type === 'number') {\n        return serialized === 1;\n      } else {\n        return false;\n      }\n    },\n    serialize: function serialize(deserialized, options) {\n      if (Ember.isNone(deserialized) && options.allowNull === true) {\n        return null;\n      }\n\n      return Boolean(deserialized);\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"@ember-data/serializer/transforms/date\", [\"exports\", \"@ember-data/serializer/transforms/transform\"], function (_exports, _transform) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\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   [DS.attr](../../data#method_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 Model.extend({\n      value: attr('number'),\n      player: belongsTo('player'),\n      date: attr('date')\n    });\n   ```\n  \n   @class DateTransform\n   @extends Transform\n   */\n  var _default = _transform.default.extend({\n    deserialize: function deserialize(serialized) {\n      var type = typeof serialized;\n\n      if (type === 'string') {\n        var offset = serialized.indexOf('+');\n\n        if (offset !== -1 && serialized.length - 5 === offset) {\n          offset += 3;\n          return new Date(serialized.slice(0, offset) + ':' + serialized.slice(offset));\n        }\n\n        return new Date(serialized);\n      } else if (type === '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: function serialize(date) {\n      if (date instanceof Date && !isNaN(date)) {\n        return date.toISOString();\n      } else {\n        return null;\n      }\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"@ember-data/serializer/transforms/number\", [\"exports\", \"@ember-data/serializer/transforms/transform\"], function (_exports, _transform) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  function isNumber(value) {\n    return value === value && value !== Infinity && value !== -Infinity;\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    [DS.attr](../../data#method_attr) function.\n  \n    Usage\n  \n    ```app/models/score.js\n    import Model, { attr, belongsTo } from '@ember-data/model';\n  \n    export default Model.extend({\n      value: attr('number'),\n      player: belongsTo('player'),\n      date: attr('date')\n    });\n    ```\n  \n    @class NumberTransform\n    @extends Transform\n   */\n\n\n  var _default = _transform.default.extend({\n    deserialize: function deserialize(serialized) {\n      var transformed;\n\n      if (serialized === '' || serialized === null || serialized === undefined) {\n        return null;\n      } else {\n        transformed = Number(serialized);\n        return isNumber(transformed) ? transformed : null;\n      }\n    },\n    serialize: function serialize(deserialized) {\n      var transformed;\n\n      if (deserialized === '' || deserialized === null || deserialized === undefined) {\n        return null;\n      } else {\n        transformed = Number(deserialized);\n        return isNumber(transformed) ? transformed : null;\n      }\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"@ember-data/serializer/transforms/string\", [\"exports\", \"@ember-data/serializer/transforms/transform\"], function (_exports, _transform) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\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    [DS.attr](./DS/methods/attr?anchor=attr) function.\n  \n    Usage\n  \n    ```app/models/user.js\n    import Model, { attr, belongsTo } from '@ember-data/model';\n  \n    export default Model.extend({\n      isAdmin: attr('boolean'),\n      name: attr('string'),\n      email: attr('string')\n    });\n    ```\n  \n    @class StringTransform\n    @extends Transform\n   */\n  var _default = _transform.default.extend({\n    deserialize: function deserialize(serialized) {\n      return Ember.isNone(serialized) ? null : String(serialized);\n    },\n    serialize: function serialize(deserialized) {\n      return Ember.isNone(deserialized) ? null : String(deserialized);\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"@ember-data/serializer/transforms/transform\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n    The `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    import Transform from '@ember-data/serializer/transform';\n  \n    // Converts centigrade in the JSON to fahrenheit in the app\n    export default Transform.extend({\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    ```\n  \n    Usage\n  \n    ```app/models/requirement.js\n    import Model, { attr } from '@ember-data/model';\n  \n    export default Model.extend({\n      name: attr('string'),\n      temperature: attr('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 Model.extend({\n      title: attr('string'),\n      markdown: attr('markdown', {\n        markdown: {\n          gfm: false,\n          sanitize: true\n        }\n      })\n    });\n    ```\n  \n    ```app/transforms/markdown.js\n    import Transform from '@ember-data/serializer/transform';\n  \n    export default Transform.extend({\n      serialize(deserialized, options) {\n        return deserialized.raw;\n      },\n  \n      deserialize(serialized, options) {\n        var markdownOptions = options.markdown || {};\n  \n        return marked(serialized, markdownOptions);\n      }\n    });\n    ```\n  \n    @class Transform\n    @namespace DS\n   */\n  var _default = Ember.Object.extend({\n    /**\n      When given a deserialized value from a record attribute this\n      method must return the serialized value.\n       Example\n       ```javascript\n      import { isEmpty } from '@ember/utils';\n       serialize(deserialized, options) {\n        return isEmpty(deserialized) ? null : Number(deserialized);\n      }\n      ```\n       @method serialize\n      @param deserialized The deserialized value\n      @param options hash of options passed to `attr`\n      @return The serialized value\n    */\n    serialize: null,\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       Example\n       ```javascript\n      deserialize(serialized, options) {\n        return empty(serialized) ? null : Number(serialized);\n      }\n      ```\n       @method deserialize\n      @param serialized The serialized value\n      @param options hash of options passed to `attr`\n      @return The deserialized value\n    */\n    deserialize: null\n  });\n\n  _exports.default = _default;\n});","define(\"@ember-data/serializer/version\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = \"3.11.0\";\n  _exports.default = _default;\n});","define('@ember-data/store/-private', ['exports', 'ember-inflector', '@ember/ordered-set', 'ember-data/-debug', '@ember-data/adapter/error'], function (exports, emberInflector, EmberOrderedSet, Debug, error) { 'use strict';\n\n  EmberOrderedSet = EmberOrderedSet && EmberOrderedSet.hasOwnProperty('default') ? EmberOrderedSet['default'] : EmberOrderedSet;\n\n  /*\n    A `PromiseArray` is an object that acts like both an `Ember.Array`\n    and a promise. When the promise is resolved the resulting value\n    will be set to the `PromiseArray`'s `content` property. This makes\n    it easy to create data bindings with the `PromiseArray` that will be\n    updated when the promise resolves.\n\n    For more information see the [Ember.PromiseProxyMixin\n    documentation](/api/classes/Ember.PromiseProxyMixin.html).\n\n    Example\n\n    ```javascript\n    let promiseArray = PromiseArray.create({\n      promise: $.getJSON('/some/remote/data.json')\n    });\n\n    promiseArray.get('length'); // 0\n\n    promiseArray.then(function() {\n      promiseArray.get('length'); // 100\n    });\n    ```\n\n    @class PromiseArray\n    @extends Ember.ArrayProxy\n    @uses Ember.PromiseProxyMixin\n  */\n  var PromiseArray = Ember.ArrayProxy.extend(Ember.PromiseProxyMixin, {\n    meta: Ember.computed.reads('content.meta')\n  });\n  /*\n    A `PromiseObject` is an object that acts like both an `EmberObject`\n    and a promise. When the promise is resolved, then the resulting value\n    will be set to the `PromiseObject`'s `content` property. This makes\n    it easy to create data bindings with the `PromiseObject` that will\n    be updated when the promise resolves.\n\n    For more information see the [Ember.PromiseProxyMixin\n    documentation](/api/classes/Ember.PromiseProxyMixin.html).\n\n    Example\n\n    ```javascript\n    let promiseObject = PromiseObject.create({\n      promise: $.getJSON('/some/remote/data.json')\n    });\n\n    promiseObject.get('name'); // null\n\n    promiseObject.then(function() {\n      promiseObject.get('name'); // 'Tomster'\n    });\n    ```\n\n    @class PromiseObject\n    @extends Ember.ObjectProxy\n    @uses Ember.PromiseProxyMixin\n  */\n\n  var PromiseObject = Ember.ObjectProxy.extend(Ember.PromiseProxyMixin);\n  function promiseObject(promise, label) {\n    return PromiseObject.create({\n      promise: Ember.RSVP.Promise.resolve(promise, label)\n    });\n  }\n  function promiseArray(promise, label) {\n    return PromiseArray.create({\n      promise: Ember.RSVP.Promise.resolve(promise, label)\n    });\n  }\n  var PromiseBelongsTo = PromiseObject.extend({\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    meta: Ember.computed(function () {\n      ( Ember.assert('You attempted to access meta on the promise for the async belongsTo relationship ' + (this.get('_belongsToState').internalModel.modelName + \":\" + this.get('_belongsToState').key + \"'.\") + '\\nUse `record.belongsTo(relationshipName).meta()` instead.', false));\n    }),\n    reload: function reload(options) {\n      var _this = this;\n\n      ( !(this.get('content') !== undefined) && Ember.assert('You are trying to reload an async belongsTo before it has been created', this.get('content') !== undefined));\n      var _this$_belongsToState = this._belongsToState,\n          key = _this$_belongsToState.key,\n          store = _this$_belongsToState.store,\n          originatingInternalModel = _this$_belongsToState.originatingInternalModel;\n      return store.reloadBelongsTo(this, originatingInternalModel, key, options).then(function () {\n        return _this;\n      });\n    }\n  });\n  /*\n    A PromiseManyArray is a PromiseArray that also proxies certain method calls\n    to the underlying manyArray.\n    Right now we proxy:\n\n      * `reload()`\n      * `createRecord()`\n      * `on()`\n      * `one()`\n      * `trigger()`\n      * `off()`\n      * `has()`\n\n    @class PromiseManyArray\n    @extends Ember.ArrayProxy\n  */\n\n  function proxyToContent(method) {\n    return function () {\n      var _EmberGet;\n\n      return (_EmberGet = Ember.get(this, 'content'))[method].apply(_EmberGet, arguments);\n    };\n  }\n  var PromiseManyArray = PromiseArray.extend({\n    reload: function reload(options) {\n      ( !(Ember.get(this, 'content')) && Ember.assert('You are trying to reload an async manyArray before it has been created', Ember.get(this, 'content')));\n      this.set('promise', this.get('content').reload(options));\n      return this;\n    },\n    createRecord: proxyToContent('createRecord'),\n    on: proxyToContent('on'),\n    one: proxyToContent('one'),\n    trigger: proxyToContent('trigger'),\n    off: proxyToContent('off'),\n    has: proxyToContent('has')\n  });\n\n  /**\n  @module ember-data\n  */\n\n  /**\n    Holds validation errors for a given record, organized by attribute names.\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 Model.extend({\n      username: attr('string'),\n      email: attr('string')\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=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=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    @extends Ember.ArrayProxy\n    @uses Ember.Evented\n   */\n  var Errors = Ember.ArrayProxy.extend(Ember.Evented, {\n    /**\n      Register with target handler\n       @method _registerHandlers\n      @private\n    */\n    _registerHandlers: function _registerHandlers(target, becameInvalid, becameValid) {\n      this.on('becameInvalid', target, becameInvalid);\n      this.on('becameValid', target, becameValid);\n    },\n\n    /**\n      @property errorsByAttributeName\n      @type {MapWithDefault}\n      @private\n    */\n    errorsByAttributeName: Ember.computed(function () {\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.get('errors').errorsFor('email'); // returns:\n        // [{attribute: \"email\", message: \"Doesn't look like a valid email.\"}]\n      });\n      ```\n       @method errorsFor\n      @param {String} attribute\n      @return {Array}\n    */\n    errorsFor: function errorsFor(attribute) {\n      var map = Ember.get(this, 'errorsByAttributeName');\n\n      if (!map.has(attribute)) {\n        map.set(attribute, Ember.A());\n      }\n\n      return map.get(attribute);\n    },\n\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      @type {Array}\n    */\n    messages: Ember.computed.mapBy('content', 'message'),\n\n    /**\n      @property content\n      @type {Array}\n      @private\n    */\n    content: Ember.computed(function () {\n      return Ember.A();\n    }),\n\n    /**\n      @method unknownProperty\n      @private\n    */\n    unknownProperty: function unknownProperty(attribute) {\n      var errors = this.errorsFor(attribute);\n\n      if (errors.length === 0) {\n        return undefined;\n      }\n\n      return errors;\n    },\n\n    /**\n      Total number of errors.\n       @property length\n      @type {Number}\n      @readOnly\n    */\n\n    /**\n      @property isEmpty\n      @type {Boolean}\n      @readOnly\n    */\n    isEmpty: Ember.computed.not('length').readOnly(),\n\n    /**\n     Manually adds errors to the record. This will triger the `becameInvalid` event/ lifecycle method on\n      the record and transition the record into an `invalid` state.\n      Example\n     ```javascript\n      let errors = get(user, 'errors');\n      \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      \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      \n      // add a single error\n      errors.add('username', 'This field is required');\n       errors.errorsFor('password');\n      // =>\n      // [\n      //   { attribute: 'username', message: 'This field is required' },\n      // ]\n     ```\n    @method add\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: function add(attribute, messages) {\n      var wasEmpty = Ember.get(this, 'isEmpty');\n\n      this._add(attribute, messages);\n\n      if (wasEmpty && !Ember.get(this, 'isEmpty')) {\n        this.trigger('becameInvalid');\n      }\n    },\n\n    /**\n      Adds error messages to a given attribute without sending event.\n       @method _add\n      @private\n    */\n    _add: function _add(attribute, messages) {\n      messages = this._findOrCreateMessages(attribute, messages);\n      this.addObjects(messages);\n      this.errorsFor(attribute).addObjects(messages);\n      this.notifyPropertyChange(attribute);\n    },\n\n    /**\n      @method _findOrCreateMessages\n      @private\n    */\n    _findOrCreateMessages: function _findOrCreateMessages(attribute, messages) {\n      var errors = this.errorsFor(attribute);\n      var messagesArray = Ember.makeArray(messages);\n\n      var _messages = new Array(messagesArray.length);\n\n      for (var i = 0; i < messagesArray.length; i++) {\n        var message = messagesArray[i];\n        var err = errors.findBy('message', message);\n\n        if (err) {\n          _messages[i] = err;\n        } else {\n          _messages[i] = {\n            attribute: attribute,\n            message: message\n          };\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 = get('user', errors);\n      errors.add('phone', ['error-1', 'error-2']);\n      \n      errors.errorsFor('phone');\n      // =>\n      // [\n      //   { attribute: 'phone', message: 'error-1' },\n      //   { attribute: 'phone', message: 'error-2' },\n      // ]\n      \n      errors.remove('phone');\n      \n      errors.errorsFor('phone');\n      // => undefined\n     ```\n     @method remove\n     @param {string} member - the property name of an attribute or relationship\n     */\n    remove: function remove(attribute) {\n      if (Ember.get(this, 'isEmpty')) {\n        return;\n      }\n\n      this._remove(attribute);\n\n      if (Ember.get(this, 'isEmpty')) {\n        this.trigger('becameValid');\n      }\n    },\n\n    /**\n      Removes all error messages from the given attribute without sending event.\n       @method _remove\n      @private\n    */\n    _remove: function _remove(attribute) {\n      if (Ember.get(this, 'isEmpty')) {\n        return;\n      }\n\n      var content = this.rejectBy('attribute', attribute);\n      Ember.get(this, 'content').setObjects(content);\n      Ember.get(this, 'errorsByAttributeName').delete(attribute);\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     \n    Example:\n     \n     ```javascript\n     let errors = get('user', errors);\n     errors.add('username', ['error-a']);\n     errors.add('phone', ['error-1', 'error-2']);\n     \n     errors.errorsFor('username');\n     // =>\n     // [\n     //   { attribute: 'username', message: 'error-a' },\n     // ]\n     \n     errors.errorsFor('phone');\n     // =>\n     // [\n     //   { attribute: 'phone', message: 'error-1' },\n     //   { attribute: 'phone', message: 'error-2' },\n     // ]\n     \n     errors.clear();\n     \n     errors.errorsFor('username');\n     // => undefined\n     \n     errors.errorsFor('phone');\n     // => undefined\n     \n     errors.get('messages')\n     // => []\n     ```\n     @method remove\n     */\n    clear: function clear() {\n      if (Ember.get(this, 'isEmpty')) {\n        return;\n      }\n\n      this._clear();\n\n      this.trigger('becameValid');\n    },\n\n    /**\n      Removes all error messages.\n      to the record.\n       @method _clear\n      @private\n    */\n    _clear: function _clear() {\n      var _this = this;\n\n      if (Ember.get(this, 'isEmpty')) {\n        return;\n      }\n\n      var errorsByAttributeName = Ember.get(this, 'errorsByAttributeName');\n      var attributes = [];\n      errorsByAttributeName.forEach(function (_, attribute) {\n        attributes.push(attribute);\n      });\n      errorsByAttributeName.clear();\n      attributes.forEach(function (attribute) {\n        _this.notifyPropertyChange(attribute);\n      });\n      Ember.ArrayProxy.prototype.clear.call(this);\n    },\n\n    /**\n      Checks if there are error messages for the given attribute.\n       ```app/routes/user/edit.js\n      import Route from '@ember/routing/route';\n       export default Route.extend({\n        actions: {\n          save: function(user) {\n            if (user.get('errors').has('email')) {\n              return alert('Please update your email before attempting to save.');\n            }\n            user.save();\n          }\n        }\n      });\n      ```\n       @method has\n      @param {String} attribute\n      @return {Boolean} true if there some errors on given attribute\n    */\n    has: function has(attribute) {\n      return this.errorsFor(attribute).length > 0;\n    }\n  });\n\n  // All modelNames are dasherized internally. Changing this function may\n  // require changes to other normalization hooks (such as typeForRoot).\n\n  /**\n   This method normalizes a modelName into the format Ember Data uses\n   internally.\n\n    @method normalizeModelName\n    @public\n    @param {String} modelName\n    @return {String} normalizedModelName\n  */\n  function normalizeModelName(modelName) {\n    return Ember.String.dasherize(modelName);\n  }\n\n  function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\n  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n  function typeForRelationshipMeta(meta) {\n    var modelName;\n    modelName = meta.type || meta.key;\n    modelName = normalizeModelName(modelName);\n\n    if (meta.kind === 'hasMany') {\n      modelName = emberInflector.singularize(modelName);\n    }\n\n    return modelName;\n  }\n\n  function shouldFindInverse(relationshipMeta) {\n    var options = relationshipMeta.options;\n    return !(options && options.inverse === null);\n  }\n\n  var RelationshipDefinition =\n  /*#__PURE__*/\n  function () {\n    function RelationshipDefinition(meta) {\n      this.meta = void 0;\n      this._type = void 0;\n      this.__inverseKey = void 0;\n      this.__inverseIsAsync = void 0;\n      this.parentModelName = void 0;\n      this.meta = meta;\n      this._type = '';\n      this.__inverseKey = '';\n      this.__inverseIsAsync = null;\n      this.parentModelName = meta.parentModelName;\n    }\n\n    var _proto = RelationshipDefinition.prototype;\n\n    _proto._inverseKey = function _inverseKey(store, modelClass) {\n      if (this.__inverseKey === '') {\n        this._calculateInverse(store, modelClass);\n      }\n\n      return this.__inverseKey;\n    };\n\n    _proto._inverseIsAsync = function _inverseIsAsync(store, modelClass) {\n      if (this.__inverseIsAsync === null) {\n        this._calculateInverse(store, modelClass);\n      }\n\n      return this.__inverseIsAsync;\n    };\n\n    _proto._calculateInverse = function _calculateInverse(store, modelClass) {\n      var inverseKey, inverseIsAsync;\n      var inverse = null;\n\n      if (shouldFindInverse(this.meta)) {\n        inverse = modelClass.inverseFor(this.key, store);\n      } else {\n        modelClass.typeForRelationship(this.key, store);\n      }\n\n      if (inverse) {\n        inverseKey = inverse.name;\n        inverseIsAsync = isInverseAsync(inverse);\n      } else {\n        inverseKey = null;\n        inverseIsAsync = false;\n      }\n\n      this.__inverseKey = inverseKey;\n      this.__inverseIsAsync = inverseIsAsync;\n    };\n\n    _createClass(RelationshipDefinition, [{\n      key: \"key\",\n      get: function get() {\n        return this.meta.key;\n      }\n    }, {\n      key: \"kind\",\n      get: function get() {\n        return this.meta.kind;\n      }\n    }, {\n      key: \"type\",\n      get: function get() {\n        if (this._type) {\n          return this._type;\n        }\n\n        this._type = typeForRelationshipMeta(this.meta);\n        return this._type;\n      }\n    }, {\n      key: \"options\",\n      get: function get() {\n        return this.meta.options;\n      }\n    }, {\n      key: \"name\",\n      get: function get() {\n        return this.meta.name;\n      }\n    }]);\n\n    return RelationshipDefinition;\n  }();\n\n  function isInverseAsync(meta) {\n    var inverseAsync = meta.options && meta.options.async;\n    return typeof inverseAsync === 'undefined' ? true : inverseAsync;\n  }\n\n  function relationshipFromMeta(meta) {\n    return new RelationshipDefinition(meta);\n  }\n\n  var relationshipsDescriptor = Ember.computed(function () {\n    var map = new Map();\n    var relationshipsByName = Ember.get(this, 'relationshipsByName'); // Loop through each computed property on the class\n\n    relationshipsByName.forEach(function (desc) {\n      var type = desc.type;\n\n      if (!map.has(type)) {\n        map.set(type, []);\n      }\n\n      map.get(type).push(desc);\n    });\n    return map;\n  }).readOnly();\n  var relatedTypesDescriptor = Ember.computed(function () {\n    var _this = this;\n\n    var parentModelName = this.modelName;\n    var types = Ember.A(); // Loop through each computed property on the class,\n    // and create an array of the unique types involved\n    // in relationships\n\n    this.eachComputedProperty(function (name, meta) {\n      if (meta.isRelationship) {\n        meta.key = name;\n        var modelName = typeForRelationshipMeta(meta);\n        ( !(modelName) && Ember.assert(\"You specified a hasMany (\" + meta.type + \") on \" + parentModelName + \" but \" + meta.type + \" was not found.\", modelName));\n\n        if (!types.includes(modelName)) {\n          ( !(!!modelName) && Ember.assert(\"Trying to sideload \" + name + \" on \" + _this.toString() + \" but the type doesn't exist.\", !!modelName));\n          types.push(modelName);\n        }\n      }\n    });\n    return types;\n  }).readOnly();\n  var relationshipsObjectDescriptor = Ember.computed(function () {\n    var relationships = Object.create(null);\n    var modelName = this.modelName;\n    this.eachComputedProperty(function (name, meta) {\n      if (meta.isRelationship) {\n        meta.key = name;\n        meta.name = name;\n        meta.parentModelName = modelName;\n        relationships[name] = relationshipFromMeta(meta);\n      }\n    });\n    return relationships;\n  });\n  var relationshipsByNameDescriptor = Ember.computed(function () {\n    var map = new Map();\n    var rels = Ember.get(this, 'relationshipsObject');\n    var relationships = Object.keys(rels);\n\n    for (var i = 0; i < relationships.length; i++) {\n      var key = relationships[i];\n      var value = rels[key];\n      map.set(value.key, value);\n    }\n\n    return map;\n  }).readOnly();\n\n  /*\n   * Returns the RecordData instance associated with a given\n   * Model or InternalModel.\n   *\n   * Intentionally \"loose\" to allow anything with an _internalModel\n   * property until InternalModel is eliminated.\n   *\n   * Intentionally not typed to `InternalModel` due to circular dependency\n   *  which that creates.\n   *\n   * Overtime, this should shift to a \"weakmap\" based lookup in the\n   *  \"Ember.getOwner(obj)\" style.\n   */\n  function recordDataFor(instance) {\n    var internalModel = instance._internalModel || instance.internalModel || instance;\n    return internalModel._recordData || null;\n  }\n  function relationshipsFor(instance) {\n    var recordData = recordDataFor(instance) || instance;\n    return recordData._relationships;\n  }\n  function relationshipStateFor(instance, propertyName) {\n    return relationshipsFor(instance).get(propertyName);\n  }\n\n  /**\n    @module ember-data\n  */\n\n  /*\n    This file encapsulates the various states that a record can transition\n    through during its lifecycle.\n  */\n\n  /**\n    ### State\n\n    Each record has a `currentState` property that explicitly tracks what\n    state a record is in at any given time. For instance, if a record is\n    newly created and has not yet been sent to the adapter to be saved,\n    it would be in the `root.loaded.created.uncommitted` state.  If a\n    record has had local modifications made to it that are in the\n    process of being saved, the record would be in the\n    `root.loaded.updated.inFlight` state. (This state path will be\n    explained in more detail below.)\n\n    Events are sent by the record or its store to the record's\n    `currentState` property. How the state reacts to these events is\n    dependent on which state it is in. In some states, certain events\n    will be invalid and will cause an exception to be raised.\n\n    States are hierarchical and every state is a sub-state of the\n    `RootState`. For example, a record can be in the\n    `root.deleted.uncommitted` state then transitions into the\n    `root.deleted.inFlight` state. If a child state does not implement\n    an event handler, the state manager will attempt to invoke the event\n    on all parent states until the root state is reached. The state\n    hierarchy of a record is described in terms of a path string. You\n    can determine a record's current state by getting the state's\n    `stateName` property:\n\n    ```javascript\n    record.get('currentState.stateName');\n    //=> \"root.created.uncommitted\"\n     ```\n\n    The hierarchy of valid states that ship with ember data looks like\n    this:\n\n    ```text\n    * root\n      * deleted\n        * saved\n        * uncommitted\n        * inFlight\n      * empty\n      * loaded\n        * created\n          * uncommitted\n          * inFlight\n        * saved\n        * updated\n          * uncommitted\n          * inFlight\n      * loading\n    ```\n\n    The `Model` states are themselves stateless. What that means is\n    that, the hierarchical states that each of *those* points to is a\n    shared data structure. For performance reasons, instead of each\n    record getting its own copy of the hierarchy of states, each record\n    points to this global, immutable shared instance. How does a state\n    know which record it should be acting on? We pass the record\n    instance into the state's event handlers as the first argument.\n\n    The record passed as the first parameter is where you should stash\n    state about the record if needed; you should never store data on the state\n    object itself.\n\n    ### Events and Flags\n\n    A state may implement zero or more events and flags.\n\n    #### Events\n\n    Events are named functions that are invoked when sent to a record. The\n    record will first look for a method with the given name on the\n    current state. If no method is found, it will search the current\n    state's parent, and then its grandparent, and so on until reaching\n    the top of the hierarchy. If the root is reached without an event\n    handler being found, an exception will be raised. This can be very\n    helpful when debugging new features.\n\n    Here's an example implementation of a state with a `myEvent` event handler:\n\n    ```javascript\n    aState: State.create({\n      myEvent: function(manager, param) {\n        console.log(\"Received myEvent with\", param);\n      }\n    })\n    ```\n\n    To trigger this event:\n\n    ```javascript\n    record.send('myEvent', 'foo');\n    //=> \"Received myEvent with foo\"\n    ```\n\n    Note that an optional parameter can be sent to a record's `send()` method,\n    which will be passed as the second parameter to the event handler.\n\n    Events should transition to a different state if appropriate. This can be\n    done by calling the record's `transitionTo()` method with a path to the\n    desired state. The state manager will attempt to resolve the state path\n    relative to the current state. If no state is found at that path, it will\n    attempt to resolve it relative to the current state's parent, and then its\n    parent, and so on until the root is reached. For example, imagine a hierarchy\n    like this:\n\n        * created\n          * uncommitted <-- currentState\n          * inFlight\n        * updated\n          * inFlight\n\n    If we are currently in the `uncommitted` state, calling\n    `transitionTo('inFlight')` would transition to the `created.inFlight` state,\n    while calling `transitionTo('updated.inFlight')` would transition to\n    the `updated.inFlight` state.\n\n    Remember that *only events* should ever cause a state transition. You should\n    never call `transitionTo()` from outside a state's event handler. If you are\n    tempted to do so, create a new event and send that to the state manager.\n\n    #### Flags\n\n    Flags are Boolean values that can be used to introspect a record's current\n    state in a more user-friendly way than examining its state path. For example,\n    instead of doing this:\n\n    ```javascript\n    var statePath = record.get('stateManager.currentPath');\n    if (statePath === 'created.inFlight') {\n      doSomething();\n    }\n    ```\n\n    You can say:\n\n    ```javascript\n    if (record.get('isNew') && record.get('isSaving')) {\n      doSomething();\n    }\n    ```\n\n    If your state does not set a value for a given flag, the value will\n    be inherited from its parent (or the first place in the state hierarchy\n    where it is defined).\n\n    The current set of flags are defined below. If you want to add a new flag,\n    in addition to the area below, you will also need to declare it in the\n    `Model` class.\n\n\n     * [isEmpty](DS.Model.html#property_isEmpty)\n     * [isLoading](DS.Model.html#property_isLoading)\n     * [isLoaded](DS.Model.html#property_isLoaded)\n     * [hasDirtyAttributes](DS.Model.html#property_hasDirtyAttributes)\n     * [isSaving](DS.Model.html#property_isSaving)\n     * [isDeleted](DS.Model.html#property_isDeleted)\n     * [isNew](DS.Model.html#property_isNew)\n     * [isValid](DS.Model.html#property_isValid)\n\n    @class RootState\n  */\n  function _didSetProperty(internalModel, context) {\n    if (context.isDirty) {\n      internalModel.send('becomeDirty');\n    } else {\n      internalModel.send('propertyWasReset');\n    }\n\n    internalModel.updateRecordArrays();\n  } // Implementation notes:\n  //\n  // Each state has a boolean value for all of the following flags:\n  //\n  // * isLoaded: The record has a populated `data` property. When a\n  //   record is loaded via `store.find`, `isLoaded` is false\n  //   until the adapter sets it. When a record is created locally,\n  //   its `isLoaded` property is always true.\n  // * isDirty: The record has local changes that have not yet been\n  //   saved by the adapter. This includes records that have been\n  //   created (but not yet saved) or deleted.\n  // * isSaving: The record has been committed, but\n  //   the adapter has not yet acknowledged that the changes have\n  //   been persisted to the backend.\n  // * isDeleted: The record was marked for deletion. When `isDeleted`\n  //   is true and `isDirty` is true, the record is deleted locally\n  //   but the deletion was not yet persisted. When `isSaving` is\n  //   true, the change is in-flight. When both `isDirty` and\n  //   `isSaving` are false, the change has persisted.\n  // * isNew: The record was created on the client and the adapter\n  //   did not yet report that it was successfully saved.\n  // * isValid: The adapter did not report any server-side validation\n  //   failures.\n  // The dirty state is a abstract state whose functionality is\n  // shared between the `created` and `updated` states.\n  //\n  // The deleted state shares the `isDirty` flag with the\n  // subclasses of `DirtyState`, but with a very different\n  // implementation.\n  //\n  // Dirty states have three child states:\n  //\n  // `uncommitted`: the store has not yet handed off the record\n  //   to be saved.\n  // `inFlight`: the store has handed off the record to be saved,\n  //   but the adapter has not yet acknowledged success.\n  // `invalid`: the record has invalid information and cannot be\n  //   sent to the adapter yet.\n\n\n  var DirtyState = {\n    initialState: 'uncommitted',\n    // FLAGS\n    isDirty: true,\n    // SUBSTATES\n    // When a record first becomes dirty, it is `uncommitted`.\n    // This means that there are local pending changes, but they\n    // have not yet begun to be saved, and are not invalid.\n    uncommitted: {\n      // EVENTS\n      didSetProperty: _didSetProperty,\n      //TODO(Igor) reloading now triggers a\n      //loadingData event, though it seems fine?\n      loadingData: function loadingData() {},\n      propertyWasReset: function propertyWasReset(internalModel, name) {\n        if (!internalModel.hasChangedAttributes()) {\n          internalModel.send('rolledBack');\n        }\n      },\n      pushedData: function pushedData(internalModel) {\n        if (!internalModel.hasChangedAttributes()) {\n          internalModel.transitionTo('loaded.saved');\n        }\n      },\n      becomeDirty: function becomeDirty() {},\n      willCommit: function willCommit(internalModel) {\n        internalModel.transitionTo('inFlight');\n      },\n      reloadRecord: function reloadRecord(internalModel, _ref) {\n        var resolve = _ref.resolve,\n            options = _ref.options;\n        resolve(internalModel.store._reloadRecord(internalModel, options));\n      },\n      rolledBack: function rolledBack(internalModel) {\n        internalModel.transitionTo('loaded.saved');\n        internalModel.triggerLater('rolledBack');\n      },\n      becameInvalid: function becameInvalid(internalModel) {\n        internalModel.transitionTo('invalid');\n      },\n      rollback: function rollback(internalModel) {\n        internalModel.rollbackAttributes();\n        internalModel.triggerLater('ready');\n      }\n    },\n    // Once a record has been handed off to the adapter to be\n    // saved, it is in the 'in flight' state. Changes to the\n    // record cannot be made during this window.\n    inFlight: {\n      // FLAGS\n      isSaving: true,\n      // EVENTS\n      didSetProperty: _didSetProperty,\n      becomeDirty: function becomeDirty() {},\n      pushedData: function pushedData() {},\n      unloadRecord: assertAgainstUnloadRecord,\n      // TODO: More robust semantics around save-while-in-flight\n      willCommit: function willCommit() {},\n      didCommit: function didCommit(internalModel) {\n        internalModel.transitionTo('saved');\n        internalModel.send('invokeLifecycleCallbacks', this.dirtyType);\n      },\n      rolledBack: function rolledBack(internalModel) {\n        internalModel.triggerLater('rolledBack');\n      },\n      becameInvalid: function becameInvalid(internalModel) {\n        internalModel.transitionTo('invalid');\n        internalModel.send('invokeLifecycleCallbacks');\n      },\n      becameError: function becameError(internalModel) {\n        internalModel.transitionTo('uncommitted');\n        internalModel.triggerLater('becameError', internalModel);\n      }\n    },\n    // A record is in the `invalid` if the adapter has indicated\n    // the the record failed server-side invalidations.\n    invalid: {\n      // FLAGS\n      isValid: false,\n      // EVENTS\n      deleteRecord: function deleteRecord(internalModel) {\n        internalModel.transitionTo('deleted.uncommitted');\n      },\n      didSetProperty: function didSetProperty(internalModel, context) {\n        internalModel.removeErrorMessageFromAttribute(context.name);\n\n        _didSetProperty(internalModel, context);\n\n        if (!internalModel.hasErrors()) {\n          this.becameValid(internalModel);\n        }\n      },\n      becameInvalid: function becameInvalid() {},\n      becomeDirty: function becomeDirty() {},\n      pushedData: function pushedData() {},\n      willCommit: function willCommit(internalModel) {\n        internalModel.clearErrorMessages();\n        internalModel.transitionTo('inFlight');\n      },\n      rolledBack: function rolledBack(internalModel) {\n        internalModel.clearErrorMessages();\n        internalModel.transitionTo('loaded.saved');\n        internalModel.triggerLater('ready');\n      },\n      becameValid: function becameValid(internalModel) {\n        internalModel.transitionTo('uncommitted');\n      },\n      invokeLifecycleCallbacks: function invokeLifecycleCallbacks(internalModel) {\n        internalModel.triggerLater('becameInvalid', internalModel);\n      }\n    }\n  }; // The created and updated states are created outside the state\n  // chart so we can reopen their substates and add mixins as\n  // necessary.\n\n  function deepClone(object) {\n    var clone = {};\n    var value;\n\n    for (var prop in object) {\n      value = object[prop];\n\n      if (value && typeof value === 'object') {\n        clone[prop] = deepClone(value);\n      } else {\n        clone[prop] = value;\n      }\n    }\n\n    return clone;\n  }\n\n  function mixin(original, hash) {\n    for (var prop in hash) {\n      original[prop] = hash[prop];\n    }\n\n    return original;\n  }\n\n  function dirtyState(options) {\n    var newState = deepClone(DirtyState);\n    return mixin(newState, options);\n  }\n\n  var createdState = dirtyState({\n    dirtyType: 'created',\n    // FLAGS\n    isNew: true\n  });\n\n  createdState.invalid.rolledBack = function (internalModel) {\n    internalModel.transitionTo('deleted.saved');\n    internalModel.triggerLater('rolledBack');\n  };\n\n  createdState.uncommitted.rolledBack = function (internalModel) {\n    internalModel.transitionTo('deleted.saved');\n    internalModel.triggerLater('rolledBack');\n  };\n\n  var updatedState = dirtyState({\n    dirtyType: 'updated'\n  });\n\n  function createdStateDeleteRecord(internalModel) {\n    internalModel.transitionTo('deleted.saved');\n    internalModel.send('invokeLifecycleCallbacks');\n  }\n\n  createdState.uncommitted.deleteRecord = createdStateDeleteRecord;\n  createdState.invalid.deleteRecord = createdStateDeleteRecord;\n\n  createdState.uncommitted.rollback = function (internalModel) {\n    DirtyState.uncommitted.rollback.apply(this, arguments);\n    internalModel.transitionTo('deleted.saved');\n  };\n\n  createdState.uncommitted.pushedData = function (internalModel) {\n    internalModel.transitionTo('loaded.updated.uncommitted');\n    internalModel.triggerLater('didLoad');\n  };\n\n  createdState.uncommitted.propertyWasReset = function () {};\n\n  function assertAgainstUnloadRecord(internalModel) {\n    ( Ember.assert('You can only unload a record which is not inFlight. `' + internalModel + '`', false));\n  }\n\n  updatedState.invalid.becameValid = function (internalModel) {\n    // we're eagerly transition into the loaded.saved state, even though we could\n    // be still dirty; but the setup hook of the loaded.saved state checks for\n    // dirty attributes and transitions into the corresponding dirty state\n    internalModel.transitionTo('loaded.saved');\n  };\n\n  updatedState.inFlight.unloadRecord = assertAgainstUnloadRecord;\n\n  updatedState.uncommitted.deleteRecord = function (internalModel) {\n    internalModel.transitionTo('deleted.uncommitted');\n  };\n\n  updatedState.invalid.rolledBack = function (internalModel) {\n    internalModel.clearErrorMessages();\n    internalModel.transitionTo('loaded.saved');\n    internalModel.triggerLater('rolledBack');\n  };\n\n  var RootState = {\n    // FLAGS\n    isEmpty: false,\n    isLoading: false,\n    isLoaded: false,\n    isDirty: false,\n    isSaving: false,\n    isDeleted: false,\n    isNew: false,\n    isValid: true,\n    // DEFAULT EVENTS\n    // Trying to roll back if you're not in the dirty state\n    // doesn't change your state. For example, if you're in the\n    // in-flight state, rolling back the record doesn't move\n    // you out of the in-flight state.\n    rolledBack: function rolledBack() {},\n    unloadRecord: function unloadRecord(internalModel) {},\n    propertyWasReset: function propertyWasReset() {},\n    // SUBSTATES\n    // A record begins its lifecycle in the `empty` state.\n    // If its data will come from the adapter, it will\n    // transition into the `loading` state. Otherwise, if\n    // the record is being created on the client, it will\n    // transition into the `created` state.\n    empty: {\n      isEmpty: true,\n      // EVENTS\n      loadingData: function loadingData(internalModel, promise) {\n        internalModel._promiseProxy = promise;\n        internalModel.transitionTo('loading');\n      },\n      loadedData: function loadedData(internalModel) {\n        internalModel.transitionTo('loaded.created.uncommitted');\n        internalModel.triggerLater('ready');\n      },\n      pushedData: function pushedData(internalModel) {\n        internalModel.transitionTo('loaded.saved');\n        internalModel.triggerLater('didLoad');\n        internalModel.triggerLater('ready');\n      }\n    },\n    // A record enters this state when the store asks\n    // the adapter for its data. It remains in this state\n    // until the adapter provides the requested data.\n    //\n    // Usually, this process is asynchronous, using an\n    // XHR to retrieve the data.\n    loading: {\n      // FLAGS\n      isLoading: true,\n      exit: function exit(internalModel) {\n        internalModel._promiseProxy = null;\n      },\n      // EVENTS\n      pushedData: function pushedData(internalModel) {\n        internalModel.transitionTo('loaded.saved');\n        internalModel.triggerLater('didLoad');\n        internalModel.triggerLater('ready'); //TODO this seems out of place here\n\n        internalModel.didCleanError();\n      },\n      becameError: function becameError(internalModel) {\n        internalModel.triggerLater('becameError', internalModel);\n      },\n      notFound: function notFound(internalModel) {\n        internalModel.transitionTo('empty');\n      }\n    },\n    // A record enters this state when its data is populated.\n    // Most of a record's lifecycle is spent inside substates\n    // of the `loaded` state.\n    loaded: {\n      initialState: 'saved',\n      // FLAGS\n      isLoaded: true,\n      //TODO(Igor) Reloading now triggers a loadingData event,\n      //but it should be ok?\n      loadingData: function loadingData() {},\n      // SUBSTATES\n      // If there are no local changes to a record, it remains\n      // in the `saved` state.\n      saved: {\n        setup: function setup(internalModel) {\n          if (internalModel.hasChangedAttributes()) {\n            internalModel.adapterDidDirty();\n          }\n        },\n        // EVENTS\n        didSetProperty: _didSetProperty,\n        pushedData: function pushedData() {},\n        becomeDirty: function becomeDirty(internalModel) {\n          internalModel.transitionTo('updated.uncommitted');\n        },\n        willCommit: function willCommit(internalModel) {\n          internalModel.transitionTo('updated.inFlight');\n        },\n        reloadRecord: function reloadRecord(internalModel, _ref2) {\n          var resolve = _ref2.resolve,\n              options = _ref2.options;\n          resolve(internalModel.store._reloadRecord(internalModel, options));\n        },\n        deleteRecord: function deleteRecord(internalModel) {\n          internalModel.transitionTo('deleted.uncommitted');\n        },\n        unloadRecord: function unloadRecord(internalModel) {},\n        didCommit: function didCommit() {},\n        // loaded.saved.notFound would be triggered by a failed\n        // `reload()` on an unchanged record\n        notFound: function notFound() {}\n      },\n      // A record is in this state after it has been locally\n      // created but before the adapter has indicated that\n      // it has been saved.\n      created: createdState,\n      // A record is in this state if it has already been\n      // saved to the server, but there are new local changes\n      // that have not yet been saved.\n      updated: updatedState\n    },\n    // A record is in this state if it was deleted from the store.\n    deleted: {\n      initialState: 'uncommitted',\n      dirtyType: 'deleted',\n      // FLAGS\n      isDeleted: true,\n      isLoaded: true,\n      isDirty: true,\n      // TRANSITIONS\n      setup: function setup(internalModel) {\n        internalModel.updateRecordArrays();\n      },\n      // SUBSTATES\n      // When a record is deleted, it enters the `start`\n      // state. It will exit this state when the record\n      // starts to commit.\n      uncommitted: {\n        // EVENTS\n        willCommit: function willCommit(internalModel) {\n          internalModel.transitionTo('inFlight');\n        },\n        rollback: function rollback(internalModel) {\n          internalModel.rollbackAttributes();\n          internalModel.triggerLater('ready');\n        },\n        pushedData: function pushedData() {},\n        becomeDirty: function becomeDirty() {},\n        deleteRecord: function deleteRecord() {},\n        rolledBack: function rolledBack(internalModel) {\n          internalModel.transitionTo('loaded.saved');\n          internalModel.triggerLater('ready');\n          internalModel.triggerLater('rolledBack');\n        }\n      },\n      // After a record starts committing, but\n      // before the adapter indicates that the deletion\n      // has saved to the server, a record is in the\n      // `inFlight` substate of `deleted`.\n      inFlight: {\n        // FLAGS\n        isSaving: true,\n        // EVENTS\n        unloadRecord: assertAgainstUnloadRecord,\n        // TODO: More robust semantics around save-while-in-flight\n        willCommit: function willCommit() {},\n        didCommit: function didCommit(internalModel) {\n          internalModel.transitionTo('saved');\n          internalModel.send('invokeLifecycleCallbacks');\n        },\n        becameError: function becameError(internalModel) {\n          internalModel.transitionTo('uncommitted');\n          internalModel.triggerLater('becameError', internalModel);\n        },\n        becameInvalid: function becameInvalid(internalModel) {\n          internalModel.transitionTo('invalid');\n          internalModel.triggerLater('becameInvalid', internalModel);\n        }\n      },\n      // Once the adapter indicates that the deletion has\n      // been saved, the record enters the `saved` substate\n      // of `deleted`.\n      saved: {\n        // FLAGS\n        isDirty: false,\n        setup: function setup(internalModel) {\n          internalModel.removeFromInverseRelationships();\n        },\n        invokeLifecycleCallbacks: function invokeLifecycleCallbacks(internalModel) {\n          internalModel.triggerLater('didDelete', internalModel);\n          internalModel.triggerLater('didCommit', internalModel);\n        },\n        willCommit: function willCommit() {},\n        didCommit: function didCommit() {},\n        pushedData: function pushedData() {}\n      },\n      invalid: {\n        isValid: false,\n        didSetProperty: function didSetProperty(internalModel, context) {\n          internalModel.removeErrorMessageFromAttribute(context.name);\n\n          _didSetProperty(internalModel, context);\n\n          if (!internalModel.hasErrors()) {\n            this.becameValid(internalModel);\n          }\n        },\n        becameInvalid: function becameInvalid() {},\n        becomeDirty: function becomeDirty() {},\n        deleteRecord: function deleteRecord() {},\n        willCommit: function willCommit() {},\n        rolledBack: function rolledBack(internalModel) {\n          internalModel.clearErrorMessages();\n          internalModel.transitionTo('loaded.saved');\n          internalModel.triggerLater('ready');\n        },\n        becameValid: function becameValid(internalModel) {\n          internalModel.transitionTo('uncommitted');\n        }\n      }\n    },\n    invokeLifecycleCallbacks: function invokeLifecycleCallbacks(internalModel, dirtyType) {\n      if (dirtyType === 'created') {\n        internalModel.triggerLater('didCreate', internalModel);\n      } else {\n        internalModel.triggerLater('didUpdate', internalModel);\n      }\n\n      internalModel.triggerLater('didCommit', internalModel);\n    }\n  };\n\n  function wireState(object, parent, name) {\n    // TODO: Use Object.create and copy instead\n    object = mixin(parent ? Object.create(parent) : {}, object);\n    object.parentState = parent;\n    object.stateName = name;\n\n    for (var prop in object) {\n      if (!object.hasOwnProperty(prop) || prop === 'parentState' || prop === 'stateName') {\n        continue;\n      }\n\n      if (typeof object[prop] === 'object') {\n        object[prop] = wireState(object[prop], object, name + '.' + prop);\n      }\n    }\n\n    return object;\n  }\n\n  var RootState$1 = wireState(RootState, null, 'root');\n\n  function _defineProperties$1(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\n  function _createClass$1(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$1(Constructor.prototype, protoProps); if (staticProps) _defineProperties$1(Constructor, staticProps); return Constructor; }\n  /**\n    @class Snapshot\n    @namespace DS\n    @private\n    @constructor\n    @param {DS.Model} internalModel The model to create a snapshot from\n  */\n\n  var Snapshot =\n  /*#__PURE__*/\n  function () {\n    function Snapshot(internalModel, options) {\n      if (options === void 0) {\n        options = {};\n      }\n\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      this._internalModel = internalModel;\n      /*\n        If the internalModel does 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\n      if (internalModel.hasRecord) {\n        this._attributes;\n      }\n      /**O\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       */\n\n\n      this.id = internalModel.id;\n      /**\n       A hash of adapter options\n       @property adapterOptions\n       @type {Object}\n       */\n\n      this.adapterOptions = options.adapterOptions;\n      this.include = options.include;\n      /**\n       The name of the type of the underlying record for this snapshot, as a string.\n        @property modelName\n       @type {String}\n       */\n\n      this.modelName = internalModel.modelName;\n      this._changedAttributes = internalModel.changedAttributes();\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     */\n\n\n    var _proto = Snapshot.prototype;\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     */\n    _proto.attr = function attr(keyName) {\n      if (keyName in this._attributes) {\n        return this._attributes[keyName];\n      }\n\n      throw new Ember.Error(\"Model '\" + Ember.inspect(this.record) + \"' has no attribute named '\" + keyName + \"' defined.\");\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     */\n    ;\n\n    _proto.attributes = function attributes() {\n      return Ember.assign({}, this._attributes);\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     */\n    ;\n\n    _proto.changedAttributes = function changedAttributes() {\n      var changedAttributes = Object.create(null);\n      var changedAttributeKeys = Object.keys(this._changedAttributes);\n\n      for (var i = 0, length = changedAttributeKeys.length; i < length; i++) {\n        var key = changedAttributeKeys[i];\n        changedAttributes[key] = this._changedAttributes[key].slice();\n      }\n\n      return changedAttributes;\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     @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    ;\n\n    _proto.belongsTo = function belongsTo(keyName, options) {\n      var id = options && options.id;\n      var relationship;\n      var inverseInternalModel;\n      var result;\n      var store = this._internalModel.store;\n\n      if (id && keyName in this._belongsToIds) {\n        return this._belongsToIds[keyName];\n      }\n\n      if (!id && keyName in this._belongsToRelationships) {\n        return this._belongsToRelationships[keyName];\n      }\n\n      var relationshipMeta = store._relationshipMetaFor(this.modelName, null, keyName);\n\n      if (!(relationshipMeta && relationshipMeta.kind === 'belongsTo')) {\n        throw new Ember.Error(\"Model '\" + Ember.inspect(this.record) + \"' has no belongsTo relationship named '\" + keyName + \"' defined.\");\n      }\n\n      relationship = relationshipStateFor(this, keyName);\n      var value = relationship.getData();\n      var data = value && value.data;\n      inverseInternalModel = data && store._internalModelForResource(data);\n\n      if (value && value.data !== undefined) {\n        if (inverseInternalModel && !inverseInternalModel.isDeleted()) {\n          if (id) {\n            result = Ember.get(inverseInternalModel, 'id');\n          } else {\n            result = inverseInternalModel.createSnapshot();\n          }\n        } else {\n          result = null;\n        }\n      }\n\n      if (id) {\n        this._belongsToIds[keyName] = result;\n      } else {\n        this._belongsToRelationships[keyName] = result;\n      }\n\n      return result;\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     @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    ;\n\n    _proto.hasMany = function hasMany(keyName, options) {\n      var ids = options && options.ids;\n      var relationship;\n      var results;\n\n      if (ids && keyName in this._hasManyIds) {\n        return this._hasManyIds[keyName];\n      }\n\n      if (!ids && keyName in this._hasManyRelationships) {\n        return this._hasManyRelationships[keyName];\n      }\n\n      var store = this._internalModel.store;\n\n      var relationshipMeta = store._relationshipMetaFor(this.modelName, null, keyName);\n\n      if (!(relationshipMeta && relationshipMeta.kind === 'hasMany')) {\n        throw new Ember.Error(\"Model '\" + Ember.inspect(this.record) + \"' has no hasMany relationship named '\" + keyName + \"' defined.\");\n      }\n\n      relationship = relationshipStateFor(this, keyName);\n      var value = relationship.getData();\n\n      if (value.data) {\n        results = [];\n        value.data.forEach(function (member) {\n          var internalModel = store._internalModelForResource(member);\n\n          if (!internalModel.isDeleted()) {\n            if (ids) {\n              results.push(member.id);\n            } else {\n              results.push(internalModel.createSnapshot());\n            }\n          }\n        });\n      }\n\n      if (ids) {\n        this._hasManyIds[keyName] = results;\n      } else {\n        this._hasManyRelationships[keyName] = results;\n      }\n\n      return results;\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    */\n    ;\n\n    _proto.eachAttribute = function eachAttribute(callback, binding) {\n      this.record.eachAttribute(callback, binding);\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    */\n    ;\n\n    _proto.eachRelationship = function eachRelationship(callback, binding) {\n      this.record.eachRelationship(callback, binding);\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          var data = snapshot.serialize({ includeId: true });\n          var 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     */\n    ;\n\n    _proto.serialize = function serialize(options) {\n      return this.record.store.serializerFor(this.modelName).serialize(this, options);\n    };\n\n    _createClass$1(Snapshot, [{\n      key: \"record\",\n      get: function get() {\n        return this._internalModel.getRecord();\n      }\n    }, {\n      key: \"_attributes\",\n      get: function get() {\n        var attributes = this.__attributes;\n\n        if (attributes === null) {\n          var record = this.record;\n          attributes = this.__attributes = Object.create(null);\n          record.eachAttribute(function (keyName) {\n            return attributes[keyName] = Ember.get(record, keyName);\n          });\n        }\n\n        return attributes;\n      }\n      /**\n       The type of the underlying record for this snapshot, as a Model.\n        @property type\n       @type {Model}\n       */\n\n    }, {\n      key: \"type\",\n      get: function get() {\n        // TODO @runspired we should deprecate this in favor of modelClass but only once\n        // we've cleaned up the internals enough that a public change to follow suite is\n        // uncontroversial.\n        return this._internalModel.modelClass;\n      }\n    }]);\n\n    return Snapshot;\n  }();\n\n  function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\n  var EmberDataOrderedSet =\n  /*#__PURE__*/\n  function (_EmberOrderedSet) {\n    _inheritsLoose(EmberDataOrderedSet, _EmberOrderedSet);\n\n    function EmberDataOrderedSet() {\n      return _EmberOrderedSet.apply(this, arguments) || this;\n    }\n\n    EmberDataOrderedSet.create = function create() {\n      return new this();\n    };\n\n    var _proto = EmberDataOrderedSet.prototype;\n\n    _proto.addWithIndex = function addWithIndex(obj, idx) {\n      var guid = Ember.guidFor(obj);\n      var presenceSet = this.presenceSet;\n      var list = this.list;\n\n      if (presenceSet[guid] === true) {\n        return;\n      }\n\n      presenceSet[guid] = true;\n\n      if (idx === undefined || idx === null) {\n        list.push(obj);\n      } else {\n        list.splice(idx, 0, obj);\n      }\n\n      this.size += 1;\n      return this;\n    };\n\n    return EmberDataOrderedSet;\n  }(EmberOrderedSet);\n\n  function _bind(fn) {\n    for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n      args[_key - 1] = arguments[_key];\n    }\n\n    return function () {\n      return fn.apply(undefined, args);\n    };\n  }\n  function _guard(promise, test) {\n    var guarded = promise.finally(function () {\n      if (!test()) {\n        guarded._subscribers.length = 0;\n      }\n    });\n    return guarded;\n  }\n  function _objectIsAlive(object) {\n    return !(Ember.get(object, 'isDestroyed') || Ember.get(object, 'isDestroying'));\n  }\n  function guardDestroyedStore(promise, store, label) {\n    var token;\n\n    {\n      token = store._trackAsyncRequestStart(label);\n    }\n\n    var wrapperPromise = Ember.RSVP.resolve(promise, label).then(function (v) {\n      return promise;\n    });\n    return _guard(wrapperPromise, function () {\n      {\n        store._trackAsyncRequestEnd(token);\n      }\n\n      return _objectIsAlive(store);\n    });\n  }\n\n  /*\n    @namespace\n    @method diffArray\n    @private\n    @param {Array} oldArray the old array\n    @param {Array} newArray the new array\n    @return {hash} {\n        firstChangeIndex: <integer>,  // null if no change\n        addedCount: <integer>,        // 0 if no change\n        removedCount: <integer>       // 0 if no change\n      }\n  */\n  function diffArray(oldArray, newArray) {\n    var oldLength = oldArray.length;\n    var newLength = newArray.length;\n    var shortestLength = Math.min(oldLength, newLength);\n    var firstChangeIndex = null; // null signifies no changes\n    // find the first change\n\n    for (var i = 0; i < shortestLength; i++) {\n      // compare each item in the array\n      if (oldArray[i] !== newArray[i]) {\n        firstChangeIndex = i;\n        break;\n      }\n    }\n\n    if (firstChangeIndex === null && newLength !== oldLength) {\n      // no change found in the overlapping block\n      // and array lengths differ,\n      // so change starts at end of overlap\n      firstChangeIndex = shortestLength;\n    }\n\n    var addedCount = 0;\n    var removedCount = 0;\n\n    if (firstChangeIndex !== null) {\n      // we found a change, find the end of the change\n      var unchangedEndBlockLength = shortestLength - firstChangeIndex; // walk back from the end of both arrays until we find a change\n\n      for (var _i = 1; _i <= shortestLength; _i++) {\n        // compare each item in the array\n        if (oldArray[oldLength - _i] !== newArray[newLength - _i]) {\n          unchangedEndBlockLength = _i - 1;\n          break;\n        }\n      }\n\n      addedCount = newLength - unchangedEndBlockLength - firstChangeIndex;\n      removedCount = oldLength - unchangedEndBlockLength - firstChangeIndex;\n    }\n\n    return {\n      firstChangeIndex: firstChangeIndex,\n      addedCount: addedCount,\n      removedCount: removedCount\n    };\n  }\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    ### 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 Model.extend({\n      comments: hasMany('comment')\n    });\n    ```\n\n    ```app/models/comment.js\n    import Model, { belongsTo } from '@ember-data/model';\n\n    export default Model.extend({\n      post: belongsTo('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    @extends EmberObject\n    @uses Ember.MutableArray, Ember.Evented\n  */\n\n  var ManyArray = Ember.Object.extend(Ember.MutableArray, Ember.Evented, {\n    init: function init() {\n      this._super.apply(this, arguments);\n      /**\n      The loading state of this array\n       @property {Boolean} isLoaded\n      */\n\n\n      this.isLoaded = false;\n      this.length = 0;\n      /**\n      Used for async `hasMany` arrays\n      to keep track of when they will resolve.\n       @property {Ember.RSVP.Promise} promise\n      @private\n      */\n\n      this.promise = null;\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 metadata via the `meta` property:\n       ```js\n      post.get('comments').then(function(comments) {\n        var meta = comments.get('meta');\n       // meta.page => 1\n      // meta.total => 5\n      });\n      ```\n       @property {Object} meta\n      @public\n      */\n      // TODO this is likely broken in our refactor\n\n      this.meta = this.meta || null;\n      /**\n      `true` if the relationship is polymorphic, `false` otherwise.\n       @property {Boolean} isPolymorphic\n      @private\n      */\n\n      this.isPolymorphic = this.isPolymorphic || false;\n      /**\n      The relationship which manages this array.\n       @property {ManyRelationship} relationship\n      @private\n      */\n\n      this.currentState = [];\n      this.flushCanonical(this.initialState, false);\n    },\n    // TODO: if(DEBUG)\n    anyUnloaded: function anyUnloaded() {\n      // Use `filter[0]` as opposed to `find` because of IE11\n      var unloaded = this.currentState.filter(function (im) {\n        return im._isDematerializing || !im.isLoaded();\n      })[0];\n      return !!unloaded;\n    },\n    removeUnloadedInternalModel: function removeUnloadedInternalModel() {\n      for (var i = 0; i < this.currentState.length; ++i) {\n        var internalModel = this.currentState[i];\n\n        if (internalModel._isDematerializing || !internalModel.isLoaded()) {\n          this.arrayContentWillChange(i, 1, 0);\n          this.currentState.splice(i, 1);\n          this.set('length', this.currentState.length);\n          this.arrayContentDidChange(i, 1, 0);\n          return true;\n        }\n      }\n\n      return false;\n    },\n    objectAt: function objectAt(index) {\n      // TODO we likely need to force flush here\n\n      /*\n      if (this.relationship._willUpdateManyArray) {\n        this.relationship._flushPendingManyArrayUpdates();\n      }\n      */\n      var internalModel = this.currentState[index];\n\n      if (internalModel === undefined) {\n        return;\n      }\n\n      return internalModel.getRecord();\n    },\n    flushCanonical: function flushCanonical(toSet, isInitialized) {\n      if (isInitialized === void 0) {\n        isInitialized = true;\n      }\n\n      // It’s possible the parent side of the relationship may have been unloaded by this point\n      if (!_objectIsAlive(this)) {\n        return;\n      } // diff to find changes\n\n\n      var diff = diffArray(this.currentState, toSet);\n\n      if (diff.firstChangeIndex !== null) {\n        // it's null if no change found\n        // we found a change\n        this.arrayContentWillChange(diff.firstChangeIndex, diff.removedCount, diff.addedCount);\n        this.set('length', toSet.length);\n        this.currentState = toSet.slice();\n        this.arrayContentDidChange(diff.firstChangeIndex, diff.removedCount, diff.addedCount);\n\n        if (isInitialized && diff.addedCount > 0) {\n          //notify only on additions\n          //TODO only notify if unloaded\n          this.internalModel.manyArrayRecordAdded(this.get('key'));\n        }\n      }\n    },\n    replace: function replace(idx, amt, objects) {\n      var internalModels;\n\n      if (amt > 0) {\n        internalModels = this.currentState.slice(idx, idx + amt);\n        this.get('recordData').removeFromHasMany(this.get('key'), internalModels.map(function (im) {\n          return recordDataFor(im);\n        }));\n      }\n\n      if (objects) {\n        ( !(Array.isArray(objects) || Ember.Array.detect(objects)) && Ember.assert('The third argument to replace needs to be an array.', Array.isArray(objects) || Ember.Array.detect(objects)));\n        this.get('recordData').addToHasMany(this.get('key'), objects.map(function (obj) {\n          return recordDataFor(obj);\n        }), idx);\n      }\n\n      this.retrieveLatest();\n    },\n    // Ok this is kinda funky because if buggy we might lose positions, etc.\n    // but current code is this way so shouldn't be too big of a problem\n    retrieveLatest: function retrieveLatest() {\n      var jsonApi = this.get('recordData').getHasMany(this.get('key')); // TODO this is odd, why should ManyArray ever tell itself to resync?\n\n      var internalModels = this.store._getHasManyByJsonApiResource(jsonApi);\n\n      if (jsonApi.meta) {\n        this.set('meta', jsonApi.meta);\n      }\n\n      this.flushCanonical(internalModels, true);\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      var user = store.peekRecord('user', 1)\n      user.login().then(function() {\n        user.get('permissions').then(function(permissions) {\n          return permissions.reload();\n        });\n      });\n      ```\n       @method reload\n      @public\n    */\n    reload: function reload(options) {\n      // TODO this is odd, we don't ask the store for anything else like this?\n      return this.get('store').reloadManyArray(this, this.get('internalModel'), this.get('key'), options);\n    },\n\n    /**\n      Saves all of the records in the `ManyArray`.\n       Example\n       ```javascript\n      store.findRecord('inbox', 1).then(function(inbox) {\n        inbox.get('messages').then(function(messages) {\n          messages.forEach(function(message) {\n            message.set('isRead', true);\n          });\n          messages.save()\n        });\n      });\n      ```\n       @method save\n      @return {DS.PromiseArray} promise\n    */\n    save: function save() {\n      var manyArray = this;\n      var promiseLabel = 'DS: ManyArray#save ' + Ember.get(this, 'type');\n      var promise = Ember.RSVP.all(this.invoke('save'), promiseLabel).then(function () {\n        return manyArray;\n      }, null, 'DS: ManyArray#save return ManyArray');\n      return PromiseArray.create({\n        promise: promise\n      });\n    },\n\n    /**\n      Create a child record within the owner\n       @method createRecord\n      @private\n      @param {Object} hash\n      @return {DS.Model} record\n    */\n    createRecord: function createRecord(hash) {\n      var store = Ember.get(this, 'store');\n      var type = Ember.get(this, 'type');\n      ( !(!Ember.get(this, 'isPolymorphic')) && Ember.assert(\"You cannot add '\" + type.modelName + \"' records to this polymorphic relationship.\", !Ember.get(this, 'isPolymorphic')));\n      var record = store.createRecord(type.modelName, hash);\n      this.pushObject(record);\n      return record;\n    }\n  });\n\n  function isResourceIdentiferWithRelatedLinks(value) {\n    return value && value.links && value.links.related;\n  }\n  /**\n    This is the baseClass for the different References\n    like RecordReference/HasManyReference/BelongsToReference\n\n   @class Reference\n   */\n\n\n  var Reference =\n  /*#__PURE__*/\n  function () {\n    function Reference(store, internalModel) {\n      this.store = store;\n      this.internalModel = internalModel;\n      this.recordData = void 0;\n      this.recordData = recordDataFor(this);\n    }\n\n    var _proto = Reference.prototype;\n\n    _proto._resource = function _resource() {}\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 Model.extend({\n       comments: hasMany({ async: true })\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     @return {String} The name of the remote type. This should either be \"link\" or \"ids\"\n     */\n    ;\n\n    _proto.remoteType = function remoteType() {\n      var value = this._resource();\n\n      if (isResourceIdentiferWithRelatedLinks(value)) {\n        return 'link';\n      }\n\n      return 'id';\n    }\n    /**\n     The link Ember Data will use to fetch or reload this belongs-to\n     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({ async: true })\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     @return {String} The link Ember Data will use to fetch or reload this belongs-to relationship.\n     */\n    ;\n\n    _proto.link = function link() {\n      var link = null;\n\n      var resource = this._resource();\n\n      if (isResourceIdentiferWithRelatedLinks(resource)) {\n        if (resource.links) {\n          link = resource.links.related;\n        }\n      }\n\n      return link;\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({ async: true })\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                  meta: {\n                    lastUpdated: 1458014400000\n                  }\n                }\n              }\n            }\n          }\n        }\n      });\n      let userRef = blog.belongsTo('user');\n      userRef.meta() // { lastUpdated: 1458014400000 }\n     ```\n      @method meta\n     @return {Object} The meta information for the belongs-to relationship.\n     */\n    ;\n\n    _proto.meta = function meta() {\n      var meta = null;\n\n      var resource = this._resource();\n\n      if (resource && resource.meta && typeof resource.meta === 'object') {\n        meta = resource.meta;\n      }\n\n      return meta;\n    };\n\n    return Reference;\n  }();\n\n  function _inheritsLoose$1(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n  /**\n     An RecordReference is a low-level API that allows users and\n     addon author to perform meta-operations on a record.\n\n     @class RecordReference\n  */\n\n  var RecordReference =\n  /*#__PURE__*/\n  function (_Reference) {\n    _inheritsLoose$1(RecordReference, _Reference);\n\n    function RecordReference() {\n      var _this;\n\n      for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n\n      _this = _Reference.call.apply(_Reference, [this].concat(args)) || this;\n      _this.type = _this.internalModel.modelName;\n      _this._id = _this.internalModel.id;\n      return _this;\n    }\n\n    var _proto = RecordReference.prototype;\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       @return {String} The id of the record.\n    */\n    _proto.id = function id() {\n      return this._id;\n    }\n    /**\n       How the reference will be looked up when it is loaded: Currently\n       this always return `identity` to signifying that a record will be\n       loaded by the `type` and `id`.\n        Example\n        ```javascript\n       const userRef = store.getReference('user', 1);\n        userRef.remoteType(); // 'identity'\n       ```\n        @method remoteType\n       @return {String} 'identity'\n    */\n    ;\n\n    _proto.remoteType = function remoteType() {\n      return 'identity';\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      @param objectOrPromise {Promise|Object}\n      @return RSVP.Promise<record> a promise for the value (record or relationship)\n    */\n    ;\n\n    _proto.push = function push(objectOrPromise) {\n      var _this2 = this;\n\n      return Ember.RSVP.resolve(objectOrPromise).then(function (data) {\n        return _this2.store.push(data);\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       @return {Model} the record for this RecordReference\n    */\n    ;\n\n    _proto.value = function value() {\n      if (this.internalModel.hasRecord) {\n        return this.internalModel.getRecord();\n      }\n\n      return null;\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       @return {Promise<record>} the record for this RecordReference\n    */\n    ;\n\n    _proto.load = function load() {\n      return this.store.findRecord(this.type, this._id);\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       @return {Promise<record>} the record for this RecordReference\n    */\n    ;\n\n    _proto.reload = function reload() {\n      var record = this.value();\n\n      if (record) {\n        return record.reload();\n      }\n\n      return this.load();\n    };\n\n    return RecordReference;\n  }(Reference);\n\n  function _inheritsLoose$2(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n  /**\n   A BelongsToReference is a low-level API that allows users and\n   addon author to perform meta-operations on a belongs-to\n   relationship.\n\n   @class BelongsToReference\n   @extends Reference\n   */\n\n  var BelongsToReference =\n  /*#__PURE__*/\n  function (_Reference) {\n    _inheritsLoose$2(BelongsToReference, _Reference);\n\n    function BelongsToReference(store, parentInternalModel, belongsToRelationship, key) {\n      var _this;\n\n      _this = _Reference.call(this, store, parentInternalModel) || this;\n      _this.key = key;\n      _this.belongsToRelationship = belongsToRelationship;\n      _this.type = belongsToRelationship.relationshipMeta.type;\n      _this.parent = parentInternalModel.recordReference;\n      _this.parentInternalModel = parentInternalModel; // TODO inverse\n\n      return _this;\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.get('relationship.id')`.\n      Example\n      ```javascript\n     // models/blog.js\n     export default Model.extend({\n        user: belongsTo({ async: true })\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     @return {String} The id of the record in this belongsTo relationship.\n     */\n\n\n    var _proto = BelongsToReference.prototype;\n\n    _proto.id = function id() {\n      var id = null;\n\n      var resource = this._resource();\n\n      if (resource && resource.data && resource.data.id) {\n        id = resource.data.id;\n      }\n\n      return id;\n    };\n\n    _proto._resource = function _resource() {\n      return this.recordData.getBelongsTo(this.key);\n    }\n    /**\n     `push` can be used to update the data in the relationship and Ember\n     Data will treat the new data as the conanical value of this\n     relationship on the backend.\n      Example\n      ```app/models/blog.js\n     import Model, { belongsTo } from '@ember-data/model';\n      export default Model.extend({\n        user: belongsTo({ async: true })\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      // 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 push\n     @param {Object|Promise} objectOrPromise a promise that resolves to a JSONAPI document object describing the new value of this relationship.\n     @return {Promise<record>} A promise that resolves with the new value in this belongs-to relationship.\n     */\n    ;\n\n    _proto.push = function push(objectOrPromise) {\n      var _this2 = this;\n\n      return Ember.RSVP.resolve(objectOrPromise).then(function (data) {\n        var record; // TODO deprecate data as Model\n\n        if (data instanceof Model) {\n          record = data;\n        } else {\n          record = _this2.store.push(data);\n        }\n\n        Debug.assertPolymorphicType(_this2.internalModel, _this2.belongsToRelationship.relationshipMeta, record._internalModel, _this2.store); //TODO Igor cleanup, maybe move to relationship push\n\n        _this2.belongsToRelationship.setCanonicalRecordData(recordDataFor(record));\n\n        return record;\n      });\n    }\n    /**\n     `value()` synchronously returns the current value of the belongs-to\n     relationship. Unlike `record.get('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 Model.extend({\n        user: belongsTo({ async: true })\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     @return {Model} the record in this relationship\n     */\n    ;\n\n    _proto.value = function value() {\n      var store = this.parentInternalModel.store;\n\n      var resource = this._resource();\n\n      if (resource && resource.data) {\n        var inverseInternalModel = store._internalModelForResource(resource.data);\n\n        if (inverseInternalModel && inverseInternalModel.isLoaded()) {\n          return inverseInternalModel.getRecord();\n        }\n      }\n\n      return null;\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 Model.extend({\n        user: belongsTo({ async: true })\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     export default ApplicationAdapter.extend({\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     @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    ;\n\n    _proto.load = function load(options) {\n      return this.parentInternalModel.getBelongsTo(this.key, options);\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 Model.extend({\n        user: belongsTo({ async: true })\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     @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    // TODO IGOR CHECK FOR OBJECT PROXIES\n    ;\n\n    _proto.reload = function reload(options) {\n      var resource = this._resource();\n\n      if (resource && resource.links && resource.links.related) {\n        return this.store._fetchBelongsToLinkFromResource(resource, this.parentInternalModel, this.belongsToRelationship.relationshipMeta, options);\n      }\n\n      if (resource && resource.data) {\n        if (resource.data && (resource.data.id || resource.data.clientId)) {\n          var internalModel = this.store._internalModelForResource(resource.data);\n\n          if (internalModel.isLoaded()) {\n            return internalModel.reload(options).then(function (internalModel) {\n              if (internalModel) {\n                return internalModel.getRecord();\n              }\n\n              return null;\n            });\n          } else {\n            return this.store._findByInternalModel(internalModel, options);\n          }\n        }\n      }\n    };\n\n    return BelongsToReference;\n  }(Reference);\n\n  function _inheritsLoose$3(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n  /**\n   A HasManyReference is a low-level API that allows users and addon\n   author to perform meta-operations on a has-many relationship.\n\n   @class HasManyReference\n   */\n\n  var HasManyReference =\n  /*#__PURE__*/\n  function (_Reference) {\n    _inheritsLoose$3(HasManyReference, _Reference);\n\n    function HasManyReference(store, parentInternalModel, hasManyRelationship, key) {\n      var _this;\n\n      _this = _Reference.call(this, store, parentInternalModel) || this;\n      _this.key = key;\n      _this.hasManyRelationship = hasManyRelationship;\n      _this.type = hasManyRelationship.relationshipMeta.type;\n      _this.parent = parentInternalModel.recordReference;\n      _this.parentInternalModel = parentInternalModel; // TODO inverse\n\n      return _this;\n    }\n\n    var _proto = HasManyReference.prototype;\n\n    _proto._resource = function _resource() {\n      return this.recordData.getHasMany(this.key);\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 Model.extend({\n       comments: hasMany({ async: true })\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     @return {String} The name of the remote type. This should either be `link` or `ids`\n     */\n    ;\n\n    _proto.remoteType = function remoteType() {\n      var value = this._resource();\n\n      if (value && value.links && value.links.related) {\n        return 'link';\n      }\n\n      return 'ids';\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 Model.extend({\n       comments: hasMany({ async: true })\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     @return {Array} The ids in this has-many relationship\n     */\n    ;\n\n    _proto.ids = function ids() {\n      var resource = this._resource();\n\n      var ids = [];\n\n      if (resource.data) {\n        ids = resource.data.map(function (data) {\n          return data.id;\n        });\n      }\n\n      return ids;\n    }\n    /**\n     `push` can be used to update the data in the relationship and Ember\n     Data will treat the new data as the canonical value of this\n     relationship on the backend.\n      Example\n      ```app/models/post.js\n     import Model, { hasMany } from '@ember-data/model';\n     export default Model.extend({\n       comments: hasMany({ async: true })\n     });\n     ```\n      ```\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      commentsRef.push([\n     [{ type: 'comment', id: 2 }],\n     [{ type: 'comment', id: 3 }],\n     ])\n      commentsRef.ids(); // ['2', '3']\n     ```\n      @method push\n     @param {Array|Promise} objectOrPromise a promise that resolves to a JSONAPI document object describing the new value of this relationship.\n     @return {ManyArray}\n     */\n    ;\n\n    _proto.push = function push(objectOrPromise) {\n      var _this2 = this;\n\n      return Ember.RSVP.resolve(objectOrPromise).then(function (payload) {\n        var array = payload;\n\n        if (typeof payload === 'object' && payload.data) {\n          array = payload.data;\n        }\n\n        var internalModels = array.map(function (obj) {\n          var record = _this2.store.push(obj);\n\n          {\n            var relationshipMeta = _this2.hasManyRelationship.relationshipMeta;\n            Debug.assertPolymorphicType(_this2.internalModel, relationshipMeta, record._internalModel, _this2.store);\n          }\n\n          return recordDataFor(record);\n        });\n\n        _this2.hasManyRelationship.computeChanges(internalModels);\n\n        return _this2.internalModel.getHasMany(_this2.hasManyRelationship.key); // TODO IGOR it seems wrong that we were returning the many array here\n        //return this.hasManyRelationship.manyArray;\n      });\n    };\n\n    _proto._isLoaded = function _isLoaded() {\n      var _this3 = this;\n\n      var hasRelationshipDataProperty = Ember.get(this.hasManyRelationship, 'hasAnyRelationshipData');\n\n      if (!hasRelationshipDataProperty) {\n        return false;\n      }\n\n      var members = this.hasManyRelationship.members.toArray(); //TODO Igor cleanup\n\n      return members.every(function (recordData) {\n        var store = _this3.parentInternalModel.store;\n\n        var internalModel = store._internalModelForRecordData(recordData);\n\n        return internalModel.isLoaded() === true;\n      });\n    }\n    /**\n     `value()` synchronously returns the current value of the has-many\n     relationship. Unlike `record.get('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 Model.extend({\n       comments: hasMany({ async: true })\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.get('comments').then(function(comments) {\n       commentsRef.value() === comments\n     })\n     ```\n      @method value\n     @return {ManyArray}\n     */\n    ;\n\n    _proto.value = function value() {\n      if (this._isLoaded()) {\n        return this.internalModel.getManyArray(this.key);\n      }\n\n      return null;\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 Model.extend({\n       comments: hasMany({ async: true })\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     @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    ;\n\n    _proto.load = function load(options) {\n      return this.internalModel.getHasMany(this.key, options);\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 Model.extend({\n       comments: hasMany({ async: true })\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     @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    ;\n\n    _proto.reload = function reload(options) {\n      return this.internalModel.reloadHasMany(this.key, options);\n    };\n\n    return HasManyReference;\n  }(Reference);\n\n  function _defineProperties$2(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\n  function _createClass$2(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$2(Constructor.prototype, protoProps); if (staticProps) _defineProperties$2(Constructor, staticProps); return Constructor; }\n\n  /*\n    The TransitionChainMap caches the `state.enters`, `state.setups`, and final state reached\n    when transitioning from one state to another, so that future transitions can replay the\n    transition without needing to walk the state tree, collect these hook calls and determine\n     the state to transition into.\n\n     A future optimization would be to build a single chained method out of the collected enters\n     and setups. It may also be faster to do a two level cache (from: { to }) instead of caching based\n     on a key that adds the two together.\n   */\n  var TransitionChainMap = Object.create(null);\n\n  var _extractPivotNameCache = Object.create(null);\n\n  var _splitOnDotCache = Object.create(null);\n\n  function splitOnDot(name) {\n    return _splitOnDotCache[name] || (_splitOnDotCache[name] = name.split('.'));\n  }\n\n  function extractPivotName(name) {\n    return _extractPivotNameCache[name] || (_extractPivotNameCache[name] = splitOnDot(name)[0]);\n  }\n\n  var InternalModelReferenceId = 1;\n  /*\n    `InternalModel` is the Model class that we use internally inside Ember Data to represent models.\n    Internal ED methods should only deal with `InternalModel` objects. It is a fast, plain Javascript class.\n\n    We expose `Model` to application code, by materializing a `Model` from `InternalModel` lazily, as\n    a performance optimization.\n\n    `InternalModel` should never be exposed to application code. At the boundaries of the system, in places\n    like `find`, `push`, etc. we convert between Models and InternalModels.\n\n    We need to make sure that the properties from `InternalModel` are correctly exposed/proxied on `Model`\n    if they are needed.\n\n    @private\n    @class InternalModel\n  */\n\n  var InternalModel =\n  /*#__PURE__*/\n  function () {\n    // Not typed yet\n    function InternalModel(modelName, id, store, data, clientId) {\n      this.id = void 0;\n      this.store = void 0;\n      this.modelName = void 0;\n      this.clientId = void 0;\n      this.__recordData = void 0;\n      this._isDestroyed = void 0;\n      this.isError = void 0;\n      this._pendingRecordArrayManagerFlush = void 0;\n      this._isDematerializing = void 0;\n      this.isReloading = void 0;\n      this._doNotDestroy = void 0;\n      this.isDestroying = void 0;\n      this._promiseProxy = void 0;\n      this._record = void 0;\n      this._scheduledDestroy = void 0;\n      this._modelClass = void 0;\n      this.__deferredTriggers = void 0;\n      this.__recordArrays = void 0;\n      this._references = void 0;\n      this._recordReference = void 0;\n      this._manyArrayCache = void 0;\n      this._retainedManyArrayCache = void 0;\n      this._relationshipPromisesCache = void 0;\n      this.currentState = void 0;\n      this.error = void 0;\n      this.id = id;\n      this.store = store;\n      this.modelName = modelName;\n      this.clientId = clientId;\n      this.__recordData = null; // this ensure ordered set can quickly identify this as unique\n\n      this[Ember.GUID_KEY] = InternalModelReferenceId++ + 'internal-model';\n      this._promiseProxy = null;\n      this._record = null;\n      this._isDestroyed = false;\n      this.isError = false;\n      this._pendingRecordArrayManagerFlush = false; // used by the recordArrayManager\n      // During dematerialization we don't want to rematerialize the record.  The\n      // reason this might happen is that dematerialization removes records from\n      // record arrays,  and Ember arrays will always `objectAt(0)` and\n      // `objectAt(len - 1)` to test whether or not `firstObject` or `lastObject`\n      // have changed.\n\n      this._isDematerializing = false;\n      this._scheduledDestroy = null;\n      this.resetRecord(); // caches for lazy getters\n\n      this._modelClass = null;\n      this.__deferredTriggers = null;\n      this.__recordArrays = null;\n      this._references = null;\n      this._recordReference = null;\n      this._manyArrayCache = Object.create(null); // The previous ManyArrays for this relationship which will be destroyed when\n      // we create a new ManyArray, but in the interim the retained version will be\n      // updated if inverse internal models are unloaded.\n\n      this._retainedManyArrayCache = Object.create(null);\n      this._relationshipPromisesCache = Object.create(null);\n    }\n\n    var _proto = InternalModel.prototype;\n\n    _proto.isHiddenFromRecordArrays = function isHiddenFromRecordArrays() {\n      // During dematerialization we don't want to rematerialize the record.\n      // recordWasDeleted can cause other records to rematerialize because it\n      // removes the internal model from the array and Ember arrays will always\n      // `objectAt(0)` and `objectAt(len -1)` to check whether `firstObject` or\n      // `lastObject` have changed.  When this happens we don't want those\n      // models to rematerialize their records.\n      return this._isDematerializing || this.hasScheduledDestroy() || this.isDestroyed || this.currentState.stateName === 'root.deleted.saved' || this.isEmpty();\n    };\n\n    _proto.isRecordInUse = function isRecordInUse() {\n      var record = this._record;\n      return record && !(record.get('isDestroyed') || record.get('isDestroying'));\n    };\n\n    _proto.isEmpty = function isEmpty() {\n      return this.currentState.isEmpty;\n    };\n\n    _proto.isLoading = function isLoading() {\n      return this.currentState.isLoading;\n    };\n\n    _proto.isLoaded = function isLoaded() {\n      return this.currentState.isLoaded;\n    };\n\n    _proto.hasDirtyAttributes = function hasDirtyAttributes() {\n      return this.currentState.hasDirtyAttributes;\n    };\n\n    _proto.isSaving = function isSaving() {\n      return this.currentState.isSaving;\n    };\n\n    _proto.isDeleted = function isDeleted() {\n      return this.currentState.isDeleted;\n    };\n\n    _proto.isNew = function isNew() {\n      return this.currentState.isNew;\n    };\n\n    _proto.isValid = function isValid() {\n      return this.currentState.isValid;\n    };\n\n    _proto.dirtyType = function dirtyType() {\n      return this.currentState.dirtyType;\n    };\n\n    _proto.getRecord = function getRecord(properties) {\n      if (!this._record && !this._isDematerializing) {\n        var store = this.store; // lookupFactory should really return an object that creates\n        // instances with the injections applied\n\n        var createOptions = {\n          store: store,\n          _internalModel: this,\n          currentState: this.currentState,\n          isError: this.isError,\n          adapterError: this.error\n        };\n\n        if (properties !== undefined) {\n          ( !(typeof properties === 'object' && properties !== null) && Ember.assert(\"You passed '\" + properties + \"' as properties for record creation instead of an object.\", typeof properties === 'object' && properties !== null));\n\n          if ('id' in properties) {\n            this.setId(properties.id);\n          } // convert relationship Records to RecordDatas before passing to RecordData\n\n\n          var defs = store._relationshipsDefinitionFor(this.modelName);\n\n          if (defs !== null) {\n            var keys = Object.keys(properties);\n            var relationshipValue;\n\n            for (var i = 0; i < keys.length; i++) {\n              var prop = keys[i];\n              var def = defs[prop];\n\n              if (def !== undefined) {\n                if (def.kind === 'hasMany') {\n                  {\n                    assertRecordsPassedToHasMany(properties[prop]);\n                  }\n\n                  relationshipValue = extractRecordDatasFromRecords(properties[prop]);\n                } else {\n                  relationshipValue = extractRecordDataFromRecord(properties[prop]);\n                }\n\n                properties[prop] = relationshipValue;\n              }\n            }\n          }\n        }\n\n        var additionalCreateOptions = this._recordData._initRecordCreateOptions(properties);\n\n        Ember.assign(createOptions, additionalCreateOptions);\n\n        if (Ember.setOwner) {\n          // ensure that `getOwner(this)` works inside a model instance\n          Ember.setOwner(createOptions, Ember.getOwner(store));\n        } else {\n          createOptions.container = store.container;\n        }\n\n        this._record = store._modelFactoryFor(this.modelName).create(createOptions);\n\n        this._triggerDeferredTriggers();\n      }\n\n      return this._record;\n    };\n\n    _proto.resetRecord = function resetRecord() {\n      this._record = null;\n      this.isReloading = false;\n      this.error = null;\n      this.currentState = RootState$1.empty;\n    };\n\n    _proto.dematerializeRecord = function dematerializeRecord() {\n      var _this = this;\n\n      this._isDematerializing = true; // TODO IGOR add a test that fails when this is missing, something that involves canceliing a destroy\n      // and the destroy not happening, and then later on trying to destroy\n\n      this._doNotDestroy = false;\n\n      if (this._record) {\n        this._record.destroy();\n\n        Object.keys(this._relationshipPromisesCache).forEach(function (key) {\n          // TODO Igor cleanup the guard\n          if (_this._relationshipPromisesCache[key].destroy) {\n            _this._relationshipPromisesCache[key].destroy();\n          }\n\n          delete _this._relationshipPromisesCache[key];\n        });\n        Object.keys(this._manyArrayCache).forEach(function (key) {\n          var manyArray = _this._retainedManyArrayCache[key] = _this._manyArrayCache[key];\n          delete _this._manyArrayCache[key];\n\n          if (manyArray && !manyArray._inverseIsAsync) {\n            /*\n              If the manyArray is for a sync relationship, we should clear it\n                to preserve the semantics of client-side delete.\n               It is likely in this case instead of retaining we should destroy\n                - @runspired\n            */\n            manyArray.clear();\n          }\n        });\n      } // move to an empty never-loaded state\n\n\n      this._recordData.unloadRecord();\n\n      this.resetRecord();\n      this.updateRecordArrays();\n    };\n\n    _proto.deleteRecord = function deleteRecord() {\n      this.send('deleteRecord');\n    };\n\n    _proto.save = function save(options) {\n      var promiseLabel = 'DS: Model#save ' + this;\n      var resolver = Ember.RSVP.defer(promiseLabel);\n      this.store.scheduleSave(this, resolver, options);\n      return resolver.promise;\n    };\n\n    _proto.startedReloading = function startedReloading() {\n      this.isReloading = true;\n\n      if (this.hasRecord) {\n        Ember.set(this._record, 'isReloading', true);\n      }\n    };\n\n    _proto.linkWasLoadedForRelationship = function linkWasLoadedForRelationship(key, data) {\n      var relationships = {};\n      relationships[key] = data;\n\n      this._recordData.pushData({\n        id: this.id,\n        type: this.modelName,\n        relationships: relationships\n      });\n    };\n\n    _proto.finishedReloading = function finishedReloading() {\n      this.isReloading = false;\n\n      if (this.hasRecord) {\n        Ember.set(this._record, 'isReloading', false);\n      }\n    };\n\n    _proto.reload = function reload(options) {\n      this.startedReloading();\n      var internalModel = this;\n      var promiseLabel = 'DS: Model#reload of ' + this;\n      return new Ember.RSVP.Promise(function (resolve) {\n        internalModel.send('reloadRecord', {\n          resolve: resolve,\n          options: options\n        });\n      }, promiseLabel).then(function () {\n        internalModel.didCleanError();\n        return internalModel;\n      }, function (error) {\n        internalModel.didError(error);\n        throw error;\n      }, 'DS: Model#reload complete, update flags').finally(function () {\n        internalModel.finishedReloading();\n        internalModel.updateRecordArrays();\n      });\n    }\n    /*\n      Unload the record for this internal model. This will cause the record to be\n      destroyed and freed up for garbage collection. It will also do a check\n      for cleaning up internal models.\n       This check is performed by first computing the set of related internal\n      models. If all records in this set are unloaded, then the entire set is\n      destroyed. Otherwise, nothing in the set is destroyed.\n       This means that this internal model will be freed up for garbage collection\n      once all models that refer to it via some relationship are also unloaded.\n    */\n    ;\n\n    _proto.unloadRecord = function unloadRecord() {\n      if (this.isDestroyed) {\n        return;\n      }\n\n      this.send('unloadRecord');\n      this.dematerializeRecord();\n\n      if (this._scheduledDestroy === null) {\n        this._scheduledDestroy = Ember.run.backburner.schedule('destroy', this, '_checkForOrphanedInternalModels');\n      }\n    };\n\n    _proto.hasScheduledDestroy = function hasScheduledDestroy() {\n      return !!this._scheduledDestroy;\n    };\n\n    _proto.cancelDestroy = function cancelDestroy() {\n      ( !(!this.isDestroyed) && Ember.assert(\"You cannot cancel the destruction of an InternalModel once it has already been destroyed\", !this.isDestroyed));\n      this._doNotDestroy = true;\n      this._isDematerializing = false;\n      Ember.run.cancel(this._scheduledDestroy);\n      this._scheduledDestroy = null;\n    } // typically, we prefer to async destroy this lets us batch cleanup work.\n    // Unfortunately, some scenarios where that is not possible. Such as:\n    //\n    // ```js\n    // const record = store.find(‘record’, 1);\n    // record.unloadRecord();\n    // store.createRecord(‘record’, 1);\n    // ```\n    //\n    // In those scenarios, we make that model's cleanup work, sync.\n    //\n    ;\n\n    _proto.destroySync = function destroySync() {\n      if (this._isDematerializing) {\n        this.cancelDestroy();\n      }\n\n      this._checkForOrphanedInternalModels();\n\n      if (this.isDestroyed || this.isDestroying) {\n        return;\n      } // just in-case we are not one of the orphaned, we should still\n      // still destroy ourselves\n\n\n      this.destroy();\n    };\n\n    _proto._checkForOrphanedInternalModels = function _checkForOrphanedInternalModels() {\n      this._isDematerializing = false;\n      this._scheduledDestroy = null;\n\n      if (this.isDestroyed) {\n        return;\n      }\n    };\n\n    _proto.eachRelationship = function eachRelationship(callback, binding) {\n      return this.modelClass.eachRelationship(callback, binding);\n    };\n\n    _proto.getBelongsTo = function getBelongsTo(key, options) {\n      var resource = this._recordData.getBelongsTo(key);\n\n      var relationshipMeta = this.store._relationshipMetaFor(this.modelName, null, key);\n\n      var store = this.store;\n      var parentInternalModel = this;\n      var async = relationshipMeta.options.async;\n      var isAsync = typeof async === 'undefined' ? true : async;\n      var _belongsToState = {\n        key: key,\n        store: store,\n        originatingInternalModel: this,\n        modelName: relationshipMeta.type\n      };\n\n      if (isAsync) {\n        var internalModel = resource && resource.data ? store._internalModelForResource(resource.data) : null;\n        return PromiseBelongsTo.create({\n          _belongsToState: _belongsToState,\n          promise: store._findBelongsToByJsonApiResource(resource, parentInternalModel, relationshipMeta, options),\n          content: internalModel ? internalModel.getRecord() : null\n        });\n      } else {\n        if (!resource || !resource.data) {\n          return null;\n        } else {\n          var _internalModel = store._internalModelForResource(resource.data);\n\n          var toReturn = _internalModel.getRecord();\n\n          ( !(toReturn === null || !toReturn.get('isEmpty')) && Ember.assert(\"You looked up the '\" + key + \"' relationship on a '\" + parentInternalModel.modelName + \"' with id \" + parentInternalModel.id + ' 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 (`DS.belongsTo({ async: true })`)', toReturn === null || !toReturn.get('isEmpty')));\n          return toReturn;\n        }\n      }\n    } // TODO Igor consider getting rid of initial state\n    ;\n\n    _proto.getManyArray = function getManyArray(key) {\n      var relationshipMeta = this.store._relationshipMetaFor(this.modelName, null, key);\n\n      var jsonApi = this._recordData.getHasMany(key);\n\n      var manyArray = this._manyArrayCache[key];\n      ( !(!manyArray || !this._retainedManyArrayCache[key]) && Ember.assert(\"Error: relationship \" + this.modelName + \":\" + key + \" has both many array and retained many array\", !manyArray || !this._retainedManyArrayCache[key]));\n\n      if (!manyArray) {\n        var initialState = this.store._getHasManyByJsonApiResource(jsonApi); // TODO move this to a public api\n\n\n        var inverseIsAsync = jsonApi._relationship ? jsonApi._relationship._inverseIsAsync() : false;\n        manyArray = ManyArray.create({\n          store: this.store,\n          type: this.store.modelFor(relationshipMeta.type),\n          recordData: this._recordData,\n          meta: jsonApi.meta,\n          key: key,\n          isPolymorphic: relationshipMeta.options.polymorphic,\n          initialState: initialState.slice(),\n          _inverseIsAsync: inverseIsAsync,\n          internalModel: this\n        });\n        this._manyArrayCache[key] = manyArray;\n      }\n\n      if (this._retainedManyArrayCache[key]) {\n        this._retainedManyArrayCache[key].destroy();\n\n        delete this._retainedManyArrayCache[key];\n      }\n\n      return manyArray;\n    };\n\n    _proto.fetchAsyncHasMany = function fetchAsyncHasMany(relationshipMeta, jsonApi, manyArray, options) {\n      var promise = this.store._findHasManyByJsonApiResource(jsonApi, this, relationshipMeta, options);\n\n      promise = promise.then(function (initialState) {\n        // TODO why don't we do this in the store method\n        manyArray.retrieveLatest();\n        manyArray.set('isLoaded', true);\n        return manyArray;\n      });\n      return promise;\n    };\n\n    _proto.getHasMany = function getHasMany(key, options) {\n      var jsonApi = this._recordData.getHasMany(key);\n\n      var relationshipMeta = this.store._relationshipMetaFor(this.modelName, null, key);\n\n      var async = relationshipMeta.options.async;\n      var isAsync = typeof async === 'undefined' ? true : async;\n      var manyArray = this.getManyArray(key);\n\n      if (isAsync) {\n        var promiseArray = this._relationshipPromisesCache[key];\n\n        if (!promiseArray) {\n          promiseArray = PromiseManyArray.create({\n            promise: this.fetchAsyncHasMany(relationshipMeta, jsonApi, manyArray, options),\n            content: manyArray\n          });\n          this._relationshipPromisesCache[key] = promiseArray;\n        }\n\n        return promiseArray;\n      } else {\n        manyArray.set('isLoaded', true);\n        ( !(!manyArray.anyUnloaded()) && Ember.assert(\"You looked up the '\" + key + \"' relationship on a '\" + this.type.modelName + \"' with id \" + this.id + \" 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 ('DS.hasMany({ async: true })')\", !manyArray.anyUnloaded()));\n        return manyArray;\n      }\n    };\n\n    _proto._updateLoadingPromiseForHasMany = function _updateLoadingPromiseForHasMany(key, promise, content) {\n      var loadingPromise = this._relationshipPromisesCache[key];\n\n      if (loadingPromise) {\n        if (content) {\n          loadingPromise.set('content', content);\n        }\n\n        loadingPromise.set('promise', promise);\n      } else {\n        this._relationshipPromisesCache[key] = PromiseManyArray.create({\n          promise: promise,\n          content: content\n        });\n      }\n\n      return this._relationshipPromisesCache[key];\n    };\n\n    _proto.reloadHasMany = function reloadHasMany(key, options) {\n      var loadingPromise = this._relationshipPromisesCache[key];\n\n      if (loadingPromise) {\n        if (loadingPromise.get('isPending')) {\n          return loadingPromise;\n        }\n        /* TODO Igor check wtf this is about\n        if (loadingPromise.get('isRejected')) {\n          manyArray.set('isLoaded', manyArrayLoadedState);\n        }\n        */\n\n      }\n\n      var jsonApi = this._recordData.getHasMany(key); // TODO move this to a public api\n\n\n      if (jsonApi._relationship) {\n        jsonApi._relationship.setRelationshipIsStale(true);\n      }\n\n      var relationshipMeta = this.store._relationshipMetaFor(this.modelName, null, key);\n\n      var manyArray = this.getManyArray(key);\n      var promise = this.fetchAsyncHasMany(relationshipMeta, jsonApi, manyArray, options); // TODO igor Seems like this would mess with promiseArray wrapping, investigate\n\n      this._updateLoadingPromiseForHasMany(key, promise);\n\n      return promise;\n    };\n\n    _proto.reloadBelongsTo = function reloadBelongsTo(key, options) {\n      var resource = this._recordData.getBelongsTo(key); // TODO move this to a public api\n\n\n      if (resource._relationship) {\n        resource._relationship.setRelationshipIsStale(true);\n      }\n\n      var relationshipMeta = this.store._relationshipMetaFor(this.modelName, null, key);\n\n      return this.store._findBelongsToByJsonApiResource(resource, this, relationshipMeta, options);\n    };\n\n    _proto.destroyFromRecordData = function destroyFromRecordData() {\n      if (this._doNotDestroy) {\n        this._doNotDestroy = false;\n        return;\n      }\n\n      this.destroy();\n    };\n\n    _proto.destroy = function destroy() {\n      var _this2 = this;\n\n      ( !(!this._record || this._record.get('isDestroyed') || this._record.get('isDestroying')) && Ember.assert('Cannot destroy an internalModel while its record is materialized', !this._record || this._record.get('isDestroyed') || this._record.get('isDestroying')));\n      this.isDestroying = true;\n      Object.keys(this._retainedManyArrayCache).forEach(function (key) {\n        _this2._retainedManyArrayCache[key].destroy();\n\n        delete _this2._retainedManyArrayCache[key];\n      });\n\n      this.store._removeFromIdMap(this);\n\n      this._isDestroyed = true;\n    };\n\n    _proto.eachAttribute = function eachAttribute(callback, binding) {\n      return this.modelClass.eachAttribute(callback, binding);\n    };\n\n    _proto.inverseFor = function inverseFor(key) {\n      return this.modelClass.inverseFor(key);\n    };\n\n    _proto.setupData = function setupData(data) {\n      var changedKeys = this._recordData.pushData(data, this.hasRecord);\n\n      if (this.hasRecord) {\n        this._record._notifyProperties(changedKeys);\n      }\n\n      this.pushedData();\n    };\n\n    _proto.getAttributeValue = function getAttributeValue(key) {\n      return this._recordData.getAttr(key);\n    };\n\n    _proto.setDirtyHasMany = function setDirtyHasMany(key, records) {\n      assertRecordsPassedToHasMany(records);\n      return this._recordData.setDirtyHasMany(key, extractRecordDatasFromRecords(records));\n    };\n\n    _proto.setDirtyBelongsTo = function setDirtyBelongsTo(key, value) {\n      return this._recordData.setDirtyBelongsTo(key, extractRecordDataFromRecord(value));\n    };\n\n    _proto.setDirtyAttribute = function setDirtyAttribute(key, value) {\n      if (this.isDeleted()) {\n        throw new Ember.Error(\"Attempted to set '\" + key + \"' to '\" + value + \"' on the deleted record \" + this);\n      }\n\n      var currentValue = this.getAttributeValue(key);\n\n      if (currentValue !== value) {\n        this._recordData.setDirtyAttribute(key, value);\n\n        var isDirty = this._recordData.isAttrDirty(key);\n\n        this.send('didSetProperty', {\n          name: key,\n          isDirty: isDirty\n        });\n      }\n\n      return value;\n    };\n\n    /*\n      @method createSnapshot\n      @private\n    */\n    _proto.createSnapshot = function createSnapshot(options) {\n      return new Snapshot(this, options);\n    }\n    /*\n      @method loadingData\n      @private\n      @param {Promise} promise\n    */\n    ;\n\n    _proto.loadingData = function loadingData(promise) {\n      this.send('loadingData', promise);\n    }\n    /*\n      @method loadedData\n      @private\n    */\n    ;\n\n    _proto.loadedData = function loadedData() {\n      this.send('loadedData');\n    }\n    /*\n      @method notFound\n      @private\n    */\n    ;\n\n    _proto.notFound = function notFound() {\n      this.send('notFound');\n    }\n    /*\n      @method pushedData\n      @private\n    */\n    ;\n\n    _proto.pushedData = function pushedData() {\n      this.send('pushedData');\n    };\n\n    _proto.hasChangedAttributes = function hasChangedAttributes() {\n      if (this.isLoading() && !this.isReloading) {\n        // no need to instantiate _recordData in this case\n        return false;\n      }\n\n      return this._recordData.hasChangedAttributes();\n    }\n    /*\n      Returns an object, whose keys are changed properties, and value is an\n      [oldProp, newProp] array.\n       @method changedAttributes\n      @private\n    */\n    ;\n\n    _proto.changedAttributes = function changedAttributes() {\n      if (this.isLoading() && !this.isReloading) {\n        // no need to calculate changed attributes when calling `findRecord`\n        return {};\n      }\n\n      return this._recordData.changedAttributes();\n    }\n    /*\n      @method adapterWillCommit\n      @private\n    */\n    ;\n\n    _proto.adapterWillCommit = function adapterWillCommit() {\n      this._recordData.willCommit();\n\n      this.send('willCommit');\n    }\n    /*\n      @method adapterDidDirty\n      @private\n    */\n    ;\n\n    _proto.adapterDidDirty = function adapterDidDirty() {\n      this.send('becomeDirty');\n      this.updateRecordArrays();\n    }\n    /*\n      @method send\n      @private\n      @param {String} name\n      @param {Object} context\n    */\n    ;\n\n    _proto.send = function send(name, context) {\n      var currentState = this.currentState;\n\n      if (!currentState[name]) {\n        this._unhandledEvent(currentState, name, context);\n      }\n\n      return currentState[name](this, context);\n    };\n\n    _proto.manyArrayRecordAdded = function manyArrayRecordAdded(key) {\n      if (this.hasRecord) {\n        this._record.notifyHasManyAdded(key);\n      }\n    };\n\n    _proto.notifyHasManyChange = function notifyHasManyChange(key, record, idx) {\n      if (this.hasRecord) {\n        var manyArray = this._manyArrayCache[key];\n\n        if (manyArray) {\n          // TODO: this will \"resurrect\" previously unloaded records\n          // see test '1:many async unload many side'\n          //  in `tests/integration/records/unload-test.js`\n          //  probably we don't want to retrieve latest eagerly when notifyhasmany changed\n          //  but rather lazily when someone actually asks for a manyarray\n          //\n          //  that said, also not clear why we haven't moved this to retainedmanyarray so maybe that's the bit that's just not workign\n          manyArray.retrieveLatest(); // TODO Igor be rigorous about when to delete this\n          // TODO: igor check for case where we later unload again\n\n          if (this._relationshipPromisesCache[key] && manyArray.anyUnloaded()) {\n            delete this._relationshipPromisesCache[key];\n          }\n        }\n\n        this.updateRecordArrays();\n      }\n    };\n\n    _proto.notifyBelongsToChange = function notifyBelongsToChange(key, record) {\n      if (this.hasRecord) {\n        this._record.notifyBelongsToChange(key, record);\n\n        this.updateRecordArrays();\n      }\n    };\n\n    _proto.notifyPropertyChange = function notifyPropertyChange(key) {\n      if (this.hasRecord) {\n        this._record.notifyPropertyChange(key);\n\n        this.updateRecordArrays();\n      }\n\n      var manyArray = this._manyArrayCache[key] || this._retainedManyArrayCache[key];\n\n      if (manyArray) {\n        var didRemoveUnloadedModel = manyArray.removeUnloadedInternalModel();\n\n        if (this._manyArrayCache[key] && didRemoveUnloadedModel) {\n          this._retainedManyArrayCache[key] = this._manyArrayCache[key];\n          delete this._manyArrayCache[key];\n        }\n      }\n\n      if (this._relationshipPromisesCache[key]) {\n        this._relationshipPromisesCache[key].destroy();\n\n        delete this._relationshipPromisesCache[key];\n      }\n    };\n\n    _proto.didCreateRecord = function didCreateRecord() {\n      this._recordData.clientDidCreate();\n    };\n\n    _proto.rollbackAttributes = function rollbackAttributes() {\n      var dirtyKeys = this._recordData.rollbackAttributes();\n\n      if (Ember.get(this, 'isError')) {\n        this.didCleanError();\n      }\n\n      this.send('rolledBack');\n\n      if (this._record && dirtyKeys && dirtyKeys.length > 0) {\n        this._record._notifyProperties(dirtyKeys);\n      }\n    }\n    /*\n      @method transitionTo\n      @private\n      @param {String} name\n    */\n    ;\n\n    _proto.transitionTo = function transitionTo(name) {\n      // POSSIBLE TODO: Remove this code and replace with\n      // always having direct reference to state objects\n      var pivotName = extractPivotName(name);\n      var state = this.currentState;\n      var transitionMapId = state.stateName + \"->\" + name;\n\n      do {\n        if (state.exit) {\n          state.exit(this);\n        }\n\n        state = state.parentState;\n      } while (!state[pivotName]);\n\n      var setups;\n      var enters;\n      var i;\n      var l;\n      var map = TransitionChainMap[transitionMapId];\n\n      if (map) {\n        setups = map.setups;\n        enters = map.enters;\n        state = map.state;\n      } else {\n        setups = [];\n        enters = [];\n        var path = splitOnDot(name);\n\n        for (i = 0, l = path.length; i < l; i++) {\n          state = state[path[i]];\n\n          if (state.enter) {\n            enters.push(state);\n          }\n\n          if (state.setup) {\n            setups.push(state);\n          }\n        }\n\n        TransitionChainMap[transitionMapId] = {\n          setups: setups,\n          enters: enters,\n          state: state\n        };\n      }\n\n      for (i = 0, l = enters.length; i < l; i++) {\n        enters[i].enter(this);\n      }\n\n      this.currentState = state;\n\n      if (this.hasRecord) {\n        Ember.set(this._record, 'currentState', state);\n      }\n\n      for (i = 0, l = setups.length; i < l; i++) {\n        setups[i].setup(this);\n      }\n\n      this.updateRecordArrays();\n    };\n\n    _proto._unhandledEvent = function _unhandledEvent(state, name, context) {\n      var errorMessage = 'Attempted to handle event `' + name + '` ';\n      errorMessage += 'on ' + String(this) + ' while in state ';\n      errorMessage += state.stateName + '. ';\n\n      if (context !== undefined) {\n        errorMessage += 'Called with ' + Ember.inspect(context) + '.';\n      }\n\n      throw new Ember.Error(errorMessage);\n    };\n\n    _proto.triggerLater = function triggerLater() {\n      for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n\n      if (this._deferredTriggers.push(args) !== 1) {\n        return;\n      }\n\n      this.store._updateInternalModel(this);\n    };\n\n    _proto._triggerDeferredTriggers = function _triggerDeferredTriggers() {\n      //TODO: Before 1.0 we want to remove all the events that happen on the pre materialized record,\n      //but for now, we queue up all the events triggered before the record was materialized, and flush\n      //them once we have the record\n      if (!this.hasRecord) {\n        return;\n      }\n\n      var triggers = this._deferredTriggers;\n      var record = this._record;\n      var trigger = record.trigger;\n\n      for (var i = 0, l = triggers.length; i < l; i++) {\n        trigger.apply(record, triggers[i]);\n      }\n\n      triggers.length = 0;\n    };\n\n    _proto.removeFromInverseRelationships = function removeFromInverseRelationships(isNew) {\n      if (isNew === void 0) {\n        isNew = false;\n      }\n\n      this._recordData.removeFromInverseRelationships(isNew);\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       Preloaded data can be attributes and relationships passed in either as IDs or as actual\n      models.\n       @method preloadData\n      @private\n      @param {Object} preload\n    */\n    ;\n\n    _proto.preloadData = function preloadData(preload) {\n      var _this3 = this;\n\n      var jsonPayload = {}; //TODO(Igor) consider the polymorphic case\n\n      Object.keys(preload).forEach(function (key) {\n        var preloadValue = Ember.get(preload, key);\n\n        var relationshipMeta = _this3.modelClass.metaForProperty(key);\n\n        if (relationshipMeta.isRelationship) {\n          if (!jsonPayload.relationships) {\n            jsonPayload.relationships = {};\n          }\n\n          jsonPayload.relationships[key] = _this3._preloadRelationship(key, preloadValue);\n        } else {\n          if (!jsonPayload.attributes) {\n            jsonPayload.attributes = {};\n          }\n\n          jsonPayload.attributes[key] = preloadValue;\n        }\n      });\n\n      this._recordData.pushData(jsonPayload);\n    };\n\n    _proto._preloadRelationship = function _preloadRelationship(key, preloadValue) {\n      var _this4 = this;\n\n      var relationshipMeta = this.modelClass.metaForProperty(key);\n      var modelClass = relationshipMeta.type;\n      var data;\n\n      if (relationshipMeta.kind === 'hasMany') {\n        ( !(Array.isArray(preloadValue)) && Ember.assert('You need to pass in an array to set a hasMany property on a record', Array.isArray(preloadValue)));\n        data = preloadValue.map(function (value) {\n          return _this4._convertPreloadRelationshipToJSON(value, modelClass);\n        });\n      } else {\n        data = this._convertPreloadRelationshipToJSON(preloadValue, modelClass);\n      }\n\n      return {\n        data: data\n      };\n    };\n\n    _proto._convertPreloadRelationshipToJSON = function _convertPreloadRelationshipToJSON(value, modelClass) {\n      if (typeof value === 'string' || typeof value === 'number') {\n        return {\n          type: modelClass,\n          id: value\n        };\n      }\n\n      var internalModel;\n\n      if (value._internalModel) {\n        internalModel = value._internalModel;\n      } else {\n        internalModel = value;\n      } // TODO IGOR DAVID assert if no id is present\n\n\n      return {\n        type: internalModel.modelName,\n        id: internalModel.id\n      };\n    }\n    /*\n      Used to notify the store to update FilteredRecordArray membership.\n       @method updateRecordArrays\n      @private\n    */\n    ;\n\n    _proto.updateRecordArrays = function updateRecordArrays() {\n      this.store.recordArrayManager.recordDidChange(this);\n    };\n\n    _proto.setId = function setId(id) {\n      ( !(this.id === null || this.id === id || this.isNew()) && Ember.assert(\"A record's id cannot be changed once it is in the loaded state\", this.id === null || this.id === id || this.isNew()));\n      var didChange = id !== this.id;\n      this.id = id;\n\n      if (didChange && id !== null) {\n        this.store._setRecordId(this, id, this.clientId);\n      }\n\n      if (didChange && this.hasRecord) {\n        this._record.notifyPropertyChange('id');\n      }\n    };\n\n    _proto.didError = function didError(error) {\n      this.error = error;\n      this.isError = true;\n\n      if (this.hasRecord) {\n        this._record.setProperties({\n          isError: true,\n          adapterError: error\n        });\n      }\n    };\n\n    _proto.didCleanError = function didCleanError() {\n      this.error = null;\n      this.isError = false;\n\n      if (this.hasRecord) {\n        this._record.setProperties({\n          isError: false,\n          adapterError: null\n        });\n      }\n    }\n    /*\n      If the adapter did not return a hash in response to a commit,\n      merge the changed attributes and relationships into the existing\n      saved data.\n       @method adapterDidCommit\n    */\n    ;\n\n    _proto.adapterDidCommit = function adapterDidCommit(data) {\n      this.didCleanError();\n\n      var changedKeys = this._recordData.didCommit(data);\n\n      this.send('didCommit');\n      this.updateRecordArrays();\n\n      if (!data) {\n        return;\n      }\n\n      this._record._notifyProperties(changedKeys);\n    };\n\n    _proto.addErrorMessageToAttribute = function addErrorMessageToAttribute(attribute, message) {\n      Ember.get(this.getRecord(), 'errors')._add(attribute, message);\n    };\n\n    _proto.removeErrorMessageFromAttribute = function removeErrorMessageFromAttribute(attribute) {\n      Ember.get(this.getRecord(), 'errors')._remove(attribute);\n    };\n\n    _proto.clearErrorMessages = function clearErrorMessages() {\n      Ember.get(this.getRecord(), 'errors')._clear();\n    };\n\n    _proto.hasErrors = function hasErrors() {\n      var errors = Ember.get(this.getRecord(), 'errors');\n      return errors.get('length') > 0;\n    } // FOR USE DURING COMMIT PROCESS\n\n    /*\n      @method adapterDidInvalidate\n      @private\n    */\n    ;\n\n    _proto.adapterDidInvalidate = function adapterDidInvalidate(errors) {\n      var attribute;\n\n      for (attribute in errors) {\n        if (errors.hasOwnProperty(attribute)) {\n          this.addErrorMessageToAttribute(attribute, errors[attribute]);\n        }\n      }\n\n      this.send('becameInvalid');\n\n      this._recordData.commitWasRejected();\n    }\n    /*\n      @method adapterDidError\n      @private\n    */\n    ;\n\n    _proto.adapterDidError = function adapterDidError(error) {\n      this.send('becameError');\n      this.didError(error);\n\n      this._recordData.commitWasRejected();\n    };\n\n    _proto.toString = function toString() {\n      return \"<\" + this.modelName + \":\" + this.id + \">\";\n    };\n\n    _proto.referenceFor = function referenceFor(kind, name) {\n      var reference = this.references[name];\n\n      if (!reference) {\n        // TODO IGOR AND DAVID REFACTOR\n        var relationship = relationshipStateFor(this, name);\n\n        {\n          var modelName = this.modelName;\n          ( !(relationship) && Ember.assert(\"There is no \" + kind + \" relationship named '\" + name + \"' on a model of modelClass '\" + modelName + \"'\", relationship));\n          var actualRelationshipKind = relationship.relationshipMeta.kind;\n          ( !(actualRelationshipKind === kind) && Ember.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        if (kind === 'belongsTo') {\n          reference = new BelongsToReference(this.store, this, relationship, name);\n        } else if (kind === 'hasMany') {\n          reference = new HasManyReference(this.store, this, relationship, name);\n        }\n\n        this.references[name] = reference;\n      }\n\n      return reference;\n    };\n\n    _createClass$2(InternalModel, [{\n      key: \"modelClass\",\n      get: function get() {\n        return this._modelClass || (this._modelClass = this.store.modelFor(this.modelName));\n      }\n    }, {\n      key: \"type\",\n      get: function get() {\n        return this.modelClass;\n      }\n    }, {\n      key: \"recordReference\",\n      get: function get() {\n        if (this._recordReference === null) {\n          this._recordReference = new RecordReference(this.store, this);\n        }\n\n        return this._recordReference;\n      }\n    }, {\n      key: \"_recordData\",\n      get: function get() {\n        if (this.__recordData === null) {\n          var recordData = this.store._createRecordData(this.modelName, this.id, this.clientId, this);\n\n          this._recordData = recordData;\n          return recordData;\n        }\n\n        return this.__recordData;\n      },\n      set: function set(newValue) {\n        this.__recordData = newValue;\n      }\n    }, {\n      key: \"_recordArrays\",\n      get: function get() {\n        if (this.__recordArrays === null) {\n          this.__recordArrays = new EmberDataOrderedSet();\n        }\n\n        return this.__recordArrays;\n      }\n    }, {\n      key: \"references\",\n      get: function get() {\n        if (this._references === null) {\n          this._references = Object.create(null);\n        }\n\n        return this._references;\n      }\n    }, {\n      key: \"_deferredTriggers\",\n      get: function get() {\n        if (this.__deferredTriggers === null) {\n          this.__deferredTriggers = [];\n        }\n\n        return this.__deferredTriggers;\n      }\n    }, {\n      key: \"isDestroyed\",\n      get: function get() {\n        return this._isDestroyed;\n      }\n    }, {\n      key: \"hasRecord\",\n      get: function get() {\n        return !!this._record;\n      }\n    }]);\n\n    return InternalModel;\n  }();\n\n  function assertRecordsPassedToHasMany(records) {\n    // TODO only allow native arrays\n    ( !(Array.isArray(records) || Ember.Array.detect(records)) && Ember.assert(\"You must pass an array of records to set a hasMany relationship\", Array.isArray(records) || Ember.Array.detect(records)));\n    ( !(function () {\n      return Ember.A(records).every(function (record) {\n        return record.hasOwnProperty('_internalModel') === true;\n      });\n    }()) && Ember.assert(\"All elements of a hasMany relationship must be instances of Model, you passed \" + Ember.inspect(records), function () {\n      return Ember.A(records).every(function (record) {\n        return record.hasOwnProperty('_internalModel') === true;\n      });\n    }()));\n  }\n\n  function extractRecordDatasFromRecords(records) {\n    return records.map(extractRecordDataFromRecord);\n  }\n\n  function extractRecordDataFromRecord(recordOrPromiseRecord) {\n    if (!recordOrPromiseRecord) {\n      return null;\n    }\n\n    if (recordOrPromiseRecord.then) {\n      var content = recordOrPromiseRecord.get && recordOrPromiseRecord.get('content');\n      ( !(content !== undefined) && Ember.assert('You passed in a promise that did not originate from an EmberData relationship. You can only pass promises that come from a belongsTo or hasMany relationship to the get call.', content !== undefined));\n      return content ? recordDataFor(content) : null;\n    }\n\n    return recordDataFor(recordOrPromiseRecord);\n  }\n\n  var changeProperties = Ember.changeProperties;\n  /**\n    @module ember-data\n  */\n\n  function findPossibleInverses(type, inverseType, name, relationshipsSoFar) {\n    var possibleRelationships = relationshipsSoFar || [];\n    var relationshipMap = Ember.get(inverseType, 'relationships');\n\n    if (!relationshipMap) {\n      return possibleRelationships;\n    }\n\n    var relationshipsForType = relationshipMap.get(type.modelName);\n    var relationships = Array.isArray(relationshipsForType) ? relationshipsForType.filter(function (relationship) {\n      var optionsForRelationship = inverseType.metaForProperty(relationship.name).options;\n\n      if (!optionsForRelationship.inverse && optionsForRelationship.inverse !== null) {\n        return true;\n      }\n\n      return name === optionsForRelationship.inverse;\n    }) : null;\n\n    if (relationships) {\n      possibleRelationships.push.apply(possibleRelationships, relationships);\n    } //Recurse to support polymorphism\n\n\n    if (type.superclass) {\n      findPossibleInverses(type.superclass, inverseType, name, possibleRelationships);\n    }\n\n    return possibleRelationships;\n  }\n\n  var retrieveFromCurrentState = Ember.computed('currentState', function (key) {\n    return Ember.get(this._internalModel.currentState, key);\n  }).readOnly();\n  /**\n\n    The model class that all Ember Data records descend from.\n    This is the public API of Ember Data models. If you are using Ember Data\n    in your application, this is the class you should use.\n\n    @class Model\n    @extends EmberObject\n    @uses Ember.Evented\n  */\n\n  var Model = Ember.Object.extend(Ember.Evented, {\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      @type {Boolean}\n      @readOnly\n    */\n    isEmpty: retrieveFromCurrentState,\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      @type {Boolean}\n      @readOnly\n    */\n    isLoading: retrieveFromCurrentState,\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.get('isLoaded'); // true\n       store.findRecord('model', 1).then(function(model) {\n        model.get('isLoaded'); // true\n      });\n      ```\n       @property isLoaded\n      @type {Boolean}\n      @readOnly\n    */\n    isLoaded: retrieveFromCurrentState,\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.get('hasDirtyAttributes'); // true\n       store.findRecord('model', 1).then(function(model) {\n        model.get('hasDirtyAttributes'); // false\n        model.set('foo', 'some value');\n        model.get('hasDirtyAttributes'); // true\n      });\n      ```\n       @since 1.13.0\n      @property hasDirtyAttributes\n      @type {Boolean}\n      @readOnly\n    */\n    hasDirtyAttributes: Ember.computed('currentState.isDirty', function () {\n      return this.get('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.get('isSaving'); // false\n      let promise = record.save();\n      record.get('isSaving'); // true\n      promise.then(function() {\n        record.get('isSaving'); // false\n      });\n      ```\n       @property isSaving\n      @type {Boolean}\n      @readOnly\n    */\n    isSaving: retrieveFromCurrentState,\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.get('isDeleted');    // false\n      record.deleteRecord();\n       // Locally deleted\n      record.get('isDeleted');           // true\n      record.get('hasDirtyAttributes');  // true\n      record.get('isSaving');            // false\n       // Persisting the deletion\n      let promise = record.save();\n      record.get('isDeleted');    // true\n      record.get('isSaving');     // true\n       // Deletion Persisted\n      promise.then(function() {\n        record.get('isDeleted');          // true\n        record.get('isSaving');           // false\n        record.get('hasDirtyAttributes'); // false\n      });\n      ```\n       @property isDeleted\n      @type {Boolean}\n      @readOnly\n    */\n    isDeleted: retrieveFromCurrentState,\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.get('isNew'); // true\n       record.save().then(function(model) {\n        model.get('isNew'); // false\n      });\n      ```\n       @property isNew\n      @type {Boolean}\n      @readOnly\n    */\n    isNew: retrieveFromCurrentState,\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      @type {Boolean}\n      @readOnly\n    */\n    isValid: retrieveFromCurrentState,\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.get('dirtyType'); // 'created'\n      ```\n       @property dirtyType\n      @type {String}\n      @readOnly\n    */\n    dirtyType: retrieveFromCurrentState,\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.get('isError'); // false\n      record.set('foo', 'valid value');\n      record.save().then(null, function() {\n        record.get('isError'); // true\n      });\n      ```\n       @property isError\n      @type {Boolean}\n      @readOnly\n    */\n    isError: false,\n\n    /**\n      If `true` the store is attempting to reload the record from the adapter.\n       Example\n       ```javascript\n      record.get('isReloading'); // false\n      record.reload();\n      record.get('isReloading'); // true\n      ```\n       @property isReloading\n      @type {Boolean}\n      @readOnly\n    */\n    isReloading: false,\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.get('id'); // null\n       store.findRecord('model', 1).then(function(model) {\n        model.get('id'); // '1'\n      });\n      ```\n       @property id\n      @type {String}\n    */\n\n    /**\n      @property currentState\n      @private\n      @type {Object}\n    */\n    currentState: RootState$1.empty,\n    // defined here to avoid triggering setUnknownProperty\n\n    /**\n     @property _internalModel\n     @private\n     @type {Object}\n     */\n    _internalModel: null,\n    // defined here to avoid triggering setUnknownProperty\n\n    /**\n     @property recordData\n     @private\n     @type undefined (reserved)\n     */\n    // will be defined here to avoid triggering setUnknownProperty\n\n    /**\n     @property store\n     */\n    store: null,\n    // defined here to avoid triggering setUnknownProperty\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.get('errors.length'); // 0\n      record.set('foo', 'invalid value');\n      record.save().catch(function() {\n        record.get('errors').get('foo');\n        // [{message: 'foo should be a number.', attribute: 'foo'}]\n      });\n      ```\n       The `errors` property us useful for displaying error messages to\n      the user.\n       ```handlebars\n      <label>Username: {{input value=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=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      @type {Errors}\n    */\n    errors: Ember.computed(function () {\n      var errors = Errors.create();\n\n      errors._registerHandlers(this._internalModel, function () {\n        this.send('becameInvalid');\n      }, function () {\n        this.send('becameValid');\n      });\n\n      return errors;\n    }).readOnly(),\n\n    /**\n      This property holds the `AdapterError` object with which\n      last adapter operation was rejected.\n       @property adapterError\n      @type {AdapterError}\n    */\n    adapterError: null,\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      @param {Object} options\n      @return {Object} an object whose values are primitive JSON values only\n    */\n    serialize: function serialize(options) {\n      return this._internalModel.createSnapshot().serialize(options);\n    },\n\n    /**\n      Use [JSONSerializer](DS.JSONSerializer.html) to\n      get the JSON representation of a record.\n       `toJSON` 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 toJSON\n      @param {Object} options\n      @return {Object} A JSON representation of the object.\n    */\n    toJSON: function toJSON(options) {\n      // container is for lazy transform lookups\n      var serializer = this._internalModel.store.serializerFor('-default');\n\n      var snapshot = this._internalModel.createSnapshot();\n\n      return serializer.serialize(snapshot, options);\n    },\n\n    /**\n      Fired when the record is ready to be interacted with,\n      that is either loaded from the server or created locally.\n       @event ready\n    */\n    ready: null,\n\n    /**\n      Fired when the record is loaded from the server.\n       @event didLoad\n    */\n    didLoad: null,\n\n    /**\n      Fired when the record is updated.\n       @event didUpdate\n    */\n    didUpdate: null,\n\n    /**\n      Fired when a new record is commited to the server.\n       @event didCreate\n    */\n    didCreate: null,\n\n    /**\n      Fired when the record is deleted.\n       @event didDelete\n    */\n    didDelete: null,\n\n    /**\n      Fired when the record becomes invalid.\n       @event becameInvalid\n    */\n    becameInvalid: null,\n\n    /**\n      Fired when the record enters the error state.\n       @event becameError\n    */\n    becameError: null,\n\n    /**\n      Fired when the record is rolled back.\n       @event rolledBack\n    */\n    rolledBack: null,\n    //TODO Do we want to deprecate these?\n\n    /**\n      @method send\n      @private\n      @param {String} name\n      @param {Object} context\n    */\n    send: function send(name, context) {\n      return this._internalModel.send(name, context);\n    },\n\n    /**\n      @method transitionTo\n      @private\n      @param {String} name\n    */\n    transitionTo: function transitionTo(name) {\n      return this._internalModel.transitionTo(name);\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       ```app/routes/model/delete.js\n      import Route from '@ember/routing/route';\n       export default Route.extend({\n        actions: {\n          softDelete() {\n            this.get('controller.model').deleteRecord();\n          },\n          confirm() {\n            this.get('controller.model').save();\n          },\n          undo() {\n            this.get('controller.model').rollbackAttributes();\n          }\n        }\n      });\n      ```\n       @method deleteRecord\n    */\n    deleteRecord: function deleteRecord() {\n      this._internalModel.deleteRecord();\n    },\n\n    /**\n      Same as `deleteRecord`, but saves the record immediately.\n       Example\n       ```app/routes/model/delete.js\n      import Route from '@ember/routing/route';\n       export default Route.extend({\n        actions: {\n          delete() {\n            this.get('controller.model').destroyRecord().then(function() {\n              controller.transitionToRoute('model.index');\n            });\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 MyCustomAdapter.extend({\n        deleteRecord(store, type, snapshot) {\n          if (snapshot.adapterOptions.subscribe) {\n            // ...\n          }\n          // ...\n        }\n      });\n      ```\n       @method destroyRecord\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    destroyRecord: function destroyRecord(options) {\n      this.deleteRecord();\n      return this.save(options);\n    },\n\n    /**\n      Unloads the record from the store. This will cause the record to be destroyed and freed up for garbage collection.\n       @method unloadRecord\n    */\n    unloadRecord: function unloadRecord() {\n      if (this.isDestroyed) {\n        return;\n      }\n\n      this._internalModel.unloadRecord();\n    },\n\n    /**\n      @method _notifyProperties\n      @private\n    */\n    _notifyProperties: function _notifyProperties(keys) {\n      var _this = this;\n\n      // changeProperties defers notifications until after the delegate\n      // and protects with a try...finally block\n      // previously used begin...endPropertyChanges but this is private API\n      changeProperties(function () {\n        var key;\n\n        for (var i = 0, length = keys.length; i < length; i++) {\n          key = keys[i];\n\n          _this.notifyPropertyChange(key);\n        }\n      });\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 Model.extend({\n        name: attr('string'),\n        isAdmin: attr('boolean', {\n          defaultValue: false\n        })\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      @return {Object} an object, whose keys are changed properties,\n        and value is an [oldProp, newProp] array.\n    */\n    changedAttributes: function changedAttributes() {\n      return this._internalModel.changedAttributes();\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.get('name'); // 'Untitled Document'\n      record.set('name', 'Doc 1');\n      record.get('name'); // 'Doc 1'\n      record.rollbackAttributes();\n      record.get('name'); // 'Untitled Document'\n      ```\n       @since 1.13.0\n      @method rollbackAttributes\n    */\n    rollbackAttributes: function rollbackAttributes() {\n      this._internalModel.rollbackAttributes();\n    },\n\n    /*\n      @method _createSnapshot\n      @private\n    */\n    _createSnapshot: function _createSnapshot() {\n      return this._internalModel.createSnapshot();\n    },\n    toStringExtension: function toStringExtension() {\n      // the _internalModel guard exists, because some dev-only deprecation code\n      // (addListener via validatePropertyInjections) invokes toString before the\n      // object is real.\n      return this._internalModel && this._internalModel.id;\n    },\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 MyCustomAdapter.extend({\n        updateRecord(store, type, snapshot) {\n          if (snapshot.adapterOptions.subscribe) {\n            // ...\n          }\n          // ...\n        }\n      });\n      ```\n       @method save\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    save: function save(options) {\n      var _this2 = this;\n\n      return PromiseObject.create({\n        promise: this._internalModel.save(options).then(function () {\n          return _this2;\n        })\n      });\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       ```app/routes/model/view.js\n      import Route from '@ember/routing/route';\n       export default Route.extend({\n        actions: {\n          reload() {\n            this.controller.get('model').reload().then(function(model) {\n              // do something with the reloaded model\n            });\n          }\n        }\n      });\n      ```\n       @method reload\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    reload: function reload(options) {\n      var _this3 = this;\n\n      var wrappedAdapterOptions;\n\n      if (typeof options === 'object' && options !== null && options.adapterOptions) {\n        wrappedAdapterOptions = {\n          adapterOptions: options.adapterOptions\n        };\n      }\n\n      return PromiseObject.create({\n        promise: this._internalModel.reload(wrappedAdapterOptions).then(function () {\n          return _this3;\n        })\n      });\n    },\n\n    /**\n      Override the default event firing from Ember.Evented to\n      also call methods with the given name.\n       @method trigger\n      @private\n      @param {String} name\n    */\n    trigger: function trigger(name) {\n      var fn = this[name];\n\n      if (typeof fn === 'function') {\n        var length = arguments.length;\n        var args = new Array(length - 1);\n\n        for (var i = 1; i < length; i++) {\n          args[i - 1] = arguments[i];\n        }\n\n        fn.apply(this, args);\n      }\n\n      this._super.apply(this, arguments);\n    },\n    attr: function attr() {\n      ( Ember.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       Example\n       ```app/models/blog.js\n      import Model, { belongsTo } from '@ember-data/model';\n       export default Model.extend({\n        user: belongsTo({ async: true })\n      });\n      ```\n       ```javascript\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       // check if the user relationship 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      } else if (userRef.remoteType() === \"link\") {\n        let link = userRef.link();\n      }\n       // load user (via store.findRecord or store.findBelongsTo)\n      userRef.load().then(...)\n       // or trigger a reload\n      userRef.reload().then(...)\n       // provide data for reference\n      userRef.push({\n        type: 'user',\n        id: 1,\n        attributes: {\n          username: \"@user\"\n        }\n      }).then(function(user) {\n        userRef.value() === user;\n      });\n      ```\n       @method belongsTo\n      @param {String} name of the relationship\n      @since 2.5.0\n      @return {BelongsToReference} reference for this relationship\n    */\n    belongsTo: function belongsTo(name) {\n      return this._internalModel.referenceFor('belongsTo', name);\n    },\n\n    /**\n      Get the reference for the specified hasMany relationship.\n       Example\n       ```app/models/blog.js\n      import Model, { hasMany } from '@ember-data/model';\n       export default Model.extend({\n        comments: hasMany({ async: true })\n      });\n       let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            comments: {\n              data: [\n                { type: 'comment', id: 1 },\n                { type: 'comment', id: 2 }\n              ]\n            }\n          }\n        }\n      });\n      let commentsRef = blog.hasMany('comments');\n       // check if the comments are loaded already\n      let isLoaded = commentsRef.value() !== null;\n       // get the records of the reference (null if not yet available)\n      let comments = commentsRef.value();\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       // load comments (via store.findMany or store.findHasMany)\n      commentsRef.load().then(...)\n       // or trigger a reload\n      commentsRef.reload().then(...)\n       // provide data for reference\n      commentsRef.push([{ type: 'comment', id: 1 }, { type: 'comment', id: 2 }]).then(function(comments) {\n        commentsRef.value() === comments;\n      });\n      ```\n       @method hasMany\n      @param {String} name of the relationship\n      @since 2.5.0\n      @return {HasManyReference} reference for this relationship\n    */\n    hasMany: function hasMany(name) {\n      return this._internalModel.referenceFor('hasMany', name);\n    },\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    _debugInfo: function _debugInfo() {\n      var attributes = ['id'];\n      var relationships = {};\n      var expensiveProperties = [];\n      this.eachAttribute(function (name, meta) {\n        return attributes.push(name);\n      });\n      var groups = [{\n        name: 'Attributes',\n        properties: attributes,\n        expand: true\n      }];\n      this.eachRelationship(function (name, relationship) {\n        var properties = relationships[relationship.kind];\n\n        if (properties === undefined) {\n          properties = relationships[relationship.kind] = [];\n          groups.push({\n            name: relationship.name,\n            properties: properties,\n            expand: true\n          });\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    notifyBelongsToChange: function notifyBelongsToChange(key) {\n      this.notifyPropertyChange(key);\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      - **key** <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 JSONSerializer.extend({\n      serialize: function(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).mapBy('id');\n          }\n        });\n         return json;\n      }\n    });\n     ```\n      @method eachRelationship\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: function eachRelationship(callback, binding) {\n      this.constructor.eachRelationship(callback, binding);\n    },\n    relationshipFor: function relationshipFor(name) {\n      return Ember.get(this.constructor, 'relationshipsByName').get(name);\n    },\n    inverseFor: function inverseFor(key) {\n      return this.constructor.inverseFor(key, this._internalModel.store);\n    },\n    notifyHasManyAdded: function notifyHasManyAdded(key) {\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      this.notifyPropertyChange(key);\n    },\n    eachAttribute: function eachAttribute(callback, binding) {\n      this.constructor.eachAttribute(callback, binding);\n    }\n  });\n  /**\n   @property data\n   @private\n   @deprecated\n   @type {Object}\n   */\n\n  Object.defineProperty(Model.prototype, 'data', {\n    configurable: false,\n    get: function get() {\n      ( Ember.deprecate(\"Model.data was private and it's use has been deprecated. For public access, use the RecordData API or iterate attributes\", false, {\n        id: 'ember-data:Model.data',\n        until: '3.9'\n      }));\n      return recordDataFor(this)._data;\n    }\n  });\n  var ID_DESCRIPTOR = {\n    configurable: false,\n    set: function set(id) {\n      this._internalModel.setId(id);\n    },\n    get: function get() {\n      // the _internalModel guard exists, because some dev-only deprecation code\n      // (addListener via validatePropertyInjections) invokes toString before the\n      // object is real.\n      return this._internalModel && this._internalModel.id;\n    }\n  };\n  Object.defineProperty(Model.prototype, 'id', ID_DESCRIPTOR);\n\n  {\n    var lookupDescriptor = function lookupDescriptor(obj, keyName) {\n      var current = obj;\n\n      do {\n        var descriptor = Object.getOwnPropertyDescriptor(current, keyName);\n\n        if (descriptor !== undefined) {\n          return descriptor;\n        }\n\n        current = Object.getPrototypeOf(current);\n      } while (current !== null);\n\n      return null;\n    };\n\n    var isBasicDesc = function isBasicDesc(desc) {\n      return !desc || !desc.get && !desc.set && desc.enumerable === true && desc.writable === true && desc.configurable === true;\n    };\n\n    var isDefaultEmptyDescriptor = function isDefaultEmptyDescriptor(obj, keyName) {\n      var instanceDesc = lookupDescriptor(obj, keyName);\n      return isBasicDesc(instanceDesc) && lookupDescriptor(obj.constructor, keyName) === null;\n    };\n\n    Model.reopen({\n      init: function init() {\n        this._super.apply(this, arguments);\n\n        if (!this._internalModel) {\n          throw new Ember.Error('You should not call `create` on a model. Instead, call `store.createRecord` with the attributes you would like to set.');\n        }\n\n        if (!isDefaultEmptyDescriptor(this, '_internalModel') || !(this._internalModel instanceof InternalModel)) {\n          throw new Error(\"'_internalModel' is a reserved property name on instances of classes extending Model. Please choose a different property name for \" + this.constructor.toString());\n        }\n\n        if (!isDefaultEmptyDescriptor(this, 'currentState') || this.get('currentState') !== this._internalModel.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\n        var idDesc = lookupDescriptor(this, 'id');\n\n        if (idDesc.get !== ID_DESCRIPTOR.get) {\n          throw new Ember.Error(\"You may not set 'id' as an attribute on your model. Please remove any lines that look like: `id: DS.attr('<type>')` from \" + this.constructor.toString());\n        }\n      }\n    });\n  }\n\n  Model.reopenClass({\n    isModel: true,\n\n    /**\n      Create should only ever be called by the store. To create an instance of a\n      `Model` in a dirty state use `store.createRecord`.\n      To create instances of `Model` in a clean state, use `store.push`\n       @method create\n      @private\n      @static\n    */\n\n    /**\n     Represents the model's class name as a string. This can be used to look up the model's class name through\n     `Store`'s modelFor method.\n      `modelName` is generated for you by Ember Data. It will be a lowercased, dasherized string.\n     For example:\n      ```javascript\n     store.modelFor('post').modelName; // 'post'\n     store.modelFor('blog-post').modelName; // 'blog-post'\n     ```\n      The most common place you'll want to access `modelName` is in your serializer's `payloadKeyFromModelName` method. For example, to change payload\n     keys to underscore (instead of dasherized), you might use the following code:\n      ```javascript\n     import RESTSerializer from '@ember-data/serializer/rest';\n     import { underscore } from '@ember/string';\n      export default const PostSerializer = RESTSerializer.extend({\n       payloadKeyFromModelName(modelName) {\n         return underscore(modelName);\n       }\n     });\n     ```\n     @property modelName\n     @type String\n     @readonly\n     @static\n    */\n    modelName: null,\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 Model.extend({\n        comments: hasMany('comment')\n      });\n     ```\n      Calling `store.modelFor('post').typeForRelationship('comments', store)` will return `Comment`.\n      @method typeForRelationship\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    typeForRelationship: function typeForRelationship(name, store) {\n      var relationship = Ember.get(this, 'relationshipsByName').get(name);\n      return relationship && store.modelFor(relationship.type);\n    },\n    inverseMap: Ember.computed(function () {\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 Model.extend({\n        comments: hasMany('message')\n      });\n     ```\n      ```app/models/message.js\n     import Model, { belongsTo } from '@ember-data/model';\n      export default Model.extend({\n        owner: belongsTo('post')\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     @static\n     @param {String} name the name of the relationship\n     @param {Store} store\n     @return {Object} the inverse relationship, or null\n     */\n    inverseFor: function inverseFor(name, store) {\n      var inverseMap = Ember.get(this, 'inverseMap');\n\n      if (inverseMap[name]) {\n        return inverseMap[name];\n      } else {\n        var inverse = this._findInverseFor(name, store);\n\n        inverseMap[name] = inverse;\n        return inverse;\n      }\n    },\n    //Calculate the inverse, ignoring the cache\n    _findInverseFor: function _findInverseFor(name, store) {\n      var inverseType = this.typeForRelationship(name, store);\n\n      if (!inverseType) {\n        return null;\n      }\n\n      var propertyMeta = this.metaForProperty(name); //If inverse is manually specified to be null, like  `comments: hasMany('message', { inverse: null })`\n\n      var options = propertyMeta.options;\n\n      if (options.inverse === null) {\n        return null;\n      }\n\n      var inverseName, inverseKind, inverse, inverseOptions; //If inverse is specified manually, return the inverse\n\n      if (options.inverse) {\n        inverseName = options.inverse;\n        inverse = Ember.get(inverseType, 'relationshipsByName').get(inverseName);\n        ( !(!Ember.isNone(inverse)) && Ember.assert(\"We found no inverse relationships by the name of '\" + inverseName + \"' on the '\" + inverseType.modelName + \"' model. This is most likely due to a missing attribute on your model definition.\", !Ember.isNone(inverse))); // TODO probably just return the whole inverse here\n\n        inverseKind = inverse.kind;\n        inverseOptions = inverse.options;\n      } else {\n        //No inverse was specified manually, we need to use a heuristic to guess one\n        if (propertyMeta.type === propertyMeta.parentModelName) {\n          ( Ember.warn(\"Detected a reflexive relationship by the name of '\" + name + \"' 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\n        var possibleRelationships = findPossibleInverses(this, inverseType, name);\n\n        if (possibleRelationships.length === 0) {\n          return null;\n        }\n\n        var filteredRelationships = possibleRelationships.filter(function (possibleRelationship) {\n          var optionsForRelationship = inverseType.metaForProperty(possibleRelationship.name).options;\n          return name === optionsForRelationship.inverse;\n        });\n        ( !(filteredRelationships.length < 2) && Ember.assert(\"You defined the '\" + name + \"' relationship on \" + this + ', but you defined the inverse relationships of type ' + inverseType.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        if (filteredRelationships.length === 1) {\n          possibleRelationships = filteredRelationships;\n        }\n\n        ( !(possibleRelationships.length === 1) && Ember.assert(\"You defined the '\" + name + \"' relationship on \" + this + ', but multiple possible inverse relationships of type ' + this + ' were found on ' + inverseType + '. Look at https://guides.emberjs.com/current/models/relationships/#toc_explicit-inverses for how to explicitly specify inverses', possibleRelationships.length === 1));\n        inverseName = possibleRelationships[0].name;\n        inverseKind = possibleRelationships[0].kind;\n        inverseOptions = possibleRelationships[0].options;\n      }\n\n      ( !(!inverseOptions || inverseOptions.inverse !== null) && Ember.assert(\"The \" + inverseType.modelName + \":\" + inverseName + \" relationship declares 'inverse: null', but it was resolved as the inverse for \" + this.modelName + \":\" + name + \".\", !inverseOptions || inverseOptions.inverse !== null));\n      return {\n        type: inverseType,\n        name: inverseName,\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 Model.extend({\n        users: hasMany('user'),\n        owner: belongsTo('user'),\n        posts: hasMany('post')\n      });\n     ```\n      This computed property would return a map describing these\n     relationships, like this:\n      ```javascript\n     import Ember from 'ember';\n     import Blog from 'app/models/blog';\n     import User from 'app/models/user';\n     import Post from 'app/models/post';\n      let relationships = Ember.get(Blog, 'relationships');\n     relationships.get('user');\n     //=> [ { name: 'users', kind: 'hasMany' },\n     //     { name: 'owner', kind: 'belongsTo' } ]\n     relationships.get('post');\n     //=> [ { name: 'posts', kind: 'hasMany' } ]\n     ```\n      @property relationships\n     @static\n     @type Map\n     @readOnly\n     */\n    relationships: relationshipsDescriptor,\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 Model.extend({\n        users: hasMany('user'),\n        owner: belongsTo('user'),\n         posts: hasMany('post')\n      });\n     ```\n      This property would contain the following:\n      ```javascript\n     import Ember from 'ember';\n     import Blog from 'app/models/blog';\n      let relationshipNames = Ember.get(Blog, 'relationshipNames');\n     relationshipNames.hasMany;\n     //=> ['users', 'posts']\n     relationshipNames.belongsTo;\n     //=> ['owner']\n     ```\n      @property relationshipNames\n     @static\n     @type Object\n     @readOnly\n     */\n    relationshipNames: Ember.computed(function () {\n      var names = {\n        hasMany: [],\n        belongsTo: []\n      };\n      this.eachComputedProperty(function (name, meta) {\n        if (meta.isRelationship) {\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 Model.extend({\n        users: hasMany('user'),\n        owner: belongsTo('user'),\n         posts: hasMany('post')\n      });\n     ```\n      This property would contain the following:\n      ```javascript\n     import Ember from 'ember';\n     import Blog from 'app/models/blog';\n      let relatedTypes = Ember.get(Blog, 'relatedTypes');\n     //=> [ User, Post ]\n     ```\n      @property relatedTypes\n     @static\n     @type Ember.Array\n     @readOnly\n     */\n    relatedTypes: relatedTypesDescriptor,\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 Model.extend({\n        users: hasMany('user'),\n        owner: belongsTo('user'),\n         posts: hasMany('post')\n      });\n     ```\n      This property would contain the following:\n      ```javascript\n     import Ember from 'ember';\n     import Blog from 'app/models/blog';\n      let relationshipsByName = Ember.get(Blog, 'relationshipsByName');\n     relationshipsByName.get('users');\n     //=> { key: 'users', kind: 'hasMany', type: 'user', options: Object, isRelationship: true }\n     relationshipsByName.get('owner');\n     //=> { key: 'owner', kind: 'belongsTo', type: 'user', options: Object, isRelationship: true }\n     ```\n      @property relationshipsByName\n     @static\n     @type Map\n     @readOnly\n     */\n    relationshipsByName: relationshipsByNameDescriptor,\n    relationshipsObject: relationshipsObjectDescriptor,\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 Model.extend({\n        users: hasMany('user'),\n        owner: belongsTo('user'),\n         posts: hasMany('post'),\n         title: attr('string')\n      });\n     ```\n      ```js\n     import Ember from 'ember';\n     import Blog from 'app/models/blog';\n      let fields = Ember.get(Blog, 'fields');\n     fields.forEach(function(kind, field) {\n        console.log(field, kind);\n      });\n      // prints:\n     // users, hasMany\n     // owner, belongsTo\n     // posts, hasMany\n     // title, attribute\n     ```\n      @property fields\n     @static\n     @type Map\n     @readOnly\n     */\n    fields: Ember.computed(function () {\n      var map = new Map();\n      this.eachComputedProperty(function (name, meta) {\n        if (meta.isRelationship) {\n          map.set(name, meta.kind);\n        } else if (meta.isAttribute) {\n          map.set(name, 'attribute');\n        }\n      });\n      return map;\n    }).readOnly(),\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     @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    eachRelationship: function eachRelationship(callback, binding) {\n      Ember.get(this, 'relationshipsByName').forEach(function (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     @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    eachRelatedType: function eachRelatedType(callback, binding) {\n      var relationshipTypes = Ember.get(this, 'relatedTypes');\n\n      for (var i = 0; i < relationshipTypes.length; i++) {\n        var type = relationshipTypes[i];\n        callback.call(binding, type);\n      }\n    },\n    determineRelationshipType: function determineRelationshipType(knownSide, store) {\n      var knownKey = knownSide.key;\n      var knownKind = knownSide.kind;\n      var inverse = this.inverseFor(knownKey, store); // let key;\n\n      var otherKind;\n\n      if (!inverse) {\n        return knownKind === 'belongsTo' ? 'oneToNone' : 'manyToNone';\n      } // key = inverse.name;\n\n\n      otherKind = inverse.kind;\n\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 Model.extend({\n        firstName: attr('string'),\n        lastName: attr('string'),\n        birthday: attr('date')\n      });\n     ```\n      ```javascript\n     import Ember from 'ember';\n     import Person from 'app/models/person';\n      let attributes = Ember.get(Person, 'attributes')\n      attributes.forEach(function(meta, name) {\n        console.log(name, meta);\n      });\n      // prints:\n     // firstName {type: \"string\", isAttribute: true, options: Object, parentType: function, name: \"firstName\"}\n     // lastName {type: \"string\", isAttribute: true, options: Object, parentType: function, name: \"lastName\"}\n     // birthday {type: \"date\", isAttribute: true, options: Object, parentType: function, name: \"birthday\"}\n     ```\n      @property attributes\n     @static\n     @type {Map}\n     @readOnly\n     */\n    attributes: Ember.computed(function () {\n      var _this4 = this;\n\n      var map = new Map();\n      this.eachComputedProperty(function (name, meta) {\n        if (meta.isAttribute) {\n          ( !(name !== 'id') && Ember.assert(\"You may not set `id` as an attribute on your model. Please remove any lines that look like: `id: attr('<type>')` from \" + _this4.toString(), name !== 'id'));\n          meta.name = name;\n          map.set(name, meta);\n        }\n      });\n      return map;\n    }).readOnly(),\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 Model.extend({\n        firstName: attr(),\n        lastName: attr('string'),\n        birthday: attr('date')\n      });\n     ```\n      ```javascript\n     import Ember from 'ember';\n     import Person from 'app/models/person';\n      let transformedAttributes = Ember.get(Person, 'transformedAttributes')\n      transformedAttributes.forEach(function(field, type) {\n        console.log(field, type);\n      });\n      // prints:\n     // lastName string\n     // birthday date\n     ```\n      @property transformedAttributes\n     @static\n     @type {Map}\n     @readOnly\n     */\n    transformedAttributes: Ember.computed(function () {\n      var map = new Map();\n      this.eachAttribute(function (key, meta) {\n        if (meta.type) {\n          map.set(key, meta.type);\n        }\n      });\n      return map;\n    }).readOnly(),\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      let Person = Model.extend({\n        firstName: attr('string'),\n        lastName: attr('string'),\n        birthday: attr('date')\n      });\n      Person.eachAttribute(function(name, meta) {\n        console.log(name, meta);\n      });\n      // prints:\n     // firstName {type: \"string\", isAttribute: true, options: Object, parentType: function, name: \"firstName\"}\n     // lastName {type: \"string\", isAttribute: true, options: Object, parentType: function, name: \"lastName\"}\n     // birthday {type: \"date\", isAttribute: true, options: Object, parentType: function, name: \"birthday\"}\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     @static\n     */\n    eachAttribute: function eachAttribute(callback, binding) {\n      Ember.get(this, 'attributes').forEach(function (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        console.log(name, type);\n      });\n      // prints:\n     // lastName string\n     // birthday date\n     ```\n      @method eachTransformedAttribute\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    eachTransformedAttribute: function eachTransformedAttribute(callback, binding) {\n      Ember.get(this, 'transformedAttributes').forEach(function (type, name) {\n        callback.call(binding, name, type);\n      });\n    },\n\n    /**\n     Returns the name of the model class.\n      @method toString\n     @static\n     */\n    toString: function toString() {\n      return \"model:\" + Ember.get(this, 'modelName');\n    }\n  });\n\n  function _defineProperties$3(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\n  function _createClass$3(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$3(Constructor.prototype, protoProps); if (staticProps) _defineProperties$3(Constructor, staticProps); return Constructor; }\n\n  /**\n   `InternalModelMap` is a custom storage map for internalModels of a given modelName\n   used by `IdentityMap`.\n\n   It was extracted from an implicit pojo based \"internalModel map\" and preserves\n   that interface while we work towards a more official API.\n\n   @class InternalModelMap\n   @private\n   */\n  var InternalModelMap =\n  /*#__PURE__*/\n  function () {\n    function InternalModelMap(modelName) {\n      this.modelName = modelName;\n      this._idToModel = Object.create(null);\n      this._models = [];\n      this._metadata = null;\n    }\n    /**\n     * @method get\n     * @param id {String}\n     * @return {InternalModel}\n     */\n\n\n    var _proto = InternalModelMap.prototype;\n\n    _proto.get = function get(id) {\n      return this._idToModel[id];\n    };\n\n    _proto.has = function has(id) {\n      return !!this._idToModel[id];\n    };\n\n    _proto.set = function set(id, internalModel) {\n      ( !(typeof id === 'string' && id.length > 0) && Ember.assert(\"You cannot index an internalModel by an empty id'\", typeof id === 'string' && id.length > 0));\n      ( !(internalModel instanceof InternalModel) && Ember.assert(\"You cannot set an index for an internalModel to something other than an internalModel\", internalModel instanceof InternalModel));\n      ( !(this.contains(internalModel)) && Ember.assert(\"You cannot set an index for an internalModel that is not in the InternalModelMap\", this.contains(internalModel)));\n      ( !(!this.has(id) || this.get(id) === internalModel) && Ember.assert(\"You cannot update the id index of an InternalModel once set. Attempted to update \" + id + \".\", !this.has(id) || this.get(id) === internalModel));\n      this._idToModel[id] = internalModel;\n    };\n\n    _proto.add = function add(internalModel, id) {\n      ( !(!this.contains(internalModel)) && Ember.assert(\"You cannot re-add an already present InternalModel to the InternalModelMap.\", !this.contains(internalModel)));\n\n      if (id) {\n        ( !(!this.has(id) || this.get(id) === internalModel) && Ember.assert(\"Duplicate InternalModel for \" + this.modelName + \":\" + id + \" detected.\", !this.has(id) || this.get(id) === internalModel));\n        this._idToModel[id] = internalModel;\n      }\n\n      this._models.push(internalModel);\n    };\n\n    _proto.remove = function remove(internalModel, id) {\n      delete this._idToModel[id];\n\n      var loc = this._models.indexOf(internalModel);\n\n      if (loc !== -1) {\n        this._models.splice(loc, 1);\n      }\n    };\n\n    _proto.contains = function contains(internalModel) {\n      return this._models.indexOf(internalModel) !== -1;\n    }\n    /**\n     An array of all models of this modelName\n     @property models\n     @type Array\n     */\n    ;\n\n    /**\n     Destroy all models in the internalModelTest and wipe metadata.\n      @method clear\n     */\n    _proto.clear = function clear() {\n      var internalModels = this._models;\n      this._models = [];\n\n      for (var i = 0; i < internalModels.length; i++) {\n        var internalModel = internalModels[i];\n        internalModel.unloadRecord();\n      }\n\n      this._metadata = null;\n    };\n\n    _createClass$3(InternalModelMap, [{\n      key: \"length\",\n      get: function get() {\n        return this._models.length;\n      }\n    }, {\n      key: \"models\",\n      get: function get() {\n        return this._models;\n      }\n      /**\n       * meta information about internalModels\n       * @property metadata\n       * @type Object\n       */\n\n    }, {\n      key: \"metadata\",\n      get: function get() {\n        return this._metadata || (this._metadata = Object.create(null));\n      }\n    }]);\n\n    return InternalModelMap;\n  }();\n\n  /**\n   `IdentityMap` is a custom storage map for records by modelName\n   used by `Store`.\n\n   @class IdentityMap\n   @private\n   */\n  var IdentityMap =\n  /*#__PURE__*/\n  function () {\n    function IdentityMap() {\n      this._map = Object.create(null);\n    }\n\n    var _proto = IdentityMap.prototype;\n\n    /**\n     Retrieves the `InternalModelMap` for a given modelName,\n     creating one if one did not already exist. This is\n     similar to `getWithDefault` or `get` on a `MapWithDefault`\n      @method retrieve\n     @param modelName a previously normalized modelName\n     @return {InternalModelMap} the InternalModelMap for the given modelName\n     */\n    _proto.retrieve = function retrieve(modelName) {\n      var map = this._map[modelName];\n\n      if (map === undefined) {\n        map = this._map[modelName] = new InternalModelMap(modelName);\n      }\n\n      return map;\n    }\n    /**\n     Clears the contents of all known `RecordMaps`, but does\n     not remove the InternalModelMap instances.\n      @method clear\n     */\n    ;\n\n    _proto.clear = function clear() {\n      var map = this._map;\n      var keys = Object.keys(map);\n\n      for (var i = 0; i < keys.length; i++) {\n        var key = keys[i];\n        map[key].clear();\n      }\n    };\n\n    return IdentityMap;\n  }();\n\n  var RecordDataStoreWrapper =\n  /*#__PURE__*/\n  function () {\n    function RecordDataStoreWrapper(store) {\n      this.store = void 0;\n      this._willUpdateManyArrays = void 0;\n      this._pendingManyArrayUpdates = void 0;\n      this.store = store;\n      this._willUpdateManyArrays = false;\n      this._pendingManyArrayUpdates = [];\n    }\n\n    var _proto = RecordDataStoreWrapper.prototype;\n\n    _proto._scheduleManyArrayUpdate = function _scheduleManyArrayUpdate(modelName, id, clientId, key) {\n      var _this = this;\n\n      var pending = this._pendingManyArrayUpdates = this._pendingManyArrayUpdates || [];\n      pending.push(modelName, id, clientId, key);\n\n      if (this._willUpdateManyArrays === true) {\n        return;\n      }\n\n      this._willUpdateManyArrays = true;\n      var backburner = this.store._backburner;\n      backburner.join(function () {\n        backburner.schedule('syncRelationships', _this, _this._flushPendingManyArrayUpdates);\n      });\n    };\n\n    _proto._flushPendingManyArrayUpdates = function _flushPendingManyArrayUpdates() {\n      if (this._willUpdateManyArrays === false) {\n        return;\n      }\n\n      var pending = this._pendingManyArrayUpdates;\n      this._pendingManyArrayUpdates = [];\n      this._willUpdateManyArrays = false;\n      var store = this.store;\n\n      for (var i = 0; i < pending.length; i += 4) {\n        var modelName = pending[i];\n        var id = pending[i + 1];\n        var clientId = pending[i + 2];\n        var key = pending[i + 3];\n\n        var internalModel = store._getInternalModelForId(modelName, id, clientId);\n\n        internalModel.notifyHasManyChange(key);\n      }\n    };\n\n    _proto.attributesDefinitionFor = function attributesDefinitionFor(modelName) {\n      return this.store._attributesDefinitionFor(modelName);\n    };\n\n    _proto.relationshipsDefinitionFor = function relationshipsDefinitionFor(modelName) {\n      return this.store._relationshipsDefinitionFor(modelName);\n    };\n\n    _proto.inverseForRelationship = function inverseForRelationship(modelName, key) {\n      var modelClass = this.store.modelFor(modelName);\n      return this.relationshipsDefinitionFor(modelName)[key]._inverseKey(this.store, modelClass);\n    } // TODO Igor David cleanup\n    ;\n\n    _proto.inverseIsAsyncForRelationship = function inverseIsAsyncForRelationship(modelName, key) {\n      var modelClass = this.store.modelFor(modelName);\n      return this.relationshipsDefinitionFor(modelName)[key]._inverseIsAsync(this.store, modelClass);\n    };\n\n    _proto.notifyPropertyChange = function notifyPropertyChange(modelName, id, clientId, key) {\n      var internalModel = this.store._getInternalModelForId(modelName, id, clientId);\n\n      internalModel.notifyPropertyChange(key);\n    };\n\n    _proto.notifyHasManyChange = function notifyHasManyChange(modelName, id, clientId, key) {\n      this._scheduleManyArrayUpdate(modelName, id, clientId, key);\n    };\n\n    _proto.notifyBelongsToChange = function notifyBelongsToChange(modelName, id, clientId, key) {\n      var internalModel = this.store._getInternalModelForId(modelName, id, clientId);\n\n      internalModel.notifyBelongsToChange(key);\n    };\n\n    _proto.recordDataFor = function recordDataFor(modelName, id, clientId) {\n      return this.store.recordDataFor(modelName, id, clientId);\n    };\n\n    _proto.setRecordId = function setRecordId(modelName, id, clientId) {\n      this.store.setRecordId(modelName, id, clientId);\n    };\n\n    _proto.isRecordInUse = function isRecordInUse(modelName, id, clientId) {\n      var internalModel = this.store._getInternalModelForId(modelName, id, clientId);\n\n      if (!internalModel) {\n        return false;\n      }\n\n      return internalModel.isRecordInUse();\n    };\n\n    _proto.disconnectRecord = function disconnectRecord(modelName, id, clientId) {\n      var internalModel = this.store._getInternalModelForId(modelName, id, clientId);\n\n      if (internalModel) {\n        internalModel.destroyFromRecordData();\n      }\n    };\n\n    return RecordDataStoreWrapper;\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    @method validateDocumentStructure\n    @param {Object} doc JSON API document\n    @return {array} An array of errors found in the document structure\n  */\n  function validateDocumentStructure(doc) {\n    var errors = [];\n\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\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\n      if ('meta' in doc) {\n        if (typeof doc.meta !== 'object') {\n          errors.push('meta must be an object');\n        }\n      }\n\n      if ('errors' in doc) {\n        if (!Array.isArray(doc.errors)) {\n          errors.push('errors must be an array');\n        }\n      }\n\n      if ('links' in doc) {\n        if (typeof doc.links !== 'object') {\n          errors.push('links must be an object');\n        }\n      }\n\n      if ('jsonapi' in doc) {\n        if (typeof doc.jsonapi !== 'object') {\n          errors.push('jsonapi must be an object');\n        }\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\n    return errors;\n  }\n  /*\n    This is a helper method that always returns a JSON-API Document.\n\n    @method normalizeResponseHelper\n    @param {Serializer} serializer\n    @param {Store} store\n    @param {subclass of Model} modelClass\n    @param {Object} payload\n    @param {String|Number} id\n    @param {String} requestType\n    @return {Object} JSON-API Document\n  */\n\n  function normalizeResponseHelper(serializer, store, modelClass, payload, id, requestType) {\n    var normalizedResponse = serializer.normalizeResponse(store, modelClass, payload, id, requestType);\n    var validationErrors = [];\n\n    {\n      validationErrors = validateDocumentStructure(normalizedResponse);\n    }\n\n    ( !(validationErrors.length === 0) && Ember.assert(\"normalizeResponse must return a valid JSON API document:\\n\\t* \" + validationErrors.join('\\n\\t* '), validationErrors.length === 0));\n    return normalizedResponse;\n  }\n\n  function serializerForAdapter(store, adapter, modelName) {\n    var serializer = adapter.serializer;\n\n    if (serializer === undefined) {\n      serializer = store.serializerFor(modelName);\n    }\n\n    if (serializer === null || serializer === undefined) {\n      serializer = {\n        extract: function extract(store, type, payload) {\n          return payload;\n        }\n      };\n    }\n\n    return serializer;\n  }\n\n  // Used by the store to normalize IDs entering the store.  Despite the fact\n  // that developers may provide IDs as numbers (e.g., `store.findRecord('person', 1)`),\n  // it is important that internally we use strings, since IDs may be serialized\n  // and lose type information.  For example, Ember's router may put a record's\n  // ID into the URL, and if we later try to deserialize that URL and find the\n  // corresponding record, we will not know if it is a string or a number.\n  function coerceId(id) {\n    if (id === null || id === undefined || id === '') {\n      return null;\n    }\n\n    if (typeof id === 'string') {\n      return id;\n    }\n\n    if (typeof id === 'symbol') {\n      return id.toString();\n    }\n\n    return '' + id;\n  }\n\n  function payloadIsNotBlank(adapterPayload) {\n    if (Array.isArray(adapterPayload)) {\n      return true;\n    } else {\n      return Object.keys(adapterPayload || {}).length;\n    }\n  }\n\n  function _find(adapter, store, modelClass, id, internalModel, options) {\n    var snapshot = internalModel.createSnapshot(options);\n    var modelName = internalModel.modelName;\n    var promise = Ember.RSVP.Promise.resolve().then(function () {\n      return adapter.findRecord(store, modelClass, id, snapshot);\n    });\n    var label = \"DS: Handle Adapter#findRecord of '\" + modelName + \"' with id: '\" + id + \"'\";\n    promise = guardDestroyedStore(promise, store, label);\n    return promise.then(function (adapterPayload) {\n      ( !(payloadIsNotBlank(adapterPayload)) && Ember.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      var serializer = serializerForAdapter(store, adapter, modelName);\n      var payload = normalizeResponseHelper(serializer, store, modelClass, adapterPayload, id, 'findRecord');\n      ( !(!Array.isArray(payload.data)) && Ember.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      ( Ember.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 https://emberjs.com/api/data/classes/DS.Store.html#method_queryRecord\", coerceId(payload.data.id) === coerceId(id), {\n        id: 'ds.store.findRecord.id-mismatch'\n      }));\n      return store._push(payload);\n    }, function (error) {\n      internalModel.notFound();\n\n      if (internalModel.isEmpty()) {\n        internalModel.unloadRecord();\n      }\n\n      throw error;\n    }, \"DS: Extract payload of '\" + modelName + \"'\");\n  }\n  function _findMany(adapter, store, modelName, ids, internalModels, optionsMap) {\n    var snapshots = Ember.A(internalModels.map(function (internalModel) {\n      return internalModel.createSnapshot(optionsMap.get(internalModel));\n    }));\n    var modelClass = store.modelFor(modelName); // `adapter.findMany` gets the modelClass still\n\n    var promise = adapter.findMany(store, modelClass, ids, snapshots);\n    var label = \"DS: Handle Adapter#findMany of '\" + modelName + \"'\";\n\n    if (promise === undefined) {\n      throw new Error('adapter.findMany returned undefined, this was very likely a mistake');\n    }\n\n    promise = guardDestroyedStore(promise, store, label);\n    return promise.then(function (adapterPayload) {\n      ( !(payloadIsNotBlank(adapterPayload)) && Ember.assert(\"You made a 'findMany' request for '\" + modelName + \"' records with ids '[\" + ids + \"]', but the adapter's response did not have any data\", payloadIsNotBlank(adapterPayload)));\n      var serializer = serializerForAdapter(store, adapter, modelName);\n      var payload = normalizeResponseHelper(serializer, store, modelClass, adapterPayload, null, 'findMany');\n      return store._push(payload);\n    }, null, \"DS: Extract payload of \" + modelName);\n  }\n\n  function iterateData(data, fn) {\n    if (Array.isArray(data)) {\n      return data.map(fn);\n    } else {\n      return fn(data);\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\n\n  function syncRelationshipDataFromLink(store, payload, parentInternalModel, relationship) {\n    var _relationships;\n\n    // ensure the right hand side (incoming payload) points to the parent record that\n    // requested this relationship\n    var relationshipData = iterateData(payload.data, function (data, index) {\n      var id = data.id,\n          type = data.type;\n      ensureRelationshipIsSetToParent(data, parentInternalModel, store, relationship, index);\n      return {\n        id: id,\n        type: type\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\n    store.push({\n      data: {\n        id: parentInternalModel.id,\n        type: parentInternalModel.modelName,\n        relationships: (_relationships = {}, _relationships[relationship.key] = {\n          data: relationshipData\n        }, _relationships)\n      }\n    });\n  }\n\n  function ensureRelationshipIsSetToParent(payload, parentInternalModel, store, parentRelationship, index) {\n    var id = payload.id,\n        type = payload.type;\n\n    if (!payload.relationships) {\n      payload.relationships = {};\n    }\n\n    var relationships = payload.relationships;\n    var inverse = getInverse(store, parentInternalModel, parentRelationship, type);\n\n    if (inverse) {\n      var inverseKey = inverse.inverseKey,\n          kind = inverse.kind;\n      var relationshipData = relationships[inverseKey] && relationships[inverseKey].data;\n\n      if ( typeof relationshipData !== 'undefined' && !relationshipDataPointsToParent(relationshipData, parentInternalModel)) {\n        var quotedType = Ember.inspect(type);\n        var quotedInverse = Ember.inspect(inverseKey);\n        var expected = Ember.inspect({\n          id: parentInternalModel.id,\n          type: parentInternalModel.modelName\n        });\n        var expectedModel = Ember.inspect(parentInternalModel);\n        var got = Ember.inspect(relationshipData);\n        var prefix = typeof index === 'number' ? \"data[\" + index + \"]\" : \"data\";\n        var path = prefix + \".relationships.\" + inverse + \".data\";\n        var other = relationshipData ? \"<\" + relationshipData.type + \":\" + relationshipData.id + \">\" : null;\n        var relationshipFetched = Ember.inspect(parentInternalModel) + \".\" + parentRelationship.kind + \"(\\\"\" + parentRelationship.name + \"\\\")\";\n        var includedRecord = \"<\" + type + \":\" + id + \">\";\n        var 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 \" + parentInternalModel.modelName + \" 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'); // this should eventually throw instead of deprecating.\n\n        ( Ember.deprecate(message + '\\n', false, {\n          id: 'mismatched-inverse-relationship-data-from-payload',\n          until: '3.8'\n        }));\n      }\n\n      if (kind !== 'hasMany' || typeof relationshipData !== 'undefined') {\n        relationships[inverseKey] = relationships[inverseKey] || {};\n        relationships[inverseKey].data = fixRelationshipData(relationshipData, kind, parentInternalModel);\n      }\n    }\n  }\n\n  function getInverse(store, parentInternalModel, parentRelationship, type) {\n    return recordDataFindInverseRelationshipInfo(store, parentInternalModel, parentRelationship, type);\n  }\n\n  function recordDataFindInverseRelationshipInfo(_ref, parentInternalModel, parentRelationship, type) {\n    var storeWrapper = _ref.storeWrapper;\n    var lhs_relationshipName = parentRelationship.name;\n    var modelName = parentInternalModel.modelName;\n    var inverseKey = storeWrapper.inverseForRelationship(modelName, lhs_relationshipName);\n\n    if (inverseKey) {\n      var kind = storeWrapper.relationshipsDefinitionFor(type)[inverseKey].meta.kind;\n      return {\n        inverseKey: inverseKey,\n        kind: kind\n      };\n    }\n  }\n\n  function relationshipDataPointsToParent(relationshipData, internalModel) {\n    if (relationshipData === null) {\n      return false;\n    }\n\n    if (Array.isArray(relationshipData)) {\n      if (relationshipData.length === 0) {\n        return false;\n      }\n\n      for (var i = 0; i < relationshipData.length; i++) {\n        var entry = relationshipData[i];\n\n        if (validateRelationshipEntry(entry, internalModel)) {\n          return true;\n        }\n      }\n    } else {\n      return validateRelationshipEntry(relationshipData, internalModel);\n    }\n\n    return false;\n  }\n\n  function fixRelationshipData(relationshipData, relationshipKind, _ref2) {\n    var id = _ref2.id,\n        modelName = _ref2.modelName;\n    var parentRelationshipData = {\n      id: id,\n      type: modelName\n    };\n    var payload;\n\n    if (relationshipKind === 'hasMany') {\n      payload = relationshipData || [];\n      payload.push(parentRelationshipData);\n    } else {\n      payload = relationshipData || {};\n      Ember.assign(payload, parentRelationshipData);\n    }\n\n    return payload;\n  }\n\n  function validateRelationshipEntry(_ref3, _ref4) {\n    var id = _ref3.id;\n    var parentModelID = _ref4.id;\n    return id && id.toString() === parentModelID;\n  }\n\n  function _findHasMany(adapter, store, internalModel, link, relationship, options) {\n    var snapshot = internalModel.createSnapshot(options);\n    var modelClass = store.modelFor(relationship.type);\n    var promise = adapter.findHasMany(store, snapshot, link, relationship);\n    var label = \"DS: Handle Adapter#findHasMany of '\" + internalModel.modelName + \"' : '\" + relationship.type + \"'\";\n    promise = guardDestroyedStore(promise, store, label);\n    promise = _guard(promise, _bind(_objectIsAlive, internalModel));\n    return promise.then(function (adapterPayload) {\n      ( !(payloadIsNotBlank(adapterPayload)) && Ember.assert(\"You made a 'findHasMany' request for a \" + internalModel.modelName + \"'s '\" + relationship.key + \"' relationship, using link '\" + link + \"' , but the adapter's response did not have any data\", payloadIsNotBlank(adapterPayload)));\n      var serializer = serializerForAdapter(store, adapter, relationship.type);\n      var payload = normalizeResponseHelper(serializer, store, modelClass, adapterPayload, null, 'findHasMany');\n      syncRelationshipDataFromLink(store, payload, internalModel, relationship);\n\n      var internalModelArray = store._push(payload);\n\n      internalModelArray.meta = payload.meta;\n      return internalModelArray;\n    }, null, \"DS: Extract payload of '\" + internalModel.modelName + \"' : hasMany '\" + relationship.type + \"'\");\n  }\n  function _findBelongsTo(adapter, store, internalModel, link, relationship, options) {\n    var snapshot = internalModel.createSnapshot(options);\n    var modelClass = store.modelFor(relationship.type);\n    var promise = adapter.findBelongsTo(store, snapshot, link, relationship);\n    var label = \"DS: Handle Adapter#findBelongsTo of \" + internalModel.modelName + \" : \" + relationship.type;\n    promise = guardDestroyedStore(promise, store, label);\n    promise = _guard(promise, _bind(_objectIsAlive, internalModel));\n    return promise.then(function (adapterPayload) {\n      var serializer = serializerForAdapter(store, adapter, relationship.type);\n      var payload = normalizeResponseHelper(serializer, store, modelClass, adapterPayload, null, 'findBelongsTo');\n\n      if (!payload.data) {\n        return null;\n      }\n\n      syncRelationshipDataFromLink(store, payload, internalModel, relationship);\n      return store._push(payload);\n    }, null, \"DS: Extract payload of \" + internalModel.modelName + \" : \" + relationship.type);\n  }\n  function _findAll(adapter, store, modelName, sinceToken, options) {\n    var modelClass = store.modelFor(modelName); // adapter.findAll depends on the class\n\n    var recordArray = store.peekAll(modelName);\n\n    var snapshotArray = recordArray._createSnapshot(options);\n\n    var promise = Ember.RSVP.Promise.resolve().then(function () {\n      return adapter.findAll(store, modelClass, sinceToken, snapshotArray);\n    });\n    var label = 'DS: Handle Adapter#findAll of ' + modelClass;\n    promise = guardDestroyedStore(promise, store, label);\n    return promise.then(function (adapterPayload) {\n      ( !(payloadIsNotBlank(adapterPayload)) && Ember.assert(\"You made a 'findAll' request for '\" + modelName + \"' records, but the adapter's response did not have any data\", payloadIsNotBlank(adapterPayload)));\n      var serializer = serializerForAdapter(store, adapter, modelName);\n      var payload = normalizeResponseHelper(serializer, store, modelClass, adapterPayload, null, 'findAll');\n\n      store._push(payload);\n\n      store._didUpdateAll(modelName);\n\n      return recordArray;\n    }, null, 'DS: Extract payload of findAll ${modelName}');\n  }\n  function _query(adapter, store, modelName, query, recordArray, options) {\n    var modelClass = store.modelFor(modelName); // adapter.query needs the class\n\n    var promise;\n    var createRecordArray = adapter.query.length > 3 || adapter.query.wrappedFunction && adapter.query.wrappedFunction.length > 3;\n\n    if (createRecordArray) {\n      recordArray = recordArray || store.recordArrayManager.createAdapterPopulatedRecordArray(modelName, query);\n      promise = Ember.RSVP.Promise.resolve().then(function () {\n        return adapter.query(store, modelClass, query, recordArray, options);\n      });\n    } else {\n      promise = Ember.RSVP.Promise.resolve().then(function () {\n        return adapter.query(store, modelClass, query);\n      });\n    }\n\n    var label = \"DS: Handle Adapter#query of \" + modelName;\n    promise = guardDestroyedStore(promise, store, label);\n    return promise.then(function (adapterPayload) {\n      var serializer = serializerForAdapter(store, adapter, modelName);\n      var payload = normalizeResponseHelper(serializer, store, modelClass, adapterPayload, null, 'query');\n\n      var internalModels = store._push(payload);\n\n      ( !(Array.isArray(internalModels)) && Ember.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(internalModels)));\n\n      if (recordArray) {\n        recordArray._setInternalModels(internalModels, payload);\n      } else {\n        recordArray = store.recordArrayManager.createAdapterPopulatedRecordArray(modelName, query, internalModels, payload);\n      }\n\n      return recordArray;\n    }, null, \"DS: Extract payload of query \" + modelName);\n  }\n  function _queryRecord(adapter, store, modelName, query, options) {\n    var modelClass = store.modelFor(modelName); // adapter.queryRecord needs the class\n\n    var promise = Ember.RSVP.Promise.resolve().then(function () {\n      return adapter.queryRecord(store, modelClass, query, options);\n    });\n    var label = \"DS: Handle Adapter#queryRecord of \" + modelName;\n    promise = guardDestroyedStore(promise, store, label);\n    return promise.then(function (adapterPayload) {\n      var serializer = serializerForAdapter(store, adapter, modelName);\n      var payload = normalizeResponseHelper(serializer, store, modelClass, adapterPayload, null, 'queryRecord');\n      ( !(!Array.isArray(payload.data)) && Ember.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        id: 'ds.store.queryRecord-array-response'\n      }));\n      return store._push(payload);\n    }, null, \"DS: Extract payload of queryRecord \" + modelName);\n  }\n\n  function cloneNull(source) {\n    var clone = Object.create(null);\n\n    for (var key in source) {\n      clone[key] = source[key];\n    }\n\n    return clone;\n  }\n\n  function _defineProperties$4(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\n  function _createClass$4(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$4(Constructor.prototype, protoProps); if (staticProps) _defineProperties$4(Constructor, staticProps); return Constructor; }\n\n  /**\n    @module ember-data\n  */\n\n  /**\n    @class SnapshotRecordArray\n    @private\n    @constructor\n    @param {Array} snapshots An array of snapshots\n    @param {Object} meta\n  */\n  var SnapshotRecordArray =\n  /*#__PURE__*/\n  function () {\n    function SnapshotRecordArray(recordArray, meta, options) {\n      if (options === void 0) {\n        options = {};\n      }\n\n      /**\n        An array of snapshots\n        @private\n        @property _snapshots\n        @type {Array}\n      */\n      this._snapshots = null;\n      /**\n        An array of records\n        @private\n        @property _recordArray\n        @type {Array}\n      */\n\n      this._recordArray = recordArray;\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 JSONAPIAdapter.extend({\n          shouldReloadAll(store, snapshotRecordArray) {\n            return !snapshotRecordArray.length;\n          },\n        });\n        ```\n         @property length\n        @type {Number}\n      */\n\n      this.length = recordArray.get('length');\n      this._type = null;\n      /**\n        Meta objects for the record array.\n         Example\n         ```app/adapters/post.js\n        import JSONAPIAdapter from '@ember-data/adapter/json-api';\n         export default JSONAPIAdapter.extend({\n          shouldReloadAll(store, snapshotRecordArray) {\n            var lastRequestTime = snapshotRecordArray.meta.lastRequestTime;\n            var twentyMinutes = 20 * 60 * 1000;\n            return Date.now() > lastRequestTime + twentyMinutes;\n          },\n        });\n        ```\n         @property meta\n        @type {Object}\n      */\n\n      this.meta = meta;\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 MyCustomAdapter.extend({\n          findAll(store, type, sinceToken, snapshotRecordArray) {\n            if (snapshotRecordArray.adapterOptions.subscribe) {\n              // ...\n            }\n            // ...\n          }\n        });\n        ```\n         @property adapterOptions\n        @type {Object}\n      */\n\n      this.adapterOptions = options.adapterOptions;\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 Adapter.extend({\n          findAll(store, type, snapshotRecordArray) {\n            var url = `/${type.modelName}?include=${encodeURIComponent(snapshotRecordArray.include)}`;\n             return fetch(url).then((response) => response.json())\n          }\n        });\n         @property include\n        @type {String|Array}\n      */\n\n      this.include = options.include;\n    }\n    /**\n      The type of the underlying records for the snapshots in the array, as a Model\n      @property type\n      @type {Model}\n    */\n\n\n    var _proto = SnapshotRecordArray.prototype;\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 JSONAPIAdapter.extend({\n        shouldReloadAll(store, snapshotArray) {\n          var snapshots = snapshotArray.snapshots();\n           return snapshots.any(function(ticketSnapshot) {\n            var 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      @return {Array} Array of snapshots\n    */\n    _proto.snapshots = function snapshots() {\n      if (this._snapshots !== null) {\n        return this._snapshots;\n      }\n\n      this._snapshots = this._recordArray._takeSnapshot();\n      return this._snapshots;\n    };\n\n    _createClass$4(SnapshotRecordArray, [{\n      key: \"type\",\n      get: function get() {\n        return this._type || (this._type = this._recordArray.get('type'));\n      }\n    }]);\n\n    return SnapshotRecordArray;\n  }();\n\n  /**\n    A record array is an array that contains records of a certain modelName. The record\n    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    @class RecordArray\n    @extends ArrayProxy\n    @uses Ember.Evented\n  */\n\n  var RecordArray = Ember.ArrayProxy.extend(Ember.Evented, {\n    init: function init() {\n      this._super.apply(this, arguments);\n      /**\n        The array of client ids backing the record array. When a\n        record is requested from the record array, the record\n        for the client id at the same index is materialized, if\n        necessary, by the store.\n         @property content\n        @private\n        @type Ember.Array\n        */\n\n\n      this.set('content', this.content || null);\n      /**\n      The flag to signal a `RecordArray` is finished loading data.\n       Example\n       ```javascript\n      var people = store.peekAll('person');\n      people.get('isLoaded'); // true\n      ```\n       @property isLoaded\n      @type Boolean\n      */\n\n      this.isLoaded = this.isLoaded || false;\n      /**\n      The flag to signal a `RecordArray` is currently loading data.\n       Example\n       ```javascript\n      var people = store.peekAll('person');\n      people.get('isUpdating'); // false\n      people.update();\n      people.get('isUpdating'); // true\n      ```\n       @property isUpdating\n      @type Boolean\n      */\n\n      this.isUpdating = false;\n      /**\n      The store that created this record array.\n       @property store\n      @private\n      @type Store\n      */\n\n      this.store = this.store || null;\n      this._updatingPromise = null;\n    },\n    replace: function replace() {\n      throw new Error(\"The result of a server query (for all \" + this.modelName + \" types) is immutable. To modify contents, use toArray()\");\n    },\n\n    /**\n     The modelClass represented by this record array.\n      @property type\n     @type Model\n     */\n    type: Ember.computed('modelName', function () {\n      if (!this.modelName) {\n        return null;\n      }\n\n      return this.store.modelFor(this.modelName);\n    }).readOnly(),\n\n    /**\n      Retrieves an object from the content by index.\n       @method objectAtContent\n      @private\n      @param {Number} index\n      @return {Model} record\n    */\n    objectAtContent: function objectAtContent(index) {\n      var internalModel = Ember.get(this, 'content').objectAt(index);\n      return internalModel && internalModel.getRecord();\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      var people = store.peekAll('person');\n      people.get('isUpdating'); // false\n       people.update().then(function() {\n        people.get('isUpdating'); // false\n      });\n       people.get('isUpdating'); // true\n      ```\n       @method update\n    */\n    update: function update() {\n      var _this = this;\n\n      if (Ember.get(this, 'isUpdating')) {\n        return this._updatingPromise;\n      }\n\n      this.set('isUpdating', true);\n\n      var updatingPromise = this._update().finally(function () {\n        _this._updatingPromise = null;\n\n        if (_this.get('isDestroying') || _this.get('isDestroyed')) {\n          return;\n        }\n\n        _this.set('isUpdating', false);\n      });\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: function _update() {\n      return this.store.findAll(this.modelName, {\n        reload: true\n      });\n    },\n\n    /**\n      Adds an internal model to the `RecordArray` without duplicates\n       @method _pushInternalModels\n      @private\n      @param {InternalModel} internalModel\n    */\n    _pushInternalModels: function _pushInternalModels(internalModels) {\n      // pushObjects because the internalModels._recordArrays set was already\n      // consulted for inclusion, so addObject and its on .contains call is not\n      // required.\n      Ember.get(this, 'content').pushObjects(internalModels);\n    },\n\n    /**\n      Removes an internalModel to the `RecordArray`.\n       @method removeInternalModel\n      @private\n      @param {InternalModel} internalModel\n    */\n    _removeInternalModels: function _removeInternalModels(internalModels) {\n      Ember.get(this, 'content').removeObjects(internalModels);\n    },\n\n    /**\n      Saves all of the records in the `RecordArray`.\n       Example\n       ```javascript\n      var messages = store.peekAll('message');\n      messages.forEach(function(message) {\n        message.set('hasBeenSeen', true);\n      });\n      messages.save();\n      ```\n       @method save\n      @return {PromiseArray} promise\n    */\n    save: function save() {\n      var _this2 = this;\n\n      var promiseLabel = \"DS: RecordArray#save \" + this.modelName;\n      var promise = Ember.RSVP.Promise.all(this.invoke('save'), promiseLabel).then(function () {\n        return _this2;\n      }, null, 'DS: RecordArray#save return RecordArray');\n      return PromiseArray.create({\n        promise: promise\n      });\n    },\n    _dissociateFromOwnRecords: function _dissociateFromOwnRecords() {\n      var _this3 = this;\n\n      this.get('content').forEach(function (internalModel) {\n        var recordArrays = internalModel.__recordArrays;\n\n        if (recordArrays) {\n          recordArrays.delete(_this3);\n        }\n      });\n    },\n\n    /**\n      @method _unregisterFromManager\n      @private\n    */\n    _unregisterFromManager: function _unregisterFromManager() {\n      this.manager.unregisterRecordArray(this);\n    },\n    willDestroy: function willDestroy() {\n      this._unregisterFromManager();\n\n      this._dissociateFromOwnRecords(); // TODO: we should not do work during destroy:\n      //   * when objects are destroyed, they should simply be left to do\n      //   * if logic errors do to this, that logic needs to be more careful during\n      //    teardown (ember provides isDestroying/isDestroyed) for this reason\n      //   * the exception being: if an dominator has a reference to this object,\n      //     and must be informed to release e.g. e.g. removing itself from th\n      //     recordArrayMananger\n\n\n      Ember.set(this, 'content', null);\n      Ember.set(this, 'length', 0);\n\n      this._super.apply(this, arguments);\n    },\n\n    /*\n      @method _createSnapshot\n      @private\n    */\n    _createSnapshot: function _createSnapshot(options) {\n      // this is private for users, but public for ember-data internals\n      return new SnapshotRecordArray(this, this.get('meta'), options);\n    },\n\n    /*\n      @method _takeSnapshot\n      @private\n    */\n    _takeSnapshot: function _takeSnapshot() {\n      return Ember.get(this, 'content').map(function (internalModel) {\n        return internalModel.createSnapshot();\n      });\n    }\n  });\n\n  /**\n    Represents an ordered list of records whose order and membership is\n    determined by the adapter. For example, a query sent to the adapter\n    may trigger a search on the server, whose results would be loaded\n    into an instance of the `AdapterPopulatedRecordArray`.\n\n    ---\n\n    If you want to update the array and get the latest records from the\n    adapter, you can invoke [`update()`](#method_update):\n\n    Example\n\n    ```javascript\n    // GET /users?isAdmin=true\n    store.query('user', { isAdmin: true }).then(function(admins) {\n\n      admins.then(function() {\n        console.log(admins.get(\"length\")); // 42\n      });\n\n      // somewhere later in the app code, when new admins have been created\n      // in the meantime\n      //\n      // GET /users?isAdmin=true\n      admins.update().then(function() {\n        admins.get('isUpdating'); // false\n        console.log(admins.get(\"length\")); // 123\n      });\n\n      admins.get('isUpdating'); // true\n    }\n    ```\n\n    @class AdapterPopulatedRecordArray\n    @extends RecordArray\n  */\n\n  var AdapterPopulatedRecordArray = RecordArray.extend({\n    init: function init() {\n      // yes we are touching `this` before super, but ArrayProxy has a bug that requires this.\n      this.set('content', this.get('content') || Ember.A());\n\n      this._super.apply(this, arguments);\n\n      this.query = this.query || null;\n      this.links = this.links || null;\n    },\n    replace: function replace() {\n      throw new Error(\"The result of a server query (on \" + this.modelName + \") is immutable.\");\n    },\n    _update: function _update() {\n      var store = Ember.get(this, 'store');\n      var query = Ember.get(this, 'query');\n      return store._query(this.modelName, query, this);\n    },\n\n    /**\n      @method _setInternalModels\n      @param {Array} internalModels\n      @param {Object} payload normalized payload\n      @private\n    */\n    _setInternalModels: function _setInternalModels(internalModels, payload) {\n      // TODO: initial load should not cause change events at all, only\n      // subsequent. This requires changing the public api of adapter.query, but\n      // hopefully we can do that soon.\n      this.get('content').setObjects(internalModels);\n      this.setProperties({\n        isLoaded: true,\n        isUpdating: false,\n        meta: cloneNull(payload.meta),\n        links: cloneNull(payload.links)\n      });\n\n      this.manager._associateWithRecordArray(internalModels, this); // TODO: should triggering didLoad event be the last action of the runLoop?\n\n\n      Ember.run.once(this, 'trigger', 'didLoad');\n    }\n  });\n\n  var emberRun = Ember.run.backburner;\n\n  var RecordArrayManager =\n  /*#__PURE__*/\n  function () {\n    function RecordArrayManager(options) {\n      this.store = options.store;\n      this.isDestroying = false;\n      this.isDestroyed = false;\n      this._liveRecordArrays = Object.create(null);\n      this._pending = Object.create(null);\n      this._adapterPopulatedRecordArrays = [];\n    }\n\n    var _proto = RecordArrayManager.prototype;\n\n    _proto.recordDidChange = function recordDidChange(internalModel) {\n      // TODO: change name\n      // TODO: track that it was also a change\n      this.internalModelDidChange(internalModel);\n    };\n\n    _proto.recordWasLoaded = function recordWasLoaded(internalModel) {\n      // TODO: change name\n      // TODO: track that it was also that it was first loaded\n      this.internalModelDidChange(internalModel);\n    };\n\n    _proto.internalModelDidChange = function internalModelDidChange(internalModel) {\n      var modelName = internalModel.modelName;\n\n      if (internalModel._pendingRecordArrayManagerFlush) {\n        return;\n      }\n\n      internalModel._pendingRecordArrayManagerFlush = true;\n      var pending = this._pending;\n      var models = pending[modelName] = pending[modelName] || [];\n\n      if (models.push(internalModel) !== 1) {\n        return;\n      }\n\n      emberRun.schedule('actions', this, this._flush);\n    };\n\n    _proto._flushPendingInternalModelsForModelName = function _flushPendingInternalModelsForModelName(modelName, internalModels) {\n      var modelsToRemove = [];\n\n      for (var j = 0; j < internalModels.length; j++) {\n        var internalModel = internalModels[j]; // mark internalModels, so they can once again be processed by the\n        // recordArrayManager\n\n        internalModel._pendingRecordArrayManagerFlush = false; // build up a set of models to ensure we have purged correctly;\n\n        if (internalModel.isHiddenFromRecordArrays()) {\n          modelsToRemove.push(internalModel);\n        }\n      }\n\n      var array = this._liveRecordArrays[modelName];\n\n      if (array) {\n        // TODO: skip if it only changed\n        // process liveRecordArrays\n        this.updateLiveRecordArray(array, internalModels);\n      } // process adapterPopulatedRecordArrays\n\n\n      if (modelsToRemove.length > 0) {\n        removeFromAdapterPopulatedRecordArrays(modelsToRemove);\n      }\n    };\n\n    _proto._flush = function _flush() {\n      var pending = this._pending;\n      this._pending = Object.create(null);\n\n      for (var modelName in pending) {\n        this._flushPendingInternalModelsForModelName(modelName, pending[modelName]);\n      }\n    };\n\n    _proto.updateLiveRecordArray = function updateLiveRecordArray(array, internalModels) {\n      return _updateLiveRecordArray(array, internalModels);\n    };\n\n    _proto._syncLiveRecordArray = function _syncLiveRecordArray(array, modelName) {\n      ( !(typeof modelName === 'string') && Ember.assert(\"recordArrayManger.syncLiveRecordArray expects modelName not modelClass as the second param\", typeof modelName === 'string'));\n      var pending = this._pending[modelName];\n      var hasPendingChanges = Array.isArray(pending);\n      var hasNoPotentialDeletions = !hasPendingChanges || pending.length === 0;\n\n      var map = this.store._internalModelsFor(modelName);\n\n      var hasNoInsertionsOrRemovals = Ember.get(map, 'length') === Ember.get(array, 'length');\n      /*\n        Ideally the recordArrayManager has knowledge of the changes to be applied to\n        liveRecordArrays, and is capable of strategically flushing those changes and applying\n        small diffs if desired.  However, until we've refactored recordArrayManager, this dirty\n        check prevents us from unnecessarily wiping out live record arrays returned by peekAll.\n        */\n\n      if (hasNoPotentialDeletions && hasNoInsertionsOrRemovals) {\n        return;\n      }\n\n      if (hasPendingChanges) {\n        this._flushPendingInternalModelsForModelName(modelName, pending);\n\n        delete this._pending[modelName];\n      }\n\n      var internalModels = this._visibleInternalModelsByType(modelName);\n\n      var modelsToAdd = [];\n\n      for (var i = 0; i < internalModels.length; i++) {\n        var internalModel = internalModels[i];\n        var recordArrays = internalModel._recordArrays;\n\n        if (recordArrays.has(array) === false) {\n          recordArrays.add(array);\n          modelsToAdd.push(internalModel);\n        }\n      }\n\n      if (modelsToAdd.length) {\n        array._pushInternalModels(modelsToAdd);\n      }\n    };\n\n    _proto._didUpdateAll = function _didUpdateAll(modelName) {\n      var recordArray = this._liveRecordArrays[modelName];\n\n      if (recordArray) {\n        Ember.set(recordArray, 'isUpdating', false);\n      }\n    }\n    /*\n      Get the `RecordArray` for a modelName, which contains all loaded records of\n      given modelName.\n       @method liveRecordArrayFor\n      @param {String} modelName\n      @return {RecordArray}\n    */\n    ;\n\n    _proto.liveRecordArrayFor = function liveRecordArrayFor(modelName) {\n      ( !(typeof modelName === 'string') && Ember.assert(\"recordArrayManger.liveRecordArrayFor expects modelName not modelClass as the param\", typeof modelName === 'string'));\n      var array = this._liveRecordArrays[modelName];\n\n      if (array) {\n        // if the array already exists, synchronize\n        this._syncLiveRecordArray(array, modelName);\n      } else {\n        // if the array is being newly created merely create it with its initial\n        // content already set. This prevents unneeded change events.\n        var internalModels = this._visibleInternalModelsByType(modelName);\n\n        array = this.createRecordArray(modelName, internalModels);\n        this._liveRecordArrays[modelName] = array;\n      }\n\n      return array;\n    };\n\n    _proto._visibleInternalModelsByType = function _visibleInternalModelsByType(modelName) {\n      var all = this.store._internalModelsFor(modelName)._models;\n\n      var visible = [];\n\n      for (var i = 0; i < all.length; i++) {\n        var model = all[i];\n\n        if (model.isHiddenFromRecordArrays() === false) {\n          visible.push(model);\n        }\n      }\n\n      return visible;\n    }\n    /*\n      Create a `RecordArray` for a modelName.\n       @method createRecordArray\n      @param {String} modelName\n      @param {Array} _content (optional|private)\n      @return {RecordArray}\n    */\n    ;\n\n    _proto.createRecordArray = function createRecordArray(modelName, content) {\n      ( !(typeof modelName === 'string') && Ember.assert(\"recordArrayManger.createRecordArray expects modelName not modelClass as the param\", typeof modelName === 'string'));\n      var array = RecordArray.create({\n        modelName: modelName,\n        content: Ember.A(content || []),\n        store: this.store,\n        isLoaded: true,\n        manager: this\n      });\n\n      if (Array.isArray(content)) {\n        associateWithRecordArray(content, array);\n      }\n\n      return array;\n    }\n    /*\n      Create a `AdapterPopulatedRecordArray` for a modelName with given query.\n       @method createAdapterPopulatedRecordArray\n      @param {String} modelName\n      @param {Object} query\n      @return {AdapterPopulatedRecordArray}\n    */\n    ;\n\n    _proto.createAdapterPopulatedRecordArray = function createAdapterPopulatedRecordArray(modelName, query, internalModels, payload) {\n      ( !(typeof modelName === 'string') && Ember.assert(\"recordArrayManger.createAdapterPopulatedRecordArray expects modelName not modelClass as the first param, received \" + modelName, typeof modelName === 'string'));\n      var array;\n\n      if (Array.isArray(internalModels)) {\n        array = AdapterPopulatedRecordArray.create({\n          modelName: modelName,\n          query: query,\n          content: Ember.A(internalModels),\n          store: this.store,\n          manager: this,\n          isLoaded: true,\n          isUpdating: false,\n          meta: cloneNull(payload.meta),\n          links: cloneNull(payload.links)\n        });\n        associateWithRecordArray(internalModels, array);\n      } else {\n        array = AdapterPopulatedRecordArray.create({\n          modelName: modelName,\n          query: query,\n          content: Ember.A(),\n          store: this.store,\n          manager: this\n        });\n      }\n\n      this._adapterPopulatedRecordArrays.push(array);\n\n      return array;\n    }\n    /*\n      Unregister a RecordArray.\n      So manager will not update this array.\n       @method unregisterRecordArray\n      @param {RecordArray} array\n    */\n    ;\n\n    _proto.unregisterRecordArray = function unregisterRecordArray(array) {\n      var modelName = array.modelName; // remove from adapter populated record array\n\n      var removedFromAdapterPopulated = remove(this._adapterPopulatedRecordArrays, array);\n\n      if (!removedFromAdapterPopulated) {\n        var liveRecordArrayForType = this._liveRecordArrays[modelName]; // unregister live record array\n\n        if (liveRecordArrayForType) {\n          if (array === liveRecordArrayForType) {\n            delete this._liveRecordArrays[modelName];\n          }\n        }\n      }\n    };\n\n    _proto._associateWithRecordArray = function _associateWithRecordArray(internalModels, array) {\n      associateWithRecordArray(internalModels, array);\n    };\n\n    _proto.willDestroy = function willDestroy() {\n      var _this = this;\n\n      Object.keys(this._liveRecordArrays).forEach(function (modelName) {\n        return _this._liveRecordArrays[modelName].destroy();\n      });\n\n      this._adapterPopulatedRecordArrays.forEach(destroy);\n\n      this.isDestroyed = true;\n    };\n\n    _proto.destroy = function destroy() {\n      this.isDestroying = true;\n      emberRun.schedule('actions', this, this.willDestroy);\n    };\n\n    return RecordArrayManager;\n  }();\n\n  function destroy(entry) {\n    entry.destroy();\n  }\n\n  function remove(array, item) {\n    var index = array.indexOf(item);\n\n    if (index !== -1) {\n      array.splice(index, 1);\n      return true;\n    }\n\n    return false;\n  }\n\n  function _updateLiveRecordArray(array, internalModels) {\n    var modelsToAdd = [];\n    var modelsToRemove = [];\n\n    for (var i = 0; i < internalModels.length; i++) {\n      var internalModel = internalModels[i];\n      var isDeleted = internalModel.isHiddenFromRecordArrays();\n      var recordArrays = internalModel._recordArrays;\n\n      if (!isDeleted && !internalModel.isEmpty()) {\n        if (!recordArrays.has(array)) {\n          modelsToAdd.push(internalModel);\n          recordArrays.add(array);\n        }\n      }\n\n      if (isDeleted) {\n        modelsToRemove.push(internalModel);\n        recordArrays.delete(array);\n      }\n    }\n\n    if (modelsToAdd.length > 0) {\n      array._pushInternalModels(modelsToAdd);\n    }\n\n    if (modelsToRemove.length > 0) {\n      array._removeInternalModels(modelsToRemove);\n    } // return whether we performed an update.\n    // Necessary until 3.5 allows us to finish off ember-data-filter support.\n\n\n    return (modelsToAdd.length || modelsToRemove.length) > 0;\n  }\n\n  function removeFromAdapterPopulatedRecordArrays(internalModels) {\n    for (var i = 0; i < internalModels.length; i++) {\n      var internalModel = internalModels[i];\n      var list = internalModel._recordArrays.list;\n\n      for (var j = 0; j < list.length; j++) {\n        // TODO: group by arrays, so we can batch remove\n        list[j]._removeInternalModels([internalModel]);\n      }\n\n      internalModel._recordArrays.clear();\n    }\n  }\n\n  function associateWithRecordArray(internalModels, array) {\n    for (var i = 0, l = internalModels.length; i < l; i++) {\n      var internalModel = internalModels[i];\n\n      internalModel._recordArrays.add(array);\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    @method _normalizeLink\n    @private\n    @param {String} link\n    @return {Object|null}\n  */\n  function _normalizeLink(link) {\n    switch (typeof link) {\n      case 'object':\n        return link;\n\n      case 'string':\n        return {\n          href: link\n        };\n    }\n\n    return null;\n  }\n\n  function _defineProperties$5(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\n  function _createClass$5(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$5(Constructor.prototype, protoProps); if (staticProps) _defineProperties$5(Constructor, staticProps); return Constructor; }\n\n  var Relationship =\n  /*#__PURE__*/\n  function () {\n    function Relationship(store, inverseKey, relationshipMeta, recordData, inverseIsAsync) {\n      this.inverseIsAsync = void 0;\n      this.kind = void 0;\n      this.recordData = void 0;\n      this.members = void 0;\n      this.canonicalMembers = void 0;\n      this.store = void 0;\n      this.key = void 0;\n      this.inverseKey = void 0;\n      this.isAsync = void 0;\n      this.isPolymorphic = void 0;\n      this.relationshipMeta = void 0;\n      this.inverseKeyForImplicit = void 0;\n      this.meta = void 0;\n      this.__inverseMeta = void 0;\n      this._tempModelName = void 0;\n      this.shouldForceReload = void 0;\n      this.relationshipIsStale = void 0;\n      this.hasDematerializedInverse = void 0;\n      this.hasAnyRelationshipData = void 0;\n      this.relationshipIsEmpty = void 0;\n      this.link = void 0;\n      this.willSync = void 0;\n      this.inverseIsAsync = inverseIsAsync;\n      this.kind = relationshipMeta.kind;\n      var async = relationshipMeta.options.async;\n      var polymorphic = relationshipMeta.options.polymorphic;\n      this.recordData = recordData;\n      this.members = new EmberDataOrderedSet();\n      this.canonicalMembers = new EmberDataOrderedSet();\n      this.store = store;\n      this.key = relationshipMeta.key || null;\n      this.inverseKey = inverseKey;\n      this.isAsync = typeof async === 'undefined' ? true : async;\n      this.isPolymorphic = typeof polymorphic === 'undefined' ? false : polymorphic;\n      this.relationshipMeta = relationshipMeta; //This probably breaks for polymorphic relationship in complex scenarios, due to\n      //multiple possible modelNames\n\n      this.inverseKeyForImplicit = this._tempModelName + this.key;\n      this.meta = null;\n      this.__inverseMeta = undefined;\n      /*\n       This flag forces fetch. `true` for a single request once `reload()`\n         has been called `false` at all other times.\n      */\n\n      this.shouldForceReload = false;\n      /*\n         This flag indicates whether we should\n          re-fetch the relationship the next time\n          it is accessed.\n           The difference between this flag and `shouldForceReload`\n          is in how we treat the presence of partially missing data:\n            - for a forced reload, we will reload the link or EVERY record\n            - for a stale reload, we will reload the link (if present) else only MISSING records\n           Ideally these flags could be merged, but because we don't give the\n          request layer the option of deciding how to resolve the data being queried\n          we are forced to differentiate for now.\n           It is also possible for a relationship to remain stale after a forced reload; however,\n          in this case `hasFailedLoadAttempt` ought to be `true`.\n         false when\n          => recordData.isNew() on initial setup\n          => a previously triggered request has resolved\n          => we get relationship data via push\n         true when\n          => !recordData.isNew() on initial setup\n          => an inverse has been unloaded\n          => we get a new link for the relationship\n         TODO @runspired unskip the acceptance tests and fix these flags\n       */\n\n      this.relationshipIsStale = false;\n      /*\n       This flag indicates whether we should\n        **partially** re-fetch the relationship the\n        next time it is accessed.\n       false when\n        => initial setup\n        => a previously triggered request has resolved\n       true when\n        => an inverse has been unloaded\n      */\n\n      this.hasDematerializedInverse = false;\n      /*\n        This flag indicates whether we should consider the content\n         of this relationship \"known\".\n         If we have no relationship knowledge, and the relationship\n         is `async`, we will attempt to fetch the relationship on\n         access if it is also stale.\n        Snapshot uses this to tell the difference between unknown\n        (`undefined`) or empty (`null`). The reason for this is that\n        we wouldn't want to serialize  unknown relationships as `null`\n        as that might overwrite remote state.\n         All relationships for a newly created (`store.createRecord()`) are\n         considered known (`hasAnyRelationshipData === true`).\n         true when\n          => we receive a push with either new data or explicit empty (`[]` or `null`)\n          => the relationship is a belongsTo and we have received data from\n               the other side.\n         false when\n          => we have received no signal about what data belongs in this relationship\n          => the relationship is a hasMany and we have only received data from\n              the other side.\n       */\n\n      this.hasAnyRelationshipData = false;\n      /*\n        Flag that indicates whether an empty relationship is explicitly empty\n          (signaled by push giving us an empty array or null relationship)\n          e.g. an API response has told us that this relationship is empty.\n         Thus far, it does not appear that we actually need this flag; however,\n          @runspired has found it invaluable when debugging relationship tests\n          to determine whether (and why if so) we are in an incorrect state.\n         true when\n          => we receive a push with explicit empty (`[]` or `null`)\n          => we have received no signal about what data belongs in this relationship\n          => on initial create (as no signal is known yet)\n         false at all other times\n       */\n\n      this.relationshipIsEmpty = true;\n      /*\n        Flag def here for reference, defined as getter in has-many.js / belongs-to.js\n         true when\n          => hasAnyRelationshipData is true\n          AND\n          => members (NOT canonicalMembers) @each !isEmpty\n         TODO, consider changing the conditional here from !isEmpty to !hiddenFromRecordArrays\n      */\n      // TODO do we want this anymore? Seems somewhat useful\n      //   especially if we rename to `hasUpdatedLink`\n      //   which would tell us slightly more about why the\n      //   relationship is stale\n      // this.updatedLink = false;\n    }\n\n    var _proto = Relationship.prototype;\n\n    _proto._inverseIsAsync = function _inverseIsAsync() {\n      return !!this.inverseIsAsync;\n    };\n\n    _proto._inverseIsSync = function _inverseIsSync() {\n      return !!(this.inverseKey && !this.inverseIsAsync);\n    };\n\n    _proto._hasSupportForImplicitRelationships = function _hasSupportForImplicitRelationships(recordData) {\n      return recordData._implicitRelationships !== undefined && recordData._implicitRelationships !== null;\n    };\n\n    _proto._hasSupportForRelationships = function _hasSupportForRelationships(recordData) {\n      return recordData._relationships !== undefined && recordData._relationships !== null;\n    };\n\n    _proto.recordDataDidDematerialize = function recordDataDidDematerialize() {\n      var _this = this;\n\n      var inverseKey = this.inverseKey;\n\n      if (!inverseKey) {\n        return;\n      } // TODO @runspired fairly sure we need to become stale here\n      // this.setRelationshipIsStale(true);\n      // we actually want a union of members and canonicalMembers\n      // they should be disjoint but currently are not due to a bug\n\n\n      this.forAllMembers(function (inverseRecordData) {\n        if (!_this._hasSupportForRelationships(inverseRecordData)) {\n          return;\n        }\n\n        var relationship = relationshipStateFor(inverseRecordData, inverseKey);\n\n        var belongsToRelationship = inverseRecordData.getBelongsTo(inverseKey)._relationship; // For canonical members, it is possible that inverseRecordData has already been associated to\n        // to another record. For such cases, do not dematerialize the inverseRecordData\n\n\n        if (!belongsToRelationship || !belongsToRelationship.inverseRecordData || _this.recordData === belongsToRelationship.inverseRecordData) {\n          relationship.inverseDidDematerialize(_this.recordData);\n        }\n      });\n    };\n\n    _proto.forAllMembers = function forAllMembers(callback) {\n      var seen = Object.create(null);\n\n      for (var i = 0; i < this.members.list.length; i++) {\n        var inverseInternalModel = this.members.list[i];\n        var id = Ember.guidFor(inverseInternalModel);\n\n        if (!seen[id]) {\n          seen[id] = true;\n          callback(inverseInternalModel);\n        }\n      }\n\n      for (var _i = 0; _i < this.canonicalMembers.list.length; _i++) {\n        var _inverseInternalModel = this.canonicalMembers.list[_i];\n\n        var _id = Ember.guidFor(_inverseInternalModel);\n\n        if (!seen[_id]) {\n          seen[_id] = true;\n          callback(_inverseInternalModel);\n        }\n      }\n    };\n\n    _proto.inverseDidDematerialize = function inverseDidDematerialize(inverseRecordData) {\n      if (!this.isAsync) {\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        this.removeRecordDataFromOwn(inverseRecordData);\n        this.removeCanonicalRecordDataFromOwn(inverseRecordData);\n        this.setRelationshipIsEmpty(true);\n      } else {\n        this.setHasDematerializedInverse(true);\n      }\n    };\n\n    _proto.updateMeta = function updateMeta(meta) {\n      this.meta = meta;\n    };\n\n    _proto.clear = function clear() {\n      var members = this.members.list;\n\n      while (members.length > 0) {\n        var member = members[0];\n        this.removeRecordData(member);\n      }\n\n      var canonicalMembers = this.canonicalMembers.list;\n\n      while (canonicalMembers.length > 0) {\n        var _member = canonicalMembers[0];\n        this.removeCanonicalRecordData(_member);\n      }\n    };\n\n    _proto.removeAllRecordDatasFromOwn = function removeAllRecordDatasFromOwn() {\n      this.setRelationshipIsStale(true);\n      this.members.clear();\n    };\n\n    _proto.removeAllCanonicalRecordDatasFromOwn = function removeAllCanonicalRecordDatasFromOwn() {\n      this.canonicalMembers.clear();\n      this.flushCanonicalLater();\n    };\n\n    _proto.removeRecordDatas = function removeRecordDatas(recordDatas) {\n      var _this2 = this;\n\n      recordDatas.forEach(function (recordData) {\n        return _this2.removeRecordData(recordData);\n      });\n    };\n\n    _proto.addRecordDatas = function addRecordDatas(recordDatas, idx) {\n      var _this3 = this;\n\n      recordDatas.forEach(function (recordData) {\n        _this3.addRecordData(recordData, idx);\n\n        if (idx !== undefined) {\n          idx++;\n        }\n      });\n    };\n\n    _proto.addCanonicalRecordDatas = function addCanonicalRecordDatas(recordDatas, idx) {\n      for (var i = 0; i < recordDatas.length; i++) {\n        if (idx !== undefined) {\n          this.addCanonicalRecordData(recordDatas[i], i + idx);\n        } else {\n          this.addCanonicalRecordData(recordDatas[i]);\n        }\n      }\n    };\n\n    _proto.addCanonicalRecordData = function addCanonicalRecordData(recordData, idx) {\n      if (!this.canonicalMembers.has(recordData)) {\n        this.canonicalMembers.add(recordData);\n        this.setupInverseRelationship(recordData);\n      }\n\n      this.flushCanonicalLater();\n      this.setHasAnyRelationshipData(true);\n    };\n\n    _proto.setupInverseRelationship = function setupInverseRelationship(recordData) {\n      if (this.inverseKey) {\n        if (!this._hasSupportForRelationships(recordData)) {\n          return;\n        }\n\n        var relationship = relationshipStateFor(recordData, this.inverseKey); // if we have only just initialized the inverse relationship, then it\n        // already has this.recordData in its canonicalMembers, so skip the\n        // unnecessary work.  The exception to this is polymorphic\n        // relationships whose members are determined by their inverse, as those\n        // relationships cannot efficiently find their inverse payloads.\n\n        relationship.addCanonicalRecordData(this.recordData);\n      } else {\n        if (!this._hasSupportForImplicitRelationships(recordData)) {\n          return;\n        }\n\n        var relationships = recordData._implicitRelationships;\n        var _relationship = relationships[this.inverseKeyForImplicit];\n\n        if (!_relationship) {\n          _relationship = relationships[this.inverseKeyForImplicit] = new Relationship(this.store, // we know we are not an implicit relationship here\n          this.key, {\n            options: {\n              async: this.isAsync\n            }\n          }, recordData);\n        }\n\n        _relationship.addCanonicalRecordData(this.recordData);\n      }\n    };\n\n    _proto.removeCanonicalRecordDatas = function removeCanonicalRecordDatas(recordDatas, idx) {\n      for (var i = 0; i < recordDatas.length; i++) {\n        if (idx !== undefined) {\n          this.removeCanonicalRecordData(recordDatas[i], i + idx);\n        } else {\n          this.removeCanonicalRecordData(recordDatas[i]);\n        }\n      }\n    };\n\n    _proto.removeCanonicalRecordData = function removeCanonicalRecordData(recordData, idx) {\n      if (this.canonicalMembers.has(recordData)) {\n        this.removeCanonicalRecordDataFromOwn(recordData);\n\n        if (this.inverseKey) {\n          this.removeCanonicalRecordDataFromInverse(recordData);\n        } else {\n          if (this._hasSupportForImplicitRelationships(recordData) && recordData._implicitRelationships[this.inverseKeyForImplicit]) {\n            recordData._implicitRelationships[this.inverseKeyForImplicit].removeCanonicalRecordData(this.recordData);\n          }\n        }\n      }\n\n      this.flushCanonicalLater();\n    };\n\n    _proto.addRecordData = function addRecordData(recordData, idx) {\n      if (!this.members.has(recordData)) {\n        this.members.addWithIndex(recordData, idx);\n        this.notifyRecordRelationshipAdded(recordData, idx);\n\n        if (this._hasSupportForRelationships(recordData) && this.inverseKey) {\n          relationshipStateFor(recordData, this.inverseKey).addRecordData(this.recordData);\n        } else {\n          if (this._hasSupportForImplicitRelationships(recordData)) {\n            if (!recordData._implicitRelationships[this.inverseKeyForImplicit]) {\n              recordData._implicitRelationships[this.inverseKeyForImplicit] = new Relationship(this.store, // we know we are not an implicit relationship here\n              this.key, {\n                options: {\n                  async: this.isAsync\n                }\n              }, recordData, this.isAsync);\n            }\n\n            recordData._implicitRelationships[this.inverseKeyForImplicit].addRecordData(this.recordData);\n          }\n        }\n      }\n\n      this.setHasAnyRelationshipData(true);\n    };\n\n    _proto.removeRecordData = function removeRecordData(recordData) {\n      if (this.members.has(recordData)) {\n        this.removeRecordDataFromOwn(recordData);\n\n        if (this.inverseKey) {\n          this.removeRecordDataFromInverse(recordData);\n        } else {\n          if (this._hasSupportForImplicitRelationships(recordData) && recordData._implicitRelationships[this.inverseKeyForImplicit]) {\n            recordData._implicitRelationships[this.inverseKeyForImplicit].removeRecordData(this.recordData);\n          }\n        }\n      }\n    };\n\n    _proto.removeRecordDataFromInverse = function removeRecordDataFromInverse(recordData) {\n      if (!this._hasSupportForRelationships(recordData)) {\n        return;\n      }\n\n      var inverseRelationship = relationshipStateFor(recordData, this.inverseKey); //Need to check for existence, as the record might unloading at the moment\n\n      if (inverseRelationship) {\n        inverseRelationship.removeRecordDataFromOwn(this.recordData);\n      }\n    };\n\n    _proto.removeRecordDataFromOwn = function removeRecordDataFromOwn(recordData, idx) {\n      this.members.delete(recordData);\n    };\n\n    _proto.removeCanonicalRecordDataFromInverse = function removeCanonicalRecordDataFromInverse(recordData) {\n      if (!this._hasSupportForRelationships(recordData)) {\n        return;\n      }\n\n      var inverseRelationship = relationshipStateFor(recordData, this.inverseKey); //Need to check for existence, as the record might unloading at the moment\n\n      if (inverseRelationship) {\n        inverseRelationship.removeCanonicalRecordDataFromOwn(this.recordData);\n      }\n    };\n\n    _proto.removeCanonicalRecordDataFromOwn = function removeCanonicalRecordDataFromOwn(recordData, idx) {\n      this.canonicalMembers.delete(recordData);\n      this.flushCanonicalLater();\n    }\n    /*\n      Call this method once a record deletion has been persisted\n      to purge it from BOTH current and canonical state of all\n      relationships.\n       @method removeCompletelyFromInverse\n      @private\n     */\n    ;\n\n    _proto.removeCompletelyFromInverse = function removeCompletelyFromInverse() {\n      var _this4 = this;\n\n      if (!this.inverseKey) {\n        return;\n      } // we actually want a union of members and canonicalMembers\n      // they should be disjoint but currently are not due to a bug\n\n\n      var seen = Object.create(null);\n      var recordData = this.recordData;\n\n      var unload = function unload(inverseRecordData) {\n        var id = Ember.guidFor(inverseRecordData);\n\n        if (_this4._hasSupportForRelationships(inverseRecordData) && seen[id] === undefined) {\n          var relationship = relationshipStateFor(inverseRecordData, _this4.inverseKey);\n          relationship.removeCompletelyFromOwn(recordData);\n          seen[id] = true;\n        }\n      };\n\n      this.members.forEach(unload);\n      this.canonicalMembers.forEach(unload);\n\n      if (!this.isAsync) {\n        this.clear();\n      }\n    }\n    /*\n      Removes the given RecordData from BOTH canonical AND current state.\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    ;\n\n    _proto.removeCompletelyFromOwn = function removeCompletelyFromOwn(recordData) {\n      this.canonicalMembers.delete(recordData);\n      this.members.delete(recordData);\n    };\n\n    _proto.flushCanonical = function flushCanonical() {\n      var list = this.members.list;\n      this.willSync = false; //a hack for not removing new RecordDatas\n      //TODO remove once we have proper diffing\n\n      var newRecordDatas = [];\n\n      for (var i = 0; i < list.length; i++) {\n        // TODO Igor deal with this\n        if (list[i].isNew()) {\n          newRecordDatas.push(list[i]);\n        }\n      } //TODO(Igor) make this less abysmally slow\n\n\n      this.members = this.canonicalMembers.copy();\n\n      for (var _i2 = 0; _i2 < newRecordDatas.length; _i2++) {\n        this.members.add(newRecordDatas[_i2]);\n      }\n    };\n\n    _proto.flushCanonicalLater = function flushCanonicalLater() {\n      if (this.willSync) {\n        return;\n      }\n\n      this.willSync = true; // Reaching back into the store to use ED's runloop\n\n      this.store._updateRelationshipState(this);\n    };\n\n    _proto.updateLink = function updateLink(link) {\n      ( Ember.warn(\"You pushed a record of type '\" + this.recordData.modelName + \"' with a relationship '\" + this.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.\", this.isAsync || this.hasAnyRelationshipData, {\n        id: 'ds.store.push-link-for-sync-relationship'\n      }));\n      ( !(typeof link === 'string' || link === null) && Ember.assert(\"You have pushed a record of type '\" + this.recordData.modelName + \"' with '\" + this.key + \"' as a link, but the value of that link is not a string.\", typeof link === 'string' || link === null));\n      this.link = link;\n    };\n\n    _proto.updateRecordDatasFromAdapter = function updateRecordDatasFromAdapter(recordDatas) {\n      this.setHasAnyRelationshipData(true); //TODO(Igor) move this to a proper place\n      //TODO Once we have adapter support, we need to handle updated and canonical changes\n\n      this.computeChanges(recordDatas);\n    };\n\n    _proto.computeChanges = function computeChanges(recordDatas) {};\n\n    _proto.notifyRecordRelationshipAdded = function notifyRecordRelationshipAdded(recordData, idxs) {};\n\n    _proto.setHasAnyRelationshipData = function setHasAnyRelationshipData(value) {\n      this.hasAnyRelationshipData = value;\n    };\n\n    _proto.setHasDematerializedInverse = function setHasDematerializedInverse(value) {\n      this.hasDematerializedInverse = value;\n    };\n\n    _proto.setRelationshipIsStale = function setRelationshipIsStale(value) {\n      this.relationshipIsStale = value;\n    };\n\n    _proto.setRelationshipIsEmpty = function setRelationshipIsEmpty(value) {\n      this.relationshipIsEmpty = value;\n    }\n    /*\n     `push` for a relationship allows the store to push a JSON API Relationship\n     Object onto the relationship. The relationship will then extract and set the\n     meta, data and links of that relationship.\n      `push` use `updateMeta`, `updateData` and `updateLink` to update the state\n     of the relationship.\n     */\n    ;\n\n    _proto.push = function push(payload, initial) {\n      var hasRelationshipDataProperty = false;\n      var hasLink = false;\n\n      if (payload.meta) {\n        this.updateMeta(payload.meta);\n      }\n\n      if (payload.data !== undefined) {\n        hasRelationshipDataProperty = true;\n        this.updateData(payload.data, initial);\n      } else if (this.isAsync === false && !this.hasAnyRelationshipData) {\n        hasRelationshipDataProperty = true;\n        var data = this.kind === 'hasMany' ? [] : null;\n        this.updateData(data, initial);\n      }\n\n      if (payload.links && payload.links.related) {\n        var relatedLink = _normalizeLink(payload.links.related);\n\n        if (relatedLink && relatedLink.href && relatedLink.href !== this.link) {\n          hasLink = true;\n          this.updateLink(relatedLink.href);\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        relationshipIsEmpty -> true if is empty array (has-many) or is null (belongs-to)\n        hasAnyRelationshipData -> true\n        hasDematerializedInverse -> false\n        relationshipIsStale -> false\n        allInverseRecordsAreLoaded -> run-check-to-determine\n        IF contains only links\n        relationshipIsStale -> true\n       */\n\n\n      if (hasRelationshipDataProperty) {\n        var relationshipIsEmpty = payload.data === null || Array.isArray(payload.data) && payload.data.length === 0;\n        this.setHasAnyRelationshipData(true);\n        this.setRelationshipIsStale(false);\n        this.setHasDematerializedInverse(false);\n        this.setRelationshipIsEmpty(relationshipIsEmpty);\n      } else if (hasLink) {\n        this.setRelationshipIsStale(true);\n\n        if (!initial) {\n          var recordData = this.recordData;\n          var storeWrapper = this.recordData.storeWrapper;\n          storeWrapper.notifyPropertyChange(recordData.modelName, recordData.id, recordData.clientId, // We know we are not an implicit relationship here\n          this.key);\n        }\n      }\n    };\n\n    _proto.localStateIsEmpty = function localStateIsEmpty() {};\n\n    _proto.updateData = function updateData(payload, initial) {};\n\n    _proto.destroy = function destroy() {};\n\n    _createClass$5(Relationship, [{\n      key: \"isNew\",\n      get: function get() {\n        return this.recordData.isNew();\n      }\n    }, {\n      key: \"_inverseMeta\",\n      get: function get() {\n        if (this.__inverseMeta === undefined) {\n          var inverseMeta = null;\n\n          if (this.inverseKey) {\n            // We know we have a full inverse relationship\n            var type = this.relationshipMeta.type;\n            var inverseModelClass = this.store.modelFor(type);\n            var inverseRelationships = Ember.get(inverseModelClass, 'relationshipsByName');\n            inverseMeta = inverseRelationships.get(this.inverseKey);\n          }\n\n          this.__inverseMeta = inverseMeta;\n        }\n\n        return this.__inverseMeta;\n      }\n    }]);\n\n    return Relationship;\n  }();\n\n  function _defineProperties$6(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\n  function _createClass$6(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$6(Constructor.prototype, protoProps); if (staticProps) _defineProperties$6(Constructor, staticProps); return Constructor; }\n\n  function _inheritsLoose$4(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\n  var ManyRelationship =\n  /*#__PURE__*/\n  function (_Relationship) {\n    _inheritsLoose$4(ManyRelationship, _Relationship);\n\n    function ManyRelationship(store, inverseKey, relationshipMeta, recordData, inverseIsAsync) {\n      var _this;\n\n      _this = _Relationship.call(this, store, inverseKey, relationshipMeta, recordData, inverseIsAsync) || this;\n      _this.canonicalState = void 0;\n      _this.currentState = void 0;\n      _this._willUpdateManyArray = void 0;\n      _this._pendingManyArrayUpdates = void 0;\n      _this.key = void 0;\n      _this.canonicalState = [];\n      _this.currentState = [];\n      _this._willUpdateManyArray = false;\n      _this._pendingManyArrayUpdates = null;\n      _this.key = relationshipMeta.key;\n      return _this;\n    }\n\n    var _proto = ManyRelationship.prototype;\n\n    _proto.addCanonicalRecordData = function addCanonicalRecordData(recordData, idx) {\n      if (this.canonicalMembers.has(recordData)) {\n        return;\n      }\n\n      if (idx !== undefined) {\n        this.canonicalState.splice(idx, 0, recordData);\n      } else {\n        this.canonicalState.push(recordData);\n      }\n\n      _Relationship.prototype.addCanonicalRecordData.call(this, recordData, idx);\n    };\n\n    _proto.inverseDidDematerialize = function inverseDidDematerialize(inverseRecordData) {\n      _Relationship.prototype.inverseDidDematerialize.call(this, inverseRecordData);\n\n      if (this.isAsync) {\n        this.notifyManyArrayIsStale();\n      }\n    };\n\n    _proto.addRecordData = function addRecordData(recordData, idx) {\n      if (this.members.has(recordData)) {\n        return;\n      } // TODO Type this\n\n\n      Debug.assertPolymorphicType(this.recordData, this.relationshipMeta, recordData, this.store);\n\n      _Relationship.prototype.addRecordData.call(this, recordData, idx); // make lazy later\n\n\n      if (idx === undefined) {\n        idx = this.currentState.length;\n      }\n\n      this.currentState.splice(idx, 0, recordData); // TODO Igor consider making direct to remove the indirection\n      // We are not lazily accessing the manyArray here because the change is coming from app side\n      // this.manyArray.flushCanonical(this.currentState);\n\n      this.notifyHasManyChange();\n    };\n\n    _proto.removeCanonicalRecordDataFromOwn = function removeCanonicalRecordDataFromOwn(recordData, idx) {\n      var i = idx;\n\n      if (!this.canonicalMembers.has(recordData)) {\n        return;\n      }\n\n      if (i === undefined) {\n        i = this.canonicalState.indexOf(recordData);\n      }\n\n      if (i > -1) {\n        this.canonicalState.splice(i, 1);\n      }\n\n      _Relationship.prototype.removeCanonicalRecordDataFromOwn.call(this, recordData, idx); //TODO(Igor) Figure out what to do here\n\n    };\n\n    _proto.removeAllCanonicalRecordDatasFromOwn = function removeAllCanonicalRecordDatasFromOwn() {\n      _Relationship.prototype.removeAllCanonicalRecordDatasFromOwn.call(this);\n\n      this.canonicalMembers.clear();\n      this.canonicalState.splice(0, this.canonicalState.length);\n\n      _Relationship.prototype.removeAllCanonicalRecordDatasFromOwn.call(this);\n    } //TODO(Igor) DO WE NEED THIS?\n    ;\n\n    _proto.removeCompletelyFromOwn = function removeCompletelyFromOwn(recordData) {\n      _Relationship.prototype.removeCompletelyFromOwn.call(this, recordData); // TODO SkEPTICAL\n\n\n      var canonicalIndex = this.canonicalState.indexOf(recordData);\n\n      if (canonicalIndex !== -1) {\n        this.canonicalState.splice(canonicalIndex, 1);\n      }\n\n      this.removeRecordDataFromOwn(recordData);\n    };\n\n    _proto.flushCanonical = function flushCanonical() {\n      var toSet = this.canonicalState; //a hack for not removing new records\n      //TODO remove once we have proper diffing\n\n      var newRecordDatas = this.currentState.filter( // only add new internalModels which are not yet in the canonical state of this\n      // relationship (a new internalModel can be in the canonical state if it has\n      // been 'acknowleged' to be in the relationship via a store.push)\n      //TODO Igor deal with this\n      function (recordData) {\n        return recordData.isNew() && toSet.indexOf(recordData) === -1;\n      });\n      toSet = toSet.concat(newRecordDatas);\n      /*\n      if (this._manyArray) {\n        this._manyArray.flushCanonical(toSet);\n      }\n      */\n\n      this.currentState = toSet;\n\n      _Relationship.prototype.flushCanonical.call(this); // Once we clean up all the flushing, we will be left with at least the notifying part\n\n\n      this.notifyHasManyChange();\n    } //TODO(Igor) idx not used currently, fix\n    ;\n\n    _proto.removeRecordDataFromOwn = function removeRecordDataFromOwn(recordData, idx) {\n      _Relationship.prototype.removeRecordDataFromOwn.call(this, recordData, idx);\n\n      var index = idx || this.currentState.indexOf(recordData); //TODO IGOR DAVID INVESTIGATE\n\n      if (index === -1) {\n        return;\n      }\n\n      this.currentState.splice(index, 1); // TODO Igor consider making direct to remove the indirection\n      // We are not lazily accessing the manyArray here because the change is coming from app side\n\n      this.notifyHasManyChange(); // this.manyArray.flushCanonical(this.currentState);\n    };\n\n    _proto.notifyRecordRelationshipAdded = function notifyRecordRelationshipAdded() {\n      this.notifyHasManyChange();\n    };\n\n    _proto.computeChanges = function computeChanges(recordDatas) {\n      if (recordDatas === void 0) {\n        recordDatas = [];\n      }\n\n      var members = this.canonicalMembers;\n      var recordDatasToRemove = [];\n      var recordDatasSet = setForArray(recordDatas);\n      members.forEach(function (member) {\n        if (recordDatasSet.has(member)) {\n          return;\n        }\n\n        recordDatasToRemove.push(member);\n      });\n      this.removeCanonicalRecordDatas(recordDatasToRemove);\n\n      for (var i = 0, l = recordDatas.length; i < l; i++) {\n        var recordData = recordDatas[i];\n        this.removeCanonicalRecordData(recordData);\n        this.addCanonicalRecordData(recordData, i);\n      }\n    };\n\n    _proto.setInitialRecordDatas = function setInitialRecordDatas(recordDatas) {\n      if (Array.isArray(recordDatas) === false || !recordDatas || recordDatas.length === 0) {\n        return;\n      }\n\n      for (var i = 0; i < recordDatas.length; i++) {\n        var recordData = recordDatas[i];\n\n        if (this.canonicalMembers.has(recordData)) {\n          continue;\n        }\n\n        this.canonicalMembers.add(recordData);\n        this.members.add(recordData);\n        this.setupInverseRelationship(recordData);\n      }\n\n      this.canonicalState = this.canonicalMembers.toArray();\n    }\n    /*\n      This is essentially a \"sync\" version of\n        notifyHasManyChange. We should work to unify\n        these worlds\n         - @runspired\n    */\n    ;\n\n    _proto.notifyManyArrayIsStale = function notifyManyArrayIsStale() {\n      var recordData = this.recordData;\n      var storeWrapper = recordData.storeWrapper;\n      storeWrapper.notifyPropertyChange(recordData.modelName, recordData.id, recordData.clientId, this.key);\n    };\n\n    _proto.notifyHasManyChange = function notifyHasManyChange() {\n      var recordData = this.recordData;\n      var storeWrapper = recordData.storeWrapper;\n      storeWrapper.notifyHasManyChange(recordData.modelName, recordData.id, recordData.clientId, this.key);\n    };\n\n    _proto.getData = function getData() {\n      var payload = {};\n\n      if (this.hasAnyRelationshipData) {\n        payload.data = this.currentState.map(function (recordData) {\n          return recordData.getResourceIdentifier();\n        });\n      }\n\n      if (this.link) {\n        payload.links = {\n          related: this.link\n        };\n      }\n\n      if (this.meta) {\n        payload.meta = this.meta;\n      } // TODO @runspired: the @igor refactor is too limiting for relationship state\n      //   we should reconsider where we fetch from.\n\n\n      payload._relationship = this;\n      return payload;\n    };\n\n    _proto.updateData = function updateData(data, initial) {\n      var recordDatas;\n\n      if (Ember.isNone(data)) {\n        recordDatas = undefined;\n      } else {\n        recordDatas = new Array(data.length);\n\n        for (var i = 0; i < data.length; i++) {\n          recordDatas[i] = this.recordData.storeWrapper.recordDataFor(data[i].type, data[i].id);\n        }\n      }\n\n      if (initial) {\n        this.setInitialRecordDatas(recordDatas);\n      } else {\n        this.updateRecordDatasFromAdapter(recordDatas);\n      }\n    }\n    /**\n     * Flag indicating whether all inverse records are available\n     *\n     * true if inverse records exist and are all loaded (all not empty)\n     * true if there are no inverse records\n     * false if the inverse records exist and any are not loaded (any empty)\n     *\n     * @return {boolean}\n     */\n    ;\n\n    _createClass$6(ManyRelationship, [{\n      key: \"allInverseRecordsAreLoaded\",\n      get: function get() {\n        // check currentState for unloaded records\n        var hasEmptyRecords = this.currentState.reduce(function (hasEmptyModel, i) {\n          return hasEmptyModel || i.isEmpty();\n        }, false); // check un-synced state for unloaded records\n\n        if (!hasEmptyRecords && this.willSync) {\n          hasEmptyRecords = this.canonicalState.reduce(function (hasEmptyModel, i) {\n            return hasEmptyModel || !i.isEmpty();\n          }, false);\n        }\n\n        return !hasEmptyRecords;\n      }\n    }]);\n\n    return ManyRelationship;\n  }(Relationship);\n\n  function setForArray(array) {\n    var set = new EmberDataOrderedSet();\n\n    if (array) {\n      for (var i = 0, l = array.length; i < l; i++) {\n        set.add(array[i]);\n      }\n    }\n\n    return set;\n  }\n\n  function _defineProperties$7(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\n  function _createClass$7(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$7(Constructor.prototype, protoProps); if (staticProps) _defineProperties$7(Constructor, staticProps); return Constructor; }\n\n  function _inheritsLoose$5(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\n  var BelongsToRelationship =\n  /*#__PURE__*/\n  function (_Relationship) {\n    _inheritsLoose$5(BelongsToRelationship, _Relationship);\n\n    function BelongsToRelationship(store, inverseKey, relationshipMeta, recordData, inverseIsAsync) {\n      var _this;\n\n      _this = _Relationship.call(this, store, inverseKey, relationshipMeta, recordData, inverseIsAsync) || this;\n      _this.inverseRecordData = void 0;\n      _this.canonicalState = void 0;\n      _this.key = void 0;\n      _this.key = relationshipMeta.key;\n      _this.inverseRecordData = null;\n      _this.canonicalState = null;\n      _this.key = relationshipMeta.key;\n      return _this;\n    }\n\n    var _proto = BelongsToRelationship.prototype;\n\n    _proto.setRecordData = function setRecordData(recordData) {\n      if (recordData) {\n        this.addRecordData(recordData);\n      } else if (this.inverseRecordData) {\n        this.removeRecordData(this.inverseRecordData);\n      }\n\n      this.setHasAnyRelationshipData(true);\n      this.setRelationshipIsStale(false);\n      this.setRelationshipIsEmpty(false);\n    };\n\n    _proto.setCanonicalRecordData = function setCanonicalRecordData(recordData) {\n      if (recordData) {\n        this.addCanonicalRecordData(recordData);\n      } else if (this.canonicalState) {\n        this.removeCanonicalRecordData(this.canonicalState);\n      }\n\n      this.flushCanonicalLater();\n    };\n\n    _proto.setInitialCanonicalRecordData = function setInitialCanonicalRecordData(recordData) {\n      if (!recordData) {\n        return;\n      } // When we initialize a belongsTo relationship, we want to avoid work like\n      // notifying our internalModel that we've \"changed\" and excessive thrash on\n      // setting up inverse relationships\n\n\n      this.canonicalMembers.add(recordData);\n      this.members.add(recordData);\n      this.inverseRecordData = this.canonicalState = recordData;\n      this.setupInverseRelationship(recordData);\n    };\n\n    _proto.addCanonicalRecordData = function addCanonicalRecordData(recordData) {\n      if (this.canonicalMembers.has(recordData)) {\n        return;\n      }\n\n      if (this.canonicalState) {\n        this.removeCanonicalRecordData(this.canonicalState);\n      }\n\n      this.canonicalState = recordData;\n\n      _Relationship.prototype.addCanonicalRecordData.call(this, recordData);\n\n      this.setHasAnyRelationshipData(true);\n      this.setRelationshipIsEmpty(false);\n    };\n\n    _proto.inverseDidDematerialize = function inverseDidDematerialize() {\n      _Relationship.prototype.inverseDidDematerialize.call(this, this.inverseRecordData);\n\n      this.notifyBelongsToChange();\n    };\n\n    _proto.removeCompletelyFromOwn = function removeCompletelyFromOwn(recordData) {\n      _Relationship.prototype.removeCompletelyFromOwn.call(this, recordData);\n\n      if (this.canonicalState === recordData) {\n        this.canonicalState = null;\n      }\n\n      if (this.inverseRecordData === recordData) {\n        this.inverseRecordData = null;\n        this.notifyBelongsToChange();\n      }\n    };\n\n    _proto.removeCompletelyFromInverse = function removeCompletelyFromInverse() {\n      _Relationship.prototype.removeCompletelyFromInverse.call(this);\n\n      this.inverseRecordData = null;\n    };\n\n    _proto.flushCanonical = function flushCanonical() {\n      //temporary fix to not remove newly created records if server returned null.\n      //TODO remove once we have proper diffing\n      if (this.inverseRecordData && this.inverseRecordData.isNew() && !this.canonicalState) {\n        this.willSync = false;\n        return;\n      }\n\n      if (this.inverseRecordData !== this.canonicalState) {\n        this.inverseRecordData = this.canonicalState;\n        this.notifyBelongsToChange();\n      }\n\n      _Relationship.prototype.flushCanonical.call(this);\n    };\n\n    _proto.addRecordData = function addRecordData(recordData) {\n      if (this.members.has(recordData)) {\n        return;\n      } // TODO Igor cleanup\n\n\n      Debug.assertPolymorphicType(this.recordData, this.relationshipMeta, recordData, this.store);\n\n      if (this.inverseRecordData) {\n        this.removeRecordData(this.inverseRecordData);\n      }\n\n      this.inverseRecordData = recordData;\n\n      _Relationship.prototype.addRecordData.call(this, recordData);\n\n      this.notifyBelongsToChange();\n    };\n\n    _proto.removeRecordDataFromOwn = function removeRecordDataFromOwn(recordData) {\n      if (!this.members.has(recordData)) {\n        return;\n      }\n\n      this.inverseRecordData = null;\n\n      _Relationship.prototype.removeRecordDataFromOwn.call(this, recordData);\n\n      this.notifyBelongsToChange();\n    };\n\n    _proto.removeAllRecordDatasFromOwn = function removeAllRecordDatasFromOwn() {\n      _Relationship.prototype.removeAllRecordDatasFromOwn.call(this);\n\n      this.inverseRecordData = null;\n      this.notifyBelongsToChange();\n    };\n\n    _proto.notifyBelongsToChange = function notifyBelongsToChange() {\n      var recordData = this.recordData;\n      var storeWrapper = this.recordData.storeWrapper;\n      storeWrapper.notifyBelongsToChange(recordData.modelName, recordData.id, recordData.clientId, this.key);\n    };\n\n    _proto.removeCanonicalRecordDataFromOwn = function removeCanonicalRecordDataFromOwn(recordData) {\n      if (!this.canonicalMembers.has(recordData)) {\n        return;\n      }\n\n      this.canonicalState = null;\n      this.setHasAnyRelationshipData(true);\n      this.setRelationshipIsEmpty(true);\n\n      _Relationship.prototype.removeCanonicalRecordDataFromOwn.call(this, recordData);\n    };\n\n    _proto.removeAllCanonicalRecordDatasFromOwn = function removeAllCanonicalRecordDatasFromOwn() {\n      _Relationship.prototype.removeAllCanonicalRecordDatasFromOwn.call(this);\n\n      this.canonicalState = null;\n    };\n\n    _proto.getData = function getData() {\n      var data;\n      var payload = {};\n\n      if (this.inverseRecordData) {\n        data = this.inverseRecordData.getResourceIdentifier();\n      }\n\n      if (this.inverseRecordData === null && this.hasAnyRelationshipData) {\n        data = null;\n      }\n\n      if (this.link) {\n        payload.links = {\n          related: this.link\n        };\n      }\n\n      if (data !== undefined) {\n        payload.data = data;\n      }\n\n      if (this.meta) {\n        payload.meta = this.meta;\n      }\n\n      payload._relationship = this;\n      return payload;\n    }\n    /**\n     * Flag indicating whether all inverse records are available\n     *\n     * true if the inverse exists and is loaded (not empty)\n     * true if there is no inverse\n     * false if the inverse exists and is not loaded (empty)\n     *\n     * @return {boolean}\n     */\n    ;\n\n    _proto.updateData = function updateData(data, initial) {\n      var recordData;\n\n      if (Ember.isNone(data)) {\n        recordData = null;\n      }\n\n      ( !(data === null || data.id !== undefined && data.type !== undefined) && Ember.assert(\"Ember Data expected the data for the \" + this.key + \" relationship on a \" + this.recordData.toString() + \" to be in a JSON API format and include an `id` and `type` property but it found \" + Ember.inspect(data) + \". Please check your serializer and make sure it is serializing the relationship payload into a JSON API format.\", data === null || data.id !== undefined && data.type !== undefined));\n\n      if (recordData !== null) {\n        recordData = this.recordData.storeWrapper.recordDataFor(data.type, data.id);\n      }\n\n      if (initial) {\n        this.setInitialCanonicalRecordData(recordData);\n      } else {\n        this.setCanonicalRecordData(recordData);\n      }\n    };\n\n    _createClass$7(BelongsToRelationship, [{\n      key: \"allInverseRecordsAreLoaded\",\n      get: function get() {\n        var recordData = this.inverseRecordData;\n        var isEmpty = recordData !== null && recordData.isEmpty();\n        return !isEmpty;\n      }\n    }]);\n\n    return BelongsToRelationship;\n  }(Relationship);\n\n  function createRelationshipFor(relationshipMeta, store, recordData, key) {\n    var inverseKey = recordData.storeWrapper.inverseForRelationship(recordData.modelName, key);\n    var inverseIsAsync = recordData.storeWrapper.inverseIsAsyncForRelationship(recordData.modelName, key);\n\n    if (relationshipMeta.kind === 'hasMany') {\n      return new ManyRelationship(store, inverseKey, relationshipMeta, recordData, inverseIsAsync);\n    } else {\n      return new BelongsToRelationship(store, inverseKey, relationshipMeta, recordData, inverseIsAsync);\n    }\n  }\n\n  var Relationships =\n  /*#__PURE__*/\n  function () {\n    function Relationships(recordData) {\n      this.recordData = void 0;\n      this.initializedRelationships = void 0;\n      this.recordData = recordData;\n      this.initializedRelationships = Object.create(null);\n    }\n\n    var _proto = Relationships.prototype;\n\n    _proto.has = function has(key) {\n      return !!this.initializedRelationships[key];\n    };\n\n    _proto.forEach = function forEach(cb) {\n      var rels = this.initializedRelationships;\n      Object.keys(rels).forEach(function (name) {\n        cb(name, rels[name]);\n      });\n    };\n\n    _proto.get = function get(key) {\n      var relationships = this.initializedRelationships;\n      var relationship = relationships[key];\n\n      if (!relationship) {\n        var recordData = this.recordData;\n        var rel = this.recordData.storeWrapper.relationshipsDefinitionFor(this.recordData.modelName)[key];\n\n        if (rel) {\n          relationship = relationships[key] = createRelationshipFor(rel, recordData.store, recordData, key);\n        }\n      }\n\n      return relationship;\n    };\n\n    return Relationships;\n  }();\n\n  function _defineProperties$8(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\n  function _createClass$8(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$8(Constructor.prototype, protoProps); if (staticProps) _defineProperties$8(Constructor, staticProps); return Constructor; }\n  var nextBfsId = 1;\n\n  var RecordDataDefault =\n  /*#__PURE__*/\n  function () {\n    function RecordDataDefault(modelName, id, clientId, storeWrapper, store) {\n      this.store = void 0;\n      this.modelName = void 0;\n      this.__relationships = void 0;\n      this.__implicitRelationships = void 0;\n      this.clientId = void 0;\n      this.id = void 0;\n      this.storeWrapper = void 0;\n      this.isDestroyed = void 0;\n      this._isNew = void 0;\n      this._bfsId = void 0;\n      this.__attributes = void 0;\n      this.__inFlightAttributes = void 0;\n      this.__data = void 0;\n      this._scheduledDestroy = void 0;\n      this.store = store;\n      this.modelName = modelName;\n      this.__relationships = null;\n      this.__implicitRelationships = null;\n      this.clientId = clientId;\n      this.id = id;\n      this.storeWrapper = storeWrapper;\n      this.isDestroyed = false;\n      this._isNew = false; // Used during the mark phase of unloading to avoid checking the same internal\n      // model twice in the same scan\n\n      this._bfsId = 0;\n      this.reset();\n    } // PUBLIC API\n\n\n    var _proto = RecordDataDefault.prototype;\n\n    _proto.getResourceIdentifier = function getResourceIdentifier() {\n      return {\n        id: this.id,\n        type: this.modelName,\n        clientId: this.clientId\n      };\n    };\n\n    _proto.pushData = function pushData(data, calculateChange) {\n      var changedKeys;\n\n      if (calculateChange) {\n        changedKeys = this._changedKeys(data.attributes);\n      }\n\n      Ember.assign(this._data, data.attributes);\n\n      if (this.__attributes) {\n        // only do if we have attribute changes\n        this._updateChangedAttributes();\n      }\n\n      if (data.relationships) {\n        this._setupRelationships(data);\n      }\n\n      if (data.id) {\n        this.id = coerceId(data.id);\n      }\n\n      return changedKeys;\n    };\n\n    _proto.willCommit = function willCommit() {\n      this._inFlightAttributes = this._attributes;\n      this._attributes = null;\n    };\n\n    _proto.hasChangedAttributes = function hasChangedAttributes() {\n      return this.__attributes !== null && Object.keys(this.__attributes).length > 0;\n    } // this is a hack bc we don't have access to the state machine\n    //   and relationships need this info and @runspired didn't see\n    //   how to get it just yet from storeWrapper.\n    ;\n\n    _proto.isEmpty = function isEmpty() {\n      return this.__attributes === null && this.__inFlightAttributes === null && this.__data === null;\n    };\n\n    _proto.reset = function reset() {\n      this.__attributes = null;\n      this.__inFlightAttributes = null;\n      this.__data = null;\n    };\n\n    _proto._setupRelationships = function _setupRelationships(data) {\n      var relationships = this.storeWrapper.relationshipsDefinitionFor(this.modelName);\n      var keys = Object.keys(relationships);\n\n      for (var i = 0; i < keys.length; i++) {\n        var relationshipName = keys[i];\n\n        if (!data.relationships[relationshipName]) {\n          continue;\n        } // in debug, assert payload validity eagerly\n\n\n        var relationshipData = data.relationships[relationshipName];\n\n        {\n          var store = this.store;\n          var recordData = this;\n          var relationshipMeta = relationships[relationshipName];\n\n          if (!relationshipData || !relationshipMeta) {\n            continue;\n          }\n\n          if (relationshipData.links) {\n            var isAsync = relationshipMeta.options && relationshipMeta.options.async !== false;\n\n            var _relationship = this._relationships.get(relationshipName);\n\n            ( Ember.warn(\"You pushed a record of type '\" + this.modelName + \"' with a relationship '\" + relationshipName + \"' 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 || relationshipData.data || _relationship.hasAnyRelationshipData, {\n              id: 'ds.store.push-link-for-sync-relationship'\n            }));\n          } else if (relationshipData.data) {\n            if (relationshipMeta.kind === 'belongsTo') {\n              ( !(!Array.isArray(relationshipData.data)) && Ember.assert(\"A \" + this.modelName + \" record was pushed into the store with the value of \" + relationshipName + \" being \" + Ember.inspect(relationshipData.data) + \", but \" + relationshipName + \" is a belongsTo relationship so the value must not be an array. You should probably check your data payload or serializer.\", !Array.isArray(relationshipData.data)));\n              assertRelationshipData(store, recordData, relationshipData.data, relationshipMeta);\n            } else if (relationshipMeta.kind === 'hasMany') {\n              ( !(Array.isArray(relationshipData.data)) && Ember.assert(\"A \" + this.modelName + \" record was pushed into the store with the value of \" + relationshipName + \" being '\" + Ember.inspect(relationshipData.data) + \"', but \" + relationshipName + \" is a hasMany relationship so the value must be an array. You should probably check your data payload or serializer.\", Array.isArray(relationshipData.data)));\n\n              if (Array.isArray(relationshipData.data)) {\n                for (var _i = 0; _i < relationshipData.data.length; _i++) {\n                  assertRelationshipData(store, recordData, relationshipData.data[_i], relationshipMeta);\n                }\n              }\n            }\n          }\n        }\n\n        var relationship = this._relationships.get(relationshipName);\n\n        relationship.push(relationshipData);\n      }\n    }\n    /*\n      Checks if the attributes which are considered as changed are still\n      different to the state which is acknowledged by the server.\n       This method is needed when data for the internal model is pushed and the\n      pushed data might acknowledge dirty attributes as confirmed.\n       @method updateChangedAttributes\n      @private\n     */\n    ;\n\n    _proto._updateChangedAttributes = function _updateChangedAttributes() {\n      var changedAttributes = this.changedAttributes();\n      var changedAttributeNames = Object.keys(changedAttributes);\n      var attrs = this._attributes;\n\n      for (var i = 0, length = changedAttributeNames.length; i < length; i++) {\n        var attribute = changedAttributeNames[i];\n        var data = changedAttributes[attribute];\n        var oldData = data[0];\n        var newData = data[1];\n\n        if (oldData === newData) {\n          delete attrs[attribute];\n        }\n      }\n    }\n    /*\n      Returns an object, whose keys are changed properties, and value is an\n      [oldProp, newProp] array.\n       @method changedAttributes\n      @private\n    */\n    ;\n\n    _proto.changedAttributes = function changedAttributes() {\n      var oldData = this._data;\n      var currentData = this._attributes;\n      var inFlightData = this._inFlightAttributes;\n      var newData = Ember.assign({}, inFlightData, currentData);\n      var diffData = Object.create(null);\n      var newDataKeys = Object.keys(newData);\n\n      for (var i = 0, length = newDataKeys.length; i < length; i++) {\n        var _key = newDataKeys[i];\n        diffData[_key] = [oldData[_key], newData[_key]];\n      }\n\n      return diffData;\n    };\n\n    _proto.isNew = function isNew() {\n      return this._isNew;\n    };\n\n    _proto.rollbackAttributes = function rollbackAttributes() {\n      var dirtyKeys;\n\n      if (this.hasChangedAttributes()) {\n        dirtyKeys = Object.keys(this._attributes);\n        this._attributes = null;\n      }\n\n      if (this.isNew()) {\n        this.removeFromInverseRelationships(true);\n      }\n\n      this._inFlightAttributes = null;\n      return dirtyKeys;\n    };\n\n    _proto.didCommit = function didCommit(data) {\n      this._isNew = false;\n      var newCanonicalAttributes = null;\n\n      if (data) {\n        // this.store._internalModelDidReceiveRelationshipData(this.modelName, this.id, data.relationships);\n        if (data.relationships) {\n          this._setupRelationships(data);\n        }\n\n        if (data.id) {\n          // didCommit provided an ID, notify the store of it\n          this.storeWrapper.setRecordId(this.modelName, data.id, this.clientId);\n          this.id = coerceId(data.id);\n        }\n\n        newCanonicalAttributes = data.attributes || null;\n      }\n\n      var changedKeys = this._changedKeys(newCanonicalAttributes);\n\n      Ember.assign(this._data, this.__inFlightAttributes, newCanonicalAttributes);\n      this._inFlightAttributes = null;\n\n      this._updateChangedAttributes();\n\n      return changedKeys;\n    } // get ResourceIdentifiers for \"current state\"\n    ;\n\n    _proto.getHasMany = function getHasMany(key) {\n      return this._relationships.get(key).getData();\n    } // set a new \"current state\" via ResourceIdentifiers\n    ;\n\n    _proto.setDirtyHasMany = function setDirtyHasMany(key, recordDatas) {\n      var relationship = this._relationships.get(key);\n\n      relationship.clear();\n      relationship.addRecordDatas(recordDatas);\n    } // append to \"current state\" via RecordDatas\n    ;\n\n    _proto.addToHasMany = function addToHasMany(key, recordDatas, idx) {\n      this._relationships.get(key).addRecordDatas(recordDatas, idx);\n    } // remove from \"current state\" via RecordDatas\n    ;\n\n    _proto.removeFromHasMany = function removeFromHasMany(key, recordDatas) {\n      this._relationships.get(key).removeRecordDatas(recordDatas);\n    };\n\n    _proto.commitWasRejected = function commitWasRejected() {\n      var keys = Object.keys(this._inFlightAttributes);\n\n      if (keys.length > 0) {\n        var attrs = this._attributes;\n\n        for (var i = 0; i < keys.length; i++) {\n          if (attrs[keys[i]] === undefined) {\n            attrs[keys[i]] = this._inFlightAttributes[keys[i]];\n          }\n        }\n      }\n\n      this._inFlightAttributes = null;\n    };\n\n    _proto.getBelongsTo = function getBelongsTo(key) {\n      return this._relationships.get(key).getData();\n    };\n\n    _proto.setDirtyBelongsTo = function setDirtyBelongsTo(key, recordData) {\n      this._relationships.get(key).setRecordData(recordData);\n    };\n\n    _proto.setDirtyAttribute = function setDirtyAttribute(key, value) {\n      var originalValue; // Add the new value to the changed attributes hash\n\n      this._attributes[key] = value;\n\n      if (key in this._inFlightAttributes) {\n        originalValue = this._inFlightAttributes[key];\n      } else {\n        originalValue = this._data[key];\n      } // If we went back to our original value, we shouldn't keep the attribute around anymore\n\n\n      if (value === originalValue) {\n        delete this._attributes[key];\n      }\n    };\n\n    _proto.getAttr = function getAttr(key) {\n      if (key in this._attributes) {\n        return this._attributes[key];\n      } else if (key in this._inFlightAttributes) {\n        return this._inFlightAttributes[key];\n      } else {\n        return this._data[key];\n      }\n    };\n\n    _proto.hasAttr = function hasAttr(key) {\n      return key in this._attributes || key in this._inFlightAttributes || key in this._data;\n    };\n\n    _proto.unloadRecord = function unloadRecord() {\n      if (this.isDestroyed) {\n        return;\n      }\n\n      this._destroyRelationships();\n\n      this.reset();\n\n      if (!this._scheduledDestroy) {\n        this._scheduledDestroy = Ember.run.backburner.schedule('destroy', this, '_cleanupOrphanedRecordDatas');\n      }\n    };\n\n    _proto._cleanupOrphanedRecordDatas = function _cleanupOrphanedRecordDatas() {\n      var relatedRecordDatas = this._allRelatedRecordDatas();\n\n      if (areAllModelsUnloaded(relatedRecordDatas)) {\n        for (var i = 0; i < relatedRecordDatas.length; ++i) {\n          var recordData = relatedRecordDatas[i];\n\n          if (!recordData.isDestroyed) {\n            recordData.destroy();\n          }\n        }\n      }\n\n      this._scheduledDestroy = null;\n    };\n\n    _proto.destroy = function destroy() {\n      this._relationships.forEach(function (name, rel) {\n        return rel.destroy();\n      });\n\n      this.isDestroyed = true;\n      this.storeWrapper.disconnectRecord(this.modelName, this.id, this.clientId);\n    };\n\n    _proto.isRecordInUse = function isRecordInUse() {\n      return this.storeWrapper.isRecordInUse(this.modelName, this.id, this.clientId);\n    }\n    /**\n      Computes the set of internal models reachable from `this` across exactly one\n      relationship.\n       @return {Array} An array containing the internal models that `this` belongs\n      to or has many.\n     */\n    ;\n\n    _proto._directlyRelatedRecordDatas = function _directlyRelatedRecordDatas() {\n      var array = [];\n\n      this._relationships.forEach(function (name, rel) {\n        var members = rel.members.list;\n        var canonicalMembers = rel.canonicalMembers.list;\n        array = array.concat(members, canonicalMembers);\n      });\n\n      return array;\n    }\n    /**\n      Computes the set of internal models reachable from this internal model.\n       Reachability is determined over the relationship graph (ie a graph where\n      nodes are internal models and edges are belongs to or has many\n      relationships).\n       @return {Array} An array including `this` and all internal models reachable\n      from `this`.\n    */\n    ;\n\n    _proto._allRelatedRecordDatas = function _allRelatedRecordDatas() {\n      var array = [];\n      var queue = [];\n      var bfsId = nextBfsId++;\n      queue.push(this);\n      this._bfsId = bfsId;\n\n      while (queue.length > 0) {\n        var node = queue.shift();\n        array.push(node);\n\n        var related = node._directlyRelatedRecordDatas();\n\n        for (var i = 0; i < related.length; ++i) {\n          var recordData = related[i];\n\n          if (recordData instanceof RecordDataDefault) {\n            ( !(recordData._bfsId <= bfsId) && Ember.assert('Internal Error: seen a future bfs iteration', recordData._bfsId <= bfsId));\n\n            if (recordData._bfsId < bfsId) {\n              queue.push(recordData);\n              recordData._bfsId = bfsId;\n            }\n          }\n        }\n      }\n\n      return array;\n    };\n\n    _proto.isAttrDirty = function isAttrDirty(key) {\n      if (this._attributes[key] === undefined) {\n        return false;\n      }\n\n      var originalValue;\n\n      if (this._inFlightAttributes[key] !== undefined) {\n        originalValue = this._inFlightAttributes[key];\n      } else {\n        originalValue = this._data[key];\n      }\n\n      return originalValue !== this._attributes[key];\n    };\n\n    /**\n     * Receives options passed to `store.createRecord` and is given the opportunity\n     * to handle them.\n     *\n     * The return value is an object of options to pass to `Record.create()`\n     *\n     * @param options\n     * @private\n     */\n    _proto._initRecordCreateOptions = function _initRecordCreateOptions(options) {\n      var createOptions = {};\n\n      if (options !== undefined) {\n        var modelName = this.modelName,\n            storeWrapper = this.storeWrapper;\n        var attributeDefs = storeWrapper.attributesDefinitionFor(modelName);\n        var relationshipDefs = storeWrapper.relationshipsDefinitionFor(modelName);\n        var relationships = this._relationships;\n        var propertyNames = Object.keys(options);\n\n        for (var i = 0; i < propertyNames.length; i++) {\n          var name = propertyNames[i];\n          var propertyValue = options[name];\n\n          if (name === 'id') {\n            this.id = propertyValue;\n            continue;\n          }\n\n          var fieldType = relationshipDefs[name] || attributeDefs[name];\n          var kind = fieldType !== undefined ? fieldType.kind : null;\n          var relationship = void 0;\n\n          switch (kind) {\n            case 'attribute':\n              this.setDirtyAttribute(name, propertyValue);\n              break;\n\n            case 'belongsTo':\n              this.setDirtyBelongsTo(name, propertyValue);\n              relationship = relationships.get(name);\n              relationship.setHasAnyRelationshipData(true);\n              relationship.setRelationshipIsEmpty(false);\n              break;\n\n            case 'hasMany':\n              this.setDirtyHasMany(name, propertyValue);\n              relationship = relationships.get(name);\n              relationship.setHasAnyRelationshipData(true);\n              relationship.setRelationshipIsEmpty(false);\n              break;\n\n            default:\n              // reflect back (pass-thru) unknown properties\n              createOptions[name] = propertyValue;\n          }\n        }\n      }\n\n      return createOptions;\n    }\n    /*\n        TODO IGOR AND DAVID this shouldn't be public\n     This method should only be called by records in the `isNew()` state OR once the record\n     has been deleted and that deletion has been persisted.\n      It will remove this record from any associated relationships.\n      If `isNew` is true (default false), it will also completely reset all\n      relationships to an empty state as well.\n       @method removeFromInverseRelationships\n      @param {Boolean} isNew whether to unload from the `isNew` perspective\n      @private\n     */\n    ;\n\n    _proto.removeFromInverseRelationships = function removeFromInverseRelationships(isNew) {\n      if (isNew === void 0) {\n        isNew = false;\n      }\n\n      this._relationships.forEach(function (name, rel) {\n        rel.removeCompletelyFromInverse();\n\n        if (isNew === true) {\n          rel.clear();\n        }\n      });\n\n      var implicitRelationships = this._implicitRelationships;\n      this.__implicitRelationships = null;\n      Object.keys(implicitRelationships).forEach(function (key) {\n        var rel = implicitRelationships[key];\n        rel.removeCompletelyFromInverse();\n\n        if (isNew === true) {\n          rel.clear();\n        }\n      });\n    };\n\n    _proto._destroyRelationships = function _destroyRelationships() {\n      var relationships = this._relationships;\n      relationships.forEach(function (name, rel) {\n        return destroyRelationship(rel);\n      });\n      var implicitRelationships = this._implicitRelationships;\n      this.__implicitRelationships = null;\n      Object.keys(implicitRelationships).forEach(function (key) {\n        var rel = implicitRelationships[key];\n        destroyRelationship(rel);\n      });\n    };\n\n    _proto.clientDidCreate = function clientDidCreate() {\n      this._isNew = true;\n    }\n    /*\n      Ember Data has 3 buckets for storing the value of an attribute on an internalModel.\n       `_data` holds all of the attributes that have been acknowledged by\n      a backend via the adapter. When rollbackAttributes is called on a model all\n      attributes will revert to the record's state in `_data`.\n       `_attributes` holds any change the user has made to an attribute\n      that has not been acknowledged by the adapter. Any values in\n      `_attributes` are have priority over values in `_data`.\n       `_inFlightAttributes`. When a record is being synced with the\n      backend the values in `_attributes` are copied to\n      `_inFlightAttributes`. This way if the backend acknowledges the\n      save but does not return the new state Ember Data can copy the\n      values from `_inFlightAttributes` to `_data`. Without having to\n      worry about changes made to `_attributes` while the save was\n      happenign.\n        Changed keys builds a list of all of the values that may have been\n      changed by the backend after a successful save.\n       It does this by iterating over each key, value pair in the payload\n      returned from the server after a save. If the `key` is found in\n      `_attributes` then the user has a local changed to the attribute\n      that has not been synced with the server and the key is not\n      included in the list of changed keys.\n    \n      If the value, for a key differs from the value in what Ember Data\n      believes to be the truth about the backend state (A merger of the\n      `_data` and `_inFlightAttributes` objects where\n      `_inFlightAttributes` has priority) then that means the backend\n      has updated the value and the key is added to the list of changed\n      keys.\n       @method _changedKeys\n      @private\n    */\n\n    /*\n        TODO 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    ;\n\n    _proto._changedKeys = function _changedKeys(updates) {\n      var changedKeys = [];\n\n      if (updates) {\n        var original, i, value, _key2;\n\n        var keys = Object.keys(updates);\n        var length = keys.length;\n        var hasAttrs = this.hasChangedAttributes();\n        var attrs;\n\n        if (hasAttrs) {\n          attrs = this._attributes;\n        }\n\n        original = Ember.assign(Object.create(null), this._data, this.__inFlightAttributes);\n\n        for (i = 0; i < length; i++) {\n          _key2 = keys[i];\n          value = updates[_key2]; // A value in _attributes means the user has a local change to\n          // this attributes. 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\n          if (hasAttrs === true && attrs[_key2] !== undefined) {\n            continue;\n          }\n\n          if (!Ember.isEqual(original[_key2], value)) {\n            changedKeys.push(_key2);\n          }\n        }\n      }\n\n      return changedKeys;\n    };\n\n    _proto.toString = function toString() {\n      return \"<\" + this.modelName + \":\" + this.id + \">\";\n    };\n\n    _createClass$8(RecordDataDefault, [{\n      key: \"_attributes\",\n      get: function get() {\n        if (this.__attributes === null) {\n          this.__attributes = Object.create(null);\n        }\n\n        return this.__attributes;\n      },\n      set: function set(v) {\n        this.__attributes = v;\n      }\n    }, {\n      key: \"_relationships\",\n      get: function get() {\n        if (this.__relationships === null) {\n          this.__relationships = new Relationships(this);\n        }\n\n        return this.__relationships;\n      }\n    }, {\n      key: \"_data\",\n      get: function get() {\n        if (this.__data === null) {\n          this.__data = Object.create(null);\n        }\n\n        return this.__data;\n      },\n      set: function set(v) {\n        this.__data = v;\n      }\n      /*\n       implicit relationships are relationship 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 Model.extend({\n         name: attr()\n       });\n       ```\n        but there is also\n        ```app/models/post.js\n       import Model, { attr, hasMany } from '@ember-data/model';\n        export default Model.extend({\n         name: attr(),\n         comments: hasMany('comment')\n       });\n       ```\n        would have a implicit post relationship in order to be do things like remove ourselves from the post\n       when we are deleted\n      */\n\n    }, {\n      key: \"_implicitRelationships\",\n      get: function get() {\n        if (this.__implicitRelationships === null) {\n          var relationships = Object.create(null);\n          this.__implicitRelationships = relationships;\n          return relationships;\n        }\n\n        return this.__implicitRelationships;\n      }\n    }, {\n      key: \"_inFlightAttributes\",\n      get: function get() {\n        if (this.__inFlightAttributes === null) {\n          this.__inFlightAttributes = Object.create(null);\n        }\n\n        return this.__inFlightAttributes;\n      },\n      set: function set(v) {\n        this.__inFlightAttributes = v;\n      }\n    }]);\n\n    return RecordDataDefault;\n  }();\n\n  function assertRelationshipData(store, recordData, data, meta) {\n    ( !(!Array.isArray(data)) && Ember.assert(\"A \" + recordData.modelName + \" 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    ( !(data === null || typeof data.type === 'string' && data.type.length) && Ember.assert(\"Encountered a relationship identifier without a type for the \" + meta.kind + \" relationship '\" + meta.key + \"' on \" + recordData + \", expected a json-api identifier with type '\" + meta.type + \"' but found '\" + JSON.stringify(data) + \"'. Please check your serializer and make sure it is serializing the relationship payload into a JSON API format.\", data === null || typeof data.type === 'string' && data.type.length));\n    ( !(data === null || !!coerceId(data.id)) && Ember.assert(\"Encountered a relationship identifier without an id for the \" + meta.kind + \" relationship '\" + meta.key + \"' on \" + recordData + \", expected a json-api identifier but found '\" + JSON.stringify(data) + \"'. Please check your serializer and make sure it is serializing the relationship payload into a JSON API format.\", data === null || !!coerceId(data.id)));\n    ( !(data === null || !data.type || store._hasModelFor(data.type)) && Ember.assert(\"Encountered a relationship identifier with type '\" + data.type + \"' for the \" + meta.kind + \" relationship '\" + meta.key + \"' on \" + recordData + \", Expected a json-api identifier with type '\" + meta.type + \"'. No model was found for '\" + data.type + \"'.\", data === null || !data.type || store._hasModelFor(data.type)));\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 internalModel as an id-wrapper for references and because the graph is\n  // disconnected we can actually destroy the internalModel when checking for\n  // orphaned models.\n\n\n  function destroyRelationship(rel) {\n    rel.recordDataDidDematerialize();\n\n    if (rel._inverseIsSync()) {\n      rel.removeAllRecordDatasFromOwn();\n      rel.removeAllCanonicalRecordDatasFromOwn();\n    }\n  }\n\n  function areAllModelsUnloaded(recordDatas) {\n    for (var i = 0; i < recordDatas.length; ++i) {\n      if (recordDatas[i].isRecordInUse()) {\n        return false;\n      }\n    }\n\n    return true;\n  }\n\n  var backburner = new Ember._Backburner(['normalizeRelationships', 'syncRelationships', 'finished']);\n\n  {\n    Ember.Test.registerWaiter(function () {\n      return !backburner.currentInstance && !backburner.hasTimers();\n    });\n  }\n\n  var badIdFormatAssertion = '`id` passed to `findRecord()` has to be non-empty string or number';\n  var emberRun$1 = Ember.run.backburner;\n  var ENV = Ember.ENV;\n  var globalClientIdCounter = 1; //Get the materialized model from the internalModel/promise that returns\n  //an internal model and return it in a promiseObject. Useful for returning\n  //from find methods\n\n  function promiseRecord(internalModelPromise, label) {\n    var toReturn = internalModelPromise.then(function (internalModel) {\n      return internalModel.getRecord();\n    });\n    return promiseObject(toReturn, label);\n  } // Implementors Note:\n  //\n  //   The variables in this file are consistently named according to the following\n  //   scheme:\n  //\n  //   * +id+ means an identifier managed by an external source, provided inside\n  //     the data provided by that source. These are always coerced to be strings\n  //     before being used internally.\n  //   * +clientId+ means a transient numerical identifier generated at runtime by\n  //     the data store. It is important primarily because newly created objects may\n  //     not yet have an externally generated id.\n  //   * +internalModel+ means a record internalModel object, which holds metadata about a\n  //     record, even if it has not yet been fully materialized.\n  //   * +type+ means a Model.\n\n  /**\n    The store contains all of the data for records loaded from the server.\n    It is also responsible for creating instances of `Model` that wrap\n    the individual data for a record, so that they can be bound to in your\n    Handlebars templates.\n\n    Define your application's store like this:\n\n    ```app/services/store.js\n    import Store from '@ember-data/store';\n\n    export default Store.extend({\n    });\n    ```\n\n    Most Ember.js applications will only have a single `Store` that is\n    automatically created by their `Ember.Application`.\n\n    You can retrieve models from the store in several ways. To retrieve a record\n    for a specific id, use `Store`'s `findRecord()` method:\n\n    ```javascript\n    store.findRecord('person', 123).then(function (person) {\n    });\n    ```\n\n    By default, the store will talk to your backend using a standard\n    REST mechanism. You can customize how the store talks to your\n    backend by specifying a custom adapter:\n\n    ```app/adapters/application.js\n    import Adapter from '@ember-data/adapter';\n\n    export default Adapter.extend({\n    });\n    ```\n\n    You can learn more about writing a custom adapter by reading the `Adapter`\n    documentation.\n\n    ### Store createRecord() vs. push() vs. pushPayload()\n\n    The store provides multiple ways to create new record objects. They have\n    some subtle differences in their use which are detailed below:\n\n    [createRecord](#method_createRecord) is used for creating new\n    records on the client side. This will return a new record in the\n    `created.uncommitted` state. In order to persist this record to the\n    backend, you will need to call `record.save()`.\n\n    [push](#method_push) is used to notify Ember Data's store of new or\n    updated records that exist in the backend. This will return a record\n    in the `loaded.saved` state. The primary use-case for `store#push` is\n    to notify Ember Data about record updates (full or partial) that happen\n    outside of the normal adapter methods (for example\n    [SSE](http://dev.w3.org/html5/eventsource/) or [Web\n    Sockets](http://www.w3.org/TR/2009/WD-websockets-20091222/)).\n\n    [pushPayload](#method_pushPayload) is a convenience wrapper for\n    `store#push` that will deserialize payloads if the\n    Serializer implements a `pushPayload` method.\n\n    Note: When creating a new record using any of the above methods\n    Ember Data will update `RecordArray`s such as those returned by\n    `store#peekAll()` or `store#findAll()`. This means any\n    data bindings or computed properties that depend on the RecordArray\n    will automatically be synced to include the new or updated record\n    values.\n\n    @class Store\n    @extends Ember.Service\n  */\n\n\n  var Store = Ember.Service.extend({\n    /**\n      @method init\n      @private\n    */\n    init: function init() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n\n      this._backburner = backburner; // internal bookkeeping; not observable\n\n      this.recordArrayManager = new RecordArrayManager({\n        store: this\n      });\n      this._identityMap = new IdentityMap(); // To keep track of clientIds for newly created records\n\n      this._newlyCreated = new IdentityMap();\n      this._pendingSave = [];\n      this._modelFactoryCache = Object.create(null);\n      this._relationshipsDefCache = Object.create(null);\n      this._attributesDefCache = Object.create(null);\n      /*\n        Ember Data uses several specialized micro-queues for organizing\n        and coalescing similar async work.\n         These queues are currently controlled by a flush scheduled into\n        ember-data's custom backburner instance.\n       */\n      // used for coalescing record save requests\n\n      this._pendingSave = []; // used for coalescing relationship updates\n\n      this._updatedRelationships = []; // used for coalescing relationship setup needs\n\n      this._pushedInternalModels = []; // used for coalescing internal model updates\n\n      this._updatedInternalModels = []; // used to keep track of all the find requests that need to be coalesced\n\n      this._pendingFetch = new Map();\n      this._adapterCache = Object.create(null);\n      this._serializerCache = Object.create(null);\n      this.storeWrapper = new RecordDataStoreWrapper(this);\n\n      {\n        this.shouldAssertMethodCallsOnDestroyedStore = this.shouldAssertMethodCallsOnDestroyedStore || false;\n\n        if (this.shouldTrackAsyncRequests === undefined) {\n          this.shouldTrackAsyncRequests = false;\n        }\n\n        if (this.generateStackTracesForTrackedRequests === undefined) {\n          this.generateStackTracesForTrackedRequests = false;\n        }\n\n        this._trackedAsyncRequests = [];\n\n        this._trackAsyncRequestStart = function (label) {\n          var trace = 'set `store.generateStackTracesForTrackedRequests = true;` to get a detailed trace for where this request originated';\n\n          if (_this.generateStackTracesForTrackedRequests) {\n            try {\n              throw new Error(\"EmberData TrackedRequest: \" + label);\n            } catch (e) {\n              trace = e;\n            }\n          }\n\n          var token = Object.freeze({\n            label: label,\n            trace: trace\n          });\n\n          _this._trackedAsyncRequests.push(token);\n\n          return token;\n        };\n\n        this._trackAsyncRequestEnd = function (token) {\n          var index = _this._trackedAsyncRequests.indexOf(token);\n\n          if (index === -1) {\n            throw new Error(\"Attempted to end tracking for the following request but it was not being tracked:\\n\" + token);\n          }\n\n          _this._trackedAsyncRequests.splice(index, 1);\n        };\n\n        this.__asyncWaiter = function () {\n          var shouldTrack = _this.shouldTrackAsyncRequests;\n          var tracked = _this._trackedAsyncRequests;\n          var isSettled = tracked.length === 0;\n          return shouldTrack !== true || isSettled;\n        };\n\n        Ember.Test.registerWaiter(this.__asyncWaiter);\n      }\n    },\n\n    /**\n      The default adapter to use to communicate to a backend server or\n      other persistence layer. This will be overridden by an application\n      adapter if present.\n       If you want to specify `app/adapters/custom.js` as a string, do:\n       ```js\n      import Store from '@ember-data/store';\n       export default Store.extend({\n        adapter: 'custom',\n      });\n      ```\n       @property adapter\n      @default '-json-api'\n      @type {String}\n    */\n    adapter: '-json-api',\n\n    /**\n      This property returns the adapter, after resolving a possible\n      string key.\n       If the supplied `adapter` was a class, or a String property\n      path resolved to a class, this property will instantiate the\n      class.\n       This property is cacheable, so the same instance of a specified\n      adapter class should be used for the lifetime of the store.\n       @property defaultAdapter\n      @private\n      @return Adapter\n    */\n    defaultAdapter: Ember.computed('adapter', function () {\n      var adapter = Ember.get(this, 'adapter');\n      ( !(typeof adapter === 'string') && Ember.assert('You tried to set `adapter` property to an instance of `Adapter`, where it should be a name', typeof adapter === 'string'));\n      return this.adapterFor(adapter);\n    }),\n    // .....................\n    // . CREATE NEW RECORD .\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      @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: function createRecord(modelName, inputProperties) {\n      var _this2 = this;\n\n      {\n        assertDestroyingStore(this, 'createRecord');\n      }\n\n      ( !(Ember.isPresent(modelName)) && Ember.assert(\"You need to pass a model name to the store's createRecord method\", Ember.isPresent(modelName)));\n      ( !(typeof modelName === 'string') && Ember.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\n      return emberRun$1.join(function () {\n        return _this2._backburner.join(function () {\n          var normalizedModelName = normalizeModelName(modelName);\n          var properties = Ember.assign({}, inputProperties); // 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 (Ember.isNone(properties.id)) {\n            properties.id = _this2._generateId(normalizedModelName, properties);\n          } // Coerce ID to a string\n\n\n          properties.id = coerceId(properties.id);\n\n          var internalModel = _this2._buildInternalModel(normalizedModelName, properties.id);\n\n          internalModel.loadedData(); // TODO this exists just to proxy `isNew` to RecordData which is weird\n\n          internalModel.didCreateRecord();\n          return internalModel.getRecord(properties);\n        });\n      });\n    },\n\n    /**\n      If possible, this method asks the adapter to generate an ID for\n      a newly created record.\n       @method _generateId\n      @private\n      @param {String} modelName\n      @param {Object} properties from the new record\n      @return {String} if the adapter can generate one, an ID\n    */\n    _generateId: function _generateId(modelName, properties) {\n      var adapter = this.adapterFor(modelName);\n\n      if (adapter && adapter.generateIdForRecord) {\n        return adapter.generateIdForRecord(this, modelName, properties);\n      }\n\n      return null;\n    },\n    // .................\n    // . DELETE 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      @param {Model} record\n    */\n    deleteRecord: function deleteRecord(record) {\n      {\n        assertDestroyingStore(this, 'deleteRecord');\n      }\n\n      record.deleteRecord();\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      @param {Model} record\n    */\n    unloadRecord: function unloadRecord(record) {\n      {\n        assertDestroyingStore(this, 'unloadRecord');\n      }\n\n      record.unloadRecord();\n    },\n    // ................\n    // . FIND RECORDS .\n    // ................\n\n    /**\n      @method find\n      @param {String} modelName\n      @param {String|Integer} id\n      @param {Object} options\n      @return {Promise} promise\n      @private\n    */\n    find: function find(modelName, id, options) {\n      {\n        assertDestroyingStore(this, 'find');\n      } // The default `model` hook in Route calls `find(modelName, id)`,\n      // that's why we have to keep this method around even though `findRecord` is\n      // the public way to get a record by modelName and id.\n\n\n      ( !(arguments.length !== 1) && Ember.assert(\"Using store.find(type) has been removed. Use store.findAll(modelName) to retrieve all records for a given type.\", arguments.length !== 1));\n      ( !(!options) && Ember.assert(\"Calling store.find(modelName, id, { preload: preload }) is no longer supported. Use store.findRecord(modelName, id, { preload: preload }) instead.\", !options));\n      ( !(arguments.length === 2) && Ember.assert(\"You need to pass the model name and id to the store's find method\", arguments.length === 2));\n      ( !(typeof id === 'string' || typeof id === 'number') && Ember.assert(\"You cannot pass '\" + id + \"' as id to the store's find method\", typeof id === 'string' || typeof id === 'number'));\n      ( !(typeof id !== 'object') && Ember.assert(\"Calling store.find() with a query object is no longer supported. Use store.query() instead.\", typeof id !== 'object'));\n      ( !(typeof modelName === 'string') && Ember.assert(\"Passing classes to store methods has been removed. Please pass a dasherized string instead of \" + modelName, typeof modelName === 'string'));\n      return this.findRecord(modelName, id);\n    },\n\n    /**\n      This method returns a record for a given type and id combination.\n       The `findRecord` method will always resolve its promise with the same\n      object for a given type and `id`.\n       The `findRecord` method will always return a **promise** that will be\n      resolved with the record.\n       Example\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);\n        }\n      });\n      ```\n       If the record is not yet available, the store will ask the adapter's `find`\n      method to find the necessary data. If the record is already present in the\n      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 fetching the post you can pass in the post to the `findRecord` call:\n       ```javascript\n      store.findRecord('comment', 2, { preload: { post: 1 } });\n      ```\n       If you have access to the post model you can also pass the model itself:\n       ```javascript\n      store.findRecord('post', 1).then(function (myPostModel) {\n        store.findRecord('comment', 2, { post: myPostModel });\n      });\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.get('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 ApplicationAdapter.extend({\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.get('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.get('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 Route.extend({\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 you adapter via the snapshot\n       ```app/routes/post/edit.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, {\n            adapterOptions: { subscribe: false }\n          });\n        }\n      });\n      ```\n       ```app/adapters/post.js\n      import MyCustomAdapter from './custom-adapter';\n       export default MyCustomAdapter.extend({\n        findRecord(store, type, id, snapshot) {\n          if (snapshot.adapterOptions.subscribe) {\n            // ...\n          }\n          // ...\n        }\n      });\n      ```\n       See [peekRecord](#method_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`](https://emberjs.com/api/data/classes/DS.JSONAPIAdapter.html)\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()` 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 Route.extend({\n        model(params) {\n          return this.store.findRecord('post', params.post_id, { include: 'comments' });\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 Route.extend({\n        model(params) {\n          return this.store.findRecord('post', params.post_id, { include: 'comments,comments.author' });\n        }\n      });\n       ```\n       @since 1.13.0\n      @method findRecord\n      @param {String} modelName\n      @param {(String|Integer)} id\n      @param {Object} [options]\n      @param {Object} preload - optional set of attributes and relationships passed in either as IDs or as actual models\n      @return {Promise} promise\n    */\n    findRecord: function findRecord(modelName, id, options) {\n      {\n        assertDestroyingStore(this, 'findRecord');\n      }\n\n      ( !(Ember.isPresent(modelName)) && Ember.assert(\"You need to pass a model name to the store's findRecord method\", Ember.isPresent(modelName)));\n      ( !(typeof modelName === 'string') && Ember.assert(\"Passing classes to store methods has been removed. Please pass a dasherized string instead of \" + modelName, typeof modelName === 'string'));\n      ( !(typeof id === 'string' && id.length > 0 || typeof id === 'number' && !isNaN(id)) && Ember.assert(badIdFormatAssertion, typeof id === 'string' && id.length > 0 || typeof id === 'number' && !isNaN(id)));\n      var normalizedModelName = normalizeModelName(modelName);\n\n      var internalModel = this._internalModelForId(normalizedModelName, id);\n\n      options = options || {};\n\n      if (!this.hasRecordForId(normalizedModelName, id)) {\n        return this._findByInternalModel(internalModel, options);\n      }\n\n      var fetchedInternalModel = this._findRecord(internalModel, options);\n\n      return promiseRecord(fetchedInternalModel, \"DS: Store#findRecord \" + normalizedModelName + \" with id: \" + id);\n    },\n    _findRecord: function _findRecord(internalModel, options) {\n      // Refetch if the reload option is passed\n      if (options.reload) {\n        return this._scheduleFetch(internalModel, options);\n      }\n\n      var snapshot = internalModel.createSnapshot(options);\n      var adapter = this.adapterFor(internalModel.modelName); // Refetch the record if the adapter thinks the record is stale\n\n      if (adapter.shouldReloadRecord(this, snapshot)) {\n        return this._scheduleFetch(internalModel, options);\n      }\n\n      if (options.backgroundReload === false) {\n        return Ember.RSVP.Promise.resolve(internalModel);\n      } // Trigger the background refetch if backgroundReload option is passed\n\n\n      if (options.backgroundReload || adapter.shouldBackgroundReloadRecord(this, snapshot)) {\n        this._scheduleFetch(internalModel, options);\n      } // Return the cached record\n\n\n      return Ember.RSVP.Promise.resolve(internalModel);\n    },\n    _findByInternalModel: function _findByInternalModel(internalModel, options) {\n      if (options === void 0) {\n        options = {};\n      }\n\n      if (options.preload) {\n        internalModel.preloadData(options.preload);\n      }\n\n      var fetchedInternalModel = this._findEmptyInternalModel(internalModel, options);\n\n      return promiseRecord(fetchedInternalModel, \"DS: Store#findRecord \" + internalModel.modelName + \" with id: \" + internalModel.id);\n    },\n    _findEmptyInternalModel: function _findEmptyInternalModel(internalModel, options) {\n      if (internalModel.isEmpty()) {\n        return this._scheduleFetch(internalModel, options);\n      } //TODO double check about reloading\n\n\n      if (internalModel.isLoading()) {\n        return internalModel._promiseProxy;\n      }\n\n      return Ember.RSVP.Promise.resolve(internalModel);\n    },\n\n    /**\n      This method makes a series of requests to the adapter's `find` method\n      and returns a promise that resolves once they are all loaded.\n       @private\n      @method findByIds\n      @param {String} modelName\n      @param {Array} ids\n      @return {Promise} promise\n    */\n    findByIds: function findByIds(modelName, ids) {\n      {\n        assertDestroyingStore(this, 'findByIds');\n      }\n\n      ( !(Ember.isPresent(modelName)) && Ember.assert(\"You need to pass a model name to the store's findByIds method\", Ember.isPresent(modelName)));\n      ( !(typeof modelName === 'string') && Ember.assert(\"Passing classes to store methods has been removed. Please pass a dasherized string instead of \" + modelName, typeof modelName === 'string'));\n      var promises = new Array(ids.length);\n      var normalizedModelName = normalizeModelName(modelName);\n\n      for (var i = 0; i < ids.length; i++) {\n        promises[i] = this.findRecord(normalizedModelName, ids[i]);\n      }\n\n      return promiseArray(Ember.RSVP.all(promises).then(Ember.A, null, \"DS: Store#findByIds of \" + normalizedModelName + \" complete\"));\n    },\n\n    /**\n      This method is called by `findRecord` if it discovers that a particular\n      type/id pair hasn't been loaded yet to kick off a request to the\n      adapter.\n       @method _fetchRecord\n      @private\n      @param {InternalModel} internalModel model\n      @return {Promise} promise\n     */\n    _fetchRecord: function _fetchRecord(internalModel, options) {\n      var modelName = internalModel.modelName;\n      var adapter = this.adapterFor(modelName);\n      ( !(adapter) && Ember.assert(\"You tried to find a record but you have no adapter (for \" + modelName + \")\", adapter));\n      ( !(typeof adapter.findRecord === 'function') && Ember.assert(\"You tried to find a record but your adapter (for \" + modelName + \") does not implement 'findRecord'\", typeof adapter.findRecord === 'function'));\n      return _find(adapter, this, internalModel.type, internalModel.id, internalModel, options);\n    },\n    _scheduleFetchMany: function _scheduleFetchMany(internalModels, options) {\n      var fetches = new Array(internalModels.length);\n\n      for (var i = 0; i < internalModels.length; i++) {\n        fetches[i] = this._scheduleFetch(internalModels[i], options);\n      }\n\n      return Ember.RSVP.Promise.all(fetches);\n    },\n    _scheduleFetch: function _scheduleFetch(internalModel, options) {\n      if (internalModel._promiseProxy) {\n        return internalModel._promiseProxy;\n      }\n\n      var id = internalModel.id,\n          modelName = internalModel.modelName;\n      var resolver = Ember.RSVP.defer(\"Fetching \" + modelName + \"' with id: \" + id);\n      var pendingFetchItem = {\n        internalModel: internalModel,\n        resolver: resolver,\n        options: options\n      };\n\n      {\n        if (this.generateStackTracesForTrackedRequests === true) {\n          var trace;\n\n          try {\n            throw new Error(\"Trace Origin for scheduled fetch for \" + modelName + \":\" + id + \".\");\n          } catch (e) {\n            trace = e;\n          } // enable folks to discover the origin of this findRecord call when\n          // debugging. Ideally we would have a tracked queue for requests with\n          // labels or local IDs that could be used to merge this trace with\n          // the trace made available when we detect an async leak\n\n\n          pendingFetchItem.trace = trace;\n        }\n      }\n\n      var promise = resolver.promise;\n      internalModel.loadingData(promise);\n\n      if (this._pendingFetch.size === 0) {\n        emberRun$1.schedule('actions', this, this.flushAllPendingFetches);\n      }\n\n      var fetches = this._pendingFetch;\n\n      if (!fetches.has(modelName)) {\n        fetches.set(modelName, []);\n      }\n\n      fetches.get(modelName).push(pendingFetchItem);\n      return promise;\n    },\n    flushAllPendingFetches: function flushAllPendingFetches() {\n      if (this.isDestroyed || this.isDestroying) {\n        return;\n      }\n\n      this._pendingFetch.forEach(this._flushPendingFetchForType, this);\n\n      this._pendingFetch.clear();\n    },\n    _flushPendingFetchForType: function _flushPendingFetchForType(pendingFetchItems, modelName) {\n      var store = this;\n      var adapter = store.adapterFor(modelName);\n      var shouldCoalesce = !!adapter.findMany && adapter.coalesceFindRequests;\n      var totalItems = pendingFetchItems.length;\n      var internalModels = new Array(totalItems);\n      var seeking = Object.create(null);\n      var optionsMap = new WeakMap();\n\n      for (var _i = 0; _i < totalItems; _i++) {\n        var pendingItem = pendingFetchItems[_i];\n        var _internalModel = pendingItem.internalModel;\n        internalModels[_i] = _internalModel;\n        optionsMap.set(_internalModel, pendingItem.options);\n        seeking[_internalModel.id] = pendingItem;\n      }\n\n      function _fetchRecord(recordResolverPair) {\n        var recordFetch = store._fetchRecord(recordResolverPair.internalModel, recordResolverPair.options);\n\n        recordResolverPair.resolver.resolve(recordFetch);\n      }\n\n      function handleFoundRecords(foundInternalModels, expectedInternalModels) {\n        // resolve found records\n        var found = Object.create(null);\n\n        for (var _i2 = 0, _l = foundInternalModels.length; _i2 < _l; _i2++) {\n          var _internalModel2 = foundInternalModels[_i2];\n          var _pair = seeking[_internalModel2.id];\n          found[_internalModel2.id] = _internalModel2;\n\n          if (_pair) {\n            var resolver = _pair.resolver;\n            resolver.resolve(_internalModel2);\n          }\n        } // reject missing records\n\n\n        var missingInternalModels = [];\n\n        for (var _i3 = 0, _l2 = expectedInternalModels.length; _i3 < _l2; _i3++) {\n          var _internalModel3 = expectedInternalModels[_i3];\n\n          if (!found[_internalModel3.id]) {\n            missingInternalModels.push(_internalModel3);\n          }\n        }\n\n        if (missingInternalModels.length) {\n          ( Ember.warn('Ember Data expected to find records with the following ids in the adapter response but they were missing: [ \"' + missingInternalModels.map(function (r) {\n            return r.id;\n          }).join('\", \"') + '\" ]', false, {\n            id: 'ds.store.missing-records-from-adapter'\n          }));\n          rejectInternalModels(missingInternalModels);\n        }\n      }\n\n      function rejectInternalModels(internalModels, error) {\n        for (var _i4 = 0, _l3 = internalModels.length; _i4 < _l3; _i4++) {\n          var _internalModel4 = internalModels[_i4];\n          var _pair2 = seeking[_internalModel4.id];\n\n          if (_pair2) {\n            _pair2.resolver.reject(error || new Error(\"Expected: '\" + _internalModel4 + \"' to be present in the adapter provided payload, but it was not found.\"));\n          }\n        }\n      }\n\n      if (shouldCoalesce) {\n        // TODO: Improve records => snapshots => records => snapshots\n        //\n        // We want to provide records to all store methods and snapshots to all\n        // adapter methods. To make sure we're doing that we're providing an array\n        // of snapshots to adapter.groupRecordsForFindMany(), which in turn will\n        // return grouped snapshots instead of grouped records.\n        //\n        // But since the _findMany() finder is a store method we need to get the\n        // records from the grouped snapshots even though the _findMany() finder\n        // will once again convert the records to snapshots for adapter.findMany()\n        var snapshots = new Array(totalItems);\n\n        for (var _i5 = 0; _i5 < totalItems; _i5++) {\n          snapshots[_i5] = internalModels[_i5].createSnapshot(optionsMap.get(internalModel));\n        }\n\n        var groups = adapter.groupRecordsForFindMany(this, snapshots);\n\n        for (var i = 0, l = groups.length; i < l; i++) {\n          var group = groups[i];\n          var totalInGroup = groups[i].length;\n          var ids = new Array(totalInGroup);\n          var groupedInternalModels = new Array(totalInGroup);\n\n          for (var j = 0; j < totalInGroup; j++) {\n            var internalModel = group[j]._internalModel;\n            groupedInternalModels[j] = internalModel;\n            ids[j] = internalModel.id;\n          }\n\n          if (totalInGroup > 1) {\n            (function (groupedInternalModels) {\n              _findMany(adapter, store, modelName, ids, groupedInternalModels, optionsMap).then(function (foundInternalModels) {\n                handleFoundRecords(foundInternalModels, groupedInternalModels);\n              }).catch(function (error) {\n                rejectInternalModels(groupedInternalModels, error);\n              });\n            })(groupedInternalModels);\n          } else if (ids.length === 1) {\n            var pair = seeking[groupedInternalModels[0].id];\n\n            _fetchRecord(pair);\n          } else {\n            ( Ember.assert(\"You cannot return an empty array from adapter's method groupRecordsForFindMany\", false));\n          }\n        }\n      } else {\n        for (var _i6 = 0; _i6 < totalItems; _i6++) {\n          _fetchRecord(pendingFetchItems[_i6]);\n        }\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      @param {String} modelName\n      @param {String|Integer} id\n      @since 2.5.0\n      @return {RecordReference}\n    */\n    getReference: function getReference(modelName, id) {\n      {\n        assertDestroyingStore(this, 'getReference');\n      }\n\n      var normalizedModelName = normalizeModelName(modelName);\n      return this._internalModelForId(normalizedModelName, id).recordReference;\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](#method_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       ```js\n      let post = store.peekRecord('post', 1);\n       post.get('id'); // 1\n      ```\n       @since 1.13.0\n      @method peekRecord\n      @param {String} modelName\n      @param {String|Integer} id\n      @return {Model|null} record\n    */\n    peekRecord: function peekRecord(modelName, id) {\n      {\n        assertDestroyingStore(this, 'peekRecord');\n      }\n\n      ( !(Ember.isPresent(modelName)) && Ember.assert(\"You need to pass a model name to the store's peekRecord method\", Ember.isPresent(modelName)));\n      ( !(Ember.isPresent(modelName) && Ember.isPresent(id)) && Ember.assert(\"You need to pass both a model name and id to the store's peekRecord method\", Ember.isPresent(modelName) && Ember.isPresent(id)));\n      ( !(typeof modelName === 'string') && Ember.assert(\"Passing classes to store methods has been removed. Please pass a dasherized string instead of \" + modelName, typeof modelName === 'string'));\n      var normalizedModelName = normalizeModelName(modelName);\n\n      if (this.hasRecordForId(normalizedModelName, id)) {\n        return this._internalModelForId(normalizedModelName, id).getRecord();\n      } else {\n        return null;\n      }\n    },\n\n    /**\n      This method is called by the record's `reload` method.\n       This method calls the adapter's `find` method, which returns a promise. When\n      **that** promise resolves, `_reloadRecord` will resolve the promise returned\n      by the record's `reload`.\n       @method _reloadRecord\n      @private\n      @param {Model} internalModel\n      @param options optional to include adapterOptions\n      @return {Promise} promise\n    */\n    _reloadRecord: function _reloadRecord(internalModel, options) {\n      var id = internalModel.id,\n          modelName = internalModel.modelName;\n      var adapter = this.adapterFor(modelName);\n      ( !(id) && Ember.assert(\"You cannot reload a record without an ID\", id));\n      ( !(adapter) && Ember.assert(\"You tried to reload a record but you have no adapter (for \" + modelName + \")\", adapter));\n      ( !(typeof adapter.findRecord === 'function' || typeof adapter.find === 'function') && Ember.assert(\"You tried to reload a record but your adapter does not implement 'findRecord'\", typeof adapter.findRecord === 'function' || typeof adapter.find === 'function'));\n      return this._scheduleFetch(internalModel, options);\n    },\n\n    /**\n     This method returns true if a record for a given modelName and id is already\n     loaded in the store. Use this function to know beforehand if a findRecord()\n     will result in a request or that it will be a cache hit.\n      Example\n      ```javascript\n     store.hasRecordForId('post', 1); // false\n     store.findRecord('post', 1).then(function() {\n       store.hasRecordForId('post', 1); // true\n     });\n     ```\n       @method hasRecordForId\n      @param {String} modelName\n      @param {(String|Integer)} id\n      @return {Boolean}\n    */\n    hasRecordForId: function hasRecordForId(modelName, id) {\n      {\n        assertDestroyingStore(this, 'hasRecordForId');\n      }\n\n      ( !(Ember.isPresent(modelName)) && Ember.assert(\"You need to pass a model name to the store's hasRecordForId method\", Ember.isPresent(modelName)));\n      ( !(typeof modelName === 'string') && Ember.assert(\"Passing classes to store methods has been removed. Please pass a dasherized string instead of \" + modelName, typeof modelName === 'string'));\n      var normalizedModelName = normalizeModelName(modelName);\n      var trueId = coerceId(id);\n\n      var internalModel = this._internalModelsFor(normalizedModelName).get(trueId);\n\n      return !!internalModel && internalModel.isLoaded();\n    },\n\n    /**\n      Returns id record for a given type and ID. If one isn't already loaded,\n      it builds a new record and leaves it in the `empty` state.\n       @method recordForId\n      @private\n      @param {String} modelName\n      @param {(String|Integer)} id\n      @return {Model} record\n    */\n    recordForId: function recordForId(modelName, id) {\n      {\n        assertDestroyingStore(this, 'recordForId');\n      }\n\n      ( !(Ember.isPresent(modelName)) && Ember.assert(\"You need to pass a model name to the store's recordForId method\", Ember.isPresent(modelName)));\n      ( !(typeof modelName === 'string') && Ember.assert(\"Passing classes to store methods has been removed. Please pass a dasherized string instead of \" + modelName, typeof modelName === 'string'));\n      return this._internalModelForId(modelName, id).getRecord();\n    },\n    // directly get an internal model from ID map if it is there, without doing any\n    // processing\n    _getInternalModelForId: function _getInternalModelForId(modelName, id, clientId) {\n      var internalModel;\n\n      if (clientId) {\n        internalModel = this._newlyCreatedModelsFor(modelName).get(clientId);\n      }\n\n      if (!internalModel) {\n        internalModel = this._internalModelsFor(modelName).get(id);\n      }\n\n      return internalModel;\n    },\n    _internalModelForId: function _internalModelForId(modelName, id, clientId) {\n      var trueId = coerceId(id);\n\n      var internalModel = this._getInternalModelForId(modelName, trueId, clientId);\n\n      if (internalModel) {\n        // unloadRecord is async, if one attempts to unload + then sync push,\n        //   we must ensure the unload is canceled before continuing\n        //   The createRecord path will take _existingInternalModelForId()\n        //   which will call `destroySync` instead for this unload + then\n        //   sync createRecord scenario. Once we have true client-side\n        //   delete signaling, we should never call destroySync\n        if (internalModel.hasScheduledDestroy()) {\n          internalModel.cancelDestroy();\n        }\n\n        return internalModel;\n      }\n\n      return this._buildInternalModel(modelName, trueId, null, clientId);\n    },\n\n    /**\n      @method findMany\n      @private\n      @param {Array} internalModels\n      @return {Promise} promise\n    */\n    findMany: function findMany(internalModels, options) {\n      {\n        assertDestroyingStore(this, 'findMany');\n      }\n\n      var finds = new Array(internalModels.length);\n\n      for (var i = 0; i < internalModels.length; i++) {\n        finds[i] = this._findEmptyInternalModel(internalModels[i], options);\n      }\n\n      return Ember.RSVP.Promise.all(finds);\n    },\n\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       @method findHasMany\n      @private\n      @param {InternalModel} internalModel\n      @param {any} link\n      @param {(Relationship)} relationship\n      @return {Promise} promise\n    */\n    findHasMany: function findHasMany(internalModel, link, relationship, options) {\n      {\n        assertDestroyingStore(this, 'findHasMany');\n      }\n\n      var adapter = this.adapterFor(internalModel.modelName);\n      ( !(adapter) && Ember.assert(\"You tried to load a hasMany relationship but you have no adapter (for \" + internalModel.modelName + \")\", adapter));\n      ( !(typeof adapter.findHasMany === 'function') && Ember.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      return _findHasMany(adapter, this, internalModel, link, relationship, options);\n    },\n    _findHasManyByJsonApiResource: function _findHasManyByJsonApiResource(resource, parentInternalModel, relationshipMeta, options) {\n      var _this3 = this;\n\n      if (!resource) {\n        return Ember.RSVP.resolve([]);\n      }\n\n      var _resource$_relationsh = resource._relationship,\n          relationshipIsStale = _resource$_relationsh.relationshipIsStale,\n          allInverseRecordsAreLoaded = _resource$_relationsh.allInverseRecordsAreLoaded,\n          hasDematerializedInverse = _resource$_relationsh.hasDematerializedInverse,\n          hasAnyRelationshipData = _resource$_relationsh.hasAnyRelationshipData,\n          relationshipIsEmpty = _resource$_relationsh.relationshipIsEmpty;\n      var shouldFindViaLink = resource.links && resource.links.related && (hasDematerializedInverse || relationshipIsStale || !allInverseRecordsAreLoaded && !relationshipIsEmpty); // fetch via link\n\n      if (shouldFindViaLink) {\n        return this.findHasMany(parentInternalModel, resource.links.related, relationshipMeta, options).then(function (internalModels) {\n          var payload = {\n            data: internalModels.map(function (im) {\n              return recordDataFor(im).getResourceIdentifier();\n            })\n          };\n\n          if (internalModels.meta !== undefined) {\n            payload.meta = internalModels.meta;\n          }\n\n          parentInternalModel.linkWasLoadedForRelationship(relationshipMeta.key, payload);\n          return internalModels;\n        });\n      }\n\n      var preferLocalCache = hasAnyRelationshipData && !relationshipIsEmpty;\n      var hasLocalPartialData = hasDematerializedInverse || relationshipIsEmpty && Array.isArray(resource.data) && resource.data.length > 0; // fetch using data, pulling from local cache if possible\n\n      if (!relationshipIsStale && (preferLocalCache || hasLocalPartialData)) {\n        var internalModels = resource.data.map(function (json) {\n          return _this3._internalModelForResource(json);\n        });\n        return this.findMany(internalModels, options);\n      }\n\n      var hasData = hasAnyRelationshipData && !relationshipIsEmpty; // fetch by data\n\n      if (hasData || hasLocalPartialData) {\n        var _internalModels2 = resource.data.map(function (json) {\n          return _this3._internalModelForResource(json);\n        });\n\n        return this._scheduleFetchMany(_internalModels2, options);\n      } // we were explicitly told we have no data and no links.\n      //   TODO if the relationshipIsStale, should we hit the adapter anyway?\n\n\n      return Ember.RSVP.resolve([]);\n    },\n    _getHasManyByJsonApiResource: function _getHasManyByJsonApiResource(resource) {\n      var _this4 = this;\n\n      var internalModels = [];\n\n      if (resource && resource.data) {\n        internalModels = resource.data.map(function (reference) {\n          return _this4._internalModelForResource(reference);\n        });\n      }\n\n      return internalModels;\n    },\n\n    /**\n      @method findBelongsTo\n      @private\n      @param {InternalModel} internalModel\n      @param {any} link\n      @param {Relationship} relationship\n      @return {Promise} promise\n    */\n    findBelongsTo: function findBelongsTo(internalModel, link, relationship, options) {\n      {\n        assertDestroyingStore(this, 'findBelongsTo');\n      }\n\n      var adapter = this.adapterFor(internalModel.modelName);\n      ( !(adapter) && Ember.assert(\"You tried to load a belongsTo relationship but you have no adapter (for \" + internalModel.modelName + \")\", adapter));\n      ( !(typeof adapter.findBelongsTo === 'function') && Ember.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      return _findBelongsTo(adapter, this, internalModel, link, relationship, options);\n    },\n    _fetchBelongsToLinkFromResource: function _fetchBelongsToLinkFromResource(resource, parentInternalModel, relationshipMeta, options) {\n      if (!resource || !resource.links || !resource.links.related) {\n        // should we warn here, not sure cause its an internal method\n        return Ember.RSVP.resolve(null);\n      }\n\n      return this.findBelongsTo(parentInternalModel, resource.links.related, relationshipMeta, options).then(function (internalModel) {\n        var response = internalModel && recordDataFor(internalModel).getResourceIdentifier();\n\n        parentInternalModel.linkWasLoadedForRelationship(relationshipMeta.key, {\n          data: response\n        });\n\n        if (internalModel === null) {\n          return null;\n        } // TODO Igor this doesn't seem like the right boundary, probably the caller method should extract the record out\n\n\n        return internalModel.getRecord();\n      });\n    },\n    _findBelongsToByJsonApiResource: function _findBelongsToByJsonApiResource(resource, parentInternalModel, relationshipMeta, options) {\n      if (!resource) {\n        return Ember.RSVP.resolve(null);\n      }\n\n      var internalModel = resource.data ? this._internalModelForResource(resource.data) : null;\n      var _resource$_relationsh2 = resource._relationship,\n          relationshipIsStale = _resource$_relationsh2.relationshipIsStale,\n          allInverseRecordsAreLoaded = _resource$_relationsh2.allInverseRecordsAreLoaded,\n          hasDematerializedInverse = _resource$_relationsh2.hasDematerializedInverse,\n          hasAnyRelationshipData = _resource$_relationsh2.hasAnyRelationshipData,\n          relationshipIsEmpty = _resource$_relationsh2.relationshipIsEmpty;\n      var shouldFindViaLink = resource.links && resource.links.related && (hasDematerializedInverse || relationshipIsStale || !allInverseRecordsAreLoaded && !relationshipIsEmpty); // short circuit if we are already loading\n\n      if (internalModel && internalModel.isLoading()) {\n        return internalModel._promiseProxy.then(function () {\n          return internalModel.getRecord();\n        });\n      } // fetch via link\n\n\n      if (shouldFindViaLink) {\n        return this._fetchBelongsToLinkFromResource(resource, parentInternalModel, relationshipMeta, options);\n      }\n\n      var preferLocalCache = hasAnyRelationshipData && allInverseRecordsAreLoaded && !relationshipIsEmpty;\n      var hasLocalPartialData = hasDematerializedInverse || relationshipIsEmpty && resource.data; // null is explicit empty, undefined is \"we don't know anything\"\n\n      var localDataIsEmpty = resource.data === undefined || resource.data === null; // fetch using data, pulling from local cache if possible\n\n      if (!relationshipIsStale && (preferLocalCache || hasLocalPartialData)) {\n        /*\n          We have canonical data, but our local state is empty\n         */\n        if (localDataIsEmpty) {\n          return Ember.RSVP.resolve(null);\n        }\n\n        return this._findByInternalModel(internalModel, options);\n      }\n\n      var resourceIsLocal = !localDataIsEmpty && resource.data.id === null;\n\n      if (resourceIsLocal) {\n        return Ember.RSVP.resolve(internalModel.getRecord());\n      } // fetch by data\n\n\n      if (!localDataIsEmpty) {\n        return this._scheduleFetch(internalModel, options).then(function () {\n          return internalModel.getRecord();\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\n\n      return Ember.RSVP.resolve(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 an\n      [`AdapterPopulatedRecordArray`](https://emberjs.com/api/data/classes/DS.AdapterPopulatedRecordArray.html)\n      once the server returns.\n       @since 1.13.0\n      @method query\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: function query(modelName, _query2, options) {\n      {\n        assertDestroyingStore(this, 'query');\n      }\n\n      ( !(Ember.isPresent(modelName)) && Ember.assert(\"You need to pass a model name to the store's query method\", Ember.isPresent(modelName)));\n      ( !(_query2) && Ember.assert(\"You need to pass a query hash to the store's query method\", _query2));\n      ( !(typeof modelName === 'string') && Ember.assert(\"Passing classes to store methods has been removed. Please pass a dasherized string instead of \" + modelName, typeof modelName === 'string'));\n      var adapterOptionsWrapper = {};\n\n      if (options && options.adapterOptions) {\n        adapterOptionsWrapper.adapterOptions = options.adapterOptions;\n      }\n\n      var normalizedModelName = normalizeModelName(modelName);\n      return this._query(normalizedModelName, _query2, null, adapterOptionsWrapper);\n    },\n    _query: function _query$1(modelName, query, array, options) {\n      ( !(Ember.isPresent(modelName)) && Ember.assert(\"You need to pass a model name to the store's query method\", Ember.isPresent(modelName)));\n      ( !(query) && Ember.assert(\"You need to pass a query hash to the store's query method\", query));\n      ( !(typeof modelName === 'string') && Ember.assert(\"Passing classes to store methods has been removed. Please pass a dasherized string instead of \" + modelName, typeof modelName === 'string'));\n      var adapter = this.adapterFor(modelName);\n      ( !(adapter) && Ember.assert(\"You tried to load a query but you have no adapter (for \" + modelName + \")\", adapter));\n      ( !(typeof adapter.query === 'function') && Ember.assert(\"You tried to load a query but your adapter does not implement 'query'\", typeof adapter.query === 'function'));\n      return promiseArray(_query(adapter, this, modelName, query, array, options));\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`](#method_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.get('username');\n        console.log(`Currently logged in as ${username}`);\n      });\n      ```\n       The request is made through the adapters' `queryRecord`:\n       ```app/adapters/user.js\n      import $ from 'jquery';\n      import Adapter from '@ember-data/adapter';\n       export default Adapter.extend({\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.get('firstObject');\n      }).then(function(user) {\n        let id = user.get('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        console.log(user); // null\n      });\n      ```\n       @since 1.13.0\n      @method queryRecord\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: function queryRecord(modelName, query, options) {\n      {\n        assertDestroyingStore(this, 'queryRecord');\n      }\n\n      ( !(Ember.isPresent(modelName)) && Ember.assert(\"You need to pass a model name to the store's queryRecord method\", Ember.isPresent(modelName)));\n      ( !(query) && Ember.assert(\"You need to pass a query hash to the store's queryRecord method\", query));\n      ( !(typeof modelName === 'string') && Ember.assert(\"Passing classes to store methods has been removed. Please pass a dasherized string instead of \" + modelName, typeof modelName === 'string'));\n      var normalizedModelName = normalizeModelName(modelName);\n      var adapter = this.adapterFor(normalizedModelName);\n      var adapterOptionsWrapper = {};\n\n      if (options && options.adapterOptions) {\n        adapterOptionsWrapper.adapterOptions = options.adapterOptions;\n      }\n\n      ( !(adapter) && Ember.assert(\"You tried to make a query but you have no adapter (for \" + normalizedModelName + \")\", adapter));\n      ( !(typeof adapter.queryRecord === 'function') && Ember.assert(\"You tried to make a query but your adapter does not implement 'queryRecord'\", typeof adapter.queryRecord === 'function'));\n      return promiseObject(_queryRecord(adapter, this, normalizedModelName, query, adapterOptionsWrapper).then(function (internalModel) {\n        // the promise returned by store.queryRecord is expected to resolve with\n        // an instance of DS.Model\n        if (internalModel) {\n          return internalModel.getRecord();\n        }\n\n        return null;\n      }));\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 Route.extend({\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 Adapter.extend({\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 Route.extend({\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 Route.extend({\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 MyCustomAdapter.extend({\n        findAll(store, type, sinceToken, snapshotRecordArray) {\n          if (snapshotRecordArray.adapterOptions.subscribe) {\n            // ...\n          }\n          // ...\n        }\n      });\n      ```\n       See [peekAll](#method_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`](https://emberjs.com/api/data/classes/DS.JSONAPIAdapter.html)\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 Route.extend({\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 Route.extend({\n        model() {\n          return this.store.findAll('post', { include: 'comments,comments.author' });\n        }\n      });\n       ```\n       See [query](#method_query) to only get a subset of records from the server.\n       @since 1.13.0\n      @method findAll\n      @param {String} modelName\n      @param {Object} options\n      @return {Promise} promise\n    */\n    findAll: function findAll(modelName, options) {\n      {\n        assertDestroyingStore(this, 'findAll');\n      }\n\n      ( !(Ember.isPresent(modelName)) && Ember.assert(\"You need to pass a model name to the store's findAll method\", Ember.isPresent(modelName)));\n      ( !(typeof modelName === 'string') && Ember.assert(\"Passing classes to store methods has been removed. Please pass a dasherized string instead of \" + modelName, typeof modelName === 'string'));\n      var normalizedModelName = normalizeModelName(modelName);\n\n      var fetch = this._fetchAll(normalizedModelName, this.peekAll(normalizedModelName), options);\n\n      return fetch;\n    },\n\n    /**\n      @method _fetchAll\n      @private\n      @param {Model} modelName\n      @param {RecordArray} array\n      @return {Promise} promise\n    */\n    _fetchAll: function _fetchAll(modelName, array, options) {\n      if (options === void 0) {\n        options = {};\n      }\n\n      var adapter = this.adapterFor(modelName);\n\n      var sinceToken = this._internalModelsFor(modelName).metadata.since;\n\n      ( !(adapter) && Ember.assert(\"You tried to load all records but you have no adapter (for \" + modelName + \")\", adapter));\n      ( !(typeof adapter.findAll === 'function') && Ember.assert(\"You tried to load all records but your adapter does not implement 'findAll'\", typeof adapter.findAll === 'function'));\n\n      if (options.reload) {\n        Ember.set(array, 'isUpdating', true);\n        return promiseArray(_findAll(adapter, this, modelName, sinceToken, options));\n      }\n\n      var snapshotArray = array._createSnapshot(options);\n\n      if (adapter.shouldReloadAll(this, snapshotArray)) {\n        Ember.set(array, 'isUpdating', true);\n        return promiseArray(_findAll(adapter, this, modelName, sinceToken, options));\n      }\n\n      if (options.backgroundReload === false) {\n        return promiseArray(Ember.RSVP.Promise.resolve(array));\n      }\n\n      if (options.backgroundReload || adapter.shouldBackgroundReloadAll(this, snapshotArray)) {\n        Ember.set(array, 'isUpdating', true);\n\n        _findAll(adapter, this, modelName, sinceToken, options);\n      }\n\n      return promiseArray(Ember.RSVP.Promise.resolve(array));\n    },\n\n    /**\n      @method _didUpdateAll\n      @param {String} modelName\n      @private\n    */\n    _didUpdateAll: function _didUpdateAll(modelName) {\n      this.recordArrayManager._didUpdateAll(modelName);\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](#method_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      @param {String} modelName\n      @return {RecordArray}\n    */\n    peekAll: function peekAll(modelName) {\n      {\n        assertDestroyingStore(this, 'peekAll');\n      }\n\n      ( !(Ember.isPresent(modelName)) && Ember.assert(\"You need to pass a model name to the store's peekAll method\", Ember.isPresent(modelName)));\n      ( !(typeof modelName === 'string') && Ember.assert(\"Passing classes to store methods has been removed. Please pass a dasherized string instead of \" + modelName, typeof modelName === 'string'));\n      var normalizedModelName = normalizeModelName(modelName);\n      return this.recordArrayManager.liveRecordArrayFor(normalizedModelName);\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      @param {String} modelName\n    */\n    unloadAll: function unloadAll(modelName) {\n      {\n        assertDestroyedStoreOnly(this, 'unloadAll');\n      }\n\n      ( !(!modelName || typeof modelName === 'string') && Ember.assert(\"Passing classes to store methods has been removed. Please pass a dasherized string instead of \" + modelName, !modelName || typeof modelName === 'string'));\n\n      if (arguments.length === 0) {\n        this._identityMap.clear();\n      } else {\n        var normalizedModelName = normalizeModelName(modelName);\n\n        this._internalModelsFor(normalizedModelName).clear();\n      }\n    },\n    filter: function filter() {\n      ( Ember.assert('The filter API has been moved to a plugin. To enable store.filter using an environment flag, or to use an alternative, you can visit the ember-data-filter addon page. https://github.com/ember-data/ember-data-filter', false));\n    },\n    // ..............\n    // . PERSISTING .\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       @method scheduleSave\n      @private\n      @param {InternalModel} internalModel\n      @param {Resolver} resolver\n      @param {Object} options\n    */\n    scheduleSave: function scheduleSave(internalModel, resolver, options) {\n      var snapshot = internalModel.createSnapshot(options);\n      internalModel.adapterWillCommit();\n\n      this._pendingSave.push({\n        snapshot: snapshot,\n        resolver: resolver\n      });\n\n      emberRun$1.scheduleOnce('actions', this, this.flushPendingSave);\n    },\n\n    /**\n      This method is called at the end of the run loop, and\n      flushes any records passed into `scheduleSave`\n       @method flushPendingSave\n      @private\n    */\n    flushPendingSave: function flushPendingSave() {\n      var pending = this._pendingSave.slice();\n\n      this._pendingSave = [];\n\n      for (var i = 0, j = pending.length; i < j; i++) {\n        var pendingItem = pending[i];\n        var snapshot = pendingItem.snapshot;\n        var resolver = pendingItem.resolver;\n        var internalModel = snapshot._internalModel;\n        var adapter = this.adapterFor(internalModel.modelName);\n        var operation = void 0;\n\n        if (internalModel.currentState.stateName === 'root.deleted.saved') {\n          resolver.resolve();\n          continue;\n        } else if (internalModel.isNew()) {\n          operation = 'createRecord';\n        } else if (internalModel.isDeleted()) {\n          operation = 'deleteRecord';\n        } else {\n          operation = 'updateRecord';\n        }\n\n        resolver.resolve(_commit(adapter, this, operation, snapshot));\n      }\n    },\n\n    /**\n      This method is called once the promise returned by an\n      adapter's `createRecord`, `updateRecord` or `deleteRecord`\n      is resolved.\n       If the data provides a server-generated ID, it will\n      update the record and the store's indexes.\n       @method didSaveRecord\n      @private\n      @param {InternalModel} internalModel the in-flight internal model\n      @param {Object} data optional data (see above)\n    */\n    didSaveRecord: function didSaveRecord(internalModel, dataArg) {\n      {\n        assertDestroyingStore(this, 'didSaveRecord');\n      }\n\n      var data;\n\n      if (dataArg) {\n        data = dataArg.data;\n      }\n\n      if (!data) {\n        ( !(internalModel.id) && Ember.assert(\"Your \" + internalModel.modelName + \" 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.\", internalModel.id));\n      } //We first make sure the primary data has been updated\n      //TODO try to move notification to the user to the end of the runloop\n\n\n      internalModel.adapterDidCommit(data);\n    },\n\n    /**\n      This method is called once the promise returned by an\n      adapter's `createRecord`, `updateRecord` or `deleteRecord`\n      is rejected with a `InvalidError`.\n       @method recordWasInvalid\n      @private\n      @param {InternalModel} internalModel\n      @param {Object} errors\n    */\n    recordWasInvalid: function recordWasInvalid(internalModel, errors) {\n      {\n        assertDestroyingStore(this, 'recordWasInvalid');\n      }\n\n      internalModel.adapterDidInvalidate(errors);\n    },\n\n    /**\n      This method is called once the promise returned by an\n      adapter's `createRecord`, `updateRecord` or `deleteRecord`\n      is rejected (with anything other than a `InvalidError`).\n       @method recordWasError\n      @private\n      @param {InternalModel} internalModel\n      @param {Error} error\n    */\n    recordWasError: function recordWasError(internalModel, error) {\n      {\n        assertDestroyingStore(this, 'recordWasError');\n      }\n\n      internalModel.adapterDidError(error);\n    },\n\n    /**\n      Sets newly received ID from the adapter's `createRecord`, `updateRecord`\n      or `deleteRecord`.\n       @method setRecordId\n      @private\n      @param {String} modelName\n      @param {string} newId\n      @param {number} clientId\n     */\n    setRecordId: function setRecordId(modelName, newId, clientId) {\n      var trueId = coerceId(newId);\n\n      var internalModel = this._getInternalModelForId(modelName, trueId, clientId);\n\n      this._setRecordId(internalModel, newId, clientId);\n    },\n    _setRecordId: function _setRecordId(internalModel, id, clientId) {\n      {\n        assertDestroyingStore(this, 'setRecordId');\n      }\n\n      var oldId = internalModel.id;\n      var modelName = internalModel.modelName; // ID absolutely can't be missing if the oldID is empty (missing Id in response for a new record)\n\n      ( !(!(id === null && oldId === null)) && Ember.assert(\"'\" + modelName + \"' 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\n      ( !(!(oldId !== null && id !== oldId)) && Ember.assert(\"'\" + modelName + \":\" + oldId + \"' was saved to the server, but the response returned the new id '\" + id + \"'. The store cannot assign a new id to a record that already has an 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\n      if (oldId !== null && id === null) {\n        ( Ember.warn(\"Your \" + modelName + \" record was saved to the server, but the response does not have an id.\", !(oldId !== null && id === null)));\n        return;\n      }\n\n      var existingInternalModel = this._existingInternalModelForId(modelName, id);\n\n      ( !(Ember.isNone(existingInternalModel) || existingInternalModel === internalModel) && Ember.assert(\"'\" + modelName + \"' was saved to the server, but the response returned the new id '\" + id + \"', which has already been used with another record.'\", Ember.isNone(existingInternalModel) || existingInternalModel === internalModel));\n\n      this._internalModelsFor(internalModel.modelName).set(id, internalModel);\n\n      this._newlyCreatedModelsFor(internalModel.modelName).remove(internalModel, clientId);\n\n      internalModel.setId(id);\n    },\n\n    /**\n      Returns a map of IDs to client IDs for a given modelName.\n       @method _internalModelsFor\n      @private\n      @param {String} modelName\n      @return {Object} recordMap\n    */\n    _internalModelsFor: function _internalModelsFor(modelName) {\n      return this._identityMap.retrieve(modelName);\n    },\n    _newlyCreatedModelsFor: function _newlyCreatedModelsFor(modelName) {\n      return this._newlyCreated.retrieve(modelName);\n    },\n    // ................\n    // . LOADING DATA .\n    // ................\n\n    /**\n      This internal method is used by `push`.\n       @method _load\n      @private\n      @param {Object} data\n    */\n    _load: function _load(data) {\n      var modelName = normalizeModelName(data.type);\n\n      var internalModel = this._internalModelForId(modelName, data.id);\n\n      var isUpdate = internalModel.currentState.isEmpty === false;\n      internalModel.setupData(data);\n\n      if (isUpdate) {\n        this.recordArrayManager.recordDidChange(internalModel);\n      } else {\n        this.recordArrayManager.recordWasLoaded(internalModel);\n      }\n\n      return internalModel;\n    },\n\n    /**\n      Returns the model class for the particular `modelName`.\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`](https://emberjs.com/api/data/classes/DS.Model.html#property_relationshipNames)\n      for example.\n       @method modelFor\n      @param {String} modelName\n      @return {Model}\n    */\n    modelFor: function modelFor(modelName) {\n      {\n        assertDestroyedStoreOnly(this, 'modelFor');\n      }\n\n      ( !(Ember.isPresent(modelName)) && Ember.assert(\"You need to pass a model name to the store's modelFor method\", Ember.isPresent(modelName)));\n      ( !(typeof modelName === 'string') && Ember.assert(\"Passing classes to store methods has been removed. Please pass a dasherized string instead of \" + modelName, typeof modelName === 'string'));\n\n      var maybeFactory = this._modelFactoryFor(modelName); // for factorFor factory/class split\n\n\n      return maybeFactory.class ? maybeFactory.class : maybeFactory;\n    },\n    _modelFactoryFor: function _modelFactoryFor(modelName) {\n      {\n        assertDestroyedStoreOnly(this, '_modelFactoryFor');\n      }\n\n      ( !(Ember.isPresent(modelName)) && Ember.assert(\"You need to pass a model name to the store's _modelFactoryFor method\", Ember.isPresent(modelName)));\n      ( !(typeof modelName === 'string') && Ember.assert(\"Passing classes to store methods has been removed. Please pass a dasherized string instead of \" + modelName, typeof modelName === 'string'));\n      var normalizedModelName = normalizeModelName(modelName);\n      var factory = getModelFactory(this, this._modelFactoryCache, normalizedModelName);\n\n      if (factory === null) {\n        throw new Ember.Error(\"No model was found for '\" + normalizedModelName + \"'\");\n      }\n\n      return factory;\n    },\n\n    /*\n    Returns whether a ModelClass exists for a given modelName\n    This exists for legacy support for the RESTSerializer,\n    which due to how it must guess whether a key is a model\n    must query for whether a match exists.\n     We should investigate an RFC to make this public or removing\n    this requirement.\n     @private\n    */\n    _hasModelFor: function _hasModelFor(modelName) {\n      {\n        assertDestroyingStore(this, '_hasModelFor');\n      }\n\n      ( !(Ember.isPresent(modelName)) && Ember.assert(\"You need to pass a model name to the store's hasModelFor method\", Ember.isPresent(modelName)));\n      ( !(typeof modelName === 'string') && Ember.assert(\"Passing classes to store methods has been removed. Please pass a dasherized string instead of \" + modelName, typeof modelName === 'string'));\n      var normalizedModelName = normalizeModelName(modelName);\n      var factory = getModelFactory(this, this._modelFactoryCache, normalizedModelName);\n      return factory !== null;\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 - `DS.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 Model.extend({\n        firstName: attr('string'),\n        lastName: attr('string'),\n         children: hasMany('person')\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](#method_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      @param {Object} data\n      @return {Model|Array} the record(s) that was created or\n        updated.\n    */\n    push: function push(data) {\n      {\n        assertDestroyingStore(this, 'push');\n      }\n\n      var pushed = this._push(data);\n\n      if (Array.isArray(pushed)) {\n        var records = pushed.map(function (internalModel) {\n          return internalModel.getRecord();\n        });\n        return records;\n      }\n\n      if (pushed === null) {\n        return null;\n      }\n\n      var record = pushed.getRecord();\n      return record;\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 {InternalModel|Array<InternalModel>} pushed InternalModel(s)\n    */\n    _push: function _push(jsonApiDoc) {\n      var _this5 = this;\n\n      {\n        assertDestroyingStore(this, '_push');\n      }\n\n      var internalModelOrModels = this._backburner.join(function () {\n        var included = jsonApiDoc.included;\n        var i, length;\n\n        if (included) {\n          for (i = 0, length = included.length; i < length; i++) {\n            _this5._pushInternalModel(included[i]);\n          }\n        }\n\n        if (Array.isArray(jsonApiDoc.data)) {\n          length = jsonApiDoc.data.length;\n          var internalModels = new Array(length);\n\n          for (i = 0; i < length; i++) {\n            internalModels[i] = _this5._pushInternalModel(jsonApiDoc.data[i]);\n          }\n\n          return internalModels;\n        }\n\n        if (jsonApiDoc.data === null) {\n          return null;\n        }\n\n        ( !(Ember.typeOf(jsonApiDoc.data) === 'object') && Ember.assert(\"Expected an object in the 'data' property in a call to 'push' for \" + jsonApiDoc.type + \", but was \" + Ember.typeOf(jsonApiDoc.data), Ember.typeOf(jsonApiDoc.data) === 'object'));\n        return _this5._pushInternalModel(jsonApiDoc.data);\n      });\n\n      return internalModelOrModels;\n    },\n    _pushInternalModel: function _pushInternalModel(data) {\n      var modelName = data.type;\n      ( !(data.id !== null && data.id !== undefined && data.id !== '') && Ember.assert(\"You must include an 'id' for \" + modelName + \" in an object passed to 'push'\", data.id !== null && data.id !== undefined && data.id !== ''));\n      ( !(this._hasModelFor(modelName)) && Ember.assert(\"You tried to push data with a type '\" + modelName + \"' but no model could be found with that name.\", this._hasModelFor(modelName)));\n\n      {\n        // If ENV.DS_WARN_ON_UNKNOWN_KEYS is set to true and the payload\n        // contains unknown attributes or relationships, log a warning.\n        if (ENV.DS_WARN_ON_UNKNOWN_KEYS) {\n          var modelClass = this.modelFor(modelName); // Check unknown attributes\n\n          var unknownAttributes = Object.keys(data.attributes || {}).filter(function (key) {\n            return !Ember.get(modelClass, 'fields').has(key);\n          });\n          var unknownAttributesMessage = \"The payload for '\" + modelName + \"' contains these unknown attributes: \" + unknownAttributes + \". Make sure they've been defined in your model.\";\n          ( Ember.warn(unknownAttributesMessage, unknownAttributes.length === 0, {\n            id: 'ds.store.unknown-keys-in-payload'\n          })); // Check unknown relationships\n\n          var unknownRelationships = Object.keys(data.relationships || {}).filter(function (key) {\n            return !Ember.get(modelClass, 'fields').has(key);\n          });\n          var unknownRelationshipsMessage = \"The payload for '\" + modelName + \"' contains these unknown relationships: \" + unknownRelationships + \". Make sure they've been defined in your model.\";\n          ( Ember.warn(unknownRelationshipsMessage, unknownRelationships.length === 0, {\n            id: 'ds.store.unknown-keys-in-payload'\n          }));\n        }\n      } // Actually load the record into the store.\n\n\n      var internalModel = this._load(data); //    this._setupRelationshipsForModel(internalModel, data);\n\n\n      return internalModel;\n    },\n\n    /**\n      Push some raw data into the store.\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       ```app/serializers/application.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n       export default RESTSerializer;\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       store.pushPayload(pushData);\n      ```\n       By default, the data will be deserialized using a default\n      serializer (the application serializer if it exists).\n       Alternatively, `pushPayload` will accept a model type which\n      will determine which serializer will process the payload.\n       ```app/serializers/application.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n       export default RESTSerializer;\n      ```\n       ```app/serializers/post.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default JSONSerializer;\n      ```\n       ```js\n      store.pushPayload(pushData); // Will use the application serializer\n      store.pushPayload('post', pushData); // Will use the post serializer\n      ```\n       @method pushPayload\n      @param {String} modelName Optionally, a model type used to determine which serializer will be used\n      @param {Object} inputPayload\n    */\n    pushPayload: function pushPayload(modelName, inputPayload) {\n      {\n        assertDestroyingStore(this, 'pushPayload');\n      }\n\n      var serializer;\n      var payload;\n\n      if (!inputPayload) {\n        payload = modelName;\n        serializer = this.serializerFor('application');\n        ( !(typeof serializer.pushPayload === 'function') && Ember.assert(\"You cannot use 'store#pushPayload' without a modelName unless your default serializer defines 'pushPayload'\", typeof serializer.pushPayload === 'function'));\n      } else {\n        payload = inputPayload;\n        ( !(typeof modelName === 'string') && Ember.assert(\"Passing classes to store methods has been removed. Please pass a dasherized string instead of \" + modelName, typeof modelName === 'string'));\n        var normalizedModelName = normalizeModelName(modelName);\n        serializer = this.serializerFor(normalizedModelName);\n      }\n\n      serializer.pushPayload(this, payload);\n    },\n    reloadManyArray: function reloadManyArray(manyArray, internalModel, key, options) {\n      return internalModel.reloadHasMany(key, options);\n    },\n    reloadBelongsTo: function reloadBelongsTo(belongsToProxy, internalModel, key, options) {\n      return internalModel.reloadBelongsTo(key, options);\n    },\n    _relationshipMetaFor: function _relationshipMetaFor(modelName, id, key) {\n      var modelClass = this.modelFor(modelName);\n      var relationshipsByName = Ember.get(modelClass, 'relationshipsByName');\n      return relationshipsByName.get(key);\n    },\n    _attributesDefinitionFor: function _attributesDefinitionFor(modelName) {\n      var attributes = this._attributesDefCache[modelName];\n\n      if (attributes === undefined) {\n        var modelClass = this.modelFor(modelName);\n        var attributeMap = Ember.get(modelClass, 'attributes');\n        attributes = Object.create(null);\n        attributeMap.forEach(function (meta, name) {\n          return attributes[name] = meta;\n        });\n        this._attributesDefCache[modelName] = attributes;\n      }\n\n      return attributes;\n    },\n    _relationshipsDefinitionFor: function _relationshipsDefinitionFor(modelName) {\n      var relationships = this._relationshipsDefCache[modelName];\n\n      if (relationships === undefined) {\n        var modelClass = this.modelFor(modelName);\n        relationships = Ember.get(modelClass, 'relationshipsObject') || null;\n        this._relationshipsDefCache[modelName] = relationships;\n      }\n\n      return relationships;\n    },\n    _internalModelForResource: function _internalModelForResource(resource) {\n      var internalModel;\n\n      if (resource.clientId) {\n        internalModel = this._newlyCreatedModelsFor(resource.type).get(resource.clientId);\n      }\n\n      if (!internalModel) {\n        internalModel = this._internalModelForId(resource.type, resource.id);\n      }\n\n      return internalModel;\n    },\n    _createRecordData: function _createRecordData(modelName, id, clientId, internalModel) {\n      return this.createRecordDataFor(modelName, id, clientId, this.storeWrapper);\n    },\n    createRecordDataFor: function createRecordDataFor(modelName, id, clientId, storeWrapper) {\n      return new RecordDataDefault(modelName, id, clientId, storeWrapper, this);\n    },\n    recordDataFor: function recordDataFor$1(modelName, id, clientId) {\n      var internalModel = this._internalModelForId(modelName, id, clientId);\n\n      return recordDataFor(internalModel);\n    },\n    _internalModelForRecordData: function _internalModelForRecordData(recordData) {\n      var resource = recordData.getResourceIdentifier();\n      return this._internalModelForId(resource.type, resource.id, resource.clientId);\n    },\n\n    /**\n      `normalize` converts a json payload into the normalized form that\n      [push](#method_push) expects.\n       Example\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       @method normalize\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    normalize: function normalize(modelName, payload) {\n      {\n        assertDestroyingStore(this, 'normalize');\n      }\n\n      ( !(Ember.isPresent(modelName)) && Ember.assert(\"You need to pass a model name to the store's normalize method\", Ember.isPresent(modelName)));\n      ( !(typeof modelName === 'string') && Ember.assert(\"Passing classes to store methods has been removed. Please pass a dasherized string instead of \" + Ember.inspect(modelName), typeof modelName === 'string'));\n      var normalizedModelName = normalizeModelName(modelName);\n      var serializer = this.serializerFor(normalizedModelName);\n      var model = this.modelFor(normalizedModelName);\n      return serializer.normalize(model, payload);\n    },\n    newClientId: function newClientId() {\n      return globalClientIdCounter++;\n    },\n\n    /**\n      Build a brand new record for a given type, ID, and\n      initial data.\n       @method _buildInternalModel\n      @private\n      @param {String} modelName\n      @param {String} id\n      @param {Object} data\n      @return {InternalModel} internal model\n    */\n    _buildInternalModel: function _buildInternalModel(modelName, id, data, clientId) {\n      ( !(typeof modelName === 'string') && Ember.assert(\"You can no longer pass a modelClass as the first argument to store._buildInternalModel. Pass modelName instead.\", typeof modelName === 'string'));\n\n      var existingInternalModel = this._existingInternalModelForId(modelName, id);\n\n      ( !(!existingInternalModel) && Ember.assert(\"The id \" + id + \" has already been used with another record for modelClass '\" + modelName + \"'.\", !existingInternalModel));\n\n      if (id === null && !clientId) {\n        clientId = this.newClientId();\n      } // lookupFactory should really return an object that creates\n      // instances with the injections applied\n\n\n      var internalModel = new InternalModel(modelName, id, this, data, clientId);\n\n      if (clientId) {\n        this._newlyCreatedModelsFor(modelName).add(internalModel, clientId);\n      }\n\n      this._internalModelsFor(modelName).add(internalModel, id);\n\n      return internalModel;\n    },\n    _existingInternalModelForId: function _existingInternalModelForId(modelName, id) {\n      var internalModel = this._internalModelsFor(modelName).get(id);\n\n      if (internalModel && internalModel.hasScheduledDestroy()) {\n        // unloadRecord is async, if one attempts to unload + then sync create,\n        //   we must ensure the unload is complete before starting the create\n        //   The push path will take _internalModelForId()\n        //   which will call `cancelDestroy` instead for this unload + then\n        //   sync push scenario. Once we have true client-side\n        //   delete signaling, we should never call destroySync\n        internalModel.destroySync();\n        internalModel = null;\n      }\n\n      return internalModel;\n    },\n    //Called by the state machine to notify the store that the record is ready to be interacted with\n    recordWasLoaded: function recordWasLoaded(record) {\n      {\n        assertDestroyingStore(this, 'recordWasLoaded');\n      }\n\n      this.recordArrayManager.recordWasLoaded(record);\n    },\n    // ...............\n    // . DESTRUCTION .\n    // ...............\n\n    /**\n      When a record is destroyed, this un-indexes it and\n      removes it from any record arrays so it can be GCed.\n       @method _removeFromIdMap\n      @private\n      @param {InternalModel} internalModel\n    */\n    _removeFromIdMap: function _removeFromIdMap(internalModel) {\n      var recordMap = this._internalModelsFor(internalModel.modelName);\n\n      var id = internalModel.id;\n      recordMap.remove(internalModel, id); //TODO IGOR DAVID remove from client id map\n    },\n    // ......................\n    // . PER-TYPE ADAPTERS\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      `App.PersonAdapter`.\n       If no `App.PersonAdapter` is found, this method will look\n      for an `App.ApplicationAdapter` (the default adapter for\n      your entire application).\n       If no `App.ApplicationAdapter` is found, it will return\n      the value of the `defaultAdapter`.\n       @method adapterFor\n      @public\n      @param {String} modelName\n      @return Adapter\n    */\n    adapterFor: function adapterFor(modelName) {\n      {\n        assertDestroyingStore(this, 'adapterFor');\n      }\n\n      ( !(Ember.isPresent(modelName)) && Ember.assert(\"You need to pass a model name to the store's adapterFor method\", Ember.isPresent(modelName)));\n      ( !(typeof modelName === 'string') && Ember.assert(\"Passing classes to store.adapterFor has been removed. Please pass a dasherized string instead of \" + modelName, typeof modelName === 'string'));\n      var normalizedModelName = normalizeModelName(modelName);\n      var _adapterCache = this._adapterCache;\n      var adapter = _adapterCache[normalizedModelName];\n\n      if (adapter) {\n        return adapter;\n      }\n\n      var owner = Ember.getOwner(this);\n      adapter = owner.lookup(\"adapter:\" + normalizedModelName);\n\n      if (adapter !== undefined) {\n        Ember.set(adapter, 'store', this);\n        _adapterCache[normalizedModelName] = adapter;\n        return adapter;\n      } // no adapter found for the specific model, fallback and check for application adapter\n\n\n      adapter = _adapterCache.application || owner.lookup('adapter:application');\n\n      if (adapter !== undefined) {\n        Ember.set(adapter, 'store', this);\n        _adapterCache[normalizedModelName] = adapter;\n        _adapterCache.application = adapter;\n        return adapter;\n      } // no model specific adapter or application adapter, check for an `adapter`\n      // property defined on the store\n\n\n      var adapterName = this.get('adapter');\n      adapter = adapterName ? _adapterCache[adapterName] || owner.lookup(\"adapter:\" + adapterName) : undefined;\n\n      if (adapter !== undefined) {\n        Ember.set(adapter, 'store', this);\n        _adapterCache[normalizedModelName] = adapter;\n        _adapterCache[adapterName] = adapter;\n        return adapter;\n      } // final fallback, no model specific adapter, no application adapter, no\n      // `adapter` property on store: use json-api adapter\n\n\n      adapter = _adapterCache['-json-api'] || owner.lookup('adapter:-json-api');\n      ( !(adapter !== undefined) && Ember.assert(\"No adapter was found for '\" + modelName + \"' and no 'application', store.adapter = 'adapter-fallback-name', or '-json-api' adapter were found as fallbacks.\", adapter !== undefined));\n      Ember.set(adapter, 'store', this);\n      _adapterCache[normalizedModelName] = adapter;\n      _adapterCache['-json-api'] = adapter;\n      return adapter;\n    },\n    // ..............................\n    // . RECORD CHANGE NOTIFICATION .\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       If no `App.PersonSerializer` is found, this method will look\n      for an `App.ApplicationSerializer` (the default serializer for\n      your entire application).\n       if no `App.ApplicationSerializer` is found, it will attempt\n      to get the `defaultSerializer` from the `PersonAdapter`\n      (`adapterFor('person')`).\n       If a serializer cannot be found on the adapter, it will fall back\n      to an instance of `JSONSerializer`.\n       @method serializerFor\n      @public\n      @param {String} modelName the record to serialize\n      @return {Serializer}\n    */\n    serializerFor: function serializerFor(modelName) {\n      {\n        assertDestroyingStore(this, 'serializerFor');\n      }\n\n      ( !(Ember.isPresent(modelName)) && Ember.assert(\"You need to pass a model name to the store's serializerFor method\", Ember.isPresent(modelName)));\n      ( !(typeof modelName === 'string') && Ember.assert(\"Passing classes to store.serializerFor has been removed. Please pass a dasherized string instead of \" + modelName, typeof modelName === 'string'));\n      var normalizedModelName = normalizeModelName(modelName);\n      var _serializerCache = this._serializerCache;\n      var serializer = _serializerCache[normalizedModelName];\n\n      if (serializer) {\n        return serializer;\n      }\n\n      var owner = Ember.getOwner(this);\n      serializer = owner.lookup(\"serializer:\" + normalizedModelName);\n\n      if (serializer !== undefined) {\n        Ember.set(serializer, 'store', this);\n        _serializerCache[normalizedModelName] = serializer;\n        return serializer;\n      } // no serializer found for the specific model, fallback and check for application serializer\n\n\n      serializer = _serializerCache.application || owner.lookup('serializer:application');\n\n      if (serializer !== undefined) {\n        Ember.set(serializer, 'store', this);\n        _serializerCache[normalizedModelName] = serializer;\n        _serializerCache.application = serializer;\n        return serializer;\n      } // no model specific serializer or application serializer, check for the `defaultSerializer`\n      // property defined on the adapter\n\n\n      var adapter = this.adapterFor(modelName);\n      var serializerName = Ember.get(adapter, 'defaultSerializer');\n      serializer = serializerName ? _serializerCache[serializerName] || owner.lookup(\"serializer:\" + serializerName) : undefined;\n\n      if (serializer !== undefined) {\n        Ember.set(serializer, 'store', this);\n        _serializerCache[normalizedModelName] = serializer;\n        _serializerCache[serializerName] = serializer;\n        return serializer;\n      } // final fallback, no model specific serializer, no application serializer, no\n      // `serializer` property on store: use json-api serializer\n\n\n      serializer = _serializerCache['-default'] || owner.lookup('serializer:-default');\n      ( !(serializer !== undefined) && Ember.assert(\"No serializer was found for '\" + modelName + \"' and no 'application', Adapter.defaultSerializer, or '-default' serializer were found as fallbacks.\", serializer !== undefined));\n      Ember.set(serializer, 'store', this);\n      _serializerCache[normalizedModelName] = serializer;\n      _serializerCache['-default'] = serializer;\n      return serializer;\n    },\n    willDestroy: function willDestroy() {\n      this._super.apply(this, arguments);\n\n      this._pushedInternalModels = null;\n      this.recordArrayManager.destroy();\n      this._adapterCache = null;\n      this._serializerCache = null;\n      this.unloadAll();\n\n      {\n        Ember.Test.unregisterWaiter(this.__asyncWaiter);\n        var shouldTrack = this.shouldTrackAsyncRequests;\n        var tracked = this._trackedAsyncRequests;\n        var isSettled = tracked.length === 0;\n\n        if (!isSettled) {\n          if (shouldTrack) {\n            throw new Error('Async Request leaks detected. Add a breakpoint here and set `store.generateStackTracesForTrackedRequests = true;`to inspect traces for leak origins:\\n\\t - ' + tracked.map(function (o) {\n              return o.label;\n            }).join('\\n\\t - '));\n          } else {\n            ( Ember.warn('Async Request leaks detected. Add a breakpoint here and set `store.generateStackTracesForTrackedRequests = true;`to inspect traces for leak origins:\\n\\t - ' + tracked.map(function (o) {\n              return o.label;\n            }).join('\\n\\t - '), false, {\n              id: 'ds.async.leak.detected'\n            }));\n          }\n        }\n      }\n    },\n    _updateRelationshipState: function _updateRelationshipState(relationship) {\n      var _this6 = this;\n\n      if (this._updatedRelationships.push(relationship) !== 1) {\n        return;\n      }\n\n      this._backburner.join(function () {\n        _this6._backburner.schedule('syncRelationships', _this6, _this6._flushUpdatedRelationships);\n      });\n    },\n    _flushUpdatedRelationships: function _flushUpdatedRelationships() {\n      var updated = this._updatedRelationships;\n\n      for (var i = 0, l = updated.length; i < l; i++) {\n        updated[i].flushCanonical();\n      }\n\n      updated.length = 0;\n    },\n    _updateInternalModel: function _updateInternalModel(internalModel) {\n      if (this._updatedInternalModels.push(internalModel) !== 1) {\n        return;\n      }\n\n      emberRun$1.schedule('actions', this, this._flushUpdatedInternalModels);\n    },\n    _flushUpdatedInternalModels: function _flushUpdatedInternalModels() {\n      var updated = this._updatedInternalModels;\n\n      for (var i = 0, l = updated.length; i < l; i++) {\n        updated[i]._triggerDeferredTriggers();\n      }\n\n      updated.length = 0;\n    },\n    _pushResourceIdentifier: function _pushResourceIdentifier(relationship, resourceIdentifier) {\n      if (Ember.isNone(resourceIdentifier)) {\n        return;\n      }\n\n      ( !(!Array.isArray(resourceIdentifier)) && Ember.assert(\"A \" + relationship.internalModel.modelName + \" record was pushed into the store with the value of \" + relationship.key + \" being \" + Ember.inspect(resourceIdentifier) + \", but \" + relationship.key + \" is a belongsTo relationship so the value must not be an array. You should probably check your data payload or serializer.\", !Array.isArray(resourceIdentifier))); //TODO:Better asserts\n\n      return this._internalModelForId(resourceIdentifier.type, resourceIdentifier.id);\n    },\n    _pushResourceIdentifiers: function _pushResourceIdentifiers(relationship, resourceIdentifiers) {\n      if (Ember.isNone(resourceIdentifiers)) {\n        return;\n      }\n\n      ( !(Array.isArray(resourceIdentifiers)) && Ember.assert(\"A \" + relationship.internalModel.modelName + \" record was pushed into the store with the value of \" + relationship.key + \" being '\" + Ember.inspect(resourceIdentifiers) + \"', but \" + relationship.key + \" is a hasMany relationship so the value must be an array. You should probably check your data payload or serializer.\", Array.isArray(resourceIdentifiers)));\n\n      var _internalModels = new Array(resourceIdentifiers.length);\n\n      for (var i = 0; i < resourceIdentifiers.length; i++) {\n        _internalModels[i] = this._pushResourceIdentifier(relationship, resourceIdentifiers[i]);\n      }\n\n      return _internalModels;\n    }\n  });\n\n  function _commit(adapter, store, operation, snapshot) {\n    var internalModel = snapshot._internalModel;\n    var modelName = snapshot.modelName;\n    var modelClass = store.modelFor(modelName);\n    ( !(adapter) && Ember.assert(\"You tried to update a record but you have no adapter (for \" + modelName + \")\", adapter));\n    ( !(typeof adapter[operation] === 'function') && Ember.assert(\"You tried to update a record but your adapter (for \" + modelName + \") does not implement '\" + operation + \"'\", typeof adapter[operation] === 'function'));\n    var promise = Ember.RSVP.Promise.resolve().then(function () {\n      return adapter[operation](store, modelClass, snapshot);\n    });\n    var serializer = serializerForAdapter(store, adapter, modelName);\n    var label = \"DS: Extract and notify about \" + operation + \" completion of \" + internalModel;\n    ( !(promise !== undefined) && Ember.assert(\"Your adapter's '\" + operation + \"' method must return a value, but it returned 'undefined'\", promise !== undefined));\n    promise = guardDestroyedStore(promise, store, label);\n    promise = _guard(promise, _bind(_objectIsAlive, internalModel));\n    return promise.then(function (adapterPayload) {\n      /*\n      Note to future spelunkers hoping to optimize.\n      We rely on this `run` to create a run loop if needed\n      that `store._push` and `store.didSaveRecord` will both share.\n       We use `join` because it is often the case that we\n      have an outer run loop available still from the first\n      call to `store._push`;\n      */\n      store._backburner.join(function () {\n        var payload, data, sideloaded;\n\n        if (adapterPayload) {\n          payload = normalizeResponseHelper(serializer, store, modelClass, adapterPayload, snapshot.id, operation);\n\n          if (payload.included) {\n            sideloaded = payload.included;\n          }\n\n          data = payload.data;\n        }\n\n        store.didSaveRecord(internalModel, {\n          data: data\n        }); // seems risky, but if the tests pass might be fine?\n\n        if (sideloaded) {\n          store._push({\n            data: null,\n            included: sideloaded\n          });\n        }\n      });\n\n      return internalModel;\n    }, function (error$1) {\n      if (error$1 instanceof error.InvalidError) {\n        var errors = serializer.extractErrors(store, modelClass, error$1, snapshot.id);\n        store.recordWasInvalid(internalModel, errors);\n      } else {\n        store.recordWasError(internalModel, error$1);\n      }\n\n      throw error$1;\n    }, label);\n  }\n  /**\n   *\n   * @param store\n   * @param cache modelFactoryCache\n   * @param normalizedModelName already normalized modelName\n   * @return {*}\n   */\n\n\n  function getModelFactory(store, cache, normalizedModelName) {\n    var factory = cache[normalizedModelName];\n\n    if (!factory) {\n      factory = _lookupModelFactory(store, normalizedModelName);\n\n      if (!factory) {\n        //Support looking up mixins as base types for polymorphic relationships\n        factory = _modelForMixin(store, normalizedModelName);\n      }\n\n      if (!factory) {\n        // we don't cache misses in case someone wants to register a missing model\n        return null;\n      }\n\n      var klass = factory.class;\n      ( !(klass.isModel) && Ember.assert(\"'\" + Ember.inspect(klass) + \"' does not appear to be an ember-data model\", klass.isModel)); // TODO: deprecate this\n\n      var hasOwnModelNameSet = klass.modelName && klass.hasOwnProperty('modelName');\n\n      if (!hasOwnModelNameSet) {\n        klass.modelName = normalizedModelName;\n      }\n\n      cache[normalizedModelName] = factory;\n    }\n\n    return factory;\n  }\n\n  function _lookupModelFactory(store, normalizedModelName) {\n    var owner = Ember.getOwner(store);\n    return owner.factoryFor(\"model:\" + normalizedModelName);\n  }\n  /*\n    In case someone defined a relationship to a mixin, for example:\n    ```\n      import Model, { belongsTo, hasMany } from '@ember-data/model';\n\n      let Comment = Model.extend({\n        owner: belongsTo('commentable'. { polymorphic: true })\n      });\n      let Commentable = Ember.Mixin.create({\n        comments: hasMany('comment')\n      });\n    ```\n    we want to look up a Commentable class which has all the necessary\n    relationship metadata. 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\n\n  function _modelForMixin(store, normalizedModelName) {\n    var owner = Ember.getOwner(store);\n    var MaybeMixin = owner.factoryFor(\"mixin:\" + normalizedModelName);\n    var mixin = MaybeMixin && MaybeMixin.class;\n\n    if (mixin) {\n      var ModelForMixin = Model.extend(mixin);\n      ModelForMixin.reopenClass({\n        __isMixin: true,\n        __mixin: mixin\n      }); //Cache the class as a model\n\n      owner.register('model:' + normalizedModelName, ModelForMixin);\n    }\n\n    return _lookupModelFactory(store, normalizedModelName);\n  }\n\n  var assertDestroyingStore;\n  var assertDestroyedStoreOnly;\n\n  {\n    assertDestroyingStore = function assertDestroyedStore(store, method) {\n      if (!store.shouldAssertMethodCallsOnDestroyedStore) {\n        ( !(!(store.isDestroying || store.isDestroyed)) && Ember.deprecate(\"Attempted to call store.\" + method + \"(), but the store instance has already been destroyed.\", !(store.isDestroying || store.isDestroyed), {\n          id: 'ember-data:method-calls-on-destroyed-store',\n          until: '3.8'\n        }));\n      } else {\n        ( !(!(store.isDestroying || store.isDestroyed)) && Ember.assert(\"Attempted to call store.\" + method + \"(), but the store instance has already been destroyed.\", !(store.isDestroying || store.isDestroyed)));\n      }\n    };\n\n    assertDestroyedStoreOnly = function assertDestroyedStoreOnly(store, method) {\n      if (!store.shouldAssertMethodCallsOnDestroyedStore) {\n        ( !(!store.isDestroyed) && Ember.deprecate(\"Attempted to call store.\" + method + \"(), but the store instance has already been destroyed.\", !store.isDestroyed, {\n          id: 'ember-data:method-calls-on-destroyed-store',\n          until: '3.8'\n        }));\n      } else {\n        ( !(!store.isDestroyed) && Ember.assert(\"Attempted to call store.\" + method + \"(), but the store instance has already been destroyed.\", !store.isDestroyed));\n      }\n    };\n  }\n\n  exports.AdapterPopulatedRecordArray = AdapterPopulatedRecordArray;\n  exports.Errors = Errors;\n  exports.InternalModel = InternalModel;\n  exports.ManyArray = ManyArray;\n  exports.Model = Model;\n  exports.OrderedSet = EmberDataOrderedSet;\n  exports.PromiseArray = PromiseArray;\n  exports.PromiseManyArray = PromiseManyArray;\n  exports.PromiseObject = PromiseObject;\n  exports.RecordArray = RecordArray;\n  exports.RecordArrayManager = RecordArrayManager;\n  exports.RecordData = RecordDataDefault;\n  exports.Relationship = Relationship;\n  exports.RootState = RootState$1;\n  exports.Snapshot = Snapshot;\n  exports.SnapshotRecordArray = SnapshotRecordArray;\n  exports.Store = Store;\n  exports._bind = _bind;\n  exports._guard = _guard;\n  exports._objectIsAlive = _objectIsAlive;\n  exports.coerceId = coerceId;\n  exports.diffArray = diffArray;\n  exports.guardDestroyedStore = guardDestroyedStore;\n  exports.normalizeModelName = normalizeModelName;\n  exports.recordDataFor = recordDataFor;\n  exports.relationshipStateFor = relationshipStateFor;\n  exports.relationshipsFor = relationshipsFor;\n\n  Object.defineProperty(exports, '__esModule', { value: true });\n\n});\n","define(\"@ember-data/store/index\", [\"exports\", \"@ember-data/store/-private\"], function (_exports, _private) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _private.Store;\n    }\n  });\n  Object.defineProperty(_exports, \"normalizeModelName\", {\n    enumerable: true,\n    get: function get() {\n      return _private.normalizeModelName;\n    }\n  });\n});","define(\"@ember-data/store/version\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = \"3.11.0\";\n  _exports.default = _default;\n});","define('@ember-decorators/argument/-debug/decorators/immutable', ['exports', '@ember-decorators/argument/-debug/utils/validation-decorator'], function (exports, _validationDecorator) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  var immutable = (0, _validationDecorator.default)(function (target, key, desc, options, validations) {\n    validations.isImmutable = true;\n  });\n\n  exports.default = immutable;\n});","define('@ember-decorators/argument/-debug/decorators/required', ['exports', '@ember-decorators/argument/-debug/utils/validation-decorator'], function (exports, _validationDecorator) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  var required = (0, _validationDecorator.default)(function (target, key, desc, options, validations) {\n    validations.isRequired = true;\n  });\n\n  exports.default = required;\n});","define('@ember-decorators/argument/-debug/decorators/type', ['exports', '@ember-decorators/argument/-debug/utils/validation-decorator', '@ember-decorators/argument/-debug/utils/validators'], function (exports, _validationDecorator, _validators) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = type;\n  function type(type) {\n    (true && !(arguments.length === 1) && Ember.assert('The @type decorator can only receive one type, but instead received ' + arguments.length + '. Use the \\'unionOf\\' helper to create a union type.', arguments.length === 1));\n\n\n    var validator = (0, _validators.resolveValidator)(type);\n\n    return (0, _validationDecorator.default)(function (target, key, desc, options, validations) {\n      validations.typeValidators.push(validator);\n    });\n  }\n});","define(\"@ember-decorators/argument/-debug/errors\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  function _classCallCheck(instance, Constructor) {\n    if (!(instance instanceof Constructor)) {\n      throw new TypeError(\"Cannot call a class as a function\");\n    }\n  }\n\n  function _possibleConstructorReturn(self, call) {\n    if (!self) {\n      throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n    }\n\n    return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n  }\n\n  function _inherits(subClass, superClass) {\n    if (typeof superClass !== \"function\" && superClass !== null) {\n      throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n    }\n\n    subClass.prototype = Object.create(superClass && superClass.prototype, {\n      constructor: {\n        value: subClass,\n        enumerable: false,\n        writable: true,\n        configurable: true\n      }\n    });\n    if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n  }\n\n  var MutabilityError = exports.MutabilityError = function (_Error) {\n    _inherits(MutabilityError, _Error);\n\n    function MutabilityError() {\n      _classCallCheck(this, MutabilityError);\n\n      return _possibleConstructorReturn(this, _Error.apply(this, arguments));\n    }\n\n    return MutabilityError;\n  }(Error);\n\n  var RequiredFieldError = exports.RequiredFieldError = function (_Error2) {\n    _inherits(RequiredFieldError, _Error2);\n\n    function RequiredFieldError() {\n      _classCallCheck(this, RequiredFieldError);\n\n      return _possibleConstructorReturn(this, _Error2.apply(this, arguments));\n    }\n\n    return RequiredFieldError;\n  }(Error);\n\n  var TypeError = exports.TypeError = function (_Error3) {\n    _inherits(TypeError, _Error3);\n\n    function TypeError() {\n      _classCallCheck(this, TypeError);\n\n      return _possibleConstructorReturn(this, _Error3.apply(this, arguments));\n    }\n\n    return TypeError;\n  }(Error);\n});","define('@ember-decorators/argument/-debug/helpers/array-of', ['exports', '@ember-decorators/argument/-debug/utils/validators'], function (exports, _validators) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = arrayOf;\n  function arrayOf(type) {\n    (true && !(arguments.length === 1) && Ember.assert('The \\'arrayOf\\' helper must receive exactly one type. Use the \\'unionOf\\' helper to create a union type.', arguments.length === 1));\n\n\n    var validator = (0, _validators.resolveValidator)(type);\n\n    return (0, _validators.makeValidator)('arrayOf(' + validator + ')', function (value) {\n      return Ember.isArray(value) && value.every(validator);\n    });\n  }\n});","define('@ember-decorators/argument/-debug/helpers/one-of', ['exports', '@ember-decorators/argument/-debug/utils/validators'], function (exports, _validators) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = oneOf;\n  function oneOf() {\n    for (var _len = arguments.length, list = Array(_len), _key = 0; _key < _len; _key++) {\n      list[_key] = arguments[_key];\n    }\n\n    (true && !(arguments.length >= 1) && Ember.assert('The \\'oneOf\\' helper must receive at least one argument', arguments.length >= 1));\n    (true && !(list.every(function (item) {\n      return typeof item === 'string';\n    })) && Ember.assert('The \\'oneOf\\' helper must receive arguments of strings, received: ' + list, list.every(function (item) {\n      return typeof item === 'string';\n    })));\n\n\n    return (0, _validators.makeValidator)('oneOf(' + list.join() + ')', function (value) {\n      return list.includes(value);\n    });\n  }\n});","define('@ember-decorators/argument/-debug/helpers/optional', ['exports', '@ember-decorators/argument/-debug/utils/validators'], function (exports, _validators) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = optional;\n\n\n  var nullValidator = (0, _validators.resolveValidator)(null);\n  var undefinedValidator = (0, _validators.resolveValidator)(undefined);\n\n  function optional(type) {\n    (true && !(arguments.length === 1) && Ember.assert('The \\'optional\\' helper must receive exactly one type. Use the \\'unionOf\\' helper to create a union type.', arguments.length === 1));\n\n\n    var validator = (0, _validators.resolveValidator)(type);\n    var validatorDesc = validator.toString();\n\n    (true && !(validatorDesc !== 'null') && Ember.assert('Passsing \\'null\\' to the \\'optional\\' helper does not make sense.', validatorDesc !== 'null'));\n    (true && !(validatorDesc !== 'undefined') && Ember.assert('Passsing \\'undefined\\' to the \\'optional\\' helper does not make sense.', validatorDesc !== 'undefined'));\n\n\n    return (0, _validators.makeValidator)('optional(' + validator + ')', function (value) {\n      return nullValidator(value) || undefinedValidator(value) || validator(value);\n    });\n  }\n});","define('@ember-decorators/argument/-debug/helpers/shape-of', ['exports', '@ember-decorators/argument/-debug/utils/validators'], function (exports, _validators) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = shapeOf;\n\n  var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  };\n\n  function shapeOf(shape) {\n    (true && !(arguments.length === 1) && Ember.assert('The \\'shapeOf\\' helper must receive exactly one shape', arguments.length === 1));\n    (true && !((typeof shape === 'undefined' ? 'undefined' : _typeof(shape)) === 'object') && Ember.assert('The \\'shapeOf\\' helper must receive an object to match the shape to, received: ' + shape, (typeof shape === 'undefined' ? 'undefined' : _typeof(shape)) === 'object'));\n    (true && !(Object.keys(shape).length > 0) && Ember.assert('The object passed to the \\'shapeOf\\' helper must have at least one key:type pair', Object.keys(shape).length > 0));\n\n\n    var typeDesc = [];\n\n    for (var key in shape) {\n      shape[key] = (0, _validators.resolveValidator)(shape[key]);\n\n      typeDesc.push(key + ':' + shape[key]);\n    }\n\n    return (0, _validators.makeValidator)('shapeOf({' + typeDesc.join() + '})', function (value) {\n      for (var _key in shape) {\n        if (shape[_key](Ember.get(value, _key)) !== true) {\n          return false;\n        }\n      }\n\n      return true;\n    });\n  }\n});","define('@ember-decorators/argument/-debug/helpers/union-of', ['exports', '@ember-decorators/argument/-debug/utils/validators'], function (exports, _validators) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = unionOf;\n  function unionOf() {\n    for (var _len = arguments.length, types = Array(_len), _key = 0; _key < _len; _key++) {\n      types[_key] = arguments[_key];\n    }\n\n    (true && !(arguments.length > 1) && Ember.assert('The \\'unionOf\\' helper must receive more than one type', arguments.length > 1));\n\n\n    var validators = types.map(_validators.resolveValidator);\n\n    return (0, _validators.makeValidator)('unionOf(' + validators.join() + ')', function (value) {\n      return validators.some(function (validator) {\n        return validator(value);\n      });\n    });\n  }\n});","define('@ember-decorators/argument/-debug/index', ['exports', '@ember-decorators/argument/-debug/decorators/immutable', '@ember-decorators/argument/-debug/decorators/required', '@ember-decorators/argument/-debug/decorators/type', '@ember-decorators/argument/-debug/helpers/array-of', '@ember-decorators/argument/-debug/helpers/shape-of', '@ember-decorators/argument/-debug/helpers/union-of', '@ember-decorators/argument/-debug/helpers/optional', '@ember-decorators/argument/-debug/helpers/one-of', '@ember-decorators/argument/-debug/errors', '@ember-decorators/argument/-debug/utils/validations-for'], function (exports, _immutable, _required, _type, _arrayOf, _shapeOf, _unionOf, _optional, _oneOf, _errors, _validationsFor) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(exports, 'immutable', {\n    enumerable: true,\n    get: function () {\n      return _immutable.default;\n    }\n  });\n  Object.defineProperty(exports, 'required', {\n    enumerable: true,\n    get: function () {\n      return _required.default;\n    }\n  });\n  Object.defineProperty(exports, 'type', {\n    enumerable: true,\n    get: function () {\n      return _type.default;\n    }\n  });\n  Object.defineProperty(exports, 'arrayOf', {\n    enumerable: true,\n    get: function () {\n      return _arrayOf.default;\n    }\n  });\n  Object.defineProperty(exports, 'shapeOf', {\n    enumerable: true,\n    get: function () {\n      return _shapeOf.default;\n    }\n  });\n  Object.defineProperty(exports, 'unionOf', {\n    enumerable: true,\n    get: function () {\n      return _unionOf.default;\n    }\n  });\n  Object.defineProperty(exports, 'optional', {\n    enumerable: true,\n    get: function () {\n      return _optional.default;\n    }\n  });\n  Object.defineProperty(exports, 'oneOf', {\n    enumerable: true,\n    get: function () {\n      return _oneOf.default;\n    }\n  });\n  Object.defineProperty(exports, 'MutabilityError', {\n    enumerable: true,\n    get: function () {\n      return _errors.MutabilityError;\n    }\n  });\n  Object.defineProperty(exports, 'RequiredFieldError', {\n    enumerable: true,\n    get: function () {\n      return _errors.RequiredFieldError;\n    }\n  });\n  Object.defineProperty(exports, 'TypeError', {\n    enumerable: true,\n    get: function () {\n      return _errors.TypeError;\n    }\n  });\n  Object.defineProperty(exports, 'getValidationsForKey', {\n    enumerable: true,\n    get: function () {\n      return _validationsFor.getValidationsForKey;\n    }\n  });\n});","define('@ember-decorators/argument/-debug/utils/computed', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.isMandatorySetter = isMandatorySetter;\n  exports.isDescriptor = isDescriptor;\n  exports.isDescriptorTrap = isDescriptorTrap;\n\n  var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  };\n\n  function isMandatorySetter(setter) {\n    return setter && setter.toString().match('You must use .*set()') !== null;\n  }\n\n  function isDescriptor(maybeDesc) {\n    return maybeDesc !== null && (typeof maybeDesc === 'undefined' ? 'undefined' : _typeof(maybeDesc)) === 'object' && maybeDesc.isDescriptor;\n  }\n\n  function isDescriptorTrap(maybeDesc) {\n    return maybeDesc !== null && (typeof maybeDesc === 'undefined' ? 'undefined' : _typeof(maybeDesc)) === 'object' && !!maybeDesc.__DESCRIPTOR__;\n  }\n});","define(\"@ember-decorators/argument/-debug/utils/object\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.getPropertyDescriptor = getPropertyDescriptor;\n  function getPropertyDescriptor(object, key) {\n    if (object === undefined) return;\n\n    return Object.getOwnPropertyDescriptor(object, key) || getPropertyDescriptor(Object.getPrototypeOf(object), key);\n  }\n});","define('@ember-decorators/argument/-debug/utils/validation-decorator', ['exports', '@ember-decorators/argument/-debug/utils/computed', '@ember-decorators/argument/-debug/utils/object', '@ember-decorators/argument/-debug/utils/validations-for', '@ember-decorators/argument/-debug/errors'], function (exports, _computed, _object, _validationsFor, _errors) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = validationDecorator;\n\n  var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  };\n\n  function _possibleConstructorReturn(self, call) {\n    if (!self) {\n      throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n    }\n\n    return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n  }\n\n  function _inherits(subClass, superClass) {\n    if (typeof superClass !== \"function\" && superClass !== null) {\n      throw new _errors.TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n    }\n\n    subClass.prototype = Object.create(superClass && superClass.prototype, {\n      constructor: {\n        value: subClass,\n        enumerable: false,\n        writable: true,\n        configurable: true\n      }\n    });\n    if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n  }\n\n  function _classCallCheck(instance, Constructor) {\n    if (!(instance instanceof Constructor)) {\n      throw new _errors.TypeError(\"Cannot call a class as a function\");\n    }\n  }\n\n  var notifyPropertyChange = Ember.notifyPropertyChange || Ember.propertyDidChange;\n\n  function guardBind(fn) {\n    if (typeof fn === 'function') {\n      for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n        args[_key - 1] = arguments[_key];\n      }\n\n      return fn.bind.apply(fn, args);\n    }\n  }\n\n  var ValidatedProperty = function () {\n    function ValidatedProperty(_ref2) {\n      var originalValue = _ref2.originalValue,\n          klass = _ref2.klass,\n          keyName = _ref2.keyName,\n          isImmutable = _ref2.isImmutable,\n          typeValidators = _ref2.typeValidators;\n\n      _classCallCheck(this, ValidatedProperty);\n\n      this.isDescriptor = true;\n\n      this.klass = klass;\n      this.originalValue = originalValue;\n      this.isImmutable = isImmutable;\n      this.typeValidators = typeValidators;\n\n      runValidators(typeValidators, klass, keyName, originalValue, 'init');\n    }\n\n    ValidatedProperty.prototype.get = function get(obj, keyName) {\n      var klass = this.klass,\n          originalValue = this.originalValue,\n          isImmutable = this.isImmutable,\n          typeValidators = this.typeValidators;\n\n\n      var newValue = this._get(obj, keyName);\n\n      if (isImmutable && newValue !== originalValue) {\n        throw new _errors.MutabilityError('Immutable value ' + klass.name + '#' + keyName + ' changed by underlying computed, original value: ' + originalValue + ', new value: ' + newValue);\n      }\n\n      if (typeValidators.length > 0) {\n        runValidators(typeValidators, klass, keyName, newValue, 'get');\n      }\n\n      return newValue;\n    };\n\n    ValidatedProperty.prototype.set = function set(obj, keyName, value) {\n      var klass = this.klass,\n          isImmutable = this.isImmutable,\n          typeValidators = this.typeValidators;\n\n\n      if (isImmutable) {\n        throw new _errors.MutabilityError('Attempted to set ' + klass.name + '#' + keyName + ' to the value ' + value + ' but the field is immutable');\n      }\n\n      var newValue = this._set(obj, keyName, value);\n\n      if (typeValidators.length > 0) {\n        runValidators(typeValidators, klass, keyName, newValue, 'set');\n      }\n\n      return newValue;\n    };\n\n    return ValidatedProperty;\n  }();\n\n  var StandardValidatedProperty = function (_ValidatedProperty) {\n    _inherits(StandardValidatedProperty, _ValidatedProperty);\n\n    function StandardValidatedProperty(_ref3) {\n      var originalValue = _ref3.originalValue;\n\n      _classCallCheck(this, StandardValidatedProperty);\n\n      var _this = _possibleConstructorReturn(this, _ValidatedProperty.apply(this, arguments));\n\n      _this.cachedValue = originalValue;\n      return _this;\n    }\n\n    StandardValidatedProperty.prototype._get = function _get() {\n      return this.cachedValue;\n    };\n\n    StandardValidatedProperty.prototype._set = function _set(obj, keyName, value) {\n      if (value === this.cachedValue) return value;\n\n      this.cachedValue = value;\n\n      notifyPropertyChange(obj, keyName);\n\n      return this.cachedValue;\n    };\n\n    return StandardValidatedProperty;\n  }(ValidatedProperty);\n\n  var NativeComputedValidatedProperty = function (_ValidatedProperty2) {\n    _inherits(NativeComputedValidatedProperty, _ValidatedProperty2);\n\n    function NativeComputedValidatedProperty(_ref4) {\n      var desc = _ref4.desc;\n\n      _classCallCheck(this, NativeComputedValidatedProperty);\n\n      var _this2 = _possibleConstructorReturn(this, _ValidatedProperty2.apply(this, arguments));\n\n      _this2.desc = desc;\n      return _this2;\n    }\n\n    NativeComputedValidatedProperty.prototype._get = function _get(obj) {\n      return this.desc.get.call(obj);\n    };\n\n    NativeComputedValidatedProperty.prototype._set = function _set(obj, keyName, value) {\n      // By default Ember.get will check to see if the value has changed before setting\n      // and calling propertyDidChange. In order to not change behavior, we must do the same\n      var currentValue = this._get(obj);\n\n      if (value === currentValue) return value;\n\n      this.desc.set.call(obj, value);\n\n      notifyPropertyChange(obj, keyName);\n\n      return this._get(obj);\n    };\n\n    return NativeComputedValidatedProperty;\n  }(ValidatedProperty);\n\n  var ComputedValidatedProperty = function (_ValidatedProperty3) {\n    _inherits(ComputedValidatedProperty, _ValidatedProperty3);\n\n    function ComputedValidatedProperty(_ref5) {\n      var desc = _ref5.desc;\n\n      _classCallCheck(this, ComputedValidatedProperty);\n\n      var _this3 = _possibleConstructorReturn(this, _ValidatedProperty3.apply(this, arguments));\n\n      _this3.desc = desc;\n\n      _this3.setup = guardBind(desc.setup, desc);\n      _this3.teardown = guardBind(desc.teardown, desc);\n      _this3.willChange = guardBind(desc.willChange, desc);\n      _this3.didChange = guardBind(desc.didChange, desc);\n      _this3.willWatch = guardBind(desc.willWatch, desc);\n      _this3.didUnwatch = guardBind(desc.didUnwatch, desc);\n      return _this3;\n    }\n\n    ComputedValidatedProperty.prototype._get = function _get(obj, keyName) {\n      return this.desc.get(obj, keyName);\n    };\n\n    ComputedValidatedProperty.prototype._set = function _set(obj, keyName, value) {\n      if (true) {\n        return this.desc.set(obj, keyName, value);\n      }\n\n      this.desc.set(obj, keyName, value);\n\n      var _Ember$meta = Ember.meta(obj),\n          cache = _Ember$meta.cache;\n\n      return (typeof cache === 'undefined' ? 'undefined' : _typeof(cache)) === 'object' ? cache[keyName] : value;\n    };\n\n    return ComputedValidatedProperty;\n  }(ValidatedProperty);\n\n  function runValidators(validators, klass, key, value, phase) {\n    validators.forEach(function (validator) {\n      if (validator(value) === false) {\n        var formattedValue = typeof value === 'string' ? '\\'' + value + '\\'' : value;\n        throw new _errors.TypeError(klass.name + '#' + key + ' expected value of type ' + validator + ' during \\'' + phase + '\\', but received: ' + formattedValue);\n      }\n    });\n  }\n\n  function wrapField(klass, instance, validations, keyName) {\n    var _validations$keyName = validations[keyName],\n        isImmutable = _validations$keyName.isImmutable,\n        isRequired = _validations$keyName.isRequired,\n        typeValidators = _validations$keyName.typeValidators,\n        typeRequired = _validations$keyName.typeRequired;\n\n\n    if (isRequired && instance[keyName] === undefined && !instance.hasOwnProperty(keyName)) {\n      throw new _errors.RequiredFieldError(klass.name + '#' + keyName + ' is a required value, but was not provided. You can provide it as an argument, as a class field, or in the constructor');\n    }\n\n    // opt out early if no further validations\n    if (!isImmutable && typeValidators.length === 0) {\n      if (typeValidators.length === 0 && typeRequired) {\n        throw new _errors.TypeError(klass.name + '#' + keyName + ' requires a type, add one using the @type decorator');\n      }\n\n      return;\n    }\n\n    var originalValue = instance[keyName];\n    var meta = Ember.meta(instance);\n\n    if (true) {\n      var possibleDesc = meta.peekDescriptors(keyName);\n\n      if (possibleDesc !== undefined) {\n        originalValue = possibleDesc;\n      }\n    }\n\n    if ((0, _computed.isDescriptorTrap)(originalValue)) {\n      originalValue = originalValue.__DESCRIPTOR__;\n    }\n\n    var validatedProperty = void 0;\n\n    if ((0, _computed.isDescriptor)(originalValue)) {\n      var desc = originalValue;\n\n      originalValue = desc.get(instance, keyName);\n\n      validatedProperty = new ComputedValidatedProperty({\n        desc: desc, isImmutable: isImmutable, keyName: keyName, klass: klass, originalValue: originalValue, typeValidators: typeValidators\n      });\n    } else {\n      var _desc = (0, _object.getPropertyDescriptor)(instance, keyName);\n\n      if ((typeof _desc.get === 'function' || typeof _desc.set === 'function') && !(0, _computed.isMandatorySetter)(_desc.set)) {\n        validatedProperty = new NativeComputedValidatedProperty({\n          desc: _desc, isImmutable: isImmutable, keyName: keyName, klass: klass, originalValue: originalValue, typeValidators: typeValidators\n        });\n      } else {\n        validatedProperty = new StandardValidatedProperty({\n          isImmutable: isImmutable, keyName: keyName, klass: klass, originalValue: originalValue, typeValidators: typeValidators\n        });\n      }\n    }\n\n    if (true) {\n      // We're trying to fly under the radar here, so don't use Ember.defineProperty.\n      // Ember should think the property is completely unchanged.\n      Object.defineProperty(instance, keyName, {\n        configurable: true,\n        enumerable: true,\n        get: function get() {\n          return validatedProperty.get(this, keyName);\n        }\n      });\n\n      meta.writeDescriptors(keyName, validatedProperty);\n    } else {\n      // We're trying to fly under the radar here, so don't use Ember.defineProperty.\n      // Ember should think the property is completely unchanged.\n      Object.defineProperty(instance, keyName, {\n        configurable: true,\n        enumerable: true,\n        writable: true,\n        value: validatedProperty\n      });\n    }\n  }\n\n  var ValidatingCreateMixin = Ember.Mixin.create({\n    create: function create() {\n      var instance = this._super.apply(this, arguments);\n\n      var klass = this;\n      var prototype = Object.getPrototypeOf(instance);\n      var validations = (0, _validationsFor.getValidationsFor)(prototype);\n\n      if (!validations) {\n        return instance;\n      }\n\n      for (var key in validations) {\n        wrapField(klass, instance, validations, key);\n      }\n\n      return instance;\n    }\n  });\n\n  Ember.Object.reopenClass(ValidatingCreateMixin);\n\n  // Reopening a parent class does not apply the mixin to existing child classes,\n  // so we need to apply it directly\n  ValidatingCreateMixin.apply(Ember.Component);\n  ValidatingCreateMixin.apply(Ember.Service);\n  ValidatingCreateMixin.apply(Ember.Controller);\n\n  if (requireModule.has('ember-data')) {\n    var DS = requireModule('ember-data').default;\n\n    if (DS.Model) {\n      ValidatingCreateMixin.apply(DS.Model);\n    }\n  }\n\n  function validationDecorator(fn) {\n    return function (target, key, desc, options) {\n      var validations = (0, _validationsFor.getValidationsForKey)(target, key);\n\n      fn(target, key, desc, options, validations);\n\n      if (!desc.get && !desc.set) {\n        // always ensure the property is writeable, doesn't make sense otherwise (babel bug?)\n        desc.writable = true;\n        desc.configurable = true;\n      }\n\n      if (desc.initializer === null) {\n        desc.initializer = undefined;\n      }\n    };\n  }\n});","define(\"@ember-decorators/argument/-debug/utils/validations-for\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.getValidationsFor = getValidationsFor;\n  exports.getOrCreateValidationsFor = getOrCreateValidationsFor;\n  exports.getValidationsForKey = getValidationsForKey;\n\n  function _classCallCheck(instance, Constructor) {\n    if (!(instance instanceof Constructor)) {\n      throw new TypeError(\"Cannot call a class as a function\");\n    }\n  }\n\n  var validationMetaMap = new WeakMap();\n\n  var FieldValidations = function FieldValidations() {\n    var parentValidations = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n\n    _classCallCheck(this, FieldValidations);\n\n    if (parentValidations === null) {\n      this.isRequired = false;\n      this.isImmutable = false;\n      this.isArgument = false;\n      this.typeRequired = false;\n\n      this.typeValidators = [];\n    } else {\n      var isRequired = parentValidations.isRequired,\n          isImmutable = parentValidations.isImmutable,\n          isArgument = parentValidations.isArgument,\n          typeRequired = parentValidations.typeRequired,\n          typeValidators = parentValidations.typeValidators;\n\n\n      this.isRequired = isRequired;\n      this.isImmutable = isImmutable;\n      this.isArgument = isArgument;\n      this.typeRequired = typeRequired;\n\n      this.typeValidators = typeValidators.slice();\n    }\n  };\n\n  function getValidationsFor(target) {\n    // Reached the root of the prototype chain\n    if (target === null) return;\n\n    return validationMetaMap.get(target) || getValidationsFor(Object.getPrototypeOf(target));\n  }\n\n  function getOrCreateValidationsFor(target) {\n    if (!validationMetaMap.has(target)) {\n      var parentMeta = getValidationsFor(Object.getPrototypeOf(target));\n      validationMetaMap.set(target, Object.create(parentMeta || null));\n    }\n\n    return validationMetaMap.get(target);\n  }\n\n  function getValidationsForKey(target, key) {\n    var validations = getOrCreateValidationsFor(target);\n\n    if (!Object.hasOwnProperty.call(validations, key)) {\n      var parentValidations = validations[key];\n      validations[key] = new FieldValidations(parentValidations);\n    }\n\n    return validations[key];\n  }\n});","define('@ember-decorators/argument/-debug/utils/validators', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.makeValidator = makeValidator;\n  exports.resolveValidator = resolveValidator;\n\n  var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  };\n\n  function instanceOf(type) {\n    return makeValidator(type.toString(), function (value) {\n      return value instanceof type;\n    });\n  }\n\n  var primitiveTypeValidators = {\n    any: makeValidator('any', function () {\n      return true;\n    }),\n    object: makeValidator('object', function (value) {\n      return typeof value !== 'boolean' && typeof value !== 'number' && typeof value !== 'string' && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) !== 'symbol' && value !== null && value !== undefined;\n    }),\n\n    boolean: makeValidator('boolean', function (value) {\n      return typeof value === 'boolean';\n    }),\n    number: makeValidator('number', function (value) {\n      return typeof value === 'number';\n    }),\n    string: makeValidator('string', function (value) {\n      return typeof value === 'string';\n    }),\n    symbol: makeValidator('symbol', function (value) {\n      return (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'symbol';\n    }),\n\n    null: makeValidator('null', function (value) {\n      return value === null;\n    }),\n    undefined: makeValidator('undefined', function (value) {\n      return value === undefined;\n    })\n  };\n\n  function makeValidator(desc, fn) {\n    fn.isValidator = true;\n    fn.toString = function () {\n      return desc;\n    };\n    return fn;\n  }\n\n  function resolveValidator(type) {\n    if (type === null || type === undefined) {\n      return type === null ? primitiveTypeValidators.null : primitiveTypeValidators.undefined;\n    } else if (type.isValidator === true) {\n      return type;\n    } else if (typeof type === 'function' || (typeof type === 'undefined' ? 'undefined' : _typeof(type)) === 'object') {\n      // We allow objects for certain classes in IE, like Element, which have typeof 'object' for some reason\n      return instanceOf(type);\n    } else if (typeof type === 'string') {\n      (true && !(primitiveTypeValidators[type] !== undefined) && Ember.assert('Unknown primitive type received: ' + type, primitiveTypeValidators[type] !== undefined));\n\n\n      return primitiveTypeValidators[type];\n    } else {\n      (true && !(false) && Ember.assert('Types must either be a primitive type string, class, validator, or null or undefined, received: ' + type, false));\n    }\n  }\n});","define('@ember-decorators/argument/-debug/validated-component', ['exports', 'ember-get-config', '@ember-decorators/argument/-debug/utils/validations-for', '@ember-decorators/argument/-debug/utils/validation-decorator'], function (exports, _emberGetConfig, _validationsFor) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  var validatedComponent = void 0;\n\n  var whitelist = {\n    ariaRole: true,\n    class: true,\n    classNames: true,\n    id: true,\n    isVisible: true,\n    tagName: true,\n    target: true,\n    __ANGLE_ATTRS__: true\n  };\n\n  if (true) {\n    validatedComponent = Ember.Component.extend();\n\n    validatedComponent.reopenClass({\n      create: function create(props) {\n        // First create the instance to realize any dynamically added bindings or fields\n        var instance = this._super.apply(this, arguments);\n\n        var prototype = Object.getPrototypeOf(instance);\n        var validations = (0, _validationsFor.getValidationsFor)(prototype) || {};\n        if (Ember.getWithDefault(_emberGetConfig.default, '@ember-decorators/argument.ignoreComponentsWithoutValidations', false) && Object.keys(validations).length === 0) {\n          return instance;\n        }\n\n        var attributes = instance.attributeBindings || [];\n        var classNames = (instance.classNameBindings || []).map(function (binding) {\n          return binding.split(':')[0];\n        });\n\n        for (var key in props.attrs) {\n          var isValidArgOrAttr = key in validations && validations[key].isArgument || key in whitelist || attributes.indexOf(key) !== -1 || classNames.indexOf(key) !== -1;\n\n          (true && !(isValidArgOrAttr) && Ember.assert('Attempted to assign the argument \\'' + key + '\\' on an instance of ' + (this.name || this) + ', but no argument was defined for that key. Use the @argument helper on the class field to define an argument for that class.', isValidArgOrAttr));\n        }\n\n        return instance;\n      }\n    });\n  } else {\n    validatedComponent = Ember.Component;\n  }\n\n  exports.default = validatedComponent;\n});","define('@ember-decorators/argument/errors', ['exports', '@ember-decorators/argument/-debug'], function (exports, _debug) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(exports, 'MutabilityError', {\n    enumerable: true,\n    get: function () {\n      return _debug.MutabilityError;\n    }\n  });\n  Object.defineProperty(exports, 'RequiredFieldError', {\n    enumerable: true,\n    get: function () {\n      return _debug.RequiredFieldError;\n    }\n  });\n  Object.defineProperty(exports, 'TypeError', {\n    enumerable: true,\n    get: function () {\n      return _debug.TypeError;\n    }\n  });\n});","define('@ember-decorators/argument/index', ['exports', 'ember-get-config', '@ember-decorators/argument/utils/make-computed', '@ember-decorators/argument/-debug'], function (exports, _emberGetConfig, _makeComputed, _debug) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.argument = argument;\n\n  var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  };\n\n  var valueMap = new WeakMap();\n\n  function valuesFor(obj) {\n    if (!valueMap.has(obj)) {\n      valueMap.set(obj, Object.create(null));\n    }\n\n    return valueMap.get(obj);\n  }\n\n  var internalArgumentDecorator = function internalArgumentDecorator(target, key, desc, options) {\n    if (true) {\n      var validations = (0, _debug.getValidationsForKey)(target, key);\n      validations.isArgument = true;\n      validations.typeRequired = Ember.getWithDefault(_emberGetConfig.default, '@ember-decorators/argument.typeRequired', false);\n    }\n\n    // always ensure the property is writeable, doesn't make sense otherwise (babel bug?)\n    desc.writable = true;\n    desc.configurable = true;\n\n    if (desc.initializer === null || desc.initializer === undefined) {\n      desc.initializer = undefined;\n      return;\n    }\n\n    var initializer = desc.initializer;\n\n    var get = function get() {\n      var values = valuesFor(this);\n\n      if (!Object.hasOwnProperty.call(values, key)) {\n        values[key] = initializer.call(this);\n      }\n\n      return values[key];\n    };\n\n    if (options.defaultIfNullish === true || options.defaultIfUndefined === true) {\n      var defaultIf = void 0;\n\n      if (options.defaultIfNullish === true) {\n        defaultIf = function defaultIf(v) {\n          return v === undefined || v === null;\n        };\n      } else {\n        defaultIf = function defaultIf(v) {\n          return v === undefined;\n        };\n      }\n\n      if (true) {\n        return {\n          get: get,\n          set: function set(value) {\n            if (defaultIf(value)) {\n              valuesFor(this)[key] = initializer.call(this);\n            } else {\n              valuesFor(this)[key] = value;\n            }\n          }\n        };\n      }\n\n      var descriptor = (0, _makeComputed.default)({\n        get: get,\n        set: function set(keyName, value) {\n          if (defaultIf(value)) {\n            return valuesFor(this)[key] = initializer.call(this);\n          } else {\n            return valuesFor(this)[key] = value;\n          }\n        }\n      });\n\n      // Decorators spec doesn't allow us to make a computed directly on\n      // the prototype, so we need to wrap the descriptor in a getter\n      return {\n        get: function get() {\n          return descriptor;\n        }\n      };\n    } else {\n      return {\n        get: get,\n        set: function set(value) {\n          valuesFor(this)[key] = value;\n        }\n      };\n    }\n  };\n\n  function argument(maybeOptions, maybeKey, maybeDesc) {\n    if (typeof maybeKey === 'string' && (typeof maybeDesc === 'undefined' ? 'undefined' : _typeof(maybeDesc)) === 'object') {\n      return internalArgumentDecorator(maybeOptions, maybeKey, maybeDesc, { defaultIfUndefined: false });\n    }\n\n    return function (target, key, desc) {\n      return internalArgumentDecorator(target, key, desc, maybeOptions);\n    };\n  }\n});","define('@ember-decorators/argument/type', ['exports', '@ember-decorators/argument/-debug'], function (exports, _debug) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(exports, 'type', {\n    enumerable: true,\n    get: function () {\n      return _debug.type;\n    }\n  });\n  Object.defineProperty(exports, 'arrayOf', {\n    enumerable: true,\n    get: function () {\n      return _debug.arrayOf;\n    }\n  });\n  Object.defineProperty(exports, 'shapeOf', {\n    enumerable: true,\n    get: function () {\n      return _debug.shapeOf;\n    }\n  });\n  Object.defineProperty(exports, 'unionOf', {\n    enumerable: true,\n    get: function () {\n      return _debug.unionOf;\n    }\n  });\n  Object.defineProperty(exports, 'optional', {\n    enumerable: true,\n    get: function () {\n      return _debug.optional;\n    }\n  });\n  Object.defineProperty(exports, 'oneOf', {\n    enumerable: true,\n    get: function () {\n      return _debug.oneOf;\n    }\n  });\n});","define('@ember-decorators/argument/types', ['exports', '@ember-decorators/argument/-debug'], function (exports, _debug) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.Node = exports.Element = exports.ClosureAction = exports.Action = undefined;\n\n  function _classCallCheck(instance, Constructor) {\n    if (!(instance instanceof Constructor)) {\n      throw new TypeError(\"Cannot call a class as a function\");\n    }\n  }\n\n  /**\n   * Action type, covers both string actions and closure actions\n   */\n  var Action = exports.Action = (0, _debug.unionOf)('string', Function);\n\n  /**\n   * Action type, covers both string actions and closure actions\n   */\n  var ClosureAction = exports.ClosureAction = Function;\n\n  /**\n   * Element type polyfill for fastboot\n   */\n  var Element = exports.Element = window ? window.Element : function Element() {\n    _classCallCheck(this, Element);\n  };\n\n  /**\n   * Node type polyfill for fastboot\n   */\n  var Node = exports.Node = window ? window.Node : function Node() {\n    _classCallCheck(this, Node);\n  };\n});","define('@ember-decorators/argument/utils/make-computed', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = makeComputed;\n  function makeComputed(desc) {\n    if (true) {\n      return Ember.computed(desc);\n    } else {\n      var get = desc.get,\n          set = desc.set;\n\n\n      return Ember.computed(function (key, value) {\n        if (arguments.length > 1) {\n          return set.call(this, key, value);\n        }\n\n        return get.call(this);\n      });\n    }\n  }\n});","define('@ember-decorators/argument/validation', ['exports', '@ember-decorators/argument/-debug'], function (exports, _debug) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(exports, 'immutable', {\n    enumerable: true,\n    get: function () {\n      return _debug.immutable;\n    }\n  });\n  Object.defineProperty(exports, 'required', {\n    enumerable: true,\n    get: function () {\n      return _debug.required;\n    }\n  });\n});","define('@ember/ordered-set/index', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  function _classCallCheck(instance, Constructor) {\n    if (!(instance instanceof Constructor)) {\n      throw new TypeError(\"Cannot call a class as a function\");\n    }\n  }\n\n  var NEEDS_CUSTOM_ORDERED_SET = true;\n\n  var OrderedSet = void 0;\n\n  if (NEEDS_CUSTOM_ORDERED_SET) {\n    /**\n    @class OrderedSet\n    @constructor\n    */\n    OrderedSet = function () {\n      function OrderedSet() {\n        _classCallCheck(this, OrderedSet);\n\n        this.clear();\n      }\n\n      /**\n      @method create\n      @static\n      @return {OrderedSet}\n      */\n\n\n      OrderedSet.create = function create() {\n        var Constructor = this;\n        return new Constructor();\n      };\n\n      OrderedSet.prototype.clear = function clear() {\n        this.presenceSet = Object.create(null);\n        this.list = [];\n        this.size = 0;\n      };\n\n      OrderedSet.prototype.add = function add(obj, _guid) {\n        var guid = _guid || Ember.guidFor(obj);\n        var presenceSet = this.presenceSet;\n        var list = this.list;\n\n        if (presenceSet[guid] !== true) {\n          presenceSet[guid] = true;\n          this.size = list.push(obj);\n        }\n\n        return this;\n      };\n\n      OrderedSet.prototype.delete = function _delete(obj, _guid) {\n        var guid = _guid || Ember.guidFor(obj);\n        var presenceSet = this.presenceSet;\n        var list = this.list;\n\n        if (presenceSet[guid] === true) {\n          delete presenceSet[guid];\n          var index = list.indexOf(obj);\n          if (index > -1) {\n            list.splice(index, 1);\n          }\n          this.size = list.length;\n          return true;\n        } else {\n          return false;\n        }\n      };\n\n      OrderedSet.prototype.isEmpty = function isEmpty() {\n        return this.size === 0;\n      };\n\n      OrderedSet.prototype.has = function has(obj) {\n        if (this.size === 0) {\n          return false;\n        }\n\n        var guid = Ember.guidFor(obj);\n        var presenceSet = this.presenceSet;\n\n        return presenceSet[guid] === true;\n      };\n\n      OrderedSet.prototype.forEach = function forEach(fn /*, ...thisArg*/) {\n        (true && !(typeof fn === 'function') && Ember.assert(Object.prototype.toString.call(fn) + ' is not a function', typeof fn === 'function'));\n\n\n        if (this.size === 0) {\n          return;\n        }\n\n        var list = this.list;\n\n        if (arguments.length === 2) {\n          for (var i = 0; i < list.length; i++) {\n            fn.call(arguments[1], list[i]);\n          }\n        } else {\n          for (var _i = 0; _i < list.length; _i++) {\n            fn(list[_i]);\n          }\n        }\n      };\n\n      OrderedSet.prototype.toArray = function toArray() {\n        return this.list.slice();\n      };\n\n      OrderedSet.prototype.copy = function copy() {\n        var Constructor = this.constructor;\n        var set = new Constructor();\n\n        set.presenceSet = Object.create(null);\n\n        for (var prop in this.presenceSet) {\n          // hasOwnPropery is not needed because obj is Object.create(null);\n          set.presenceSet[prop] = this.presenceSet[prop];\n        }\n\n        set.list = this.toArray();\n        set.size = this.size;\n\n        return set;\n      };\n\n      return OrderedSet;\n    }();\n  } else {\n    OrderedSet = Ember.__OrderedSet__ || Ember.OrderedSet;\n  }\n\n  exports.default = OrderedSet;\n});","define(\"ember-ajax/-private/promise\", [\"exports\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/createClass\", \"@babel/runtime/helpers/esm/possibleConstructorReturn\", \"@babel/runtime/helpers/esm/getPrototypeOf\", \"@babel/runtime/helpers/esm/get\", \"@babel/runtime/helpers/esm/inherits\"], function (_exports, _classCallCheck2, _createClass2, _possibleConstructorReturn2, _getPrototypeOf2, _get2, _inherits2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * AJAX Promise\n   *\n   * Sub-class of RSVP Promise that passes the XHR property on to the\n   * child promise\n   *\n   * @extends RSVP.Promise\n   * @private\n   */\n  var AJAXPromise =\n  /*#__PURE__*/\n  function (_EmberRSVPPromise) {\n    (0, _inherits2.default)(AJAXPromise, _EmberRSVPPromise);\n\n    // NOTE: Only necessary due to broken definition of RSVP.Promise\n    // https://github.com/DefinitelyTyped/DefinitelyTyped/pull/26640\n    function AJAXPromise(executor, label) {\n      (0, _classCallCheck2.default)(this, AJAXPromise);\n      // @ts-ignore\n      return (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(AJAXPromise).call(this, executor, label));\n    }\n    /**\n     * Overriding `.then` to add XHR to child promise\n     */\n\n\n    (0, _createClass2.default)(AJAXPromise, [{\n      key: \"then\",\n      value: function then(onFulfilled, onRejected, label) {\n        var child = (0, _get2.default)((0, _getPrototypeOf2.default)(AJAXPromise.prototype), \"then\", this).call(this, onFulfilled, onRejected, label);\n        child.xhr = this.xhr;\n        return child;\n      }\n    }]);\n    return AJAXPromise;\n  }(Ember.RSVP.Promise);\n\n  _exports.default = AJAXPromise;\n});","define(\"ember-ajax/-private/types\", [], function () {\n  \"use strict\";\n});","define(\"ember-ajax/-private/utils/get-header\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = getHeader;\n\n  /**\n   * Do a case-insensitive lookup of an HTTP header\n   *\n   * @function getHeader\n   * @private\n   */\n  function getHeader(headers, name) {\n    if (Ember.isNone(headers) || Ember.isNone(name)) {\n      return undefined;\n    }\n\n    var matchedKey = Ember.A(Object.keys(headers)).find(function (key) {\n      return key.toLowerCase() === name.toLowerCase();\n    });\n    return matchedKey ? headers[matchedKey] : undefined;\n  }\n});","define(\"ember-ajax/-private/utils/is-string\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isString;\n\n  function isString(object) {\n    return typeof object === 'string';\n  }\n});","define(\"ember-ajax/-private/utils/parse-response-headers\", [\"exports\", \"@babel/runtime/helpers/esm/toArray\"], function (_exports, _toArray2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = parseResponseHeaders;\n  _exports.CRLF = void 0;\n  var CRLF = \"\\r\\n\";\n  _exports.CRLF = CRLF;\n\n  function parseResponseHeaders(headersString) {\n    var headers = {};\n\n    if (!headersString) {\n      return headers;\n    }\n\n    return headersString.split(CRLF).reduce(function (hash, header) {\n      var _header$split = header.split(':'),\n          _header$split2 = (0, _toArray2.default)(_header$split),\n          field = _header$split2[0],\n          value = _header$split2.slice(1);\n\n      field = field.trim();\n      var valueString = value.join(':').trim();\n\n      if (valueString) {\n        hash[field] = valueString;\n      }\n\n      return hash;\n    }, headers);\n  }\n});","define(\"ember-ajax/-private/utils/url-helpers\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.parseURL = parseURL;\n  _exports.isFullURL = isFullURL;\n  _exports.haveSameHost = haveSameHost;\n\n  /* eslint-env browser, node */\n  var completeUrlRegex = /^(http|https)/;\n  /**\n   * Parse a URL string into an object that defines its structure\n   *\n   * The returned object will have the following properties:\n   *\n   *   href: the full URL\n   *   protocol: the request protocol\n   *   hostname: the target for the request\n   *   port: the port for the request\n   *   pathname: any URL after the host\n   *   search: query parameters\n   *   hash: the URL hash\n   *\n   * @function parseURL\n   * @private\n   */\n\n  function parseURL(str) {\n    var fullObject;\n\n    if (typeof FastBoot === 'undefined') {\n      var element = document.createElement('a');\n      element.href = str;\n      fullObject = element;\n    } else {\n      fullObject = FastBoot.require('url').parse(str);\n    }\n\n    var desiredProps = {\n      href: fullObject.href,\n      protocol: fullObject.protocol,\n      hostname: fullObject.hostname,\n      port: fullObject.port,\n      pathname: fullObject.pathname,\n      search: fullObject.search,\n      hash: fullObject.hash\n    };\n    return desiredProps;\n  }\n\n  function isFullURL(url) {\n    return !!url.match(completeUrlRegex);\n  }\n\n  function haveSameHost(a, b) {\n    var urlA = parseURL(a);\n    var urlB = parseURL(b);\n    return urlA.protocol === urlB.protocol && urlA.hostname === urlB.hostname && urlA.port === urlB.port;\n  }\n});","define(\"ember-ajax/ajax-request\", [\"exports\", \"ember-ajax/mixins/ajax-request\"], function (_exports, _ajaxRequest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Object.extend(_ajaxRequest.default);\n\n  _exports.default = _default;\n});","define(\"ember-ajax/errors\", [\"exports\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/possibleConstructorReturn\", \"@babel/runtime/helpers/esm/getPrototypeOf\", \"@babel/runtime/helpers/esm/inherits\", \"@babel/runtime/helpers/esm/wrapNativeSuper\"], function (_exports, _classCallCheck2, _possibleConstructorReturn2, _getPrototypeOf2, _inherits2, _wrapNativeSuper2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isAjaxError = isAjaxError;\n  _exports.isUnauthorizedError = isUnauthorizedError;\n  _exports.isForbiddenError = isForbiddenError;\n  _exports.isInvalidError = isInvalidError;\n  _exports.isBadRequestError = isBadRequestError;\n  _exports.isNotFoundError = isNotFoundError;\n  _exports.isGoneError = isGoneError;\n  _exports.isTimeoutError = isTimeoutError;\n  _exports.isAbortError = isAbortError;\n  _exports.isConflictError = isConflictError;\n  _exports.isServerError = isServerError;\n  _exports.isSuccess = isSuccess;\n  _exports.ServerError = _exports.ConflictError = _exports.AbortError = _exports.TimeoutError = _exports.GoneError = _exports.NotFoundError = _exports.BadRequestError = _exports.ForbiddenError = _exports.UnauthorizedError = _exports.InvalidError = _exports.AjaxError = void 0;\n\n  var AjaxError =\n  /*#__PURE__*/\n  function (_Error) {\n    (0, _inherits2.default)(AjaxError, _Error);\n\n    function AjaxError(payload) {\n      var _this;\n\n      var message = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'Ajax operation failed';\n      var status = arguments.length > 2 ? arguments[2] : undefined;\n      (0, _classCallCheck2.default)(this, AjaxError);\n      _this = (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(AjaxError).call(this, message));\n      _this.payload = payload;\n      _this.status = status;\n      return _this;\n    }\n\n    return AjaxError;\n  }((0, _wrapNativeSuper2.default)(Error));\n\n  _exports.AjaxError = AjaxError;\n\n  var InvalidError =\n  /*#__PURE__*/\n  function (_AjaxError) {\n    (0, _inherits2.default)(InvalidError, _AjaxError);\n\n    function InvalidError(payload) {\n      (0, _classCallCheck2.default)(this, InvalidError);\n      return (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(InvalidError).call(this, payload, 'Request was rejected because it was invalid', 422));\n    }\n\n    return InvalidError;\n  }(AjaxError);\n\n  _exports.InvalidError = InvalidError;\n\n  var UnauthorizedError =\n  /*#__PURE__*/\n  function (_AjaxError2) {\n    (0, _inherits2.default)(UnauthorizedError, _AjaxError2);\n\n    function UnauthorizedError(payload) {\n      (0, _classCallCheck2.default)(this, UnauthorizedError);\n      return (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(UnauthorizedError).call(this, payload, 'Ajax authorization failed', 401));\n    }\n\n    return UnauthorizedError;\n  }(AjaxError);\n\n  _exports.UnauthorizedError = UnauthorizedError;\n\n  var ForbiddenError =\n  /*#__PURE__*/\n  function (_AjaxError3) {\n    (0, _inherits2.default)(ForbiddenError, _AjaxError3);\n\n    function ForbiddenError(payload) {\n      (0, _classCallCheck2.default)(this, ForbiddenError);\n      return (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(ForbiddenError).call(this, payload, 'Request was rejected because user is not permitted to perform this operation.', 403));\n    }\n\n    return ForbiddenError;\n  }(AjaxError);\n\n  _exports.ForbiddenError = ForbiddenError;\n\n  var BadRequestError =\n  /*#__PURE__*/\n  function (_AjaxError4) {\n    (0, _inherits2.default)(BadRequestError, _AjaxError4);\n\n    function BadRequestError(payload) {\n      (0, _classCallCheck2.default)(this, BadRequestError);\n      return (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(BadRequestError).call(this, payload, 'Request was formatted incorrectly.', 400));\n    }\n\n    return BadRequestError;\n  }(AjaxError);\n\n  _exports.BadRequestError = BadRequestError;\n\n  var NotFoundError =\n  /*#__PURE__*/\n  function (_AjaxError5) {\n    (0, _inherits2.default)(NotFoundError, _AjaxError5);\n\n    function NotFoundError(payload) {\n      (0, _classCallCheck2.default)(this, NotFoundError);\n      return (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(NotFoundError).call(this, payload, 'Resource was not found.', 404));\n    }\n\n    return NotFoundError;\n  }(AjaxError);\n\n  _exports.NotFoundError = NotFoundError;\n\n  var GoneError =\n  /*#__PURE__*/\n  function (_AjaxError6) {\n    (0, _inherits2.default)(GoneError, _AjaxError6);\n\n    function GoneError(payload) {\n      (0, _classCallCheck2.default)(this, GoneError);\n      return (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(GoneError).call(this, payload, 'Resource is no longer available.', 410));\n    }\n\n    return GoneError;\n  }(AjaxError);\n\n  _exports.GoneError = GoneError;\n\n  var TimeoutError =\n  /*#__PURE__*/\n  function (_AjaxError7) {\n    (0, _inherits2.default)(TimeoutError, _AjaxError7);\n\n    function TimeoutError() {\n      (0, _classCallCheck2.default)(this, TimeoutError);\n      return (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(TimeoutError).call(this, null, 'The ajax operation timed out', -1));\n    }\n\n    return TimeoutError;\n  }(AjaxError);\n\n  _exports.TimeoutError = TimeoutError;\n\n  var AbortError =\n  /*#__PURE__*/\n  function (_AjaxError8) {\n    (0, _inherits2.default)(AbortError, _AjaxError8);\n\n    function AbortError() {\n      (0, _classCallCheck2.default)(this, AbortError);\n      return (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(AbortError).call(this, null, 'The ajax operation was aborted', 0));\n    }\n\n    return AbortError;\n  }(AjaxError);\n\n  _exports.AbortError = AbortError;\n\n  var ConflictError =\n  /*#__PURE__*/\n  function (_AjaxError9) {\n    (0, _inherits2.default)(ConflictError, _AjaxError9);\n\n    function ConflictError(payload) {\n      (0, _classCallCheck2.default)(this, ConflictError);\n      return (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(ConflictError).call(this, payload, 'The ajax operation failed due to a conflict', 409));\n    }\n\n    return ConflictError;\n  }(AjaxError);\n\n  _exports.ConflictError = ConflictError;\n\n  var ServerError =\n  /*#__PURE__*/\n  function (_AjaxError10) {\n    (0, _inherits2.default)(ServerError, _AjaxError10);\n\n    function ServerError(payload, status) {\n      (0, _classCallCheck2.default)(this, ServerError);\n      return (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(ServerError).call(this, payload, 'Request was rejected due to server error', status));\n    }\n\n    return ServerError;\n  }(AjaxError);\n  /**\n   * Checks if the given error is or inherits from AjaxError\n   */\n\n\n  _exports.ServerError = ServerError;\n\n  function isAjaxError(error) {\n    return error instanceof AjaxError;\n  }\n  /**\n   * Checks if the given status code or AjaxError object represents an\n   * unauthorized request error\n   */\n\n\n  function isUnauthorizedError(error) {\n    if (isAjaxError(error)) {\n      return error instanceof UnauthorizedError;\n    } else {\n      return error === 401;\n    }\n  }\n  /**\n   * Checks if the given status code or AjaxError object represents a forbidden\n   * request error\n   */\n\n\n  function isForbiddenError(error) {\n    if (isAjaxError(error)) {\n      return error instanceof ForbiddenError;\n    } else {\n      return error === 403;\n    }\n  }\n  /**\n   * Checks if the given status code or AjaxError object represents an invalid\n   * request error\n   */\n\n\n  function isInvalidError(error) {\n    if (isAjaxError(error)) {\n      return error instanceof InvalidError;\n    } else {\n      return error === 422;\n    }\n  }\n  /**\n   * Checks if the given status code or AjaxError object represents a bad request\n   * error\n   */\n\n\n  function isBadRequestError(error) {\n    if (isAjaxError(error)) {\n      return error instanceof BadRequestError;\n    } else {\n      return error === 400;\n    }\n  }\n  /**\n   * Checks if the given status code or AjaxError object represents a \"not found\"\n   * error\n   */\n\n\n  function isNotFoundError(error) {\n    if (isAjaxError(error)) {\n      return error instanceof NotFoundError;\n    } else {\n      return error === 404;\n    }\n  }\n  /**\n   * Checks if the given status code or AjaxError object represents a \"gone\"\n   * error\n   */\n\n\n  function isGoneError(error) {\n    if (isAjaxError(error)) {\n      return error instanceof GoneError;\n    } else {\n      return error === 410;\n    }\n  }\n  /**\n   * Checks if the given object represents a \"timeout\" error\n   */\n\n\n  function isTimeoutError(error) {\n    return error instanceof TimeoutError;\n  }\n  /**\n   * Checks if the given status code or AjaxError object represents an\n   * \"abort\" error\n   */\n\n\n  function isAbortError(error) {\n    if (isAjaxError(error)) {\n      return error instanceof AbortError;\n    } else {\n      return error === 0;\n    }\n  }\n  /**\n   * Checks if the given status code or AjaxError object represents a\n   * conflict error\n   */\n\n\n  function isConflictError(error) {\n    if (isAjaxError(error)) {\n      return error instanceof ConflictError;\n    } else {\n      return error === 409;\n    }\n  }\n  /**\n   * Checks if the given status code or AjaxError object represents a server error\n   */\n\n\n  function isServerError(error) {\n    if (isAjaxError(error)) {\n      return error instanceof ServerError;\n    } else {\n      return error >= 500 && error < 600;\n    }\n  }\n  /**\n   * Checks if the given status code represents a successful request\n   */\n\n\n  function isSuccess(status) {\n    var s = status;\n\n    if (typeof status === 'string') {\n      s = parseInt(status, 10);\n    }\n\n    return s >= 200 && s < 300 || s === 304;\n  }\n});","define(\"ember-ajax/index\", [\"exports\", \"ember-ajax/request\"], function (_exports, _request) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _request.default;\n    }\n  });\n});","define(\"ember-ajax/mixins/ajax-request\", [\"exports\", \"@babel/runtime/helpers/esm/typeof\", \"ember-ajax/errors\", \"ember-ajax/utils/ajax\", \"ember-ajax/-private/utils/parse-response-headers\", \"ember-ajax/-private/utils/get-header\", \"ember-ajax/-private/utils/url-helpers\", \"ember-ajax/-private/utils/is-string\", \"ember-ajax/-private/promise\"], function (_exports, _typeof2, _errors, _ajax, _parseResponseHeaders, _getHeader, _urlHelpers, _isString, _promise) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var Test = Ember.Test;\n  var JSONContentType = /^application\\/(?:vnd\\.api\\+)?json/i;\n\n  function isJSONContentType(header) {\n    if (!(0, _isString.default)(header)) {\n      return false;\n    }\n\n    return !!header.match(JSONContentType);\n  }\n\n  function isJSONStringifyable(method, _ref) {\n    var contentType = _ref.contentType,\n        data = _ref.data,\n        headers = _ref.headers;\n\n    if (method === 'GET') {\n      return false;\n    }\n\n    if (!isJSONContentType(contentType) && !isJSONContentType((0, _getHeader.default)(headers, 'Content-Type'))) {\n      return false;\n    }\n\n    if ((0, _typeof2.default)(data) !== 'object') {\n      return false;\n    }\n\n    return true;\n  }\n\n  function startsWithSlash(string) {\n    return string.charAt(0) === '/';\n  }\n\n  function endsWithSlash(string) {\n    return string.charAt(string.length - 1) === '/';\n  }\n\n  function removeLeadingSlash(string) {\n    return string.substring(1);\n  }\n\n  function removeTrailingSlash(string) {\n    return string.slice(0, -1);\n  }\n\n  function stripSlashes(path) {\n    // make sure path starts with `/`\n    if (startsWithSlash(path)) {\n      path = removeLeadingSlash(path);\n    } // remove end `/`\n\n\n    if (endsWithSlash(path)) {\n      path = removeTrailingSlash(path);\n    }\n\n    return path;\n  }\n\n  var pendingRequestCount = 0;\n\n  if (Ember.testing) {\n    Test.registerWaiter(function () {\n      return pendingRequestCount === 0;\n    });\n  }\n  /**\n   * AjaxRequest Mixin\n   */\n\n\n  var _default = Ember.Mixin.create({\n    /**\n     * The default value for the request `contentType`\n     *\n     * For now, defaults to the same value that jQuery would assign.  In the\n     * future, the default value will be for JSON requests.\n     * @property {string} contentType\n     * @public\n     */\n    contentType: 'application/x-www-form-urlencoded; charset=UTF-8',\n\n    /**\n     * Headers to include on the request\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     * ```javascript\n     * // app/services/ajax.js\n     * import AjaxService from 'ember-ajax/services/ajax';\n     *\n     * export default AjaxService.extend({\n     *   headers: {\n     *     'API_KEY': 'secret key',\n     *     'ANOTHER_HEADER': 'Some header value'\n     *   }\n     * });\n     * ```\n     *\n     * `headers` can also be used as a computed property to support dynamic\n     * headers.\n     *\n     * ```javascript\n     * // app/services/ajax.js\n     * import Ember from 'ember';\n     * import AjaxService from 'ember-ajax/services/ajax';\n     *\n     * const {\n     *   computed,\n     *   get,\n     *   inject: { service }\n     * } = Ember;\n     *\n     * export default AjaxService.extend({\n     *   session: service(),\n     *   headers: computed('session.authToken', function() {\n     *     return {\n     *       'API_KEY': get(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 object\n     * outside of Ember's observer system (for example `document.cookie`). You\n     * can use the `volatile` function to set the property into a non-cached mode\n     * causing the headers to be recomputed with every request.\n     *\n     * ```javascript\n     * // app/services/ajax.js\n     * import Ember from 'ember';\n     * import AjaxService from 'ember-ajax/services/ajax';\n     *\n     * const {\n     *   computed,\n     *   get,\n     *   inject: { service }\n     * } = Ember;\n     *\n     * export default AjaxService.extend({\n     *   session: service(),\n     *   headers: computed('session.authToken', function() {\n     *     return {\n     *       'API_KEY': get(document.cookie.match(/apiKey\\=([^;]*)/), '1'),\n     *       'ANOTHER_HEADER': 'Some header value'\n     *     };\n     *   }).volatile()\n     * });\n     * ```\n     *\n     * @property {Headers} headers\n     * @public\n     */\n    headers: undefined,\n\n    /**\n     * @property {string} host\n     * @public\n     */\n    host: undefined,\n\n    /**\n     * @property {string} namespace\n     * @public\n     */\n    namespace: undefined,\n\n    /**\n     * @property {Matcher[]} trustedHosts\n     * @public\n     */\n    trustedHosts: undefined,\n\n    /**\n     * Make an AJAX request, ignoring the raw XHR object and dealing only with\n     * the response\n     */\n    request: function request(url, options) {\n      var hash = this.options(url, options);\n\n      var internalPromise = this._makeRequest(hash);\n\n      var ajaxPromise = new _promise.default(function (resolve, reject) {\n        internalPromise.then(function (_ref2) {\n          var response = _ref2.response;\n          resolve(response);\n        }).catch(function (_ref3) {\n          var response = _ref3.response;\n          reject(response);\n        });\n      }, \"ember-ajax: \".concat(hash.type, \" \").concat(hash.url, \" response\"));\n      ajaxPromise.xhr = internalPromise.xhr;\n      return ajaxPromise;\n    },\n\n    /**\n     * Make an AJAX request, returning the raw XHR object along with the response\n     */\n    raw: function raw(url, options) {\n      var hash = this.options(url, options);\n      return this._makeRequest(hash);\n    },\n\n    /**\n     * Shared method to actually make an AJAX request\n     */\n    _makeRequest: function _makeRequest(hash) {\n      var _this = this;\n\n      var method = hash.method || hash.type || 'GET';\n      var requestData = {\n        method: method,\n        type: method,\n        url: hash.url\n      };\n\n      if (isJSONStringifyable(method, hash)) {\n        hash.data = JSON.stringify(hash.data);\n      }\n\n      pendingRequestCount = pendingRequestCount + 1;\n      var jqXHR = (0, _ajax.default)(hash.url, hash);\n      var promise = new _promise.default(function (resolve, reject) {\n        jqXHR.done(function (payload, textStatus, jqXHR) {\n          var response = _this.handleResponse(jqXHR.status, (0, _parseResponseHeaders.default)(jqXHR.getAllResponseHeaders()), payload, requestData);\n\n          if ((0, _errors.isAjaxError)(response)) {\n            var rejectionParam = {\n              payload: payload,\n              textStatus: textStatus,\n              jqXHR: jqXHR,\n              response: response\n            };\n            Ember.run.join(null, reject, rejectionParam);\n          } else {\n            var resolutionParam = {\n              payload: payload,\n              textStatus: textStatus,\n              jqXHR: jqXHR,\n              response: response\n            };\n            Ember.run.join(null, resolve, resolutionParam);\n          }\n        }).fail(function (jqXHR, textStatus, errorThrown) {\n          Ember.runInDebug(function () {\n            var message = \"The server returned an empty string for \".concat(requestData.type, \" \").concat(requestData.url, \", which cannot be parsed into a valid JSON. Return either null or {}.\");\n            var validJSONString = !(textStatus === 'parsererror' && jqXHR.responseText === '');\n            (true && Ember.warn(message, validJSONString, {\n              id: 'ds.adapter.returned-empty-string-as-JSON'\n            }));\n          });\n          var payload = _this.parseErrorResponse(jqXHR.responseText) || errorThrown;\n          var response;\n\n          if (textStatus === 'timeout') {\n            response = new _errors.TimeoutError();\n          } else if (textStatus === 'abort') {\n            response = new _errors.AbortError();\n          } else {\n            response = _this.handleResponse(jqXHR.status, (0, _parseResponseHeaders.default)(jqXHR.getAllResponseHeaders()), payload, requestData);\n          }\n\n          var rejectionParam = {\n            payload: payload,\n            textStatus: textStatus,\n            jqXHR: jqXHR,\n            errorThrown: errorThrown,\n            response: response\n          };\n          Ember.run.join(null, reject, rejectionParam);\n        }).always(function () {\n          pendingRequestCount = pendingRequestCount - 1;\n        });\n      }, \"ember-ajax: \".concat(hash.type, \" \").concat(hash.url));\n      promise.xhr = jqXHR;\n      return promise;\n    },\n\n    /**\n     * calls `request()` but forces `options.type` to `POST`\n     */\n    post: function post(url, options) {\n      return this.request(url, this._addTypeToOptionsFor(options, 'POST'));\n    },\n\n    /**\n     * calls `request()` but forces `options.type` to `PUT`\n     */\n    put: function put(url, options) {\n      return this.request(url, this._addTypeToOptionsFor(options, 'PUT'));\n    },\n\n    /**\n     * calls `request()` but forces `options.type` to `PATCH`\n     */\n    patch: function patch(url, options) {\n      return this.request(url, this._addTypeToOptionsFor(options, 'PATCH'));\n    },\n\n    /**\n     * calls `request()` but forces `options.type` to `DELETE`\n     */\n    del: function del(url, options) {\n      return this.request(url, this._addTypeToOptionsFor(options, 'DELETE'));\n    },\n\n    /**\n     * calls `request()` but forces `options.type` to `DELETE`\n     *\n     * Alias for `del()`\n     */\n    delete: function _delete(url, options) {\n      return this.del(url, options);\n    },\n\n    /**\n     * Wrap the `.get` method so that we issue a warning if\n     *\n     * Since `.get` is both an AJAX pattern _and_ an Ember pattern, we want to try\n     * to warn users when they try using `.get` to make a request\n     */\n    get: function get(url) {\n      if (arguments.length > 1 || url.indexOf('/') !== -1) {\n        throw new Ember.Error('It seems you tried to use `.get` to make a request! Use the `.request` method instead.');\n      }\n\n      return this._super.apply(this, arguments);\n    },\n\n    /**\n     * Manipulates the options hash to include the HTTP method on the type key\n     */\n    _addTypeToOptionsFor: function _addTypeToOptionsFor(options, method) {\n      options = options || {};\n      options.type = method;\n      return options;\n    },\n\n    /**\n     * Get the full \"headers\" hash, combining the service-defined headers with\n     * the ones provided for the request\n     */\n    _getFullHeadersHash: function _getFullHeadersHash(headers) {\n      var classHeaders = Ember.get(this, 'headers');\n      return Ember.assign({}, classHeaders, headers);\n    },\n\n    /**\n     * Created a normalized set of options from the per-request and\n     * service-level settings\n     */\n    options: function options(url) {\n      var _options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n      _options = Ember.assign({}, _options);\n      _options.url = this._buildURL(url, _options);\n      _options.type = _options.type || 'GET';\n      _options.dataType = _options.dataType || 'json';\n      _options.contentType = Ember.isEmpty(_options.contentType) ? Ember.get(this, 'contentType') : _options.contentType;\n\n      if (this._shouldSendHeaders(_options)) {\n        _options.headers = this._getFullHeadersHash(_options.headers);\n      } else {\n        _options.headers = _options.headers || {};\n      }\n\n      return _options;\n    },\n\n    /**\n     * Build a URL for a request\n     *\n     * If the provided `url` is deemed to be a complete URL, it will be returned\n     * directly.  If it is not complete, then the segment provided will be combined\n     * with the `host` and `namespace` options of the request class to create the\n     * full URL.\n     */\n    _buildURL: function _buildURL(url) {\n      var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n      if ((0, _urlHelpers.isFullURL)(url)) {\n        return url;\n      }\n\n      var urlParts = [];\n      var host = options.host || Ember.get(this, 'host');\n\n      if (host) {\n        host = endsWithSlash(host) ? removeTrailingSlash(host) : host;\n        urlParts.push(host);\n      }\n\n      var namespace = options.namespace || Ember.get(this, 'namespace');\n\n      if (namespace) {\n        // If host is given then we need to strip leading slash too( as it will be added through join)\n        if (host) {\n          namespace = stripSlashes(namespace);\n        } else if (endsWithSlash(namespace)) {\n          namespace = removeTrailingSlash(namespace);\n        } // If the URL has already been constructed (presumably, by Ember Data), then we should just leave it alone\n\n\n        var hasNamespaceRegex = new RegExp(\"^(/)?\".concat(stripSlashes(namespace), \"/\"));\n\n        if (!hasNamespaceRegex.test(url)) {\n          urlParts.push(namespace);\n        }\n      } // *Only* remove a leading slash when there is host or namespace -- we need to maintain a trailing slash for\n      // APIs that differentiate between it being and not being present\n\n\n      if (startsWithSlash(url) && urlParts.length !== 0) {\n        url = removeLeadingSlash(url);\n      }\n\n      urlParts.push(url);\n      return urlParts.join('/');\n    },\n\n    /**\n     * Takes an ajax response, and returns the json payload or an error.\n     *\n     * By default this hook just returns the json payload passed to it.\n     * You might want to override it in two cases:\n     *\n     * 1. Your API might return useful results in the response headers.\n     *    Response headers are passed in as the second argument.\n     *\n     * 2. Your API might return errors as successful responses with status code\n     *    200 and an Errors text or object.\n     */\n    handleResponse: function handleResponse(status, headers, payload, requestData) {\n      if (this.isSuccess(status, headers, payload)) {\n        return payload;\n      } // Allow overriding of error payload\n\n\n      payload = this.normalizeErrorResponse(status, headers, payload);\n      return this._createCorrectError(status, headers, payload, requestData);\n    },\n    _createCorrectError: function _createCorrectError(status, headers, payload, requestData) {\n      var error;\n\n      if (this.isUnauthorizedError(status, headers, payload)) {\n        error = new _errors.UnauthorizedError(payload);\n      } else if (this.isForbiddenError(status, headers, payload)) {\n        error = new _errors.ForbiddenError(payload);\n      } else if (this.isInvalidError(status, headers, payload)) {\n        error = new _errors.InvalidError(payload);\n      } else if (this.isBadRequestError(status, headers, payload)) {\n        error = new _errors.BadRequestError(payload);\n      } else if (this.isNotFoundError(status, headers, payload)) {\n        error = new _errors.NotFoundError(payload);\n      } else if (this.isGoneError(status, headers, payload)) {\n        error = new _errors.GoneError(payload);\n      } else if (this.isAbortError(status, headers, payload)) {\n        error = new _errors.AbortError();\n      } else if (this.isConflictError(status, headers, payload)) {\n        error = new _errors.ConflictError(payload);\n      } else if (this.isServerError(status, headers, payload)) {\n        error = new _errors.ServerError(payload, status);\n      } else {\n        var detailedMessage = this.generateDetailedMessage(status, headers, payload, requestData);\n        error = new _errors.AjaxError(payload, detailedMessage, status);\n      }\n\n      return error;\n    },\n\n    /**\n     * Match the host to a provided array of strings or regexes that can match to a host\n     */\n    _matchHosts: function _matchHosts(host, matcher) {\n      if (!(0, _isString.default)(host)) {\n        return false;\n      }\n\n      if (matcher instanceof RegExp) {\n        return matcher.test(host);\n      } else if (typeof matcher === 'string') {\n        return matcher === host;\n      } else {\n        console.warn('trustedHosts only handles strings or regexes. ', matcher, ' is neither.');\n        return false;\n      }\n    },\n\n    /**\n     * Determine whether the headers should be added for this request\n     *\n     * This hook is used to help prevent sending headers to every host, regardless\n     * of the destination, since this could be a security issue if authentication\n     * tokens are accidentally leaked to third parties.\n     *\n     * To avoid that problem, subclasses should utilize the `headers` computed\n     * property to prevent authentication from being sent to third parties, or\n     * implement this hook for more fine-grain control over when headers are sent.\n     *\n     * By default, the headers are sent if the host of the request matches the\n     * `host` property designated on the class.\n     */\n    _shouldSendHeaders: function _shouldSendHeaders(_ref4) {\n      var _this2 = this;\n\n      var url = _ref4.url,\n          host = _ref4.host;\n      url = url || '';\n      host = host || Ember.get(this, 'host') || '';\n      var trustedHosts = Ember.get(this, 'trustedHosts') || Ember.A();\n\n      var _parseURL = (0, _urlHelpers.parseURL)(url),\n          hostname = _parseURL.hostname; // Add headers on relative URLs\n\n\n      if (!(0, _urlHelpers.isFullURL)(url)) {\n        return true;\n      } else if (trustedHosts.find(function (matcher) {\n        return _this2._matchHosts(hostname, matcher);\n      })) {\n        return true;\n      } // Add headers on matching host\n\n\n      return (0, _urlHelpers.haveSameHost)(url, host);\n    },\n\n    /**\n     * Generates a detailed (\"friendly\") error message, with plenty\n     * of information for debugging (good luck!)\n     */\n    generateDetailedMessage: function generateDetailedMessage(status, headers, payload, requestData) {\n      var shortenedPayload;\n      var payloadContentType = (0, _getHeader.default)(headers, 'Content-Type') || 'Empty Content-Type';\n\n      if (payloadContentType.toLowerCase() === 'text/html' && payload.length > 250) {\n        shortenedPayload = '[Omitted Lengthy HTML]';\n      } else {\n        shortenedPayload = JSON.stringify(payload);\n      }\n\n      var requestDescription = \"\".concat(requestData.type, \" \").concat(requestData.url);\n      var payloadDescription = \"Payload (\".concat(payloadContentType, \")\");\n      return [\"Ember AJAX Request \".concat(requestDescription, \" returned a \").concat(status), payloadDescription, shortenedPayload].join('\\n');\n    },\n\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a an authorized error.\n     */\n    isUnauthorizedError: function isUnauthorizedError(status, _headers, _payload) {\n      return (0, _errors.isUnauthorizedError)(status);\n    },\n\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a forbidden error.\n     */\n    isForbiddenError: function isForbiddenError(status, _headers, _payload) {\n      return (0, _errors.isForbiddenError)(status);\n    },\n\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a an invalid error.\n     */\n    isInvalidError: function isInvalidError(status, _headers, _payload) {\n      return (0, _errors.isInvalidError)(status);\n    },\n\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a bad request error.\n     */\n    isBadRequestError: function isBadRequestError(status, _headers, _payload) {\n      return (0, _errors.isBadRequestError)(status);\n    },\n\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a \"not found\" error.\n     */\n    isNotFoundError: function isNotFoundError(status, _headers, _payload) {\n      return (0, _errors.isNotFoundError)(status);\n    },\n\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a \"gone\" error.\n     */\n    isGoneError: function isGoneError(status, _headers, _payload) {\n      return (0, _errors.isGoneError)(status);\n    },\n\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is an \"abort\" error.\n     */\n    isAbortError: function isAbortError(status, _headers, _payload) {\n      return (0, _errors.isAbortError)(status);\n    },\n\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a \"conflict\" error.\n     */\n    isConflictError: function isConflictError(status, _headers, _payload) {\n      return (0, _errors.isConflictError)(status);\n    },\n\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a server error.\n     */\n    isServerError: function isServerError(status, _headers, _payload) {\n      return (0, _errors.isServerError)(status);\n    },\n\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a success.\n     */\n    isSuccess: function isSuccess(status, _headers, _payload) {\n      return (0, _errors.isSuccess)(status);\n    },\n    parseErrorResponse: function parseErrorResponse(responseText) {\n      try {\n        return JSON.parse(responseText);\n      } catch (e) {\n        return responseText;\n      }\n    },\n    normalizeErrorResponse: function normalizeErrorResponse(_status, _headers, payload) {\n      return payload;\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-ajax/mixins/ajax-support\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Mixin.create({\n    /**\n     * The AJAX service to send requests through\n     *\n     * @property {AjaxService} ajaxService\n     * @public\n     */\n    ajaxService: Ember.inject.service('ajax'),\n\n    /**\n     * @property {string} host\n     * @public\n     */\n    host: Ember.computed.alias('ajaxService.host'),\n\n    /**\n     * @property {string} namespace\n     * @public\n     */\n    namespace: Ember.computed.alias('ajaxService.namespace'),\n\n    /**\n     * @property {object} headers\n     * @public\n     */\n    headers: Ember.computed.alias('ajaxService.headers'),\n    ajax: function ajax(url, _method, _options) {\n      // @ts-ignore\n      var augmentedOptions = this.ajaxOptions.apply(this, arguments);\n      return Ember.get(this, 'ajaxService').request(url, augmentedOptions);\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-ajax/mixins/legacy/normalize-error-response\", [\"exports\", \"@babel/runtime/helpers/esm/typeof\", \"ember-ajax/-private/utils/is-string\"], function (_exports, _typeof2, _isString) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  function isObject(object) {\n    return (0, _typeof2.default)(object) === 'object';\n  }\n\n  function isJsonApiErrorResponse(object) {\n    if (!isObject(object)) {\n      return false;\n    }\n\n    var payloadAsErrorResponse = object;\n\n    if (payloadAsErrorResponse.errors) {\n      return Ember.isArray(payloadAsErrorResponse.errors);\n    }\n\n    return false;\n  }\n\n  function isJsonApiErrorObjectArray(object) {\n    return Ember.isArray(object);\n  }\n\n  var _default = Ember.Mixin.create({\n    /**\n     * Normalize the error from the server into the same format\n     *\n     * The format we normalize to is based on the JSON API specification.  The\n     * return value should be an array of objects that match the format they\n     * describe. More details about the object format can be found\n     * [here](http://jsonapi.org/format/#error-objects)\n     *\n     * The basics of the format are as follows:\n     *\n     * ```javascript\n     * [\n     *   {\n     *     status: 'The status code for the error',\n     *     title: 'The human-readable title of the error'\n     *     detail: 'The human-readable details of the error'\n     *   }\n     * ]\n     * ```\n     *\n     * In cases where the server returns an array, then there should be one item\n     * in the array for each of the payload.  If your server returns a JSON API\n     * formatted payload already, it will just be returned directly.\n     *\n     * If your server returns something other than a JSON API format, it's\n     * suggested that you override this method to convert your own errors into the\n     * one described above.\n     */\n    normalizeErrorResponse: function normalizeErrorResponse(status, _headers, payload) {\n      payload = Ember.isNone(payload) ? {} : payload;\n\n      if (isJsonApiErrorResponse(payload)) {\n        return payload.errors.map(function (error) {\n          if (isObject(error)) {\n            var ret = Ember.assign({}, error);\n            ret.status = \"\".concat(error.status);\n            return ret;\n          } else {\n            return {\n              status: \"\".concat(status),\n              title: error\n            };\n          }\n        });\n      } else if (isJsonApiErrorObjectArray(payload)) {\n        return payload.map(function (error) {\n          if (isObject(error)) {\n            return {\n              status: \"\".concat(status),\n              title: error.title || 'The backend responded with an error',\n              detail: error\n            };\n          } else {\n            return {\n              status: \"\".concat(status),\n              title: \"\".concat(error)\n            };\n          }\n        });\n      } else if ((0, _isString.default)(payload)) {\n        return [{\n          status: \"\".concat(status),\n          title: payload\n        }];\n      } else {\n        return [{\n          status: \"\".concat(status),\n          title: payload.title || 'The backend responded with an error',\n          detail: payload\n        }];\n      }\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-ajax/raw\", [\"exports\", \"ember-ajax/ajax-request\"], function (_exports, _ajaxRequest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = raw;\n\n  /**\n   * Same as `request` except it resolves an object with\n   *\n   *   {response, textStatus, jqXHR}\n   *\n   * Useful if you need access to the jqXHR object for headers, etc.\n   *\n   * @public\n   */\n  function raw(url, options) {\n    var ajax = _ajaxRequest.default.create();\n\n    return ajax.raw(url, options);\n  }\n});","define(\"ember-ajax/request\", [\"exports\", \"ember-ajax/ajax-request\"], function (_exports, _ajaxRequest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = request;\n\n  /**\n   * Helper function that allows you to use the default `ember-ajax` to make\n   * requests without using the service.\n   *\n   * @public\n   */\n  function request(url, options) {\n    var ajax = _ajaxRequest.default.create();\n\n    return ajax.request(url, options);\n  }\n});","define(\"ember-ajax/services/ajax\", [\"exports\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/possibleConstructorReturn\", \"@babel/runtime/helpers/esm/getPrototypeOf\", \"@babel/runtime/helpers/esm/inherits\", \"ember-ajax/mixins/ajax-request\"], function (_exports, _classCallCheck2, _possibleConstructorReturn2, _getPrototypeOf2, _inherits2, _ajaxRequest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.AjaxServiceClass = _exports.default = void 0;\n  var AjaxService = Ember.Service.extend(_ajaxRequest.default);\n  var _default = AjaxService; // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n  _exports.default = _default;\n\n  var AjaxServiceClass =\n  /*#__PURE__*/\n  function (_AjaxService) {\n    (0, _inherits2.default)(AjaxServiceClass, _AjaxService);\n\n    function AjaxServiceClass() {\n      (0, _classCallCheck2.default)(this, AjaxServiceClass);\n      return (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(AjaxServiceClass).apply(this, arguments));\n    }\n\n    return AjaxServiceClass;\n  }(AjaxService);\n\n  _exports.AjaxServiceClass = AjaxServiceClass;\n});","define(\"ember-ajax/utils/ajax\", [\"exports\", \"jquery\"], function (_exports, _jquery) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var ajax = typeof FastBoot === 'undefined' ? _jquery.default.ajax : FastBoot.require('najax');\n  var _default = ajax;\n  _exports.default = _default;\n});","define(\"ember-blockly/components/ember-blockly-catalog\", [\"exports\", \"ember-blockly/templates/components/ember-blockly-catalog\"], function (_exports, _emberBlocklyCatalog) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Component.extend({\n    layout: _emberBlocklyCatalog.default,\n    blockly: Ember.inject.service(),\n    onlyCustom: true,\n    showCode: true,\n    current_block: '',\n    cantidad: Ember.computed('blocks.length', function () {\n      return this.get('blocks.length');\n    }),\n    blocks: Ember.computed('onlyCustom', function () {\n      if (this.get('onlyCustom')) {\n        return this.get('blockly').getCustomBlocksList();\n      } else {\n        return this.get('blockly').getBlocksList();\n      }\n    }),\n    actions: {\n      onSelect: function onSelect(item) {\n        this.set('current_block', item);\n      }\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-blockly/components/ember-blockly-list-item\", [\"exports\", \"ember-blockly/templates/components/ember-blockly-list-item\"], function (_exports, _emberBlocklyListItem) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Component.extend({\n    layout: _emberBlocklyListItem.default,\n    tagName: '',\n    isSelected: Ember.computed('item', 'selected', function () {\n      return this.get('item') === this.get('selected');\n    })\n  });\n\n  _exports.default = _default;\n});","define(\"ember-blockly/components/ember-blockly-list-with-selection\", [\"exports\", \"ember-blockly/templates/components/ember-blockly-list-with-selection\"], function (_exports, _emberBlocklyListWithSelection) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Component.extend({\n    layout: _emberBlocklyListWithSelection.default,\n    classNames: ['ember-blockly-list']\n  });\n\n  _exports.default = _default;\n});","define(\"ember-blockly/components/ember-blockly-preview\", [\"exports\", \"ember-blockly/templates/components/ember-blockly-preview\"], function (_exports, _emberBlocklyPreview) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Component.extend({\n    layout: _emberBlocklyPreview.default,\n    block: null,\n    classNames: ['ember-blockly-container'],\n    workspace: '<xml xmlns=\"http://www.w3.org/1999/xhtml\"></xml>',\n    mediaFolder: \"blockly-package/media/\",\n    readOnly: true,\n    showCode: false,\n    javascriptCode: '',\n    blockObserver: Ember.observer('block', function () {\n      this.clear_workspace();\n      this.redraw_block();\n    }),\n    didInsertElement: function didInsertElement() {\n      var _this = this;\n\n      var options = {\n        toolbox: \"\",\n        trashcan: false,\n        media: this.get(\"mediaFolder\"),\n        readOnly: this.get('readOnly'),\n        scrollbars: false\n      };\n      var blocklyDiv = this.$().find(\"div\")[0];\n      var blocklyArea = this.$()[0];\n      var workspace = Blockly.inject(blocklyDiv, options);\n      this.set('workspace', workspace);\n      this.redraw_block();\n\n      Blockly.ContextMenu.show = function (a, b, c) {};\n\n      workspace.addChangeListener(function () {\n        Ember.run(function () {\n          _this.onUpdate();\n        });\n      });\n    },\n    onUpdate: function onUpdate(event) {\n      var xml = Blockly.Xml.workspaceToDom(this.get('workspace'));\n      var xml_text = Blockly.Xml.domToText(xml);\n\n      if (this.get('showCode')) {\n        var code = Blockly.JavaScript.workspaceToCode(this.get('workspace'));\n        this.set('javascriptCode', js_beautify(code));\n      }\n\n      if (this.onChangeWorkspace) this.onChangeWorkspace(xml_text);\n    },\n    redraw_block: function redraw_block() {\n      var workspace = this.get('workspace');\n      var block = this.get('block');\n\n      if (!Blockly.Blocks[block]) {\n        throw new Error(\"This block named '\".concat(block, \"' don't exist.\"));\n      }\n\n      var newBlock = workspace.newBlock(block);\n      newBlock.initSvg();\n      newBlock.render();\n      newBlock.moveBy(15, 15);\n    },\n    clear_workspace: function clear_workspace() {\n      this.get('workspace').clear();\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-blockly/components/ember-blockly\", [\"exports\", \"ember-blockly/templates/components/ember-blockly\"], function (_exports, _emberBlockly) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Component.extend({\n    layout: _emberBlockly.default,\n    disablePreloadAudio: true,\n    classNames: ['ember-blockly-container'],\n    blocks: [],\n    current_blocks: Ember.computed.oneWay('blocks'),\n    workspaceElement: null,\n    workspace: '<xml xmlns=\"http://www.w3.org/1999/xhtml\"></xml>',\n    showCode: false,\n    disableNotConnectedToMainBlock: false,\n    withZoom: true,\n    // definirá el parámetro \"zoom\" al llamar a inject.\n    withTrash: true,\n    // definirá el parámetro \"trashcan\" al llamar a inject.\n    collapse: false,\n    comments: true,\n    css: true,\n    disable: true,\n    grid: false,\n    horizontalLayout: false,\n    maxBlocks: Infinity,\n    mediaFolder: \"blockly-package/media/\",\n    oneBasedIndex: true,\n    readOnly: false,\n    rtl: false,\n    scrollbars: true,\n    sounds: true,\n    toolboxPosition: \"start\",\n\n    /* Context menu options. */\n    duplicate: true,\n    help: true,\n    comment: true,\n    disableBlock: true,\n    contextMenu: true,\n    disableResize: false,\n    lastContextMenuFunction: null,\n    originalContextMenu: null,\n\n    /* Highlighted block */\n    highlightedBlock: null,\n    style: Ember.computed('showCode', function () {\n      if (this.get('showCode')) {\n        return Ember.String.htmlSafe(\"\");\n      } else {\n        return Ember.String.htmlSafe(\"display: none;\");\n      }\n    }),\n    observeContextMenu: Ember.observer('contextMenu', function () {\n      if (this.get('contextMenu')) {\n        this.enableContextMenu();\n      } else {\n        this.disableContextMenu();\n      }\n    }),\n    observeBlocks: Ember.observer('blocks', function () {\n      this.set('current_blocks', this.get('blocks'));\n      this.updateToolbox(this.get('current_blocks'));\n    }),\n    observeWorkspace: Ember.observer('workspace', function () {\n      var workspace = this.get('workspaceElement');\n      var xml_text = this.get('workspace');\n      workspace.clear();\n\n      if (xml_text) {\n        var dom = Blockly.Xml.textToDom(xml_text);\n\n        this._moveBlocksFromBehindToolbox(dom);\n\n        Blockly.Xml.domToWorkspace(dom, workspace);\n        if (this.onNewWorkspace) this.onNewWorkspace();\n      }\n    }),\n    observeHighlightedBlock: Ember.observer('highlightedBlock', function () {\n      this.get('workspaceElement').highlightBlock(this.get(\"highlightedBlock\"));\n    }),\n    _moveBlocksFromBehindToolbox: function _moveBlocksFromBehindToolbox(dom) {\n      // TODO: This method should go away once Blockly is updated.\n      if (this.get(\"current_blocks\").some(function (block) {\n        return block.category && block.category !== 'Separator';\n      })) return dom; // Issue: https://github.com/google/blockly/issues/1924\n      // If we don't have categories (which means we have just blocks in the toolbox)\n      // then the workspace can be behind the toolbox, then\n      // we need to move every block which is under the toolbox.\n      // Does not consider RTL workspaces\n\n      var toolboxBorder = this.get('workspaceElement').getFlyout_().width_;\n\n      var x = function x(domChild) {\n        return parseInt(domChild.getAttribute('x'), 10);\n      };\n\n      Array.from(dom.childNodes).forEach(function (domChild) {\n        var name = domChild.nodeName.toLowerCase();\n\n        if ((name == 'block' || name == 'shadow') && domChild.hasAttribute('x') && x(domChild) < toolboxBorder) {\n          domChild.setAttribute('x', toolboxBorder + 15);\n        }\n      });\n    },\n    didInsertElement: function didInsertElement() {\n      var _this = this;\n\n      if (this.get('disablePreloadAudio')) {\n        Blockly.WorkspaceAudio.prototype.preload = function () {};\n      }\n\n      this.createSection(\"section_control\", \"Control\");\n      this.createSection(\"section_logic\", \"Lógica\");\n      var options = {\n        toolbox: this.createToolbox(this.get(\"current_blocks\")),\n        trashcan: this.get(\"withTrash\"),\n        collapse: this.get(\"collapse\"),\n        comments: this.get(\"comments\"),\n        css: this.get(\"css\"),\n        disable: this.get(\"disable\"),\n        horizontalLayout: this.get(\"horizontalLayout\"),\n        maxBlocks: this.get(\"maxBlocks\"),\n        rtl: this.get(\"rtl\"),\n        media: this.get(\"mediaFolder\"),\n        oneBasedIndex: this.get(\"oneBasedIndex\"),\n        readOnly: this.get(\"readOnly\"),\n        scrollbars: this.get(\"scrollbars\"),\n        sounds: this.get(\"sounds\"),\n        toolboxPosition: this.get(\"toolboxPosition\")\n      };\n\n      if (this.get('grid')) {\n        options.grid = this._get_default_grid();\n      }\n\n      if (this.get(\"withZoom\")) {\n        options.zoom = this._get_default_zoom();\n      }\n\n      var blocklyDiv = this.$().find(\"div\")[0];\n      var blocklyArea = this.$()[0];\n      var workspace = Blockly.inject(blocklyDiv, options);\n      this.set('workspaceElement', workspace);\n      this.set('blocklyDiv', blocklyDiv);\n      this.set('blocklyArea', blocklyArea);\n\n      if (!this.get('contextMenu')) {\n        this.disableContextMenu();\n      }\n\n      this.set('originalContextMenu', Blockly.ContextMenu.show); // Intenta modificar la función que muestra el menú para\n      // habilitar o deshabilitar opciones.\n\n      Blockly.ContextMenu.show = function (a, b, c) {\n        b = _this._filtrar_items_del_menu(b);\n\n        _this.get('originalContextMenu')(a, b, c);\n      };\n\n      $(window).bind(\"resize.blockly\", function () {\n        _this._onresize();\n      });\n      Ember.run(function () {\n        if (_this.get('disableNotConnectedToMainBlock')) {\n          workspace.addChangeListener(Blockly.Events.disableOrphans);\n        }\n      });\n      Ember.run(function () {\n        workspace.addChangeListener(function () {\n          _this.onUpdate();\n\n          _this._onresize();\n        });\n      });\n\n      this._onresize();\n\n      Ember.run.scheduleOnce('afterRender', function () {\n        _this.set('workspace', _this.get('workspace') + ' ');\n      });\n    },\n\n    /**\n     * Procesa los items del menú contextual de blockly para habilitar o\n     * deshabilitar algunas opciones.\n     */\n    _filtrar_items_del_menu: function _filtrar_items_del_menu(items) {\n      var _this2 = this;\n\n      return items.filter(function (i) {\n        if (i.text === Blockly.Msg.DUPLICATE_BLOCK) {\n          i.enabled = _this2.get('duplicate');\n        }\n\n        if (i.text === Blockly.Msg.HELP) {\n          i.enabled = _this2.get('help');\n        }\n\n        if (i.text === Blockly.Msg.ADD_COMMENT || i.text === Blockly.Msg.REMOVE_COMMENT) {\n          i.enabled = _this2.get('comment');\n        }\n\n        if (i.text === Blockly.Msg.DISABLE_BLOCK || i.text === Blockly.Msg.ENABLE_BLOCK) {\n          i.enabled = _this2.get('disableBlock');\n        }\n\n        return true;\n      });\n    },\n    disableContextMenu: function disableContextMenu() {\n      this.set('lastContextMenuFunction', Blockly.ContextMenu.show);\n\n      Blockly.ContextMenu.show = function () {};\n    },\n    enableContextMenu: function enableContextMenu() {\n      Blockly.ContextMenu.show = this.get('lastContextMenuFunction');\n    },\n    _get_default_grid: function _get_default_grid() {\n      return {\n        spacing: 20,\n        length: 3,\n        colour: '#ccc',\n        snap: true\n      };\n    },\n    _get_default_zoom: function _get_default_zoom() {\n      return {\n        controls: true,\n        wheel: false,\n        startScale: 1.0,\n        maxScale: 3,\n        minScale: 0.3,\n        scaleSpeed: 1.2\n      };\n    },\n    _onresize: function _onresize() {\n      if (this.get('disableResize')) {\n        return null;\n      }\n\n      var blocklyDiv = this.get('blocklyDiv');\n      var blocklyArea = this.get('blocklyArea');\n      var element = blocklyArea;\n      var x = 0;\n      var y = 0; // itera 'hacia arriba' en el dom para conocer el desplazamiento total.\n\n      do {\n        x += element.offsetLeft;\n        y += element.offsetTop;\n        element = element.offsetParent;\n      } while (element);\n\n      blocklyDiv.style.left = \"\".concat(x, \"px\");\n      blocklyDiv.style.top = \"\".concat(y, \"px\");\n      blocklyDiv.style.width = \"\".concat(blocklyArea.offsetWidth, \"px\");\n      blocklyDiv.style.height = \"\".concat(blocklyArea.offsetHeight, \"px\");\n      Blockly.svgResize(this.get('workspaceElement'));\n    },\n    willDestroyElement: function willDestroyElement() {\n      $(window).unbind(\"resize.blockly\");\n    },\n    onUpdate: function onUpdate(event) {\n      var _this3 = this;\n\n      Ember.run(function () {\n        var xml = Blockly.Xml.workspaceToDom(_this3.get('workspaceElement'));\n        var xml_text = Blockly.Xml.domToText(xml);\n        if (_this3.onChangeWorkspace) _this3.onChangeWorkspace(xml_text); //if (this.get('showCode')) {\n\n        try {\n          var code = Blockly.JavaScript.workspaceToCode(_this3.get('workspaceElement'));\n\n          _this3.set('javascriptCode', js_beautify(code));\n        } catch (e) {\n          console.warn(\"No se puede generar el código. Esto seguramente se produce porque la solución tiene un bloque inexistente.\", e);\n        } //}\n\n      });\n    },\n    createSection: function createSection(name, label) {\n      Blockly.Blocks[name] = {\n        init: function init() {\n          this.appendDummyInput().appendField(\"  \".concat(label, \"  \"));\n          this.setOutput(false);\n          this.setNextStatement(false);\n          this.setPreviousStatement(false);\n          this.setDisabled(true);\n        }\n      };\n    },\n    createToolbox: function createToolbox(bloques) {\n      var toolbox = [];\n      toolbox.push('<xml>');\n      bloques.forEach(function (bloque) {\n        if (bloque.isSeparator) {\n          toolbox.push('<sep></sep>');\n        } else if (bloque.category) {\n          if (bloque.custom) {\n            toolbox.push(\"<category name=\\\"\".concat(bloque.category, \"\\\" custom=\\\"\").concat(bloque.custom, \"\\\">\"));\n          } else {\n            toolbox.push(\"<category name=\\\"\".concat(bloque.category, \"\\\">\"));\n            bloque.blocks.forEach(function (bloque_en_categoria) {\n              if (!Blockly.Blocks[bloque_en_categoria]) {\n                throw new Error(\"This block named '\".concat(bloque_en_categoria, \"' don't exist.\"));\n              }\n\n              if (Blockly.Blocks[bloque_en_categoria].toolbox) {\n                toolbox.push(Blockly.Blocks[bloque_en_categoria].toolbox);\n              } else {\n                toolbox.push(\"  <block type=\\\"\".concat(bloque_en_categoria, \"\\\"></block>\"));\n              }\n            });\n          }\n\n          toolbox.push('</category>');\n        } else {\n          if (!Blockly.Blocks[bloque]) {\n            throw new Error(\"This block named '\".concat(bloque, \"' don't exist.\"));\n          }\n\n          if (Blockly.Blocks[bloque].toolbox) {\n            toolbox.push(Blockly.Blocks[bloque].toolbox);\n          } else {\n            toolbox.push(\"  <block type=\\\"\".concat(bloque, \"\\\"></block>\"));\n          }\n        }\n      });\n      toolbox.push('</xml>');\n      return toolbox.join(\"\\n\");\n    },\n    updateToolbox: function updateToolbox(bloques) {\n      var toolbox = null; // Si se envió un string XML, lo inserta directamente\n      // como toolbox.\n\n      if (/xml/.test(bloques)) {\n        toolbox = bloques;\n      } else {\n        toolbox = this.createToolbox(this.get(\"current_blocks\"));\n      }\n\n      this.get('workspaceElement').updateToolbox(toolbox);\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-blockly/services/blockly\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Service.extend({\n    createCustomBlock: function createCustomBlock(name, options, callback_to_change_block) {\n      options.colour = options.colour || '#4453ff';\n\n      if (Blockly.Blocks[name]) {//console.warn(`Redefiniendo el bloque ${name}`);\n      }\n\n      Blockly.Blocks[name] = {\n        init: function init() {\n          this.jsonInit(options);\n\n          if (callback_to_change_block) {\n            callback_to_change_block.call(this);\n          }\n        }\n      };\n      Blockly.Blocks[name].isCustomBlock = true;\n\n      if (!Blockly.MyLanguage) {\n        Blockly.MyLanguage = Blockly.JavaScript;\n      }\n\n      if (options.code) {\n        Blockly.MyLanguage[name] = function (block) {\n          var variables = options.code.match(/\\$(\\w+)/g);\n          var code = options.code;\n\n          if (variables) {\n            variables.forEach(function (v) {\n              var regex = new RegExp('\\\\' + v, \"g\");\n              var variable_name = v.slice(1);\n              var variable_object = null;\n\n              if (variable_name === \"DO\") {\n                variable_object = Blockly.JavaScript.statementToCode(block, variable_name);\n              } else {\n                variable_object = Blockly.MyLanguage.valueToCode(block, variable_name) || block.getFieldValue(variable_name) || null;\n              }\n\n              code = code.replace(regex, variable_object);\n            });\n          }\n\n          return code;\n        };\n      }\n\n      return Blockly.Blocks[name];\n    },\n    createBlockWithAsyncDropdown: function createBlockWithAsyncDropdown(name, options) {\n      function callback_to_change_block() {\n        this.appendDummyInput().appendField(options.label || \"\").appendField(new Blockly.FieldDropdown(options.callbackDropdown), 'DROPDOWN_VALUE');\n      }\n\n      return this.createCustomBlock(name, options, callback_to_change_block);\n    },\n    createCustomBlockWithHelper: function createCustomBlockWithHelper(name, options) {\n      var block_def = {\n        message0: options.descripcion,\n        colour: options.colour || '#4a6cd4',\n        previousStatement: true,\n        nextStatement: true,\n        args0: [],\n        code: options.code || \"hacer(actor_id, \\\"\".concat(options.comportamiento, \"\\\", \").concat(options.argumentos, \");\")\n      };\n\n      if (options.icono) {\n        block_def.message0 = \"%1 \".concat(options.descripcion);\n        block_def.args0.push({\n          \"type\": \"field_image\",\n          \"src\": \"iconos/\".concat(options.icono),\n          \"width\": 16,\n          \"height\": 16,\n          \"alt\": \"*\"\n        });\n      }\n\n      return this.createCustomBlock(name, block_def);\n    },\n    createBlockValue: function createBlockValue(name, options) {\n      var block = this.createCustomBlock(name, {\n        message0: \"%1 \".concat(options.descripcion),\n        colour: options.colour || '#4a6cd4',\n        output: 'String',\n        args0: [{\n          \"type\": \"field_image\",\n          \"src\": \"iconos/\".concat(options.icono),\n          \"width\": 16,\n          \"height\": 16,\n          \"alt\": \"*\"\n        }]\n      });\n\n      Blockly.MyLanguage[name] = function () {\n        return [\"'\".concat(options.valor, \"'\"), Blockly.JavaScript.ORDER_ATOMIC];\n      };\n\n      return block;\n    },\n    getBlocksList: function getBlocksList() {\n      return Object.keys(Blockly.Blocks);\n    },\n    getCustomBlocksList: function getCustomBlocksList() {\n      return Object.keys(Blockly.Blocks).filter(function (e) {\n        return Blockly.Blocks[e].isCustomBlock;\n      });\n    },\n    createAlias: function createAlias(new_name, original_block_name) {\n      var original_block = Blockly.Blocks[original_block_name];\n      Blockly.Blocks[new_name] = Object.assign({}, original_block);\n      var new_block = Blockly.Blocks[new_name];\n      new_block.isCustomBlock = true;\n      new_block.aliases = [original_block_name];\n      if (!original_block.aliases) original_block.aliases = [];\n      original_block.aliases.push(new_name);\n\n      if (!Blockly.MyLanguage) {\n        Blockly.MyLanguage = Blockly.JavaScript;\n      }\n\n      Blockly.MyLanguage[new_name] = Blockly.JavaScript[original_block_name];\n      return Blockly.Blocks[new_name];\n    },\n    setStartHat: function setStartHat(state) {\n      Blockly.BlockSvg.START_HAT = state;\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-blockly/templates/components/ember-blockly-catalog\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"TFdEDBef\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[14,1],[0,\\\"\\\\n\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"current_block\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[1,[28,\\\"ember-blockly-preview\\\",null,[[\\\"block\\\",\\\"showCode\\\",\\\"readOnly\\\"],[[24,[\\\"current_block\\\"]],[24,[\\\"showCode\\\"]],true]]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n\\\\n\\\"],[1,[28,\\\"ember-blockly-list-with-selection\\\",null,[[\\\"selected\\\",\\\"items\\\",\\\"onSelect\\\"],[[24,[\\\"current_block\\\"]],[24,[\\\"blocks\\\"]],[28,\\\"action\\\",[[23,0,[]],\\\"onSelect\\\"],null]]]],false],[0,\\\"\\\\n\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"blocks\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"p\\\",true],[8],[0,\\\"Hay \\\"],[7,\\\"code\\\",true],[8],[1,[22,\\\"cantidad\\\"],false],[9],[0,\\\" bloques en total en el listado anterior.\\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-blockly/templates/components/ember-blockly-catalog.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-blockly/templates/components/ember-blockly-list-item\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"mIb4/vdW\",\n    \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"p\\\",false],[12,\\\"class\\\",[29,[\\\"ember-blockly-list-item \\\",[28,\\\"if\\\",[[24,[\\\"isSelected\\\"]],\\\"selected\\\"],null]]]],[3,\\\"action\\\",[[23,0,[]],[24,[\\\"onSelect\\\"]],[24,[\\\"item\\\"]]]],[8],[1,[22,\\\"item\\\"],false],[9],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-blockly/templates/components/ember-blockly-list-item.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-blockly/templates/components/ember-blockly-list-with-selection\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"r+/Q6b/Q\",\n    \"block\": \"{\\\"symbols\\\":[\\\"block\\\"],\\\"statements\\\":[[4,\\\"each\\\",[[24,[\\\"items\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[1,[28,\\\"ember-blockly-list-item\\\",null,[[\\\"selected\\\",\\\"item\\\",\\\"onSelect\\\"],[[24,[\\\"selected\\\"]],[23,1,[]],[24,[\\\"onSelect\\\"]]]]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"p\\\",true],[8],[0,\\\"There is no blocks to show.\\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-blockly/templates/components/ember-blockly-list-with-selection.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-blockly/templates/components/ember-blockly-preview\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"SogPQQwo\",\n    \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[4,\\\"if\\\",[[24,[\\\"showCode\\\"]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"pre\\\",true],[10,\\\"class\\\",\\\"code-preview\\\"],[8],[7,\\\"span\\\",true],[8],[0,\\\"// Código que generará este bloque:\\\"],[9],[0,\\\"\\\\n\\\\n\\\"],[1,[22,\\\"javascriptCode\\\"],false],[9],[0,\\\"\\\"]],\\\"parameters\\\":[]},null],[0,\\\"  \\\"],[7,\\\"div\\\",true],[10,\\\"style\\\",\\\"height: 300px; width: 300px;\\\"],[8],[9],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-blockly/templates/components/ember-blockly-preview.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-blockly/templates/components/ember-blockly\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"XCXBDs+Q\",\n    \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"div\\\",true],[10,\\\"style\\\",\\\"position: absolute\\\"],[8],[9],[0,\\\"\\\\n\\\\n\\\"],[7,\\\"pre\\\",true],[10,\\\"class\\\",\\\"core-preview-in-blockly\\\"],[11,\\\"style\\\",[22,\\\"style\\\"]],[8],[1,[22,\\\"javascriptCode\\\"],false],[9],[0,\\\"\\\"]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-blockly/templates/components/ember-blockly.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define('ember-cli-app-version/initializer-factory', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = initializerFactory;\n  var libraries = Ember.libraries;\n  function initializerFactory(name, version) {\n    var registered = false;\n\n    return function () {\n      if (!registered && name && version) {\n        var appName = Ember.String.classify(name);\n        libraries.register(appName, version);\n        registered = true;\n      }\n    };\n  }\n});","define(\"ember-cli-app-version/utils/regexp\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  var versionRegExp = exports.versionRegExp = /\\d+[.]\\d+[.]\\d+/; // Match any number of 3 sections of digits separated by .\n  var 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  var 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-cli-mirage/assert\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = assert;\n  _exports.MirageError = MirageError;\n  _exports.logger = void 0;\n\n  /* eslint no-console: 0 */\n  var errorProps = ['description', 'fileName', 'lineNumber', 'message', 'name', 'number', 'stack'];\n  /**\n    @hide\n  */\n\n  function assert(bool, text) {\n    if (typeof bool === 'string' && !text) {\n      throw new MirageError(bool);\n    }\n\n    if (!bool) {\n      throw new MirageError(text.replace(/^ +/gm, '') || 'Assertion failed');\n    }\n  }\n  /**\n    @public\n    @hide\n    Copied from ember-metal/error\n  */\n\n\n  function MirageError(message, stack) {\n    var tmp = Error(message);\n\n    if (stack) {\n      tmp.stack = stack;\n    }\n\n    for (var idx = 0; idx < errorProps.length; idx++) {\n      var prop = errorProps[idx];\n\n      if (['description', 'message', 'stack'].indexOf(prop) > -1) {\n        this[prop] = \"Mirage: \".concat(tmp[prop]);\n      } else {\n        this[prop] = tmp[prop];\n      }\n    }\n  }\n\n  MirageError.prototype = Object.create(Error.prototype);\n  /**\n    @hide\n  */\n\n  var logger = {\n    errors: [],\n\n    get messages() {\n      return this.errors;\n    },\n\n    error: function error(message) {\n      if (Ember.testing) {\n        this.errors.push(message);\n      } else {\n        console.error(message);\n      }\n    }\n  };\n  _exports.logger = logger;\n});","define(\"ember-cli-mirage/association\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n    @hide\n  */\n  var association = function association() {\n    var __isAssociation__ = true;\n\n    for (var _len = arguments.length, traitsAndOverrides = new Array(_len), _key = 0; _key < _len; _key++) {\n      traitsAndOverrides[_key] = arguments[_key];\n    }\n\n    return {\n      __isAssociation__: __isAssociation__,\n      traitsAndOverrides: traitsAndOverrides\n    };\n  };\n\n  var _default = association;\n  _exports.default = _default;\n});","define(\"ember-cli-mirage/db-collection\", [\"exports\", \"@babel/runtime/helpers/esm/typeof\", \"@babel/runtime/helpers/esm/slicedToArray\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/createClass\", \"lodash/assign\", \"lodash/map\", \"lodash/isEqual\"], function (_exports, _typeof2, _slicedToArray2, _classCallCheck2, _createClass2, _assign2, _map2, _isEqual2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  function duplicate(data) {\n    if (Array.isArray(data)) {\n      return data.map(duplicate);\n    } else {\n      return (0, _assign2.default)({}, data);\n    }\n  }\n  /**\n    Mirage's `Db` has many `DbCollections`, which are equivalent to tables from traditional databases. They store specific types of data, for example `users` and `posts`.\n  \n    `DbCollections` have names, like `users`, which you use to access the collection from the `Db` object.\n  \n    Suppose you had a `user` model defined, and the following data had been inserted into your database (either through factories or fixtures):\n  \n    ```js\n    export default [\n      { id: 1, name: 'Zelda' },\n      { id: 2, name: 'Link' }\n    ];\n    ```\n  \n    Then `db.contacts` would return this array.\n  \n    @class DbCollection\n    @constructor\n    @public\n   */\n\n\n  var DbCollection =\n  /*#__PURE__*/\n  function () {\n    function DbCollection(name, initialData, IdentityManager) {\n      (0, _classCallCheck2.default)(this, DbCollection);\n      this.name = name;\n      this._records = [];\n      this.identityManager = new IdentityManager();\n\n      if (initialData) {\n        this.insert(initialData);\n      }\n    }\n    /**\n     * Returns a copy of the data, to prevent inadvertent data manipulation.\n     * @method all\n     * @public\n     * @hide\n     */\n\n\n    (0, _createClass2.default)(DbCollection, [{\n      key: \"all\",\n      value: function all() {\n        return duplicate(this._records);\n      }\n      /**\n        Inserts `data` into the collection. `data` can be a single object\n        or an array of objects. Returns the inserted record.\n         ```js\n        // Insert a single record\n        let link = db.users.insert({ name: 'Link', age: 173 });\n         link;  // { id: 1, name: 'Link', age: 173 }\n         // Insert an array\n        let users = db.users.insert([\n          { name: 'Zelda', age: 142 },\n          { name: 'Epona', age: 58 },\n        ]);\n         users;  // [ { id: 2, name: 'Zelda', age: 142 }, { id: 3, name: 'Epona', age: 58 } ]\n        ```\n         @method insert\n        @param data\n        @public\n       */\n\n    }, {\n      key: \"insert\",\n      value: function insert(data) {\n        var _this = this;\n\n        if (!Array.isArray(data)) {\n          return this._insertRecord(data);\n        } else {\n          return (0, _map2.default)(data, function (attrs) {\n            return _this._insertRecord(attrs);\n          });\n        }\n      }\n      /**\n        Returns a single record from the `collection` if `ids` is a single\n        id, or an array of records if `ids` is an array of ids. Note\n        each id can be an int or a string, but integer ids as strings\n        (e.g. the string “1”) will be treated as integers.\n         ```js\n        // Given users = [{id: 1, name: 'Link'}, {id: 2, name: 'Zelda'}]\n         db.users.find(1);      // {id: 1, name: 'Link'}\n        db.users.find([1, 2]); // [{id: 1, name: 'Link'}, {id: 2, name: 'Zelda'}]\n        ```\n         @method find\n        @param ids\n        @public\n       */\n\n    }, {\n      key: \"find\",\n      value: function find(ids) {\n        if (Array.isArray(ids)) {\n          var records = this._findRecords(ids).filter(Boolean).map(duplicate); // Return a copy\n\n\n          return records;\n        } else {\n          var record = this._findRecord(ids);\n\n          if (!record) {\n            return null;\n          } // Return a copy\n\n\n          return duplicate(record);\n        }\n      }\n      /**\n        Returns the first model from `collection` that matches the\n        key-value pairs in the `query` object. Note that a string\n        comparison is used. `query` is a POJO.\n         ```js\n        // Given users = [ { id: 1, name: 'Link' }, { id: 2, name: 'Zelda' } ]\n        db.users.findBy({ name: 'Link' }); // { id: 1, name: 'Link' }\n        ```\n         @method find\n        @param query\n        @public\n       */\n\n    }, {\n      key: \"findBy\",\n      value: function findBy(query) {\n        var record = this._findRecordBy(query);\n\n        if (!record) {\n          return null;\n        } // Return a copy\n\n\n        return duplicate(record);\n      }\n      /**\n        Returns an array of models from `collection` that match the\n        key-value pairs in the `query` object. Note that a string\n        comparison is used. `query` is a POJO.\n         ```js\n        // Given users = [ { id: 1, name: 'Link' }, { id: 2, name: 'Zelda' } ]\n         db.users.where({ name: 'Zelda' }); // [ { id: 2, name: 'Zelda' } ]\n        ```\n         @method where\n        @param query\n        @public\n       */\n\n    }, {\n      key: \"where\",\n      value: function where(query) {\n        return this._findRecordsWhere(query).map(duplicate);\n      }\n      /**\n        Finds the first record matching the provided _query_ in\n        `collection`, or creates a new record using a merge of the\n        `query` and optional `attributesForCreate`.\n         Often times you may have a pattern like the following in your API stub:\n         ```js\n        // Given users = [\n        //   { id: 1, name: 'Link' },\n        //   { id: 2, name: 'Zelda' }\n        // ]\n         // Create Link if he doesn't yet exist\n        let records = db.users.where({ name: 'Link' });\n        let record;\n         if (records.length > 0) {\n          record = records[0];\n        } else {\n          record = db.users.insert({ name: 'Link' });\n        }\n        ```\n         You can now replace this with the following:\n         ```js\n        let record = db.users.firstOrCreate({ name: 'Link' });\n        ```\n         An extended example using *attributesForCreate*:\n         ```js\n        let record = db.users.firstOrCreate({ name: 'Link' }, { evil: false });\n        ```\n         @method firstOrCreate\n        @param query\n        @param attributesForCreate\n        @public\n       */\n\n    }, {\n      key: \"firstOrCreate\",\n      value: function firstOrCreate(query) {\n        var attributesForCreate = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n        var queryResult = this.where(query);\n\n        var _queryResult = (0, _slicedToArray2.default)(queryResult, 1),\n            record = _queryResult[0];\n\n        if (record) {\n          return record;\n        } else {\n          var mergedAttributes = (0, _assign2.default)(attributesForCreate, query);\n          var createdRecord = this.insert(mergedAttributes);\n          return createdRecord;\n        }\n      }\n      /**\n        Updates one or more records in the collection.\n         If *attrs* is the only arg present, updates all records in the collection according to the key-value pairs in *attrs*.\n         If *target* is present, restricts updates to those that match *target*. If *target* is a number or string, finds a single record whose id is *target* to update. If *target* is a POJO, queries *collection* for records that match the key-value pairs in *target*, and updates their *attrs*.\n         Returns the updated record or records.\n         ```js\n        // Given users = [\n        //   {id: 1, name: 'Link'},\n        //   {id: 2, name: 'Zelda'}\n        // ]\n         db.users.update({name: 'Ganon'}); // db.users = [{id: 1, name: 'Ganon'}, {id: 2, name: 'Ganon'}]\n        db.users.update(1, {name: 'Young Link'}); // db.users = [{id: 1, name: 'Young Link'}, {id: 2, name: 'Zelda'}]\n        db.users.update({name: 'Link'}, {name: 'Epona'}); // db.users = [{id: 1, name: 'Epona'}, {id: 2, name: 'Zelda'}]\n        ```\n         @method update\n        @param target\n        @param attrs\n        @public\n       */\n\n    }, {\n      key: \"update\",\n      value: function update(target, attrs) {\n        var _this2 = this;\n\n        var records;\n\n        if (typeof attrs === 'undefined') {\n          attrs = target;\n          var changedRecords = [];\n\n          this._records.forEach(function (record) {\n            var oldRecord = (0, _assign2.default)({}, record);\n\n            _this2._updateRecord(record, attrs);\n\n            if (!(0, _isEqual2.default)(oldRecord, record)) {\n              changedRecords.push(record);\n            }\n          });\n\n          return changedRecords;\n        } else if (typeof target === 'number' || typeof target === 'string') {\n          var id = target;\n\n          var record = this._findRecord(id);\n\n          this._updateRecord(record, attrs);\n\n          return record;\n        } else if (Array.isArray(target)) {\n          var ids = target;\n          records = this._findRecords(ids);\n          records.forEach(function (record) {\n            _this2._updateRecord(record, attrs);\n          });\n          return records;\n        } else if ((0, _typeof2.default)(target) === 'object') {\n          var query = target;\n          records = this._findRecordsWhere(query);\n          records.forEach(function (record) {\n            _this2._updateRecord(record, attrs);\n          });\n          return records;\n        }\n      }\n      /**\n        Removes one or more records in *collection*.\n         If *target* is undefined, removes all records. If *target* is a number or string, removes a single record using *target* as id. If *target* is a POJO, queries *collection* for records that match the key-value pairs in *target*, and removes them from the collection.\n         ```js\n        // Given users = [\n        //   {id: 1, name: 'Link'},\n        //   {id: 2, name: 'Zelda'}\n        // ]\n         db.users.remove(); // db.users = []\n        db.users.remove(1); // db.users = [{id: 2, name: 'Zelda'}]\n        db.users.remove({name: 'Zelda'}); // db.users = [{id: 1, name: 'Link'}]\n        ```\n         @method remove\n        @param target\n        @public\n       */\n\n    }, {\n      key: \"remove\",\n      value: function remove(target) {\n        var _this3 = this;\n\n        var records;\n\n        if (typeof target === 'undefined') {\n          this._records = [];\n          this.identityManager.reset();\n        } else if (typeof target === 'number' || typeof target === 'string') {\n          var record = this._findRecord(target);\n\n          var index = this._records.indexOf(record);\n\n          this._records.splice(index, 1);\n        } else if (Array.isArray(target)) {\n          records = this._findRecords(target);\n          records.forEach(function (record) {\n            var index = _this3._records.indexOf(record);\n\n            _this3._records.splice(index, 1);\n          });\n        } else if ((0, _typeof2.default)(target) === 'object') {\n          records = this._findRecordsWhere(target);\n          records.forEach(function (record) {\n            var index = _this3._records.indexOf(record);\n\n            _this3._records.splice(index, 1);\n          });\n        }\n      }\n      /*\n        Private methods.\n         These return the actual db objects, whereas the public\n        API query methods return copies.\n      */\n\n      /**\n        @method _findRecord\n        @param id\n        @private\n        @hide\n       */\n\n    }, {\n      key: \"_findRecord\",\n      value: function _findRecord(id) {\n        id = id.toString();\n\n        var _this$_records$filter = this._records.filter(function (obj) {\n          return obj.id === id;\n        }),\n            _this$_records$filter2 = (0, _slicedToArray2.default)(_this$_records$filter, 1),\n            record = _this$_records$filter2[0];\n\n        return record;\n      }\n      /**\n        @method _findRecordBy\n        @param query\n        @private\n        @hide\n       */\n\n    }, {\n      key: \"_findRecordBy\",\n      value: function _findRecordBy(query) {\n        return this._findRecordsWhere(query)[0];\n      }\n      /**\n        @method _findRecords\n        @param ids\n        @private\n        @hide\n       */\n\n    }, {\n      key: \"_findRecords\",\n      value: function _findRecords(ids) {\n        return ids.map(this._findRecord, this);\n      }\n      /**\n        @method _findRecordsWhere\n        @param query\n        @private\n        @hide\n       */\n\n    }, {\n      key: \"_findRecordsWhere\",\n      value: function _findRecordsWhere(query) {\n        var records = this._records;\n\n        function defaultQueryFunction(record) {\n          var keys = Object.keys(query);\n          return keys.every(function (key) {\n            return String(record[key]) === String(query[key]);\n          });\n        }\n\n        var queryFunction = (0, _typeof2.default)(query) === 'object' ? defaultQueryFunction : query;\n        return records.filter(queryFunction);\n      }\n      /**\n        @method _insertRecord\n        @param data\n        @private\n        @hide\n       */\n\n    }, {\n      key: \"_insertRecord\",\n      value: function _insertRecord(data) {\n        var attrs = duplicate(data);\n\n        if (attrs && (attrs.id === undefined || attrs.id === null)) {\n          attrs.id = this.identityManager.fetch(attrs);\n        } else {\n          attrs.id = attrs.id.toString();\n          this.identityManager.set(attrs.id);\n        }\n\n        this._records.push(attrs);\n\n        return duplicate(attrs);\n      }\n      /**\n        @method _updateRecord\n        @param record\n        @param attrs\n        @private\n        @hide\n       */\n\n    }, {\n      key: \"_updateRecord\",\n      value: function _updateRecord(record, attrs) {\n        var targetId = attrs && attrs.hasOwnProperty('id') ? attrs.id.toString() : null;\n        var currentId = record.id;\n\n        if (targetId && currentId !== targetId) {\n          throw new Error('Updating the ID of a record is not permitted');\n        }\n\n        for (var attr in attrs) {\n          if (attr === 'id') {\n            continue;\n          }\n\n          record[attr] = attrs[attr];\n        }\n      }\n    }]);\n    return DbCollection;\n  }();\n\n  var _default = DbCollection;\n  _exports.default = _default;\n});","define(\"ember-cli-mirage/db\", [\"exports\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/createClass\", \"ember-cli-mirage/db-collection\", \"ember-cli-mirage/identity-manager\", \"ember-cli-mirage/utils/inflector\", \"lodash/cloneDeep\"], function (_exports, _classCallCheck2, _createClass2, _dbCollection, _identityManager, _inflector, _cloneDeep2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n    Your Mirage server has a database which you can interact with in your route handlers. You’ll typically use models to interact with your database data, but you can always reach into the db directly in the event you want more control.\n  \n    Access the db from your route handlers via `schema.db`.\n  \n    You can access individual DbCollections by using `schema.db.name`:\n  \n    ```js\n    schema.db.users  // would return, e.g., [ { id: 1, name: 'Yehuda' }, { id: 2, name: 'Tom '} ]\n    ```\n  \n    @class Db\n    @constructor\n    @public\n   */\n  var Db =\n  /*#__PURE__*/\n  function () {\n    function Db(initialData, identityManagers) {\n      (0, _classCallCheck2.default)(this, Db);\n      this._collections = [];\n      this.registerIdentityManagers(identityManagers);\n\n      if (initialData) {\n        this.loadData(initialData);\n      }\n    }\n    /**\n      Loads an object of data into Mirage's database.\n       The keys of the object correspond to the DbCollections, and the values are arrays of records.\n       ```js\n      server.db.loadData({\n        users: [\n          { name: 'Yehuda' },\n          { name: 'Tom' }\n        ]\n      });\n      ```\n       As with `db.collection.insert`, IDs will automatically be created for records that don't have them.\n       @method loadData\n      @param {Object} data - Data to load\n      @public\n     */\n\n\n    (0, _createClass2.default)(Db, [{\n      key: \"loadData\",\n      value: function loadData(data) {\n        for (var key in data) {\n          this.createCollection(key, (0, _cloneDeep2.default)(data[key]));\n        }\n      }\n      /**\n       Logs out the contents of the Db.\n        ```js\n       server.db.dump() // { users: [ name: 'Yehuda', ...\n       ```\n        @method dump\n       @public\n       */\n\n    }, {\n      key: \"dump\",\n      value: function dump() {\n        return this._collections.reduce(function (data, collection) {\n          data[collection.name] = collection.all();\n          return data;\n        }, {});\n      }\n      /**\n        Add an empty collection named _name_ to your database. Typically you won’t need to do this yourself, since collections are automatically created for any models you have defined.\n         @method createCollection\n        @param name\n        @param initialData (optional)\n        @public\n       */\n\n    }, {\n      key: \"createCollection\",\n      value: function createCollection(name, initialData) {\n        if (!this[name]) {\n          var _IdentityManager = this.identityManagerFor(name);\n\n          var newCollection = new _dbCollection.default(name, initialData, _IdentityManager); // Public API has a convenient array interface. It comes at the cost of\n          // returning a copy of all records to avoid accidental mutations.\n\n          Object.defineProperty(this, name, {\n            get: function get() {\n              var recordsCopy = newCollection.all();\n              ['insert', 'find', 'findBy', 'where', 'update', 'remove', 'firstOrCreate'].forEach(function (method) {\n                recordsCopy[method] = function () {\n                  return newCollection[method].apply(newCollection, arguments);\n                };\n              });\n              return recordsCopy;\n            }\n          }); // Private API does not have the array interface. This means internally, only\n          // db-collection methods can be used. This is so records aren't copied redundantly\n          // internally, which leads to accidental O(n^2) operations (e.g., createList).\n\n          Object.defineProperty(this, \"_\".concat(name), {\n            get: function get() {\n              var recordsCopy = [];\n              ['insert', 'find', 'findBy', 'where', 'update', 'remove', 'firstOrCreate'].forEach(function (method) {\n                recordsCopy[method] = function () {\n                  return newCollection[method].apply(newCollection, arguments);\n                };\n              });\n              return recordsCopy;\n            }\n          });\n\n          this._collections.push(newCollection);\n        } else if (initialData) {\n          this[name].insert(initialData);\n        }\n\n        return this;\n      }\n      /**\n        @method createCollections\n        @param ...collections\n        @public\n        @hide\n       */\n\n    }, {\n      key: \"createCollections\",\n      value: function createCollections() {\n        var _this = this;\n\n        for (var _len = arguments.length, collections = new Array(_len), _key = 0; _key < _len; _key++) {\n          collections[_key] = arguments[_key];\n        }\n\n        collections.forEach(function (c) {\n          return _this.createCollection(c);\n        });\n      }\n      /**\n        Removes all data from Mirage's database.\n         @method emptyData\n        @public\n       */\n\n    }, {\n      key: \"emptyData\",\n      value: function emptyData() {\n        this._collections.forEach(function (c) {\n          return c.remove();\n        });\n      }\n      /**\n        @method identityManagerFor\n        @param name\n        @public\n        @hide\n       */\n\n    }, {\n      key: \"identityManagerFor\",\n      value: function identityManagerFor(name) {\n        return this._identityManagers[(0, _inflector.singularize)(name)] || this._identityManagers.application || _identityManager.default;\n      }\n      /**\n        @method registerIdentityManagers\n        @public\n        @hide\n       */\n\n    }, {\n      key: \"registerIdentityManagers\",\n      value: function registerIdentityManagers(identityManagers) {\n        this._identityManagers = identityManagers || {};\n      }\n    }]);\n    return Db;\n  }();\n\n  var _default = Db;\n  _exports.default = _default;\n});","define(\"ember-cli-mirage/ember-data\", [\"exports\", \"require\", \"ember-get-config\", \"ember-cli-mirage/assert\", \"ember-cli-mirage/utils/ember-data\", \"ember-cli-mirage\"], function (_exports, _require, _emberGetConfig, _assert, _emberData, _emberCliMirage) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getDsModels = getDsModels;\n  _exports.getModels = getModels;\n  _exports.modelFor = modelFor;\n\n  /* global requirejs */\n  var modulePrefix = _emberGetConfig.default.modulePrefix,\n      podModulePrefix = _emberGetConfig.default.podModulePrefix; // Caches\n\n  var DsModels, Models;\n  /**\n   * Get all ember data models under the app's namespaces\n   *\n   * @method getDsModels\n   * @private\n   * @hide\n   * @return {Object} models\n   */\n\n  function getDsModels() {\n    if (DsModels) {\n      return DsModels;\n    }\n\n    var moduleMap = requirejs.entries;\n    var classicModelMatchRegex = new RegExp(\"^\".concat(modulePrefix, \"/models/(.*)$\"), 'i');\n    var podModelMatchRegex = new RegExp(\"^\".concat(podModulePrefix, \"/(.*)/model$\"), 'i');\n    DsModels = {};\n\n    if (!_emberData.hasEmberData) {\n      return DsModels;\n    }\n\n    Object.keys(moduleMap).forEach(function (path) {\n      var matches = path.match(classicModelMatchRegex) || path.match(podModelMatchRegex);\n\n      if (matches && matches[1]) {\n        var modelName = matches[1];\n        var model = (0, _require.default)(path, null, null, true).default;\n\n        if ((0, _emberData.isDsModel)(model)) {\n          DsModels[modelName] = model;\n        }\n      }\n    });\n    return DsModels;\n  }\n  /**\n   * Get all mirage models for each of the ember-data models\n   *\n   * @method getModels\n   * @private\n   * @hide\n   * @return {Object} models\n   */\n\n\n  function getModels() {\n    if (Models) {\n      return Models;\n    }\n\n    var emberDataModels = getDsModels();\n    Models = {};\n    Object.keys(emberDataModels).forEach(function (modelName) {\n      var model = emberDataModels[modelName];\n      var attrs = {};\n      model.eachRelationship(function (name, r) {\n        if (r.kind === 'belongsTo') {\n          attrs[name] = (0, _emberCliMirage.belongsTo)(r.type, r.options);\n        } else if (r.kind === 'hasMany') {\n          attrs[name] = (0, _emberCliMirage.hasMany)(r.type, r.options);\n        }\n      });\n      Models[modelName] = _emberCliMirage.Model.extend(attrs);\n    });\n    return Models;\n  }\n  /**\n   * A lookup method for an autogenerated model\n   *\n   * @method modelFor\n   * @private\n   * @param  {String} name\n   * @return {Model}\n   * @hide\n   */\n\n\n  function modelFor(name) {\n    var models = getModels();\n    (0, _assert.default)(!!models[name], \"Model of type '\".concat(name, \"' does not exist.\"));\n    return models[name];\n  }\n});","define(\"ember-cli-mirage/factory\", [\"exports\", \"lodash/assign\", \"lodash/isFunction\", \"lodash/mapValues\", \"ember-cli-mirage/utils/reference-sort\", \"lodash/isPlainObject\"], function (_exports, _assign2, _isFunction2, _mapValues2, _referenceSort, _isPlainObject2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var Factory = function Factory() {\n    this.build = function (sequence) {\n      var _this = this;\n\n      var object = {};\n      var topLevelAttrs = (0, _assign2.default)({}, this.attrs);\n      delete topLevelAttrs.afterCreate;\n      Object.keys(topLevelAttrs).forEach(function (attr) {\n        if (Factory.isTrait.call(_this, attr)) {\n          delete topLevelAttrs[attr];\n        }\n      });\n      var keys = sortAttrs(topLevelAttrs, sequence);\n      keys.forEach(function (key) {\n        var buildAttrs, _buildSingleValue;\n\n        buildAttrs = function buildAttrs(attrs) {\n          return (0, _mapValues2.default)(attrs, _buildSingleValue);\n        };\n\n        _buildSingleValue = function buildSingleValue(value) {\n          if (Array.isArray(value)) {\n            return value.map(_buildSingleValue);\n          } else if ((0, _isPlainObject2.default)(value)) {\n            return buildAttrs(value);\n          } else if ((0, _isFunction2.default)(value)) {\n            return value.call(topLevelAttrs, sequence);\n          } else {\n            return value;\n          }\n        };\n\n        var value = topLevelAttrs[key];\n\n        if ((0, _isFunction2.default)(value)) {\n          object[key] = value.call(object, sequence);\n        } else {\n          object[key] = _buildSingleValue(value);\n        }\n      });\n      return object;\n    };\n  };\n\n  Factory.extend = function (attrs) {\n    // Merge the new attributes with existing ones. If conflict, new ones win.\n    var newAttrs = (0, _assign2.default)({}, this.attrs, attrs);\n\n    var Subclass = function Subclass() {\n      this.attrs = newAttrs;\n      Factory.call(this);\n    }; // Copy extend\n\n\n    Subclass.extend = Factory.extend;\n    Subclass.extractAfterCreateCallbacks = Factory.extractAfterCreateCallbacks;\n    Subclass.isTrait = Factory.isTrait; // Store a reference on the class for future subclasses\n\n    Subclass.attrs = newAttrs;\n    return Subclass;\n  };\n\n  Factory.extractAfterCreateCallbacks = function () {\n    var _this2 = this;\n\n    var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n        traits = _ref.traits;\n\n    var afterCreateCallbacks = [];\n    var attrs = this.attrs || {};\n    var traitCandidates;\n\n    if (attrs.afterCreate) {\n      afterCreateCallbacks.push(attrs.afterCreate);\n    }\n\n    if (Array.isArray(traits)) {\n      traitCandidates = traits;\n    } else {\n      traitCandidates = Object.keys(attrs);\n    }\n\n    traitCandidates.filter(function (attr) {\n      return _this2.isTrait(attr) && attrs[attr].extension.afterCreate;\n    }).forEach(function (attr) {\n      afterCreateCallbacks.push(attrs[attr].extension.afterCreate);\n    });\n    return afterCreateCallbacks;\n  };\n\n  Factory.isTrait = function (attrName) {\n    var attrs = this.attrs;\n    return (0, _isPlainObject2.default)(attrs[attrName]) && attrs[attrName].__isTrait__ === true;\n  };\n\n  function sortAttrs(attrs, sequence) {\n    var Temp = function Temp() {};\n\n    var obj = new Temp();\n    var refs = [];\n    var property;\n    Object.keys(attrs).forEach(function (key) {\n      var value;\n      Object.defineProperty(obj.constructor.prototype, key, {\n        get: function get() {\n          refs.push([property, key]);\n          return value;\n        },\n        set: function set(newValue) {\n          value = newValue;\n        },\n        enumerable: false,\n        configurable: true\n      });\n    });\n    Object.keys(attrs).forEach(function (key) {\n      var value = attrs[key];\n\n      if (typeof value !== 'function') {\n        obj[key] = value;\n      }\n    });\n    Object.keys(attrs).forEach(function (key) {\n      var value = attrs[key];\n      property = key;\n\n      if (typeof value === 'function') {\n        obj[key] = value.call(obj, sequence);\n      }\n\n      refs.push([key]);\n    });\n    return (0, _referenceSort.default)(refs);\n  }\n  /**\n   * @hide\n  */\n\n\n  var _default = Factory;\n  _exports.default = _default;\n});","define(\"ember-cli-mirage/get-rfc232-test-context\", [\"exports\", \"require\"], function (_exports, _require2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = getRfc232TestContext;\n\n  /**\n    Helper to get our rfc232/rfc268 test context object, or null if we're not in\n    such a test.\n  \n    @hide\n  */\n  function getRfc232TestContext() {\n    // Support older versions of `ember-qunit` that don't have\n    // `@ember/test-helpers` (and therefore cannot possibly be running an\n    // rfc232/rfc268 test).\n    if (_require2.default.has('@ember/test-helpers')) {\n      var _require = (0, _require2.default)(\"@ember/test-helpers\"),\n          getContext = _require.getContext;\n\n      return getContext();\n    }\n  }\n});","define(\"ember-cli-mirage/identity-manager\", [\"exports\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/createClass\"], function (_exports, _classCallCheck2, _createClass2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  function isNumber(n) {\n    return (+n).toString() === n.toString();\n  }\n  /**\n    By default Mirage uses autoincrementing numbers starting with `1` as IDs for records. This can be customized by implementing one or more IdentityManagers for your application.\n  \n    An IdentityManager is a class that's responsible for generating unique identifiers. You can define a custom identity manager for your entire application, as well as on a per-model basis.\n  \n    A custom IdentityManager must implement these methods:\n  \n    - `fetch`, which must return an identifier not yet used\n    - `set`, which is called with an `id` of a record being insert into Mirage's database\n    - `reset`, which should reset database to initial state\n  \n    Mirage provides a blueprint to generate custom IdentityManagers:\n  \n    ```\n    ember generate mirage-identity-manager <application|modelName>\n    ```\n  \n    Check out the advanced guide on Mocking UUIDs to see a complete example of a custom IdentityManager.\n  \n    @class IdentityManager\n    @constructor\n    @public\n  */\n\n\n  var IdentityManager =\n  /*#__PURE__*/\n  function () {\n    function IdentityManager() {\n      (0, _classCallCheck2.default)(this, IdentityManager);\n      this._nextId = 1;\n      this._ids = {};\n    }\n    /**\n      @method get\n      @hide\n      @private\n    */\n\n\n    (0, _createClass2.default)(IdentityManager, [{\n      key: \"get\",\n      value: function get() {\n        return this._nextId;\n      }\n      /**\n        Registers `uniqueIdentifier` as used.\n         This method should throw is `uniqueIdentifier` has already been taken.\n         @method set\n        @param {String|Number} uniqueIdentifier\n        @public\n      */\n\n    }, {\n      key: \"set\",\n      value: function set(uniqueIdentifier) {\n        if (this._ids[uniqueIdentifier]) {\n          throw new Error(\"Attempting to use the ID \".concat(uniqueIdentifier, \", but it's already been used\"));\n        }\n\n        if (isNumber(uniqueIdentifier) && +uniqueIdentifier >= this._nextId) {\n          this._nextId = +uniqueIdentifier + 1;\n        }\n\n        this._ids[uniqueIdentifier] = true;\n      }\n      /**\n        @method inc\n        @hide\n        @private\n      */\n\n    }, {\n      key: \"inc\",\n      value: function inc() {\n        var nextValue = this.get() + 1;\n        this._nextId = nextValue;\n        return nextValue;\n      }\n      /**\n        Returns the next unique identifier.\n         @method fetch\n        @return {String} Unique identifier\n        @public\n      */\n\n    }, {\n      key: \"fetch\",\n      value: function fetch() {\n        var id = this.get();\n        this._ids[id] = true;\n        this.inc();\n        return id.toString();\n      }\n      /**\n        Resets the identity manager, marking all unique identifiers as available.\n         @method reset\n        @public\n      */\n\n    }, {\n      key: \"reset\",\n      value: function reset() {\n        this._nextId = 1;\n        this._ids = {};\n      }\n    }]);\n    return IdentityManager;\n  }();\n\n  var _default = IdentityManager;\n  _exports.default = _default;\n});","define(\"ember-cli-mirage/index\", [\"exports\", \"@babel/runtime/helpers/esm/construct\", \"ember-cli-mirage/factory\", \"ember-cli-mirage/trait\", \"ember-cli-mirage/association\", \"ember-cli-mirage/response\", \"ember-cli-mirage/orm/model\", \"ember-cli-mirage/orm/collection\", \"ember-cli-mirage/serializer\", \"ember-cli-mirage/serializers/active-model-serializer\", \"ember-cli-mirage/serializers/json-api-serializer\", \"ember-cli-mirage/serializers/rest-serializer\", \"ember-cli-mirage/orm/associations/has-many\", \"ember-cli-mirage/orm/associations/belongs-to\", \"ember-cli-mirage/identity-manager\"], function (_exports, _construct2, _factory, _trait, _association, _response, _model, _collection, _serializer, _activeModelSerializer, _jsonApiSerializer, _restSerializer, _hasMany, _belongsTo, _identityManager) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.hasMany = hasMany;\n  _exports.belongsTo = belongsTo;\n  Object.defineProperty(_exports, \"Factory\", {\n    enumerable: true,\n    get: function get() {\n      return _factory.default;\n    }\n  });\n  Object.defineProperty(_exports, \"trait\", {\n    enumerable: true,\n    get: function get() {\n      return _trait.default;\n    }\n  });\n  Object.defineProperty(_exports, \"association\", {\n    enumerable: true,\n    get: function get() {\n      return _association.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Response\", {\n    enumerable: true,\n    get: function get() {\n      return _response.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Model\", {\n    enumerable: true,\n    get: function get() {\n      return _model.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Collection\", {\n    enumerable: true,\n    get: function get() {\n      return _collection.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Serializer\", {\n    enumerable: true,\n    get: function get() {\n      return _serializer.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ActiveModelSerializer\", {\n    enumerable: true,\n    get: function get() {\n      return _activeModelSerializer.default;\n    }\n  });\n  Object.defineProperty(_exports, \"JSONAPISerializer\", {\n    enumerable: true,\n    get: function get() {\n      return _jsonApiSerializer.default;\n    }\n  });\n  Object.defineProperty(_exports, \"RestSerializer\", {\n    enumerable: true,\n    get: function get() {\n      return _restSerializer.default;\n    }\n  });\n  Object.defineProperty(_exports, \"IdentityManager\", {\n    enumerable: true,\n    get: function get() {\n      return _identityManager.default;\n    }\n  });\n  _exports.default = void 0;\n\n  /**\n    @hide\n  */\n  function hasMany() {\n    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n\n    return (0, _construct2.default)(_hasMany.default, args);\n  }\n  /**\n    @hide\n  */\n\n\n  function belongsTo() {\n    for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n      args[_key2] = arguments[_key2];\n    }\n\n    return (0, _construct2.default)(_belongsTo.default, args);\n  }\n\n  var _default = {\n    Factory: _factory.default,\n    Response: _response.default,\n    hasMany: hasMany,\n    belongsTo: belongsTo\n  };\n  _exports.default = _default;\n});","define(\"ember-cli-mirage/instance-initializers/ember-cli-mirage-autostart\", [\"exports\", \"ember-cli-mirage/get-rfc232-test-context\", \"ember-cli-mirage/start-mirage\"], function (_exports, _getRfc232TestContext, _startMirage) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.initialize = initialize;\n  _exports.default = void 0;\n  // An object we can register with the container to ensure that mirage is shut\n  // down when the application is destroyed\n  var MirageShutdown = Ember.Object.extend({\n    testContext: null,\n    willDestroy: function willDestroy() {\n      var testContext = this.get('testContext');\n      testContext.server.shutdown();\n      delete testContext.server;\n    }\n  });\n  /**\n    If we are running an rfc232/rfc268 test then we want to support the\n    `autostart` configuration option, which auto-starts mirage before the test\n    runs and shuts it down afterwards, and also sets `this.server` on the test\n    context so the tests don't need to use the global `server`. We do this in an\n    instance initializer because initializers only run once per test run, not\n    before and after each test.\n  \n    @hide\n  */\n\n  function initialize(appInstance) {\n    var testContext = (0, _getRfc232TestContext.default)();\n\n    if (testContext) {\n      var _appInstance$resolveR = appInstance.resolveRegistration('config:environment'),\n          _appInstance$resolveR2 = _appInstance$resolveR['ember-cli-mirage'];\n\n      _appInstance$resolveR2 = _appInstance$resolveR2 === void 0 ? {} : _appInstance$resolveR2;\n      var autostart = _appInstance$resolveR2.autostart;\n\n      if (autostart) {\n        var server = (0, _startMirage.default)(appInstance);\n        testContext.server = server; // To ensure that the server is shut down when the application is\n        // destroyed, register and create a singleton object that shuts the server\n        // down in its willDestroy() hook.\n\n        appInstance.register('mirage:shutdown', MirageShutdown);\n        var shutdown = appInstance.lookup('mirage:shutdown');\n        shutdown.set('testContext', testContext);\n      }\n    }\n  }\n\n  var _default = {\n    initialize: initialize\n  };\n  _exports.default = _default;\n});","define(\"ember-cli-mirage/orm/associations/association\", [\"exports\", \"@babel/runtime/helpers/esm/typeof\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/createClass\", \"ember-cli-mirage/utils/inflector\"], function (_exports, _typeof2, _classCallCheck2, _createClass2, _inflector) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n    To define associations on your models, use the `belongsTo` and `hasMany` helpers. Each helper adds some dynamic methods to your model.\n  \n    If you're using Ember Data, you don't need to define these relationships, as they will be inferred from your Ember Data schema automatically.\n  \n    ## Association types\n  \n    ### belongsTo\n  \n    ```js\n    // mirage/models/blog-post.js\n    import { Model, belongsTo } from 'ember-cli-mirage';\n  \n    export default Model.extend({\n      author: belongsTo()\n    });\n    ```\n  \n    This adds an `authorId` property to your `blogPost` model, as well as some methods for working with the associated `author` model:\n  \n    ```js\n    blogPost.authorId;                // 1\n    blogPost.authorId = 2;            // updates the relationship\n    blogPost.author;                  // Author instance\n    blogPost.author = anotherAuthor;\n    blogPost.newAuthor(attrs);        // new unsaved author\n    blogPost.createAuthor(attrs);     // new saved author (updates blogPost.authorId in memory only)\n    ```\n    Note that when a child calls `child.createParent`, the new parent is immediately saved to the `db`, but the child's foreign key is updated *on this instance only*, and is not immediately persisted to the database.\n  \n    In other words, `blogPost.createAuthor` will create a new `author` record, insert it into the `db`, and update the `blogPost.authorId` in memory, but if you were to fetch the `blogPost` from the `db` again, the relationship would not be persisted.\n  \n    To persist the new foreign key, you would call `blogPost.save()` after creating the new author.\n  \n    ### hasMany\n  \n    ```js\n    // mirage/models/blog-post.js\n    import { Model, hasMany } from 'ember-cli-mirage';\n  \n    export default Model.extend({\n      comments: hasMany()\n    });\n    ```\n  \n    This adds a `commentIds` property to the `blogPost` model, as well as some methods for working with the associated `comments` collection:\n  \n    ```js\n    blogPost.commentIds;                      // [1, 2, 3]\n    blogPost.commentIds = [2, 3];             // updates the relationship\n    blogPost.comments;                        // array of related comments\n    blogPost.comments = [comment1, comment2]; // updates the relationship\n    blogPost.newComment(attrs);               // new unsaved comment\n    blogPost.createComment(attrs);            // new saved comment (comment.blogPostId is set)\n    ```\n  \n    ## Association options\n  \n    ### modelName\n  \n    If your associations model has a different name than the association itself, you can specify the `modelName` on the association.\n  \n    For example,\n  \n    ```js\n    // mirage/models/blog-post.js\n    import { Model, belongsTo, hasMany } from 'ember-cli-mirage';\n  \n    export default Model.extend({\n      author: belongsTo('user'),\n      comments: hasMany('annotation')\n    });\n    ```\n  \n    would add all the named `author` and `comment` methods as listed above, but use `user` and `annotation` models for the actual relationships.\n  \n    ### inverse\n  \n    Sometimes a `hasMany` relationship can point to a model with multiple associations of the same type. You can use the `inverse` option to specify which property on the related model is the inverse of the given relationship:\n  \n    ```js\n    // app/models/talk.js\n    export default Model.extend({\n      primaryEvent: belongsTo('event'),\n      secondaryEvent: belongsTo('event'),\n    });\n  \n    // app/models/event.js\n    export default Model.extend({\n      talks: hasMany('talk', { inverse: 'primaryEvent' }),\n    });\n    ```\n  \n    ### polymorphic\n  \n    You can specify whether an association is a polymorphic association by passing `{ polymorphic: true }` as an option.\n  \n    For example, say you have a `Comment` that can belong to a `BlogPost` or a `Picture`. Here's how the model definitions would look:\n  \n    ```js\n    // app/models/comment.js\n    export default Model.extend({\n      commentable: belongsTo({ polymorphic: true })\n    });\n  \n    // app/models/blog-post.js\n    export default Model.extend({\n      comments: hasMany()\n    });\n  \n    // app/models/picture.js\n    export default Model.extend({\n      comments: hasMany()\n    });\n    ```\n  \n    Note that `commentable` doesn't need a type (there's no validation done on which types of models can exist on that association).\n  \n    Polymorphic associations have slightly different method signatures for their foreign keys and build/create methods.\n  \n    ```js\n    let comment = schema.comments.create({ text: \"foo\" });\n  \n    comment.buildCommentable('post', { title: 'Lorem Ipsum' });\n    comment.createCommentable('post', { title: 'Lorem Ipsum' });\n  \n    // getter\n    comment.commentableId; // { id: 1, type: 'blog-post' }\n  \n    // setter\n    comment.commentableId = { id: 2, type: 'picture' };\n    ```\n  \n    Has-many asssociations can also be polymorphic:\n  \n    ```js\n    // app/models/user.js\n    export default Model.extend({\n      things: hasMany({ polymorphic: true })\n    });\n  \n    // app/models/car.js\n    export default Model.extend({\n    });\n  \n    // app/models/watch.js\n    export default Model.extend({\n    });\n  \n    let user = schema.users.create({ name: \"Sam\" });\n  \n    user.buildThing('car', { attrs });\n    user.createThing('watch', { attrs });\n  \n    // getter\n    user.thingIds; // [ { id: 1, type: 'car' }, { id: 3, type: 'watch' }, ... ]\n  \n    // setter\n    user.thingIds = [ { id: 2, type: 'watch' }, ... ];\n    ```\n  \n    @class Association\n    @constructor\n    @public\n  */\n  var Association =\n  /*#__PURE__*/\n  function () {\n    function Association(modelName, opts) {\n      (0, _classCallCheck2.default)(this, Association);\n\n      if ((0, _typeof2.default)(modelName) === 'object') {\n        // Received opts only\n        this.modelName = undefined;\n        this.opts = modelName;\n      } else {\n        // The modelName of the association. (Might not be passed in - set later\n        // by schema).\n        this.modelName = modelName ? (0, _inflector.dasherize)(modelName) : '';\n        this.opts = opts || {};\n      } // The key pointing to the association\n\n\n      this.key = ''; // The modelName that owns this association\n\n      this.ownerModelName = '';\n    }\n    /**\n       A setter for schema, since we don't have a reference at constuction time.\n        @method setSchema\n       @public\n       @hide\n    */\n\n\n    (0, _createClass2.default)(Association, [{\n      key: \"setSchema\",\n      value: function setSchema(schema) {\n        this.schema = schema;\n      }\n      /**\n         Returns true if the association is reflexive.\n          @method isReflexive\n         @return {Boolean}\n         @public\n      */\n\n    }, {\n      key: \"isReflexive\",\n      value: function isReflexive() {\n        var isExplicitReflexive = !!(this.modelName === this.ownerModelName && this.opts.inverse);\n        var isImplicitReflexive = !!(this.opts.inverse === undefined && this.ownerModelName === this.modelName);\n        return isExplicitReflexive || isImplicitReflexive;\n      }\n    }, {\n      key: \"isPolymorphic\",\n      get: function get() {\n        return this.opts.polymorphic;\n      }\n      /**\n        @hide\n      */\n\n    }, {\n      key: \"identifier\",\n      get: function get() {\n        throw new Error('Subclasses of Association must implement a getter for identifier');\n      }\n    }]);\n    return Association;\n  }();\n\n  _exports.default = Association;\n});","define(\"ember-cli-mirage/orm/associations/belongs-to\", [\"exports\", \"@babel/runtime/helpers/esm/typeof\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/createClass\", \"@babel/runtime/helpers/esm/possibleConstructorReturn\", \"@babel/runtime/helpers/esm/getPrototypeOf\", \"@babel/runtime/helpers/esm/inherits\", \"ember-cli-mirage/orm/associations/association\", \"lodash/assign\", \"ember-cli-mirage/utils/inflector\", \"ember-cli-mirage/utils/normalize-name\", \"ember-cli-mirage/assert\"], function (_exports, _typeof2, _defineProperty2, _classCallCheck2, _createClass2, _possibleConstructorReturn2, _getPrototypeOf2, _inherits2, _association, _assign2, _inflector, _normalizeName, _assert) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * The belongsTo association adds a fk to the owner of the association\n   *\n   * @class BelongsTo\n   * @extends Association\n   * @constructor\n   * @public\n   * @hide\n   */\n  var BelongsTo =\n  /*#__PURE__*/\n  function (_Association) {\n    (0, _inherits2.default)(BelongsTo, _Association);\n\n    function BelongsTo() {\n      (0, _classCallCheck2.default)(this, BelongsTo);\n      return (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(BelongsTo).apply(this, arguments));\n    }\n\n    (0, _createClass2.default)(BelongsTo, [{\n      key: \"getForeignKeyArray\",\n\n      /**\n       * @method getForeignKeyArray\n       * @return {Array} Array of camelized name of the model owning the association\n       * and foreign key for the association\n       * @public\n       */\n      value: function getForeignKeyArray() {\n        return [(0, _inflector.camelize)(this.ownerModelName), this.getForeignKey()];\n      }\n      /**\n       * @method getForeignKey\n       * @return {String} Foreign key for the association\n       * @public\n       */\n\n    }, {\n      key: \"getForeignKey\",\n      value: function getForeignKey() {\n        return \"\".concat((0, _inflector.camelize)(this.key), \"Id\");\n      }\n      /**\n       * Registers belongs-to association defined by given key on given model,\n       * defines getters / setters for associated parent and associated parent's id,\n       * adds methods for creating unsaved parent record and creating a saved one\n       *\n       * @method addMethodsToModelClass\n       * @param {Function} ModelClass\n       * @param {String} key the named key for the association\n       * @public\n       */\n\n    }, {\n      key: \"addMethodsToModelClass\",\n      value: function addMethodsToModelClass(ModelClass, key) {\n        var modelPrototype = ModelClass.prototype;\n        var association = this;\n        var foreignKey = this.getForeignKey();\n        var associationHash = (0, _defineProperty2.default)({}, key, this);\n        modelPrototype.belongsToAssociations = (0, _assign2.default)(modelPrototype.belongsToAssociations, associationHash); // Add to target's dependent associations array\n\n        this.schema.addDependentAssociation(this, this.modelName); // TODO: look how this is used. Are these necessary, seems like they could be gotten from the above?\n        // Or we could use a single data structure to store this information?\n\n        modelPrototype.associationKeys.push(key);\n        modelPrototype.associationIdKeys.push(foreignKey);\n        Object.defineProperty(modelPrototype, foreignKey, {\n          /*\n            object.parentId\n              - returns the associated parent's id\n          */\n          get: function get() {\n            this._tempAssociations = this._tempAssociations || {};\n            var tempParent = this._tempAssociations[key];\n            var id;\n\n            if (tempParent === null) {\n              id = null;\n            } else {\n              if (association.isPolymorphic) {\n                if (tempParent) {\n                  id = {\n                    id: tempParent.id,\n                    type: tempParent.modelName\n                  };\n                } else {\n                  id = this.attrs[foreignKey];\n                }\n              } else {\n                if (tempParent) {\n                  id = tempParent.id;\n                } else {\n                  id = this.attrs[foreignKey];\n                }\n              }\n            }\n\n            return id;\n          },\n\n          /*\n            object.parentId = (parentId)\n              - sets the associated parent via id\n          */\n          set: function set(id) {\n            var tempParent;\n\n            if (id === null) {\n              tempParent = null;\n            } else if (id !== undefined) {\n              if (association.isPolymorphic) {\n                (0, _assert.default)((0, _typeof2.default)(id) === 'object', \"You're setting an ID on the polymorphic association '\".concat(association.key, \"' but you didn't pass in an object. Polymorphic IDs need to be in the form { type, id }.\"));\n                tempParent = association.schema[(0, _normalizeName.toCollectionName)(id.type)].find(id.id);\n              } else {\n                tempParent = association.schema[(0, _normalizeName.toCollectionName)(association.modelName)].find(id);\n                (0, _assert.default)(tempParent, \"Couldn't find \".concat(association.modelName, \" with id = \").concat(id));\n              }\n            }\n\n            this[key] = tempParent;\n          }\n        });\n        Object.defineProperty(modelPrototype, key, {\n          /*\n            object.parent\n              - returns the associated parent\n          */\n          get: function get() {\n            this._tempAssociations = this._tempAssociations || {};\n            var tempParent = this._tempAssociations[key];\n            var foreignKeyId = this[foreignKey];\n            var model = null;\n\n            if (tempParent) {\n              model = tempParent;\n            } else if (foreignKeyId !== null) {\n              if (association.isPolymorphic) {\n                model = association.schema[(0, _normalizeName.toCollectionName)(foreignKeyId.type)].find(foreignKeyId.id);\n              } else {\n                model = association.schema[(0, _normalizeName.toCollectionName)(association.modelName)].find(foreignKeyId);\n              }\n            }\n\n            return model;\n          },\n\n          /*\n            object.parent = (parentModel)\n              - sets the associated parent via model\n             I want to jot some notes about hasInverseFor. There used to be an\n            association.inverse() check, but adding polymorphic associations\n            complicated this. `comment.commentable`, you can't easily check for an\n            inverse since `comments: hasMany()` could be on any model.\n             Instead of making it very complex and looking for an inverse on the\n            association in isoaltion, it was much simpler to ask the model being\n            passed in if it had an inverse for the setting model and with its\n            association.\n          */\n          set: function set(model) {\n            this._tempAssociations = this._tempAssociations || {};\n            this._tempAssociations[key] = model;\n\n            if (model && model.hasInverseFor(association)) {\n              var inverse = model.inverseFor(association);\n              model.associate(this, inverse);\n            }\n          }\n        });\n        /*\n          object.newParent\n            - creates a new unsaved associated parent\n           TODO: document polymorphic\n        */\n\n        modelPrototype[\"new\".concat((0, _inflector.capitalize)(key))] = function () {\n          var modelName, attrs;\n\n          if (association.isPolymorphic) {\n            modelName = arguments.length <= 0 ? undefined : arguments[0];\n            attrs = arguments.length <= 1 ? undefined : arguments[1];\n          } else {\n            modelName = association.modelName;\n            attrs = arguments.length <= 0 ? undefined : arguments[0];\n          }\n\n          var parent = association.schema[(0, _normalizeName.toCollectionName)(modelName)].new(attrs);\n          this[key] = parent;\n          return parent;\n        };\n        /*\n          object.createParent\n            - creates a new saved associated parent, and immediately persists both models\n           TODO: document polymorphic\n        */\n\n\n        modelPrototype[\"create\".concat((0, _inflector.capitalize)(key))] = function () {\n          var modelName, attrs;\n\n          if (association.isPolymorphic) {\n            modelName = arguments.length <= 0 ? undefined : arguments[0];\n            attrs = arguments.length <= 1 ? undefined : arguments[1];\n          } else {\n            modelName = association.modelName;\n            attrs = arguments.length <= 0 ? undefined : arguments[0];\n          }\n\n          var parent = association.schema[(0, _normalizeName.toCollectionName)(modelName)].create(attrs);\n          this[key] = parent;\n          this.save();\n          return parent.reload();\n        };\n      }\n      /**\n       *\n       *\n       * @public\n      */\n\n    }, {\n      key: \"disassociateAllDependentsFromTarget\",\n      value: function disassociateAllDependentsFromTarget(model) {\n        var _this = this;\n\n        var owner = this.ownerModelName;\n        var fk;\n\n        if (this.isPolymorphic) {\n          fk = {\n            type: model.modelName,\n            id: model.id\n          };\n        } else {\n          fk = model.id;\n        }\n\n        var dependents = this.schema[(0, _normalizeName.toCollectionName)(owner)].where(function (potentialOwner) {\n          var id = potentialOwner[_this.getForeignKey()];\n\n          if (!id) {\n            return false;\n          }\n\n          if ((0, _typeof2.default)(id) === 'object') {\n            return id.type === fk.type && id.id === fk.id;\n          } else {\n            return id === fk;\n          }\n        });\n        dependents.models.forEach(function (dependent) {\n          dependent.disassociate(model, _this);\n          dependent.save();\n        });\n      }\n    }, {\n      key: \"identifier\",\n      get: function get() {\n        return \"\".concat((0, _inflector.camelize)(this.key), \"Id\");\n      }\n    }]);\n    return BelongsTo;\n  }(_association.default);\n\n  _exports.default = BelongsTo;\n});","define(\"ember-cli-mirage/orm/associations/has-many\", [\"exports\", \"@babel/runtime/helpers/esm/typeof\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/createClass\", \"@babel/runtime/helpers/esm/possibleConstructorReturn\", \"@babel/runtime/helpers/esm/getPrototypeOf\", \"@babel/runtime/helpers/esm/inherits\", \"ember-cli-mirage/orm/associations/association\", \"ember-cli-mirage/orm/collection\", \"ember-cli-mirage/orm/polymorphic-collection\", \"lodash/assign\", \"lodash/compact\", \"ember-cli-mirage/utils/inflector\", \"ember-cli-mirage/utils/normalize-name\", \"ember-cli-mirage/assert\"], function (_exports, _typeof2, _defineProperty2, _classCallCheck2, _createClass2, _possibleConstructorReturn2, _getPrototypeOf2, _inherits2, _association, _collection, _polymorphicCollection, _assign2, _compact2, _inflector, _normalizeName, _assert) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * @class HasMany\n   * @extends Association\n   * @constructor\n   * @public\n   * @hide\n   */\n  var HasMany =\n  /*#__PURE__*/\n  function (_Association) {\n    (0, _inherits2.default)(HasMany, _Association);\n\n    function HasMany() {\n      (0, _classCallCheck2.default)(this, HasMany);\n      return (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(HasMany).apply(this, arguments));\n    }\n\n    (0, _createClass2.default)(HasMany, [{\n      key: \"getForeignKeyArray\",\n\n      /**\n       * @method getForeignKeyArray\n       * @return {Array} Array of camelized model name of associated objects\n       * and foreign key for the object owning the association\n       * @public\n       */\n      value: function getForeignKeyArray() {\n        return [(0, _inflector.camelize)(this.ownerModelName), this.getForeignKey()];\n      }\n      /**\n       * @method getForeignKey\n       * @return {String} Foreign key for the object owning the association\n       * @public\n       */\n\n    }, {\n      key: \"getForeignKey\",\n      value: function getForeignKey() {\n        return \"\".concat((0, _inflector.singularize)((0, _inflector.camelize)(this.key)), \"Ids\");\n      }\n      /**\n       * Registers has-many association defined by given key on given model,\n       * defines getters / setters for associated records and associated records' ids,\n       * adds methods for creating unsaved child records and creating saved ones\n       *\n       * @method addMethodsToModelClass\n       * @param {Function} ModelClass\n       * @param {String} key\n       * @public\n       */\n\n    }, {\n      key: \"addMethodsToModelClass\",\n      value: function addMethodsToModelClass(ModelClass, key) {\n        var modelPrototype = ModelClass.prototype;\n        var association = this;\n        var foreignKey = this.getForeignKey();\n        var associationHash = (0, _defineProperty2.default)({}, key, this);\n        modelPrototype.hasManyAssociations = (0, _assign2.default)(modelPrototype.hasManyAssociations, associationHash); // Add to target's dependent associations array\n\n        this.schema.addDependentAssociation(this, this.modelName); // TODO: look how this is used. Are these necessary, seems like they could be gotten from the above?\n        // Or we could use a single data structure to store this information?\n\n        modelPrototype.associationKeys.push(key);\n        modelPrototype.associationIdKeys.push(foreignKey);\n        Object.defineProperty(modelPrototype, foreignKey, {\n          /*\n            object.childrenIds\n              - returns an array of the associated children's ids\n          */\n          get: function get() {\n            this._tempAssociations = this._tempAssociations || {};\n            var tempChildren = this._tempAssociations[key];\n            var ids = [];\n\n            if (tempChildren) {\n              if (association.isPolymorphic) {\n                ids = tempChildren.models.map(function (model) {\n                  return {\n                    type: model.modelName,\n                    id: model.id\n                  };\n                });\n              } else {\n                ids = tempChildren.models.map(function (model) {\n                  return model.id;\n                });\n              }\n            } else {\n              ids = this.attrs[foreignKey] || [];\n            }\n\n            return ids;\n          },\n\n          /*\n            object.childrenIds = ([childrenIds...])\n              - sets the associated children (via id)\n          */\n          set: function set(ids) {\n            var tempChildren;\n\n            if (ids === null) {\n              tempChildren = [];\n            } else if (ids !== undefined) {\n              (0, _assert.default)(Array.isArray(ids), \"You must pass an array in when setting \".concat(foreignKey, \" on \").concat(this));\n\n              if (association.isPolymorphic) {\n                (0, _assert.default)(ids.every(function (el) {\n                  return (0, _typeof2.default)(el) === 'object' && (0, _typeof2.default)(el.type) !== undefined && (0, _typeof2.default)(el.id) !== undefined;\n                }), \"You must pass in an array of polymorphic identifiers (objects of shape { type, id }) when setting \".concat(foreignKey, \" on \").concat(this));\n                var models = ids.map(function (_ref) {\n                  var type = _ref.type,\n                      id = _ref.id;\n                  return association.schema[(0, _normalizeName.toCollectionName)(type)].find(id);\n                });\n                tempChildren = new _polymorphicCollection.default(models);\n              } else {\n                tempChildren = association.schema[(0, _normalizeName.toCollectionName)(association.modelName)].find(ids);\n              }\n            }\n\n            this[key] = tempChildren;\n          }\n        });\n        Object.defineProperty(modelPrototype, key, {\n          /*\n            object.children\n              - returns an array of associated children\n          */\n          get: function get() {\n            this._tempAssociations = this._tempAssociations || {};\n            var collection = null;\n\n            if (this._tempAssociations[key]) {\n              collection = this._tempAssociations[key];\n            } else {\n              if (association.isPolymorphic) {\n                if (this[foreignKey]) {\n                  var polymorphicIds = this[foreignKey];\n                  var models = polymorphicIds.map(function (_ref2) {\n                    var type = _ref2.type,\n                        id = _ref2.id;\n                    return association.schema[(0, _normalizeName.toCollectionName)(type)].find(id);\n                  });\n                  collection = new _polymorphicCollection.default(models);\n                } else {\n                  collection = new _polymorphicCollection.default(association.modelName);\n                }\n              } else {\n                if (this[foreignKey]) {\n                  collection = association.schema[(0, _normalizeName.toCollectionName)(association.modelName)].find(this[foreignKey]);\n                } else {\n                  collection = new _collection.default(association.modelName);\n                }\n              }\n\n              this._tempAssociations[key] = collection;\n            }\n\n            return collection;\n          },\n\n          /*\n            object.children = [model1, model2, ...]\n              - sets the associated children (via array of models or Collection)\n          */\n          set: function set(models) {\n            var _this = this;\n\n            if (models instanceof _collection.default || models instanceof _polymorphicCollection.default) {\n              models = models.models;\n            }\n\n            models = models ? (0, _compact2.default)(models) : [];\n            this._tempAssociations = this._tempAssociations || {};\n            var collection;\n\n            if (association.isPolymorphic) {\n              collection = new _polymorphicCollection.default(models);\n            } else {\n              collection = new _collection.default(association.modelName, models);\n            }\n\n            this._tempAssociations[key] = collection;\n            models.forEach(function (model) {\n              if (model.hasInverseFor(association)) {\n                var inverse = model.inverseFor(association);\n                model.associate(_this, inverse);\n              }\n            });\n          }\n        });\n        /*\n          object.newChild\n            - creates a new unsaved associated child\n        */\n\n        modelPrototype[\"new\".concat((0, _inflector.capitalize)((0, _inflector.camelize)((0, _inflector.singularize)(association.key))))] = function () {\n          var modelName, attrs;\n\n          if (association.isPolymorphic) {\n            modelName = arguments.length <= 0 ? undefined : arguments[0];\n            attrs = arguments.length <= 1 ? undefined : arguments[1];\n          } else {\n            modelName = association.modelName;\n            attrs = arguments.length <= 0 ? undefined : arguments[0];\n          }\n\n          var child = association.schema[(0, _normalizeName.toCollectionName)(modelName)].new(attrs);\n          var children = this[key].models;\n          children.push(child);\n          this[key] = children;\n          return child;\n        };\n        /*\n          object.createChild\n            - creates a new saved associated child, and immediately persists both models\n           TODO: forgot why this[key].add(child) doesn't work, most likely\n          because these external APIs trigger saving cascades. Should probably\n          have an internal method like this[key]._add.\n        */\n\n\n        modelPrototype[\"create\".concat((0, _inflector.capitalize)((0, _inflector.camelize)((0, _inflector.singularize)(association.key))))] = function () {\n          var modelName, attrs;\n\n          if (association.isPolymorphic) {\n            modelName = arguments.length <= 0 ? undefined : arguments[0];\n            attrs = arguments.length <= 1 ? undefined : arguments[1];\n          } else {\n            modelName = association.modelName;\n            attrs = arguments.length <= 0 ? undefined : arguments[0];\n          }\n\n          var child = association.schema[(0, _normalizeName.toCollectionName)(modelName)].create(attrs);\n          var children = this[key].models;\n          children.push(child);\n          this[key] = children;\n          this.save();\n          return child.reload();\n        };\n      }\n      /**\n       *\n       *\n       * @public\n      */\n\n    }, {\n      key: \"disassociateAllDependentsFromTarget\",\n      value: function disassociateAllDependentsFromTarget(model) {\n        var _this2 = this;\n\n        var owner = this.ownerModelName;\n        var fk;\n\n        if (this.isPolymorphic) {\n          fk = {\n            type: model.modelName,\n            id: model.id\n          };\n        } else {\n          fk = model.id;\n        }\n\n        var dependents = this.schema[(0, _normalizeName.toCollectionName)(owner)].where(function (potentialOwner) {\n          var currentIds = potentialOwner[_this2.getForeignKey()]; // Need this check because currentIds could be null\n\n\n          return currentIds && currentIds.find(function (id) {\n            if ((0, _typeof2.default)(id) === 'object') {\n              return id.type === fk.type && id.id === fk.id;\n            } else {\n              return id === fk;\n            }\n          });\n        });\n        dependents.models.forEach(function (dependent) {\n          dependent.disassociate(model, _this2);\n          dependent.save();\n        });\n      }\n    }, {\n      key: \"identifier\",\n      get: function get() {\n        return \"\".concat((0, _inflector.camelize)((0, _inflector.singularize)(this.key)), \"Ids\");\n      }\n    }]);\n    return HasMany;\n  }(_association.default);\n\n  _exports.default = HasMany;\n});","define(\"ember-cli-mirage/orm/collection\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/createClass\", \"ember-cli-mirage/assert\", \"lodash/invokeMap\"], function (_exports, _slicedToArray2, _classCallCheck2, _createClass2, _assert, _invokeMap2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n    Collections represent arrays of models. They are returned by a hasMany association, or by one of the ModelClass query methods:\n  \n    ```js\n    let posts = user.blogPosts;\n    let posts = schema.blogPosts.all();\n    let posts = schema.blogPosts.find([1, 2, 4]);\n    let posts = schema.blogPosts.where({ published: true });\n    ```\n  \n    Note that there is also a `PolymorphicCollection` class that is identical to `Collection`, except it can contain a heterogeneous array of models. Thus, it has no `modelName` property. This lets serializers and other parts of the system interact with it differently.\n  \n    @class Collection\n    @constructor\n    @public\n  */\n  var Collection =\n  /*#__PURE__*/\n  function () {\n    function Collection(modelName) {\n      var models = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n      (0, _classCallCheck2.default)(this, Collection);\n      (0, _assert.default)(modelName && typeof modelName === 'string', 'You must pass a `modelName` into a Collection');\n      /**\n        The dasherized model name this Collection represents.\n         ```js\n        let posts = user.blogPosts;\n         posts.modelName; // \"blog-post\"\n        ```\n         The model name is separate from the actual models, since Collections can be empty.\n         @property modelName\n        @type {String}\n        @public\n      */\n\n      this.modelName = modelName;\n      /**\n        The underlying plain JavaScript array of Models in this Collection.\n         ```js\n        posts.models // [ post:1, post:2, ... ]\n        ```\n         While Collections have many array-ish methods like `filter` and `sort`, it\n        can be useful to work with the plain array if you want to work with methods\n        like `map`, or use the `[]` accessor.\n         For example, in testing you might want to assert against a model from the\n        collection:\n         ```js\n        let newPost = user.posts.models[0].title;\n         assert.equal(newPost, \"My first post\");\n        ```\n         @property models\n        @type {Array}\n        @public\n      */\n\n      this.models = models;\n    }\n    /**\n      The number of models in the collection.\n       ```js\n      user.posts.length; // 2\n      ```\n       @property length\n      @type {Integer}\n      @public\n    */\n\n\n    (0, _createClass2.default)(Collection, [{\n      key: \"update\",\n\n      /**\n         Updates each model in the collection, and immediately persists all changes to the db.\n          ```js\n         let posts = user.blogPosts;\n          posts.update('published', true); // the db was updated for all posts\n         ```\n          @method update\n         @param key\n         @param val\n         @return this\n         @public\n       */\n      value: function update() {\n        for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n          args[_key] = arguments[_key];\n        }\n\n        _invokeMap2.default.apply(void 0, [this.models, 'update'].concat(args));\n\n        return this;\n      }\n      /**\n         Saves all models in the collection.\n          ```js\n         let posts = user.blogPosts;\n          posts.models[0].published = true;\n          posts.save(); // all posts saved to db\n         ```\n          @method save\n         @return this\n         @public\n       */\n\n    }, {\n      key: \"save\",\n      value: function save() {\n        (0, _invokeMap2.default)(this.models, 'save');\n        return this;\n      }\n      /**\n        Reloads each model in the collection.\n         ```js\n        let posts = author.blogPosts;\n         // ...\n         posts.reload(); // reloads data for each post from the db\n        ```\n         @method reload\n        @return this\n        @public\n      */\n\n    }, {\n      key: \"reload\",\n      value: function reload() {\n        (0, _invokeMap2.default)(this.models, 'reload');\n        return this;\n      }\n      /**\n        Destroys the db record for all models in the collection.\n         ```js\n        let posts = user.blogPosts;\n         posts.destroy(); // all posts removed from db\n        ```\n         @method destroy\n        @return this\n        @public\n      */\n\n    }, {\n      key: \"destroy\",\n      value: function destroy() {\n        (0, _invokeMap2.default)(this.models, 'destroy');\n        return this;\n      }\n      /**\n        Adds a model to this collection.\n         ```js\n        posts.length; // 1\n         posts.add(newPost);\n         posts.length; // 2\n        ```\n         @method add\n        @param {Model} model\n        @return this\n        @public\n      */\n\n    }, {\n      key: \"add\",\n      value: function add(model) {\n        this.models.push(model);\n        return this;\n      }\n      /**\n        Removes a model from this collection.\n         ```js\n        posts.length; // 5\n         let firstPost = posts.models[0];\n        posts.remove(firstPost);\n        posts.save();\n         posts.length; // 4\n        ```\n         @method remove\n        @param {Model} model\n        @return this\n        @public\n      */\n\n    }, {\n      key: \"remove\",\n      value: function remove(model) {\n        var _this$models$filter = this.models.filter(function (m) {\n          return m.toString() === model.toString();\n        }),\n            _this$models$filter2 = (0, _slicedToArray2.default)(_this$models$filter, 1),\n            match = _this$models$filter2[0];\n\n        if (match) {\n          var i = this.models.indexOf(match);\n          this.models.splice(i, 1);\n        }\n\n        return this;\n      }\n      /**\n        Checks if the Collection includes the given model.\n         ```js\n        posts.includes(newPost);\n        ```\n         Works by checking if the given model name and id exists in the Collection,\n        making it a bit more flexible than strict object equality.\n         ```js\n        let post = server.create('post');\n        let programming = server.create('tag', { text: 'Programming' });\n         visit(`/posts/${post.id}`);\n        click('.tag-selector');\n        click('.tag:contains(Programming)');\n         post.reload();\n        assert.ok(post.tags.includes(programming));\n        ```\n         @method includes\n        @return {Boolean}\n        @public\n      */\n\n    }, {\n      key: \"includes\",\n      value: function includes(model) {\n        return this.models.filter(function (m) {\n          return m.toString() === model.toString();\n        }).length > 0;\n      }\n      /**\n        Returns a new Collection with its models filtered according to the provided [callback function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter).\n         ```js\n        let publishedPosts = user.posts.filter(post => post.isPublished);\n        ```\n        @method filter\n        @param {Function} f\n        @return {Collection}\n        @public\n      */\n\n    }, {\n      key: \"filter\",\n      value: function filter(f) {\n        var filteredModels = this.models.filter(f);\n        return new Collection(this.modelName, filteredModels);\n      }\n      /**\n         Returns a new Collection with its models sorted according to the provided [compare function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#Parameters).\n          ```js\n         let postsByTitleAsc = user.posts.sort((a, b) => {\n           return b.title < a.title;\n         });\n         ```\n          @method sort\n         @param {Function} f\n         @return {Collection}\n         @public\n       */\n\n    }, {\n      key: \"sort\",\n      value: function sort(f) {\n        var sortedModels = this.models.concat().sort(f);\n        return new Collection(this.modelName, sortedModels);\n      }\n      /**\n        Returns a new Collection with a subset of its models selected from `begin` to `end`.\n         ```js\n        let firstThreePosts = user.posts.slice(0, 3);\n        ```\n         @method slice\n        @param {Integer} begin\n        @param {Integer} end\n        @return {Collection}\n        @public\n      */\n\n    }, {\n      key: \"slice\",\n      value: function slice() {\n        var _this$models;\n\n        var slicedModels = (_this$models = this.models).slice.apply(_this$models, arguments);\n\n        return new Collection(this.modelName, slicedModels);\n      }\n      /**\n        Modifies the Collection by merging the models from another collection.\n         ```js\n        user.posts.mergeCollection(newPosts);\n        user.posts.save();\n        ```\n         @method mergeCollection\n        @param {Collection} collection\n        @return this\n        @public\n       */\n\n    }, {\n      key: \"mergeCollection\",\n      value: function mergeCollection(collection) {\n        this.models = this.models.concat(collection.models);\n        return this;\n      }\n      /**\n         Simple string representation of the collection and id.\n          ```js\n         user.posts.toString(); // collection:post(post:1,post:4)\n         ```\n          @method toString\n         @return {String}\n         @public\n       */\n\n    }, {\n      key: \"toString\",\n      value: function toString() {\n        return \"collection:\".concat(this.modelName, \"(\").concat(this.models.map(function (m) {\n          return m.id;\n        }).join(','), \")\");\n      }\n    }, {\n      key: \"length\",\n      get: function get() {\n        return this.models.length;\n      }\n    }]);\n    return Collection;\n  }();\n\n  _exports.default = Collection;\n});","define(\"ember-cli-mirage/orm/model\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/typeof\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/createClass\", \"ember-cli-mirage/orm/associations/belongs-to\", \"ember-cli-mirage/orm/associations/has-many\", \"ember-cli-mirage/utils/normalize-name\", \"ember-cli-mirage/utils/extend\", \"ember-cli-mirage/assert\", \"ember-cli-mirage/orm/collection\", \"ember-cli-mirage/orm/polymorphic-collection\", \"lodash/values\", \"lodash/compact\", \"lodash/assign\"], function (_exports, _defineProperty2, _typeof2, _classCallCheck2, _createClass2, _belongsTo, _hasMany, _normalizeName, _extend, _assert, _collection, _polymorphicCollection, _values2, _compact2, _assign2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n    Models wrap your database and allow you to define relationships.\n  \n    As a clarifying point, Mirage model instances only exist within Mirage's server, and are not shared directly with your Ember app. The only way to get Mirage models into your Ember app is via an API call. This means you should never create a Mirage model and, for example, pass it directly into an Ember component. They exist solely to help you manage the data and relationships in your fake backend.\n  \n    If you're using Ember Data and version 0.3.3. of Mirage or later, your Mirage model definitions (with relationships) will be detected and auto-generated for you, so you don't need to define the files yourself. If you're not, you can define models by adding files under `/models` or using the provided generator:\n  \n    ```\n    ember g mirage-model blog-post\n    ```\n  \n    This would create the following file:\n  \n    ```js\n    // mirage/models/blog-post.js\n    import { Model } from 'ember-cli-mirage';\n  \n    export default Model;\n    ```\n  \n    **Class vs. instance methods**\n  \n    The methods documented below apply to _instances_ of models, but you'll typically use the `Schema` to access the model _class_, which can be used to find or create instances.\n  \n    You can find the Class methods documented under the `Schema` API docs.\n  \n    **Accessing properties and relationships**\n  \n    You can access properites (fields) and relationships directly off of models.\n  \n    ```js\n    user.name;    // 'Sam'\n    user.team;    // Team model\n    user.teamId;  // Team id (foreign key)\n    ```\n  \n    Mirage Models are schemaless in their attributes, but their relationship schema is known.\n  \n    For example,\n  \n    ```js\n    let user = schema.users.create();\n    user.attrs  // { }\n    user.name   // undefined\n  \n    let user = schema.users.create({ name: 'Sam' });\n    user.attrs  // { name: 'Sam' }\n    user.name   // 'Sam'\n    ```\n  \n    However, if a `user` has a `posts` relationships defined,\n  \n    ```js\n    let user = schema.users.create();\n    user.posts  // returns an empty Posts Collection\n    ```\n  \n    @class Model\n    @constructor\n    @public\n   */\n  var Model =\n  /*#__PURE__*/\n  function () {\n    // TODO: schema and modelName now set statically at registration, need to remove\n\n    /*\n      Notes:\n     - We need to pass in modelName, because models are created with\n      .extend and anonymous functions, so you cannot use\n      reflection to find the name of the constructor.\n    */\n    function Model(schema, modelName, attrs, fks) {\n      (0, _classCallCheck2.default)(this, Model);\n      (0, _assert.default)(schema, 'A model requires a schema');\n      (0, _assert.default)(modelName, 'A model requires a modelName');\n      this._schema = schema;\n      this.modelName = modelName;\n      this.fks = fks || [];\n      /**\n        Returns the attributes of your model.\n         ```js\n        let post = schema.blogPosts.find(1);\n        post.attrs; // {id: 1, title: 'Lorem Ipsum', publishedAt: '2012-01-01 10:00:00'}\n        ```\n         Note that you can also access individual attributes directly off a model, e.g. `post.title`.\n         @property attrs\n        @public\n      */\n\n      this.attrs = undefined;\n      attrs = attrs || {};\n\n      this._setupAttrs(attrs);\n\n      this._setupRelationships(attrs);\n\n      return this;\n    }\n    /**\n      Create or saves the model.\n       ```js\n      let post = blogPosts.new({ title: 'Lorem ipsum' });\n      post.id; // null\n       post.save();\n      post.id; // 1\n       post.title = 'Hipster ipsum'; // db has not been updated\n      post.save();                  // ...now the db is updated\n      ```\n       @method save\n      @return this\n      @public\n     */\n\n\n    (0, _createClass2.default)(Model, [{\n      key: \"save\",\n      value: function save() {\n        var collection = (0, _normalizeName.toInternalCollectionName)(this.modelName);\n\n        if (this.isNew()) {\n          // Update the attrs with the db response\n          this.attrs = this._schema.db[collection].insert(this.attrs); // Ensure the id getter/setter is set\n\n          this._definePlainAttribute('id');\n        } else {\n          this._schema.isSaving[this.toString()] = true;\n\n          this._schema.db[collection].update(this.attrs.id, this.attrs);\n        }\n\n        this._saveAssociations();\n\n        this._schema.isSaving[this.toString()] = false;\n        return this;\n      }\n      /**\n        Updates the record in the db.\n         ```js\n        let post = blogPosts.find(1);\n        post.update('title', 'Hipster ipsum'); // the db was updated\n        post.update({\n          title: 'Lorem ipsum',\n          created_at: 'before it was cool'\n        });\n        ```\n         @method update\n        @param {String} key\n        @param {String} val\n        @return this\n        @public\n       */\n\n    }, {\n      key: \"update\",\n      value: function update(key, val) {\n        var attrs;\n\n        if (key == null) {\n          return this;\n        }\n\n        if ((0, _typeof2.default)(key) === 'object') {\n          attrs = key;\n        } else {\n          (attrs = {})[key] = val;\n        }\n\n        Object.keys(attrs).forEach(function (attr) {\n          if (this.associationKeys.indexOf(attr) === -1 && this.associationIdKeys.indexOf(attr) === -1) {\n            this._definePlainAttribute(attr);\n          }\n\n          this[attr] = attrs[attr];\n        }, this);\n        this.save();\n        return this;\n      }\n      /**\n        Destroys the db record.\n         ```js\n        let post = blogPosts.find(1);\n        post.destroy(); // removed from the db\n        ```\n         @method destroy\n        @public\n       */\n\n    }, {\n      key: \"destroy\",\n      value: function destroy() {\n        if (this.isSaved()) {\n          this._disassociateFromDependents();\n\n          var collection = (0, _normalizeName.toInternalCollectionName)(this.modelName);\n\n          this._schema.db[collection].remove(this.attrs.id);\n        }\n      }\n      /**\n        Boolean, true if the model has not been persisted yet to the db.\n         ```js\n        let post = blogPosts.new({title: 'Lorem ipsum'});\n        post.isNew(); // true\n        post.id;      // null\n         post.save();  // true\n        post.isNew(); // false\n        post.id;      // 1\n        ```\n         @method isNew\n        @return {Boolean}\n        @public\n       */\n\n    }, {\n      key: \"isNew\",\n      value: function isNew() {\n        var hasDbRecord = false;\n        var hasId = this.attrs.id !== undefined && this.attrs.id !== null;\n\n        if (hasId) {\n          var collectionName = (0, _normalizeName.toInternalCollectionName)(this.modelName);\n\n          var record = this._schema.db[collectionName].find(this.attrs.id);\n\n          if (record) {\n            hasDbRecord = true;\n          }\n        }\n\n        return !hasDbRecord;\n      }\n      /**\n        Boolean, opposite of `isNew`\n         @method isSaved\n        @return {Boolean}\n        @public\n       */\n\n    }, {\n      key: \"isSaved\",\n      value: function isSaved() {\n        return !this.isNew();\n      }\n      /**\n        Reload a model's data from the database.\n         ```js\n        let post = blogPosts.find(1);\n        post.attrs;     // {id: 1, title: 'Lorem ipsum'}\n         post.title = 'Hipster ipsum';\n        post.title;     // 'Hipster ipsum';\n         post.reload();  // true\n        post.title;     // 'Lorem ipsum'\n        ```\n         @method reload\n        @return this\n        @public\n       */\n\n    }, {\n      key: \"reload\",\n      value: function reload() {\n        if (this.id) {\n          var collection = (0, _normalizeName.toInternalCollectionName)(this.modelName);\n\n          var attrs = this._schema.db[collection].find(this.id);\n\n          Object.keys(attrs).filter(function (attr) {\n            return attr !== 'id';\n          }).forEach(function (attr) {\n            this.attrs[attr] = attrs[attr];\n          }, this);\n        } // Clear temp associations\n\n\n        this._tempAssociations = {};\n        return this;\n      }\n    }, {\n      key: \"toJSON\",\n      value: function toJSON() {\n        return this.attrs;\n      }\n      /**\n        Returns the association for the given key\n         @method associationFor\n        @param key\n        @public\n        @hide\n       */\n\n    }, {\n      key: \"associationFor\",\n      value: function associationFor(key) {\n        return this._schema.associationsFor(this.modelName)[key];\n      }\n      /**\n        Returns this model's inverse association for the given\n        model-type-association pair, if it exists.\n         Example:\n              post: Model.extend({\n               comments: hasMany()\n             }),\n             comments: Model.extend({\n               post: belongsTo()\n             })\n          post.inversefor(commentsPostAssociation) would return the\n         `post.comments` association object.\n          Originally we had association.inverse() but that became impossible with\n         the addition of polymorphic models. Consider the following:\n              post: Model.extend({\n               comments: hasMany()\n             }),\n             picture: Model.extend({\n               comments: hasMany()\n             }),\n             comments: Model.extend({\n               commentable: belongsTo({ polymorphic: true })\n             })\n          `commentable.inverse()` is ambiguous - does it return\n         `post.comments` or `picture.comments`? Instead we need to ask each model\n         if it has an inverse for a given association. post.inverseFor(commentable)\n         is no longer ambiguous.\n         @method hasInverseFor\n        @param {String} modelName The model name of the class we're scanning\n        @param {ORM/Association} association\n        @return {ORM/Association}\n        @public\n        @hide\n       */\n\n    }, {\n      key: \"inverseFor\",\n      value: function inverseFor(association) {\n        return this._explicitInverseFor(association) || this._implicitInverseFor(association);\n      }\n      /**\n        Finds the inverse for an association that explicity defines it's inverse\n         @private\n        @hide\n      */\n\n    }, {\n      key: \"_explicitInverseFor\",\n      value: function _explicitInverseFor(association) {\n        this._checkForMultipleExplicitInverses(association);\n\n        var associations = this._schema.associationsFor(this.modelName);\n\n        var inverse = association.opts.inverse;\n        var candidate = inverse ? associations[inverse] : null;\n        var matchingPolymorphic = candidate && candidate.isPolymorphic;\n        var matchingInverse = candidate && candidate.modelName === association.ownerModelName;\n        var candidateInverse = candidate && candidate.opts.inverse;\n\n        if (candidateInverse && candidate.opts.inverse !== association.key) {\n          (0, _assert.default)(false, \"You specified an inverse of \".concat(inverse, \" for \").concat(association.key, \", but it does not match \").concat(candidate.modelName, \" \").concat(candidate.key, \"'s inverse\"));\n        }\n\n        return matchingPolymorphic || matchingInverse ? candidate : null;\n      }\n      /**\n        Ensures multiple explicit inverses don't exist on the current model\n        for the given association.\n         TODO: move this to compile-time check\n         @private\n        @hide\n      */\n\n    }, {\n      key: \"_checkForMultipleExplicitInverses\",\n      value: function _checkForMultipleExplicitInverses(association) {\n        var associations = this._schema.associationsFor(this.modelName);\n\n        var matchingExplicitInverses = Object.keys(associations).filter(function (key) {\n          var candidate = associations[key];\n          var modelMatches = association.ownerModelName === candidate.modelName;\n          var inverseKeyMatches = association.key === candidate.opts.inverse;\n          return modelMatches && inverseKeyMatches;\n        });\n        (0, _assert.default)(matchingExplicitInverses.length <= 1, \"The \".concat(this.modelName, \" model has defined multiple explicit inverse associations for the \").concat(association.ownerModelName, \".\").concat(association.key, \" association.\"));\n      }\n      /**\n        Finds if there is an inverse for an association that does not\n        explicitly define one.\n         @private\n        @hide\n      */\n\n    }, {\n      key: \"_implicitInverseFor\",\n      value: function _implicitInverseFor(association) {\n        var _this = this;\n\n        var associations = this._schema.associationsFor(this.modelName);\n\n        var modelName = association.ownerModelName;\n        return (0, _values2.default)(associations).filter(function (candidate) {\n          return candidate.modelName === modelName;\n        }).reduce(function (inverse, candidate) {\n          var candidateInverse = candidate.opts.inverse;\n          var candidateIsImplicitInverse = candidateInverse === undefined;\n          var candidateIsExplicitInverse = candidateInverse === association.key;\n          var candidateMatches = candidateIsImplicitInverse || candidateIsExplicitInverse;\n\n          if (candidateMatches) {\n            // Need to move this check to compile-time init\n            (0, _assert.default)(!inverse, \"The \".concat(_this.modelName, \" model has multiple possible inverse associations for the \").concat(association.ownerModelName, \".\").concat(association.key, \" association.\"));\n            inverse = candidate;\n          }\n\n          return inverse;\n        }, null);\n      }\n      /**\n        Returns whether this model has an inverse association for the given\n        model-type-association pair.\n         @method hasInverseFor\n        @param {String} modelName\n        @param {ORM/Association} association\n        @return {Boolean}\n        @public\n        @hide\n       */\n\n    }, {\n      key: \"hasInverseFor\",\n      value: function hasInverseFor(association) {\n        return !!this.inverseFor(association);\n      }\n      /**\n        Used to check if models match each other. If models are saved, we check model type\n        and id, since they could have other non-persisted properties that are different.\n         @public\n        @hide\n      */\n\n    }, {\n      key: \"alreadyAssociatedWith\",\n      value: function alreadyAssociatedWith(model, association) {\n        var key = association.key;\n        var associatedModelOrCollection = this[key];\n\n        if (associatedModelOrCollection && model) {\n          if (associatedModelOrCollection instanceof Model) {\n            if (associatedModelOrCollection.isSaved() && model.isSaved()) {\n              return associatedModelOrCollection.toString() === model.toString();\n            } else {\n              return associatedModelOrCollection === model;\n            }\n          } else {\n            return associatedModelOrCollection.includes(model);\n          }\n        }\n      }\n    }, {\n      key: \"associate\",\n      value: function associate(model, association) {\n        if (this.alreadyAssociatedWith(model, association)) {\n          return;\n        }\n\n        var key = association.key;\n\n        if (association instanceof _hasMany.default) {\n          if (!this[key].includes(model)) {\n            this[key].add(model);\n          }\n        } else {\n          this[key] = model;\n        }\n      }\n    }, {\n      key: \"disassociate\",\n      value: function disassociate(model, association) {\n        var fk = association.getForeignKey();\n\n        if (association instanceof _hasMany.default) {\n          var i;\n\n          if (association.isPolymorphic) {\n            var found = this[fk].find(function (_ref) {\n              var type = _ref.type,\n                  id = _ref.id;\n              return type === model.modelName && id === model.id;\n            });\n            i = found && this[fk].indexOf(found);\n          } else {\n            i = this[fk].map(function (key) {\n              return key.toString();\n            }).indexOf(model.id.toString());\n          }\n\n          if (i > -1) {\n            this.attrs[fk].splice(i, 1);\n          }\n        } else {\n          this.attrs[fk] = null;\n        }\n      }\n      /**\n        @hide\n      */\n\n    }, {\n      key: \"_setupAttrs\",\n      // Private\n\n      /**\n        model.attrs represents the persistable attributes, i.e. your db\n        table fields.\n        @method _setupAttrs\n        @param attrs\n        @private\n        @hide\n       */\n      value: function _setupAttrs(attrs) {\n        var _this2 = this;\n\n        this._validateAttrs(attrs); // Filter out association keys\n\n\n        var hash = Object.keys(attrs).reduce(function (memo, key) {\n          if (_this2.associationKeys.indexOf(key) === -1 && _this2.associationIdKeys.indexOf(key) === -1) {\n            memo[key] = attrs[key];\n          }\n\n          return memo;\n        }, {}); // Ensure fks are there\n\n        this.fks.map(function (fk) {\n          hash[fk] = attrs[fk] !== undefined ? attrs[fk] : null;\n        });\n        this.attrs = hash; // define plain getter/setters for non-association keys\n\n        Object.keys(hash).forEach(function (attr) {\n          if (this.associationKeys.indexOf(attr) === -1 && this.associationIdKeys.indexOf(attr) === -1) {\n            this._definePlainAttribute(attr);\n          }\n        }, this);\n      }\n      /**\n        Define getter/setter for a plain attribute\n        @method _definePlainAttribute\n        @param attr\n        @private\n        @hide\n       */\n\n    }, {\n      key: \"_definePlainAttribute\",\n      value: function _definePlainAttribute(attr) {\n        // Ensure the property hasn't already been defined\n        var existingProperty = Object.getOwnPropertyDescriptor(this, attr);\n\n        if (existingProperty && existingProperty.get) {\n          return;\n        } // Ensure the attribute is on the attrs hash\n\n\n        if (!this.attrs.hasOwnProperty(attr)) {\n          this.attrs[attr] = null;\n        } // Define the getter/setter\n\n\n        Object.defineProperty(this, attr, {\n          get: function get() {\n            return this.attrs[attr];\n          },\n          set: function set(val) {\n            this.attrs[attr] = val;\n            return this;\n          }\n        });\n      }\n      /**\n        Foreign keys get set on attrs directly (to avoid potential recursion), but\n        model references use the setter.\n       *\n        We validate foreign keys during instantiation.\n       *\n        @method _setupRelationships\n        @param attrs\n        @private\n        @hide\n       */\n\n    }, {\n      key: \"_setupRelationships\",\n      value: function _setupRelationships(attrs) {\n        var _this3 = this;\n\n        var foreignKeysHash = Object.keys(attrs).reduce(function (memo, attr) {\n          if (_this3.associationIdKeys.indexOf(attr) > -1 || _this3.fks.indexOf(attr) > -1) {\n            memo[attr] = attrs[attr];\n          }\n\n          return memo;\n        }, {});\n        Object.keys(foreignKeysHash).forEach(function (attr) {\n          var fk = foreignKeysHash[attr];\n\n          if (fk !== undefined && fk !== null) {\n            this._validateForeignKeyExistsInDatabase(attr, fk);\n          }\n\n          this.attrs[attr] = fk;\n        }, this);\n        var associationKeysHash = Object.keys(attrs).reduce(function (memo, attr) {\n          if (_this3.associationKeys.indexOf(attr) > -1) {\n            memo[attr] = attrs[attr];\n          }\n\n          return memo;\n        }, {});\n        Object.keys(associationKeysHash).forEach(function (attr) {\n          this[attr] = associationKeysHash[attr];\n        }, this);\n      }\n      /**\n        @method _validateAttrs\n        @private\n        @hide\n       */\n\n    }, {\n      key: \"_validateAttrs\",\n      value: function _validateAttrs(attrs) {\n        var _this4 = this;\n\n        // Verify attrs passed in for associations are actually associations\n        Object.keys(attrs).filter(function (key) {\n          return _this4.associationKeys.includes(key);\n        }).forEach(function (key) {\n          var value = attrs[key];\n\n          var association = _this4.associationFor(key);\n\n          var isNull = value === null;\n\n          if (association instanceof _hasMany.default) {\n            var isCollection = value instanceof _collection.default || value instanceof _polymorphicCollection.default;\n            var isArrayOfModels = Array.isArray(value) && value.every(function (item) {\n              return item instanceof Model;\n            });\n            (0, _assert.default)(isCollection || isArrayOfModels || isNull, \"You're trying to create a \".concat(_this4.modelName, \" model and you passed in \\\"\").concat(value, \"\\\" under the \").concat(key, \" key, but that key is a HasMany relationship. You must pass in a Collection, PolymorphicCollection, array of Models, or null.\"));\n          } else if (association instanceof _belongsTo.default) {\n            (0, _assert.default)(value instanceof Model || isNull, \"You're trying to create a \".concat(_this4.modelName, \" model and you passed in \\\"\").concat(value, \"\\\" under the \").concat(key, \" key, but that key is a BelongsTo relationship. You must pass in a Model or null.\"));\n          }\n        }); // Verify attrs passed in for association foreign keys are actually fks\n\n        Object.keys(attrs).filter(function (key) {\n          return _this4.associationIdKeys.includes(key);\n        }).forEach(function (key) {\n          var value = attrs[key];\n\n          if (key.match(/Ids$/)) {\n            var isArray = Array.isArray(value);\n            var isNull = value === null;\n            (0, _assert.default)(isArray || isNull, \"You're trying to create a \".concat(_this4.modelName, \" model and you passed in \\\"\").concat(value, \"\\\" under the \").concat(key, \" key, but that key is a foreign key for a HasMany relationship. You must pass in an array of ids or null.\"));\n          }\n        }); // Verify no undefined associations are passed in\n\n        Object.keys(attrs).filter(function (key) {\n          var value = attrs[key];\n          var isModelOrCollection = value instanceof Model || value instanceof _collection.default || value instanceof _polymorphicCollection.default;\n          var isArrayOfModels = Array.isArray(value) && value.length && value.every(function (item) {\n            return item instanceof Model;\n          });\n          return isModelOrCollection || isArrayOfModels;\n        }).forEach(function (key) {\n          var modelOrCollection = attrs[key];\n          (0, _assert.default)(_this4.associationKeys.indexOf(key) > -1, \"You're trying to create a \".concat(_this4.modelName, \" model and you passed in a \").concat(modelOrCollection.toString(), \" under the \").concat(key, \" key, but you haven't defined that key as an association on your model.\"));\n        });\n      }\n      /**\n        Originally we validated this via association.setId method, but it triggered\n        recursion. That method is designed for updating an existing model's ID so\n        this method is needed during instantiation.\n       *\n        @method _validateForeignKeyExistsInDatabase\n        @private\n        @hide\n       */\n\n    }, {\n      key: \"_validateForeignKeyExistsInDatabase\",\n      value: function _validateForeignKeyExistsInDatabase(foreignKeyName, foreignKeys) {\n        var _this5 = this;\n\n        if (Array.isArray(foreignKeys)) {\n          var association = Object.keys(this.hasManyAssociations).map(function (key) {\n            return _this5.hasManyAssociations[key];\n          }).filter(function (association) {\n            return association.getForeignKey() === foreignKeyName;\n          })[0];\n          var found;\n\n          if (association.isPolymorphic) {\n            found = foreignKeys.map(function (_ref2) {\n              var type = _ref2.type,\n                  id = _ref2.id;\n              return _this5._schema.db[(0, _normalizeName.toInternalCollectionName)(type)].find(id);\n            });\n            found = (0, _compact2.default)(found);\n          } else {\n            found = this._schema.db[(0, _normalizeName.toInternalCollectionName)(association.modelName)].find(foreignKeys);\n          }\n\n          var foreignKeyLabel = association.isPolymorphic ? foreignKeys.map(function (fk) {\n            return \"\".concat(fk.type, \":\").concat(fk.id);\n          }).join(',') : foreignKeys;\n          (0, _assert.default)(found.length === foreignKeys.length, \"You're instantiating a \".concat(this.modelName, \" that has a \").concat(foreignKeyName, \" of \").concat(foreignKeyLabel, \", but some of those records don't exist in the database.\"));\n        } else {\n          var _association = Object.keys(this.belongsToAssociations).map(function (key) {\n            return _this5.belongsToAssociations[key];\n          }).filter(function (association) {\n            return association.getForeignKey() === foreignKeyName;\n          })[0];\n\n          var _found;\n\n          if (_association.isPolymorphic) {\n            _found = this._schema.db[(0, _normalizeName.toInternalCollectionName)(foreignKeys.type)].find(foreignKeys.id);\n          } else {\n            _found = this._schema.db[(0, _normalizeName.toInternalCollectionName)(_association.modelName)].find(foreignKeys);\n          }\n\n          var _foreignKeyLabel = _association.isPolymorphic ? \"\".concat(foreignKeys.type, \":\").concat(foreignKeys.id) : foreignKeys;\n\n          (0, _assert.default)(_found, \"You're instantiating a \".concat(this.modelName, \" that has a \").concat(foreignKeyName, \" of \").concat(_foreignKeyLabel, \", but that record doesn't exist in the database.\"));\n        }\n      }\n      /**\n        Update associated children when saving a collection\n       *\n        @method _saveAssociations\n        @private\n        @hide\n       */\n\n    }, {\n      key: \"_saveAssociations\",\n      value: function _saveAssociations() {\n        this._saveBelongsToAssociations();\n\n        this._saveHasManyAssociations();\n      }\n    }, {\n      key: \"_saveBelongsToAssociations\",\n      value: function _saveBelongsToAssociations() {\n        var _this6 = this;\n\n        (0, _values2.default)(this.belongsToAssociations).forEach(function (association) {\n          _this6._disassociateFromOldInverses(association);\n\n          _this6._saveNewAssociates(association);\n\n          _this6._associateWithNewInverses(association);\n        });\n      }\n    }, {\n      key: \"_saveHasManyAssociations\",\n      value: function _saveHasManyAssociations() {\n        var _this7 = this;\n\n        (0, _values2.default)(this.hasManyAssociations).forEach(function (association) {\n          _this7._disassociateFromOldInverses(association);\n\n          _this7._saveNewAssociates(association);\n\n          _this7._associateWithNewInverses(association);\n        });\n      }\n    }, {\n      key: \"_disassociateFromOldInverses\",\n      value: function _disassociateFromOldInverses(association) {\n        if (association instanceof _hasMany.default) {\n          this._disassociateFromHasManyInverses(association);\n        } else if (association instanceof _belongsTo.default) {\n          this._disassociateFromBelongsToInverse(association);\n        }\n      } // Disassociate currently persisted models that are no longer associated\n\n    }, {\n      key: \"_disassociateFromHasManyInverses\",\n      value: function _disassociateFromHasManyInverses(association) {\n        var _this8 = this;\n\n        var key = association.key;\n        var fk = association.getForeignKey();\n        var tempAssociation = this._tempAssociations && this._tempAssociations[key];\n        var associateIds = this.attrs[fk];\n\n        if (tempAssociation && associateIds) {\n          var models;\n\n          if (association.isPolymorphic) {\n            models = associateIds.map(function (_ref3) {\n              var type = _ref3.type,\n                  id = _ref3.id;\n              return _this8._schema[(0, _normalizeName.toCollectionName)(type)].find(id);\n            });\n          } else {\n            // TODO: prob should initialize hasMany fks with []\n            models = this._schema[(0, _normalizeName.toCollectionName)(association.modelName)].find(associateIds || []).models;\n          }\n\n          models.filter(function (associate) {\n            return !associate.isSaving;\n          }) // filter out models that are already being saved\n          .filter(function (associate) {\n            return !tempAssociation.includes(associate);\n          }) // filter out models that will still be associated\n          .forEach(function (associate) {\n            if (associate.hasInverseFor(association)) {\n              var inverse = associate.inverseFor(association);\n              associate.disassociate(_this8, inverse);\n              associate.save();\n            }\n          });\n        }\n      }\n      /*\n        Disassociate currently persisted models that are no longer associated.\n         Example:\n           post: Model.extend({\n            comments: hasMany()\n          }),\n           comment: Model.extend({\n            post: belongsTo()\n          })\n         Assume `this` is comment:1. When saving, if comment:1 is no longer\n        associated with post:1, we need to remove comment:1 from post:1.comments.\n        In this example `association` would be `comment.post`.\n      */\n\n    }, {\n      key: \"_disassociateFromBelongsToInverse\",\n      value: function _disassociateFromBelongsToInverse(association) {\n        var key = association.key;\n        var fk = association.getForeignKey();\n        var tempAssociation = this._tempAssociations && this._tempAssociations[key];\n        var associateId = this.attrs[fk];\n\n        if (tempAssociation !== undefined && associateId) {\n          var associate;\n\n          if (association.isPolymorphic) {\n            associate = this._schema[(0, _normalizeName.toCollectionName)(associateId.type)].find(associateId.id);\n          } else {\n            associate = this._schema[(0, _normalizeName.toCollectionName)(association.modelName)].find(associateId);\n          }\n\n          if (associate.hasInverseFor(association)) {\n            var inverse = associate.inverseFor(association);\n            associate.disassociate(this, inverse);\n\n            associate._updateInDb(associate.attrs);\n          }\n        }\n      } // Find all other models that depend on me and update their foreign keys\n\n    }, {\n      key: \"_disassociateFromDependents\",\n      value: function _disassociateFromDependents() {\n        var _this9 = this;\n\n        this._schema.dependentAssociationsFor(this.modelName).forEach(function (association) {\n          association.disassociateAllDependentsFromTarget(_this9);\n        });\n      }\n    }, {\n      key: \"_saveNewAssociates\",\n      value: function _saveNewAssociates(association) {\n        var key = association.key;\n        var fk = association.getForeignKey();\n        var tempAssociate = this._tempAssociations && this._tempAssociations[key];\n\n        if (tempAssociate !== undefined) {\n          this.__isSavingNewChildren = true;\n          delete this._tempAssociations[key];\n\n          if (tempAssociate instanceof _collection.default) {\n            tempAssociate.models.filter(function (model) {\n              return !model.isSaving;\n            }).forEach(function (child) {\n              child.save();\n            });\n\n            this._updateInDb((0, _defineProperty2.default)({}, fk, tempAssociate.models.map(function (child) {\n              return child.id;\n            })));\n          } else if (tempAssociate instanceof _polymorphicCollection.default) {\n            tempAssociate.models.filter(function (model) {\n              return !model.isSaving;\n            }).forEach(function (child) {\n              child.save();\n            });\n\n            this._updateInDb((0, _defineProperty2.default)({}, fk, tempAssociate.models.map(function (child) {\n              return {\n                type: child.modelName,\n                id: child.id\n              };\n            })));\n          } else {\n            // Clearing the association\n            if (tempAssociate === null) {\n              this._updateInDb((0, _defineProperty2.default)({}, fk, null)); // Self-referential\n\n            } else if (this.equals(tempAssociate)) {\n              this._updateInDb((0, _defineProperty2.default)({}, fk, this.id)); // Non-self-referential\n\n            } else if (!tempAssociate.isSaving) {\n              // Save the tempAssociate and update the local reference\n              tempAssociate.save();\n\n              this._syncTempAssociations(tempAssociate);\n\n              var fkValue;\n\n              if (association.isPolymorphic) {\n                fkValue = {\n                  id: tempAssociate.id,\n                  type: tempAssociate.modelName\n                };\n              } else {\n                fkValue = tempAssociate.id;\n              }\n\n              this._updateInDb((0, _defineProperty2.default)({}, fk, fkValue));\n            }\n          }\n\n          this.__isSavingNewChildren = false;\n        }\n      }\n      /*\n        Step 3 in saving associations.\n         Example:\n           // initial state\n          post.author = steinbeck;\n           // new state\n          post.author = twain;\n            1. Disassociate from old inverse (remove post from steinbeck.posts)\n           2. Save new associates (if twain.isNew, save twain)\n        -> 3. Associate with new inverse (add post to twain.posts)\n      */\n\n    }, {\n      key: \"_associateWithNewInverses\",\n      value: function _associateWithNewInverses(association) {\n        var _this10 = this;\n\n        if (!this.__isSavingNewChildren) {\n          var modelOrCollection = this[association.key];\n\n          if (modelOrCollection instanceof Model) {\n            this._associateModelWithInverse(modelOrCollection, association);\n          } else if (modelOrCollection instanceof _collection.default || modelOrCollection instanceof _polymorphicCollection.default) {\n            modelOrCollection.models.forEach(function (model) {\n              _this10._associateModelWithInverse(model, association);\n            });\n          }\n\n          delete this._tempAssociations[association.key];\n        }\n      }\n    }, {\n      key: \"_associateModelWithInverse\",\n      value: function _associateModelWithInverse(model, association) {\n        var _this11 = this;\n\n        if (model.hasInverseFor(association)) {\n          var inverse = model.inverseFor(association);\n          var inverseFk = inverse.getForeignKey();\n          var ownerId = this.id;\n\n          if (inverse instanceof _belongsTo.default) {\n            var newId;\n\n            if (inverse.isPolymorphic) {\n              newId = {\n                type: this.modelName,\n                id: ownerId\n              };\n            } else {\n              newId = ownerId;\n            }\n\n            this._schema.db[(0, _normalizeName.toInternalCollectionName)(model.modelName)].update(model.id, (0, _defineProperty2.default)({}, inverseFk, newId));\n          } else {\n            var inverseCollection = this._schema.db[(0, _normalizeName.toInternalCollectionName)(model.modelName)];\n\n            var currentIdsForInverse = inverseCollection.find(model.id)[inverse.getForeignKey()] || [];\n            var newIdsForInverse = (0, _assign2.default)([], currentIdsForInverse);\n\n            var _newId, alreadyAssociatedWith;\n\n            if (inverse.isPolymorphic) {\n              _newId = {\n                type: this.modelName,\n                id: ownerId\n              };\n              alreadyAssociatedWith = newIdsForInverse.some(function (key) {\n                return key.type == _this11.modelName && key.id == ownerId;\n              });\n            } else {\n              _newId = ownerId;\n              alreadyAssociatedWith = newIdsForInverse.indexOf(ownerId) !== -1;\n            }\n\n            if (!alreadyAssociatedWith) {\n              newIdsForInverse.push(_newId);\n            }\n\n            inverseCollection.update(model.id, (0, _defineProperty2.default)({}, inverseFk, newIdsForInverse));\n          }\n        }\n      } // Used to update data directly, since #save and #update can retrigger saves,\n      // which can cause cycles with associations.\n\n    }, {\n      key: \"_updateInDb\",\n      value: function _updateInDb(attrs) {\n        this.attrs = this._schema.db[(0, _normalizeName.toInternalCollectionName)(this.modelName)].update(this.attrs.id, attrs);\n      }\n      /*\n      Super gnarly: after we save this tempAssociate, we we need to through\n      all other tempAssociates for a reference to this same model, and\n      update it. Otherwise those other references are stale, which could\n      cause a bug when they are subsequently saved.\n       This only works for belongsTo right now, should add hasMany logic to it.\n       See issue #1613: https://github.com/samselikoff/ember-cli-mirage/pull/1613\n      */\n\n    }, {\n      key: \"_syncTempAssociations\",\n      value: function _syncTempAssociations(tempAssociate) {\n        var _this12 = this;\n\n        Object.keys(this._tempAssociations).forEach(function (key) {\n          if (_this12._tempAssociations[key] && _this12._tempAssociations[key].toString() === tempAssociate.toString()) {\n            _this12._tempAssociations[key] = tempAssociate;\n          }\n        });\n      }\n      /**\n        Simple string representation of the model and id.\n         ```js\n        let post = blogPosts.find(1);\n        post.toString(); // \"model:blogPost:1\"\n        ```\n         @method toString\n        @return {String}\n        @public\n      */\n\n    }, {\n      key: \"toString\",\n      value: function toString() {\n        var idLabel = this.id ? \"(\".concat(this.id, \")\") : '';\n        return \"model:\".concat(this.modelName).concat(idLabel);\n      }\n      /**\n        Checks the equality of this model and the passed-in model\n       *\n        @method equals\n        @return boolean\n        @public\n        @hide\n       */\n\n    }, {\n      key: \"equals\",\n      value: function equals(model) {\n        return this.toString() === model.toString();\n      }\n    }, {\n      key: \"isSaving\",\n      get: function get() {\n        return this._schema.isSaving[this.toString()];\n      }\n    }]);\n    return Model;\n  }();\n\n  Model.extend = _extend.default;\n\n  Model.findBelongsToAssociation = function (associationType) {\n    return this.prototype.belongsToAssociations[associationType];\n  };\n\n  var _default = Model;\n  _exports.default = _default;\n});","define(\"ember-cli-mirage/orm/polymorphic-collection\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/createClass\", \"lodash/invokeMap\", \"lodash/isEqual\"], function (_exports, _slicedToArray2, _classCallCheck2, _createClass2, _invokeMap2, _isEqual2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * An array of models, returned from one of the schema query\n   * methods (all, find, where). Knows how to update and destroy its models.\n   *\n   * Identical to Collection except it can contain a heterogeneous array of\n   * models. Thus, it has no `modelName` property. This lets serializers and\n   * other parts of the system interact with it differently.\n   *\n   * @class PolymorphicCollection\n   * @constructor\n   * @public\n   * @hide\n   */\n  var PolymorphicCollection =\n  /*#__PURE__*/\n  function () {\n    function PolymorphicCollection() {\n      var models = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n      (0, _classCallCheck2.default)(this, PolymorphicCollection);\n      this.models = models;\n    }\n    /**\n     * Number of models in the collection.\n     *\n     * @property length\n     * @type Number\n     * @public\n     */\n\n\n    (0, _createClass2.default)(PolymorphicCollection, [{\n      key: \"update\",\n\n      /**\n       * Updates each model in the collection (persisting immediately to the db).\n       * @method update\n       * @param key\n       * @param val\n       * @return this\n       * @public\n       */\n      value: function update() {\n        for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n          args[_key] = arguments[_key];\n        }\n\n        _invokeMap2.default.apply(void 0, [this.models, 'update'].concat(args));\n\n        return this;\n      }\n      /**\n       * Destroys the db record for all models in the collection.\n       * @method destroy\n       * @return this\n       * @public\n       */\n\n    }, {\n      key: \"destroy\",\n      value: function destroy() {\n        (0, _invokeMap2.default)(this.models, 'destroy');\n        return this;\n      }\n      /**\n       * Saves all models in the collection.\n       * @method save\n       * @return this\n       * @public\n       */\n\n    }, {\n      key: \"save\",\n      value: function save() {\n        (0, _invokeMap2.default)(this.models, 'save');\n        return this;\n      }\n      /**\n       * Reloads each model in the collection.\n       * @method reload\n       * @return this\n       * @public\n       */\n\n    }, {\n      key: \"reload\",\n      value: function reload() {\n        (0, _invokeMap2.default)(this.models, 'reload');\n        return this;\n      }\n      /**\n       * Adds a model to this collection\n       *\n       * @method add\n       * @return this\n       * @public\n       */\n\n    }, {\n      key: \"add\",\n      value: function add(model) {\n        this.models.push(model);\n        return this;\n      }\n      /**\n       * Removes a model to this collection\n       *\n       * @method remove\n       * @return this\n       * @public\n       */\n\n    }, {\n      key: \"remove\",\n      value: function remove(model) {\n        var _this$models$filter = this.models.filter(function (m) {\n          return (0, _isEqual2.default)(m.attrs, model.attrs);\n        }),\n            _this$models$filter2 = (0, _slicedToArray2.default)(_this$models$filter, 1),\n            match = _this$models$filter2[0];\n\n        if (match) {\n          var i = this.models.indexOf(match);\n          this.models.splice(i, 1);\n        }\n\n        return this;\n      }\n      /**\n       * Checks if the collection includes the model\n       *\n       * @method includes\n       * @return boolean\n       * @public\n       */\n\n    }, {\n      key: \"includes\",\n      value: function includes(model) {\n        return this.models.filter(function (m) {\n          return (0, _isEqual2.default)(m.attrs, model.attrs);\n        }).length > 0;\n      }\n      /**\n       * @method filter\n       * @param f\n       * @return {Collection}\n       * @public\n       */\n\n    }, {\n      key: \"filter\",\n      value: function filter(f) {\n        var filteredModels = this.models.filter(f);\n        return new PolymorphicCollection(filteredModels);\n      }\n      /**\n       * @method sort\n       * @param f\n       * @return {Collection}\n       * @public\n       */\n\n    }, {\n      key: \"sort\",\n      value: function sort(f) {\n        var sortedModels = this.models.concat().sort(f);\n        return new PolymorphicCollection(sortedModels);\n      }\n      /**\n       * @method slice\n       * @param {Integer} begin\n       * @param {Integer} end\n       * @return {Collection}\n       * @public\n       */\n\n    }, {\n      key: \"slice\",\n      value: function slice() {\n        var _this$models;\n\n        var slicedModels = (_this$models = this.models).slice.apply(_this$models, arguments);\n\n        return new PolymorphicCollection(slicedModels);\n      }\n      /**\n       * @method mergeCollection\n       * @param collection\n       * @return this\n       * @public\n       */\n\n    }, {\n      key: \"mergeCollection\",\n      value: function mergeCollection(collection) {\n        this.models = this.models.concat(collection.models);\n        return this;\n      }\n      /**\n       * Simple string representation of the collection and id.\n       * @method toString\n       * @return {String}\n       * @public\n       */\n\n    }, {\n      key: \"toString\",\n      value: function toString() {\n        return \"collection:\".concat(this.modelName, \"(\").concat(this.models.map(function (m) {\n          return m.id;\n        }).join(','), \")\");\n      }\n    }, {\n      key: \"length\",\n      get: function get() {\n        return this.models.length;\n      }\n    }]);\n    return PolymorphicCollection;\n  }();\n\n  _exports.default = PolymorphicCollection;\n});","define(\"ember-cli-mirage/orm/schema\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/createClass\", \"ember-cli-mirage/utils/inflector\", \"ember-cli-mirage/utils/normalize-name\", \"ember-cli-mirage/orm/associations/association\", \"ember-cli-mirage/orm/collection\", \"lodash/assign\", \"lodash/forIn\", \"lodash/includes\", \"ember-cli-mirage/assert\"], function (_exports, _slicedToArray2, _classCallCheck2, _createClass2, _inflector, _normalizeName, _association, _collection, _assign2, _forIn2, _includes2, _assert) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n    The primary use of the `Schema` class is to use it to find Models and Collections via the `Model` class methods.\n  \n    The `Schema` is most often accessed via the first parameter to a route handler:\n  \n    ```js\n    this.get('posts', schema => {\n      return schema.posts.where({ isAdmin: false });\n    });\n    ```\n  \n    It is also available from the `.schema` property of a `server` instance:\n  \n    ```js\n    server.schema.users.create({ name: 'Yehuda' });\n    ```\n  \n    To work with the Model or Collection returned from one of the methods below, refer to the instance methods in the API docs for the `Model` and `Collection` classes.\n  \n    @class Schema\n    @constructor\n    @public\n   */\n  var Schema =\n  /*#__PURE__*/\n  function () {\n    function Schema(db) {\n      var modelsMap = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      (0, _classCallCheck2.default)(this, Schema);\n      (0, _assert.default)(db, 'A schema requires a db');\n      /**\n        Returns Mirage's database. See the `Db` docs for the db's API.\n         @property db\n        @type {Object}\n        @public\n      */\n\n      this.db = db;\n      this._registry = {};\n      this._dependentAssociations = {\n        polymorphic: []\n      };\n      this.registerModels(modelsMap);\n      this.isSaving = {}; // a hash of models that are being saved, used to avoid cycles\n    }\n    /**\n      @method registerModels\n      @param hash\n      @public\n      @hide\n     */\n\n\n    (0, _createClass2.default)(Schema, [{\n      key: \"registerModels\",\n      value: function registerModels() {\n        var _this = this;\n\n        var hash = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n        (0, _forIn2.default)(hash, function (model, key) {\n          _this.registerModel(key, hash[key]);\n        });\n      }\n      /**\n        @method registerModel\n        @param type\n        @param ModelClass\n        @public\n        @hide\n       */\n\n    }, {\n      key: \"registerModel\",\n      value: function registerModel(type, ModelClass) {\n        var _this2 = this;\n\n        var camelizedModelName = (0, _inflector.camelize)(type);\n        var modelName = (0, _inflector.dasherize)(camelizedModelName); // Avoid mutating original class, because we may want to reuse it across many tests\n\n        ModelClass = ModelClass.extend(); // Store model & fks in registry\n        // TODO: don't think this is needed anymore\n\n        this._registry[camelizedModelName] = this._registry[camelizedModelName] || {\n          class: null,\n          foreignKeys: []\n        }; // we may have created this key before, if another model added fks to it\n\n        this._registry[camelizedModelName].class = ModelClass; // TODO: set here, remove from model#constructor\n\n        ModelClass.prototype._schema = this;\n        ModelClass.prototype.modelName = modelName; // Set up associations\n\n        ModelClass.prototype.hasManyAssociations = {}; // a registry of the model's hasMany associations. Key is key from model definition, value is association instance itself\n\n        ModelClass.prototype.belongsToAssociations = {}; // a registry of the model's belongsTo associations. Key is key from model definition, value is association instance itself\n\n        ModelClass.prototype.associationKeys = []; // ex: address.user, user.addresses\n\n        ModelClass.prototype.associationIdKeys = []; // ex: address.user_id, user.address_ids\n\n        ModelClass.prototype.dependentAssociations = []; // a registry of associations that depend on this model, needed for deletion cleanup.\n\n        var fksAddedFromThisModel = {};\n\n        for (var associationProperty in ModelClass.prototype) {\n          if (ModelClass.prototype[associationProperty] instanceof _association.default) {\n            var association = ModelClass.prototype[associationProperty];\n            association.key = associationProperty;\n            association.modelName = association.modelName || (0, _normalizeName.toModelName)(associationProperty);\n            association.ownerModelName = modelName;\n            association.setSchema(this); // Update the registry with this association's foreign keys. This is\n            // essentially our \"db migration\", since we must know about the fks.\n\n            var _association$getForei = association.getForeignKeyArray(),\n                _association$getForei2 = (0, _slicedToArray2.default)(_association$getForei, 2),\n                fkHolder = _association$getForei2[0],\n                fk = _association$getForei2[1];\n\n            fksAddedFromThisModel[fkHolder] = fksAddedFromThisModel[fkHolder] || [];\n            (0, _assert.default)(!(0, _includes2.default)(fksAddedFromThisModel[fkHolder], fk), \"Your '\".concat(type, \"' model definition has multiple possible inverse relationships of type '\").concat(fkHolder, \"'.\\n\\n          Please read the associations guide and specify explicit inverses: http://www.ember-cli-mirage.com/docs/v0.3.x/models/#associations\"));\n            fksAddedFromThisModel[fkHolder].push(fk);\n\n            this._addForeignKeyToRegistry(fkHolder, fk); // Augment the Model's class with any methods added by this association\n\n\n            association.addMethodsToModelClass(ModelClass, associationProperty);\n          }\n        } // Create a db collection for this model, if doesn't exist\n\n\n        var collection = (0, _normalizeName.toCollectionName)(modelName);\n\n        if (!this.db[collection]) {\n          this.db.createCollection(collection);\n        } // Create the entity methods\n\n\n        this[collection] = {\n          camelizedModelName: camelizedModelName,\n          new: function _new(attrs) {\n            return _this2.new(camelizedModelName, attrs);\n          },\n          create: function create(attrs) {\n            return _this2.create(camelizedModelName, attrs);\n          },\n          all: function all(attrs) {\n            return _this2.all(camelizedModelName, attrs);\n          },\n          find: function find(attrs) {\n            return _this2.find(camelizedModelName, attrs);\n          },\n          findBy: function findBy(attrs) {\n            return _this2.findBy(camelizedModelName, attrs);\n          },\n          findOrCreateBy: function findOrCreateBy(attrs) {\n            return _this2.findOrCreateBy(camelizedModelName, attrs);\n          },\n          where: function where(attrs) {\n            return _this2.where(camelizedModelName, attrs);\n          },\n          none: function none(attrs) {\n            return _this2.none(camelizedModelName, attrs);\n          },\n          first: function first(attrs) {\n            return _this2.first(camelizedModelName, attrs);\n          }\n        };\n        return this;\n      }\n      /**\n        @method modelFor\n        @param type\n        @public\n        @hide\n       */\n\n    }, {\n      key: \"modelFor\",\n      value: function modelFor(type) {\n        return this._registry[type];\n      }\n      /**\n        Create a new unsaved model instance with attributes *attrs*.\n         ```js\n        let post = blogPosts.new({ title: 'Lorem ipsum' });\n        post.title;   // Lorem ipsum\n        post.id;      // null\n        post.isNew(); // true\n        ```\n         @method new\n        @param type\n        @param attrs\n        @public\n       */\n\n    }, {\n      key: \"new\",\n      value: function _new(type, attrs) {\n        return this._instantiateModel((0, _inflector.dasherize)(type), attrs);\n      }\n      /**\n        Create a new model instance with attributes *attrs*, and insert it into the database.\n         ```js\n        let post = blogPosts.create({title: 'Lorem ipsum'});\n        post.title;   // Lorem ipsum\n        post.id;      // 1\n        post.isNew(); // false\n        ```\n         @method create\n        @param type\n        @param attrs\n        @public\n       */\n\n    }, {\n      key: \"create\",\n      value: function create(type, attrs) {\n        return this.new(type, attrs).save();\n      }\n      /**\n        Return all models in the database.\n         ```js\n        let posts = blogPosts.all();\n        // [post:1, post:2, ...]\n        ```\n         @method all\n        @param type\n        @public\n       */\n\n    }, {\n      key: \"all\",\n      value: function all(type) {\n        var collection = this._collectionForType(type);\n\n        return this._hydrate(collection, (0, _inflector.dasherize)(type));\n      }\n      /**\n        Return an empty collection of type `type`.\n         @method none\n        @param type\n        @public\n       */\n\n    }, {\n      key: \"none\",\n      value: function none(type) {\n        return this._hydrate([], (0, _inflector.dasherize)(type));\n      }\n      /**\n        Return one or many models in the database by id.\n         ```js\n        let post = blogPosts.find(1);\n        let posts = blogPosts.find([1, 3, 4]);\n        ```\n         @method find\n        @param type\n        @param ids\n        @public\n       */\n\n    }, {\n      key: \"find\",\n      value: function find(type, ids) {\n        var collection = this._collectionForType(type);\n\n        var records = collection.find(ids);\n\n        if (Array.isArray(ids)) {\n          (0, _assert.default)(records.length === ids.length, \"Couldn't find all \".concat((0, _inflector.pluralize)(type), \" with ids: (\").concat(ids.join(','), \") (found \").concat(records.length, \" results, but was looking for \").concat(ids.length, \")\"));\n        }\n\n        return this._hydrate(records, (0, _inflector.dasherize)(type));\n      }\n      /**\n        Returns the first model in the database that matches the key-value pairs in `attrs`. Note that a string comparison is used.\n         ```js\n        let post = blogPosts.findBy({ published: true });\n        ```\n         N.B. This will return `null` if the schema doesn't have any matching record.\n         @method findBy\n        @param type\n        @param attributeName\n        @public\n       */\n\n    }, {\n      key: \"findBy\",\n      value: function findBy(type, query) {\n        var collection = this._collectionForType(type);\n\n        var record = collection.findBy(query);\n        return this._hydrate(record, (0, _inflector.dasherize)(type));\n      }\n      /**\n        Returns the first model in the database that matches the key-value pairs in `attrs`, or creates a record with the attributes if one is not found.\n         ```js\n        // Find the first published blog post, or create a new one.\n        let post = blogPosts.findOrCreateBy({ published: true });\n        ```\n         @method findOrCreateBy\n        @param type\n        @param attributeName\n        @public\n       */\n\n    }, {\n      key: \"findOrCreateBy\",\n      value: function findOrCreateBy(type, attrs) {\n        var collection = this._collectionForType(type);\n\n        var record = collection.findBy(attrs);\n        var model;\n\n        if (!record) {\n          model = this.create(type, attrs);\n        } else {\n          model = this._hydrate(record, (0, _inflector.dasherize)(type));\n        }\n\n        return model;\n      }\n      /**\n        Return an array of models in the database matching the key-value pairs in *query*. Note that a string comparison is used.\n         ```js\n        let posts = blogPosts.where({ published: true });\n        ```\n         @method where\n        @param type\n        @param query\n        @public\n       */\n\n    }, {\n      key: \"where\",\n      value: function where(type, query) {\n        var collection = this._collectionForType(type);\n\n        var records = collection.where(query);\n        return this._hydrate(records, (0, _inflector.dasherize)(type));\n      }\n      /**\n        Returns the first model in the database.\n         ```js\n        let post = blogPosts.first();\n        ```\n         N.B. This will return `null` if the schema doesn't contain any records.\n         @method first\n        @param type\n        @public\n       */\n\n    }, {\n      key: \"first\",\n      value: function first(type) {\n        var collection = this._collectionForType(type);\n\n        var record = collection[0];\n        return this._hydrate(record, (0, _inflector.dasherize)(type));\n      }\n      /**\n        @method modelClassFor\n        @param modelName\n        @public\n        @hide\n       */\n\n    }, {\n      key: \"modelClassFor\",\n      value: function modelClassFor(modelName) {\n        var model = this._registry[(0, _inflector.camelize)(modelName)];\n\n        (0, _assert.default)(model, \"Model not registered: \".concat(modelName));\n        return model.class.prototype;\n      }\n      /*\n        This method updates the dependentAssociations registry, which is used to\n        keep track of which models depend on a given association. It's used when\n        deleting models - their dependents need to be looked up and foreign keys\n        updated.\n         For example,\n             schema = {\n              post: Model.extend(),\n              comment: Model.extend({\n                post: belongsTo()\n              })\n            };\n             comment1.post = post1;\n            ...\n            post1.destroy()\n         Deleting this post should clear out comment1's foreign key.\n         Polymorphic associations can have _any_ other model as a dependent, so we\n        handle them separately.\n      */\n\n    }, {\n      key: \"addDependentAssociation\",\n      value: function addDependentAssociation(association, modelName) {\n        if (association.isPolymorphic) {\n          this._dependentAssociations.polymorphic.push(association);\n        } else {\n          this._dependentAssociations[modelName] = this._dependentAssociations[modelName] || [];\n\n          this._dependentAssociations[modelName].push(association);\n        }\n      }\n    }, {\n      key: \"dependentAssociationsFor\",\n      value: function dependentAssociationsFor(modelName) {\n        var directDependents = this._dependentAssociations[modelName] || [];\n        var polymorphicAssociations = this._dependentAssociations.polymorphic || [];\n        return directDependents.concat(polymorphicAssociations);\n      }\n    }, {\n      key: \"associationsFor\",\n      value: function associationsFor(modelName) {\n        var modelClass = this.modelClassFor(modelName);\n        return (0, _assign2.default)({}, modelClass.belongsToAssociations, modelClass.hasManyAssociations);\n      }\n    }, {\n      key: \"hasModelForModelName\",\n      value: function hasModelForModelName(modelName) {\n        return this.modelFor((0, _inflector.camelize)(modelName));\n      }\n      /*\n        Private methods\n      */\n\n      /**\n        @method _collectionForType\n        @param type\n        @private\n        @hide\n       */\n\n    }, {\n      key: \"_collectionForType\",\n      value: function _collectionForType(type) {\n        var collection = (0, _normalizeName.toCollectionName)(type);\n        (0, _assert.default)(this.db[collection], \"You're trying to find model(s) of type \".concat(type, \" but this collection doesn't exist in the database.\"));\n        return this.db[collection];\n      }\n      /**\n        @method _addForeignKeyToRegistry\n        @param type\n        @param fk\n        @private\n        @hide\n       */\n\n    }, {\n      key: \"_addForeignKeyToRegistry\",\n      value: function _addForeignKeyToRegistry(type, fk) {\n        this._registry[type] = this._registry[type] || {\n          class: null,\n          foreignKeys: []\n        };\n        var fks = this._registry[type].foreignKeys;\n\n        if (!(0, _includes2.default)(fks, fk)) {\n          fks.push(fk);\n        }\n      }\n      /**\n        @method _instantiateModel\n        @param modelName\n        @param attrs\n        @private\n        @hide\n       */\n\n    }, {\n      key: \"_instantiateModel\",\n      value: function _instantiateModel(modelName, attrs) {\n        var ModelClass = this._modelFor(modelName);\n\n        var fks = this._foreignKeysFor(modelName);\n\n        return new ModelClass(this, modelName, attrs, fks);\n      }\n      /**\n        @method _modelFor\n        @param modelName\n        @private\n        @hide\n       */\n\n    }, {\n      key: \"_modelFor\",\n      value: function _modelFor(modelName) {\n        return this._registry[(0, _inflector.camelize)(modelName)].class;\n      }\n      /**\n        @method _foreignKeysFor\n        @param modelName\n        @private\n        @hide\n       */\n\n    }, {\n      key: \"_foreignKeysFor\",\n      value: function _foreignKeysFor(modelName) {\n        return this._registry[(0, _inflector.camelize)(modelName)].foreignKeys;\n      }\n      /**\n        Takes a record and returns a model, or an array of records\n        and returns a collection.\n       *\n        @method _hydrate\n        @param records\n        @param modelName\n        @private\n        @hide\n       */\n\n    }, {\n      key: \"_hydrate\",\n      value: function _hydrate(records, modelName) {\n        if (Array.isArray(records)) {\n          var models = records.map(function (record) {\n            return this._instantiateModel(modelName, record);\n          }, this);\n          return new _collection.default(modelName, models);\n        } else if (records) {\n          return this._instantiateModel(modelName, records);\n        } else {\n          return null;\n        }\n      }\n    }]);\n    return Schema;\n  }();\n\n  _exports.default = Schema;\n});","define(\"ember-cli-mirage/response\", [\"exports\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/createClass\"], function (_exports, _classCallCheck2, _createClass2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n    You can use this class when you want more control over your route handlers response.\n  \n    Pass the `code`, `headers` and `data` into the constructor and return an instance from any route handler.\n  \n    ```js\n    import { Response } from 'ember-cli-mirage';\n  \n    this.get('/users', () => {\n      return new Response(400, { some: 'header' }, { errors: [ 'name cannot be blank'] });\n    });\n    ```\n  */\n  var Response =\n  /*#__PURE__*/\n  function () {\n    function Response(code) {\n      var headers = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      var data = arguments.length > 2 ? arguments[2] : undefined;\n      (0, _classCallCheck2.default)(this, Response);\n      this.code = code;\n      this.headers = headers; // Default data for \"undefined 204\" responses to empty string (no content)\n\n      if (code === 204) {\n        if (data !== undefined && data !== '') {\n          (true && Ember.warn(\"Mirage: One of your route handlers is returning a custom\\n          204 Response that has data, but this is a violation of the HTTP spec\\n          and could lead to unexpected behavior. 204 responses should have no\\n          content (an empty string) as their body. [warning id:\\n          ember-cli-mirage.warn-response-204-non-empty-payload]\", false, {\n            id: 'ember-cli-mirage.warn-response-204-non-empty-payload'\n          }));\n        } else {\n          this.data = '';\n        } // Default data for \"empty untyped\" responses to empty JSON object\n\n      } else if ((data === undefined || data === '') && !this.headers.hasOwnProperty('Content-Type')) {\n        this.data = {};\n      } else {\n        this.data = data;\n      } // Default \"untyped\" responses to application/json\n\n\n      if (code !== 204 && !this.headers.hasOwnProperty('Content-Type')) {\n        this.headers['Content-Type'] = 'application/json';\n      }\n    }\n\n    (0, _createClass2.default)(Response, [{\n      key: \"toRackResponse\",\n      value: function toRackResponse() {\n        return [this.code, this.headers, this.data];\n      }\n    }]);\n    return Response;\n  }();\n\n  _exports.default = Response;\n});","define(\"ember-cli-mirage/route-handler\", [\"exports\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/createClass\", \"@babel/runtime/helpers/esm/construct\", \"@babel/runtime/helpers/esm/typeof\", \"ember-cli-mirage/assert\", \"ember-cli-mirage/response\", \"ember-cli-mirage/route-handlers/function\", \"ember-cli-mirage/route-handlers/object\", \"ember-cli-mirage/route-handlers/shorthands/get\", \"ember-cli-mirage/route-handlers/shorthands/post\", \"ember-cli-mirage/route-handlers/shorthands/put\", \"ember-cli-mirage/route-handlers/shorthands/delete\", \"ember-cli-mirage/route-handlers/shorthands/head\"], function (_exports, _classCallCheck2, _createClass2, _construct2, _typeof2, _assert, _response, _function, _object, _get, _post, _put, _delete, _head) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var DEFAULT_CODES = {\n    get: 200,\n    put: 204,\n    post: 201,\n    'delete': 204\n  };\n\n  function createHandler(_ref) {\n    var verb = _ref.verb,\n        schema = _ref.schema,\n        serializerOrRegistry = _ref.serializerOrRegistry,\n        path = _ref.path,\n        rawHandler = _ref.rawHandler,\n        options = _ref.options;\n    var handler;\n    var args = [schema, serializerOrRegistry, rawHandler, path, options];\n    var type = (0, _typeof2.default)(rawHandler);\n\n    if (type === 'function') {\n      handler = (0, _construct2.default)(_function.default, args);\n    } else if (type === 'object' && rawHandler) {\n      handler = (0, _construct2.default)(_object.default, args);\n    } else if (verb === 'get') {\n      handler = (0, _construct2.default)(_get.default, args);\n    } else if (verb === 'post') {\n      handler = (0, _construct2.default)(_post.default, args);\n    } else if (verb === 'put' || verb === 'patch') {\n      handler = (0, _construct2.default)(_put.default, args);\n    } else if (verb === 'delete') {\n      handler = (0, _construct2.default)(_delete.default, args);\n    } else if (verb === 'head') {\n      handler = (0, _construct2.default)(_head.default, args);\n    }\n\n    return handler;\n  }\n  /**\n   * @hide\n   */\n\n\n  var RouteHandler =\n  /*#__PURE__*/\n  function () {\n    function RouteHandler(_ref2) {\n      var schema = _ref2.schema,\n          verb = _ref2.verb,\n          rawHandler = _ref2.rawHandler,\n          customizedCode = _ref2.customizedCode,\n          options = _ref2.options,\n          path = _ref2.path,\n          serializerOrRegistry = _ref2.serializerOrRegistry;\n      (0, _classCallCheck2.default)(this, RouteHandler);\n      this.verb = verb;\n      this.customizedCode = customizedCode;\n      this.serializerOrRegistry = serializerOrRegistry;\n      this.handler = createHandler({\n        verb: verb,\n        schema: schema,\n        path: path,\n        serializerOrRegistry: serializerOrRegistry,\n        rawHandler: rawHandler,\n        options: options\n      });\n    }\n\n    (0, _createClass2.default)(RouteHandler, [{\n      key: \"handle\",\n      value: function handle(request) {\n        var _this = this;\n\n        return this._getMirageResponseForRequest(request).then(function (mirageResponse) {\n          return _this.serialize(mirageResponse, request);\n        }).then(function (serializedMirageResponse) {\n          return serializedMirageResponse.toRackResponse();\n        });\n      }\n    }, {\n      key: \"_getMirageResponseForRequest\",\n      value: function _getMirageResponseForRequest(request) {\n        var result;\n\n        try {\n          /*\n           We need to do this for the #serialize convenience method. Probably is\n           a better way.\n          */\n          if (this.handler instanceof _function.default) {\n            this.handler.setRequest(request);\n          }\n\n          result = this.handler.handle(request);\n        } catch (e) {\n          if (e instanceof _assert.MirageError) {\n            result = new _response.default(500, {}, e);\n          } else {\n            var message = e.message || e;\n            result = new _response.default(500, {}, {\n              message: message,\n              stack: \"Mirage: Your \".concat(request.method, \" handler for the url \").concat(request.url, \" threw an error:\\n\\n\").concat(e.stack || e)\n            });\n          }\n        }\n\n        return this._toMirageResponse(result);\n      }\n    }, {\n      key: \"_toMirageResponse\",\n      value: function _toMirageResponse(result) {\n        var _this2 = this;\n\n        var mirageResponse;\n        return new Ember.RSVP.Promise(function (resolve, reject) {\n          Ember.RSVP.Promise.resolve(result).then(function (response) {\n            if (response instanceof _response.default) {\n              mirageResponse = result;\n            } else {\n              var code = _this2._getCodeForResponse(response);\n\n              mirageResponse = new _response.default(code, {}, response);\n            }\n\n            resolve(mirageResponse);\n          }).catch(reject);\n        });\n      }\n    }, {\n      key: \"_getCodeForResponse\",\n      value: function _getCodeForResponse(response) {\n        var code;\n\n        if (this.customizedCode) {\n          code = this.customizedCode;\n        } else {\n          code = DEFAULT_CODES[this.verb]; // Returning any data for a 204 is invalid\n\n          if (code === 204 && response !== undefined && response !== '') {\n            code = 200;\n          }\n        }\n\n        return code;\n      }\n    }, {\n      key: \"serialize\",\n      value: function serialize(mirageResponse, request) {\n        mirageResponse.data = this.serializerOrRegistry.serialize(mirageResponse.data, request);\n        return mirageResponse;\n      }\n    }]);\n    return RouteHandler;\n  }();\n\n  _exports.default = RouteHandler;\n});","define(\"ember-cli-mirage/route-handlers/base\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/createClass\", \"ember-cli-mirage/assert\", \"ember-cli-mirage/utils/inflector\", \"ember-cli-mirage/orm/associations/has-many\"], function (_exports, _slicedToArray2, _classCallCheck2, _createClass2, _assert, _inflector, _hasMany) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var PATH_VAR_REGEXP = /^:/;\n  /**\n    @hide\n  */\n\n  var BaseRouteHandler =\n  /*#__PURE__*/\n  function () {\n    function BaseRouteHandler() {\n      (0, _classCallCheck2.default)(this, BaseRouteHandler);\n    }\n\n    (0, _createClass2.default)(BaseRouteHandler, [{\n      key: \"getModelClassFromPath\",\n      value: function getModelClassFromPath(fullPath) {\n        if (!fullPath) {\n          return;\n        }\n\n        var path = fullPath.split('/');\n        var lastPath;\n\n        while (path.length > 0) {\n          lastPath = path.splice(-1)[0];\n\n          if (lastPath && !PATH_VAR_REGEXP.test(lastPath)) {\n            break;\n          }\n        }\n\n        var modelName = (0, _inflector.dasherize)((0, _inflector.camelize)((0, _inflector.singularize)(lastPath)));\n        return modelName;\n      }\n    }, {\n      key: \"_getIdForRequest\",\n      value: function _getIdForRequest(request, jsonApiDoc) {\n        var id;\n\n        if (request && request.params && request.params.id) {\n          id = request.params.id;\n        } else if (jsonApiDoc && jsonApiDoc.data && jsonApiDoc.data.id) {\n          id = jsonApiDoc.data.id;\n        }\n\n        return id;\n      }\n    }, {\n      key: \"_getJsonApiDocForRequest\",\n      value: function _getJsonApiDocForRequest(request, modelName) {\n        var body;\n\n        if (request && request.requestBody) {\n          body = JSON.parse(request.requestBody);\n        }\n\n        return this.serializerOrRegistry.normalize(body, modelName);\n      }\n    }, {\n      key: \"_getAttrsForRequest\",\n      value: function _getAttrsForRequest(request, modelName) {\n        var _this = this;\n\n        var json = this._getJsonApiDocForRequest(request, modelName);\n\n        var id = this._getIdForRequest(request, json);\n\n        var attrs = {};\n        (0, _assert.default)(json.data && (json.data.attributes || json.data.type || json.data.relationships), \"You're using a shorthand or #normalizedRequestAttrs, but your serializer's normalize function did not return a valid JSON:API document. http://www.ember-cli-mirage.com/docs/v0.3.x/serializers/#normalizejson\");\n\n        if (json.data.attributes) {\n          attrs = Object.keys(json.data.attributes).reduce(function (sum, key) {\n            sum[(0, _inflector.camelize)(key)] = json.data.attributes[key];\n            return sum;\n          }, {});\n        }\n\n        if (json.data.relationships) {\n          Object.keys(json.data.relationships).forEach(function (relationshipName) {\n            var relationship = json.data.relationships[relationshipName];\n\n            var modelClass = _this.schema.modelClassFor(modelName);\n\n            var association = modelClass.associationFor((0, _inflector.camelize)(relationshipName));\n            var valueForRelationship;\n            (0, _assert.default)(association, \"You're passing the relationship '\".concat(relationshipName, \"' to the '\").concat(modelName, \"' model via a \").concat(request.method, \" to '\").concat(request.url, \"', but you did not define the '\").concat(relationshipName, \"' association on the '\").concat(modelName, \"' model. http://www.ember-cli-mirage.com/docs/v0.4.x/models/#associations\"));\n\n            if (association.isPolymorphic) {\n              valueForRelationship = relationship.data;\n            } else if (association instanceof _hasMany.default) {\n              valueForRelationship = relationship.data && relationship.data.map(function (rel) {\n                return rel.id;\n              });\n            } else {\n              valueForRelationship = relationship.data && relationship.data.id;\n            }\n\n            attrs[association.identifier] = valueForRelationship;\n          }, {});\n        }\n\n        if (id) {\n          attrs.id = id;\n        }\n\n        return attrs;\n      }\n    }, {\n      key: \"_getAttrsForFormRequest\",\n      value: function _getAttrsForFormRequest(_ref) {\n        var requestBody = _ref.requestBody;\n        var attrs;\n        var urlEncodedParts = [];\n        (0, _assert.default)(requestBody && typeof requestBody === 'string', \"You're using the helper method #normalizedFormData, but the request body is empty or not a valid url encoded string.\");\n        urlEncodedParts = requestBody.split('&');\n        attrs = urlEncodedParts.reduce(function (a, urlEncodedPart) {\n          var _urlEncodedPart$split = urlEncodedPart.split('='),\n              _urlEncodedPart$split2 = (0, _slicedToArray2.default)(_urlEncodedPart$split, 2),\n              key = _urlEncodedPart$split2[0],\n              value = _urlEncodedPart$split2[1];\n\n          a[key] = decodeURIComponent(value.replace(/\\+/g, ' '));\n          return a;\n        }, {});\n        return attrs;\n      }\n    }]);\n    return BaseRouteHandler;\n  }();\n\n  _exports.default = BaseRouteHandler;\n});","define(\"ember-cli-mirage/route-handlers/function\", [\"exports\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/createClass\", \"@babel/runtime/helpers/esm/possibleConstructorReturn\", \"@babel/runtime/helpers/esm/getPrototypeOf\", \"@babel/runtime/helpers/esm/inherits\", \"ember-cli-mirage/route-handlers/base\", \"ember-cli-mirage/assert\", \"ember-cli-mirage/utils/inflector\"], function (_exports, _classCallCheck2, _createClass2, _possibleConstructorReturn2, _getPrototypeOf2, _inherits2, _base, _assert, _inflector) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * @hide\n   */\n  var FunctionRouteHandler =\n  /*#__PURE__*/\n  function (_BaseRouteHandler) {\n    (0, _inherits2.default)(FunctionRouteHandler, _BaseRouteHandler);\n\n    function FunctionRouteHandler(schema, serializerOrRegistry, userFunction, path) {\n      var _this;\n\n      (0, _classCallCheck2.default)(this, FunctionRouteHandler);\n      _this = (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(FunctionRouteHandler).call(this));\n      _this.schema = schema;\n      _this.serializerOrRegistry = serializerOrRegistry;\n      _this.userFunction = userFunction;\n      _this.path = path;\n      return _this;\n    }\n\n    (0, _createClass2.default)(FunctionRouteHandler, [{\n      key: \"handle\",\n      value: function handle(request) {\n        return this.userFunction(this.schema, request);\n      }\n    }, {\n      key: \"setRequest\",\n      value: function setRequest(request) {\n        this.request = request;\n      }\n    }, {\n      key: \"serialize\",\n      value: function serialize(response, serializerType) {\n        var serializer;\n\n        if (serializerType) {\n          serializer = this.serializerOrRegistry.serializerFor(serializerType, {\n            explicit: true\n          });\n        } else {\n          serializer = this.serializerOrRegistry;\n        }\n\n        return serializer.serialize(response, this.request);\n      }\n    }, {\n      key: \"normalizedRequestAttrs\",\n      value: function normalizedRequestAttrs() {\n        var modelName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n        var path = this.path,\n            request = this.request,\n            requestHeaders = this.request.requestHeaders;\n        var attrs;\n        var lowerCaseHeaders = {};\n\n        for (var header in requestHeaders) {\n          lowerCaseHeaders[header.toLowerCase()] = requestHeaders[header];\n        }\n\n        if (/x-www-form-urlencoded/.test(lowerCaseHeaders['content-type'])) {\n          attrs = this._getAttrsForFormRequest(request);\n        } else {\n          if (modelName) {\n            (0, _assert.default)((0, _inflector.dasherize)(modelName) === modelName, \"You called normalizedRequestAttrs('\".concat(modelName, \"'), but normalizedRequestAttrs was intended to be used with the dasherized version of the model type. Please change this to normalizedRequestAttrs('\").concat((0, _inflector.dasherize)(modelName), \"').\"));\n          } else {\n            modelName = this.getModelClassFromPath(path);\n          }\n\n          (0, _assert.default)(this.schema.hasModelForModelName(modelName), \"You're using a shorthand or the #normalizedRequestAttrs helper but the detected model of '\".concat(modelName, \"' does not exist. You might need to pass in the correct modelName as the first argument to #normalizedRequestAttrs.\"));\n          attrs = this._getAttrsForRequest(request, modelName);\n        }\n\n        return attrs;\n      }\n    }]);\n    return FunctionRouteHandler;\n  }(_base.default);\n\n  _exports.default = FunctionRouteHandler;\n});","define(\"ember-cli-mirage/route-handlers/object\", [\"exports\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/createClass\"], function (_exports, _classCallCheck2, _createClass2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * @hide\n   */\n  var ObjectRouteHandler =\n  /*#__PURE__*/\n  function () {\n    function ObjectRouteHandler(schema, serializerOrRegistry, object) {\n      (0, _classCallCheck2.default)(this, ObjectRouteHandler);\n      this.schema = schema;\n      this.serializerOrRegistry = serializerOrRegistry;\n      this.object = object;\n    }\n\n    (0, _createClass2.default)(ObjectRouteHandler, [{\n      key: \"handle\",\n      value: function handle()\n      /* request */\n      {\n        return this.object;\n      }\n    }]);\n    return ObjectRouteHandler;\n  }();\n\n  _exports.default = ObjectRouteHandler;\n});","define(\"ember-cli-mirage/route-handlers/shorthands/base\", [\"exports\", \"@babel/runtime/helpers/esm/typeof\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/possibleConstructorReturn\", \"@babel/runtime/helpers/esm/getPrototypeOf\", \"@babel/runtime/helpers/esm/inherits\", \"ember-cli-mirage/utils/normalize-name\", \"ember-cli-mirage/route-handlers/base\"], function (_exports, _typeof2, _classCallCheck2, _possibleConstructorReturn2, _getPrototypeOf2, _inherits2, _normalizeName, _base) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n    @hide\n  */\n  var BaseShorthandRouteHandler =\n  /*#__PURE__*/\n  function (_BaseRouteHandler) {\n    (0, _inherits2.default)(BaseShorthandRouteHandler, _BaseRouteHandler);\n\n    function BaseShorthandRouteHandler(schema, serializerOrRegistry, shorthand, path) {\n      var _this;\n\n      var options = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {};\n      (0, _classCallCheck2.default)(this, BaseShorthandRouteHandler);\n      _this = (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(BaseShorthandRouteHandler).call(this));\n      shorthand = shorthand || _this.getModelClassFromPath(path);\n      _this.schema = schema;\n      _this.serializerOrRegistry = serializerOrRegistry;\n      _this.shorthand = shorthand;\n      _this.options = options;\n      var type = Array.isArray(shorthand) ? 'array' : (0, _typeof2.default)(shorthand);\n\n      if (type === 'string') {\n        var modelClass = _this.schema[(0, _normalizeName.toCollectionName)(shorthand)];\n\n        _this.handle = function (request) {\n          return _this.handleStringShorthand(request, modelClass);\n        };\n      } else if (type === 'array') {\n        var modelClasses = shorthand.map(function (modelName) {\n          return _this.schema[(0, _normalizeName.toCollectionName)(modelName)];\n        });\n\n        _this.handle = function (request) {\n          return _this.handleArrayShorthand(request, modelClasses);\n        };\n      }\n\n      return _this;\n    } // handleStringShorthand() {\n    //\n    // }\n    //\n    // handleArrayShorthand() {\n    //\n    // }\n\n\n    return BaseShorthandRouteHandler;\n  }(_base.default);\n\n  _exports.default = BaseShorthandRouteHandler;\n});","define(\"ember-cli-mirage/route-handlers/shorthands/delete\", [\"exports\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/createClass\", \"@babel/runtime/helpers/esm/possibleConstructorReturn\", \"@babel/runtime/helpers/esm/getPrototypeOf\", \"@babel/runtime/helpers/esm/inherits\", \"ember-cli-mirage/assert\", \"ember-cli-mirage/route-handlers/shorthands/base\", \"ember-cli-mirage/utils/inflector\"], function (_exports, _classCallCheck2, _createClass2, _possibleConstructorReturn2, _getPrototypeOf2, _inherits2, _assert, _base, _inflector) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * @hide\n   */\n  var DeleteShorthandRouteHandler =\n  /*#__PURE__*/\n  function (_BaseShorthandRouteHa) {\n    (0, _inherits2.default)(DeleteShorthandRouteHandler, _BaseShorthandRouteHa);\n\n    function DeleteShorthandRouteHandler() {\n      (0, _classCallCheck2.default)(this, DeleteShorthandRouteHandler);\n      return (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(DeleteShorthandRouteHandler).apply(this, arguments));\n    }\n\n    (0, _createClass2.default)(DeleteShorthandRouteHandler, [{\n      key: \"handleStringShorthand\",\n\n      /*\n        Remove the model from the db of type *camelizedModelName*.\n         This would remove the user with id :id:\n          Ex: this.del('/contacts/:id', 'user');\n      */\n      value: function handleStringShorthand(request, modelClass) {\n        var modelName = this.shorthand;\n        var camelizedModelName = (0, _inflector.camelize)(modelName);\n        (0, _assert.default)(modelClass, \"The route handler for \".concat(request.url, \" is trying to access the \").concat(camelizedModelName, \" model, but that model doesn't exist. Create it using 'ember g mirage-model \").concat(modelName, \"'.\"));\n\n        var id = this._getIdForRequest(request);\n\n        modelClass.find(id).destroy();\n      }\n      /*\n        Remove the model and child related models from the db.\n         This would remove the contact with id `:id`, as well\n        as this contact's addresses and phone numbers.\n          Ex: this.del('/contacts/:id', ['contact', 'addresses', 'numbers');\n      */\n\n    }, {\n      key: \"handleArrayShorthand\",\n      value: function handleArrayShorthand(request, modelClasses) {\n        var id = this._getIdForRequest(request);\n\n        var parent = modelClasses[0].find(id);\n        var childTypes = modelClasses.slice(1).map(function (modelClass) {\n          return (0, _inflector.pluralize)(modelClass.camelizedModelName);\n        }); // Delete related children\n\n        childTypes.forEach(function (type) {\n          return parent[type].destroy();\n        });\n        parent.destroy();\n      }\n    }]);\n    return DeleteShorthandRouteHandler;\n  }(_base.default);\n\n  _exports.default = DeleteShorthandRouteHandler;\n});","define(\"ember-cli-mirage/route-handlers/shorthands/get\", [\"exports\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/createClass\", \"@babel/runtime/helpers/esm/possibleConstructorReturn\", \"@babel/runtime/helpers/esm/getPrototypeOf\", \"@babel/runtime/helpers/esm/inherits\", \"ember-cli-mirage/assert\", \"ember-cli-mirage/route-handlers/shorthands/base\", \"ember-cli-mirage\", \"ember-cli-mirage/utils/inflector\"], function (_exports, _classCallCheck2, _createClass2, _possibleConstructorReturn2, _getPrototypeOf2, _inherits2, _assert, _base, _emberCliMirage, _inflector) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * @hide\n   */\n  var GetShorthandRouteHandler =\n  /*#__PURE__*/\n  function (_BaseShorthandRouteHa) {\n    (0, _inherits2.default)(GetShorthandRouteHandler, _BaseShorthandRouteHa);\n\n    function GetShorthandRouteHandler() {\n      (0, _classCallCheck2.default)(this, GetShorthandRouteHandler);\n      return (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(GetShorthandRouteHandler).apply(this, arguments));\n    }\n\n    (0, _createClass2.default)(GetShorthandRouteHandler, [{\n      key: \"handleStringShorthand\",\n\n      /*\n        Retrieve a model/collection from the db.\n         Examples:\n          this.get('/contacts', 'contact');\n          this.get('/contacts/:id', 'contact');\n      */\n      value: function handleStringShorthand(request, modelClass) {\n        var modelName = this.shorthand;\n        var camelizedModelName = (0, _inflector.camelize)(modelName);\n        (0, _assert.default)(modelClass, \"The route handler for \".concat(request.url, \" is trying to access the \").concat(camelizedModelName, \" model, but that model doesn't exist. Create it using 'ember g mirage-model \").concat(modelName, \"'.\"));\n\n        var id = this._getIdForRequest(request);\n\n        if (id) {\n          var model = modelClass.find(id);\n\n          if (!model) {\n            return new _emberCliMirage.Response(404);\n          } else {\n            return model;\n          }\n        } else if (this.options.coalesce) {\n          var ids = this.serializerOrRegistry.getCoalescedIds(request, camelizedModelName);\n\n          if (ids) {\n            return modelClass.find(ids);\n          }\n        }\n\n        return modelClass.all();\n      }\n      /*\n        Retrieve an array of collections from the db.\n         Ex: this.get('/home', ['contacts', 'pictures']);\n      */\n\n    }, {\n      key: \"handleArrayShorthand\",\n      value: function handleArrayShorthand(request, modelClasses) {\n        var keys = this.shorthand;\n\n        var id = this._getIdForRequest(request);\n        /*\n        If the first key is singular and we have an id param in\n        the request, we're dealing with the version of the shorthand\n        that has a parent model and several has-many relationships.\n        We throw an error, because the serializer is the appropriate\n        place for this now.\n        */\n\n\n        (0, _assert.default)(!id || (0, _inflector.singularize)(keys[0]) !== keys[0], \"It looks like you're using the \\\"Single record with\\n      related records\\\" version of the array shorthand, in addition to opting\\n      in to the model layer. This shorthand was made when there was no\\n      serializer layer. Now that you're using models, please ensure your\\n      relationships are defined, and create a serializer for the parent\\n      model, adding the relationships there.\");\n        return modelClasses.map(function (modelClass) {\n          return modelClass.all();\n        });\n      }\n    }]);\n    return GetShorthandRouteHandler;\n  }(_base.default);\n\n  _exports.default = GetShorthandRouteHandler;\n});","define(\"ember-cli-mirage/route-handlers/shorthands/head\", [\"exports\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/createClass\", \"@babel/runtime/helpers/esm/possibleConstructorReturn\", \"@babel/runtime/helpers/esm/getPrototypeOf\", \"@babel/runtime/helpers/esm/inherits\", \"ember-cli-mirage/assert\", \"ember-cli-mirage/route-handlers/shorthands/base\", \"ember-cli-mirage\", \"ember-cli-mirage/utils/inflector\"], function (_exports, _classCallCheck2, _createClass2, _possibleConstructorReturn2, _getPrototypeOf2, _inherits2, _assert, _base, _emberCliMirage, _inflector) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * @hide\n   */\n  var HeadShorthandRouteHandler =\n  /*#__PURE__*/\n  function (_BaseShorthandRouteHa) {\n    (0, _inherits2.default)(HeadShorthandRouteHandler, _BaseShorthandRouteHa);\n\n    function HeadShorthandRouteHandler() {\n      (0, _classCallCheck2.default)(this, HeadShorthandRouteHandler);\n      return (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(HeadShorthandRouteHandler).apply(this, arguments));\n    }\n\n    (0, _createClass2.default)(HeadShorthandRouteHandler, [{\n      key: \"handleStringShorthand\",\n\n      /*\n        Retrieve a model/collection from the db.\n         Examples:\n          this.head('/contacts', 'contact');\n          this.head('/contacts/:id', 'contact');\n      */\n      value: function handleStringShorthand(request, modelClass) {\n        var modelName = this.shorthand;\n        var camelizedModelName = (0, _inflector.camelize)(modelName);\n        (0, _assert.default)(modelClass, \"The route handler for \".concat(request.url, \" is trying to access the \").concat(camelizedModelName, \" model, but that model doesn't exist. Create it using 'ember g mirage-model \").concat(modelName, \"'.\"));\n\n        var id = this._getIdForRequest(request);\n\n        if (id) {\n          var model = modelClass.find(id);\n\n          if (!model) {\n            return new _emberCliMirage.Response(404);\n          } else {\n            return new _emberCliMirage.Response(204);\n          }\n        } else if (this.options.coalesce && request.queryParams && request.queryParams.ids) {\n          var _model = modelClass.find(request.queryParams.ids);\n\n          if (!_model) {\n            return new _emberCliMirage.Response(404);\n          } else {\n            return new _emberCliMirage.Response(204);\n          }\n        } else {\n          return new _emberCliMirage.Response(204);\n        }\n      }\n    }]);\n    return HeadShorthandRouteHandler;\n  }(_base.default);\n\n  _exports.default = HeadShorthandRouteHandler;\n});","define(\"ember-cli-mirage/route-handlers/shorthands/post\", [\"exports\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/createClass\", \"@babel/runtime/helpers/esm/possibleConstructorReturn\", \"@babel/runtime/helpers/esm/getPrototypeOf\", \"@babel/runtime/helpers/esm/inherits\", \"ember-cli-mirage/assert\", \"ember-cli-mirage/route-handlers/shorthands/base\", \"ember-cli-mirage/utils/inflector\"], function (_exports, _classCallCheck2, _createClass2, _possibleConstructorReturn2, _getPrototypeOf2, _inherits2, _assert, _base, _inflector) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * @hide\n   */\n  var PostShorthandRouteHandler =\n  /*#__PURE__*/\n  function (_BaseShorthandRouteHa) {\n    (0, _inherits2.default)(PostShorthandRouteHandler, _BaseShorthandRouteHa);\n\n    function PostShorthandRouteHandler() {\n      (0, _classCallCheck2.default)(this, PostShorthandRouteHandler);\n      return (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(PostShorthandRouteHandler).apply(this, arguments));\n    }\n\n    (0, _createClass2.default)(PostShorthandRouteHandler, [{\n      key: \"handleStringShorthand\",\n\n      /*\n        Push a new model of type *camelizedModelName* to the db.\n         For example, this will push a 'user':\n          this.post('/contacts', 'user');\n      */\n      value: function handleStringShorthand(request, modelClass) {\n        var modelName = this.shorthand;\n        var camelizedModelName = (0, _inflector.camelize)(modelName);\n        (0, _assert.default)(modelClass, \"The route handler for \".concat(request.url, \" is trying to access the \").concat(camelizedModelName, \" model, but that model doesn't exist. Create it using 'ember g mirage-model \").concat(modelName, \"'.\"));\n\n        var attrs = this._getAttrsForRequest(request, modelClass.camelizedModelName);\n\n        return modelClass.create(attrs);\n      }\n    }]);\n    return PostShorthandRouteHandler;\n  }(_base.default);\n\n  _exports.default = PostShorthandRouteHandler;\n});","define(\"ember-cli-mirage/route-handlers/shorthands/put\", [\"exports\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/createClass\", \"@babel/runtime/helpers/esm/possibleConstructorReturn\", \"@babel/runtime/helpers/esm/getPrototypeOf\", \"@babel/runtime/helpers/esm/inherits\", \"ember-cli-mirage/assert\", \"ember-cli-mirage/route-handlers/shorthands/base\", \"ember-cli-mirage/utils/inflector\"], function (_exports, _classCallCheck2, _createClass2, _possibleConstructorReturn2, _getPrototypeOf2, _inherits2, _assert, _base, _inflector) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * @hide\n   */\n  var PutShorthandRouteHandler =\n  /*#__PURE__*/\n  function (_BaseShorthandRouteHa) {\n    (0, _inherits2.default)(PutShorthandRouteHandler, _BaseShorthandRouteHa);\n\n    function PutShorthandRouteHandler() {\n      (0, _classCallCheck2.default)(this, PutShorthandRouteHandler);\n      return (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(PutShorthandRouteHandler).apply(this, arguments));\n    }\n\n    (0, _createClass2.default)(PutShorthandRouteHandler, [{\n      key: \"handleStringShorthand\",\n\n      /*\n        Update an object from the db, specifying the type.\n           this.put('/contacts/:id', 'user');\n      */\n      value: function handleStringShorthand(request, modelClass) {\n        var modelName = this.shorthand;\n        var camelizedModelName = (0, _inflector.camelize)(modelName);\n        (0, _assert.default)(modelClass, \"The route handler for \".concat(request.url, \" is trying to access the \").concat(camelizedModelName, \" model, but that model doesn't exist. Create it using 'ember g mirage-model \").concat(modelName, \"'.\"));\n\n        var id = this._getIdForRequest(request);\n\n        var attrs = this._getAttrsForRequest(request, modelClass.camelizedModelName);\n\n        return modelClass.find(id).update(attrs);\n      }\n    }]);\n    return PutShorthandRouteHandler;\n  }(_base.default);\n\n  _exports.default = PutShorthandRouteHandler;\n});","define(\"ember-cli-mirage/serializer-registry\", [\"exports\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/createClass\", \"ember-cli-mirage/orm/model\", \"ember-cli-mirage/orm/collection\", \"ember-cli-mirage/orm/polymorphic-collection\", \"ember-cli-mirage/serializer\", \"ember-cli-mirage/serializers/json-api-serializer\", \"ember-cli-mirage/utils/inflector\", \"ember-cli-mirage/assert\", \"lodash/assign\"], function (_exports, _classCallCheck2, _createClass2, _model, _collection, _polymorphicCollection, _serializer, _jsonApiSerializer, _inflector, _assert, _assign2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * @hide\n   */\n  var SerializerRegistry =\n  /*#__PURE__*/\n  function () {\n    function SerializerRegistry(schema) {\n      var serializerMap = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      (0, _classCallCheck2.default)(this, SerializerRegistry);\n      this.schema = schema;\n      this._serializerMap = serializerMap;\n    }\n\n    (0, _createClass2.default)(SerializerRegistry, [{\n      key: \"normalize\",\n      value: function normalize(payload, modelName) {\n        return this.serializerFor(modelName).normalize(payload);\n      }\n    }, {\n      key: \"serialize\",\n      value: function serialize(response, request) {\n        var _this = this;\n\n        this.request = request;\n\n        if (this._isModelOrCollection(response)) {\n          var serializer = this.serializerFor(response.modelName);\n          return serializer.serialize(response, request);\n        } else if (Array.isArray(response) && response.filter(this._isCollection).length) {\n          return response.reduce(function (json, collection) {\n            var serializer = _this.serializerFor(collection.modelName);\n\n            if (serializer.embed) {\n              json[(0, _inflector.pluralize)(collection.modelName)] = serializer.serialize(collection, request);\n            } else {\n              json = (0, _assign2.default)(json, serializer.serialize(collection, request));\n            }\n\n            return json;\n          }, {});\n        } else {\n          return response;\n        }\n      }\n    }, {\n      key: \"serializerFor\",\n      value: function serializerFor(type) {\n        var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n            _ref$explicit = _ref.explicit,\n            explicit = _ref$explicit === void 0 ? false : _ref$explicit;\n\n        var SerializerForResponse = type && this._serializerMap && this._serializerMap[(0, _inflector.camelize)(type)];\n\n        if (explicit) {\n          (0, _assert.default)(!!SerializerForResponse, \"You passed in \".concat(type, \" as an explicit serializer type but that serializer doesn't exist. Try running `ember g mirage-serializer \").concat(type, \"`.\"));\n        } else {\n          SerializerForResponse = SerializerForResponse || this._serializerMap.application || _serializer.default;\n          (0, _assert.default)(!SerializerForResponse || SerializerForResponse.prototype.embed || SerializerForResponse.prototype.root || new SerializerForResponse() instanceof _jsonApiSerializer.default, 'You cannot have a serializer that sideloads (embed: false) and disables the root (root: false).');\n        }\n\n        return new SerializerForResponse(this, type, this.request);\n      }\n    }, {\n      key: \"_isModel\",\n      value: function _isModel(object) {\n        return object instanceof _model.default;\n      }\n    }, {\n      key: \"_isCollection\",\n      value: function _isCollection(object) {\n        return object instanceof _collection.default || object instanceof _polymorphicCollection.default;\n      }\n    }, {\n      key: \"_isModelOrCollection\",\n      value: function _isModelOrCollection(object) {\n        return this._isModel(object) || this._isCollection(object);\n      }\n    }, {\n      key: \"registerSerializers\",\n      value: function registerSerializers(newSerializerMaps) {\n        var currentSerializerMap = this._serializerMap || {};\n        this._serializerMap = (0, _assign2.default)(currentSerializerMap, newSerializerMaps);\n      }\n    }, {\n      key: \"getCoalescedIds\",\n      value: function getCoalescedIds(request, modelName) {\n        return this.serializerFor(modelName).getCoalescedIds(request);\n      }\n    }]);\n    return SerializerRegistry;\n  }();\n\n  _exports.default = SerializerRegistry;\n});","define(\"ember-cli-mirage/serializer\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/slicedToArray\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/createClass\", \"ember-cli-mirage/orm/model\", \"ember-cli-mirage/orm/collection\", \"ember-cli-mirage/orm/polymorphic-collection\", \"ember-cli-mirage/utils/extend\", \"ember-cli-mirage/utils/inflector\", \"ember-cli-mirage/assert\", \"lodash/isFunction\", \"lodash/isArray\", \"lodash/isEmpty\", \"lodash/includes\", \"lodash/assign\", \"lodash/get\", \"lodash/flatten\", \"lodash/compact\", \"lodash/uniqBy\"], function (_exports, _defineProperty2, _slicedToArray2, _classCallCheck2, _createClass2, _model, _collection, _polymorphicCollection, _extend, _inflector, _assert, _isFunction2, _isArray2, _isEmpty2, _includes2, _assign2, _get2, _flatten2, _compact2, _uniqBy2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n    Serializers are responsible for formatting your route handler's response.\n  \n    The application serializer (`/mirage/serializers/application.js`) will apply to every response. To make specific customizations, define per-model serializers (e.g. `/mirage/serializers/blog-post.js`).\n  \n    Any Model or Collection returned from a route handler will pass through the serializer layer. Highest priority will be given to a model-specific serializer, then the application serializer, then the default serializer.\n  \n    Mirage ships with three named serializers:\n  \n    - **JSONAPISerializer**, to simulate JSON:API compliant servers:\n  \n      ```js\n      // mirage/serializers/application.js\n      import { JSONAPISerializer } from 'ember-cli-mirage';\n  \n      export default JSONAPISerializer;\n      ```\n  \n    - **ActiveModelSerializer**, to fake Rails backends that use AMS-style responses:\n  \n      ```js\n      // mirage/serializers/application.js\n      import { ActiveModelSerializer } from 'ember-cli-mirage';\n  \n      export default ActiveModelSerializer;\n      ```\n  \n    - **RestSerializer**, to fake backends that match Ember Data's RestSerializer expected response format:\n  \n      ```js\n      // mirage/serializers/application.js\n      import { RestSerializer } from 'ember-cli-mirage';\n  \n      export default RestSerializer;\n      ```\n  \n    Additionally, Mirage has a basic Serializer class which you can customize using the hooks documented below:\n  \n    ```js\n    // mirage/serializers/application.js\n    import { Serializer } from 'ember-cli-mirage';\n  \n    export default Serializer;\n    ```\n  \n    When writing model-specific serializers, remember to extend from your application serializer:\n  \n    ```js\n    // mirage/serializers/blog-post.js\n    import ApplicationSerializer from './application';\n  \n    export default ApplicationSerializer.extend({\n      include: ['comments']\n    });\n    ```\n  \n    @class Serializer\n    @constructor\n    @public\n  */\n  var Serializer =\n  /*#__PURE__*/\n  function () {\n    function Serializer(registry, type) {\n      var request = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n      (0, _classCallCheck2.default)(this, Serializer);\n      this.registry = registry;\n      this.type = type;\n      this.request = request;\n      /**\n        Use this property on a model serializer to whitelist attributes that will be used in your JSON payload.\n         For example, if you had a `blog-post` model in your database that looked like\n         ```\n        {\n          id: 1,\n          title: 'Lorem ipsum',\n          createdAt: '2014-01-01 10:00:00',\n          updatedAt: '2014-01-03 11:42:12'\n        }\n        ```\n         and you just wanted `id` and `title`, you could write\n         ```js\n        // mirage/serializers/blog-post.js\n         export default Serializer.extend({\n          attrs: ['id', 'title']\n        });\n        ```\n         and the payload would look like\n         ```\n        {\n          id: 1,\n          title: 'Lorem ipsum'\n        }\n        ```\n         @property attrs\n        @public\n      */\n\n      this.attrs = this.attrs || undefined; // this is just here so I can add the doc comment. Better way?\n\n      /**\n        Use this property on a model serializer to specify related models you'd like to include in your JSON payload. (These can be considered default server-side includes.)\n         For example, if you had an `author` with many `blog-post`s:\n         ```js\n        // mirage/models/author.js\n        export default Model.extend({\n          blogPosts: hasMany()\n        });\n        ```\n         and you wanted to sideload these, specify so in the `include` key:\n         ```js\n        // mirage/serializers/author.js\n        export default Serializer.extend({\n          include: ['blogPosts']\n        });\n        ```\n         Now a response to a request for an author would look like this:\n         ```\n        GET /authors/1\n         {\n          author: {\n            id: 1,\n            name: 'Link',\n            blogPostIds: [1, 2]\n          },\n          blogPosts: [\n            {id: 1, authorId: 1, title: 'Lorem'},\n            {id: 2, authorId: 1, title: 'Ipsum'}\n          ]\n        }\n        ```\n         You can also define `include` as a function so it can be determined dynamically:\n         ```js\n        // mirage/serializers/author.js\n        export default Serializer.extend({\n          include: function(request) {\n            if (request.queryParams.posts) {\n              return ['blogPosts'];\n            } else {\n              return [];\n            }\n          }\n        });\n        ```\n         **Query param includes for JSONAPISerializer**\n         The JSONAPISerializer supports the use of `include` query parameter to return compound documents out of the box.\n         For versions of Ember Data before 2.5, you'll need to add `'ds-finder-include': true` to your app FEATURES object:\n         ```js\n        // config/environment.js\n        var ENV = {\n          EmberENV: {\n            FEATURES: {\n              'ds-finder-include': true\n            }\n          }\n        };\n        ```\n         To tell Mirage to sideload blogPosts when we find all authors we can do the following:\n         ```js\n        // routes/authors.js\n        export default Ember.Route.extend({\n          model() {\n            return this.store.findAll('author', { include: 'blogPosts' });\n          }\n        }\n        ```\n         The above will make a GET request to `/api/authors?include=blogPosts`, and then the appropriate Mirage route handler will be invoked. When it comes time to serialize the response, the JSONAPISerializer will inspect the query params of the request, see that the blogPosts relationship is present, and then proceed as if this relationship was specified directly in the include: [] array on the serializer itself.\n         Note that, in accordance with the spec, Mirage gives precedence to an ?include query param over a default include: [] array that you might have specified directly on the serializer. Default includes will still be in effect, however, if a request does not have an ?include query param.\n         Also note that default includes specified with the `include: []` array can only take a single model; they cannot take dot-separated paths to nested relationships.\n         If you'd like to set a default dot-separated (nested) include path for a resource, you have to do it at the route level by setting a default value for `request.queryParams`:\n         ```js\n        this.get('/users', function(schema, request) => {\n          request.queryParams = request.queryParams || {};\n          if (!request.queryParams.include) {\n            request.queryParams.include = 'blog-posts.comments';\n          }\n           // rest of route handler logic\n        });\n        ```\n         @property include\n        @public\n      */\n\n      this.include = this.include || []; // this is just here so I can add the doc comment. Better way?\n\n      /**\n        Set whether your JSON response should have a root key in it.\n         *Doesn't apply to JSONAPISerializer.*\n         Defaults to true, so a request for an author looks like:\n         ```\n        GET /authors/1\n         {\n          author: {\n            id: 1,\n            name: 'Link'\n          }\n        }\n        ```\n         Setting `root` to false disables this:\n         ```js\n        // mirage/serializers/application.js\n        export default Serializer.extend({\n          root: false\n        });\n        ```\n         Now the response looks like:\n         ```\n        GET /authors/1\n         {\n          id: 1,\n          name: 'Link'\n        }\n        ```\n         @property root\n        @public\n      */\n\n      this.root = this.root || undefined; // this is just here so I can add the doc comment. Better way?\n\n      /**\n        Set whether related models should be embedded or sideloaded.\n         *Doesn't apply to JSONAPISerializer.*\n         By default this false, so relationships are sideloaded:\n         ```\n        GET /authors/1\n         {\n          author: {\n            id: 1,\n            name: 'Link',\n            blogPostIds: [1, 2]\n          },\n          blogPosts: [\n            { id: 1, authorId: 1, title: 'Lorem' },\n            { id: 2, authorId: 1, title: 'Ipsum' }\n          ]\n        }\n        ```\n         Setting `embed` to true will embed related records:\n         ```js\n        // mirage/serializers/application.js\n        export default Serializer.extend({\n          embed: true\n        });\n        ```\n         Now the response looks like:\n         ```\n        GET /authors/1\n         {\n          author: {\n            id: 1,\n            name: 'Link',\n            blogPosts: [\n              { id: 1, authorId: 1, title: 'Lorem' },\n              { id: 2, authorId: 1, title: 'Ipsum' }\n            ]\n          }\n        }\n        ```\n      */\n\n      this.embed = this.embed || undefined; // this is just here so I can add the doc comment. Better way?\n\n      /**\n        Use this to define how your serializer handles serializing relationship keys. It can take one of three values:\n         - `included`, which is the default, will serialize the ids of a relationship if that relationship is included (sideloaded) along with the model or collection in the response\n        - `always` will always serialize the ids of all relationships for the model or collection in the response\n        - `never` will never serialize the ids of relationships for the model or collection in the response\n         _Note: this feature was added in 0.2.2._\n         @property serializeIds\n        @public\n      */\n\n      this.serializeIds = this.serializeIds || undefined; // this is just here so I can add the doc comment. Better way?\n    }\n    /**\n      Override this method to implement your own custom serialize function. *response* is whatever was returned from your route handler, and *request* is the Pretender request object.\n       Returns a plain JavaScript object or array, which Mirage uses as the response data to your Ember app's XHR request.\n       You can also override this method, call super, and manipulate the data before Mirage responds with it. This is a great place to add metadata, or for one-off operations that don't fit neatly into any of Mirage's other abstractions:\n       ```js\n      serialize(object, request) {\n        // This is how to call super, as Mirage borrows [Backbone's implementation of extend](http://backbonejs.org/#Model-extend)\n        let json = Serializer.prototype.serialize.apply(this, arguments);\n         // Add metadata, sort parts of the response, etc.\n         return json;\n      }\n      ```\n       @param primaryResource\n      @param request\n      @return { Object } the json response\n     */\n\n\n    (0, _createClass2.default)(Serializer, [{\n      key: \"serialize\",\n      value: function serialize(primaryResource\n      /* , request */\n      ) {\n        return this.buildPayload(primaryResource);\n      }\n      /**\n        This method is used by the POST and PUT shorthands. These shorthands expect a valid JSON:API document as part of the request, so that they know how to create or update the appropriate resouce. The *normalize* method allows you to transform your request body into a JSON:API document, which lets you take advantage of the shorthands when you otherwise may not be able to.\n         Note that this method is a noop if you're using JSON:API already, since request payloads sent along with POST and PUT requests will already be in the correct format.\n         Take a look at the included [ActiveModelSerializer's normalize method](https://github.com/samselikoff/ember-cli-mirage/blob/master/addon/serializers/active-model-serializer.js#L22) for an example.\n         @method normalize\n        @param json\n        @public\n       */\n\n    }, {\n      key: \"normalize\",\n      value: function normalize(json) {\n        return json;\n      }\n    }, {\n      key: \"buildPayload\",\n      value: function buildPayload(primaryResource, toInclude, didSerialize, json) {\n        if (!primaryResource && (0, _isEmpty2.default)(toInclude)) {\n          return json;\n        } else if (primaryResource) {\n          var _this$getHashForPrima = this.getHashForPrimaryResource(primaryResource),\n              _this$getHashForPrima2 = (0, _slicedToArray2.default)(_this$getHashForPrima, 2),\n              resourceHash = _this$getHashForPrima2[0],\n              newIncludes = _this$getHashForPrima2[1];\n\n          var newDidSerialize = this.isCollection(primaryResource) ? primaryResource.models : [primaryResource];\n          return this.buildPayload(undefined, newIncludes, newDidSerialize, resourceHash);\n        } else {\n          var nextIncludedResource = toInclude.shift();\n\n          var _this$getHashForInclu = this.getHashForIncludedResource(nextIncludedResource),\n              _this$getHashForInclu2 = (0, _slicedToArray2.default)(_this$getHashForInclu, 2),\n              _resourceHash = _this$getHashForInclu2[0],\n              _newIncludes = _this$getHashForInclu2[1];\n\n          var newToInclude = _newIncludes.filter(function (resource) {\n            return !(0, _includes2.default)(didSerialize.map(function (m) {\n              return m.toString();\n            }), resource.toString());\n          }).concat(toInclude);\n\n          var _newDidSerialize = (this.isCollection(nextIncludedResource) ? nextIncludedResource.models : [nextIncludedResource]).concat(didSerialize);\n\n          var newJson = this.mergePayloads(json, _resourceHash);\n          return this.buildPayload(undefined, newToInclude, _newDidSerialize, newJson);\n        }\n      }\n    }, {\n      key: \"getHashForPrimaryResource\",\n      value: function getHashForPrimaryResource(resource) {\n        var _this$getHashForResou = this.getHashForResource(resource),\n            _this$getHashForResou2 = (0, _slicedToArray2.default)(_this$getHashForResou, 2),\n            hash = _this$getHashForResou2[0],\n            addToIncludes = _this$getHashForResou2[1];\n\n        var hashWithRoot;\n\n        if (this.root) {\n          (0, _assert.default)(!(resource instanceof _polymorphicCollection.default), \"The base Serializer class cannot serialize a top-level PolymorphicCollection when root is true, since PolymorphicCollections have no type.\");\n          var serializer = this.serializerFor(resource.modelName);\n          var rootKey = serializer.keyForResource(resource);\n          hashWithRoot = (0, _defineProperty2.default)({}, rootKey, hash);\n        } else {\n          hashWithRoot = hash;\n        }\n\n        return [hashWithRoot, addToIncludes];\n      }\n    }, {\n      key: \"getHashForIncludedResource\",\n      value: function getHashForIncludedResource(resource) {\n        var hashWithRoot, addToIncludes;\n\n        if (resource instanceof _polymorphicCollection.default) {\n          hashWithRoot = {};\n          addToIncludes = resource.models;\n        } else {\n          var serializer = this.serializerFor(resource.modelName);\n\n          var _serializer$getHashFo = serializer.getHashForResource(resource),\n              _serializer$getHashFo2 = (0, _slicedToArray2.default)(_serializer$getHashFo, 2),\n              hash = _serializer$getHashFo2[0],\n              newModels = _serializer$getHashFo2[1]; // Included resources always have a root, and are always pushed to an array.\n\n\n          var rootKey = serializer.keyForRelationship(resource.modelName);\n          hashWithRoot = (0, _isArray2.default)(hash) ? (0, _defineProperty2.default)({}, rootKey, hash) : (0, _defineProperty2.default)({}, rootKey, [hash]);\n          addToIncludes = newModels;\n        }\n\n        return [hashWithRoot, addToIncludes];\n      }\n    }, {\n      key: \"getHashForResource\",\n      value: function getHashForResource(resource) {\n        var _this = this;\n\n        var removeForeignKeys = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n        var didSerialize = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n        var lookupSerializer = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n        var hash, serializer;\n\n        if (!lookupSerializer) {\n          serializer = this; // this is used for embedded responses\n        } // PolymorphicCollection lacks a modelName, but is dealt with in the map\n        // by looking up the serializer on a per-model basis\n\n\n        if (lookupSerializer && resource.modelName) {\n          serializer = this.serializerFor(resource.modelName);\n        }\n\n        if (this.isModel(resource)) {\n          hash = serializer._hashForModel(resource, removeForeignKeys, didSerialize);\n        } else {\n          hash = resource.models.map(function (m) {\n            var modelSerializer = serializer;\n\n            if (!modelSerializer) {\n              // Can't get here if lookupSerializer is false, so look it up\n              modelSerializer = _this.serializerFor(m.modelName);\n            }\n\n            return modelSerializer._hashForModel(m, removeForeignKeys, didSerialize);\n          });\n        }\n\n        if (this.embed) {\n          return [hash, []];\n        } else {\n          var addToIncludes = (0, _uniqBy2.default)((0, _compact2.default)((0, _flatten2.default)(serializer.getKeysForIncluded().map(function (key) {\n            if (_this.isCollection(resource)) {\n              return resource.models.map(function (m) {\n                return m[key];\n              });\n            } else {\n              return resource[key];\n            }\n          }))), function (m) {\n            return m.toString();\n          });\n          return [hash, addToIncludes];\n        }\n      }\n      /*\n        Merges new resource hash into json. If json already has root key,\n        pushes value of resourceHash onto that key.\n         For example,\n             json = {\n              post: { id: 1, title: 'Lorem Ipsum', comment_ids: [1, 3] },\n              comments: [\n                { id: 1, text: 'foo' }\n              ]\n            };\n             resourceHash = {\n              comments: [\n                { id: 2, text: 'bar' }\n              ]\n            };\n         would yield\n             {\n              post: { id: 1, title: 'Lorem Ipsum', comment_ids: [1, 3] },\n              comments: [\n                { id: 1, text: 'foo' },\n                { id: 2, text: 'bar' }\n              ]\n            };\n       */\n\n    }, {\n      key: \"mergePayloads\",\n      value: function mergePayloads(json, resourceHash) {\n        var newJson;\n\n        var _Object$keys = Object.keys(resourceHash),\n            _Object$keys2 = (0, _slicedToArray2.default)(_Object$keys, 1),\n            resourceHashKey = _Object$keys2[0];\n\n        if (json[resourceHashKey]) {\n          newJson = json;\n          newJson[resourceHashKey] = json[resourceHashKey].concat(resourceHash[resourceHashKey]);\n        } else {\n          newJson = (0, _assign2.default)(json, resourceHash);\n        }\n\n        return newJson;\n      }\n    }, {\n      key: \"keyForResource\",\n      value: function keyForResource(resource) {\n        var modelName = resource.modelName;\n        return this.isModel(resource) ? this.keyForModel(modelName) : this.keyForCollection(modelName);\n      }\n      /**\n        Used to define a custom key when serializing a primary model of modelName *modelName*. For example, the default Serializer will return something like the following:\n         ```\n        GET /blogPosts/1\n         {\n          blogPost: {\n            id: 1,\n            title: 'Lorem ipsum'\n          }\n        }\n        ```\n         If your API uses hyphenated keys, you could overwrite `keyForModel`:\n         ```js\n        // serializers/application.js\n        export default Serializer.extend({\n          keyForModel(modelName) {\n            return Ember.String.dasherize(modelName);\n          }\n        });\n        ```\n         Now the response will look like\n         ```\n        {\n          'blog-post': {\n            id: 1,\n            title: 'Lorem ipsum'\n          }\n        }\n        ```\n         @method keyForModel\n        @param modelName\n        @public\n       */\n\n    }, {\n      key: \"keyForModel\",\n      value: function keyForModel(modelName) {\n        return (0, _inflector.camelize)(modelName);\n      }\n      /**\n        Used to customize the key when serializing a primary collection. By default this pluralizes the return value of `keyForModel`.\n         For example, by default the following request may look like:\n         ```\n        GET /blogPosts\n         {\n          blogPosts: [\n            {\n              id: 1,\n              title: 'Lorem ipsum'\n            },\n            ...\n          ]\n        }\n        ```\n         If your API hyphenates keys, you could overwrite `keyForCollection`:\n         ```js\n        // serializers/application.js\n        const { dasherize, pluralize } = Ember.String;\n         export default Serializer.extend({\n          keyForCollection(modelName) {\n            return pluralize(dasherize(modelName));\n          }\n        });\n        ```\n         Now the response would look like:\n         ```\n        {\n          'blog-posts': [\n            {\n              id: 1,\n              title: 'Lorem ipsum'\n            },\n            ...\n          ]\n        }\n        ```\n         @method keyForCollection\n        @param modelName\n        @public\n       */\n\n    }, {\n      key: \"keyForCollection\",\n      value: function keyForCollection(modelName) {\n        return (0, _inflector.pluralize)(this.keyForModel(modelName));\n      }\n    }, {\n      key: \"_hashForModel\",\n      value: function _hashForModel(model, removeForeignKeys) {\n        var _this2 = this;\n\n        var didSerialize = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n        var attrs = this._attrsForModel(model);\n\n        if (removeForeignKeys) {\n          model.fks.forEach(function (fk) {\n            delete attrs[fk];\n          });\n        }\n\n        if (this.embed) {\n          var newDidSerialize = (0, _assign2.default)({}, didSerialize);\n          newDidSerialize[model.modelName] = newDidSerialize[model.modelName] || {};\n          newDidSerialize[model.modelName][model.id] = true;\n          this.getKeysForIncluded().forEach(function (key) {\n            var associatedResource = model[key];\n\n            if (associatedResource && !(0, _get2.default)(newDidSerialize, \"\".concat(associatedResource.modelName, \".\").concat(associatedResource.id))) {\n              var _this2$getHashForReso = _this2.getHashForResource(associatedResource, true, newDidSerialize, true),\n                  _this2$getHashForReso2 = (0, _slicedToArray2.default)(_this2$getHashForReso, 1),\n                  associatedResourceHash = _this2$getHashForReso2[0];\n\n              var formattedKey = _this2.keyForEmbeddedRelationship(key);\n\n              attrs[formattedKey] = associatedResourceHash;\n\n              if (_this2.isModel(associatedResource)) {\n                var fk = \"\".concat((0, _inflector.camelize)(key), \"Id\");\n                delete attrs[fk];\n              }\n            }\n          });\n          return attrs;\n        } else {\n          return this._maybeAddAssociationIds(model, attrs);\n        }\n      }\n      /**\n        @method _attrsForModel\n        @param model\n        @private\n        @hide\n       */\n\n    }, {\n      key: \"_attrsForModel\",\n      value: function _attrsForModel(model) {\n        var attrs = {};\n\n        if (this.attrs) {\n          attrs = this.attrs.reduce(function (memo, attr) {\n            memo[attr] = model[attr];\n            return memo;\n          }, {});\n        } else {\n          attrs = (0, _assign2.default)(attrs, model.attrs);\n        } // Remove fks\n\n\n        model.fks.forEach(function (key) {\n          return delete attrs[key];\n        });\n        return this._formatAttributeKeys(attrs);\n      }\n      /**\n        @method _maybeAddAssociationIds\n        @param model\n        @param attrs\n        @private\n        @hide\n       */\n\n    }, {\n      key: \"_maybeAddAssociationIds\",\n      value: function _maybeAddAssociationIds(model, attrs) {\n        var _this3 = this;\n\n        var newHash = (0, _assign2.default)({}, attrs);\n\n        if (this.serializeIds === 'always') {\n          model.associationKeys.forEach(function (key) {\n            var resource = model[key];\n\n            if (_this3.isCollection(resource)) {\n              var formattedKey = _this3.keyForRelationshipIds(key);\n\n              newHash[formattedKey] = model[\"\".concat((0, _inflector.singularize)(key), \"Ids\")];\n            } else if (resource) {\n              var _formattedKey = _this3.keyForForeignKey(key);\n\n              newHash[_formattedKey] = model[\"\".concat(key, \"Id\")];\n            }\n          });\n        } else if (this.serializeIds === 'included') {\n          this.getKeysForIncluded().forEach(function (key) {\n            var resource = model[key];\n            var association = model.associationFor(key);\n\n            if (_this3.isCollection(resource)) {\n              var formattedKey = _this3.keyForRelationshipIds(key);\n\n              newHash[formattedKey] = model[\"\".concat((0, _inflector.singularize)(key), \"Ids\")];\n            } else if (_this3.isModel(resource) && association.isPolymorphic) {\n              var formattedTypeKey = _this3.keyForPolymorphicForeignKeyType(key);\n\n              var formattedIdKey = _this3.keyForPolymorphicForeignKeyId(key);\n\n              newHash[formattedTypeKey] = model[\"\".concat(key, \"Id\")].type;\n              newHash[formattedIdKey] = model[\"\".concat(key, \"Id\")].id;\n            } else if (_this3.isModel(resource)) {\n              var _formattedKey2 = _this3.keyForForeignKey(key);\n\n              newHash[_formattedKey2] = model[\"\".concat(key, \"Id\")];\n            }\n          });\n        }\n\n        return newHash;\n      }\n      /**\n        Used to customize how a model's attribute is formatted in your JSON payload.\n         By default, model attributes are camelCase:\n         ```\n        GET /authors/1\n         {\n          author: {\n            firstName: 'Link',\n            lastName: 'The WoodElf'\n          }\n        }\n        ```\n         If your API expects snake case, you could write the following:\n         ```js\n        // serializers/application.js\n        const { underscore } = Ember.String;\n         export default Serializer.extend({\n          keyForAttribute(attr) {\n            return underscore(attr);\n          }\n        });\n        ```\n         Now the response would look like:\n         ```\n        {\n          author: {\n            first_name: 'Link',\n            last_name: 'The WoodElf'\n          }\n        }\n        ```\n         @method keyForAttribute\n        @param attr\n        @public\n       */\n\n    }, {\n      key: \"keyForAttribute\",\n      value: function keyForAttribute(attr) {\n        return attr;\n      }\n      /**\n        Use this hook to format the key for collections related to this model. *modelName* is the named parameter for the relationship.\n         For example, if you're serializing an `author` that\n        sideloads many `blogPosts`, the default response will look like:\n         ```\n        {\n          author: {...},\n          blogPosts: [...]\n        }\n        ```\n         Overwrite `keyForRelationship` to format this key:\n         ```js\n        // serializers/application.js\n        const { underscore } = Ember.String;\n         export default Serializer.extend({\n          keyForRelationship(modelName) {\n            return underscore(modelName);\n          }\n        });\n        ```\n         Now the response will look like this:\n         ```\n        {\n          author: {...},\n          blog_posts: [...]\n        }\n        ```\n         @method keyForRelationship\n        @param modelName\n        @public\n       */\n\n    }, {\n      key: \"keyForRelationship\",\n      value: function keyForRelationship(modelName) {\n        return (0, _inflector.camelize)((0, _inflector.pluralize)(modelName));\n      }\n      /**\n        Like `keyForRelationship`, but for embedded relationships.\n         @method keyForEmbeddedRelationship\n        @param attributeName\n        @public\n       */\n\n    }, {\n      key: \"keyForEmbeddedRelationship\",\n      value: function keyForEmbeddedRelationship(attributeName) {\n        return (0, _inflector.camelize)(attributeName);\n      }\n      /**\n        Use this hook to format the key for the IDS of a `hasMany` relationship\n        in this model's JSON representation.\n         For example, if you're serializing an `author` that\n        sideloads many `blogPosts`, by default your `author` JSON would include a `blogPostIds` key:\n         ```\n        {\n          author: {\n            id: 1,\n            blogPostIds: [1, 2, 3]\n          },\n          blogPosts: [...]\n        }\n        ```\n         Overwrite `keyForRelationshipIds` to format this key:\n         ```js\n        // serializers/application.js\n        const { underscore } = Ember.String;\n         export default Serializer.extend({\n          keyForRelationshipIds(relationship) {\n            return underscore(relationship) + '_ids';\n          }\n        });\n        ```\n         Now the response will look like:\n         ```\n        {\n          author: {\n            id: 1,\n            blog_post_ids: [1, 2, 3]\n          },\n          blogPosts: [...]\n        }\n        ```\n         @method keyForRelationshipIds\n        @param modelName\n        @public\n       */\n\n    }, {\n      key: \"keyForRelationshipIds\",\n      value: function keyForRelationshipIds(relationshipName) {\n        return \"\".concat((0, _inflector.singularize)((0, _inflector.camelize)(relationshipName)), \"Ids\");\n      }\n      /**\n        Like `keyForRelationshipIds`, but for `belongsTo` relationships.\n         For example, if you're serializing a `blogPost` that sideloads one `author`,\n        your `blogPost` JSON would include a `authorId` key:\n         ```\n        {\n          blogPost: {\n            id: 1,\n            authorId: 1\n          },\n          author: ...\n        }\n        ```\n         Overwrite `keyForForeignKey` to format this key:\n         ```js\n        // serializers/application.js\n        const { underscore } = Ember.String;\n         export default Serializer.extend({\n          keyForForeignKey(relationshipName) {\n            return underscore(relationshipName) + '_id';\n          }\n        });\n        ```\n         Now the response will look like:\n         ```js\n        {\n          blogPost: {\n            id: 1,\n            author_id: 1\n          },\n          author: ...\n        }\n        ```\n         @method keyForForeignKey\n        @param relationshipName\n        @public\n       */\n\n    }, {\n      key: \"keyForForeignKey\",\n      value: function keyForForeignKey(relationshipName) {\n        return \"\".concat((0, _inflector.camelize)(relationshipName), \"Id\");\n      }\n      /**\n        Polymorphic relationships are represented with type-id pairs.\n         Given the following model\n         ```js\n        // mirage/models/comment.js\n        export default Mirage.Model.extend({\n          commentable: belongsTo({ polymorphic: true })\n        });\n        ```\n         the default Serializer would produce\n         ```js\n        {\n          comment: {\n            id: 1,\n            commentableType: 'post',\n            commentableId: '1'\n          }\n        }\n        ```\n         This hook controls how the `id` field (`commentableId` in the above example)\n        is serialized. By default it camelizes the relationship and adds `Id` as a suffix.\n         @method keyForPolymorphicForeignKeyId\n        @param {String} relationshipName\n        @return {String}\n        @public\n      */\n\n    }, {\n      key: \"keyForPolymorphicForeignKeyId\",\n      value: function keyForPolymorphicForeignKeyId(relationshipName) {\n        return \"\".concat((0, _inflector.camelize)(relationshipName), \"Id\");\n      }\n      /**\n        Polymorphic relationships are represented with type-id pairs.\n         Given the following model\n         ```js\n        // mirage/models/comment.js\n        export default Mirage.Model.extend({\n          commentable: belongsTo({ polymorphic: true })\n        });\n        ```\n         the default Serializer would produce\n         ```js\n        {\n          comment: {\n            id: 1,\n            commentableType: 'post',\n            commentableId: '1'\n          }\n        }\n        ```\n         This hook controls how the `type` field (`commentableType` in the above example)\n        is serialized. By default it camelizes the relationship and adds `Type` as a suffix.\n         @method keyForPolymorphicForeignKeyType\n        @param {String} relationshipName\n        @return {String}\n        @public\n      */\n\n    }, {\n      key: \"keyForPolymorphicForeignKeyType\",\n      value: function keyForPolymorphicForeignKeyType(relationshipName) {\n        return \"\".concat((0, _inflector.camelize)(relationshipName), \"Type\");\n      }\n      /**\n        @method isModel\n        @param object\n        @return {Boolean}\n        @public\n        @hide\n       */\n\n    }, {\n      key: \"isModel\",\n      value: function isModel(object) {\n        return object instanceof _model.default;\n      }\n      /**\n        @method isCollection\n        @param object\n        @return {Boolean}\n        @public\n        @hide\n       */\n\n    }, {\n      key: \"isCollection\",\n      value: function isCollection(object) {\n        return object instanceof _collection.default || object instanceof _polymorphicCollection.default;\n      }\n      /**\n        @method isModelOrCollection\n        @param object\n        @return {Boolean}\n        @public\n        @hide\n       */\n\n    }, {\n      key: \"isModelOrCollection\",\n      value: function isModelOrCollection(object) {\n        return this.isModel(object) || this.isCollection(object);\n      }\n      /**\n        @method serializerFor\n        @param type\n        @public\n        @hide\n       */\n\n    }, {\n      key: \"serializerFor\",\n      value: function serializerFor(type) {\n        return this.registry.serializerFor(type);\n      }\n    }, {\n      key: \"getKeysForIncluded\",\n      value: function getKeysForIncluded() {\n        return (0, _isFunction2.default)(this.include) ? this.include(this.request) : this.include;\n      }\n      /**\n        Foo bar.\n         @property schema\n        @public\n        @hide\n      */\n\n    }, {\n      key: \"_formatAttributeKeys\",\n\n      /**\n        @method _formatAttributeKeys\n        @param attrs\n        @private\n        @hide\n       */\n      value: function _formatAttributeKeys(attrs) {\n        var formattedAttrs = {};\n\n        for (var key in attrs) {\n          var formattedKey = this.keyForAttribute(key);\n          formattedAttrs[formattedKey] = attrs[key];\n        }\n\n        return formattedAttrs;\n      }\n    }, {\n      key: \"getCoalescedIds\",\n      value: function getCoalescedIds()\n      /* request */\n      {}\n    }, {\n      key: \"schema\",\n      get: function get() {\n        return this.registry.schema;\n      }\n    }]);\n    return Serializer;\n  }(); // Defaults\n\n\n  Serializer.prototype.include = [];\n  Serializer.prototype.root = true;\n  Serializer.prototype.embed = false;\n  Serializer.prototype.serializeIds = 'included'; // can be 'included', 'always', or 'never'\n\n  Serializer.extend = _extend.default;\n  var _default = Serializer;\n  _exports.default = _default;\n});","define(\"ember-cli-mirage/serializers/active-model-serializer\", [\"exports\", \"ember-cli-mirage/serializer\", \"ember-cli-mirage/utils/inflector\"], function (_exports, _serializer, _inflector) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = _serializer.default.extend({\n    serializeIds: 'always',\n    normalizeIds: true,\n    keyForModel: function keyForModel(type) {\n      return (0, _inflector.underscore)(type);\n    },\n    keyForAttribute: function keyForAttribute(attr) {\n      return (0, _inflector.underscore)(attr);\n    },\n    keyForRelationship: function keyForRelationship(type) {\n      return (0, _inflector.pluralize)((0, _inflector.underscore)(type));\n    },\n    keyForEmbeddedRelationship: function keyForEmbeddedRelationship(attributeName) {\n      return (0, _inflector.underscore)(attributeName);\n    },\n    keyForRelationshipIds: function keyForRelationshipIds(type) {\n      return \"\".concat((0, _inflector.underscore)((0, _inflector.singularize)(type)), \"_ids\");\n    },\n    keyForForeignKey: function keyForForeignKey(relationshipName) {\n      return \"\".concat((0, _inflector.underscore)(relationshipName), \"_id\");\n    },\n    keyForPolymorphicForeignKeyId: function keyForPolymorphicForeignKeyId(relationshipName) {\n      return \"\".concat((0, _inflector.underscore)(relationshipName), \"_id\");\n    },\n    keyForPolymorphicForeignKeyType: function keyForPolymorphicForeignKeyType(relationshipName) {\n      return \"\".concat((0, _inflector.underscore)(relationshipName), \"_type\");\n    },\n    normalize: function normalize(payload) {\n      var _this = this;\n\n      var type = Object.keys(payload)[0];\n      var attrs = payload[type];\n      var modelName = (0, _inflector.camelize)(type);\n      var modelClass = this.schema.modelClassFor(modelName);\n      var belongsToAssociations = modelClass.belongsToAssociations,\n          hasManyAssociations = modelClass.hasManyAssociations;\n      var belongsToKeys = Object.keys(belongsToAssociations);\n      var hasManyKeys = Object.keys(hasManyAssociations);\n      var jsonApiPayload = {\n        data: {\n          type: (0, _inflector.pluralize)(type),\n          attributes: {}\n        }\n      };\n\n      if (attrs.id) {\n        jsonApiPayload.data.id = attrs.id;\n      }\n\n      var relationships = {};\n      Object.keys(attrs).forEach(function (key) {\n        if (key !== 'id') {\n          if (_this.normalizeIds) {\n            if (belongsToKeys.includes(key)) {\n              var association = belongsToAssociations[key];\n              var associationModel = association.modelName;\n              relationships[(0, _inflector.dasherize)(key)] = {\n                data: {\n                  type: associationModel,\n                  id: attrs[key]\n                }\n              };\n            } else if (hasManyKeys.includes(key)) {\n              var _association = hasManyAssociations[key];\n              var _associationModel = _association.modelName;\n              var data = attrs[key].map(function (id) {\n                return {\n                  type: _associationModel,\n                  id: id\n                };\n              });\n              relationships[(0, _inflector.dasherize)(key)] = {\n                data: data\n              };\n            } else {\n              jsonApiPayload.data.attributes[(0, _inflector.dasherize)(key)] = attrs[key];\n            }\n          } else {\n            jsonApiPayload.data.attributes[(0, _inflector.dasherize)(key)] = attrs[key];\n          }\n        }\n      });\n\n      if (Object.keys(relationships).length) {\n        jsonApiPayload.data.relationships = relationships;\n      }\n\n      return jsonApiPayload;\n    },\n    getCoalescedIds: function getCoalescedIds(request) {\n      return request.queryParams && request.queryParams.ids;\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-cli-mirage/serializers/json-api-serializer\", [\"exports\", \"@babel/runtime/helpers/esm/toConsumableArray\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/createClass\", \"@babel/runtime/helpers/esm/possibleConstructorReturn\", \"@babel/runtime/helpers/esm/getPrototypeOf\", \"@babel/runtime/helpers/esm/inherits\", \"ember-cli-mirage/serializer\", \"ember-cli-mirage/utils/inflector\", \"lodash/get\", \"lodash/flatten\", \"lodash/compact\", \"lodash/uniqBy\", \"lodash/isEmpty\", \"ember-cli-mirage/assert\"], function (_exports, _toConsumableArray2, _classCallCheck2, _createClass2, _possibleConstructorReturn2, _getPrototypeOf2, _inherits2, _serializer, _inflector, _get2, _flatten2, _compact2, _uniqBy2, _isEmpty2, _assert) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n    The JSONAPISerializer. Subclass of Serializer.\n  \n    Please use\n  \n    ```js\n    import { JSONAPISerializer } from 'ember-cli-mirage';\n    ```\n  \n    instead of the full import path below.\n  \n    @class JSONAPISerializer\n    @constructor\n    @public\n   */\n  var JSONAPISerializer =\n  /*#__PURE__*/\n  function (_Serializer) {\n    (0, _inherits2.default)(JSONAPISerializer, _Serializer);\n\n    function JSONAPISerializer() {\n      var _this;\n\n      (0, _classCallCheck2.default)(this, JSONAPISerializer);\n      _this = (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(JSONAPISerializer).apply(this, arguments));\n      /**\n        By default, JSON:API's linkage data is only added for relationships that are being included in the current request.\n         That means given an `author` model with a `posts` relationship, a GET request to /authors/1 would return a JSON:API document with an empty `relationships` hash:\n         ```js\n        {\n          data: {\n            type: 'authors',\n            id: '1',\n            attributes: { ... }\n          }\n        }\n        ```\n         but a request to GET /authors/1?include=posts would have linkage data added (in addition to the included resources):\n         ```js\n        {\n          data: {\n            type: 'authors',\n            id: '1',\n            attributes: { ... },\n            relationships: {\n              data: [\n                { type: 'posts', id: '1' },\n                { type: 'posts', id: '2' },\n                { type: 'posts', id: '3' }\n              ]\n            }\n          },\n          included: [ ... ]\n        }\n        ```\n         To add the linkage data for all relationships, you could set `alwaysIncludeLinkageData` to `true`:\n         ```js\n        // mirage/serializers/application.js\n        import { JSONAPISerializer } from 'ember-cli-mirage';\n         export default JSONAPISerializer.extend({\n          alwaysIncludeLinkageData: true\n        });\n        ```\n         Then, a GET to /authors/1 would respond with\n         ```js\n        {\n          data: {\n            type: 'authors',\n            id: '1',\n            attributes: { ... },\n            relationships: {\n              posts: {\n                data: [\n                  { type: 'posts', id: '1' },\n                  { type: 'posts', id: '2' },\n                  { type: 'posts', id: '3' }\n                ]\n              }\n            }\n          }\n        }\n        ```\n         even though the related `posts` are not included in the same document.\n         You can also use the `links` method (on the Serializer base class) to add relationship links (which will always be added regardless of the relationship is being included document), or you could use `shouldIncludeLinkageData` for more granular control.\n         For more background on the behavior of this API, see [this blog post](http://www.ember-cli-mirage.com/blog/changing-mirages-default-linkage-data-behavior-1475).\n         @property alwaysIncludeLinkageData\n        @type {Boolean}\n        @public\n      */\n\n      _this.alwaysIncludeLinkageData = _this.alwaysIncludeLinkageData || undefined; // this is just here so I can add the doc comment. Better way?\n\n      return _this;\n    } // Don't think this is used?\n\n\n    (0, _createClass2.default)(JSONAPISerializer, [{\n      key: \"keyForModel\",\n      value: function keyForModel(modelName) {\n        return (0, _inflector.dasherize)(modelName);\n      } // Don't think this is used?\n\n    }, {\n      key: \"keyForCollection\",\n      value: function keyForCollection(modelName) {\n        return (0, _inflector.dasherize)(modelName);\n      }\n      /**\n        Used to customize the key for an attribute. By default, compound attribute names are dasherized.\n         For example, the JSON:API document for a `post` model with a `commentCount` attribute would be:\n         ```js\n        {\n          data: {\n            id: 1,\n            type: 'posts',\n            attributes: {\n              'comment-count': 28\n            }\n          }\n        }\n        ```\n         @method keyForAttribute\n        @param {String} attr\n        @return {String}\n        @public\n      */\n\n    }, {\n      key: \"keyForAttribute\",\n      value: function keyForAttribute(attr) {\n        return (0, _inflector.dasherize)(attr);\n      }\n      /**\n        Used to customize the key for a relationships. By default, compound relationship names are dasherized.\n         For example, the JSON:API document for an `author` model with a `blogPosts` relationship would be:\n         ```js\n        {\n          data: {\n            id: 1,\n            type: 'author',\n            attributes: {\n              ...\n            },\n            relationships: {\n              'blog-posts': {\n                ...\n              }\n            }\n          }\n        }\n        ```\n         @method keyForAttribute\n        @param {String} key\n        @return {String}\n        @public\n      */\n\n    }, {\n      key: \"keyForRelationship\",\n      value: function keyForRelationship(key) {\n        return (0, _inflector.dasherize)(key);\n      }\n      /**\n        Use this hook to add top-level `links` data to JSON:API resource objects. The argument is the model being serialized.\n         ```js\n        // serializers/author.js\n        import { JSONAPISerializer } from 'ember-cli-mirage';\n         export default JSONAPISerializer.extend({\n           links(author) {\n            return {\n              'posts': {\n                related: `/api/authors/${author.id}/posts`\n              }\n            };\n          }\n         });\n        ```\n         @method links\n        @param model\n      */\n\n    }, {\n      key: \"links\",\n      value: function links() {}\n    }, {\n      key: \"getHashForPrimaryResource\",\n      value: function getHashForPrimaryResource(resource) {\n        this._createRequestedIncludesGraph(resource);\n\n        var resourceHash = this.getHashForResource(resource);\n        var hashWithRoot = {\n          data: resourceHash\n        };\n        var addToIncludes = this.getAddToIncludesForResource(resource);\n        return [hashWithRoot, addToIncludes];\n      }\n    }, {\n      key: \"getHashForIncludedResource\",\n      value: function getHashForIncludedResource(resource) {\n        var serializer = this.serializerFor(resource.modelName);\n        var hash = serializer.getHashForResource(resource);\n        var hashWithRoot = {\n          included: this.isModel(resource) ? [hash] : hash\n        };\n        var addToIncludes = [];\n\n        if (!this.hasQueryParamIncludes()) {\n          addToIncludes = this.getAddToIncludesForResource(resource);\n        }\n\n        return [hashWithRoot, addToIncludes];\n      }\n    }, {\n      key: \"getHashForResource\",\n      value: function getHashForResource(resource) {\n        var _this2 = this;\n\n        var hash;\n\n        if (this.isModel(resource)) {\n          hash = this._getResourceObjectForModel(resource);\n        } else {\n          hash = resource.models.map(function (m) {\n            return _this2._getResourceObjectForModel(m);\n          });\n        }\n\n        return hash;\n      }\n      /*\n        Returns a flat unique list of resources that need to be added to includes\n      */\n\n    }, {\n      key: \"getAddToIncludesForResource\",\n      value: function getAddToIncludesForResource(resource) {\n        var relationshipPaths;\n\n        if (this.hasQueryParamIncludes()) {\n          relationshipPaths = this.request.queryParams.include.split(',');\n        } else {\n          var serializer = this.serializerFor(resource.modelName);\n          relationshipPaths = serializer.getKeysForIncluded();\n        }\n\n        return this.getAddToIncludesForResourceAndPaths(resource, relationshipPaths);\n      }\n    }, {\n      key: \"getAddToIncludesForResourceAndPaths\",\n      value: function getAddToIncludesForResourceAndPaths(resource, relationshipPaths) {\n        var _this3 = this;\n\n        var includes = [];\n        relationshipPaths.forEach(function (path) {\n          var relationshipNames = path.split('.');\n\n          var newIncludes = _this3.getIncludesForResourceAndPath.apply(_this3, [resource].concat((0, _toConsumableArray2.default)(relationshipNames)));\n\n          includes.push(newIncludes);\n        });\n        return (0, _uniqBy2.default)((0, _compact2.default)((0, _flatten2.default)(includes)), function (m) {\n          return m.toString();\n        });\n      }\n    }, {\n      key: \"getIncludesForResourceAndPath\",\n      value: function getIncludesForResourceAndPath(resource) {\n        var _this4 = this;\n\n        for (var _len = arguments.length, names = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n          names[_key - 1] = arguments[_key];\n        }\n\n        var nameForCurrentResource = (0, _inflector.camelize)(names.shift());\n        var includes = [];\n        var modelsToAdd = [];\n\n        if (this.isModel(resource)) {\n          var relationship = resource[nameForCurrentResource];\n\n          if (this.isModel(relationship)) {\n            modelsToAdd = [relationship];\n          } else if (this.isCollection(relationship)) {\n            modelsToAdd = relationship.models;\n          }\n        } else {\n          resource.models.forEach(function (model) {\n            var relationship = model[nameForCurrentResource];\n\n            if (_this4.isModel(relationship)) {\n              modelsToAdd.push(relationship);\n            } else if (_this4.isCollection(relationship)) {\n              modelsToAdd = modelsToAdd.concat(relationship.models);\n            }\n          });\n        }\n\n        includes = includes.concat(modelsToAdd);\n\n        if (names.length) {\n          modelsToAdd.forEach(function (model) {\n            includes = includes.concat(_this4.getIncludesForResourceAndPath.apply(_this4, [model].concat(names)));\n          });\n        }\n\n        return includes;\n      }\n    }, {\n      key: \"_getResourceObjectForModel\",\n      value: function _getResourceObjectForModel(model) {\n        var attrs = this._attrsForModel(model, true);\n\n        delete attrs.id;\n        var hash = {\n          type: this.typeKeyForModel(model),\n          id: model.id,\n          attributes: attrs\n        };\n        return this._maybeAddRelationshipsToResourceObjectForModel(hash, model);\n      }\n    }, {\n      key: \"_maybeAddRelationshipsToResourceObjectForModel\",\n      value: function _maybeAddRelationshipsToResourceObjectForModel(hash, model) {\n        var _this5 = this;\n\n        var relationships = model.associationKeys.reduce(function (relationships, key) {\n          var relationship = model[key];\n\n          var relationshipKey = _this5.keyForRelationship(key);\n\n          var relationshipHash = {};\n\n          if (_this5.hasLinksForRelationship(model, key)) {\n            var serializer = _this5.serializerFor(model.modelName);\n\n            var links = serializer.links(model);\n            relationshipHash.links = links[key];\n          }\n\n          if (_this5.alwaysIncludeLinkageData || _this5.shouldIncludeLinkageData(key, model) || _this5._relationshipIsIncludedForModel(key, model)) {\n            var data = null;\n\n            if (_this5.isModel(relationship)) {\n              data = {\n                type: _this5.typeKeyForModel(relationship),\n                id: relationship.id\n              };\n            } else if (_this5.isCollection(relationship)) {\n              data = relationship.models.map(function (model) {\n                return {\n                  type: _this5.typeKeyForModel(model),\n                  id: model.id\n                };\n              });\n            }\n\n            relationshipHash.data = data;\n          }\n\n          if (!(0, _isEmpty2.default)(relationshipHash)) {\n            relationships[relationshipKey] = relationshipHash;\n          }\n\n          return relationships;\n        }, {});\n\n        if (!(0, _isEmpty2.default)(relationships)) {\n          hash.relationships = relationships;\n        }\n\n        return hash;\n      }\n    }, {\n      key: \"hasLinksForRelationship\",\n      value: function hasLinksForRelationship(model, relationshipKey) {\n        var serializer = this.serializerFor(model.modelName);\n        var links = serializer.links(model);\n        return links && links[relationshipKey] != null;\n      }\n      /*\n        This code (and a lot of this serializer) need to be re-worked according to\n        the graph logic...\n      */\n\n    }, {\n      key: \"_relationshipIsIncludedForModel\",\n      value: function _relationshipIsIncludedForModel(relationshipKey, model) {\n        if (this.hasQueryParamIncludes()) {\n          var graph = this.request._includesGraph;\n\n          var graphKey = this._graphKeyForModel(model); // Find the resource in the graph\n\n\n          var graphResource; // Check primary data\n\n          if (graph.data[graphKey]) {\n            graphResource = graph.data[graphKey]; // Check includes\n          } else if (graph.included[(0, _inflector.pluralize)(model.modelName)]) {\n            graphResource = graph.included[(0, _inflector.pluralize)(model.modelName)][graphKey];\n          } // If the model's in the graph, check if relationshipKey should be included\n\n\n          return graphResource && graphResource.relationships && graphResource.relationships.hasOwnProperty((0, _inflector.dasherize)(relationshipKey));\n        } else {\n          var relationshipPaths = this.getKeysForIncluded();\n          return relationshipPaths.includes(relationshipKey);\n        }\n      }\n      /*\n        This is needed for _relationshipIsIncludedForModel - see the note there for\n        more background.\n         If/when we can refactor this serializer, the logic in this method would\n        probably be the basis for the new overall json/graph creation.\n      */\n\n    }, {\n      key: \"_createRequestedIncludesGraph\",\n      value: function _createRequestedIncludesGraph(primaryResource) {\n        var _this6 = this;\n\n        var secondaryResource = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n        var graph = {\n          data: {}\n        };\n\n        if (this.isModel(primaryResource)) {\n          var primaryResourceKey = this._graphKeyForModel(primaryResource);\n\n          graph.data[primaryResourceKey] = {};\n\n          this._addPrimaryModelToRequestedIncludesGraph(graph, primaryResource);\n        } else if (this.isCollection(primaryResource)) {\n          primaryResource.models.forEach(function (model) {\n            var primaryResourceKey = _this6._graphKeyForModel(model);\n\n            graph.data[primaryResourceKey] = {};\n\n            _this6._addPrimaryModelToRequestedIncludesGraph(graph, model);\n          });\n        } // Hack :/ Need to think of a better palce to put this if\n        // refactoring json:api serializer.\n\n\n        this.request._includesGraph = graph;\n      }\n    }, {\n      key: \"_addPrimaryModelToRequestedIncludesGraph\",\n      value: function _addPrimaryModelToRequestedIncludesGraph(graph, model) {\n        var _this7 = this;\n\n        if (this.hasQueryParamIncludes()) {\n          var graphKey = this._graphKeyForModel(model);\n\n          var queryParamIncludes = this.getQueryParamIncludes();\n          queryParamIncludes.split(',').forEach(function (includesPath) {\n            // includesPath is post.comments, for example\n            graph.data[graphKey].relationships = graph.data[graphKey].relationships || {};\n            var relationshipKeys = includesPath.split('.').map(_inflector.dasherize);\n            var relationshipKey = relationshipKeys[0];\n            var graphRelationshipKey = relationshipKey;\n            var normalizedRelationshipKey = (0, _inflector.camelize)(relationshipKey);\n            var hasAssociation = model.associationKeys.includes(normalizedRelationshipKey);\n            (0, _assert.default)(hasAssociation, \"You tried to include \\\"\".concat(relationshipKey, \"\\\" with \").concat(model, \" but no association named \\\"\").concat(normalizedRelationshipKey, \"\\\" is defined on the model.\"));\n            var relationship = model[normalizedRelationshipKey];\n            var relationshipData;\n\n            if (_this7.isModel(relationship)) {\n              relationshipData = _this7._graphKeyForModel(relationship);\n            } else if (_this7.isCollection(relationship)) {\n              relationshipData = relationship.models.map(_this7._graphKeyForModel);\n            } else {\n              relationshipData = null;\n            }\n\n            graph.data[graphKey].relationships[graphRelationshipKey] = relationshipData;\n\n            if (relationship) {\n              _this7._addResourceToRequestedIncludesGraph(graph, relationship, relationshipKeys.slice(1));\n            }\n          });\n        }\n      }\n    }, {\n      key: \"_addResourceToRequestedIncludesGraph\",\n      value: function _addResourceToRequestedIncludesGraph(graph, resource, relationshipNames) {\n        var _this8 = this;\n\n        graph.included = graph.included || {};\n        var models = this.isCollection(resource) ? resource.models : [resource];\n        models.forEach(function (model) {\n          var collectionName = (0, _inflector.pluralize)(model.modelName);\n          graph.included[collectionName] = graph.included[collectionName] || {};\n\n          _this8._addModelToRequestedIncludesGraph(graph, model, relationshipNames);\n        });\n      }\n    }, {\n      key: \"_addModelToRequestedIncludesGraph\",\n      value: function _addModelToRequestedIncludesGraph(graph, model, relationshipNames) {\n        var collectionName = (0, _inflector.pluralize)(model.modelName);\n\n        var resourceKey = this._graphKeyForModel(model);\n\n        graph.included[collectionName][resourceKey] = graph.included[collectionName][resourceKey] || {};\n\n        if (relationshipNames.length) {\n          this._addResourceRelationshipsToRequestedIncludesGraph(graph, collectionName, resourceKey, model, relationshipNames);\n        }\n      }\n      /*\n        Lot of the same logic here from _addPrimaryModelToRequestedIncludesGraph, could refactor & share\n      */\n\n    }, {\n      key: \"_addResourceRelationshipsToRequestedIncludesGraph\",\n      value: function _addResourceRelationshipsToRequestedIncludesGraph(graph, collectionName, resourceKey, model, relationshipNames) {\n        graph.included[collectionName][resourceKey].relationships = graph.included[collectionName][resourceKey].relationships || {};\n        var relationshipName = relationshipNames[0];\n        var relationship = model[(0, _inflector.camelize)(relationshipName)];\n        var relationshipData;\n\n        if (this.isModel(relationship)) {\n          relationshipData = this._graphKeyForModel(relationship);\n        } else if (this.isCollection(relationship)) {\n          relationshipData = relationship.models.map(this._graphKeyForModel);\n        }\n\n        graph.included[collectionName][resourceKey].relationships[relationshipName] = relationshipData;\n\n        if (relationship) {\n          this._addResourceToRequestedIncludesGraph(graph, relationship, relationshipNames.slice(1));\n        }\n      }\n    }, {\n      key: \"_graphKeyForModel\",\n      value: function _graphKeyForModel(model) {\n        return \"\".concat(model.modelName, \":\").concat(model.id);\n      }\n    }, {\n      key: \"getQueryParamIncludes\",\n      value: function getQueryParamIncludes() {\n        return (0, _get2.default)(this, 'request.queryParams.include');\n      }\n    }, {\n      key: \"hasQueryParamIncludes\",\n      value: function hasQueryParamIncludes() {\n        return !!this.getQueryParamIncludes();\n      }\n      /**\n        Used to customize the `type` field of the document. By default, pluralizes and dasherizes the model's `modelName`.\n         For example, the JSON:API document for a `blogPost` model would be:\n         ```js\n        {\n          data: {\n            id: 1,\n            type: 'blog-posts'\n          }\n        }\n        ```\n         @method typeKeyForModel\n        @param {Model} model\n        @return {String}\n        @public\n      */\n\n    }, {\n      key: \"typeKeyForModel\",\n      value: function typeKeyForModel(model) {\n        return (0, _inflector.dasherize)((0, _inflector.pluralize)(model.modelName));\n      }\n    }, {\n      key: \"getCoalescedIds\",\n      value: function getCoalescedIds(request) {\n        var ids = request.queryParams && request.queryParams['filter[id]'];\n\n        if (typeof ids === 'string') {\n          return ids.split(',');\n        }\n\n        return ids;\n      }\n      /**\n        Allows for per-relationship inclusion of linkage data. Use this when `alwaysIncludeLinkageData` is not granular enough.\n         ```js\n        export default JSONAPISerializer.extend({\n          shouldIncludeLinkageData(relationshipKey, model) {\n            if (relationshipKey === 'author' || relationshipKey === 'ghostWriter') {\n              return true;\n            }\n            return false;\n          }\n        });\n        ```\n         @method shouldIncludeLinkageData\n        @param {String} relationshipKey\n        @param {Model} model\n        @return {Boolean}\n        @public\n      */\n\n    }, {\n      key: \"shouldIncludeLinkageData\",\n      value: function shouldIncludeLinkageData(relationshipKey, model) {\n        return false;\n      }\n    }]);\n    return JSONAPISerializer;\n  }(_serializer.default);\n\n  JSONAPISerializer.prototype.alwaysIncludeLinkageData = false;\n  var _default = JSONAPISerializer;\n  _exports.default = _default;\n});","define(\"ember-cli-mirage/serializers/rest-serializer\", [\"exports\", \"ember-cli-mirage/serializers/active-model-serializer\", \"ember-cli-mirage/utils/inflector\"], function (_exports, _activeModelSerializer, _inflector) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = _activeModelSerializer.default.extend({\n    serializeIds: 'always',\n    keyForModel: function keyForModel(type) {\n      return (0, _inflector.camelize)(type);\n    },\n    keyForAttribute: function keyForAttribute(attr) {\n      return (0, _inflector.camelize)(attr);\n    },\n    keyForRelationship: function keyForRelationship(type) {\n      return (0, _inflector.camelize)((0, _inflector.pluralize)(type));\n    },\n    keyForEmbeddedRelationship: function keyForEmbeddedRelationship(attributeName) {\n      return (0, _inflector.camelize)(attributeName);\n    },\n    keyForRelationshipIds: function keyForRelationshipIds(type) {\n      return (0, _inflector.camelize)((0, _inflector.pluralize)(type));\n    },\n    keyForForeignKey: function keyForForeignKey(relationshipName) {\n      return (0, _inflector.camelize)((0, _inflector.singularize)(relationshipName));\n    },\n    getCoalescedIds: function getCoalescedIds(request) {\n      return request.queryParams && request.queryParams.ids;\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-cli-mirage/server\", [\"exports\", \"@babel/runtime/helpers/esm/toConsumableArray\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/createClass\", \"@babel/runtime/helpers/esm/slicedToArray\", \"@babel/runtime/helpers/esm/typeof\", \"ember-cli-mirage/utils/inflector\", \"ember-cli-mirage/utils/normalize-name\", \"ember-cli-mirage/ember-data\", \"ember-cli-mirage/utils/ember-data\", \"ember-cli-mirage/utils/is-association\", \"pretender\", \"ember-cli-mirage/db\", \"ember-cli-mirage/orm/schema\", \"ember-cli-mirage/assert\", \"ember-cli-mirage/serializer-registry\", \"ember-cli-mirage/route-handler\", \"ember-cli-mirage/orm/associations/belongs-to\", \"lodash/pick\", \"lodash/assign\", \"lodash/find\", \"lodash/isPlainObject\", \"lodash/isInteger\"], function (_exports, _toConsumableArray2, _classCallCheck2, _createClass2, _slicedToArray2, _typeof2, _inflector, _normalizeName, _emberData, _emberData2, _isAssociation, _pretender, _db, _schema, _assert, _serializerRegistry, _routeHandler, _belongsTo, _pick2, _assign2, _find2, _isPlainObject2, _isInteger2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.defaultPassthroughs = void 0;\n\n  /* eslint no-console: 0 */\n\n  /**\n   * Creates a new Pretender instance.\n   *\n   * @method createPretender\n   * @param {Server} server\n   * @return {Object} A new Pretender instance.\n   * @public\n   */\n  function createPretender(server) {\n    return new _pretender.default(function () {\n      this.passthroughRequest = function (verb, path, request) {\n        if (server.shouldLog()) {\n          console.log(\"Passthrough request: \".concat(verb.toUpperCase(), \" \").concat(request.url));\n        }\n      };\n\n      this.handledRequest = function (verb, path, request) {\n        if (server.shouldLog()) {\n          console.groupCollapsed(\"Mirage: [\".concat(request.status, \"] \").concat(verb.toUpperCase(), \" \").concat(request.url));\n          var requestBody = request.requestBody,\n              responseText = request.responseText;\n          var loggedRequest, loggedResponse;\n\n          try {\n            loggedRequest = JSON.parse(requestBody);\n          } catch (e) {\n            loggedRequest = requestBody;\n          }\n\n          try {\n            loggedResponse = JSON.parse(responseText);\n          } catch (e) {\n            loggedResponse = responseText;\n          }\n\n          console.log({\n            request: loggedRequest,\n            response: loggedResponse,\n            raw: request\n          });\n          console.groupEnd();\n        }\n      };\n\n      this.unhandledRequest = function (verb, path) {\n        path = decodeURI(path);\n        (0, _assert.default)(\"Your Ember app tried to \".concat(verb, \" '\").concat(path, \"', but there was no route defined to handle this request. Define a route that matches this path in your mirage/config.js file. Did you forget to add your namespace?\"));\n      };\n    }, {\n      trackRequests: server.shouldTrackRequests()\n    });\n  }\n\n  var defaultRouteOptions = {\n    coalesce: false,\n    timing: undefined\n  };\n  /**\n    @hide\n  */\n\n  var defaultPassthroughs = ['http://localhost:0/chromecheckurl', // mobile chrome\n  'http://localhost:30820/socket.io' // electron\n  ];\n  /**\n    @hide\n  */\n\n  _exports.defaultPassthroughs = defaultPassthroughs;\n\n  /**\n   * Determine if the object contains a valid option.\n   *\n   * @method isOption\n   * @param {Object} option An object with one option value pair.\n   * @return {Boolean} True if option is a valid option, false otherwise.\n   * @private\n   */\n  function isOption(option) {\n    if (!option || (0, _typeof2.default)(option) !== 'object') {\n      return false;\n    }\n\n    var allOptions = Object.keys(defaultRouteOptions);\n    var optionKeys = Object.keys(option);\n\n    for (var i = 0; i < optionKeys.length; i++) {\n      var key = optionKeys[i];\n\n      if (allOptions.indexOf(key) > -1) {\n        return true;\n      }\n    }\n\n    return false;\n  }\n  /**\n   * Extract arguments for a route.\n   *\n   * @method extractRouteArguments\n   * @param {Array} args Of the form [options], [object, code], [function, code]\n   * [shorthand, options], [shorthand, code, options]\n   * @return {Array} [handler (i.e. the function, object or shorthand), code,\n   * options].\n   * @private\n   */\n\n\n  function extractRouteArguments(args) {\n    var _args$splice = args.splice(-1),\n        _args$splice2 = (0, _slicedToArray2.default)(_args$splice, 1),\n        lastArg = _args$splice2[0];\n\n    if (isOption(lastArg)) {\n      lastArg = (0, _assign2.default)({}, defaultRouteOptions, lastArg);\n    } else {\n      args.push(lastArg);\n      lastArg = defaultRouteOptions;\n    }\n\n    var t = 2 - args.length;\n\n    while (t-- > 0) {\n      args.push(undefined);\n    }\n\n    args.push(lastArg);\n    return args;\n  }\n  /**\n    The Mirage server.\n  \n    Note that `this` within your config function in `mirage/config.js` refers to the server instance, which is the same instance that `server` refers to in your tests.\n  \n    @class Server\n    @public\n  */\n\n\n  var Server =\n  /*#__PURE__*/\n  function () {\n    function Server() {\n      var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n      (0, _classCallCheck2.default)(this, Server);\n      this.config(options);\n      /**\n        Returns the Mirage Db instance.\n         @property db\n        @return Db\n      */\n\n      this.db = this.db || undefined;\n      /**\n        Returns the Mirage Schema (ORM) instance.\n         @property schema\n        @return Schema\n      */\n\n      this.schema = this.schema || undefined;\n    }\n\n    (0, _createClass2.default)(Server, [{\n      key: \"config\",\n      value: function config() {\n        var _config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n        var didOverrideConfig = _config.environment && this.environment && this.environment !== _config.environment;\n        (0, _assert.default)(!didOverrideConfig, 'You cannot modify Mirage\\'s environment once the server is created');\n        this.environment = _config.environment || this.environment || 'development';\n        this._config = _config;\n        /**\n          Set the base namespace used for all routes defined with `get`, `post`, `put` or `del`.\n           For example,\n           ```js\n          // mirage/config.js\n          export default function() {\n            this.namespace = '/api';\n             // this route will handle the URL '/api/contacts'\n            this.get('/contacts', 'contacts');\n          };\n          ```\n           Note that only routes defined after `this.namespace` are affected. This is useful if you have a few one-off routes that you don't want under your namespace:\n           ```js\n          // mirage/config.js\n          export default function() {\n             // this route handles /auth\n            this.get('/auth', function() { ...});\n             this.namespace = '/api';\n            // this route will handle the URL '/api/contacts'\n            this.get('/contacts', 'contacts');\n          };\n          ```\n           If your Ember app is loaded from the filesystem vs. a server (e.g. via Cordova or Electron vs. `ember s` or `https://yourhost.com/`), you will need to explicitly define a namespace. Likely values are `/` (if requests are made with relative paths) or `https://yourhost.com/api/...` (if requests are made to a defined server).\n           For a sample implementation leveraging a configured API host & namespace, check out [this issue comment](https://github.com/samselikoff/ember-cli-mirage/issues/497#issuecomment-183458721).\n           @property namespace\n          @type String\n          @public\n        */\n\n        this.namespace = this.namespace || _config.namespace || '';\n        /**\n          Sets a string to prefix all route handler URLs with.\n           Useful if your Ember app makes API requests to a different port.\n           ```js\n          // mirage/config.js\n          export default function() {\n            this.urlPrefix = 'http://localhost:8080'\n          };\n          ```\n        */\n\n        this.urlPrefix = this.urlPrefix || _config.urlPrefix || '';\n        /**\n          Set the number of milliseconds for the the Server's response time.\n           By default there's a 400ms delay during development, and 0 delay in testing (so your tests run fast).\n           ```js\n          // mirage/config.js\n          export default function() {\n            this.timing = 400; // default\n          };\n          ```\n           To set the timing for individual routes, see the `timing` option for route handlers.\n           @property timing\n          @type Number\n          @public\n        */\n\n        this.timing = this.timing || _config.timing || 400;\n        /**\n          Set to `true` or `false` to explicitly specify logging behavior.\n           By default, server responses are logged in non-testing environments. Logging is disabled by default in testing, so as not to clutter CI test runner output.\n           For example, to enable logging in tests, write the following:\n           ```js\n          test('I can view all users', function() {\n            server.logging = true;\n            server.create('user');\n             visit('/users');\n            // ...\n          });\n          ```\n           You can also write a custom log message, using the [Pretender server's](#pretender) `handledRequest` hook. See [Mirage's default implementation](https://github.com/samselikoff/ember-cli-mirage/blob/2c31ad15a46e90b357a83b6896c6774fa42c6488/addon/server.js#L25) for an example.\n           To override,\n           ```js\n          // mirage/config.js\n          export default function() {\n            this.pretender.handledRequest = function(verb, path, request) {\n              let { responseText } = request;\n              // log request and response data\n            }\n          }\n          ```\n           @property logging\n          @return {Boolean}\n          @public\n        */\n\n        this.logging = this.logging || undefined;\n        /**\n          Export a named `testConfig` function to define routes that only apply in your test environment:\n           ```js\n          // mirage/config.js\n          export default function() {\n            // normal config, shared across development + testing\n          }\n           export function testConfig() {\n            // test-only config, does not apply to development\n          }\n          ```\n           This could be useful if you'd like to use Mirage in testing, but generally proxy to an actual API during development. As you develop, your frontend may be ahead of your API, in which case you'd work with the routes in the default config, and write your tests. Then, once your API implements the new endpoints, you can move the routes to your testConfig, so your tests still run, but Mirage doesn't interfere during development.\n        */\n\n        this.testConfig = this.testConfig || undefined;\n        this.trackRequests = _config.trackRequests;\n\n        this._defineRouteHandlerHelpers(); // Merge models from autogenerated Ember Data models with user defined models\n\n\n        if (_emberData2.hasEmberData && _config.discoverEmberDataModels) {\n          var models = {};\n          (0, _assign2.default)(models, (0, _emberData.getModels)(), _config.models || {});\n          _config.models = models;\n        }\n\n        if (this.db) {\n          this.db.registerIdentityManagers(_config.identityManagers);\n        } else {\n          this.db = new _db.default(undefined, _config.identityManagers);\n        }\n\n        if (this.schema) {\n          this.schema.registerModels(_config.models);\n          this.serializerOrRegistry.registerSerializers(_config.serializers || {});\n        } else {\n          this.schema = new _schema.default(this.db, _config.models);\n          this.serializerOrRegistry = new _serializerRegistry.default(this.schema, _config.serializers);\n        }\n\n        var hasFactories = this._hasModulesOfType(_config, 'factories');\n\n        var hasDefaultScenario = _config.scenarios && _config.scenarios.hasOwnProperty('default');\n\n        var didOverridePretenderConfig = _config.trackRequests !== undefined && this.pretender;\n        (0, _assert.default)(!didOverridePretenderConfig, 'You cannot modify Pretender\\'s request tracking once the server is created');\n        /**\n          Mirage uses [pretender.js](https://github.com/trek/pretender) as its xhttp interceptor. In your Mirage config, `this.pretender` refers to the actual Pretender instance, so any config options that work there will work here as well.\n           ```js\n          // mirage/config.js\n          export default function() {\n            this.pretender.handledRequest = (verb, path, request) => {\n              console.log(`Your server responded to ${path}`);\n            }\n          };\n          ```\n           Refer to [Pretender's docs](https://github.com/pretenderjs/pretender) if you want to change any options on your Pretender instance.\n           @property pretender\n          @return {Object} The Pretender instance\n          @public\n        */\n\n        this.pretender = this.pretender || _config.pretender || createPretender(this);\n\n        if (_config.baseConfig) {\n          this.loadConfig(_config.baseConfig);\n        }\n\n        if (this.isTest()) {\n          if (_config.testConfig) {\n            this.loadConfig(_config.testConfig);\n          }\n\n          window.server = this; // TODO: Better way to inject server into test env\n        }\n\n        if (this.isTest() && hasFactories) {\n          this.loadFactories(_config.factories);\n        } else if (!this.isTest() && hasDefaultScenario) {\n          this.loadFactories(_config.factories);\n\n          _config.scenarios.default(this);\n        } else {\n          this.loadFixtures();\n        }\n\n        if (_config.useDefaultPassthroughs) {\n          this._configureDefaultPassthroughs();\n        }\n      }\n      /**\n       * Determines if the current environment is the testing environment.\n       *\n       * @method isTest\n       * @return {Boolean} True if the environment is 'test', false otherwise.\n       * @public\n       * @hide\n       */\n\n    }, {\n      key: \"isTest\",\n      value: function isTest() {\n        return this.environment === 'test';\n      }\n      /**\n        Determines if the server should log.\n         @method shouldLog\n        @return The value of this.logging if defined, or false if in the testing environment,\n        true otherwise.\n        @public\n        @hide\n      */\n\n    }, {\n      key: \"shouldLog\",\n      value: function shouldLog() {\n        return typeof this.logging !== 'undefined' ? this.logging : !this.isTest();\n      }\n      /**\n       * Determines if the server should track requests.\n       *\n       * @method shouldTrackRequests\n       * @return The value of this.trackRequests if defined, false otherwise.\n       * @public\n       * @hide\n       */\n\n    }, {\n      key: \"shouldTrackRequests\",\n      value: function shouldTrackRequests() {\n        return Boolean(this.trackRequests);\n      }\n      /**\n       * Load the configuration given, setting timing to 0 if in the test\n       * environment.\n       *\n       * @method loadConfig\n       * @param {Object} config The configuration to load.\n       * @public\n       * @hide\n       */\n\n    }, {\n      key: \"loadConfig\",\n      value: function loadConfig(config) {\n        config.call(this);\n        this.timing = this.isTest() ? 0 : this.timing || 0;\n      }\n      /**\n        By default, if your Ember app makes a request that is not defined in your server config, Mirage will throw an error. You can use `passthrough` to whitelist requests, and allow them to pass through your Mirage server to the actual network layer.\n         <aside>\n        <p>Note: Put all passthrough config at the bottom of your <code>config.js</code> file, to give your route handlers precedence.</p>\n        </aside>\n         To ignore paths on your current host (as well as configured `namespace`), use a leading `/`:\n         ```js\n        this.passthrough('/addresses');\n        ```\n         You can also pass a list of paths, or call `passthrough` multiple times:\n         ```js\n        this.passthrough('/addresses', '/contacts');\n        this.passthrough('/something');\n        this.passthrough('/else');\n        ```\n         These lines will allow all HTTP verbs to pass through. If you want only certain verbs to pass through, pass an array as the last argument with the specified verbs:\n         ```js\n        this.passthrough('/addresses', ['post']);\n        this.passthrough('/contacts', '/photos', ['get']);\n        ```\n         If you want all requests on the current domain to pass through, simply invoke the method with no arguments:\n         ```js\n        this.passthrough();\n        ```\n         Note again that the current namespace (i.e. any `namespace` property defined above this call) will be applied.\n         You can also allow other-origin hosts to passthrough. If you use a fully-qualified domain name, the `namespace` property will be ignored. Use two * wildcards to match all requests under a path:\n         ```js\n        this.passthrough('http://api.foo.bar/**');\n        this.passthrough('http://api.twitter.com/v1/cards/**');\n        ```\n         In versions of Pretender prior to 0.12, `passthrough` only worked with jQuery >= 2.x. As long as you're on Pretender@0.12 or higher, you should be all set.\n         @method passthrough\n        @param {String} [...paths] Any numer of paths to whitelist\n        @param {Array} options Unused\n        @public\n      */\n\n    }, {\n      key: \"passthrough\",\n      value: function passthrough() {\n        var _this = this;\n\n        for (var _len = arguments.length, paths = new Array(_len), _key = 0; _key < _len; _key++) {\n          paths[_key] = arguments[_key];\n        }\n\n        var verbs = ['get', 'post', 'put', 'delete', 'patch', 'options', 'head'];\n        var lastArg = paths[paths.length - 1];\n\n        if (paths.length === 0) {\n          // paths = ['http://localhost:7357'];\n          paths = ['/**', '/'];\n        } else if (Array.isArray(lastArg)) {\n          verbs = paths.pop();\n        }\n\n        verbs.forEach(function (verb) {\n          paths.forEach(function (path) {\n            var fullPath = _this._getFullPath(path);\n\n            _this.pretender[verb](fullPath, _this.pretender.passthrough);\n          });\n        });\n      }\n      /**\n        By default, all the data files under `/fixtures` will be loaded during testing if you don't have factories defined, and during development if you don't have `/scenarios/default.js` defined. You can use `loadFixtures()` to also load fixture files in either of these environments, in addition to using factories to seed your database.\n         `server.loadFixtures()` loads all the files, and `server.loadFixtures(file1, file2...)` loads selective fixture files.\n         For example, in a test you may want to start out with all your fixture data loaded:\n         ```js\n        test('I can view the photos', function() {\n          server.loadFixtures();\n          server.createList('photo', 10);\n           visit('/');\n           andThen(() => {\n            equal( find('img').length, 10 );\n          });\n        });\n        ```\n         or in development, you may want to load a few reference fixture files, and use factories to define the rest of your data:\n         ```js\n        // scenarios/default.js\n        export default function(server) {\n          server.loadFixtures('countries', 'states');\n           let author = server.create('author');\n          server.createList('post', 10, {author_id: author.id});\n        }\n        ```\n         @method loadFixtures\n        @param {String} [...args] The name of the fixture to load.\n        @public\n      */\n\n    }, {\n      key: \"loadFixtures\",\n      value: function loadFixtures() {\n        var fixtures = this._config.fixtures;\n\n        for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n          args[_key2] = arguments[_key2];\n        }\n\n        if (args.length) {\n          var camelizedArgs = args.map(_inflector.camelize);\n          fixtures = _pick2.default.apply(void 0, [fixtures].concat((0, _toConsumableArray2.default)(camelizedArgs)));\n        }\n\n        this.db.loadData(fixtures);\n      }\n      /*\n        Factory methods\n      */\n\n      /**\n       * Load factories into Mirage's database.\n       *\n       * @method loadFactories\n       * @param {Object} factoryMap\n       * @public\n       * @hide\n       */\n\n    }, {\n      key: \"loadFactories\",\n      value: function loadFactories() {\n        var _this2 = this;\n\n        var factoryMap = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n        // Store a reference to the factories\n        var currentFactoryMap = this._factoryMap || {};\n        this._factoryMap = (0, _assign2.default)(currentFactoryMap, factoryMap); // Create a collection for each factory\n\n        Object.keys(factoryMap).forEach(function (type) {\n          var collectionName = (0, _normalizeName.toCollectionName)(type);\n\n          _this2.db.createCollection(collectionName);\n        });\n      }\n      /**\n       * Get the factory for a given type.\n       *\n       * @method factoryFor\n       * @param {String} type\n       * @private\n       * @hide\n       */\n\n    }, {\n      key: \"factoryFor\",\n      value: function factoryFor(type) {\n        var camelizedType = (0, _inflector.camelize)(type);\n\n        if (this._factoryMap && this._factoryMap[camelizedType]) {\n          return this._factoryMap[camelizedType];\n        }\n      }\n    }, {\n      key: \"build\",\n      value: function build(type) {\n        for (var _len3 = arguments.length, traitsAndOverrides = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {\n          traitsAndOverrides[_key3 - 1] = arguments[_key3];\n        }\n\n        var traits = traitsAndOverrides.filter(function (arg) {\n          return arg && typeof arg === 'string';\n        });\n        var overrides = (0, _find2.default)(traitsAndOverrides, function (arg) {\n          return (0, _isPlainObject2.default)(arg);\n        });\n        var camelizedType = (0, _inflector.camelize)(type); // Store sequence for factory type as instance variable\n\n        this.factorySequences = this.factorySequences || {};\n        this.factorySequences[camelizedType] = this.factorySequences[camelizedType] + 1 || 0;\n        var OriginalFactory = this.factoryFor(type);\n\n        if (OriginalFactory) {\n          OriginalFactory = OriginalFactory.extend({});\n          var attrs = OriginalFactory.attrs || {};\n\n          this._validateTraits(traits, OriginalFactory, type);\n\n          var mergedExtensions = this._mergeExtensions(attrs, traits, overrides);\n\n          this._mapAssociationsFromAttributes(type, attrs, overrides);\n\n          this._mapAssociationsFromAttributes(type, mergedExtensions);\n\n          var Factory = OriginalFactory.extend(mergedExtensions);\n          var factory = new Factory();\n          var sequence = this.factorySequences[camelizedType];\n          return factory.build(sequence);\n        } else {\n          return overrides;\n        }\n      }\n    }, {\n      key: \"buildList\",\n      value: function buildList(type, amount) {\n        (0, _assert.default)((0, _isInteger2.default)(amount), \"second argument has to be an integer, you passed: \".concat((0, _typeof2.default)(amount)));\n        var list = [];\n\n        for (var _len4 = arguments.length, traitsAndOverrides = new Array(_len4 > 2 ? _len4 - 2 : 0), _key4 = 2; _key4 < _len4; _key4++) {\n          traitsAndOverrides[_key4 - 2] = arguments[_key4];\n        }\n\n        for (var i = 0; i < amount; i++) {\n          list.push(this.build.apply(this, [type].concat(traitsAndOverrides)));\n        }\n\n        return list;\n      }\n      /**\n        Generates a single model of type *type*, inserts it into the database (giving it an id), and returns the data that was\n        added.\n         ```js\n        test(\"I can view a contact's details\", function() {\n          var contact = server.create('contact');\n           visit('/contacts/' + contact.id);\n           andThen(() => {\n            equal( find('h1').text(), 'The contact is Link');\n          });\n        });\n        ```\n         You can override the attributes from the factory definition with a\n        hash passed in as the second parameter. For example, if we had this factory\n         ```js\n        export default Factory.extend({\n          name: 'Link'\n        });\n        ```\n         we could override the name like this:\n         ```js\n        test(\"I can view the contacts\", function() {\n          server.create('contact', {name: 'Zelda'});\n           visit('/');\n           andThen(() => {\n            equal( find('p').text(), 'Zelda' );\n          });\n        });\n        ```\n         @method create\n        @param type the singularized type of the model\n        @param traitsAndOverrides\n        @public\n      */\n\n    }, {\n      key: \"create\",\n      value: function create(type) {\n        var _this3 = this;\n\n        (0, _assert.default)(this._modelOrFactoryExistsForType(type), \"You called server.create('\".concat(type, \"') but no model or factory was found. Make sure you're passing in the singularized version of the model or factory name.\")); // When there is a Model defined, we should return an instance\n        // of it instead of returning the bare attributes.\n\n        for (var _len5 = arguments.length, options = new Array(_len5 > 1 ? _len5 - 1 : 0), _key5 = 1; _key5 < _len5; _key5++) {\n          options[_key5 - 1] = arguments[_key5];\n        }\n\n        var traits = options.filter(function (arg) {\n          return arg && typeof arg === 'string';\n        });\n        var overrides = (0, _find2.default)(options, function (arg) {\n          return (0, _isPlainObject2.default)(arg);\n        });\n        var collectionFromCreateList = (0, _find2.default)(options, function (arg) {\n          return arg && Array.isArray(arg);\n        });\n        var attrs = this.build.apply(this, [type].concat((0, _toConsumableArray2.default)(traits), [overrides]));\n        var modelOrRecord;\n\n        if (this.schema && this.schema[(0, _normalizeName.toCollectionName)(type)]) {\n          var modelClass = this.schema[(0, _normalizeName.toCollectionName)(type)];\n          modelOrRecord = modelClass.create(attrs);\n        } else {\n          var collection, collectionName;\n\n          if (collectionFromCreateList) {\n            collection = collectionFromCreateList;\n          } else {\n            collectionName = this.schema ? (0, _normalizeName.toInternalCollectionName)(type) : \"_\".concat((0, _inflector.pluralize)(type));\n            collection = this.db[collectionName];\n          }\n\n          (0, _assert.default)(collection, \"You called server.create('\".concat(type, \"') but no model or factory was found.\"));\n          modelOrRecord = collection.insert(attrs);\n        }\n\n        var OriginalFactory = this.factoryFor(type);\n\n        if (OriginalFactory) {\n          OriginalFactory.extractAfterCreateCallbacks({\n            traits: traits\n          }).forEach(function (afterCreate) {\n            afterCreate(modelOrRecord, _this3);\n          });\n        }\n\n        return modelOrRecord;\n      }\n      /**\n        Creates *amount* models of type *type*, optionally overriding the attributes from the factory with *attrs*.\n         Returns the array of records that were added to the database.\n         Here's an example from a test:\n         ```js\n        test(\"I can view the contacts\", function() {\n          server.createList('contact', 5);\n          var youngContacts = server.createList('contact', 5, {age: 15});\n           visit('/');\n           andThen(function() {\n            equal(currentRouteName(), 'index');\n            equal( find('p').length, 10 );\n          });\n        });\n        ```\n         And one from setting up your development database:\n         ```js\n        // mirage/scenarios/default.js\n        export default function(server) {\n          var contact = server.create('contact');\n          server.createList('address', 5, {contactId: contact.id});\n        }\n        ```\n         @method createList\n        @param type\n        @param amount\n        @param traitsAndOverrides\n        @public\n      */\n\n    }, {\n      key: \"createList\",\n      value: function createList(type, amount) {\n        (0, _assert.default)(this._modelOrFactoryExistsForType(type), \"You called server.createList('\".concat(type, \"') but no model or factory was found. Make sure you're passing in the singularized version of the model or factory name.\"));\n        (0, _assert.default)((0, _isInteger2.default)(amount), \"second argument has to be an integer, you passed: \".concat((0, _typeof2.default)(amount)));\n        var list = [];\n        var collectionName = this.schema ? (0, _normalizeName.toInternalCollectionName)(type) : \"_\".concat((0, _inflector.pluralize)(type));\n        var collection = this.db[collectionName];\n\n        for (var _len6 = arguments.length, traitsAndOverrides = new Array(_len6 > 2 ? _len6 - 2 : 0), _key6 = 2; _key6 < _len6; _key6++) {\n          traitsAndOverrides[_key6 - 2] = arguments[_key6];\n        }\n\n        for (var i = 0; i < amount; i++) {\n          list.push(this.create.apply(this, [type].concat(traitsAndOverrides, [collection])));\n        }\n\n        return list;\n      }\n    }, {\n      key: \"shutdown\",\n      value: function shutdown() {\n        this.pretender.shutdown();\n\n        if (this.environment === 'test') {\n          window.server = undefined;\n        }\n      }\n    }, {\n      key: \"resource\",\n      value: function resource(resourceName) {\n        var _this4 = this;\n\n        var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n            only = _ref.only,\n            except = _ref.except,\n            path = _ref.path;\n\n        resourceName = (0, _inflector.pluralize)(resourceName);\n        path = path || \"/\".concat(resourceName);\n        only = only || [];\n        except = except || [];\n\n        if (only.length > 0 && except.length > 0) {\n          throw 'cannot use both :only and :except options';\n        }\n\n        var actionsMethodsAndsPathsMappings = {\n          index: {\n            methods: ['get'],\n            path: \"\".concat(path)\n          },\n          show: {\n            methods: ['get'],\n            path: \"\".concat(path, \"/:id\")\n          },\n          create: {\n            methods: ['post'],\n            path: \"\".concat(path)\n          },\n          update: {\n            methods: ['put', 'patch'],\n            path: \"\".concat(path, \"/:id\")\n          },\n          delete: {\n            methods: ['del'],\n            path: \"\".concat(path, \"/:id\")\n          }\n        };\n        var allActions = Object.keys(actionsMethodsAndsPathsMappings);\n        var actions = only.length > 0 && only || except.length > 0 && allActions.filter(function (action) {\n          return except.indexOf(action) === -1;\n        }) || allActions;\n        actions.forEach(function (action) {\n          var methodsWithPath = actionsMethodsAndsPathsMappings[action];\n          methodsWithPath.methods.forEach(function (method) {\n            return path === resourceName ? _this4[method](methodsWithPath.path) : _this4[method](methodsWithPath.path, resourceName);\n          });\n        });\n      }\n      /**\n       *\n       * @private\n       * @hide\n       */\n\n    }, {\n      key: \"_defineRouteHandlerHelpers\",\n      value: function _defineRouteHandlerHelpers() {\n        var _this5 = this;\n\n        [['get'], ['post'], ['put'], ['delete', 'del'], ['patch'], ['head'], ['options']].forEach(function (_ref2) {\n          var _ref3 = (0, _slicedToArray2.default)(_ref2, 2),\n              verb = _ref3[0],\n              alias = _ref3[1];\n\n          _this5[verb] = function (path) {\n            for (var _len7 = arguments.length, args = new Array(_len7 > 1 ? _len7 - 1 : 0), _key7 = 1; _key7 < _len7; _key7++) {\n              args[_key7 - 1] = arguments[_key7];\n            }\n\n            var _extractRouteArgument = extractRouteArguments(args),\n                _extractRouteArgument2 = (0, _slicedToArray2.default)(_extractRouteArgument, 3),\n                rawHandler = _extractRouteArgument2[0],\n                customizedCode = _extractRouteArgument2[1],\n                options = _extractRouteArgument2[2];\n\n            return _this5._registerRouteHandler(verb, path, rawHandler, customizedCode, options);\n          };\n\n          if (alias) {\n            _this5[alias] = _this5[verb];\n          }\n        });\n      }\n    }, {\n      key: \"_serialize\",\n      value: function _serialize(body) {\n        if (typeof body === 'string') {\n          return body;\n        } else {\n          return JSON.stringify(body);\n        }\n      }\n    }, {\n      key: \"_registerRouteHandler\",\n      value: function _registerRouteHandler(verb, path, rawHandler, customizedCode, options) {\n        var _this6 = this;\n\n        var routeHandler = new _routeHandler.default({\n          schema: this.schema,\n          verb: verb,\n          rawHandler: rawHandler,\n          customizedCode: customizedCode,\n          options: options,\n          path: path,\n          serializerOrRegistry: this.serializerOrRegistry\n        });\n\n        var fullPath = this._getFullPath(path);\n\n        var timing = options.timing !== undefined ? options.timing : function () {\n          return _this6.timing;\n        };\n        return this.pretender[verb](fullPath, function (request) {\n          return routeHandler.handle(request).then(function (mirageResponse) {\n            var _mirageResponse = (0, _slicedToArray2.default)(mirageResponse, 3),\n                code = _mirageResponse[0],\n                headers = _mirageResponse[1],\n                response = _mirageResponse[2];\n\n            return [code, headers, _this6._serialize(response)];\n          });\n        }, timing);\n      }\n      /**\n       *\n       * @private\n       * @hide\n       */\n\n    }, {\n      key: \"_hasModulesOfType\",\n      value: function _hasModulesOfType(modules, type) {\n        var modulesOfType = modules[type];\n        return modulesOfType ? Object.keys(modulesOfType).length > 0 : false;\n      }\n      /**\n       * Builds a full path for Pretender to monitor based on the `path` and\n       * configured options (`urlPrefix` and `namespace`).\n       *\n       * @private\n       * @hide\n       */\n\n    }, {\n      key: \"_getFullPath\",\n      value: function _getFullPath(path) {\n        path = path[0] === '/' ? path.slice(1) : path;\n        var fullPath = '';\n        var urlPrefix = this.urlPrefix ? this.urlPrefix.trim() : '';\n        var namespace = ''; // if there is a urlPrefix and a namespace\n\n        if (this.urlPrefix && this.namespace) {\n          if (this.namespace[0] === '/' && this.namespace[this.namespace.length - 1] === '/') {\n            namespace = this.namespace.substring(0, this.namespace.length - 1).substring(1);\n          }\n\n          if (this.namespace[0] === '/' && this.namespace[this.namespace.length - 1] !== '/') {\n            namespace = this.namespace.substring(1);\n          }\n\n          if (this.namespace[0] !== '/' && this.namespace[this.namespace.length - 1] === '/') {\n            namespace = this.namespace.substring(0, this.namespace.length - 1);\n          }\n\n          if (this.namespace[0] !== '/' && this.namespace[this.namespace.length - 1] !== '/') {\n            namespace = this.namespace;\n          }\n        } // if there is a namespace and no urlPrefix\n\n\n        if (this.namespace && !this.urlPrefix) {\n          if (this.namespace[0] === '/' && this.namespace[this.namespace.length - 1] === '/') {\n            namespace = this.namespace.substring(0, this.namespace.length - 1);\n          }\n\n          if (this.namespace[0] === '/' && this.namespace[this.namespace.length - 1] !== '/') {\n            namespace = this.namespace;\n          }\n\n          if (this.namespace[0] !== '/' && this.namespace[this.namespace.length - 1] === '/') {\n            var namespaceSub = this.namespace.substring(0, this.namespace.length - 1);\n            namespace = \"/\".concat(namespaceSub);\n          }\n\n          if (this.namespace[0] !== '/' && this.namespace[this.namespace.length - 1] !== '/') {\n            namespace = \"/\".concat(this.namespace);\n          }\n        } // if no namespace\n\n\n        if (!this.namespace) {\n          namespace = '';\n        } // check to see if path is a FQDN. if so, ignore any urlPrefix/namespace that was set\n\n\n        if (/^https?:\\/\\//.test(path)) {\n          fullPath += path;\n        } else {\n          // otherwise, if there is a urlPrefix, use that as the beginning of the path\n          if (urlPrefix.length) {\n            fullPath += urlPrefix[urlPrefix.length - 1] === '/' ? urlPrefix : \"\".concat(urlPrefix, \"/\");\n          } // add the namespace to the path\n\n\n          fullPath += namespace; // add a trailing slash to the path if it doesn't already contain one\n\n          if (fullPath[fullPath.length - 1] !== '/') {\n            fullPath += '/';\n          } // finally add the configured path\n\n\n          fullPath += path; // if we're making a same-origin request, ensure a / is prepended and\n          // dedup any double slashes\n\n          if (!/^https?:\\/\\//.test(fullPath)) {\n            fullPath = \"/\".concat(fullPath);\n            fullPath = fullPath.replace(/\\/+/g, '/');\n          }\n        }\n\n        return fullPath;\n      }\n      /**\n       *\n       * @private\n       * @hide\n       */\n\n    }, {\n      key: \"_configureDefaultPassthroughs\",\n      value: function _configureDefaultPassthroughs() {\n        var _this7 = this;\n\n        defaultPassthroughs.forEach(function (passthroughUrl) {\n          _this7.passthrough(passthroughUrl);\n        });\n      }\n      /**\n       *\n       * @private\n       * @hide\n       */\n\n    }, {\n      key: \"_typeIsPluralForModel\",\n      value: function _typeIsPluralForModel(typeOrCollectionName) {\n        var modelOrFactoryExists = this._modelOrFactoryExistsForTypeOrCollectionName(typeOrCollectionName);\n\n        var isPlural = typeOrCollectionName === (0, _inflector.pluralize)(typeOrCollectionName);\n        var isUncountable = (0, _inflector.singularize)(typeOrCollectionName) === (0, _inflector.pluralize)(typeOrCollectionName);\n        return isPlural && !isUncountable && modelOrFactoryExists;\n      }\n      /**\n       *\n       * @private\n       * @hide\n       */\n\n    }, {\n      key: \"_modelOrFactoryExistsForType\",\n      value: function _modelOrFactoryExistsForType(type) {\n        var modelExists = this.schema && this.schema.modelFor((0, _inflector.camelize)(type));\n        var dbCollectionExists = this.db[(0, _normalizeName.toInternalCollectionName)(type)];\n        return (modelExists || dbCollectionExists) && !this._typeIsPluralForModel(type);\n      }\n      /**\n       *\n       * @private\n       * @hide\n       */\n\n    }, {\n      key: \"_modelOrFactoryExistsForTypeOrCollectionName\",\n      value: function _modelOrFactoryExistsForTypeOrCollectionName(typeOrCollectionName) {\n        var modelExists = this.schema && this.schema.modelFor((0, _inflector.camelize)(typeOrCollectionName));\n        var dbCollectionExists = this.db[(0, _normalizeName.toInternalCollectionName)(typeOrCollectionName)];\n        return modelExists || dbCollectionExists;\n      }\n      /**\n       *\n       * @private\n       * @hide\n       */\n\n    }, {\n      key: \"_validateTraits\",\n      value: function _validateTraits(traits, factory, type) {\n        traits.forEach(function (traitName) {\n          if (!factory.isTrait(traitName)) {\n            throw new Error(\"'\".concat(traitName, \"' trait is not registered in '\").concat(type, \"' factory\"));\n          }\n        });\n      }\n      /**\n       *\n       * @private\n       * @hide\n       */\n\n    }, {\n      key: \"_mergeExtensions\",\n      value: function _mergeExtensions(attrs, traits, overrides) {\n        var allExtensions = traits.map(function (traitName) {\n          return attrs[traitName].extension;\n        });\n        allExtensions.push(overrides || {});\n        return allExtensions.reduce(function (accum, extension) {\n          return (0, _assign2.default)(accum, extension);\n        }, {});\n      }\n      /**\n       *\n       * @private\n       * @hide\n       */\n\n    }, {\n      key: \"_mapAssociationsFromAttributes\",\n      value: function _mapAssociationsFromAttributes(modelName, attributes) {\n        var _this8 = this;\n\n        var overrides = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n        Object.keys(attributes || {}).filter(function (attr) {\n          return (0, _isAssociation.default)(attributes[attr]);\n        }).forEach(function (attr) {\n          var modelClass = _this8.schema.modelClassFor(modelName);\n\n          var association = modelClass.associationFor(attr);\n          (0, _assert.default)(association && association instanceof _belongsTo.default, \"You're using the `association` factory helper on the '\".concat(attr, \"' attribute of your \").concat(modelName, \" factory, but that attribute is not a `belongsTo` association. Read the Factories docs for more information: http://www.ember-cli-mirage.com/docs/v0.3.x/factories/#factories-and-relationships\"));\n          var isSelfReferentialBelongsTo = association && association instanceof _belongsTo.default && association.modelName === modelName;\n          (0, _assert.default)(!isSelfReferentialBelongsTo, \"You're using the association() helper on your \".concat(modelName, \" factory for \").concat(attr, \", which is a belongsTo self-referential relationship. You can't do this as it will lead to infinite recursion. You can move the helper inside of a trait and use it selectively.\"));\n          var factoryAssociation = attributes[attr];\n          var foreignKey = \"\".concat((0, _inflector.camelize)(attr), \"Id\");\n\n          if (!overrides[attr]) {\n            attributes[foreignKey] = _this8.create.apply(_this8, [association.modelName].concat((0, _toConsumableArray2.default)(factoryAssociation.traitsAndOverrides))).id;\n          }\n\n          delete attributes[attr];\n        });\n      }\n    }]);\n    return Server;\n  }();\n\n  _exports.default = Server;\n});","define(\"ember-cli-mirage/start-mirage\", [\"exports\", \"ember-cli-mirage/utils/read-modules\", \"ember-cli-mirage/server\", \"lodash/assign\"], function (_exports, _readModules, _server, _assign2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = startMirage;\n\n  /**\n    Helper to start mirage. This should not be called directly. In rfc232/rfc268\n    tests, use `setupMirage()` or the `autoboot` option in the addon config\n    in the environment. In legacy tests that call `startMirage` directly, this\n    should be called via the `startMirage` method exported from\n    `<app>/initializers/ember-cli-mirage`.\n  \n    This is intended to be called with only the `owner` argument (which would be\n    `this.owner` in an rfc232/rfc268 test, or the application instance if called\n    from an instance initializer). However, to support the legacy initializer, it\n    can instead accept a hash of the environment and config objects.\n  \n    @hide\n  */\n  function startMirage(owner) {\n    var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n        env = _ref.env,\n        baseConfig = _ref.baseConfig,\n        testConfig = _ref.testConfig;\n\n    if (!env || !baseConfig) {\n      if (!owner) {\n        throw new Error('You must pass `owner` to startMirage()');\n      }\n\n      env = env || resolveRegistration(owner, 'config:environment'); // These are set from `<app>/initializers/ember-cli-mirage`\n\n      baseConfig = baseConfig || resolveRegistration(owner, 'mirage:base-config');\n      testConfig = testConfig || resolveRegistration(owner, 'mirage:test-config');\n    }\n\n    var environment = env.environment;\n    var discoverEmberDataModels = Ember.getWithDefault(env['ember-cli-mirage'] || {}, 'discoverEmberDataModels', true);\n    var modules = (0, _readModules.default)(env.modulePrefix);\n    var options = (0, _assign2.default)(modules, {\n      environment: environment,\n      baseConfig: baseConfig,\n      testConfig: testConfig,\n      discoverEmberDataModels: discoverEmberDataModels\n    });\n    options.trackRequests = env['ember-cli-mirage'].trackRequests;\n    return new _server.default(options);\n  } // Support Ember 1.13\n\n\n  function resolveRegistration(owner) {\n    for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n      args[_key - 1] = arguments[_key];\n    }\n\n    if (owner.resolveRegistration) {\n      return owner.resolveRegistration.apply(owner, args);\n    } else if (owner.__container__) {\n      var _owner$__container__;\n\n      return (_owner$__container__ = owner.__container__).lookupFactory.apply(_owner$__container__, args);\n    } else {\n      var _owner$container;\n\n      return (_owner$container = owner.container).lookupFactory.apply(_owner$container, args);\n    }\n  }\n});","define(\"ember-cli-mirage/trait\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var trait = function trait(extension) {\n    var __isTrait__ = true;\n    return {\n      extension: extension,\n      __isTrait__: __isTrait__\n    };\n  };\n  /**\n    @hide\n  */\n\n\n  var _default = trait;\n  _exports.default = _default;\n});","define(\"ember-cli-mirage/utils/ember-data\", [\"exports\", \"lodash/find\"], function (_exports, _find2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isDsModel = isDsModel;\n  _exports.hasEmberData = void 0;\n\n  /* global requirejs */\n  function _hasEmberData() {\n    var matchRegex = /^ember-data/i;\n    return !!(0, _find2.default)(Object.keys(requirejs.entries), function (e) {\n      return !!e.match(matchRegex);\n    });\n  }\n  /**\n    @hide\n  */\n\n\n  var hasEmberData = _hasEmberData();\n  /**\n    @hide\n  */\n\n\n  _exports.hasEmberData = hasEmberData;\n\n  function isDsModel(m) {\n    return m && typeof m.eachRelationship === 'function';\n  }\n});","define(\"ember-cli-mirage/utils/extend\", [\"exports\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/possibleConstructorReturn\", \"@babel/runtime/helpers/esm/getPrototypeOf\", \"@babel/runtime/helpers/esm/assertThisInitialized\", \"@babel/runtime/helpers/esm/inherits\", \"lodash/assign\", \"lodash/has\"], function (_exports, _classCallCheck2, _possibleConstructorReturn2, _getPrototypeOf3, _assertThisInitialized2, _inherits2, _assign2, _has2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = extend;\n\n  /**\n    @hide\n  */\n  function extend(protoProps, staticProps) {\n    var Parent = this;\n\n    var Child =\n    /*#__PURE__*/\n    function (_Parent) {\n      (0, _inherits2.default)(Child, _Parent);\n\n      function Child() {\n        var _getPrototypeOf2;\n\n        var _this;\n\n        (0, _classCallCheck2.default)(this, Child);\n\n        for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n          args[_key] = arguments[_key];\n        }\n\n        _this = (0, _possibleConstructorReturn2.default)(this, (_getPrototypeOf2 = (0, _getPrototypeOf3.default)(Child)).call.apply(_getPrototypeOf2, [this].concat(args))); // The constructor function for the new subclass is optionally defined by you\n        // in your `extend` definition\n\n        if (protoProps && (0, _has2.default)(protoProps, 'constructor')) {\n          var _protoProps$construct;\n\n          (_protoProps$construct = protoProps.constructor).call.apply(_protoProps$construct, [(0, _assertThisInitialized2.default)(_this)].concat(args));\n        }\n\n        return _this;\n      }\n\n      return Child;\n    }(Parent); // Add static properties to the constructor function, if supplied.\n\n\n    (0, _assign2.default)(Child, Parent, staticProps); // Add prototype properties (instance properties) to the subclass,\n    // if supplied.\n\n    if (protoProps) {\n      (0, _assign2.default)(Child.prototype, protoProps);\n    }\n\n    return Child;\n  }\n});","define(\"ember-cli-mirage/utils/inflector\", [\"exports\", \"ember-inflector\"], function (_exports, _emberInflector) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"singularize\", {\n    enumerable: true,\n    get: function get() {\n      return _emberInflector.singularize;\n    }\n  });\n  Object.defineProperty(_exports, \"pluralize\", {\n    enumerable: true,\n    get: function get() {\n      return _emberInflector.pluralize;\n    }\n  });\n  _exports.underscore = _exports.dasherize = _exports.camelize = _exports.capitalize = void 0;\n  var capitalize = Ember.String.capitalize;\n  _exports.capitalize = capitalize;\n  var camelize = Ember.String.camelize;\n  _exports.camelize = camelize;\n  var dasherize = Ember.String.dasherize;\n  _exports.dasherize = dasherize;\n  var underscore = Ember.String.underscore;\n  _exports.underscore = underscore;\n});","define(\"ember-cli-mirage/utils/is-association\", [\"exports\", \"lodash/isPlainObject\"], function (_exports, _isPlainObject2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n\n  /**\n    @hide\n  */\n  function _default(object) {\n    return (0, _isPlainObject2.default)(object) && object.__isAssociation__ === true;\n  }\n});","define(\"ember-cli-mirage/utils/normalize-name\", [\"exports\", \"ember-cli-mirage/utils/inflector\"], function (_exports, _inflector) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.toCollectionName = toCollectionName;\n  _exports.toInternalCollectionName = toInternalCollectionName;\n  _exports.toModelName = toModelName;\n\n  /**\n    @hide\n  */\n  function toCollectionName(type) {\n    var modelName = (0, _inflector.dasherize)(type);\n    return (0, _inflector.camelize)((0, _inflector.pluralize)(modelName));\n  }\n  /**\n    @hide\n  */\n\n\n  function toInternalCollectionName(type) {\n    return \"_\".concat(toCollectionName(type));\n  }\n  /**\n    @hide\n  */\n\n\n  function toModelName(type) {\n    var modelName = (0, _inflector.dasherize)(type);\n    return (0, _inflector.singularize)(modelName);\n  }\n});","define(\"ember-cli-mirage/utils/read-modules\", [\"exports\", \"lodash/camelCase\", \"ember-cli-mirage/utils/inflector\", \"require\"], function (_exports, _camelCase2, _inflector, _require) {\n  /* global requirejs, require */\n\n  /* eslint-env node */\n  'use strict';\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n\n  /**\n    This function looks through all files that have been loaded by Ember CLI and\n    finds the ones under /mirage/[factories, fixtures, scenarios, models]/, and exports\n    a hash containing the names of the files as keys and the data as values.\n  \n    @hide\n  */\n  function _default(prefix) {\n    var modules = ['factories', 'fixtures', 'scenarios', 'models', 'serializers', 'identity-managers'];\n    var mirageModuleRegExp = new RegExp(\"^\".concat(prefix, \"/mirage/(\").concat(modules.join('|'), \")\"));\n    var modulesMap = modules.reduce(function (memo, name) {\n      memo[(0, _camelCase2.default)(name)] = {};\n      return memo;\n    }, {});\n    Object.keys(requirejs.entries).filter(function (key) {\n      return mirageModuleRegExp.test(key);\n    }).forEach(function (moduleName) {\n      if (moduleName.match('.jshint')) {\n        // ignore autogenerated .jshint files\n        return;\n      }\n\n      var moduleParts = moduleName.split('/');\n      var moduleType = (0, _camelCase2.default)(moduleParts[moduleParts.length - 2]);\n      var moduleKey = moduleParts[moduleParts.length - 1];\n      (true && !(moduleParts[moduleParts.length - 3] === 'mirage') && Ember.assert(\"Subdirectories under \".concat(moduleType, \" are not supported\"), moduleParts[moduleParts.length - 3] === 'mirage'));\n\n      if (moduleType === 'scenario') {\n        (true && !(moduleKey !== 'default') && Ember.assert('Only scenario/default.js is supported at this time.', moduleKey !== 'default'));\n      }\n      /*\n        Ensure fixture keys are pluralized\n      */\n\n\n      if (moduleType === 'fixtures') {\n        moduleKey = (0, _inflector.pluralize)(moduleKey);\n      }\n\n      var module = (0, _require.default)(moduleName, null, null, true);\n\n      if (!module) {\n        throw new Error(\"\".concat(moduleName, \" must export a \").concat(moduleType));\n      }\n\n      var data = module.default;\n      modulesMap[moduleType][(0, _camelCase2.default)(moduleKey)] = data;\n    });\n    return modulesMap;\n  }\n});","define(\"ember-cli-mirage/utils/reference-sort\", [\"exports\", \"lodash/uniq\", \"lodash/flatten\"], function (_exports, _uniq2, _flatten2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n\n  // jscs:disable disallowVar, requireArrayDestructuring\n\n  /**\n    @hide\n  */\n  function _default(edges) {\n    var nodes = (0, _uniq2.default)((0, _flatten2.default)(edges));\n    var cursor = nodes.length;\n    var sorted = new Array(cursor);\n    var visited = {};\n    var i = cursor;\n\n    var visit = function visit(node, i, predecessors) {\n      if (predecessors.indexOf(node) >= 0) {\n        throw new Error(\"Cyclic dependency in properties \".concat(JSON.stringify(predecessors)));\n      }\n\n      if (visited[i]) {\n        return;\n      } else {\n        visited[i] = true;\n      }\n\n      var outgoing = edges.filter(function (edge) {\n        return edge && edge[0] === node;\n      });\n      i = outgoing.length;\n\n      if (i) {\n        var preds = predecessors.concat(node);\n\n        do {\n          var pair = outgoing[--i];\n          var child = pair[1];\n\n          if (child) {\n            visit(child, nodes.indexOf(child), preds);\n          }\n        } while (i);\n      }\n\n      sorted[--cursor] = node;\n    };\n\n    while (i--) {\n      if (!visited[i]) {\n        visit(nodes[i], i, []);\n      }\n    }\n\n    return sorted.reverse();\n  }\n});","define(\"ember-cli-mirage/utils/uuid\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n\n  /**\n    UUID generator\n  \n    @hide\n  */\n  function _default() {\n    return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\n      var r = Math.random() * 16 | 0;\n      var v = c === 'x' ? r : r & 0x3 | 0x8;\n      return v.toString(16);\n    });\n  }\n});","define(\"ember-composable-helpers/-private/closure-action\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var __loader = Ember.__loader;\n  var ClosureActionModule = {\n    ACTION: null\n  };\n\n  if ('ember-htmlbars/keywords/closure-action' in __loader.registry) {\n    ClosureActionModule = __loader.require('ember-htmlbars/keywords/closure-action');\n  } else if ('ember-routing-htmlbars/keywords/closure-action' in __loader.registry) {\n    ClosureActionModule = __loader.require('ember-routing-htmlbars/keywords/closure-action');\n  }\n\n  var _default = ClosureActionModule.ACTION;\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/-private/create-multi-array-helper\", [\"exports\", \"@babel/runtime/helpers/esm/toConsumableArray\", \"@babel/runtime/helpers/esm/toArray\"], function (_exports, _toConsumableArray2, _toArray2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n\n  var idForArray = function idForArray(array) {\n    return \"__array-\".concat(Ember.guidFor(array));\n  };\n\n  function _default(multiArrayComputed) {\n    return Ember.Helper.extend({\n      compute: function compute(_ref) {\n        var _ref2 = (0, _toArray2.default)(_ref),\n            arrays = _ref2.slice(0);\n\n        Ember.set(this, 'arrays', arrays.map(function (obj) {\n          if (Ember.isArray(obj)) {\n            return Ember.A(obj);\n          }\n\n          return obj;\n        }));\n        return Ember.get(this, 'content');\n      },\n      valuesDidChange: Ember.observer('arrays.[]', function () {\n        this._recomputeArrayKeys();\n\n        var arrays = Ember.get(this, 'arrays');\n        var arrayKeys = Ember.get(this, 'arrayKeys');\n\n        if (Ember.isEmpty(arrays)) {\n          Ember.defineProperty(this, 'content', []);\n          return;\n        }\n\n        Ember.defineProperty(this, 'content', multiArrayComputed.apply(void 0, (0, _toConsumableArray2.default)(arrayKeys)));\n      }),\n      contentDidChange: Ember.observer('content.[]', function () {\n        this.recompute();\n      }),\n      _recomputeArrayKeys: function _recomputeArrayKeys() {\n        var _this = this;\n\n        var arrays = Ember.get(this, 'arrays');\n        var oldArrayKeys = Ember.get(this, 'arrayKeys') || [];\n        var newArrayKeys = arrays.map(idForArray);\n        var keysToRemove = oldArrayKeys.filter(function (key) {\n          return newArrayKeys.indexOf(key) === -1;\n        });\n        keysToRemove.forEach(function (key) {\n          return Ember.set(_this, key, null);\n        });\n        arrays.forEach(function (array) {\n          return Ember.set(_this, idForArray(array), array);\n        });\n        Ember.set(this, 'arrayKeys', newArrayKeys);\n      }\n    });\n  }\n});","define(\"ember-composable-helpers/-private/create-needle-haystack-helper\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\"], function (_exports, _slicedToArray2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = createNeedleHaystackHelper;\n\n  var K = function K() {};\n  /**\n   * Creates a generic Helper class implementation that expects a `needle` and\n   * `haystack` as arguments. A `fn` function is required to be passed in\n   * that is invoked with the `needle` and `haystack` arguments.\n   *\n   * @private\n   * @param  {Function} fn A function to run against the needle and haystack\n   * @return {Any}\n   */\n\n\n  function createNeedleHaystackHelper() {\n    var fn = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : K;\n    return Ember.Helper.extend({\n      content: Ember.computed('needle.[]', 'haystack.[]', 'option', function () {\n        var needle = Ember.get(this, 'needle');\n        var haystack = Ember.get(this, 'haystack');\n        var option = Ember.get(this, 'option');\n        return fn(needle, haystack, option);\n      }).readOnly(),\n      compute: function compute(_ref) {\n        var _ref2 = (0, _slicedToArray2.default)(_ref, 3),\n            needle = _ref2[0],\n            option = _ref2[1],\n            haystack = _ref2[2];\n\n        if (Ember.isEmpty(haystack)) {\n          haystack = option;\n          option = null;\n        }\n\n        Ember.set(this, 'needle', needle);\n        Ember.set(this, 'haystack', haystack);\n        Ember.set(this, 'option', option);\n        return Ember.get(this, 'content');\n      },\n      contentDidChange: Ember.observer('content', function () {\n        this.recompute();\n      })\n    });\n  }\n});","define(\"ember-composable-helpers/helpers/append\", [\"exports\", \"@babel/runtime/helpers/esm/toConsumableArray\", \"ember-composable-helpers/-private/create-multi-array-helper\"], function (_exports, _toConsumableArray2, _createMultiArrayHelper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.append = append;\n  _exports.default = void 0;\n\n  function append() {\n    for (var _len = arguments.length, dependentKeys = new Array(_len), _key = 0; _key < _len; _key++) {\n      dependentKeys[_key] = arguments[_key];\n    }\n\n    dependentKeys = dependentKeys || [];\n    var arrayKeys = dependentKeys.map(function (dependentKey) {\n      return \"\".concat(dependentKey, \".[]\");\n    });\n    return Ember.computed.apply(void 0, (0, _toConsumableArray2.default)(arrayKeys).concat([function () {\n      var _this = this,\n          _ref;\n\n      var array = dependentKeys.map(function (dependentKey) {\n        var value = Ember.get(_this, dependentKey);\n        return Ember.isArray(value) ? value.toArray() : [value];\n      });\n      return (_ref = []).concat.apply(_ref, (0, _toConsumableArray2.default)(array));\n    }]));\n  }\n\n  var _default = (0, _createMultiArrayHelper.default)(append);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/array\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.array = array;\n  _exports.default = void 0;\n\n  function array() {\n    var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n    // slice params to avoid mutating the provided params\n    return Ember.A(params.slice());\n  }\n\n  var _default = Ember.Helper.helper(array);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/chunk\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\"], function (_exports, _slicedToArray2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.chunk = chunk;\n  _exports.default = void 0;\n  var max = Math.max,\n      ceil = Math.ceil;\n\n  function chunk(num, array) {\n    var integer = parseInt(num, 10);\n    var size = max(integer, 0);\n    var length = 0;\n\n    if (Ember.isArray(array)) {\n      length = Ember.get(array, 'length');\n    }\n\n    if (!length || size < 1) {\n      return [];\n    } else {\n      var index = 0;\n      var resultIndex = -1;\n      var result = new Array(ceil(length / size));\n\n      while (index < length) {\n        result[++resultIndex] = array.slice(index, index += size);\n      }\n\n      return result;\n    }\n  }\n\n  var _default = Ember.Helper.extend({\n    content: Ember.computed('num', 'array.[]', function () {\n      var array = Ember.get(this, 'array');\n      var num = Ember.get(this, 'num');\n      return chunk(num, array);\n    }),\n    compute: function compute(_ref) {\n      var _ref2 = (0, _slicedToArray2.default)(_ref, 2),\n          num = _ref2[0],\n          array = _ref2[1];\n\n      Ember.set(this, 'array', array);\n      Ember.set(this, 'num', num);\n      return Ember.get(this, 'content');\n    },\n    contentDidChange: Ember.observer('content', function () {\n      this.recompute();\n    })\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/compact\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\"], function (_exports, _slicedToArray2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Helper.extend({\n    compute: function compute(_ref) {\n      var _ref2 = (0, _slicedToArray2.default)(_ref, 1),\n          array = _ref2[0];\n\n      if (!Ember.isArray(array)) {\n        return Ember.A([array]);\n      }\n\n      Ember.set(this, 'array', array);\n      return Ember.get(this, 'content');\n    },\n    content: Ember.computed.filter('array', Ember.isPresent),\n    contentDidChange: Ember.observer('content', function () {\n      this.recompute();\n    })\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/compute\", [\"exports\", \"@babel/runtime/helpers/esm/toConsumableArray\", \"@babel/runtime/helpers/esm/toArray\"], function (_exports, _toConsumableArray2, _toArray2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.compute = compute;\n  _exports.default = void 0;\n\n  function compute(_ref) {\n    var _ref2 = (0, _toArray2.default)(_ref),\n        action = _ref2[0],\n        params = _ref2.slice(1);\n\n    return action.apply(void 0, (0, _toConsumableArray2.default)(params));\n  }\n\n  var _default = Ember.Helper.helper(compute);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/contains\", [\"exports\", \"ember-composable-helpers/-private/create-needle-haystack-helper\", \"ember-composable-helpers/utils/includes\"], function (_exports, _createNeedleHaystackHelper, _includes) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.contains = contains;\n  _exports.default = void 0;\n\n  function _contains(needle, haystack) {\n    return (0, _includes.default)(Ember.A(haystack), needle);\n  }\n\n  function contains(needle, haystack) {\n    if (!Ember.isArray(haystack)) {\n      return false;\n    }\n\n    if (Ember.isArray(needle) && Ember.get(needle, 'length')) {\n      return needle.reduce(function (acc, val) {\n        return acc && _contains(val, haystack);\n      }, true);\n    }\n\n    return _contains(needle, haystack);\n  }\n\n  var _default = (0, _createNeedleHaystackHelper.default)(contains);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/dec\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\"], function (_exports, _slicedToArray2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.dec = dec;\n  _exports.default = void 0;\n\n  function dec(_ref) {\n    var _ref2 = (0, _slicedToArray2.default)(_ref, 2),\n        step = _ref2[0],\n        val = _ref2[1];\n\n    if (Ember.isEmpty(val)) {\n      val = step;\n      step = undefined;\n    }\n\n    val = Number(val);\n\n    if (isNaN(val)) {\n      return;\n    }\n\n    if (step === undefined) {\n      step = 1;\n    }\n\n    return val - step;\n  }\n\n  var _default = Ember.Helper.helper(dec);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/drop\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\"], function (_exports, _slicedToArray2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Helper.extend({\n    compute: function compute(_ref) {\n      var _ref2 = (0, _slicedToArray2.default)(_ref, 2),\n          dropAmount = _ref2[0],\n          array = _ref2[1];\n\n      Ember.set(this, 'array', array);\n      return array.slice(dropAmount);\n    },\n    arrayContentDidChange: Ember.observer('array.[]', function () {\n      this.recompute();\n    })\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/filter-by\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\", \"ember-composable-helpers/utils/is-equal\"], function (_exports, _slicedToArray2, _isEqual) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Helper.extend({\n    compute: function compute(_ref) {\n      var _ref2 = (0, _slicedToArray2.default)(_ref, 3),\n          byPath = _ref2[0],\n          value = _ref2[1],\n          array = _ref2[2];\n\n      if (!Ember.isArray(array) && Ember.isArray(value)) {\n        array = value;\n        value = undefined;\n      }\n\n      Ember.set(this, 'array', array);\n      Ember.set(this, 'byPath', byPath);\n      Ember.set(this, 'value', value);\n      return Ember.get(this, 'content');\n    },\n    byPathDidChange: Ember.observer('byPath', 'value', function () {\n      var byPath = Ember.get(this, 'byPath');\n      var value = Ember.get(this, 'value');\n\n      if (Ember.isEmpty(byPath)) {\n        Ember.defineProperty(this, 'content', []);\n        return;\n      }\n\n      var filterFn;\n\n      if (Ember.isPresent(value)) {\n        if (typeof value === 'function') {\n          filterFn = function filterFn(item) {\n            return value(Ember.get(item, byPath));\n          };\n        } else {\n          filterFn = function filterFn(item) {\n            return (0, _isEqual.default)(Ember.get(item, byPath), value);\n          };\n        }\n      } else {\n        filterFn = function filterFn(item) {\n          return !!Ember.get(item, byPath);\n        };\n      }\n\n      var cp = Ember.computed.filter(\"array.@each.\".concat(byPath), filterFn);\n      Ember.defineProperty(this, 'content', cp);\n    }),\n    contentDidChange: Ember.observer('content', function () {\n      this.recompute();\n    })\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/filter\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\"], function (_exports, _slicedToArray2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Helper.extend({\n    compute: function compute(_ref) {\n      var _ref2 = (0, _slicedToArray2.default)(_ref, 2),\n          callback = _ref2[0],\n          array = _ref2[1];\n\n      Ember.set(this, 'array', array);\n      Ember.set(this, 'callback', callback);\n      return Ember.get(this, 'content');\n    },\n    callbackDidChange: Ember.observer('callback', function () {\n      var callback = Ember.get(this, 'callback');\n\n      if (Ember.isEmpty(callback)) {\n        Ember.defineProperty(this, 'content', []);\n        return;\n      }\n\n      var cp = Ember.computed.filter('array', callback);\n      Ember.defineProperty(this, 'content', cp);\n    }),\n    contentDidChange: Ember.observer('content', function () {\n      this.recompute();\n    })\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/find-by\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\"], function (_exports, _slicedToArray2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Helper.extend({\n    compute: function compute(_ref) {\n      var _ref2 = (0, _slicedToArray2.default)(_ref, 3),\n          byPath = _ref2[0],\n          value = _ref2[1],\n          array = _ref2[2];\n\n      Ember.set(this, 'array', array);\n      Ember.set(this, 'byPath', byPath);\n      Ember.set(this, 'value', value);\n      return Ember.get(this, 'content');\n    },\n    byPathDidChange: Ember.observer('byPath', function () {\n      var byPath = Ember.get(this, 'byPath');\n\n      if (Ember.isEmpty(byPath)) {\n        Ember.defineProperty(this, 'content', []);\n        return;\n      }\n\n      Ember.defineProperty(this, 'content', Ember.computed(\"array.@each.\".concat(byPath), 'value', function () {\n        var array = Ember.get(this, 'array');\n        var value = Ember.get(this, 'value');\n        return Ember.A(array).findBy(byPath, value);\n      }));\n    }),\n    contentDidChange: Ember.observer('content', function () {\n      this.recompute();\n    })\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/flatten\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\"], function (_exports, _slicedToArray2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.flatten = flatten;\n  _exports.default = void 0;\n\n  function flatten(array) {\n    if (!Ember.isArray(array)) {\n      return array;\n    }\n\n    return array.reduce(function (flattened, el) {\n      return flattened.concat(flatten(el));\n    }, []);\n  }\n\n  var _default = Ember.Helper.extend({\n    compute: function compute(_ref) {\n      var _ref2 = (0, _slicedToArray2.default)(_ref, 1),\n          array = _ref2[0];\n\n      Ember.set(this, 'array', array);\n      return flatten(array);\n    },\n    arrayContentDidChange: Ember.observer('array.[]', function () {\n      this.recompute();\n    })\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/group-by\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\"], function (_exports, _slicedToArray2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var groupFunction = function groupFunction() {\n    var array = Ember.get(this, 'array');\n    var byPath = Ember.get(this, 'byPath');\n    var groups = Ember.Object.create();\n    array.forEach(function (item) {\n      var groupName = Ember.get(item, byPath);\n      var group = Ember.get(groups, groupName);\n\n      if (!Ember.isArray(group)) {\n        group = Ember.A();\n        groups[\"\".concat(groupName)] = group;\n      }\n\n      group.push(item);\n    });\n    return groups;\n  };\n\n  var _default = Ember.Helper.extend({\n    compute: function compute(_ref) {\n      var _ref2 = (0, _slicedToArray2.default)(_ref, 2),\n          byPath = _ref2[0],\n          array = _ref2[1];\n\n      Ember.set(this, 'array', array);\n      Ember.set(this, 'byPath', byPath);\n      return Ember.get(this, 'content');\n    },\n    byPathDidChange: Ember.observer('byPath', function () {\n      var byPath = Ember.get(this, 'byPath');\n\n      if (byPath) {\n        Ember.defineProperty(this, 'content', Ember.computed(\"array.@each.\".concat(byPath), groupFunction));\n      } else {\n        Ember.defineProperty(this, 'content', null);\n      }\n    }),\n    contentDidChange: Ember.observer('content', function () {\n      this.recompute();\n    })\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/has-next\", [\"exports\", \"ember-composable-helpers/helpers/next\", \"ember-composable-helpers/-private/create-needle-haystack-helper\", \"ember-composable-helpers/utils/is-equal\"], function (_exports, _next, _createNeedleHaystackHelper, _isEqual) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.hasNext = hasNext;\n  _exports.default = void 0;\n\n  function hasNext(currentValue, array) {\n    var useDeepEqual = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n    var nextValue = (0, _next.next)(currentValue, array, useDeepEqual);\n    var isNotSameValue = !(0, _isEqual.default)(nextValue, currentValue, useDeepEqual);\n    return isNotSameValue && Ember.isPresent(nextValue);\n  }\n\n  var _default = (0, _createNeedleHaystackHelper.default)(hasNext);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/has-previous\", [\"exports\", \"ember-composable-helpers/helpers/previous\", \"ember-composable-helpers/-private/create-needle-haystack-helper\", \"ember-composable-helpers/utils/is-equal\"], function (_exports, _previous, _createNeedleHaystackHelper, _isEqual) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.hasPrevious = hasPrevious;\n  _exports.default = void 0;\n\n  function hasPrevious(currentValue, array) {\n    var useDeepEqual = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n    var previousValue = (0, _previous.previous)(currentValue, array, useDeepEqual);\n    var isNotSameValue = !(0, _isEqual.default)(previousValue, currentValue, useDeepEqual);\n    return isNotSameValue && Ember.isPresent(previousValue);\n  }\n\n  var _default = (0, _createNeedleHaystackHelper.default)(hasPrevious);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/inc\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\"], function (_exports, _slicedToArray2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.inc = inc;\n  _exports.default = void 0;\n\n  function inc(_ref) {\n    var _ref2 = (0, _slicedToArray2.default)(_ref, 2),\n        step = _ref2[0],\n        val = _ref2[1];\n\n    if (Ember.isEmpty(val)) {\n      val = step;\n      step = undefined;\n    }\n\n    val = Number(val);\n\n    if (isNaN(val)) {\n      return;\n    }\n\n    if (step === undefined) {\n      step = 1;\n    }\n\n    return val + step;\n  }\n\n  var _default = Ember.Helper.helper(inc);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/intersect\", [\"exports\", \"ember-composable-helpers/-private/create-multi-array-helper\"], function (_exports, _createMultiArrayHelper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = (0, _createMultiArrayHelper.default)(Ember.computed.intersect);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/invoke\", [\"exports\", \"@babel/runtime/helpers/esm/toArray\"], function (_exports, _toArray2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.invoke = invoke;\n  _exports.default = void 0;\n  var all = Ember.RSVP.all;\n\n  function invoke(_ref) {\n    var _ref2 = (0, _toArray2.default)(_ref),\n        methodName = _ref2[0],\n        args = _ref2.slice(1);\n\n    var obj = args.pop();\n\n    if (Ember.isArray(obj)) {\n      return function () {\n        var promises = obj.map(function (item) {\n          return Ember.tryInvoke(item, methodName, args);\n        });\n        return all(promises);\n      };\n    }\n\n    return function () {\n      return Ember.tryInvoke(obj, methodName, args);\n    };\n  }\n\n  var _default = Ember.Helper.helper(invoke);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/join\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\"], function (_exports, _slicedToArray2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Helper.extend({\n    compute: function compute(_ref) {\n      var _ref2 = (0, _slicedToArray2.default)(_ref, 2),\n          separator = _ref2[0],\n          array = _ref2[1];\n\n      if (Ember.isArray(separator)) {\n        array = separator;\n        separator = ',';\n      }\n\n      Ember.set(this, 'array', array);\n      return array.join(separator);\n    },\n    arrayContentDidChange: Ember.observer('array.[]', function () {\n      this.recompute();\n    })\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/map-by\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\"], function (_exports, _slicedToArray2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Helper.extend({\n    compute: function compute(_ref) {\n      var _ref2 = (0, _slicedToArray2.default)(_ref, 2),\n          byPath = _ref2[0],\n          array = _ref2[1];\n\n      Ember.set(this, 'array', array);\n      Ember.set(this, 'byPath', byPath);\n      return Ember.get(this, 'content');\n    },\n    byPathDidChange: Ember.observer('byPath', function () {\n      var byPath = Ember.get(this, 'byPath');\n\n      if (Ember.isEmpty(byPath)) {\n        Ember.defineProperty(this, 'content', []);\n        return;\n      }\n\n      Ember.defineProperty(this, 'content', Ember.computed.mapBy('array', byPath));\n    }),\n    contentDidChange: Ember.observer('content', function () {\n      this.recompute();\n    })\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/map\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\"], function (_exports, _slicedToArray2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Helper.extend({\n    compute: function compute(_ref) {\n      var _ref2 = (0, _slicedToArray2.default)(_ref, 2),\n          callback = _ref2[0],\n          array = _ref2[1];\n\n      Ember.set(this, 'array', array);\n      Ember.set(this, 'callback', callback);\n      return Ember.get(this, 'content');\n    },\n    byPathDidChange: Ember.observer('callback', function () {\n      var callback = Ember.get(this, 'callback');\n\n      if (Ember.isEmpty(callback)) {\n        Ember.defineProperty(this, 'content', []);\n        return;\n      }\n\n      Ember.defineProperty(this, 'content', Ember.computed.map('array', callback));\n    }),\n    contentDidChange: Ember.observer('content', function () {\n      this.recompute();\n    })\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/next\", [\"exports\", \"ember-composable-helpers/utils/get-index\", \"ember-composable-helpers/-private/create-needle-haystack-helper\"], function (_exports, _getIndex, _createNeedleHaystackHelper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.next = next;\n  _exports.default = void 0;\n\n  function next(currentValue, array) {\n    var useDeepEqual = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n    var currentIndex = (0, _getIndex.default)(array, currentValue, useDeepEqual);\n    var lastIndex = Ember.get(array, 'length') - 1;\n\n    if (Ember.isEmpty(currentIndex)) {\n      return;\n    }\n\n    return currentIndex === lastIndex ? currentValue : Ember.A(array).objectAt(currentIndex + 1);\n  }\n\n  var _default = (0, _createNeedleHaystackHelper.default)(next);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/object-at\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\"], function (_exports, _slicedToArray2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.objectAt = objectAt;\n  _exports.default = void 0;\n\n  function objectAt(index, array) {\n    if (!Ember.isArray(array)) {\n      return undefined;\n    }\n\n    index = parseInt(index, 10);\n    return Ember.A(array).objectAt(index);\n  }\n\n  var _default = Ember.Helper.extend({\n    content: Ember.computed('index', 'array.[]', function () {\n      var index = Ember.get(this, 'index');\n      var array = Ember.get(this, 'array');\n      return objectAt(index, array);\n    }),\n    compute: function compute(_ref) {\n      var _ref2 = (0, _slicedToArray2.default)(_ref, 2),\n          index = _ref2[0],\n          array = _ref2[1];\n\n      Ember.set(this, 'index', index);\n      Ember.set(this, 'array', array);\n      return Ember.get(this, 'content');\n    },\n    contentDidChange: Ember.observer('content', function () {\n      this.recompute();\n    })\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/optional\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\"], function (_exports, _slicedToArray2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.optional = optional;\n  _exports.default = void 0;\n\n  function optional(_ref) {\n    var _ref2 = (0, _slicedToArray2.default)(_ref, 1),\n        action = _ref2[0];\n\n    if (typeof action === 'function') {\n      return action;\n    }\n\n    return function (i) {\n      return i;\n    };\n  }\n\n  var _default = Ember.Helper.helper(optional);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/pipe-action\", [\"exports\", \"ember-composable-helpers/helpers/pipe\", \"ember-composable-helpers/-private/closure-action\"], function (_exports, _pipe, _closureAction) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var closurePipe = _pipe.pipe;\n\n  if (_closureAction.default) {\n    closurePipe[_closureAction.default] = true;\n  }\n\n  var _default = Ember.Helper.helper(closurePipe);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/pipe\", [\"exports\", \"ember-composable-helpers/utils/is-promise\"], function (_exports, _isPromise) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.invokeFunction = invokeFunction;\n  _exports.pipe = pipe;\n  _exports.default = void 0;\n\n  function invokeFunction(acc, curr) {\n    if ((0, _isPromise.default)(acc)) {\n      return acc.then(curr);\n    }\n\n    return curr(acc);\n  }\n\n  function pipe() {\n    var actions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n    return function () {\n      for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n\n      return actions.reduce(function (acc, curr, idx) {\n        if (idx === 0) {\n          return curr.apply(void 0, args);\n        }\n\n        return invokeFunction(acc, curr);\n      }, undefined);\n    };\n  }\n\n  var _default = Ember.Helper.helper(pipe);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/previous\", [\"exports\", \"ember-composable-helpers/utils/get-index\", \"ember-composable-helpers/-private/create-needle-haystack-helper\"], function (_exports, _getIndex, _createNeedleHaystackHelper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.previous = previous;\n  _exports.default = void 0;\n\n  function previous(currentValue, array) {\n    var useDeepEqual = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n    var currentIndex = (0, _getIndex.default)(array, currentValue, useDeepEqual);\n\n    if (Ember.isEmpty(currentIndex)) {\n      return;\n    }\n\n    return currentIndex === 0 ? currentValue : Ember.A(array).objectAt(currentIndex - 1);\n  }\n\n  var _default = (0, _createNeedleHaystackHelper.default)(previous);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/queue\", [\"exports\", \"ember-composable-helpers/utils/is-promise\"], function (_exports, _isPromise) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.queue = queue;\n  _exports.default = void 0;\n\n  function queue() {\n    var actions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n    return function () {\n      for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n\n      var invokeWithArgs = function invokeWithArgs(acc, curr) {\n        if ((0, _isPromise.default)(acc)) {\n          return acc.then(function () {\n            return curr.apply(void 0, args);\n          });\n        }\n\n        return curr.apply(void 0, args);\n      };\n\n      return actions.reduce(function (acc, curr, idx) {\n        if (idx === 0) {\n          return curr.apply(void 0, args);\n        }\n\n        return invokeWithArgs(acc, curr);\n      }, undefined);\n    };\n  }\n\n  var _default = Ember.Helper.helper(queue);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/range\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\", \"ember-composable-helpers/utils/comparison\"], function (_exports, _slicedToArray2, _comparison) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.range = range;\n  _exports.default = void 0;\n\n  function range(_ref) {\n    var _ref2 = (0, _slicedToArray2.default)(_ref, 3),\n        min = _ref2[0],\n        max = _ref2[1],\n        isInclusive = _ref2[2];\n\n    isInclusive = Ember.typeOf(isInclusive) === 'boolean' ? isInclusive : false;\n    var numbers = [];\n\n    if (min < max) {\n      var testFn = isInclusive ? _comparison.lte : _comparison.lt;\n\n      for (var i = min; testFn(i, max); i++) {\n        numbers.push(i);\n      }\n    }\n\n    if (min > max) {\n      var _testFn = isInclusive ? _comparison.gte : _comparison.gt;\n\n      for (var _i = min; _testFn(_i, max); _i--) {\n        numbers.push(_i);\n      }\n    }\n\n    if (min === max && isInclusive) {\n      numbers.push(max);\n    }\n\n    return numbers;\n  }\n\n  var _default = Ember.Helper.helper(range);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/reduce\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\"], function (_exports, _slicedToArray2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Helper.extend({\n    compute: function compute(_ref) {\n      var _ref2 = (0, _slicedToArray2.default)(_ref, 3),\n          callback = _ref2[0],\n          initialValue = _ref2[1],\n          array = _ref2[2];\n\n      Ember.set(this, 'callback', callback);\n      Ember.set(this, 'array', array);\n      Ember.set(this, 'initialValue', initialValue);\n      return Ember.get(this, 'content');\n    },\n    callbackDidChange: Ember.observer('callback', 'initialValue', function () {\n      var _this = this;\n\n      var callback = Ember.get(this, 'callback');\n      var initialValue = Ember.get(this, 'initialValue');\n\n      if (Ember.isEmpty(callback)) {\n        Ember.defineProperty(this, 'content', []);\n        return;\n      }\n\n      var cp = Ember.computed('array.[]', function () {\n        var array = Ember.get(_this, 'array');\n        return array.reduce(callback, initialValue);\n      });\n      Ember.defineProperty(this, 'content', cp);\n    }),\n    contentDidChange: Ember.observer('content', function () {\n      this.recompute();\n    })\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/reject-by\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\", \"ember-composable-helpers/utils/is-equal\"], function (_exports, _slicedToArray2, _isEqual) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Helper.extend({\n    compute: function compute(_ref) {\n      var _ref2 = (0, _slicedToArray2.default)(_ref, 3),\n          byPath = _ref2[0],\n          value = _ref2[1],\n          array = _ref2[2];\n\n      if (!Ember.isArray(array) && Ember.isArray(value)) {\n        array = value;\n        value = undefined;\n      }\n\n      Ember.set(this, 'array', array);\n      Ember.set(this, 'byPath', byPath);\n      Ember.set(this, 'value', value);\n      return Ember.get(this, 'content');\n    },\n    byPathDidChange: Ember.observer('byPath', 'value', function () {\n      var byPath = Ember.get(this, 'byPath');\n      var value = Ember.get(this, 'value');\n\n      if (Ember.isEmpty(byPath)) {\n        Ember.defineProperty(this, 'content', []);\n        return;\n      }\n\n      var filterFn;\n\n      if (Ember.isPresent(value)) {\n        if (typeof value === 'function') {\n          filterFn = function filterFn(item) {\n            return !value(Ember.get(item, byPath));\n          };\n        } else {\n          filterFn = function filterFn(item) {\n            return !(0, _isEqual.default)(Ember.get(item, byPath), value);\n          };\n        }\n      } else {\n        filterFn = function filterFn(item) {\n          return !Ember.get(item, byPath);\n        };\n      }\n\n      var cp = Ember.computed.filter(\"array.@each.\".concat(byPath), filterFn);\n      Ember.defineProperty(this, 'content', cp);\n    }),\n    contentDidChange: Ember.observer('content', function () {\n      this.recompute();\n    })\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/repeat\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\"], function (_exports, _slicedToArray2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.repeat = repeat;\n  _exports.default = void 0;\n\n  function repeat(_ref) {\n    var _ref2 = (0, _slicedToArray2.default)(_ref, 2),\n        length = _ref2[0],\n        value = _ref2[1];\n\n    if (Ember.typeOf(length) !== 'number') {\n      return [value];\n    }\n\n    return Array.apply(null, {\n      length: length\n    }).map(function () {\n      return value;\n    }); // eslint-disable-line\n  }\n\n  var _default = Ember.Helper.helper(repeat);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/reverse\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\"], function (_exports, _slicedToArray2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Helper.extend({\n    compute: function compute(_ref) {\n      var _ref2 = (0, _slicedToArray2.default)(_ref, 1),\n          array = _ref2[0];\n\n      if (!Ember.isArray(array)) {\n        return [array];\n      }\n\n      Ember.set(this, 'array', array);\n      return Ember.A(array).slice(0).reverse();\n    },\n    arrayContentDidChange: Ember.observer('array.[]', function () {\n      this.recompute();\n    })\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/shuffle\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\"], function (_exports, _slicedToArray2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.shuffle = shuffle;\n  _exports.default = void 0;\n\n  function shuffle(array, randomizer) {\n    array = array.slice(0);\n    var count = Ember.get(array, 'length');\n    var rand, temp;\n    randomizer = Ember.typeOf(randomizer) === 'function' && randomizer || Math.random;\n\n    while (count > 1) {\n      rand = Math.floor(randomizer() * count--);\n      temp = array[count];\n      array[count] = array[rand];\n      array[rand] = temp;\n    }\n\n    return array;\n  }\n\n  var _default = Ember.Helper.extend({\n    compute: function compute(_ref) {\n      var _ref2 = (0, _slicedToArray2.default)(_ref, 2),\n          random = _ref2[0],\n          array = _ref2[1];\n\n      if (array === undefined) {\n        array = random;\n        random = undefined;\n      }\n\n      if (!Ember.isArray(array)) {\n        return Ember.A([array]);\n      }\n\n      Ember.set(this, 'array', array);\n      return shuffle(array, random);\n    },\n    arrayContentDidChange: Ember.observer('array.[]', function () {\n      this.recompute();\n    })\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/slice\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\"], function (_exports, _slicedToArray2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Helper.extend({\n    compute: function compute(_ref) {\n      var _ref2 = (0, _slicedToArray2.default)(_ref, 3),\n          start = _ref2[0],\n          end = _ref2[1],\n          array = _ref2[2];\n\n      Ember.set(this, 'array', array);\n      return array.slice(start, end);\n    },\n    arrayContentDidChange: Ember.observer('array.[]', function () {\n      this.recompute();\n    })\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/sort-by\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\"], function (_exports, _slicedToArray2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Helper.extend({\n    compute: function compute(params) {\n      // slice params to avoid mutating the provided params\n      var sortProps = params.slice();\n      var array = sortProps.pop();\n\n      var _sortProps = sortProps,\n          _sortProps2 = (0, _slicedToArray2.default)(_sortProps, 1),\n          firstSortProp = _sortProps2[0];\n\n      if (Ember.typeOf(firstSortProp) === 'function' || Ember.isArray(firstSortProp)) {\n        sortProps = firstSortProp;\n      }\n\n      Ember.set(this, 'array', array);\n      Ember.set(this, 'sortProps', sortProps);\n      return Ember.get(this, 'content');\n    },\n    sortPropsDidChange: Ember.observer('sortProps', function () {\n      var sortProps = Ember.get(this, 'sortProps');\n\n      if (Ember.isEmpty(sortProps)) {\n        Ember.defineProperty(this, 'content', []);\n      }\n\n      if (typeof sortProps === 'function') {\n        Ember.defineProperty(this, 'content', Ember.computed.sort('array', sortProps));\n      } else {\n        Ember.defineProperty(this, 'content', Ember.computed.sort('array', 'sortProps'));\n      }\n    }),\n    contentDidChange: Ember.observer('content', function () {\n      this.recompute();\n    })\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/take\", [\"exports\", \"@babel/runtime/helpers/esm/slicedToArray\"], function (_exports, _slicedToArray2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Helper.extend({\n    compute: function compute(_ref) {\n      var _ref2 = (0, _slicedToArray2.default)(_ref, 2),\n          takeAmount = _ref2[0],\n          array = _ref2[1];\n\n      Ember.set(this, 'array', array);\n      return array.slice(0, takeAmount);\n    },\n    arrayContentDidChange: Ember.observer('array.[]', function () {\n      this.recompute();\n    })\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/toggle-action\", [\"exports\", \"ember-composable-helpers/helpers/toggle\", \"ember-composable-helpers/-private/closure-action\"], function (_exports, _toggle, _closureAction) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var closureToggle = _toggle.toggle;\n\n  if (_closureAction.default) {\n    closureToggle[_closureAction.default] = true;\n  }\n\n  var _default = Ember.Helper.helper(closureToggle);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/toggle\", [\"exports\", \"@babel/runtime/helpers/esm/toArray\"], function (_exports, _toArray2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.toggle = toggle;\n  _exports.default = void 0;\n\n  function nextIndex(length, currentIdx) {\n    if (currentIdx === -1 || currentIdx + 1 === length) {\n      return 0;\n    }\n\n    return currentIdx + 1;\n  }\n\n  function toggle(_ref) {\n    var _ref2 = (0, _toArray2.default)(_ref),\n        prop = _ref2[0],\n        obj = _ref2[1],\n        values = _ref2.slice(2);\n\n    return function () {\n      var currentValue = Ember.get(obj, prop);\n\n      if (Ember.isPresent(values)) {\n        var currentIdx = values.indexOf(currentValue);\n        var nextIdx = nextIndex(Ember.get(values, 'length'), currentIdx);\n        return Ember.set(obj, prop, values[nextIdx]);\n      }\n\n      return Ember.set(obj, prop, !currentValue);\n    };\n  }\n\n  var _default = Ember.Helper.helper(toggle);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/union\", [\"exports\", \"ember-composable-helpers/-private/create-multi-array-helper\"], function (_exports, _createMultiArrayHelper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = (0, _createMultiArrayHelper.default)(Ember.computed.union);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/without\", [\"exports\", \"ember-composable-helpers/-private/create-needle-haystack-helper\", \"ember-composable-helpers/utils/includes\"], function (_exports, _createNeedleHaystackHelper, _includes) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.without = without;\n  _exports.default = void 0;\n\n  function contains(needle, haystack) {\n    return (0, _includes.default)(Ember.A(haystack), needle);\n  }\n\n  function without(needle, haystack) {\n    if (!Ember.isArray(haystack)) {\n      return false;\n    }\n\n    if (Ember.isArray(needle) && Ember.get(needle, 'length')) {\n      return haystack.reduce(function (acc, val) {\n        return contains(val, needle) ? acc : acc.concat(val);\n      }, []);\n    }\n\n    return Ember.A(haystack).without(needle);\n  }\n\n  var _default = (0, _createNeedleHaystackHelper.default)(without);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/index\", [\"exports\", \"ember-composable-helpers/helpers/append\", \"ember-composable-helpers/helpers/array\", \"ember-composable-helpers/helpers/chunk\", \"ember-composable-helpers/helpers/compact\", \"ember-composable-helpers/helpers/compute\", \"ember-composable-helpers/helpers/contains\", \"ember-composable-helpers/helpers/dec\", \"ember-composable-helpers/helpers/drop\", \"ember-composable-helpers/helpers/filter-by\", \"ember-composable-helpers/helpers/filter\", \"ember-composable-helpers/helpers/find-by\", \"ember-composable-helpers/helpers/flatten\", \"ember-composable-helpers/helpers/group-by\", \"ember-composable-helpers/helpers/has-next\", \"ember-composable-helpers/helpers/has-previous\", \"ember-composable-helpers/helpers/inc\", \"ember-composable-helpers/helpers/intersect\", \"ember-composable-helpers/helpers/invoke\", \"ember-composable-helpers/helpers/join\", \"ember-composable-helpers/helpers/map-by\", \"ember-composable-helpers/helpers/map\", \"ember-composable-helpers/helpers/next\", \"ember-composable-helpers/helpers/object-at\", \"ember-composable-helpers/helpers/optional\", \"ember-composable-helpers/helpers/pipe-action\", \"ember-composable-helpers/helpers/pipe\", \"ember-composable-helpers/helpers/previous\", \"ember-composable-helpers/helpers/queue\", \"ember-composable-helpers/helpers/range\", \"ember-composable-helpers/helpers/reduce\", \"ember-composable-helpers/helpers/reject-by\", \"ember-composable-helpers/helpers/repeat\", \"ember-composable-helpers/helpers/reverse\", \"ember-composable-helpers/helpers/shuffle\", \"ember-composable-helpers/helpers/slice\", \"ember-composable-helpers/helpers/sort-by\", \"ember-composable-helpers/helpers/take\", \"ember-composable-helpers/helpers/toggle-action\", \"ember-composable-helpers/helpers/toggle\", \"ember-composable-helpers/helpers/union\", \"ember-composable-helpers/helpers/without\"], function (_exports, _append, _array, _chunk, _compact, _compute, _contains, _dec, _drop, _filterBy, _filter, _findBy, _flatten, _groupBy, _hasNext, _hasPrevious, _inc, _intersect, _invoke, _join, _mapBy, _map, _next, _objectAt, _optional, _pipeAction, _pipe, _previous, _queue, _range, _reduce, _rejectBy, _repeat, _reverse, _shuffle, _slice, _sortBy, _take, _toggleAction, _toggle, _union, _without) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"AppendHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _append.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ArrayHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _array.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ChunkHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _chunk.default;\n    }\n  });\n  Object.defineProperty(_exports, \"CompactHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _compact.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ComputeHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _compute.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ContainsHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _contains.default;\n    }\n  });\n  Object.defineProperty(_exports, \"DecHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _dec.default;\n    }\n  });\n  Object.defineProperty(_exports, \"DropHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _drop.default;\n    }\n  });\n  Object.defineProperty(_exports, \"FilterByHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _filterBy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"FilterHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _filter.default;\n    }\n  });\n  Object.defineProperty(_exports, \"FindByHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _findBy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"FlattenHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _flatten.default;\n    }\n  });\n  Object.defineProperty(_exports, \"GroupByHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _groupBy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"HasNextHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _hasNext.default;\n    }\n  });\n  Object.defineProperty(_exports, \"HasPreviousHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _hasPrevious.default;\n    }\n  });\n  Object.defineProperty(_exports, \"IncHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _inc.default;\n    }\n  });\n  Object.defineProperty(_exports, \"IntersectHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _intersect.default;\n    }\n  });\n  Object.defineProperty(_exports, \"InvokeHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _invoke.default;\n    }\n  });\n  Object.defineProperty(_exports, \"JoinHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _join.default;\n    }\n  });\n  Object.defineProperty(_exports, \"MapByHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _mapBy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"MapHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _map.default;\n    }\n  });\n  Object.defineProperty(_exports, \"NextHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _next.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ObjectAtHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _objectAt.default;\n    }\n  });\n  Object.defineProperty(_exports, \"OptionalHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _optional.default;\n    }\n  });\n  Object.defineProperty(_exports, \"PipeActionHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _pipeAction.default;\n    }\n  });\n  Object.defineProperty(_exports, \"PipeHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _pipe.default;\n    }\n  });\n  Object.defineProperty(_exports, \"PreviousHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _previous.default;\n    }\n  });\n  Object.defineProperty(_exports, \"QueueHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _queue.default;\n    }\n  });\n  Object.defineProperty(_exports, \"RangeHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _range.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ReduceHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _reduce.default;\n    }\n  });\n  Object.defineProperty(_exports, \"RejectByHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _rejectBy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"RepeatHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _repeat.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ReverseHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _reverse.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ShuffleHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _shuffle.default;\n    }\n  });\n  Object.defineProperty(_exports, \"SliceHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _slice.default;\n    }\n  });\n  Object.defineProperty(_exports, \"SortByHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _sortBy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"TakeHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _take.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ToggleActionHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _toggleAction.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ToggleHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _toggle.default;\n    }\n  });\n  Object.defineProperty(_exports, \"UnionHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _union.default;\n    }\n  });\n  Object.defineProperty(_exports, \"WithoutHelper\", {\n    enumerable: true,\n    get: function get() {\n      return _without.default;\n    }\n  });\n});","define(\"ember-composable-helpers/utils/comparison\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.lte = lte;\n  _exports.lt = lt;\n  _exports.gte = gte;\n  _exports.gt = gt;\n\n  function lte(a, b) {\n    return a <= b;\n  }\n\n  function lt(a, b) {\n    return a < b;\n  }\n\n  function gte(a, b) {\n    return a >= b;\n  }\n\n  function gt(a, b) {\n    return a > b;\n  }\n});","define(\"ember-composable-helpers/utils/get-index\", [\"exports\", \"ember-composable-helpers/utils/is-equal\"], function (_exports, _isEqual) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = getIndex;\n\n  function getIndex(array, currentValue, useDeepEqual) {\n    var needle = currentValue;\n\n    if (useDeepEqual) {\n      needle = Ember.A(array).find(function (object) {\n        return (0, _isEqual.default)(object, currentValue, useDeepEqual);\n      });\n    }\n\n    var index = Ember.A(array).indexOf(needle);\n    return index >= 0 ? index : null;\n  }\n});","define(\"ember-composable-helpers/utils/includes\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = includes;\n\n  function includes(haystack) {\n    var finder = haystack.includes || haystack.contains;\n\n    for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n      args[_key - 1] = arguments[_key];\n    }\n\n    return finder.apply(haystack, args);\n  }\n});","define(\"ember-composable-helpers/utils/is-equal\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isEqual;\n\n  function isEqual(firstValue, secondValue) {\n    var useDeepEqual = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n    if (useDeepEqual) {\n      return JSON.stringify(firstValue) === JSON.stringify(secondValue);\n    } else {\n      return Ember.isEqual(firstValue, secondValue) || Ember.isEqual(secondValue, firstValue);\n    }\n  }\n});","define(\"ember-composable-helpers/utils/is-object\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isObject;\n\n  function isObject(val) {\n    return Ember.typeOf(val) === 'object' || Ember.typeOf(val) === 'instance';\n  }\n});","define(\"ember-composable-helpers/utils/is-promise\", [\"exports\", \"ember-composable-helpers/utils/is-object\"], function (_exports, _isObject) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isPromise;\n\n  function isPromiseLike() {\n    var obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    return Ember.typeOf(obj.then) === 'function' && Ember.typeOf(obj.catch) === 'function';\n  }\n\n  function isPromise(obj) {\n    return (0, _isObject.default)(obj) && isPromiseLike(obj);\n  }\n});","define(\"ember-data/-debug/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.instrument = instrument;\n  _exports.assertPolymorphicType = void 0;\n\n  function instrument(method) {\n    return method();\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 an InternalModel and the `relationshipMeta` needs to be the meta\n    information about the relationship, retrieved via\n    `record.relationshipFor(key)`.\n  \n    @method assertPolymorphicType\n    @param {InternalModel} internalModel\n    @param {RelationshipMeta} relationshipMeta retrieved via\n           `record.relationshipFor(key)`\n    @param {InternalModel} addedRecord record which\n           should be added/set for the relationship\n  */\n\n\n  var assertPolymorphicType;\n  _exports.assertPolymorphicType = assertPolymorphicType;\n\n  if (true\n  /* DEBUG */\n  ) {\n    var checkPolymorphic = function checkPolymorphic(modelClass, addedModelClass) {\n      if (modelClass.__isMixin) {\n        //TODO Need to do this in order to support mixins, should convert to public api\n        //once it exists in Ember\n        return modelClass.__mixin.detect(addedModelClass.PrototypeMixin);\n      }\n\n      return addedModelClass.prototype instanceof modelClass || modelClass.detect(addedModelClass);\n    };\n\n    _exports.assertPolymorphicType = assertPolymorphicType = function assertPolymorphicType(parentInternalModel, relationshipMeta, addedInternalModel, store) {\n      var addedModelName = addedInternalModel.modelName;\n      var parentModelName = parentInternalModel.modelName;\n      var key = relationshipMeta.key;\n      var relationshipModelName = relationshipMeta.type;\n      var relationshipClass = store.modelFor(relationshipModelName);\n      var addedClass = store.modelFor(addedInternalModel.modelName);\n      var assertionMessage = \"The '\" + addedModelName + \"' type does not implement '\" + relationshipModelName + \"' and thus cannot be assigned to the '\" + key + \"' relationship in '\" + parentModelName + \"'. Make it a descendant of '\" + relationshipModelName + \"' or use a mixin of the same name.\";\n      (true && !(checkPolymorphic(relationshipClass, addedClass)) && Ember.assert(assertionMessage, checkPolymorphic(relationshipClass, addedClass)));\n    };\n  }\n});","define('ember-data/-private', ['exports', '@ember-data/store/-private', '@ember-data/store', 'ember-data/version', '@ember-data/model'], function (exports, Private, store, VERSION, Model) { 'use strict';\n\n  store = store && store.hasOwnProperty('default') ? store['default'] : store;\n  VERSION = VERSION && VERSION.hasOwnProperty('default') ? VERSION['default'] : VERSION;\n  Model = Model && Model.hasOwnProperty('default') ? Model['default'] : Model;\n\n  /**\n    @module ember-data\n  */\n\n  /**\n    All Ember Data classes, methods and functions are defined inside of this namespace.\n\n    @class DS\n    @static\n  */\n\n  /**\n    @property VERSION\n    @type String\n    @static\n  */\n\n  var DS = Ember.Namespace.create({\n    VERSION: VERSION,\n    name: 'DS'\n  });\n\n  if (Ember.libraries) {\n    Ember.libraries.registerCoreLibrary('Ember Data', DS.VERSION);\n  }\n\n  function featureIsEnabled() {\n    return Ember.FEATURES.isEnabled.apply(void 0, arguments);\n  }\n\n  /*\n    Extend `Ember.DataAdapter` with ED specific code.\n\n    @class DebugAdapter\n    @namespace DS\n    @extends Ember.DataAdapter\n    @private\n  */\n\n  var debugAdapter = Ember.DataAdapter.extend({\n    getFilters: function 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    detect: function detect(typeClass) {\n      return typeClass !== Model && Model.detect(typeClass);\n    },\n    columnNameToDesc: function columnNameToDesc(name) {\n      return Ember.String.capitalize(Ember.String.underscore(name).replace(/_/g, ' ').trim());\n    },\n    columnsForType: function columnsForType(typeClass) {\n      var _this = this;\n\n      var columns = [{\n        name: 'id',\n        desc: 'Id'\n      }];\n      var count = 0;\n      var self = this;\n      Ember.get(typeClass, 'attributes').forEach(function (meta, name) {\n        if (count++ > self.attributeLimit) {\n          return false;\n        }\n\n        var desc = _this.columnNameToDesc(name);\n\n        columns.push({\n          name: name,\n          desc: desc\n        });\n      });\n      return columns;\n    },\n    getRecords: function getRecords(modelClass, modelName) {\n      if (arguments.length < 2) {\n        // Legacy Ember.js < 1.13 support\n        var containerKey = modelClass._debugContainerKey;\n\n        if (containerKey) {\n          var match = containerKey.match(/model:(.*)/);\n\n          if (match !== null) {\n            modelName = match[1];\n          }\n        }\n      }\n\n      ( !(!!modelName) && Ember.assert('Cannot find model name. Please upgrade to Ember.js >= 1.13 for Ember Inspector support', !!modelName));\n      return this.get('store').peekAll(modelName);\n    },\n    getRecordColumnValues: function getRecordColumnValues(record) {\n      var _this2 = this;\n\n      var count = 0;\n      var columnValues = {\n        id: Ember.get(record, 'id')\n      };\n      record.eachAttribute(function (key) {\n        if (count++ > _this2.attributeLimit) {\n          return false;\n        }\n\n        columnValues[key] = Ember.get(record, key);\n      });\n      return columnValues;\n    },\n    getRecordKeywords: function getRecordKeywords(record) {\n      var keywords = [];\n      var keys = Ember.A(['id']);\n      record.eachAttribute(function (key) {\n        return keys.push(key);\n      });\n      keys.forEach(function (key) {\n        return keywords.push(Ember.get(record, key));\n      });\n      return keywords;\n    },\n    getRecordFilterValues: function getRecordFilterValues(record) {\n      return {\n        isNew: record.get('isNew'),\n        isModified: record.get('hasDirtyAttributes') && !record.get('isNew'),\n        isClean: !record.get('hasDirtyAttributes')\n      };\n    },\n    getRecordColor: function getRecordColor(record) {\n      var color = 'black';\n\n      if (record.get('isNew')) {\n        color = 'green';\n      } else if (record.get('hasDirtyAttributes')) {\n        color = 'blue';\n      }\n\n      return color;\n    },\n    observeRecord: function observeRecord(record, recordUpdated) {\n      var releaseMethods = Ember.A();\n      var keysToObserve = Ember.A(['id', 'isNew', 'hasDirtyAttributes']);\n      record.eachAttribute(function (key) {\n        return keysToObserve.push(key);\n      });\n      var adapter = this;\n      keysToObserve.forEach(function (key) {\n        var handler = function handler() {\n          recordUpdated(adapter.wrapRecord(record));\n        };\n\n        Ember.addObserver(record, key, handler);\n        releaseMethods.push(function () {\n          Ember.removeObserver(record, key, handler);\n        });\n      });\n\n      var release = function release() {\n        releaseMethods.forEach(function (fn) {\n          return fn();\n        });\n      };\n\n      return release;\n    }\n  });\n\n  Object.defineProperty(exports, 'AdapterPopulatedRecordArray', {\n    enumerable: true,\n    get: function () {\n      return Private.AdapterPopulatedRecordArray;\n    }\n  });\n  Object.defineProperty(exports, 'Errors', {\n    enumerable: true,\n    get: function () {\n      return Private.Errors;\n    }\n  });\n  Object.defineProperty(exports, 'InternalModel', {\n    enumerable: true,\n    get: function () {\n      return Private.InternalModel;\n    }\n  });\n  Object.defineProperty(exports, 'ManyArray', {\n    enumerable: true,\n    get: function () {\n      return Private.ManyArray;\n    }\n  });\n  Object.defineProperty(exports, 'PromiseArray', {\n    enumerable: true,\n    get: function () {\n      return Private.PromiseArray;\n    }\n  });\n  Object.defineProperty(exports, 'PromiseManyArray', {\n    enumerable: true,\n    get: function () {\n      return Private.PromiseManyArray;\n    }\n  });\n  Object.defineProperty(exports, 'PromiseObject', {\n    enumerable: true,\n    get: function () {\n      return Private.PromiseObject;\n    }\n  });\n  Object.defineProperty(exports, 'RecordArray', {\n    enumerable: true,\n    get: function () {\n      return Private.RecordArray;\n    }\n  });\n  Object.defineProperty(exports, 'RecordArrayManager', {\n    enumerable: true,\n    get: function () {\n      return Private.RecordArrayManager;\n    }\n  });\n  Object.defineProperty(exports, 'RecordData', {\n    enumerable: true,\n    get: function () {\n      return Private.RecordData;\n    }\n  });\n  Object.defineProperty(exports, 'Relationship', {\n    enumerable: true,\n    get: function () {\n      return Private.Relationship;\n    }\n  });\n  Object.defineProperty(exports, 'RootState', {\n    enumerable: true,\n    get: function () {\n      return Private.RootState;\n    }\n  });\n  Object.defineProperty(exports, 'Snapshot', {\n    enumerable: true,\n    get: function () {\n      return Private.Snapshot;\n    }\n  });\n  Object.defineProperty(exports, 'SnapshotRecordArray', {\n    enumerable: true,\n    get: function () {\n      return Private.SnapshotRecordArray;\n    }\n  });\n  Object.defineProperty(exports, 'coerceId', {\n    enumerable: true,\n    get: function () {\n      return Private.coerceId;\n    }\n  });\n  Object.defineProperty(exports, 'normalizeModelName', {\n    enumerable: true,\n    get: function () {\n      return Private.normalizeModelName;\n    }\n  });\n  Object.defineProperty(exports, 'recordDataFor', {\n    enumerable: true,\n    get: function () {\n      return Private.recordDataFor;\n    }\n  });\n  Object.defineProperty(exports, 'relationshipStateFor', {\n    enumerable: true,\n    get: function () {\n      return Private.relationshipStateFor;\n    }\n  });\n  Object.defineProperty(exports, 'relationshipsFor', {\n    enumerable: true,\n    get: function () {\n      return Private.relationshipsFor;\n    }\n  });\n  exports.Store = store;\n  exports.DS = DS;\n  exports.DebugAdapter = debugAdapter;\n  exports.isEnabled = featureIsEnabled;\n\n  Object.defineProperty(exports, '__esModule', { value: true });\n\n});\n","define(\"ember-data/adapter\", [\"exports\", \"@ember-data/adapter\"], function (_exports, _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 get() {\n      return _adapter.default;\n    }\n  });\n});","define(\"ember-data/adapters/errors\", [\"exports\", \"@ember-data/adapter/error\"], function (_exports, _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 get() {\n      return _error.AbortError;\n    }\n  });\n  Object.defineProperty(_exports, \"AdapterError\", {\n    enumerable: true,\n    get: function get() {\n      return _error.AdapterError;\n    }\n  });\n  Object.defineProperty(_exports, \"ConflictError\", {\n    enumerable: true,\n    get: function get() {\n      return _error.ConflictError;\n    }\n  });\n  Object.defineProperty(_exports, \"ForbiddenError\", {\n    enumerable: true,\n    get: function get() {\n      return _error.ForbiddenError;\n    }\n  });\n  Object.defineProperty(_exports, \"InvalidError\", {\n    enumerable: true,\n    get: function get() {\n      return _error.InvalidError;\n    }\n  });\n  Object.defineProperty(_exports, \"NotFoundError\", {\n    enumerable: true,\n    get: function get() {\n      return _error.NotFoundError;\n    }\n  });\n  Object.defineProperty(_exports, \"ServerError\", {\n    enumerable: true,\n    get: function get() {\n      return _error.ServerError;\n    }\n  });\n  Object.defineProperty(_exports, \"TimeoutError\", {\n    enumerable: true,\n    get: function get() {\n      return _error.TimeoutError;\n    }\n  });\n  Object.defineProperty(_exports, \"UnauthorizedError\", {\n    enumerable: true,\n    get: function get() {\n      return _error.UnauthorizedError;\n    }\n  });\n  Object.defineProperty(_exports, \"errorsArrayToHash\", {\n    enumerable: true,\n    get: function get() {\n      return _error.errorsArrayToHash;\n    }\n  });\n  Object.defineProperty(_exports, \"errorsHashToArray\", {\n    enumerable: true,\n    get: function get() {\n      return _error.errorsHashToArray;\n    }\n  });\n});","define(\"ember-data/adapters/json-api\", [\"exports\", \"@ember-data/adapter/json-api\"], function (_exports, _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 get() {\n      return _jsonApi.default;\n    }\n  });\n});","define(\"ember-data/adapters/rest\", [\"exports\", \"@ember-data/adapter/rest\"], function (_exports, _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 get() {\n      return _rest.default;\n    }\n  });\n});","define(\"ember-data/attr\", [\"exports\", \"@ember-data/model\"], function (_exports, _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 get() {\n      return _model.attr;\n    }\n  });\n});","define(\"ember-data/index\", [\"exports\", \"@ember-data/store\", \"ember-data/-private\", \"ember-inflector\", \"ember-data/setup-container\", \"ember-data/initialize-store-service\", \"@ember-data/serializer/transform\", \"@ember-data/adapter\", \"@ember-data/adapter/json-api\", \"@ember-data/adapter/rest\", \"@ember-data/adapter/error\", \"@ember-data/serializer\", \"@ember-data/serializer/json-api\", \"@ember-data/serializer/json\", \"@ember-data/serializer/rest\", \"@ember-data/model\"], function (_exports, _store, _private, _emberInflector, _setupContainer, _initializeStoreService, _transform, _adapter, _jsonApi, _rest, _error, _serializer, _jsonApi2, _json, _rest2, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n    Ember Data\n    @module ember-data\n    @main ember-data\n  */\n  if (Ember.VERSION.match(/^1\\.([0-9]|1[0-2])\\./)) {\n    throw new Ember.Error('Ember Data requires at least Ember 1.13.0, but you have ' + Ember.VERSION + '. Please upgrade your version of Ember, then upgrade Ember Data.');\n  }\n\n  _private.DS.Store = _store.default;\n  _private.DS.PromiseArray = _private.PromiseArray;\n  _private.DS.PromiseObject = _private.PromiseObject;\n  _private.DS.PromiseManyArray = _private.PromiseManyArray;\n  _private.DS.Model = _model.default;\n  _private.DS.RootState = _private.RootState;\n  _private.DS.attr = _model.attr;\n  _private.DS.Errors = _private.Errors;\n  _private.DS.InternalModel = _private.InternalModel;\n  _private.DS.Snapshot = _private.Snapshot;\n  _private.DS.Adapter = _adapter.default;\n  _private.DS.AdapterError = _error.AdapterError;\n  _private.DS.InvalidError = _error.InvalidError;\n  _private.DS.TimeoutError = _error.TimeoutError;\n  _private.DS.AbortError = _error.AbortError;\n  _private.DS.UnauthorizedError = _error.UnauthorizedError;\n  _private.DS.ForbiddenError = _error.ForbiddenError;\n  _private.DS.NotFoundError = _error.NotFoundError;\n  _private.DS.ConflictError = _error.ConflictError;\n  _private.DS.ServerError = _error.ServerError;\n  _private.DS.errorsHashToArray = _error.errorsHashToArray;\n  _private.DS.errorsArrayToHash = _error.errorsArrayToHash;\n  _private.DS.Serializer = _serializer.default;\n  _private.DS.DebugAdapter = _private.DebugAdapter;\n  _private.DS.RecordArray = _private.RecordArray;\n  _private.DS.AdapterPopulatedRecordArray = _private.AdapterPopulatedRecordArray;\n  _private.DS.ManyArray = _private.ManyArray;\n  _private.DS.RecordArrayManager = _private.RecordArrayManager;\n  _private.DS.RESTAdapter = _rest.default;\n  _private.DS.BuildURLMixin = _adapter.BuildURLMixin;\n  _private.DS.RESTSerializer = _rest2.default;\n  _private.DS.JSONSerializer = _json.default;\n  _private.DS.JSONAPIAdapter = _jsonApi.default;\n  _private.DS.JSONAPISerializer = _jsonApi2.default;\n  _private.DS.Transform = _transform.default;\n  _private.DS.DateTransform = _transform.DateTransform;\n  _private.DS.StringTransform = _transform.StringTransform;\n  _private.DS.NumberTransform = _transform.NumberTransform;\n  _private.DS.BooleanTransform = _transform.BooleanTransform;\n  _private.DS.EmbeddedRecordsMixin = _rest2.EmbeddedRecordsMixin;\n  _private.DS.belongsTo = _model.belongsTo;\n  _private.DS.hasMany = _model.hasMany;\n  _private.DS.Relationship = _private.Relationship;\n  _private.DS._setupContainer = _setupContainer.default;\n  _private.DS._initializeStoreService = _initializeStoreService.default;\n  Object.defineProperty(_private.DS, 'normalizeModelName', {\n    enumerable: true,\n    writable: false,\n    configurable: false,\n    value: _store.normalizeModelName\n  });\n  var _default = _private.DS;\n  _exports.default = _default;\n});","define(\"ember-data/initialize-store-service\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = initializeStoreService;\n\n  /*\n    Configures a registry for use with an Ember-Data\n    store.\n  \n    @method initializeStoreService\n    @param {Ember.ApplicationInstance | Ember.EngineInstance} instance\n  */\n  function initializeStoreService(instance) {\n    // instance.lookup supports Ember 2.1 and higher\n    // instance.container supports Ember 1.11 - 2.0\n    var container = instance.lookup ? instance : instance.container; // Eagerly generate the store so defaultStore is populated.\n\n    container.lookup('service:store');\n  }\n});","define(\"ember-data/model\", [\"exports\", \"@ember-data/model\"], function (_exports, _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 get() {\n      return _model.default;\n    }\n  });\n});","define(\"ember-data/relationships\", [\"exports\", \"@ember-data/model\"], function (_exports, _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 get() {\n      return _model.belongsTo;\n    }\n  });\n  Object.defineProperty(_exports, \"hasMany\", {\n    enumerable: true,\n    get: function get() {\n      return _model.hasMany;\n    }\n  });\n});","define(\"ember-data/serializer\", [\"exports\", \"@ember-data/serializer\"], function (_exports, _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 get() {\n      return _serializer.default;\n    }\n  });\n});","define(\"ember-data/serializers/embedded-records-mixin\", [\"exports\", \"@ember-data/serializer/rest\"], function (_exports, _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 get() {\n      return _rest.EmbeddedRecordsMixin;\n    }\n  });\n});","define(\"ember-data/serializers/json-api\", [\"exports\", \"@ember-data/serializer/json-api\"], function (_exports, _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 get() {\n      return _jsonApi.default;\n    }\n  });\n});","define(\"ember-data/serializers/json\", [\"exports\", \"@ember-data/serializer/json\"], function (_exports, _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 get() {\n      return _json.default;\n    }\n  });\n});","define(\"ember-data/serializers/rest\", [\"exports\", \"@ember-data/serializer/rest\"], function (_exports, _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 get() {\n      return _rest.default;\n    }\n  });\n});","define(\"ember-data/setup-container\", [\"exports\", \"ember-data/-private\", \"@ember-data/store\", \"@ember-data/serializer/json-api\", \"@ember-data/serializer/json\", \"@ember-data/serializer/rest\", \"@ember-data/adapter/json-api\", \"@ember-data/adapter/rest\", \"@ember-data/serializer/transform\"], function (_exports, _private, _store, _jsonApi, _json, _rest, _jsonApi2, _rest2, _transform) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = setupContainer;\n\n  function has(applicationOrRegistry, fullName) {\n    if (applicationOrRegistry.has) {\n      // < 2.1.0\n      return applicationOrRegistry.has(fullName);\n    } else {\n      // 2.1.0+\n      return applicationOrRegistry.hasRegistration(fullName);\n    }\n  }\n  /*\n   Configures a registry for use with an Ember-Data\n   store. Accepts an optional namespace argument.\n  \n   @method initializeStore\n   @param {Ember.Registry} registry\n   */\n\n\n  function initializeStore(registry) {\n    var registerOptionsForType = registry.registerOptionsForType || registry.optionsForType;\n    registerOptionsForType.call(registry, 'serializer', {\n      singleton: false\n    });\n    registerOptionsForType.call(registry, 'adapter', {\n      singleton: false\n    });\n    registry.register('serializer:-default', _json.default);\n    registry.register('serializer:-rest', _rest.default);\n    registry.register('adapter:-rest', _rest2.default);\n    registry.register('adapter:-json-api', _jsonApi2.default);\n    registry.register('serializer:-json-api', _jsonApi.default);\n\n    if (!has(registry, 'service:store')) {\n      registry.register('service:store', _store.default);\n    }\n  }\n  /*\n   Configures a registry with injections on Ember applications\n   for the Ember-Data store. Accepts an optional namespace argument.\n  \n   @method initializeDebugAdapter\n   @param {Ember.Registry} registry\n   */\n\n\n  function initializeDataAdapter(registry) {\n    registry.register('data-adapter:main', _private.DebugAdapter);\n  }\n  /*\n   Configures a registry with injections on Ember applications\n   for the Ember-Data store. Accepts an optional namespace argument.\n  \n   @method initializeStoreInjections\n   @param {Ember.Registry} registry\n   */\n\n\n  function initializeStoreInjections(registry) {\n    // registry.injection for Ember < 2.1.0\n    // application.inject for Ember 2.1.0+\n    var inject = registry.inject || registry.injection;\n    inject.call(registry, 'controller', 'store', 'service:store');\n    inject.call(registry, 'route', 'store', 'service:store');\n    inject.call(registry, 'data-adapter', 'store', 'service:store');\n  }\n  /*\n   Configures a registry for use with Ember-Data\n   transforms.\n  \n   @method initializeTransforms\n   @param {Ember.Registry} registry\n   */\n\n\n  function initializeTransforms(registry) {\n    registry.register('transform:boolean', _transform.BooleanTransform);\n    registry.register('transform:date', _transform.DateTransform);\n    registry.register('transform:number', _transform.NumberTransform);\n    registry.register('transform:string', _transform.StringTransform);\n  }\n\n  function setupContainer(application) {\n    initializeDataAdapter(application);\n    initializeTransforms(application);\n    initializeStoreInjections(application);\n    initializeStore(application);\n  }\n});","define(\"ember-data/store\", [\"exports\", \"@ember-data/store\"], function (_exports, _store) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function get() {\n      return _store.default;\n    }\n  });\n});","define(\"ember-data/transform\", [\"exports\", \"@ember-data/serializer/transform\"], function (_exports, _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 get() {\n      return _transform.default;\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  var _default = \"3.11.0\";\n  _exports.default = _default;\n});","define('ember-get-config/index', ['exports', 'pilasbloques/config/environment'], function (exports, _environment) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function () {\n      return _environment.default;\n    }\n  });\n});","define('ember-ignore-children-helper/helpers/ignore-children', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.ignoreChildren = ignoreChildren;\n\n  var _slicedToArray = function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];\n      var _n = true;\n      var _d = false;\n      var _e = undefined;\n\n      try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);\n\n          if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;\n        _e = err;\n      } finally {\n        try {\n          if (!_n && _i[\"return\"]) _i[\"return\"]();\n        } finally {\n          if (_d) throw _e;\n        }\n      }\n\n      return _arr;\n    }\n\n    return function (arr, i) {\n      if (Array.isArray(arr)) {\n        return arr;\n      } else if (Symbol.iterator in Object(arr)) {\n        return sliceIterator(arr, i);\n      } else {\n        throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n      }\n    };\n  }();\n\n  function ignoreChildren(_ref) {\n    var _ref2 = _slicedToArray(_ref, 1),\n        nextHandler = _ref2[0];\n\n    return function () {\n      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n\n      var event = args[args.length - 1];\n      if (event && event.target === event.currentTarget) {\n        nextHandler.apply(this, args);\n      }\n    };\n  }\n\n  exports.default = Ember.Helper.helper(ignoreChildren);\n});","define('ember-inflector/index', ['exports', 'ember-inflector/lib/system', 'ember-inflector/lib/ext/string'], function (exports, _system) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.defaultRules = exports.singularize = exports.pluralize = undefined;\n\n\n  _system.Inflector.defaultRules = _system.defaultRules;\n\n  Object.defineProperty(Ember, 'Inflector', {\n    get: function get() {\n      Ember.deprecate('Ember.Inflector is deprecated. Please explicitly: import Inflector from \\'ember-inflector\\';', false, {\n        id: 'ember-inflector.globals',\n        until: '3.0.0'\n      });\n\n      return _system.Inflector;\n    }\n  }, { configurable: true });\n\n  Object.defineProperty(Ember.String, 'singularize', {\n    get: function get() {\n      Ember.deprecate('Ember.String.singularize() is deprecated. Please explicitly: import { singularize } from \\'ember-inflector\\';', false, {\n        id: 'ember-inflector.globals',\n        until: '3.0.0'\n      });\n\n      return _system.singularize;\n    }\n  }, { configurable: true });\n\n  Object.defineProperty(Ember.String, 'pluralize', {\n    get: function get() {\n      Ember.deprecate('Ember.String.pluralize() is deprecated. Please explicitly: import { pluralize } from \\'ember-inflector\\';', false, {\n        id: 'ember-inflector.globals',\n        until: '3.0.0'\n      });\n\n      return _system.pluralize;\n    }\n  }, { configurable: true });\n\n  exports.default = _system.Inflector;\n  exports.pluralize = _system.pluralize;\n  exports.singularize = _system.singularize;\n  exports.defaultRules = _system.defaultRules;\n});","define('ember-inflector/lib/ext/string', ['ember-inflector/lib/system/string'], function (_string) {\n  'use strict';\n\n  if (Ember.ENV.EXTEND_PROTOTYPES === true || Ember.ENV.EXTEND_PROTOTYPES.String) {\n    /**\n      See {{#crossLink \"Ember.String/pluralize\"}}{{/crossLink}}\n       @method pluralize\n      @for String\n    */\n    Object.defineProperty(String.prototype, 'pluralize', {\n      get: function get() {\n        Ember.deprecate('String.prototype.pluralize() is deprecated. Please explicitly: import { pluralize } from \\'ember-inflector\\';', false, {\n          id: 'ember-inflector.globals',\n          until: '3.0.0'\n        });\n\n        return function () {\n          return (0, _string.pluralize)(this);\n        };\n      }\n    }, { configurable: true });\n\n    /**\n      See {{#crossLink \"Ember.String/singularize\"}}{{/crossLink}}\n       @method singularize\n      @for String\n    */\n    Object.defineProperty(String.prototype, 'singularize', {\n      get: function get() {\n        Ember.deprecate('String.prototype.singularize() is deprecated. Please explicitly: import { singularize } from \\'ember-inflector\\';', false, {\n          id: 'ember-inflector.globals',\n          until: '3.0.0'\n        });\n\n        return function () {\n          return (0, _string.singularize)(this);\n        };\n      }\n    }, { configurable: true });\n  }\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\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  exports.default = (0, _makeHelper.default)(function (params, hash) {\n    var fullParams = new (Function.prototype.bind.apply(Array, [null].concat(_toConsumableArray(params))))();\n\n    if (fullParams.length === 2) {\n      fullParams.push({ withoutCount: hash[\"without-count\"] });\n    }\n\n    return _emberInflector.pluralize.apply(undefined, _toConsumableArray(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 = (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\", \"ember-inflector/lib/system/inflections\"], function (exports, _inflector, _string, _inflections) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.defaultRules = exports.pluralize = exports.singularize = exports.Inflector = undefined;\n\n\n  _inflector.default.inflector = new _inflector.default(_inflections.default);\n\n  exports.Inflector = _inflector.default;\n  exports.singularize = _string.singularize;\n  exports.pluralize = _string.pluralize;\n  exports.defaultRules = _inflections.default;\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 = {\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\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\n    irregularPairs: [['person', 'people'], ['man', 'men'], ['child', 'children'], ['sex', 'sexes'], ['move', 'moves'], ['cow', 'kine'], ['zombie', 'zombies']],\n\n    uncountable: ['equipment', 'information', 'rice', 'money', 'species', 'series', 'fish', 'sheep', 'jeans', 'police']\n  };\n});","define('ember-inflector/lib/system/inflector', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  var BLANK_REGEX = /^\\s*$/;\n  var LAST_WORD_DASHED_REGEX = /([\\w/-]+[_/\\s-])([a-z\\d]+$)/;\n  var LAST_WORD_CAMELIZED_REGEX = /([\\w/\\s-]+)([A-Z][a-z\\d]*$)/;\n  var CAMELIZED_REGEX = /[A-Z][a-z\\d]*$/;\n\n  function loadUncountable(rules, uncountable) {\n    for (var i = 0, length = uncountable.length; i < length; i++) {\n      rules.uncountable[uncountable[i].toLowerCase()] = true;\n    }\n  }\n\n  function loadIrregular(rules, irregularPairs) {\n    var pair = void 0;\n\n    for (var 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\n    var rules = this.rules = {\n      plurals: ruleSet.plurals || [],\n      singular: ruleSet.singular || [],\n      irregular: makeDictionary(),\n      irregularInverse: makeDictionary(),\n      uncountable: makeDictionary()\n    };\n\n    loadUncountable(rules, ruleSet.uncountable);\n    loadIrregular(rules, ruleSet.irregularPairs);\n\n    this.enableCache();\n  }\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\n  function makeDictionary() {\n    var cache = Object.create(null);\n    cache['_dict'] = null;\n    delete cache['_dict'];\n    return cache;\n  }\n\n  Inflector.prototype = {\n    enableCache: function enableCache() {\n      this.purgeCache();\n\n      this.singularize = function (word) {\n        this._cacheUsed = true;\n        return this._sCache[word] || (this._sCache[word] = this._singularize(word));\n      };\n\n      this.pluralize = function (numberOrWord, word) {\n        var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\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    purgeCache: function purgeCache() {\n      this._cacheUsed = false;\n      this._sCache = makeDictionary();\n      this._pCache = makeDictionary();\n    },\n    disableCache: function disableCache() {\n      this._sCache = null;\n      this._pCache = null;\n      this.singularize = function (word) {\n        return this._singularize(word);\n      };\n\n      this.pluralize = function () {\n        return this._pluralize.apply(this, arguments);\n      };\n    },\n    plural: function plural(regex, string) {\n      if (this._cacheUsed) {\n        this.purgeCache();\n      }\n      this.rules.plurals.push([regex, string.toLowerCase()]);\n    },\n    singular: function singular(regex, string) {\n      if (this._cacheUsed) {\n        this.purgeCache();\n      }\n      this.rules.singular.push([regex, string.toLowerCase()]);\n    },\n    uncountable: function uncountable(string) {\n      if (this._cacheUsed) {\n        this.purgeCache();\n      }\n      loadUncountable(this.rules, [string.toLowerCase()]);\n    },\n    irregular: function irregular(singular, plural) {\n      if (this._cacheUsed) {\n        this.purgeCache();\n      }\n      loadIrregular(this.rules, [[singular, plural]]);\n    },\n    pluralize: function pluralize() {\n      return this._pluralize.apply(this, arguments);\n    },\n    _pluralize: function _pluralize(wordOrCount, word) {\n      var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n      if (word === undefined) {\n        return this.inflect(wordOrCount, this.rules.plurals, this.rules.irregular);\n      }\n\n      if (parseFloat(wordOrCount) !== 1) {\n        word = this.inflect(word, this.rules.plurals, this.rules.irregular);\n      }\n\n      return options.withoutCount ? word : wordOrCount + ' ' + word;\n    },\n    singularize: function singularize(word) {\n      return this._singularize(word);\n    },\n    _singularize: function _singularize(word) {\n      return this.inflect(word, this.rules.singular, this.rules.irregularInverse);\n    },\n    inflect: function inflect(word, typeRules, irregular) {\n      var inflection = void 0,\n          substitution = void 0,\n          result = void 0,\n          lowercase = void 0,\n          wordSplit = void 0,\n          lastWord = void 0,\n          isBlank = void 0,\n          isCamelized = void 0,\n          rule = void 0,\n          isUncountable = void 0;\n\n      isBlank = !word || BLANK_REGEX.test(word);\n      isCamelized = CAMELIZED_REGEX.test(word);\n\n      if (isBlank) {\n        return word;\n      }\n\n      lowercase = word.toLowerCase();\n      wordSplit = LAST_WORD_DASHED_REGEX.exec(word) || LAST_WORD_CAMELIZED_REGEX.exec(word);\n\n      if (wordSplit) {\n        lastWord = wordSplit[2].toLowerCase();\n      }\n\n      isUncountable = this.rules.uncountable[lowercase] || this.rules.uncountable[lastWord];\n\n      if (isUncountable) {\n        return word;\n      }\n\n      for (rule in irregular) {\n        if (lowercase.match(rule + \"$\")) {\n          substitution = irregular[rule];\n\n          if (isCamelized && irregular[lastWord]) {\n            substitution = Ember.String.capitalize(substitution);\n            rule = Ember.String.capitalize(rule);\n          }\n\n          return word.replace(new RegExp(rule, 'i'), substitution);\n        }\n      }\n\n      for (var i = typeRules.length, min = 0; i > min; i--) {\n        inflection = typeRules[i - 1];\n        rule = inflection[0];\n\n        if (rule.test(word)) {\n          break;\n        }\n      }\n\n      inflection = inflection || [];\n\n      rule = inflection[0];\n      substitution = inflection[1];\n\n      result = word.replace(rule, substitution);\n\n      return result;\n    }\n  };\n\n  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.singularize = exports.pluralize = undefined;\n\n\n  function pluralize() {\n    var _Inflector$inflector;\n\n    return (_Inflector$inflector = _inflector.default.inflector).pluralize.apply(_Inflector$inflector, arguments);\n  }\n\n  function singularize(word) {\n    return _inflector.default.inflector.singularize(word);\n  }\n\n  exports.pluralize = pluralize;\n  exports.singularize = singularize;\n});","define('ember-inflector/lib/utils/make-helper', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = makeHelper;\n  function makeHelper(helperFunction) {\n    if (Ember.Helper) {\n      return Ember.Helper.helper(helperFunction);\n    }\n    if (Ember.HTMLBars) {\n      return Ember.HTMLBars.makeBoundHelper(helperFunction);\n    }\n    return Ember.Handlebars.makeBoundHelper(helperFunction);\n  }\n});","define(\"ember-load-initializers/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n\n  /* global requirejs:false, require:false */\n  function resolveInitializer(moduleName) {\n    var module = require(moduleName, null, null, true);\n\n    if (!module) {\n      throw new Error(moduleName + ' must export an initializer.');\n    }\n\n    var initializer = module['default'];\n\n    if (!initializer.name) {\n      initializer.name = moduleName.slice(moduleName.lastIndexOf('/') + 1);\n    }\n\n    return initializer;\n  }\n\n  function registerInitializers(app, moduleNames) {\n    for (var i = 0; i < moduleNames.length; i++) {\n      app.initializer(resolveInitializer(moduleNames[i]));\n    }\n  }\n\n  function registerInstanceInitializers(app, moduleNames) {\n    for (var i = 0; i < moduleNames.length; i++) {\n      app.instanceInitializer(resolveInitializer(moduleNames[i]));\n    }\n  }\n\n  function _endsWith(str, suffix) {\n    return str.indexOf(suffix, str.length - suffix.length) !== -1;\n  }\n\n  function _default(app, prefix) {\n    var initializerPrefix = prefix + '/initializers/';\n    var instanceInitializerPrefix = prefix + '/instance-initializers/';\n    var initializers = [];\n    var instanceInitializers = []; // this is 2 pass because generally the first pass is the problem\n    // and is reduced, and resolveInitializer has potential to deopt\n\n    var moduleNames = Object.keys(requirejs._eak_seen);\n\n    for (var i = 0; i < moduleNames.length; i++) {\n      var moduleName = moduleNames[i];\n\n      if (moduleName.lastIndexOf(initializerPrefix, 0) === 0) {\n        if (!_endsWith(moduleName, '-test')) {\n          initializers.push(moduleName);\n        }\n      } else if (moduleName.lastIndexOf(instanceInitializerPrefix, 0) === 0) {\n        if (!_endsWith(moduleName, '-test')) {\n          instanceInitializers.push(moduleName);\n        }\n      }\n    }\n\n    registerInitializers(app, initializers);\n    registerInstanceInitializers(app, instanceInitializers);\n  }\n});","define(\"ember-modal-dialog/components/basic-dialog\", [\"exports\", \"ember-modal-dialog/templates/components/basic-dialog\"], function (_exports, _basicDialog) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Component.extend({\n    tagName: '',\n    layout: _basicDialog.default,\n    containerClassNames: null,\n    overlayClassNames: null,\n    wrapperClassNames: null,\n    modalService: Ember.inject.service('modal-dialog'),\n    destinationElementId: Ember.computed.oneWay('modalService.destinationElementId'),\n    variantWrapperClass: 'emd-static',\n    containerClassNamesString: Ember.computed('containerClassNames.[]', 'targetAttachmentClass', 'attachmentClass', 'containerClass', function () {\n      return [this.get('containerClassNames').join(' '), this.get('targetAttachmentClass'), this.get('attachmentClass'), this.get('containerClass')].filter(function (className) {\n        return !Ember.isEmpty(className);\n      }).join(' ');\n    }),\n    overlayClassNamesString: Ember.computed('overlayClassNames.[]', 'overlayClass', 'translucentOverlay', function () {\n      return [this.get('overlayClassNames').join(' '), this.get('translucentOverlay') ? 'translucent' : null, this.get('overlayClass')].filter(function (className) {\n        return !Ember.isEmpty(className);\n      }).join(' ');\n    }),\n    wrapperClassNamesString: Ember.computed('wrapperClassNames.[]', 'targetAttachmentClass', 'variantWrapperClass', 'wrapperClass', function () {\n      return [this.get('wrapperClassNames').join(' '), this.get('targetAttachmentClass').replace('emd-', 'emd-wrapper-'), this.get('variantWrapperClass'), this.get('wrapperClass')].filter(function (className) {\n        return !Ember.isEmpty(className);\n      }).join(' ');\n    }),\n    concatenatedProperties: ['containerClassNames', 'overlayClassNames', 'wrapperClassNames'],\n    translucentOverlay: false,\n    clickOutsideToClose: false,\n    hasOverlay: true,\n    isCentered: true,\n    overlayPosition: null,\n    isOverlaySibling: Ember.computed('overlayPosition', function () {\n      return this.get('overlayPosition') === 'sibling';\n    }),\n    didInsertElement: function didInsertElement() {\n      var _this = this;\n\n      if (!this.get('clickOutsideToClose')) {\n        return;\n      }\n\n      this.makeOverlayClickableOnIOS();\n\n      this.handleClick = function (_ref) {\n        var target = _ref.target;\n\n        // if the click has already resulted in the target\n        // being removed or hidden, do nothing\n        if (target.offsetWidth === 0 && target.offsetHeight === 0) {\n          return;\n        }\n\n        if (_this.isDestroying || _this.isDestroyed) {\n          return;\n        }\n\n        var modalSelector = '.ember-modal-dialog';\n\n        if (_this.get('stack')) {\n          modalSelector = '#' + _this.get('stack') + modalSelector;\n        } // if the click is within the dialog, do nothing\n\n\n        var modalEl = document.querySelector(modalSelector);\n\n        if (modalEl && modalEl.contains(target)) {\n          return;\n        }\n\n        if (_this.get('onClose')) {\n          _this.get('onClose')();\n        }\n      };\n\n      var registerClick = function registerClick() {\n        return document.addEventListener('click', _this.handleClick);\n      }; // setTimeout needed or else the click handler will catch the click that spawned this modal dialog\n\n\n      setTimeout(registerClick);\n\n      if (this.get('isIOS')) {\n        var registerTouch = function registerTouch() {\n          return document.addEventListener('touchend', _this.handleClick);\n        };\n\n        setTimeout(registerTouch);\n      }\n\n      this._super.apply(this, arguments);\n    },\n    willDestroyElement: function willDestroyElement() {\n      document.removeEventListener('click', this.handleClick);\n\n      if (this.get('isIOS')) {\n        document.removeEventListener('touchend', this.handleClick);\n      }\n\n      this._super.apply(this, arguments);\n    },\n    isIOS: Ember.computed(function () {\n      return /iPad|iPhone|iPod/.test(navigator.userAgent);\n    }),\n    makeOverlayClickableOnIOS: function makeOverlayClickableOnIOS() {\n      if (this.get('isIOS')) {\n        var overlayEl = document.querySelector('div[data-emd-overlay]');\n\n        if (overlayEl) {\n          overlayEl.style.cursor = 'pointer';\n        }\n      }\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-modal-dialog/components/in-place-dialog\", [\"exports\", \"ember-modal-dialog/templates/components/in-place-dialog\"], function (_exports, _inPlaceDialog) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var computedJoin = function computedJoin(prop) {\n    return Ember.computed(prop, function () {\n      return this.get(prop).join(' ');\n    });\n  };\n\n  var _default = Ember.Component.extend({\n    tagName: '',\n    layout: _inPlaceDialog.default,\n    containerClass: null,\n    // passed in\n    containerClassNames: ['ember-modal-dialog', 'ember-modal-dialog-in-place', 'emd-in-place'],\n    // set this in a subclass definition\n    containerClassNamesString: computedJoin('containerClassNames'),\n    concatenatedProperties: ['containerClassNames']\n  });\n\n  _exports.default = _default;\n});","define(\"ember-modal-dialog/components/liquid-dialog\", [\"exports\", \"ember-modal-dialog/components/basic-dialog\", \"ember-modal-dialog/templates/components/liquid-dialog\"], function (_exports, _basicDialog, _liquidDialog) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /* eslint-disable ember/avoid-leaking-state-in-ember-objects */\n  var _default = _basicDialog.default.extend({\n    layout: _liquidDialog.default,\n    hasOverlay: true,\n    containerClassNames: ['liquid-dialog'],\n    variantWrapperClass: 'emd-animatable'\n  });\n\n  _exports.default = _default;\n});","define(\"ember-modal-dialog/components/liquid-tether-dialog\", [\"exports\", \"ember-modal-dialog/components/basic-dialog\", \"ember-modal-dialog/templates/components/liquid-tether-dialog\"], function (_exports, _basicDialog, _liquidTetherDialog) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = _basicDialog.default.extend({\n    layout: _liquidTetherDialog.default,\n    targetAttachmentClass: Ember.computed('targetAttachment', function () {\n      var targetAttachment = this.get('targetAttachment') || '';\n      return \"ember-modal-dialog-target-attachment-\".concat(Ember.String.dasherize(targetAttachment));\n    }),\n    targetAttachment: null,\n    attachment: null,\n    didReceiveAttrs: function didReceiveAttrs() {\n      this._super.apply(this, arguments);\n\n      if (!this.get('attachment')) {\n        this.set('attachment', 'middle center');\n      }\n\n      if (!this.get('targetAttachment')) {\n        this.set('targetAttachment', 'middle center');\n      }\n    },\n    tetherClassPrefix: Ember.computed({\n      get: function get() {\n        return 'liquid-tether';\n      },\n      set: function set(key, val) {\n        if (val) {\n          return val;\n        }\n\n        return 'liquid-tether';\n      }\n    }),\n    hasOverlay: true,\n    tetherTarget: null // element, css selector, view instance, 'viewport', or 'scroll-handle'\n    // offset - passed in\n    // targetOffset - passed in\n    // targetModifier - passed in\n\n  });\n\n  _exports.default = _default;\n});","define(\"ember-modal-dialog/components/modal-dialog\", [\"exports\", \"ember-modal-dialog/templates/components/modal-dialog\"], function (_exports, _modalDialog) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var VALID_OVERLAY_POSITIONS = ['parent', 'sibling'];\n\n  var _default = Ember.Component.extend({\n    tagName: '',\n    layout: _modalDialog.default,\n    modalService: Ember.inject.service('modal-dialog'),\n    destinationElementId: Ember.computed.oneWay('modalService.destinationElementId'),\n    modalDialogComponentName: Ember.computed('renderInPlace', 'tetherTarget', 'animatable', 'hasLiquidWormhole', 'hasLiquidTether', function () {\n      var tetherTarget = this.get('tetherTarget');\n      var hasLiquidTether = this.get('hasLiquidTether');\n      var hasLiquidWormhole = this.get('hasLiquidWormhole');\n      var animatable = this.get('animatable');\n\n      if (this.get('renderInPlace')) {\n        return 'ember-modal-dialog/-in-place-dialog';\n      } else if (tetherTarget && hasLiquidTether && hasLiquidWormhole && animatable === true) {\n        return 'ember-modal-dialog/-liquid-tether-dialog';\n      } else if (tetherTarget) {\n        this.ensureEmberTetherPresent();\n        return 'ember-modal-dialog/-tether-dialog';\n      } else if (hasLiquidWormhole && animatable === true) {\n        return 'ember-modal-dialog/-liquid-dialog';\n      }\n\n      return 'ember-modal-dialog/-basic-dialog';\n    }),\n    animatable: null,\n    hasLiquidWormhole: Ember.computed.readOnly('modalService.hasLiquidWormhole'),\n    hasLiquidTether: Ember.computed.readOnly('modalService.hasLiquidTether'),\n    didReceiveAttrs: function didReceiveAttrs() {\n      this._super.apply(this, arguments);\n\n      if (true\n      /* DEBUG */\n      ) {\n        this.validateProps();\n      }\n    },\n    validateProps: function validateProps() {\n      var overlayPosition = this.get('overlayPosition');\n\n      if (VALID_OVERLAY_POSITIONS.indexOf(overlayPosition) === -1) {\n        (true && Ember.warn(\"overlayPosition value '\".concat(overlayPosition, \"' is not valid (valid values [\").concat(VALID_OVERLAY_POSITIONS.join(', '), \"])\"), false, {\n          id: 'ember-modal-dialog.validate-overlay-position'\n        }));\n      }\n    },\n    // onClose - set this from templates\n\n    /* eslint-disable ember/avoid-leaking-state-in-ember-objects */\n    // containerClass - set this from templates\n    containerClassNames: ['ember-modal-dialog'],\n    // set this in a subclass definition\n    // overlayClass - set this from templates\n    overlayClassNames: ['ember-modal-overlay'],\n    // set this in a subclass definition\n    // wrapperClass - set this from templates\n    wrapperClassNames: ['ember-modal-wrapper'],\n    // set this in a subclass definition\n    concatenatedProperties: ['containerClassNames', 'overlayClassNames', 'wrapperClassNames'],\n\n    /* eslint-enable ember/avoid-leaking-state-in-ember-objects */\n    hasOverlay: true,\n    translucentOverlay: false,\n    overlayPosition: 'parent',\n    // `parent` or `sibling`\n    clickOutsideToClose: false,\n    renderInPlace: false,\n    tetherTarget: null,\n    stack: Ember.computed.oneWay('elementId'),\n    // pass a `stack` string to set a \"stack\" to be passed to liquid-wormhole / liquid-tether\n    value: 0,\n    // pass a `value` to set a \"value\" to be passed to liquid-wormhole / liquid-tether\n    targetAttachment: 'middle center',\n    tetherClassPrefix: null,\n    attachmentClass: Ember.computed('attachment', function () {\n      var attachment = this.get('attachment');\n\n      if (Ember.isEmpty(attachment)) {\n        return;\n      }\n\n      return attachment.split(' ').map(function (attachmentPart) {\n        return \"emd-attachment-\".concat(Ember.String.dasherize(attachmentPart));\n      }).join(' ');\n    }),\n    targetAttachmentClass: Ember.computed('targetAttachment', function () {\n      var targetAttachment = this.get('targetAttachment') || ''; // Convert tether-styled values like 'middle right' to 'right'\n\n      targetAttachment = targetAttachment.split(' ').slice(-1)[0];\n      return \"ember-modal-dialog-target-attachment-\".concat(Ember.String.dasherize(targetAttachment), \" emd-target-attachment-\").concat(Ember.String.dasherize(targetAttachment));\n    }),\n    ensureEmberTetherPresent: function ensureEmberTetherPresent() {\n      if (!this.get('modalService.hasEmberTether')) {\n        throw new Error('Please install ember-tether in order to pass a tetherTarget to modal-dialog');\n      }\n    },\n    actions: {\n      onClose: function onClose() {\n        if (this.get('onClose')) {\n          this.get('onClose')();\n        }\n      },\n      onClickOverlay: function onClickOverlay(e) {\n        e.preventDefault();\n\n        if (this.get('onClickOverlay')) {\n          this.get('onClickOverlay')();\n        } else {\n          if (this.get('onClose')) {\n            this.get('onClose')();\n          }\n        }\n      }\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-modal-dialog/components/positioned-container\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var SUPPORTED_TARGET_ATTACHMENTS = ['top', 'right', 'bottom', 'left', 'center', 'elementCenter', 'none'];\n\n  var _default = Ember.Component.extend({\n    // target - element selector, element, or Ember View\n    // targetAttachment - top, right, bottom, left, center, or none\n    //   left, right, top, bottom (relative to target)\n    //   center (relative to container)\n    targetAttachment: 'center',\n    isPositioned: Ember.computed('targetAttachment', 'target', 'renderInPlace', function () {\n      if (this.get('renderInPlace')) {\n        return false;\n      }\n\n      var target = this.get('target');\n      var targetAttachment = this.get('targetAttachment');\n\n      if (target === 'body' && (targetAttachment === 'center' || targetAttachment === 'middle center')) {\n        return false;\n      }\n\n      if (target && targetAttachment) {\n        return true;\n      }\n\n      return false;\n    }),\n    didGetPositioned: Ember.observer('isPositioned', Ember.on('didInsertElement', function () {\n      if (this._state !== 'inDOM') {\n        return;\n      }\n\n      if (this.get('isPositioned')) {\n        this.updateTargetAttachment();\n      } else {\n        this.element.style.left = '';\n        this.element.style.top = '';\n      }\n    })),\n    getWrappedTargetAttachmentElement: function getWrappedTargetAttachmentElement() {\n      var target = this.get('target');\n\n      if (!target) {\n        return null;\n      }\n\n      if (Ember.typeOf(target) === 'string') {\n        var targetSelector = target;\n        var wrappedElement = document.querySelector(targetSelector);\n        (true && !(wrappedElement) && Ember.assert(\"No element found for modal-dialog's target selector '\".concat(targetSelector, \"'.\"), wrappedElement));\n        return wrappedElement;\n      } // passed an ember view or component\n\n\n      if (target.element) {\n        return target.element;\n      } // passed an element directly\n\n\n      return target;\n    },\n    updateTargetAttachment: function updateTargetAttachment() {\n      var targetAttachment = this.get('targetAttachment'); // Convert tether-styled values like 'middle right' to 'right'\n\n      targetAttachment = targetAttachment.split(' ').slice(-1)[0];\n      (true && !(SUPPORTED_TARGET_ATTACHMENTS.indexOf(targetAttachment) > -1) && Ember.assert(\"Positioned container supports targetAttachments of \".concat(SUPPORTED_TARGET_ATTACHMENTS.join(', ')), SUPPORTED_TARGET_ATTACHMENTS.indexOf(targetAttachment) > -1));\n      var targetAttachmentMethod = \"align\".concat(Ember.String.capitalize(targetAttachment));\n      var targetAttachmentElement = this.getWrappedTargetAttachmentElement();\n      this[targetAttachmentMethod](targetAttachmentElement);\n    },\n    alignCenter: function alignCenter() {\n      var elementWidth = this.element.offsetWidth;\n      var elementHeight = this.element.offsetHeight;\n      this.element.style.left = '50%';\n      this.element.style.top = '50%';\n      this.element.style.marginLeft = \"\".concat(elementWidth * -0.5, \"px\");\n      this.element.style.marginTop = \"\".concat(elementHeight * -0.5, \"px\");\n    },\n    alignLeft: function alignLeft(targetAttachmentElement) {\n      (true && !(targetAttachmentElement) && Ember.assert('Left targetAttachment requires a target', targetAttachmentElement));\n      var elementWidth = this.element.offsetWidth;\n      var originOffset = targetAttachmentElement.getBoundingClientRect();\n      var originOffsetTop = originOffset.top;\n      this.element.style.left = \"\".concat(originOffset.left - elementWidth, \"px\");\n      this.element.style.top = \"\".concat(originOffsetTop, \"px\");\n    },\n    alignRight: function alignRight(targetAttachmentElement) {\n      (true && !(targetAttachmentElement) && Ember.assert('Right targetAttachment requires a target', targetAttachmentElement));\n      var targetWidth = targetAttachmentElement.offsetWidth;\n      var originOffset = targetAttachmentElement.getBoundingClientRect();\n      var originOffsetTop = originOffset.top;\n      this.element.style.left = \"\".concat(originOffset.left + targetWidth, \"px\");\n      this.element.style.top = \"\".concat(originOffsetTop, \"px\");\n    },\n    alignTop: function alignTop(targetAttachmentElement) {\n      (true && !(targetAttachmentElement) && Ember.assert('Top targetAttachment requires a target', targetAttachmentElement));\n      var elementWidth = this.element.offsetWidth;\n      var elementHeight = this.element.offsetHeight;\n      var originOffset = targetAttachmentElement.getBoundingClientRect();\n      var originOffsetTop = originOffset.top;\n      var targetWidth = targetAttachmentElement.offsetWidth;\n      this.element.style.left = \"\".concat(originOffset.left + targetWidth / 2 - elementWidth / 2, \"px\");\n      this.element.style.top = \"\".concat(originOffsetTop - elementHeight, \"px\");\n    },\n    alignBottom: function alignBottom(targetAttachmentElement) {\n      (true && !(targetAttachmentElement) && Ember.assert('Bottom targetAttachment requires a target', targetAttachmentElement));\n      var elementWidth = this.element.offsetWidth;\n      var originOffset = targetAttachmentElement.getBoundingClientRect();\n      var originOffsetTop = originOffset.top;\n      var targetWidth = targetAttachmentElement.offsetWidth;\n      var targetHeight = targetAttachmentElement.offsetHeight;\n      this.element.style.left = \"\".concat(originOffset.left + targetWidth / 2 - elementWidth / 2, \"px\");\n      this.element.style.top = \"\".concat(originOffsetTop + targetHeight, \"px\");\n    },\n    alignElementCenter: function alignElementCenter(targetAttachmentElement) {\n      (true && !(targetAttachmentElement) && Ember.assert('ElementCenter targetAttachment requires a target', targetAttachmentElement));\n      var elementWidth = this.element.offsetWidth;\n      var originOffset = targetAttachmentElement.getBoundingClientRect();\n      var originOffsetTop = originOffset.top;\n      var targetWidth = targetAttachmentElement.offsetWidth;\n      var targetHeight = targetAttachmentElement.offsetHeight;\n      var elementHeight = this.element.offsetHeight;\n      this.element.style.left = \"\".concat(originOffset.left + targetWidth / 2 - elementWidth / 2, \"px\");\n      this.element.style.top = \"\".concat(originOffsetTop + targetHeight / 2 - elementHeight / 2, \"px\");\n    },\n    alignNone: function alignNone() {}\n  });\n\n  _exports.default = _default;\n});","define(\"ember-modal-dialog/components/tether-dialog\", [\"exports\", \"ember-modal-dialog/components/basic-dialog\", \"ember-modal-dialog/templates/components/tether-dialog\"], function (_exports, _basicDialog, _tetherDialog) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = _basicDialog.default.extend({\n    layout: _tetherDialog.default,\n    init: function init() {\n      this._super.apply(this, arguments);\n\n      this._ensureAttachments();\n    },\n    targetAttachmentClass: Ember.computed('targetAttachment', function () {\n      var targetAttachment = this.get('targetAttachment') || '';\n      return \"ember-modal-dialog-target-attachment-\".concat(Ember.String.dasherize(targetAttachment));\n    }),\n    targetAttachment: null,\n    attachment: null,\n    didReceiveAttrs: function didReceiveAttrs() {\n      this._super.apply(this, arguments);\n\n      this._ensureAttachments();\n    },\n    tetherTarget: null,\n    // element, css selector, view instance, 'viewport', or 'scroll-handle'\n    tetherClassPrefix: Ember.computed({\n      get: function get() {\n        return 'ember-tether';\n      },\n      set: function set(key, val) {\n        if (val) {\n          return val;\n        }\n\n        return 'ember-tether';\n      }\n    }),\n    // offset - passed in\n    // targetOffset - passed in\n    // targetModifier - passed in\n    _ensureAttachments: function _ensureAttachments() {\n      if (!this.get('attachment')) {\n        this.set('attachment', 'middle center');\n      }\n\n      if (!this.get('targetAttachment')) {\n        this.set('targetAttachment', 'middle center');\n      }\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-modal-dialog/initializers/add-modals-container\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n\n  /*globals document, Ember */\n  var hasDOM = typeof document !== 'undefined';\n\n  function appendContainerElement(rootElementOrId, id) {\n    if (!hasDOM) {\n      return;\n    }\n\n    if (document.getElementById(id)) {\n      return;\n    }\n\n    var rootEl = rootElementOrId.appendChild ? rootElementOrId : document.querySelector(rootElementOrId);\n    var modalContainerEl = document.createElement('div');\n    modalContainerEl.id = id;\n    rootEl.appendChild(modalContainerEl);\n  }\n\n  function _default(App) {\n    var emberModalDialog = App.emberModalDialog || {};\n    var modalContainerElId = emberModalDialog.modalRootElementId || 'modal-overlays';\n    App.register('config:modals-container-id', Ember.testing ? 'ember-testing' : modalContainerElId, {\n      instantiate: false\n    });\n    App.inject('service:modal-dialog', 'destinationElementId', 'config:modals-container-id');\n    appendContainerElement(App.rootElement, modalContainerElId);\n  }\n});","define(\"ember-modal-dialog/templates/components/basic-dialog\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"O825K3hU\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[4,\\\"ember-wormhole\\\",null,[[\\\"to\\\"],[[24,[\\\"destinationElementId\\\"]]]],{\\\"statements\\\":[[4,\\\"if\\\",[[24,[\\\"isOverlaySibling\\\"]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"div\\\",true],[11,\\\"class\\\",[29,[[22,\\\"wrapperClassNamesString\\\"],\\\" \\\",[22,\\\"wrapperClass\\\"]]]],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"hasOverlay\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"div\\\",true],[11,\\\"class\\\",[22,\\\"overlayClassNamesString\\\"]],[11,\\\"onclick\\\",[28,\\\"action\\\",[[23,0,[]],[24,[\\\"onClickOverlay\\\"]]],null]],[10,\\\"tabindex\\\",\\\"-1\\\"],[10,\\\"data-emd-overlay\\\",\\\"\\\"],[8],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[4,\\\"ember-modal-dialog-positioned-container\\\",null,[[\\\"class\\\",\\\"targetAttachment\\\",\\\"target\\\"],[[24,[\\\"containerClassNamesString\\\"]],[24,[\\\"targetAttachment\\\"]],[24,[\\\"legacyTarget\\\"]]]],{\\\"statements\\\":[[0,\\\"        \\\"],[14,1],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"    \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"div\\\",true],[11,\\\"class\\\",[29,[[22,\\\"wrapperClassNamesString\\\"],\\\" \\\",[22,\\\"wrapperClass\\\"]]]],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"hasOverlay\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"div\\\",true],[11,\\\"class\\\",[22,\\\"overlayClassNamesString\\\"]],[11,\\\"onclick\\\",[28,\\\"action\\\",[[23,0,[]],[28,\\\"ignore-children\\\",[[24,[\\\"onClickOverlay\\\"]]],null]],null]],[10,\\\"tabindex\\\",\\\"-1\\\"],[10,\\\"data-emd-overlay\\\",\\\"\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"ember-modal-dialog-positioned-container\\\",null,[[\\\"class\\\",\\\"targetAttachment\\\",\\\"target\\\"],[[24,[\\\"containerClassNamesString\\\"]],[24,[\\\"targetAttachment\\\"]],[24,[\\\"legacyTarget\\\"]]]],{\\\"statements\\\":[[0,\\\"            \\\"],[14,1],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[4,\\\"ember-modal-dialog-positioned-container\\\",null,[[\\\"class\\\",\\\"targetAttachment\\\",\\\"target\\\"],[[24,[\\\"containerClassNamesString\\\"]],[24,[\\\"targetAttachment\\\"]],[24,[\\\"legacyTarget\\\"]]]],{\\\"statements\\\":[[0,\\\"          \\\"],[14,1],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[]}],[0,\\\"    \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]],\\\"parameters\\\":[]},null]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-modal-dialog/templates/components/basic-dialog.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-modal-dialog/templates/components/in-place-dialog\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"Os6lbTWn\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[7,\\\"div\\\",true],[11,\\\"class\\\",[28,\\\"concat\\\",[[24,[\\\"containerClassNamesString\\\"]],\\\" \\\",[24,[\\\"attachmentClass\\\"]],\\\" \\\",[24,[\\\"containerClass\\\"]]],null]],[8],[0,\\\"\\\\n  \\\"],[14,1],[0,\\\"\\\\n\\\"],[9],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-modal-dialog/templates/components/in-place-dialog.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-modal-dialog/templates/components/liquid-dialog\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"BcHVZi6T\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[24,[\\\"isOverlaySibling\\\"]]],null,{\\\"statements\\\":[[4,\\\"liquid-wormhole\\\",null,[[\\\"stack\\\",\\\"value\\\",\\\"class\\\"],[[24,[\\\"stack\\\"]],[24,[\\\"value\\\"]],[28,\\\"concat\\\",[\\\"liquid-dialog-container \\\",[24,[\\\"wrapperClassNamesString\\\"]],\\\" \\\",[24,[\\\"wrapperClass\\\"]]],null]]],{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"div\\\",true],[11,\\\"class\\\",[29,[[22,\\\"wrapperClassNamesString\\\"],\\\" \\\",[22,\\\"wrapperClass\\\"]]]],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"hasOverlay\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"div\\\",true],[11,\\\"class\\\",[22,\\\"overlayClassNamesString\\\"]],[11,\\\"onclick\\\",[28,\\\"action\\\",[[23,0,[]],[24,[\\\"onClickOverlay\\\"]]],null]],[10,\\\"tabindex\\\",\\\"-1\\\"],[10,\\\"data-emd-overlay\\\",\\\"\\\"],[8],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"      \\\"],[7,\\\"div\\\",true],[11,\\\"class\\\",[22,\\\"containerClassNamesString\\\"]],[8],[0,\\\"\\\\n        \\\"],[14,1],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[]},{\\\"statements\\\":[[4,\\\"liquid-wormhole\\\",null,[[\\\"stack\\\",\\\"value\\\",\\\"class\\\"],[[24,[\\\"stack\\\"]],[24,[\\\"value\\\"]],[28,\\\"concat\\\",[\\\"liquid-dialog-container \\\",[24,[\\\"wrapperClassNamesString\\\"]],\\\" \\\",[24,[\\\"wrapperClass\\\"]]],null]]],{\\\"statements\\\":[[4,\\\"if\\\",[[24,[\\\"hasOverlay\\\"]]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"div\\\",true],[11,\\\"class\\\",[22,\\\"overlayClassNamesString\\\"]],[11,\\\"onclick\\\",[28,\\\"action\\\",[[23,0,[]],[28,\\\"ignore-children\\\",[[24,[\\\"onClickOverlay\\\"]]],null]],null]],[10,\\\"tabindex\\\",\\\"-1\\\"],[10,\\\"data-emd-overlay\\\",\\\"\\\"],[8],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[11,\\\"class\\\",[22,\\\"containerClassNamesString\\\"]],[8],[0,\\\"\\\\n          \\\"],[14,1],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"div\\\",true],[11,\\\"class\\\",[22,\\\"containerClassNamesString\\\"]],[8],[0,\\\"\\\\n        \\\"],[14,1],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[]}]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-modal-dialog/templates/components/liquid-dialog.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-modal-dialog/templates/components/liquid-tether-dialog\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"iojh6Mmx\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[24,[\\\"hasOverlay\\\"]]],null,{\\\"statements\\\":[[4,\\\"liquid-wormhole\\\",null,[[\\\"stack\\\",\\\"class\\\"],[\\\"modal-overlay\\\",\\\"liquid-dialog-container\\\"]],{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"div\\\",true],[11,\\\"class\\\",[22,\\\"overlayClassNamesString\\\"]],[11,\\\"onclick\\\",[28,\\\"action\\\",[[23,0,[]],[24,[\\\"onClickOverlay\\\"]]],null]],[10,\\\"tabindex\\\",\\\"-1\\\"],[10,\\\"data-emd-overlay\\\",\\\"\\\"],[8],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[]},null],[4,\\\"liquid-tether\\\",null,[[\\\"class\\\",\\\"target\\\",\\\"attachment\\\",\\\"targetAttachment\\\",\\\"targetModifier\\\",\\\"classPrefix\\\",\\\"offset\\\",\\\"targetOffset\\\",\\\"constraints\\\",\\\"stack\\\",\\\"value\\\"],[[24,[\\\"containerClassNamesString\\\"]],[24,[\\\"tetherTarget\\\"]],[24,[\\\"attachment\\\"]],[24,[\\\"targetAttachment\\\"]],[24,[\\\"targetModifier\\\"]],[24,[\\\"tetherClassPrefix\\\"]],[24,[\\\"offset\\\"]],[24,[\\\"targetOffset\\\"]],[24,[\\\"constraints\\\"]],[24,[\\\"stack\\\"]],[24,[\\\"value\\\"]]]],{\\\"statements\\\":[[0,\\\"  \\\"],[14,1],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-modal-dialog/templates/components/liquid-tether-dialog.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-modal-dialog/templates/components/modal-dialog\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"UBHHnY0h\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[4,\\\"component\\\",[[24,[\\\"modalDialogComponentName\\\"]]],[[\\\"wrapperClass\\\",\\\"wrapperClassNames\\\",\\\"overlayClass\\\",\\\"overlayClassNames\\\",\\\"containerClass\\\",\\\"containerClassNames\\\",\\\"hasOverlay\\\",\\\"translucentOverlay\\\",\\\"clickOutsideToClose\\\",\\\"destinationElementId\\\",\\\"overlayPosition\\\",\\\"tetherTarget\\\",\\\"legacyTarget\\\",\\\"attachment\\\",\\\"targetAttachment\\\",\\\"targetModifier\\\",\\\"targetOffset\\\",\\\"offset\\\",\\\"tetherClassPrefix\\\",\\\"constraints\\\",\\\"attachmentClass\\\",\\\"targetAttachmentClass\\\",\\\"stack\\\",\\\"value\\\",\\\"onClickOverlay\\\",\\\"onClose\\\"],[[24,[\\\"wrapperClass\\\"]],[24,[\\\"wrapperClassNames\\\"]],[24,[\\\"overlayClass\\\"]],[24,[\\\"overlayClassNames\\\"]],[24,[\\\"containerClass\\\"]],[24,[\\\"containerClassNames\\\"]],[24,[\\\"hasOverlay\\\"]],[24,[\\\"translucentOverlay\\\"]],[24,[\\\"clickOutsideToClose\\\"]],[24,[\\\"destinationElementId\\\"]],[24,[\\\"overlayPosition\\\"]],[24,[\\\"tetherTarget\\\"]],[24,[\\\"target\\\"]],[24,[\\\"attachment\\\"]],[24,[\\\"targetAttachment\\\"]],[24,[\\\"targetModifier\\\"]],[24,[\\\"targetOffset\\\"]],[24,[\\\"offset\\\"]],[24,[\\\"tetherClassPrefix\\\"]],[24,[\\\"constraints\\\"]],[24,[\\\"attachmentClass\\\"]],[24,[\\\"targetAttachmentClass\\\"]],[24,[\\\"stack\\\"]],[24,[\\\"value\\\"]],[28,\\\"action\\\",[[23,0,[]],\\\"onClickOverlay\\\"],null],[28,\\\"action\\\",[[23,0,[]],\\\"onClose\\\"],null]]],{\\\"statements\\\":[[0,\\\"  \\\"],[14,1],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-modal-dialog/templates/components/modal-dialog.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-modal-dialog/templates/components/tether-dialog\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"YXC7E4JC\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[24,[\\\"hasOverlay\\\"]]],null,{\\\"statements\\\":[[4,\\\"ember-wormhole\\\",null,[[\\\"to\\\"],[[24,[\\\"destinationElementId\\\"]]]],{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"div\\\",true],[11,\\\"class\\\",[22,\\\"overlayClassNamesString\\\"]],[11,\\\"onclick\\\",[28,\\\"action\\\",[[23,0,[]],[24,[\\\"onClickOverlay\\\"]]],null]],[10,\\\"tabindex\\\",\\\"-1\\\"],[10,\\\"data-emd-overlay\\\",\\\"\\\"],[8],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[]},null],[4,\\\"ember-tether\\\",null,[[\\\"class\\\",\\\"target\\\",\\\"attachment\\\",\\\"targetAttachment\\\",\\\"targetModifier\\\",\\\"classPrefix\\\",\\\"offset\\\",\\\"targetOffset\\\",\\\"constraints\\\"],[[24,[\\\"containerClassNamesString\\\"]],[24,[\\\"tetherTarget\\\"]],[24,[\\\"attachment\\\"]],[24,[\\\"targetAttachment\\\"]],[24,[\\\"targetModifier\\\"]],[24,[\\\"tetherClassPrefix\\\"]],[24,[\\\"offset\\\"]],[24,[\\\"targetOffset\\\"]],[24,[\\\"constraints\\\"]]]],{\\\"statements\\\":[[0,\\\"  \\\"],[14,1],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-modal-dialog/templates/components/tether-dialog.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","/*\n * This is a stub file, it must be on disk b/c babel-plugin-debug-macros\n * does not strip the module require when the transpiled variable usage is\n * stripped.\n */\ndefine(\"ember-resolver/features\", [], function () {\n  \"use strict\";\n});","define('ember-resolver/index', ['exports', 'ember-resolver/resolvers/classic'], function (exports, _classic) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function () {\n      return _classic.default;\n    }\n  });\n});","define('ember-resolver/resolver', ['exports', 'ember-resolver/resolvers/classic'], function (exports, _classic) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function () {\n      return _classic.default;\n    }\n  });\n});","define('ember-resolver/resolvers/classic/container-debug-adapter', ['exports', 'ember-resolver/resolvers/classic/index'], function (exports, _index) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  function getPod(type, key, prefix) {\n    var match = key.match(new RegExp('^/?' + prefix + '/(.+)/' + type + '$'));\n    if (match !== null) {\n      return match[1];\n    }\n  }\n\n  /*\n   * This module defines a subclass of Ember.ContainerDebugAdapter that adds\n   * support for resolving from modules.\n   *\n   */\n  exports.default = Ember.ContainerDebugAdapter.extend({\n    _moduleRegistry: null,\n\n    init: function init() {\n      this._super.apply(this, arguments);\n\n      if (!this._moduleRegistry) {\n        this._moduleRegistry = new _index.ModuleRegistry();\n      }\n    },\n\n\n    /**\n        The container of the application being debugged.\n        This property will be injected\n        on creation.\n         @property container\n        @default null\n        */\n\n    /**\n        The resolver instance of the application\n        being debugged. This property will be injected\n        on creation.\n         @property resolver\n        @default null\n        */\n\n    /**\n        Returns true if it is possible to catalog a list of available\n        classes in the resolver for a given type.\n         @method canCatalogEntriesByType\n        @param {string} type The type. e.g. \"model\", \"controller\", \"route\"\n        @return {boolean} whether a list is available for this type.\n        */\n    canCatalogEntriesByType: function canCatalogEntriesByType(type) {\n      if (type === 'model') {\n        return true;\n      }\n      return this._super.apply(this, arguments);\n    },\n\n\n    /**\n        Returns the available classes a given type.\n         @method catalogEntriesByType\n        @param {string} type The type. e.g. \"model\", \"controller\", \"route\"\n        @return {Array} An array of classes.\n        */\n    catalogEntriesByType: function catalogEntriesByType(type) {\n      var moduleNames = this._moduleRegistry.moduleNames();\n      var types = Ember.A();\n\n      var prefix = this.namespace.modulePrefix;\n\n      for (var i = 0, l = moduleNames.length; i < l; i++) {\n        var key = moduleNames[i];\n\n        if (key.indexOf(type) !== -1) {\n          // Check if it's a pod module\n          var name = getPod(type, key, this.namespace.podModulePrefix || prefix);\n          if (!name) {\n            // Not pod\n            name = key.split(type + 's/').pop();\n\n            // Support for different prefix (such as ember-cli addons).\n            // Uncomment the code below when\n            // https://github.com/ember-cli/ember-resolver/pull/80 is merged.\n\n            //let match = key.match('^/?(.+)/' + type);\n            //if (match && match[1] !== prefix) {\n            // Different prefix such as an addon\n            //name = match[1] + '@' + name;\n            //}\n          }\n          types.addObject(name);\n        }\n      }\n      return types;\n    }\n  });\n});","define('ember-resolver/resolvers/classic/index', ['exports', 'ember-resolver/utils/class-factory', 'ember-resolver/utils/make-dictionary'], function (exports, _classFactory, _makeDictionary) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.ModuleRegistry = undefined;\n\n  function _classCallCheck(instance, Constructor) {\n    if (!(instance instanceof Constructor)) {\n      throw new TypeError(\"Cannot call a class as a function\");\n    }\n  }\n\n  if (typeof requirejs.entries === 'undefined') {\n    requirejs.entries = requirejs._eak_seen;\n  }\n\n  var ModuleRegistry = exports.ModuleRegistry = function () {\n    function ModuleRegistry(entries) {\n      _classCallCheck(this, ModuleRegistry);\n\n      this._entries = entries || requirejs.entries;\n    }\n\n    ModuleRegistry.prototype.moduleNames = function moduleNames() {\n      return Object.keys(this._entries);\n    };\n\n    ModuleRegistry.prototype.has = function has(moduleName) {\n      return moduleName in this._entries;\n    };\n\n    ModuleRegistry.prototype.get = function get(moduleName) {\n      return require(moduleName);\n    };\n\n    return ModuleRegistry;\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\n  function parseName(fullName) {\n    if (fullName.parsedName === true) {\n      return fullName;\n    }\n\n    var prefix = void 0,\n        type = void 0,\n        name = void 0;\n    var fullNameParts = fullName.split('@');\n\n    if (fullNameParts.length === 2) {\n      var prefixParts = fullNameParts[0].split(':');\n\n      if (prefixParts.length === 2) {\n        if (prefixParts[1].length === 0) {\n          type = prefixParts[0];\n          name = '@' + fullNameParts[1];\n        } else {\n          prefix = prefixParts[1];\n          type = prefixParts[0];\n          name = fullNameParts[1];\n        }\n      } else {\n        var nameParts = fullNameParts[1].split(':');\n\n        prefix = fullNameParts[0];\n        type = nameParts[0];\n        name = nameParts[1];\n      }\n\n      if (type === 'template' && prefix.lastIndexOf('components/', 0) === 0) {\n        name = 'components/' + name;\n        prefix = prefix.slice(11);\n      }\n    } else {\n      fullNameParts = fullName.split(':');\n      type = fullNameParts[0];\n      name = fullNameParts[1];\n    }\n\n    var fullNameWithoutType = name;\n    var namespace = Ember.get(this, 'namespace');\n    var root = namespace;\n\n    return {\n      parsedName: true,\n      fullName: fullName,\n      prefix: prefix || this.prefix({ type: type }),\n      type: type,\n      fullNameWithoutType: fullNameWithoutType,\n      name: name,\n      root: root,\n      resolveMethodName: \"resolve\" + Ember.String.classify(type)\n    };\n  }\n\n  function resolveOther(parsedName) {\n    (true && !(this.namespace.modulePrefix) && Ember.assert('`modulePrefix` must be defined', this.namespace.modulePrefix));\n\n\n    var normalizedModuleName = this.findModuleName(parsedName);\n\n    if (normalizedModuleName) {\n      var defaultExport = this._extractDefaultExport(normalizedModuleName, parsedName);\n\n      if (defaultExport === undefined) {\n        throw new Error(' Expected to find: \\'' + parsedName.fullName + '\\' within \\'' + normalizedModuleName + '\\' but got \\'undefined\\'. Did you forget to \\'export default\\' within \\'' + normalizedModuleName + '\\'?');\n      }\n\n      if (this.shouldWrapInClassFactory(defaultExport, parsedName)) {\n        defaultExport = (0, _classFactory.default)(defaultExport);\n      }\n\n      return defaultExport;\n    }\n  }\n\n  var Resolver = Ember.Object.extend({\n    resolveOther: resolveOther,\n    parseName: parseName,\n    pluralizedTypes: null,\n    moduleRegistry: null,\n\n    makeToString: function makeToString(factory, fullName) {\n      return '' + this.namespace.modulePrefix + '@' + fullName + ':';\n    },\n    shouldWrapInClassFactory: function shouldWrapInClassFactory() /* module, parsedName */{\n      return false;\n    },\n    init: function init() {\n      this._super();\n      this.moduleBasedResolver = true;\n\n      if (!this._moduleRegistry) {\n        this._moduleRegistry = new ModuleRegistry();\n      }\n\n      this._normalizeCache = (0, _makeDictionary.default)();\n\n      this.pluralizedTypes = this.pluralizedTypes || (0, _makeDictionary.default)();\n\n      if (!this.pluralizedTypes.config) {\n        this.pluralizedTypes.config = 'config';\n      }\n      this._deprecatedPodModulePrefix = false;\n    },\n    normalize: function normalize(fullName) {\n      return this._normalizeCache[fullName] || (this._normalizeCache[fullName] = this._normalize(fullName));\n    },\n    resolve: function resolve(fullName) {\n      var parsedName = this.parseName(fullName);\n      var resolveMethodName = parsedName.resolveMethodName;\n      var resolved = void 0;\n\n      if (typeof this[resolveMethodName] === 'function') {\n        resolved = this[resolveMethodName](parsedName);\n      }\n\n      if (resolved == null) {\n        resolved = this.resolveOther(parsedName);\n      }\n\n      return resolved;\n    },\n    _normalize: function _normalize(fullName) {\n      // A) Convert underscores to dashes\n      // B) Convert camelCase to dash-case, except for helpers where we want to avoid shadowing camelCase 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      var split = fullName.split(':');\n      if (split.length > 1) {\n        if (split[0] === 'helper') {\n          return split[0] + ':' + split[1].replace(/_/g, '-');\n        } else {\n          return split[0] + ':' + Ember.String.dasherize(split[1].replace(/\\./g, '/'));\n        }\n      } else {\n        return fullName;\n      }\n    },\n    pluralize: function pluralize(type) {\n      return this.pluralizedTypes[type] || (this.pluralizedTypes[type] = type + 's');\n    },\n    podBasedLookupWithPrefix: function podBasedLookupWithPrefix(podPrefix, parsedName) {\n      var fullNameWithoutType = parsedName.fullNameWithoutType;\n\n      if (parsedName.type === 'template') {\n        fullNameWithoutType = fullNameWithoutType.replace(/^components\\//, '');\n      }\n\n      return podPrefix + '/' + fullNameWithoutType + '/' + parsedName.type;\n    },\n    podBasedModuleName: function podBasedModuleName(parsedName) {\n      var podPrefix = this.namespace.podModulePrefix || this.namespace.modulePrefix;\n\n      return this.podBasedLookupWithPrefix(podPrefix, parsedName);\n    },\n    podBasedComponentsInSubdir: function podBasedComponentsInSubdir(parsedName) {\n      var podPrefix = this.namespace.podModulePrefix || this.namespace.modulePrefix;\n      podPrefix = podPrefix + '/components';\n\n      if (parsedName.type === 'component' || /^components/.test(parsedName.fullNameWithoutType)) {\n        return this.podBasedLookupWithPrefix(podPrefix, parsedName);\n      }\n    },\n    resolveEngine: function resolveEngine(parsedName) {\n      var engineName = parsedName.fullNameWithoutType;\n      var engineModule = engineName + '/engine';\n\n      if (this._moduleRegistry.has(engineModule)) {\n        return this._extractDefaultExport(engineModule);\n      }\n    },\n    resolveRouteMap: function resolveRouteMap(parsedName) {\n      var engineName = parsedName.fullNameWithoutType;\n      var engineRoutesModule = engineName + '/routes';\n\n      if (this._moduleRegistry.has(engineRoutesModule)) {\n        var routeMap = this._extractDefaultExport(engineRoutesModule);\n\n        (true && !(routeMap.isRouteMap) && Ember.assert('The route map for ' + engineName + ' should be wrapped by \\'buildRoutes\\' before exporting.', routeMap.isRouteMap));\n\n\n        return routeMap;\n      }\n    },\n    resolveTemplate: function resolveTemplate(parsedName) {\n      var resolved = this.resolveOther(parsedName);\n      if (resolved == null) {\n        resolved = Ember.TEMPLATES[parsedName.fullNameWithoutType];\n      }\n      return resolved;\n    },\n    mainModuleName: function 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: function defaultModuleName(parsedName) {\n      return parsedName.prefix + '/' + this.pluralize(parsedName.type) + '/' + parsedName.fullNameWithoutType;\n    },\n    prefix: function prefix(parsedName) {\n      var tmpPrefix = this.namespace.modulePrefix;\n\n      if (this.namespace[parsedName.type + 'Prefix']) {\n        tmpPrefix = this.namespace[parsedName.type + 'Prefix'];\n      }\n\n      return tmpPrefix;\n    },\n\n\n    /**\n      A listing of functions to test for moduleName's based on the provided\n     `parsedName`. This allows easy customization of additional module based\n     lookup patterns.\n      @property moduleNameLookupPatterns\n     @returns {Ember.Array}\n     */\n    moduleNameLookupPatterns: Ember.computed(function () {\n      return [this.podBasedModuleName, this.podBasedComponentsInSubdir, this.mainModuleName, this.defaultModuleName];\n    }).readOnly(),\n\n    findModuleName: function findModuleName(parsedName, loggingDisabled) {\n      var moduleNameLookupPatterns = this.get('moduleNameLookupPatterns');\n      var moduleName = void 0;\n\n      for (var index = 0, length = moduleNameLookupPatterns.length; index < length; index++) {\n        var item = moduleNameLookupPatterns[index];\n\n        var tmpModuleName = item.call(this, parsedName);\n\n        // allow treat all dashed and all underscored as the same thing\n        // supports components with dashes and other stuff with underscores.\n        if (tmpModuleName) {\n          tmpModuleName = this.chooseModuleName(tmpModuleName, parsedName);\n        }\n\n        if (tmpModuleName && this._moduleRegistry.has(tmpModuleName)) {\n          moduleName = tmpModuleName;\n        }\n\n        if (!loggingDisabled) {\n          this._logLookup(moduleName, parsedName, tmpModuleName);\n        }\n\n        if (moduleName) {\n          return moduleName;\n        }\n      }\n    },\n    chooseModuleName: function chooseModuleName(moduleName, parsedName) {\n      var underscoredModuleName = Ember.String.underscore(moduleName);\n\n      if (moduleName !== underscoredModuleName && this._moduleRegistry.has(moduleName) && this._moduleRegistry.has(underscoredModuleName)) {\n        throw new TypeError('Ambiguous module names: \\'' + moduleName + '\\' and \\'' + underscoredModuleName + '\\'');\n      }\n\n      if (this._moduleRegistry.has(moduleName)) {\n        return moduleName;\n      } else if (this._moduleRegistry.has(underscoredModuleName)) {\n        return underscoredModuleName;\n      }\n      // workaround for dasherized partials:\n      // something/something/-something => something/something/_something\n      var partializedModuleName = moduleName.replace(/\\/-([^/]*)$/, '/_$1');\n\n      if (this._moduleRegistry.has(partializedModuleName)) {\n        (true && !(false) && Ember.deprecate('Modules should not contain underscores. ' + 'Attempted to lookup \"' + moduleName + '\" which ' + 'was not found. Please rename \"' + partializedModuleName + '\" ' + 'to \"' + moduleName + '\" instead.', false, { id: 'ember-resolver.underscored-modules', until: '3.0.0' }));\n\n\n        return partializedModuleName;\n      }\n\n      if (true) {\n        var isCamelCaseHelper = parsedName.type === 'helper' && /[a-z]+[A-Z]+/.test(moduleName);\n        if (isCamelCaseHelper) {\n          this._camelCaseHelperWarnedNames = this._camelCaseHelperWarnedNames || [];\n          var alreadyWarned = this._camelCaseHelperWarnedNames.indexOf(parsedName.fullName) > -1;\n          if (!alreadyWarned && this._moduleRegistry.has(Ember.String.dasherize(moduleName))) {\n            this._camelCaseHelperWarnedNames.push(parsedName.fullName);\n            (true && Ember.warn('Attempted to lookup \"' + parsedName.fullName + '\" which ' + 'was not found. In previous versions of ember-resolver, a bug would have ' + 'caused the module at \"' + Ember.String.dasherize(moduleName) + '\" to be ' + 'returned for this camel case helper name. This has been fixed. ' + 'Use the dasherized name to resolve the module that would have been ' + 'returned in previous versions.', false, { id: 'ember-resolver.camelcase-helper-names', until: '3.0.0' }));\n          }\n        }\n      }\n    },\n    lookupDescription: function lookupDescription(fullName) {\n      var parsedName = this.parseName(fullName);\n\n      var moduleName = this.findModuleName(parsedName, true);\n\n      return moduleName;\n    },\n    _logLookup: function _logLookup(found, parsedName, description) {\n      if (!Ember.ENV.LOG_MODULE_RESOLVER && !parsedName.root.LOG_RESOLVER) {\n        return;\n      }\n\n      var padding = void 0;\n      var symbol = found ? '[✓]' : '[ ]';\n\n      if (parsedName.fullName.length > 60) {\n        padding = '.';\n      } else {\n        padding = new Array(60 - parsedName.fullName.length).join('.');\n      }\n\n      if (!description) {\n        description = this.lookupDescription(parsedName);\n      }\n\n      /* eslint-disable no-console */\n      if (console && console.info) {\n        console.info(symbol, parsedName.fullName, padding, description);\n      }\n    },\n    knownForType: function knownForType(type) {\n      var moduleKeys = this._moduleRegistry.moduleNames();\n\n      var items = (0, _makeDictionary.default)();\n      for (var index = 0, length = moduleKeys.length; index < length; index++) {\n        var moduleName = moduleKeys[index];\n        var fullname = this.translateToContainerFullname(type, moduleName);\n\n        if (fullname) {\n          items[fullname] = true;\n        }\n      }\n\n      return items;\n    },\n    translateToContainerFullname: function translateToContainerFullname(type, moduleName) {\n      var prefix = this.prefix({ type: type });\n\n      // Note: using string manipulation here rather than regexes for better performance.\n      // pod modules\n      // '^' + prefix + '/(.+)/' + type + '$'\n      var podPrefix = prefix + '/';\n      var podSuffix = '/' + type;\n      var start = moduleName.indexOf(podPrefix);\n      var end = moduleName.indexOf(podSuffix);\n\n      if (start === 0 && end === moduleName.length - podSuffix.length && moduleName.length > podPrefix.length + podSuffix.length) {\n        return type + ':' + moduleName.slice(start + podPrefix.length, end);\n      }\n\n      // non-pod modules\n      // '^' + prefix + '/' + pluralizedType + '/(.+)$'\n      var pluralizedType = this.pluralize(type);\n      var nonPodPrefix = prefix + '/' + pluralizedType + '/';\n\n      if (moduleName.indexOf(nonPodPrefix) === 0 && moduleName.length > nonPodPrefix.length) {\n        return type + ':' + moduleName.slice(nonPodPrefix.length);\n      }\n    },\n    _extractDefaultExport: function _extractDefaultExport(normalizedModuleName) {\n      var module = require(normalizedModuleName, null, null, true /* force sync */);\n\n      if (module && module['default']) {\n        module = module['default'];\n      }\n\n      return module;\n    }\n  });\n\n  Resolver.reopenClass({\n    moduleBasedResolver: true\n  });\n\n  exports.default = Resolver;\n});","define('ember-resolver/utils/class-factory', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = classFactory;\n  function classFactory(klass) {\n    return {\n      create: function create(injections) {\n        if (typeof klass.extend === 'function') {\n          return klass.extend(injections);\n        } else {\n          return klass;\n        }\n      }\n    };\n  }\n});","define('ember-resolver/utils/make-dictionary', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = makeDictionary;\n  function makeDictionary() {\n    var cache = Object.create(null);\n    cache['_dict'] = null;\n    delete cache['_dict'];\n    return cache;\n  }\n});","define('ember-responsive/helpers/media', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  var _slicedToArray = function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];\n      var _n = true;\n      var _d = false;\n      var _e = undefined;\n\n      try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);\n\n          if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;\n        _e = err;\n      } finally {\n        try {\n          if (!_n && _i[\"return\"]) _i[\"return\"]();\n        } finally {\n          if (_d) throw _e;\n        }\n      }\n\n      return _arr;\n    }\n\n    return function (arr, i) {\n      if (Array.isArray(arr)) {\n        return arr;\n      } else if (Symbol.iterator in Object(arr)) {\n        return sliceIterator(arr, i);\n      } else {\n        throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n      }\n    };\n  }();\n\n  exports.default = Ember.Helper.extend({\n    init: function init() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n      this.get('media').on('mediaChanged', function () {\n        _this.recompute();\n      });\n    },\n\n\n    media: Ember.inject.service(),\n\n    compute: function compute(_ref) {\n      var _ref2 = _slicedToArray(_ref, 1),\n          prop = _ref2[0];\n\n      return Ember.get(this, 'media.' + prop);\n    }\n  });\n});","define('ember-responsive/initializers/responsive', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.initialize = initialize;\n  /**\n   * Ember responsive initializer\n   *\n   * Supports auto injecting media service app-wide.\n   * Generated by the ember-responsive addon.\n   */\n  function initialize(application) {\n    application.registerOptionsForType('breakpoints', { instantiate: false });\n  }\n\n  exports.default = {\n    name: 'ember-responsive-breakpoints',\n    initialize: initialize\n  };\n});","define(\"ember-responsive/null-match-media\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  exports.default = function () {\n    return {\n      matches: false\n    };\n  };\n});","define('ember-responsive/services/media', ['exports', 'ember-responsive/null-match-media'], function (exports, _nullMatchMedia) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  var _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n  };\n\n  exports.default = Ember.Service.extend(Ember.Evented, {\n    _mocked: Ember.testing,\n    _mockedBreakpoint: 'desktop',\n    /**\n    * A set of matching matchers.\n    *\n    * @property  matches\n    * @type      Ember.NativeArray\n    * @default   Ember.NativeArray\n    */\n    matches: Ember.computed(function () {\n      return Ember.A(this.get('_mocked') ? [this.get('_mockedBreakpoint')] : []);\n    }),\n\n    /**\n      * A hash of listeners indexed by their matcher's names\n      *\n      * @property\n      * @type Object\n      */\n    listeners: {},\n\n    /**\n     * A hash of matchers by breakpoint name\n     */\n    matchers: {},\n\n    /**\n    * The matcher to use for testing media queries.\n    *\n    * @property  matcher\n    * @type      matchMedia\n    * @default   window.matchMedia\n    * @private\n    */\n    mql: detectMatchMedia(),\n\n    /**\n     * Initialize the service based on the breakpoints config\n     *\n     * @method init\n     *\n     */\n    init: function init() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n      var owner = Ember.getOwner(this);\n      var breakpoints = Ember.getOwner(this).lookup('breakpoints:main');\n      if (breakpoints) {\n        Object.keys(breakpoints).forEach(function (name) {\n          var cpName = 'is' + Ember.String.classify(name);\n          Ember.defineProperty(_this, cpName, Ember.computed('matches.[]', function () {\n            return this.get('matches').indexOf(name) > -1;\n          }));\n          Ember.defineProperty(_this, name, Ember.computed(cpName, function () {\n            return this.get(cpName);\n          }));\n          _this.match(name, breakpoints[name]);\n        });\n      }\n    },\n\n\n    /**\n    * A string composed of all the matching matchers' names, turned into\n    * friendly, dasherized class-names that are prefixed with `media-`.\n    *\n    * @property  classNames\n    * @type      string\n    */\n    classNames: Ember.computed('matches.[]', function () {\n      return this.get('matches').map(function (name) {\n        return 'media-' + Ember.String.dasherize(name);\n      }).join(' ');\n    }),\n\n    _triggerMediaChanged: function _triggerMediaChanged() {\n      this.trigger('mediaChanged', {});\n    },\n    _triggerEvent: function _triggerEvent() {\n      Ember.run.once(this, this._triggerMediaChanged);\n    },\n\n\n    /**\n    * Adds a new matcher to the list.\n    *\n    * After this method is called, you will be able to access the result\n    * of the matcher as a property on this object.\n    *\n    * **Adding a new matcher**\n    *\n    * ```javascript\n    * media = Ember.Responsive.Media.create();\n    * media.match('all', 'all');\n    * media.get('all');\n    *   // => instanceof window.matchMedia\n    * media.get('all.matches');\n    *   // => true\n    * ```\n    *\n    * @param   string  name   The name of the matcher\n    * @param   string  query  The media query to match against\n    * @method  match\n    */\n    match: function match(name, query) {\n      var _this2 = this;\n\n      if (this.get('_mocked')) {\n        return;\n      }\n\n      var matcher = this.get('mql')(query);\n\n      var listener = function listener(matcher) {\n        if (_this2.get('isDestroyed')) {\n          return;\n        }\n\n        _this2.set('matchers.' + name, matcher);\n\n        if (matcher.matches) {\n          _this2.get('matches').addObject(name);\n        } else {\n          _this2.get('matches').removeObject(name);\n        }\n        _this2._triggerEvent();\n      };\n      this.get('listeners')[name] = listener;\n\n      if (matcher.addListener) {\n        matcher.addListener(function (matcher) {\n          Ember.run(null, listener, matcher);\n        });\n      }\n      listener(matcher);\n    }\n  });\n\n\n  function detectMatchMedia() {\n    if ((typeof window === 'undefined' ? 'undefined' : _typeof(window)) === 'object' && window.matchMedia) {\n      return window.matchMedia;\n    }\n\n    return _nullMatchMedia.default;\n  }\n});","define('ember-route-action-helper/-private/internals', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  var ClosureActionModule = void 0;\n\n  if ('ember-htmlbars/keywords/closure-action' in Ember.__loader.registry) {\n    ClosureActionModule = Ember.__loader.require('ember-htmlbars/keywords/closure-action');\n  } else if ('ember-routing-htmlbars/keywords/closure-action' in Ember.__loader.registry) {\n    ClosureActionModule = Ember.__loader.require('ember-routing-htmlbars/keywords/closure-action');\n  } else {\n    ClosureActionModule = {};\n  }\n\n  var ACTION = exports.ACTION = ClosureActionModule.ACTION;\n});","define('ember-route-action-helper/helpers/route-action', ['exports', 'ember-route-action-helper/-private/internals'], function (exports, _internals) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  function _toConsumableArray(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n        arr2[i] = arr[i];\n      }\n\n      return arr2;\n    } else {\n      return Array.from(arr);\n    }\n  }\n\n  function _toArray(arr) {\n    return Array.isArray(arr) ? arr : Array.from(arr);\n  }\n\n  function getCurrentInfos(router) {\n    var routerLib = router._routerMicrolib || router.router;\n\n    return {\n      currentInfos: routerLib.currentRouteInfos || routerLib.currentHandlerInfos,\n      mapBy: routerLib.currentRouteInfos && 'route' || 'handler'\n    };\n  }\n\n  function getRoutes(router) {\n    var _getCurrentInfos = getCurrentInfos(router),\n        currentInfos = _getCurrentInfos.currentInfos,\n        mapBy = _getCurrentInfos.mapBy;\n\n    return Ember.A(currentInfos).mapBy(mapBy).reverse();\n  }\n\n  function getRouteWithAction(router, actionName) {\n    var action = void 0;\n    var handler = Ember.A(getRoutes(router)).find(function (route) {\n      var actions = route.actions || route._actions;\n      action = actions[actionName];\n\n      return typeof action === 'function';\n    });\n\n    return { action: action, handler: handler };\n  }\n\n  exports.default = Ember.Helper.extend({\n    router: Ember.computed(function () {\n      return Ember.getOwner(this).lookup('router:main');\n    }).readOnly(),\n\n    compute: function compute(_ref) {\n      var _ref2 = _toArray(_ref),\n          actionName = _ref2[0],\n          params = _ref2.slice(1);\n\n      var router = Ember.get(this, 'router');\n      (true && !(router) && Ember.assert('[ember-route-action-helper] Unable to lookup router', router));\n\n\n      Ember.runInDebug(function () {\n        var _getRouteWithAction = getRouteWithAction(router, actionName),\n            handler = _getRouteWithAction.handler;\n\n        (true && !(handler) && Ember.assert('[ember-route-action-helper] Unable to find action ' + actionName, handler));\n      });\n\n      var routeAction = function routeAction() {\n        var _getRouteWithAction2 = getRouteWithAction(router, actionName),\n            action = _getRouteWithAction2.action,\n            handler = _getRouteWithAction2.handler;\n\n        for (var _len = arguments.length, invocationArgs = Array(_len), _key = 0; _key < _len; _key++) {\n          invocationArgs[_key] = arguments[_key];\n        }\n\n        var args = params.concat(invocationArgs);\n        return Ember.run.join.apply(Ember.run, [handler, action].concat(_toConsumableArray(args)));\n      };\n\n      routeAction[_internals.ACTION] = true;\n\n      return routeAction;\n    }\n  });\n});","define(\"ember-test-waiters/build-waiter\", [\"exports\", \"ember-test-waiters\", \"ember-test-waiters/noop-test-waiter\"], function (_exports, _emberTestWaiters, _noopTestWaiter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = buildWaiter;\n\n  /**\n   * Builds and returns a test waiter. The type of the\n   * returned waiter is dependent on whether the app or\n   * addon is in `DEBUG` mode or not.\n   *\n   * @param name {string} The name of the test waiter\n   * @returns {ITestWaiter}\n   *\n   * @example\n   *\n   * import Component from '@ember/component';\n   * import { buildWaiter } from 'ember-test-waiters';\n   *\n   * if (DEBUG) {\n   *   let waiter = buildWaiter('friend-waiter');\n   * }\n   *\n   * export default class Friendz extends Component {\n   *   didInsertElement() {\n   *     let token = waiter.beginAsync(this);\n   *\n   *     someAsyncWork().then(() => {\n   *       waiter.endAsync(token);\n   *     });\n   *   }\n   * }\n   */\n  function buildWaiter(name) {\n    if (true\n    /* DEBUG */\n    ) {\n      return new _emberTestWaiters.TestWaiter(name);\n    }\n\n    return new _noopTestWaiter.default(name);\n  }\n});","define(\"ember-test-waiters/index\", [\"exports\", \"ember-test-waiters/waiter-manager\", \"ember-test-waiters/test-waiter\", \"ember-test-waiters/build-waiter\", \"ember-test-waiters/wait-for-promise\"], function (_exports, _waiterManager, _testWaiter, _buildWaiter, _waitForPromise) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"register\", {\n    enumerable: true,\n    get: function get() {\n      return _waiterManager.register;\n    }\n  });\n  Object.defineProperty(_exports, \"unregister\", {\n    enumerable: true,\n    get: function get() {\n      return _waiterManager.unregister;\n    }\n  });\n  Object.defineProperty(_exports, \"getWaiters\", {\n    enumerable: true,\n    get: function get() {\n      return _waiterManager.getWaiters;\n    }\n  });\n  Object.defineProperty(_exports, \"_reset\", {\n    enumerable: true,\n    get: function get() {\n      return _waiterManager._reset;\n    }\n  });\n  Object.defineProperty(_exports, \"getPendingWaiterState\", {\n    enumerable: true,\n    get: function get() {\n      return _waiterManager.getPendingWaiterState;\n    }\n  });\n  Object.defineProperty(_exports, \"hasPendingWaiters\", {\n    enumerable: true,\n    get: function get() {\n      return _waiterManager.hasPendingWaiters;\n    }\n  });\n  Object.defineProperty(_exports, \"TestWaiter\", {\n    enumerable: true,\n    get: function get() {\n      return _testWaiter.default;\n    }\n  });\n  Object.defineProperty(_exports, \"buildWaiter\", {\n    enumerable: true,\n    get: function get() {\n      return _buildWaiter.default;\n    }\n  });\n  Object.defineProperty(_exports, \"waitForPromise\", {\n    enumerable: true,\n    get: function get() {\n      return _waitForPromise.default;\n    }\n  });\n});","define(\"ember-test-waiters/noop-test-waiter\", [\"exports\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/createClass\"], function (_exports, _classCallCheck2, _createClass2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * A class providing a production, noop replacement for the {TestWaiter<T>} class.\n   *\n   * @public\n   * @class TestWaiter<T>\n   */\n  var NoopTestWaiter =\n  /*#__PURE__*/\n  function () {\n    function NoopTestWaiter(name) {\n      (0, _classCallCheck2.default)(this, NoopTestWaiter);\n      this.name = name;\n    }\n\n    (0, _createClass2.default)(NoopTestWaiter, [{\n      key: \"beginAsync\",\n      value: function beginAsync() {\n        return this;\n      }\n    }, {\n      key: \"endAsync\",\n      value: function endAsync() {}\n    }, {\n      key: \"waitUntil\",\n      value: function waitUntil() {\n        return true;\n      }\n    }, {\n      key: \"debugInfo\",\n      value: function debugInfo() {\n        return [];\n      }\n    }]);\n    return NoopTestWaiter;\n  }();\n\n  _exports.default = NoopTestWaiter;\n});","define(\"ember-test-waiters/test-waiter\", [\"exports\", \"@babel/runtime/helpers/esm/toConsumableArray\", \"@babel/runtime/helpers/esm/classCallCheck\", \"@babel/runtime/helpers/esm/createClass\", \"ember-test-waiters/waiter-manager\"], function (_exports, _toConsumableArray2, _classCallCheck2, _createClass2, _waiterManager) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var token = 0;\n\n  function getNextToken() {\n    return token++;\n  }\n  /**\n   * A class providing creation, registration and async waiting functionality.\n   *\n   * @public\n   * @class TestWaiter<T>\n   */\n\n\n  var TestWaiter =\n  /*#__PURE__*/\n  function () {\n    /**\n     * @public\n     * @constructor\n     * @param name {WaiterName} the name of the test waiter\n     */\n    function TestWaiter(name, nextToken) {\n      (0, _classCallCheck2.default)(this, TestWaiter);\n      this.isRegistered = false;\n      this.items = new Map();\n      this.name = name; // @ts-ignore\n\n      this.nextToken = nextToken || getNextToken;\n    }\n    /**\n     * Will register the waiter, allowing it to be opted in to pausing async\n     * operations until they're completed within your tests. You should invoke\n     * it after instantiating your `TestWaiter` instance.\n     *\n     * **Note**, if you forget to register your waiter, it will be registered\n     * for you on the first invocation of `beginAsync`.\n     *\n     * @private\n     * @method register\n     */\n\n\n    (0, _createClass2.default)(TestWaiter, [{\n      key: \"register\",\n      value: function register() {\n        if (!this.isRegistered) {\n          (0, _waiterManager.register)(this);\n          this.isRegistered = true;\n        }\n      }\n      /**\n       * Should be used to signal the beginning of an async operation that\n       * is to be waited for. Invocation of this method should be paired with a subsequent\n       * `endAsync` call to indicate to the waiter system that the async operation is completed.\n       *\n       * @public\n       * @method beginAsync\n       * @param item {T} The item to register for waiting\n       * @param label {string} An optional label to identify the item\n       */\n\n    }, {\n      key: \"beginAsync\",\n      value: function beginAsync() {\n        var token = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.nextToken();\n        var label = arguments.length > 1 ? arguments[1] : undefined;\n        this.register();\n\n        if (this.items.has(token)) {\n          throw new Error(\"beginAsync called for \".concat(token, \" but it is already pending.\"));\n        }\n\n        var error = new Error();\n        this.items.set(token, {\n          get stack() {\n            return error.stack;\n          },\n\n          label: label\n        });\n        return token;\n      }\n      /**\n       * Should be used to signal the end of an async operation. Invocation of this\n       * method should be paired with a preceeding `beginAsync` call, which would indicate the\n       * beginning of an async operation.\n       *\n       * @public\n       * @method endAsync\n       * @param item {T} The item to that was registered for waiting\n       */\n\n    }, {\n      key: \"endAsync\",\n      value: function endAsync(token) {\n        if (!this.items.has(token)) {\n          throw new Error(\"endAsync called for \".concat(token, \" but it is not currently pending.\"));\n        }\n\n        this.items.delete(token);\n      }\n      /**\n       * Used to determine if the waiter system should still wait for async\n       * operations to complete.\n       *\n       * @public\n       * @method waitUntil\n       * @returns {boolean}\n       */\n\n    }, {\n      key: \"waitUntil\",\n      value: function waitUntil() {\n        return this.items.size === 0;\n      }\n      /**\n       * Returns the `debugInfo` for each item tracking async operations in this waiter.\n       *\n       * @public\n       * @method debugInfo\n       * @returns {ITestWaiterDebugInfo}\n       */\n\n    }, {\n      key: \"debugInfo\",\n      value: function debugInfo() {\n        return (0, _toConsumableArray2.default)(this.items.values());\n      }\n    }]);\n    return TestWaiter;\n  }();\n\n  _exports.default = TestWaiter;\n});","define(\"ember-test-waiters/types/index\", [], function () {\n  \"use strict\";\n});","define(\"ember-test-waiters/wait-for-promise\", [\"exports\", \"ember-test-waiters/test-waiter\"], function (_exports, _testWaiter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = waitForPromise;\n  var PROMISE_WAITER = new _testWaiter.default('promise-waiter');\n  /**\n   * A convenient utility function to simplify waiting for a promise.\n   *\n   * @public\n   * @param promise {Promise<T>} The promise to track async operations for\n   * @param label {string} An optional string to identify the promise\n   *\n   * @example\n   *\n   * import Component from '@ember/component';\n   * import { waitForPromise } from 'ember-test-waiters';\n   *\n   * export default class Friendz extends Component {\n   *   didInsertElement() {\n   *     waitForPromise(new Promise(resolve => {\n   *       doSomeWork();\n   *       resolve();\n   *     }));\n   *   }\n   * }\n   */\n\n  function waitForPromise(promise, label) {\n    var result = promise;\n\n    if (true\n    /* DEBUG */\n    ) {\n      PROMISE_WAITER.beginAsync(promise, label);\n      result = promise.then(function (value) {\n        PROMISE_WAITER.endAsync(promise);\n        return value;\n      }, function (error) {\n        PROMISE_WAITER.endAsync(promise);\n        throw error;\n      });\n    }\n\n    return result;\n  }\n});","define(\"ember-test-waiters/waiter-manager\", [\"exports\", \"@babel/runtime/helpers/esm/toConsumableArray\"], function (_exports, _toConsumableArray2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.register = register;\n  _exports.unregister = unregister;\n  _exports.getWaiters = getWaiters;\n  _exports._reset = _reset;\n  _exports.getPendingWaiterState = getPendingWaiterState;\n  _exports.hasPendingWaiters = hasPendingWaiters;\n  var WAITERS = new Map();\n  /**\n   * Registers a waiter.\n   *\n   * @public\n   * @param waiter {IWaiter} A test waiter instance\n   */\n\n  function register(waiter) {\n    WAITERS.set(waiter.name, waiter);\n  }\n  /**\n   * Unregisters a waiter.\n   *\n   * @public\n   * @param waiter {IWaiter} A test waiter instance\n   */\n\n\n  function unregister(waiter) {\n    WAITERS.delete(waiter.name);\n  }\n  /**\n   * Gets an array of all waiters current registered.\n   *\n   * @public\n   * @returns {IWaiter[]}\n   */\n\n\n  function getWaiters() {\n    return (0, _toConsumableArray2.default)(WAITERS.values());\n  }\n  /**\n   * Clears all waiters.\n   *\n   * @public\n   */\n\n\n  function _reset() {\n    WAITERS.clear();\n  }\n  /**\n   * Gets the current state of all waiters. Any waiters whose\n   * `waitUntil` method returns false will be considered `pending`.\n   *\n   * @returns {IPendingWaiterState} An object containing a count of all waiters\n   * pending and a `waiters` object containing the name of all pending waiters\n   * and their debug info.\n   */\n\n\n  function getPendingWaiterState() {\n    var result = {\n      pending: 0,\n      waiters: {}\n    };\n    WAITERS.forEach(function (waiter) {\n      if (!waiter.waitUntil()) {\n        result.pending++;\n        var debugInfo = waiter.debugInfo();\n        result.waiters[waiter.name] = debugInfo || true;\n      }\n    });\n    return result;\n  }\n  /**\n   * Determines if there are any pending waiters.\n   *\n   * @returns {boolean} `true` if there are pending waiters, otherwise `false`.\n   */\n\n\n  function hasPendingWaiters() {\n    var state = getPendingWaiterState();\n    return state.pending > 0;\n  }\n});","define('ember-wormhole/components/ember-wormhole', ['exports', 'ember-wormhole/templates/components/ember-wormhole', 'ember-wormhole/utils/dom'], function (exports, _emberWormhole, _dom) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = Ember.Component.extend({\n    layout: _emberWormhole.default,\n\n    /*\n     * Attrs\n     */\n    to: Ember.computed.alias('destinationElementId'),\n    destinationElementId: null,\n    destinationElement: null,\n\n    _destination: Ember.computed('destinationElement', 'destinationElementId', 'renderInPlace', function () {\n      var renderInPlace = this.get('renderInPlace');\n      if (renderInPlace) {\n        return this._element;\n      }\n\n      var destinationElement = this.get('destinationElement');\n      if (destinationElement) {\n        return destinationElement;\n      }\n      var destinationElementId = this.get('destinationElementId');\n      if (destinationElementId) {\n        return (0, _dom.findElementById)(this._dom, destinationElementId);\n      }\n      // no element found\n      return null;\n    }),\n\n    renderInPlace: false,\n\n    /*\n     * Lifecycle\n     */\n    init: function init() {\n      var _this = this;\n\n      this._super.apply(this, arguments);\n\n      this._dom = (0, _dom.getDOM)(this);\n\n      // Create text nodes used for the head, tail\n      this._wormholeHeadNode = this._dom.createTextNode('');\n      this._wormholeTailNode = this._dom.createTextNode('');\n\n      /*\n       * didInsertElement does not fire in Fastboot, so we schedule this in\n       * init to be run after render. Importantly, we want to run\n       * appendToDestination after the child nodes have rendered.\n       */\n      Ember.run.schedule('afterRender', function () {\n        if (_this.isDestroyed) {\n          return;\n        }\n        _this._element = _this._wormholeHeadNode.parentNode;\n        if (!_this._element) {\n          throw new Error('The head node of a wormhole must be attached to the DOM');\n        }\n        _this._appendToDestination();\n      });\n    },\n\n\n    willDestroyElement: function willDestroyElement() {\n      var _this2 = this;\n\n      // not called in fastboot\n      this._super.apply(this, arguments);\n      var _wormholeHeadNode = this._wormholeHeadNode,\n          _wormholeTailNode = this._wormholeTailNode;\n\n      Ember.run.schedule('render', function () {\n        _this2._removeRange(_wormholeHeadNode, _wormholeTailNode);\n      });\n    },\n\n    _destinationDidChange: Ember.observer('_destination', function () {\n      var destinationElement = this.get('_destination');\n      if (destinationElement !== this._wormholeHeadNode.parentNode) {\n        Ember.run.schedule('render', this, '_appendToDestination');\n      }\n    }),\n\n    _appendToDestination: function _appendToDestination() {\n      var destinationElement = this.get('_destination');\n      if (!destinationElement) {\n        var destinationElementId = this.get('destinationElementId');\n        if (destinationElementId) {\n          throw new Error('ember-wormhole failed to render into \\'#' + destinationElementId + '\\' because the element is not in the DOM');\n        }\n        throw new Error('ember-wormhole failed to render content because the destinationElementId was set to an undefined or falsy value.');\n      }\n\n      var startingActiveElement = (0, _dom.getActiveElement)();\n      this._appendRange(destinationElement, this._wormholeHeadNode, this._wormholeTailNode);\n      var resultingActiveElement = (0, _dom.getActiveElement)();\n      if (startingActiveElement && resultingActiveElement !== startingActiveElement) {\n        startingActiveElement.focus();\n      }\n    },\n    _appendRange: function _appendRange(destinationElement, firstNode, lastNode) {\n      while (firstNode) {\n        destinationElement.insertBefore(firstNode, null);\n        firstNode = firstNode !== lastNode ? lastNode.parentNode.firstChild : null;\n      }\n    },\n    _removeRange: function _removeRange(firstNode, lastNode) {\n      var node = lastNode;\n      do {\n        var next = node.previousSibling;\n        if (node.parentNode) {\n          node.parentNode.removeChild(node);\n          if (node === firstNode) {\n            break;\n          }\n        }\n        node = next;\n      } while (node);\n    }\n  });\n});","define(\"ember-wormhole/templates/components/ember-wormhole\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"rW/3GFKf\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[1,[28,\\\"unbound\\\",[[24,[\\\"_wormholeHeadNode\\\"]]],null],false],[14,1],[1,[28,\\\"unbound\\\",[[24,[\\\"_wormholeTailNode\\\"]]],null],false]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-wormhole/templates/components/ember-wormhole.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define('ember-wormhole/utils/dom', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.getActiveElement = getActiveElement;\n  exports.findElementById = findElementById;\n  exports.getDOM = getDOM;\n  function getActiveElement() {\n    if (typeof document === 'undefined') {\n      return null;\n    } else {\n      return document.activeElement;\n    }\n  }\n\n  function childNodesOfElement(element) {\n    var children = [];\n    var child = element.firstChild;\n    while (child) {\n      children.push(child);\n      child = child.nextSibling;\n    }\n    return children;\n  }\n\n  function findElementById(doc, id) {\n    if (doc.getElementById) {\n      return doc.getElementById(id);\n    }\n\n    var nodes = childNodesOfElement(doc);\n    var node = void 0;\n\n    while (nodes.length) {\n      node = nodes.shift();\n\n      if (node.getAttribute && node.getAttribute('id') === id) {\n        return node;\n      }\n\n      nodes = childNodesOfElement(node).concat(nodes);\n    }\n  }\n\n  // Private Ember API usage. Get the dom implementation used by the current\n  // renderer, be it native browser DOM or Fastboot SimpleDOM\n  function getDOM(context) {\n    var renderer = context.renderer;\n\n    if (!renderer._dom) {\n      // pre glimmer2\n      var container = Ember.getOwner ? Ember.getOwner(context) : context.container;\n      var documentService = container.lookup('service:-document');\n\n      if (documentService) {\n        return documentService;\n      }\n\n      renderer = container.lookup('renderer:-dom');\n    }\n\n    if (renderer._dom && renderer._dom.document) {\n      // pre Ember 2.6\n      return renderer._dom.document;\n    } else {\n      throw new Error('ember-wormhole could not get DOM');\n    }\n  }\n});","\n"],"names":[],"mappings":"AAAA;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;;AC9UA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1gOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;ACr2UA;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;;AC5GA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvuCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnCA;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;;ACpGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxeA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtlVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACl7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACt1KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzaA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;ACjPA;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;;ACvDA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClzEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChqDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/PA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC7DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC92BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACrIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;AC9IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5aA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACphCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACzIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC9GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACh1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5LA;AACA;AACA;AACA;AACA;AACA;;ACLA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;ACtFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1SA;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;;ACnZA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrYA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;AC3BA;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;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;AC1aA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACr9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;AC1GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1UA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;ACnGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;ACvNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7RA;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtqCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnhDA;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;;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;;AC9CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACzyBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;;AC5FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACt3FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5kBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7mMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrwCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;ACzDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;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;;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;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;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;;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;;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;;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;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;;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;;ACxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AClEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;AC1IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;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;;AC1GA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrgBA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACj4BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC91EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjhFA;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9jDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9RA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC53BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClwBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACn1EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/BA;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;;AChCA;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;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;AClPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjvCA;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;;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;;AC7BA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjnBA;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;;AC/iBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACr3CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACltBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;ACtEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;ACzDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;AClHA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/9YA;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;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;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;;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;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;AC1BA;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;;AClXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrDA;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;;AClHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;AC7CA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChVA;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;;ACzoBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACzGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;AC1EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5VA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;ACtEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC5LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;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;;AC1HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;AChPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/kCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7hBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;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;;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;;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;;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;;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;;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;;ACpGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/hCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3mBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjmCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;AChCA;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;;AC1BA;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;;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;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;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;;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;;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;;AClDA;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;;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;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;;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;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;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;;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;;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;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtCA;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;;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;;AC3PA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1SA;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;;ACvEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;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;;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;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;AC9FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;;AC3BA;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;;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;;AC/QA;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;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;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;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC5HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1aA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACpBA;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;;AChKA;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;;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;;AC3CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC3IA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5HA;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;;ACrEA;","file":"vendor.js"}